* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', sans-serif; background: #1a1a2e; color: #e0e0e0; min-height: 100vh; }
#app { width: 100%; min-height: 100vh; }

/* 职业选择 */
.char-select { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.char-select h1 { font-size: 3em; color: #ffd700; text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); margin-bottom: 10px; }
.subtitle { color: #888; margin-bottom: 40px; }
.job-cards { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.job-card { background: #16213e; border: 2px solid #0f3460; border-radius: 12px; padding: 30px; width: 220px; text-align: center; cursor: pointer; transition: all 0.3s; }
.job-card:hover { border-color: #ffd700; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2); }
.job-icon { font-size: 3em; margin-bottom: 10px; }
.job-card h3 { color: #ffd700; margin-bottom: 8px; }
.job-card p { font-size: 0.9em; color: #aaa; margin-bottom: 8px; }
.job-card small { color: #4fc3f7; }

/* 游戏布局 */
.game-layout { display: flex; flex-direction: column; height: 100vh; }
.game-header { display: flex; align-items: center; gap: 20px; padding: 10px 20px; background: #16213e; border-bottom: 1px solid #0f3460; }
.player-name { font-weight: bold; color: #ffd700; font-size: 1.1em; }
.gold { color: #ffd700; }
.kills { color: #ef5350; }
.btn-small { padding: 4px 10px; font-size: 0.8em; border: none; border-radius: 4px; cursor: pointer; }
.btn-danger { background: #c62828; color: white; }
.btn-danger:hover { background: #e53935; }
.btn-gm-on { background: #ffd600; color: #000; font-weight: bold; }
.btn-gm-off { background: #455a64; color: #aaa; }

.main-content { display: grid; grid-template-columns: 340px 1fr 340px; gap: 10px; padding: 10px; flex: 1; overflow: hidden; }
.left-panel, .right-panel { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.center-panel { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }

.panel { background: #16213e; border: 1px solid #0f3460; border-radius: 8px; padding: 12px; }
.panel h3 { color: #4fc3f7; font-size: 0.95em; margin-bottom: 10px; border-bottom: 1px solid #0f3460; padding-bottom: 6px; }
.panel h3 small { color: #888; font-weight: normal; }

/* 属性条 */
.bar-group { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.bar-group label { width: 30px; font-size: 0.8em; color: #aaa; }
.bar { position: relative; height: 20px; background: #0a0a1a; border-radius: 10px; flex: 1; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 10px; transition: width 0.3s; }
.bar span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 0.7em; color: white; text-shadow: 0 1px 2px black; }
.hp-bar .bar-fill { background: linear-gradient(90deg, #c62828, #ef5350); }
.mp-bar .bar-fill { background: linear-gradient(90deg, #1565c0, #42a5f5); }
.exp-bar .bar-fill { background: linear-gradient(90deg, #f9a825, #ffee58); }
.monster-hp-bar .bar-fill { background: linear-gradient(90deg, #4a148c, #ab47bc); }
.monster-hp-bar { height: 24px; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; font-size: 0.8em; color: #ccc; margin-top: 8px; }
.skill-panel { font-size: 0.8em; margin-top: 8px; color: #aaa; }
.skill-panel strong { color: #4fc3f7; }
.skill-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.skill-slot { padding: 3px 8px; border-radius: 4px; font-size: 0.9em; display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.skill-slot.filled { background: #1a237e; color: #82b1ff; border: 1px solid #3949ab; }
.skill-slot.filled small { color: #69f0ae; font-size: 0.8em; margin-left: 2px; }
.skill-slot .cd-ready { color: #ffd740; }
.skill-slot .cd-wait { color: #78909c; }
.skill-slot .cd-passive { color: #b388ff; }
.skill-slot.empty { background: #263238; color: #555; border: 1px dashed #444; }
.btn-skill-off { background: #795548; color: white; border: none; border-radius: 3px; padding: 0 4px; cursor: pointer; font-size: 0.8em; }
.btn-skill-off:hover { background: #8d6e63; }
.skill-learned { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.skill-learned small { color: #777; }
.btn-skill-on { background: #1b5e20; color: #a5d6a7; border: 1px solid #2e7d32; border-radius: 4px; padding: 2px 6px; cursor: pointer; font-size: 0.85em; }
.btn-skill-on:disabled { background: #333; color: #666; border-color: #444; cursor: not-allowed; }
.skill-bench { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.skill-bench small { color: #ffd740; }
.skill-slot.bench { background: #1a2a1a; color: #a5d6a7; border: 1px dashed #2e7d32; }
.btn-skill-on:hover { background: #2e7d32; color: #fff; }
.btn-skill-forget { background: #b71c1c; color: #ef9a9a; border: 1px solid #d32f2f; border-radius: 4px; padding: 2px 5px; cursor: pointer; font-size: 0.8em; margin-left: -2px; }
.btn-skill-forget:hover { background: #d32f2f; color: #fff; }

/* 装备 */
.equip-title { display: flex; align-items: center; gap: 10px; }
.equip-title .equip-slot { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; margin: 0; font-size: 0.7em; }
.equip-title .equip-slot small { display: inline; margin: 0; }
.equip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.equip-slot { background: #0a0a1a; border: 1px solid #333; border-radius: 4px; padding: 6px; text-align: center; font-size: 0.75em; }
.equip-slot small { display: block; color: #666; margin-bottom: 2px; }
.equip-slot.equipped { border-color: #4fc3f7; }
.equip-slot.equipped span { color: #4fc3f7; }

/* 地图 */
.map-select { width: 100%; padding: 8px; background: #0a0a1a; color: #e0e0e0; border: 1px solid #333; border-radius: 4px; font-size: 0.9em; }
.map-select option:disabled { color: #666; }
.map-income { display: flex; gap: 12px; margin-top: 8px; padding: 6px 10px; background: #0d1a2a; border-radius: 4px; border: 1px solid #1a3050; flex-wrap: wrap; }
.map-income .income-item { font-size: 0.8em; color: #8fc8ff; white-space: nowrap; }
.dps-bar { flex-basis: 100%; display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #1a2a3a; }
.dps-seg { height: 100%; }
.dps-legend-row { flex-basis: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.dps-legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.75em; color: #aaa; }
.stat-toggles { display: flex; gap: 6px; }

/* 战斗 */
.monster-info { text-align: center; margin-bottom: 12px; }
.monster-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 10px; max-height: 400px; overflow-y: auto; }
.monster-card { padding: 4px 8px; border-radius: 6px; background: #1a2233; border: 1px solid #333; cursor: pointer; transition: all 0.15s; }
.monster-card:hover { border-color: #4fc3f7; }
.monster-card.target { border-color: #ff9800; background: #2a1f0a; box-shadow: 0 0 6px rgba(255,152,0,0.3); }
.monster-card.boss { border-left: 3px solid #ff5722; }
.monster-card.elite { border-left: 3px solid #ffd700; }
.monster-card.dead { opacity: 0.4; filter: grayscale(0.9); pointer-events: none; cursor: default; }
.monster-name { font-size: 0.9em; font-weight: bold; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.debuff-tags { font-size: 0.85em; font-weight: normal; margin-left: 4px; color: #a5d6a7; }
.monster-name.boss { color: #ff5722; text-shadow: 0 0 10px rgba(255, 87, 34, 0.5); }
.monster-name.elite { color: #ffd700; }
.monster-skills { font-size: 0.75em; margin-top: 4px; color: #aaa; }
.mon-skill-tag { display: inline-block; padding: 1px 5px; border-radius: 3px; margin: 1px 2px; font-size: 0.9em; }
.mon-skill-magic { background: #4a148c; color: #ce93d8; border: 1px solid #7b1fa2; }
.mon-skill-poison { background: #1b5e20; color: #a5d6a7; border: 1px solid #388e3c; }
.mon-skill-paralysis { background: #e65100; color: #ffcc80; border: 1px solid #f57c00; }
.mon-skill-freeze { background: #01579b; color: #81d4fa; border: 1px solid #0288d1; }
.mon-skill-summon { background: #311b92; color: #b39ddb; border: 1px solid #512da8; }
.mon-skill-lifesteal { background: #b71c1c; color: #ef9a9a; border: 1px solid #d32f2f; }
.summon-info { grid-column: 1 / -1; font-size: 0.75em; color: #b39ddb; margin-top: 3px; }
.player-status { display: flex; gap: 6px; justify-content: center; margin-top: 6px; min-height: 20px; }
.status-debuff { padding: 2px 8px; border-radius: 4px; font-size: 0.75em; animation: blink 1s infinite; }
.status-buff { padding: 2px 8px; border-radius: 4px; font-size: 0.75em; }
.status-minion { background: #1a237e; color: #82b1ff; border: 1px solid #448aff; }
.status-poison { background: #1b5e20; color: #69f0ae; border: 1px solid #4caf50; }
.status-stun { background: #e65100; color: #ffd54f; border: 1px solid #ff9800; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.6} }
.no-monster { text-align: center; color: #666; padding: 20px; }

.combat-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wave-info { font-size: 0.85em; color: #4fc3f7; font-weight: bold; white-space: nowrap; }
.btn { padding: 10px; border: none; border-radius: 6px; cursor: pointer; font-size: 0.9em; font-weight: bold; transition: all 0.2s; }
.btn:hover { transform: scale(1.02); }
.sel-threshold { padding: 6px 4px; border-radius: 4px; background: #1a2332; color: #e0e0e0; border: 1px solid #37474f; font-size: 0.8em; cursor: pointer; }
.pot-cfg { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8em; color: #b0bec5; white-space: nowrap; }
.inp-threshold { width: 44px; padding: 5px 3px; border-radius: 4px; background: #1a2332; color: #e0e0e0; border: 1px solid #37474f; font-size: 0.9em; text-align: center; }
.btn-autopot-on { background: #00897b; color: white; }
.btn-autopot-on:hover { background: #00acc1; }
.btn-autopot-off { background: #546e7a; color: #ccc; }
.btn-autopot-off:hover { background: #607d8b; }
.btn-idle { background: #2e7d32; color: white; }
.btn-idle:hover { background: #43a047; }
.btn-stop { background: #e65100; color: white; }
.btn-stop:hover { background: #f57c00; }
.btn-potion { background: #1565c0; color: white; font-size: 0.8em; }
.btn-potion:hover { background: #1976d2; }
.btn-shop { background: #6a1b9a; color: white; font-size: 0.75em; }
.btn-shop:hover { background: #8e24aa; }
.buy-group { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; }
.qty-select { padding: 8px 4px; border-radius: 6px; border: 1px solid #555; background: #2a2a2a; color: #fff; font-size: 0.85em; }
.shop-panel { margin-top: 10px; }
.shop-row { display: flex; gap: 6px; margin-top: 6px; align-items: center; }
.shop-select { flex: 1; padding: 8px; border-radius: 6px; border: 1px solid #555; background: #2a2a2a; color: #fff; font-size: 0.82em; }
.btn-use { background: #2e7d32; color: white; border: none; border-radius: 4px; padding: 2px 6px; cursor: pointer; font-size: 0.75em; }
.btn-use:hover { background: #43a047; }
.inv-count { color: #ffd600; font-weight: bold; font-size: 0.85em; margin-left: 2px; }
.bonus-tag { color: #76ff03; font-style: normal; font-size: 0.8em; margin-left: 3px; }
.bonus-tag.q1 { color: #4fc3f7; } /* 魔法 */
.bonus-tag.q2 { color: #ba68c8; } /* 英雄 */
.bonus-tag.q3 { color: #ffb300; } /* 传说 */
.luck-tag { font-style: normal; font-size: 0.8em; margin-left: 3px; color: #ffd54f; }
.filter-select { padding: 6px 4px; border-radius: 6px; border: 1px solid #555; background: #2a2a2a; color: #ffab00; font-size: 0.8em; cursor: pointer; }
.btn-unequip { background: #795548; color: white; border: none; border-radius: 4px; padding: 1px 5px; cursor: pointer; font-size: 0.7em; margin-left: 4px; }
.btn-unequip:hover { background: #8d6e63; }
.btn-lock { background: none; border: none; cursor: pointer; font-size: 0.8em; padding: 0 2px; }
.btn-lock.locked { filter: brightness(1.5) drop-shadow(0 0 3px #ffd600); transform: scale(1.2); }
.inv-locked { border-left: 2px solid #ffd600; }

/* 日志 */
.log-list { max-height: 200px; overflow-y: auto; font-size: 0.78em; }
.log-item { padding: 2px 0; border-bottom: 1px solid #0a0a1a; }
.log-attack { color: #ef5350; }
.log-hurt { color: #ff9800; }
.log-kill { color: #66bb6a; }
.log-drop { color: #ffd700; }
.log-level { color: #4fc3f7; font-weight: bold; }
.log-heal { color: #69f0ae; }
.log-death { color: #ff1744; font-weight: bold; }
.log-info { color: #90a4ae; }
.log-error { color: #ff5252; }

/* 背包 */
.inv-tabs { display: flex; gap: 4px; margin-bottom: 8px; }
.inv-tab { flex: 1; padding: 4px 0; border: 1px solid #444; background: #263238; color: #aaa; border-radius: 4px; cursor: pointer; font-size: 0.8em; transition: all 0.2s; }
.inv-tab:hover { background: #37474f; color: #fff; }
.inv-tab.active { background: #1565c0; color: #fff; border-color: #1976d2; font-weight: bold; }
/* 装备图鉴 */
.dex-toolbar { padding: 4px 6px; font-size: 0.75em; color: #ffd740; border-bottom: 1px solid #333; margin-bottom: 4px; }
.dex-tip-strong { color: #ff5252; font-weight: bold; }
.dex-group-title { display: flex; align-items: center; gap: 6px; padding: 3px 6px; font-size: 0.8em; font-weight: bold; color: #4fc3f7; background: #1a2233; border-bottom: 1px solid #333; }
.dex-cnt { color: #ff9800; font-size: 0.9em; font-weight: normal; }
.dex-group-btn { margin-left: 2px; padding: 1px 6px !important; font-size: 0.85em !important; }
.dex-group-btn:last-child { margin-left: auto; }
.dex-row { display: flex; align-items: center; gap: 5px; padding: 2px 6px; font-size: 0.75em; border-bottom: 1px solid #0a0a1a; }
.dex-row:hover { background: #0f3460; }
.dex-row.dex-checked { background: #3e2723; border-left: 2px solid #ff5252; }
.dex-label { display: flex; align-items: center; gap: 3px; cursor: pointer; min-width: 88px; }
.dex-label input { cursor: pointer; }
.dex-name { color: #eee; font-weight: bold; white-space: nowrap; }
.dex-lv { color: #aaa; min-width: 32px; }
.dex-job { color: #b39ddb; min-width: 28px; }
.dex-stats { color: #7cb342; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dex-badge { font-style: normal; font-size: 0.9em; padding: 0 4px; border-radius: 3px; white-space: nowrap; }
.dex-badge.b-eq { color: #69f0ae; }
.dex-badge.b-bag { color: #4fc3f7; }
.dex-badge.b-wh { color: #ffb74d; }
.dex-badge.b-none { color: #666; }
.inventory-list { max-height: 300px; overflow-y: auto; }
.inv-item { padding: 4px 6px; font-size: 0.78em; border-bottom: 1px solid #0a0a1a; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; gap: 4px; }
.inv-item:hover { background: #0f3460; }
.inv-actions { margin-left: auto; display: flex; gap: 3px; }
.btn-equip, .btn-sell { padding: 1px 5px; font-size: 0.85em; border: none; border-radius: 3px; cursor: pointer; }
.btn-equip { background: #2e7d32; color: white; }
.btn-equip:hover { background: #43a047; }
.btn-sell { background: #c62828; color: white; }
.btn-sell:hover { background: #e53935; }
.inv-type { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; background: #333; border-radius: 3px; font-size: 0.85em; margin-right: 4px; }

/* 掉落 */
.drop-list { max-height: 200px; overflow-y: auto; font-size: 0.78em; }
.drop-item { padding: 3px 0; border-bottom: 1px solid #0a0a1a; color: #ffd700; }
.empty { color: #666; text-align: center; padding: 10px; font-size: 0.85em; }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a1a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

@media (max-width: 1024px) {
  .main-content { grid-template-columns: 1fr; }
  .left-panel, .right-panel { flex-direction: row; flex-wrap: wrap; }
  .panel { flex: 1; min-width: 250px; }
}

/* 通天塔 */
.btn-tower { background: #ff8f00; color: #fff; font-weight: bold; }
.btn-tower:hover { background: #ffa000; }
.tower-badge { color: #ff8f00; font-size: 0.85em; }
.tower-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 1000; }
/* 版本更新横幅：置顶于所有弹层之上 */
#update-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 2000; background: linear-gradient(90deg, #ff6f00, #ffa000); color: #fff; text-align: center; padding: 10px 12px; font-size: 1em; font-weight: bold; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
#update-banner button { margin: 0 8px; padding: 5px 14px; border: none; border-radius: 4px; background: #fff; color: #e65100; font-weight: bold; cursor: pointer; }
#update-banner button:hover { background: #ffe0b2; }
#update-banner #reload-countdown { font-weight: normal; font-size: 0.9em; }
.tower-modal { background: #1e1e2e; border: 2px solid #ff8f00; border-radius: 12px; width: 600px; max-width: 90vw; max-height: 80vh; display: flex; flex-direction: column; padding: 20px; }
.tower-header { text-align: center; margin-bottom: 12px; position: relative; }
.tower-header h2 { color: #ff8f00; margin: 0 0 6px 0; }
.tower-header p { color: #aaa; font-size: 0.85em; margin: 0; }
.tower-header .btn-small { position: absolute; top: 0; right: 0; }
.tower-floor-list { overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.tower-floor-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #2a2a3e; border-radius: 6px; border: 1px solid #333; }
.tower-floor-item.cleared { opacity: 0.5; border-color: #4caf50; }
.tower-floor-num { font-weight: bold; color: #ffd700; min-width: 50px; }
.tower-floor-info { flex: 1; color: #ccc; font-size: 0.85em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tower-floor-status { min-width: 70px; text-align: center; }
.btn-tower-fight { background: #ff8f00; color: #fff; border: none; border-radius: 4px; padding: 4px 12px; cursor: pointer; font-size: 0.85em; }
.btn-tower-fight:hover { background: #ffa000; }

/* 登录/注册 */
.login-box { background: #16213e; border: 2px solid #0f3460; border-radius: 12px; padding: 30px; width: 320px; }
.login-tabs { display: flex; gap: 0; margin-bottom: 20px; }
.login-tab { flex: 1; padding: 10px; background: #0a0a1a; color: #888; border: 1px solid #333; cursor: pointer; font-size: 1em; }
.login-tab:first-child { border-radius: 6px 0 0 6px; }
.login-tab:last-child { border-radius: 0 6px 6px 0; }
.login-tab.active { background: #1565c0; color: #fff; border-color: #1565c0; }
.login-form { display: flex; flex-direction: column; gap: 12px; }
.login-form input { padding: 10px 14px; background: #0a0a1a; border: 1px solid #333; border-radius: 6px; color: #e0e0e0; font-size: 1em; }
.login-form input:focus { border-color: #4fc3f7; outline: none; }
.login-msg { color: #ef5350; font-size: 0.85em; min-height: 20px; text-align: center; }
.btn-login { padding: 12px; background: #1565c0; color: #fff; border: none; border-radius: 6px; font-size: 1.1em; cursor: pointer; }
.btn-login:hover { background: #1976d2; }

/* 排行榜/市场按钮 */
.btn-rank { background: #6a1b9a; color: #fff; }
.btn-rank:hover { background: #7b1fa2; }
.btn-market { background: #00695c; color: #fff; }
.btn-market:hover { background: #00796b; }

/* 排行榜面板 */
.rank-modal { border-color: #6a1b9a; width: 500px; }
.rank-tabs { display: flex; gap: 8px; justify-content: center; margin: 8px 0; }
.rank-tab { padding: 6px 16px; background: #2a2a3e; color: #aaa; border: 1px solid #444; border-radius: 4px; cursor: pointer; }
.rank-tab.active { background: #6a1b9a; color: #fff; border-color: #6a1b9a; }
.rank-list { overflow-y: auto; flex: 1; }
.rank-table { width: 100%; border-collapse: collapse; font-size: 0.9em; }
.rank-table th { background: #2a2a3e; color: #ffd700; padding: 8px; text-align: center; }
.rank-table td { padding: 6px 8px; text-align: center; border-bottom: 1px solid #333; }
.rank-table tr.rank-top td { color: #ffd700; font-weight: bold; }

/* 寄售市场 */
.market-modal { border-color: #00695c; width: 600px; }
.market-content { overflow-y: auto; flex: 1; }
.market-list { display: flex; flex-direction: column; gap: 6px; }
.market-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #2a2a3e; border-radius: 6px; border: 1px solid #333; }
.market-item-name { flex: 1; color: #4fc3f7; font-size: 0.9em; }
.market-item-seller { color: #888; font-size: 0.8em; }
.market-item-price { color: #ffd700; font-weight: bold; min-width: 80px; text-align: right; }
.btn-market-buy { background: #00695c; color: #fff; border: none; border-radius: 4px; padding: 4px 12px; cursor: pointer; font-size: 0.85em; }
.btn-market-buy:hover { background: #00796b; }
.btn-market-cancel { background: #c62828; color: #fff; border: none; border-radius: 4px; padding: 4px 12px; cursor: pointer; font-size: 0.85em; }
.btn-market-cancel:hover { background: #e53935; }
.market-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; color: #aaa; font-size: 0.85em; }
.btn-consign { background: #00695c; color: #fff; border: none; border-radius: 3px; padding: 1px 5px; cursor: pointer; font-size: 0.8em; }
.btn-consign:hover { background: #00796b; }

/* === mirror PNG 图标样式（阶段 3.3） === */
/* 物品图标（背包/仓库/装备栏/图鉴） */
.icon-img { width: 32px; height: 32px; image-rendering: pixelated; vertical-align: middle; margin-right: 4px; object-fit: contain; background: #222; border-radius: 3px; }
.icon-img.sm { width: 24px; height: 24px; }
/* 怪物头像（战斗面板） */
.mon-icon { width: 36px; height: 36px; image-rendering: pixelated; vertical-align: middle; margin-right: 6px; object-fit: contain; background: #1a1a1a; border-radius: 3px; float: left; }
/* 技能图标（技能栏/待装载栏） */
.skill-icon { width: 22px; height: 22px; image-rendering: pixelated; vertical-align: middle; margin-right: 3px; object-fit: contain; background: #222; border-radius: 2px; }
/* PNG 缺失或路径错时的文字占位，避免破图 */
.icon-ph { display: inline-block; width: 32px; height: 32px; line-height: 32px; text-align: center; background: #333; color: #888; font-size: 14px; border-radius: 3px; vertical-align: middle; margin-right: 4px; }
.icon-ph.sm { width: 24px; height: 24px; line-height: 24px; font-size: 12px; }
.icon-ph.mon { width: 36px; height: 36px; line-height: 36px; font-size: 16px; margin-right: 6px; float: left; }
