/* =====================================================================
 *  한탕용사 · 스타일
 * ===================================================================== */
:root {
  --bg: #0b0a12;
  --bg2: #110f1a;
  --panel: #17141f;
  --panel2: #1e1a29;
  --line: #3a3150;
  --line2: #5a4d34;
  --gold: #ffd84a;
  --gold2: #c8901e;
  --text: #ece6cf;
  --dim: #9a93aa;
  --red: #ff4a5a;
  --green: #6fd04a;
  --blue: #5ab4ff;
  --purple: #c77dff;
  --nav-h: 62px;
  --font: "Galmuri11", "Galmuri9", "DungGeunMo", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans CJK KR", system-ui, sans-serif;
  --font-b: "Galmuri11 Bold", "Galmuri11", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --r0: #c9ced6; --r1: #6fd04a; --r2: #4aa8ff; --r3: #c77dff; --r4: #ffa53a; --r5: #ff4a6a;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; overscroll-behavior: none; }
body { background: radial-gradient(1200px 600px at 50% -10%, #1c1830 0%, var(--bg) 60%) fixed; }
button { font-family: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input { font-family: inherit; }
img.px, canvas.px { image-rendering: pixelated; image-rendering: crisp-edges; }
[hidden] { display: none !important; }

#app { position: relative; height: 100vh; height: 100dvh; max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px #1d1a2a, 0 0 60px #000; }

/* ---------------------------------------------------------------- 전투 화면 */
#battle { flex: none; position: relative; background: radial-gradient(ellipse at 50% 60%, #1a1628, #050408 70%); display: flex; justify-content: center; }
#stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 50dvh; max-width: calc(50dvh * 16 / 9); }
#cv { display: block; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; touch-action: manipulation; }
#hud { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: 6px; }
#hud button, #hud .chip { pointer-events: auto; }
.hud-top, .hud-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.hud-bottom { align-items: flex-end; }
.lvbox { display: flex; align-items: center; gap: 6px; background: rgba(12, 10, 20, .8); border: 2px solid var(--line2); padding: 3px 8px 3px 6px; box-shadow: inset 0 0 0 1px #000; }
.lv { font-size: 12px; color: var(--dim); white-space: nowrap; }
.lv b { color: #fff; font-size: 14px; }
.expbar { width: 64px; height: 6px; background: #1a2a1e; border: 1px solid #000; position: relative; }
.expbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(#8affb0, #3ac86a); width: 0; }
.money { display: flex; gap: 4px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: rgba(12, 10, 20, .8); border: 2px solid var(--line2); padding: 2px 7px 2px 4px; font-size: 13px; min-height: 26px; box-shadow: inset 0 0 0 1px #000; }
.chip img { width: 14px; height: 14px; }
.chip.gold b { color: var(--gold); }
.chip.gem b { color: #ff9ae0; }
.chip.icon-only { padding: 2px 5px; }
.chip.icon-only img { width: 16px; height: 16px; }
.zonechip { background: rgba(12, 10, 20, .82); border: 2px solid var(--line2); padding: 3px 8px; text-align: left; display: flex; flex-direction: column; gap: 3px; min-width: 120px; box-shadow: inset 0 0 0 1px #000; }
.zname { font-size: 12px; color: #fff; white-space: nowrap; }
.gauge { position: relative; height: 9px; background: #2a1016; border: 1px solid #000; display: block; }
.gauge i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(#ff8a7a, #d8283a); }
.gauge em { position: absolute; inset: -2px 0 0 0; font-style: normal; font-size: 9px; text-align: center; color: #fff; text-shadow: 1px 1px 0 #000; line-height: 12px; }
.gauge.full i { background: linear-gradient(#fff27a, #ffb03a); animation: pulseBar .6s infinite alternate; }
@keyframes pulseBar { to { filter: brightness(1.4); } }
.bossbtn { background: linear-gradient(#ff5a4a, #b8182a); border: 2px solid #ffd84a; color: #fff; font-family: var(--font-b); font-size: 14px; padding: 6px 12px; box-shadow: 0 0 0 2px #000, 0 0 16px rgba(255, 80, 60, .8); animation: bossPulse .8s infinite; text-shadow: 1px 1px 0 #600; }
@keyframes bossPulse { 50% { transform: scale(1.07); box-shadow: 0 0 0 2px #000, 0 0 26px rgba(255, 200, 60, .9); } }
.fever { display: flex; align-items: center; gap: 4px; background: rgba(12, 10, 20, .8); border: 2px solid var(--line2); padding: 3px 6px; }
.fever img { width: 14px; height: 14px; }
.fgauge { width: 54px; height: 7px; background: #2a1a0a; border: 1px solid #000; position: relative; display: block; }
.fgauge i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(#fff27a, #ff8a1a); }
.fever.on { border-color: var(--gold); box-shadow: 0 0 12px rgba(255, 216, 74, .8); animation: bossPulse .5s infinite; }
.fever.on .fgauge i { background: linear-gradient(#fff, #ffd84a); }
#feverFrame { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 40px rgba(255, 200, 60, .55); opacity: 0; transition: opacity .3s; }
#feverFrame.on { opacity: 1; animation: feverFrame .5s infinite alternate; }
@keyframes feverFrame { to { box-shadow: inset 0 0 0 3px #fff6c0, inset 0 0 60px rgba(255, 220, 90, .8); } }

#bossHud { position: absolute; inset: 0; pointer-events: none; }
.bname { position: absolute; left: 0; right: 0; bottom: 7.5%; text-align: center; font-family: var(--font-b); font-size: 12px; color: #fff; text-shadow: 1px 1px 0 #000, 0 0 6px #f33; }
.btime { position: absolute; left: 0; right: 0; top: 16%; text-align: center; font-family: var(--font-b); font-size: 24px; color: #fff; text-shadow: 2px 2px 0 #000; }
.btime::before { content: "남은 시간"; display: block; font-size: 10px; color: #ffc0c0; font-family: var(--font); }
#hud.bossmode .hud-bottom { visibility: hidden; }
.btime.low { color: #ff5a5a; animation: bossPulse .5s infinite; }
.hhp { position: absolute; left: 8px; top: 18%; display: flex; flex-direction: column; gap: 2px; font-size: 10px; color: #ffd0d0; text-shadow: 1px 1px 0 #000; }
.hhp .bar { width: 90px; height: 8px; background: #2a0e16; border: 1px solid #000; position: relative; display: block; }
.hhp .bar i { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(#8aff8a, #2aa84a); transition: width .15s; }
.hhp .bar i.low { background: linear-gradient(#ff8a7a, #d8283a); }

#pickLog { position: absolute; right: 6px; top: 38px; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; pointer-events: none; }
.plog { padding: 2px 8px 2px 4px; background: rgba(14, 12, 22, .85); border-left: 3px solid; font-size: 11px; color: #eee; display: flex; align-items: center; gap: 4px; animation: logIn .25s ease-out, logOut .5s ease-in 2.6s forwards; }
.plog img { width: 12px; height: 12px; }
@keyframes logIn { from { transform: translateX(20px); opacity: 0; } }
@keyframes logOut { to { opacity: 0; transform: translateX(10px); } }
#banner { position: absolute; left: 0; right: 0; top: 40%; display: flex; flex-direction: column; align-items: center; pointer-events: none; gap: 4px; }
.skillban { font-family: var(--font-b); font-size: 13px; padding: 3px 14px; color: #fff; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .7) 20%, rgba(0, 0, 0, .7) 80%, transparent); text-shadow: 1px 1px 0 #000; animation: skIn .15s ease-out, logOut .4s ease-in .9s forwards; letter-spacing: 1px; }
@keyframes skIn { from { transform: scaleX(.3); opacity: 0; } }
.bigban { font-family: var(--font-b); font-size: 20px; padding: 6px 26px; color: #fff; text-align: center; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .8) 15%, rgba(0, 0, 0, .8) 85%, transparent); text-shadow: 2px 2px 0 #000; animation: skIn .2s ease-out, logOut .5s ease-in 2s forwards; }
.bigban small { display: block; font-size: 11px; color: var(--dim); font-family: var(--font); }

/* ---------------------------------------------------------------- 중앙 패널 */
#panel { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding: 10px 10px 16px; background:
  linear-gradient(180deg, rgba(0,0,0,.35), transparent 30px), repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.012) 3px 4px), var(--bg2); border-top: 2px solid var(--line2); }
#panel::-webkit-scrollbar { width: 6px; } #panel::-webkit-scrollbar-thumb { background: var(--line); }
.tab-title { display: flex; align-items: center; justify-content: space-between; margin: 2px 2px 10px; }
.tab-title h2 { margin: 0; font-family: var(--font-b); font-size: 17px; display: flex; align-items: center; gap: 8px; color: #fff; }
.tab-title h2 img { width: 22px; height: 22px; }
.tab-title .sub { font-size: 12px; color: var(--dim); }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.box { position: relative; background: var(--panel); border: 2px solid var(--line); padding: 10px; box-shadow: inset 0 0 0 1px #000, 0 2px 0 #000; }
.box::before, .box::after { content: ""; position: absolute; width: 4px; height: 4px; background: var(--line2); }
.box::before { left: -2px; top: -2px; } .box::after { right: -2px; top: -2px; }
.box h3 { margin: 0 0 8px; font-size: 13px; color: var(--gold); font-family: var(--font-b); display: flex; align-items: center; gap: 6px; }
.box h3 .r { margin-left: auto; color: var(--dim); font-family: var(--font); font-size: 11px; }
.mt { margin-top: 10px; }
.dim { color: var(--dim); }
.small { font-size: 11px; }
.row { display: flex; align-items: center; gap: 8px; }
.row.sb { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 6px; }
.gold-t { color: var(--gold); } .gem-t { color: #ff9ae0; } .red-t { color: var(--red); } .green-t { color: var(--green); } .blue-t { color: var(--blue); }

/* 버튼 */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 14px; font-size: 14px; font-family: var(--font-b); color: #fff; background: linear-gradient(#4a4466, #2e2a44); border: 2px solid #000; box-shadow: inset 0 2px 0 rgba(255,255,255,.18), inset 0 -3px 0 rgba(0,0,0,.35), 0 2px 0 #000; text-shadow: 1px 1px 0 #000; transition: transform .05s, filter .1s; user-select: none; }
.btn:active:not(:disabled) { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255,255,255,.1), inset 0 -1px 0 rgba(0,0,0,.35); }
.btn:hover:not(:disabled) { filter: brightness(1.12); }
.btn:disabled { filter: grayscale(.8) brightness(.6); cursor: not-allowed; }
.btn img { width: 16px; height: 16px; }
.btn.gold { background: linear-gradient(#ffe070, #d89a1a); color: #3a2200; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.btn.red { background: linear-gradient(#ff6a5a, #b8182a); }
.btn.green { background: linear-gradient(#7ae05a, #2e8a2a); }
.btn.blue { background: linear-gradient(#6ac0ff, #2a6ad8); }
.btn.purple { background: linear-gradient(#d08aff, #7a3ad8); }
.btn.big { font-size: 17px; padding: 12px 18px; width: 100%; }
.btn.sm { font-size: 12px; padding: 5px 9px; }
.btn.full { width: 100%; }
.btn .cost { font-family: var(--font); font-size: 12px; display: inline-flex; align-items: center; gap: 3px; opacity: .95; }
.btn .cost img { width: 12px; height: 12px; }
.seg { display: flex; border: 2px solid #000; }
.seg button { flex: 1; padding: 8px 6px; background: #221e30; font-family: var(--font-b); font-size: 13px; color: var(--dim); border-right: 1px solid #000; display: flex; align-items: center; justify-content: center; gap: 6px; }
.seg button:last-child { border-right: 0; }
.seg button.on { background: linear-gradient(#3e3858, #2a2640); color: #fff; box-shadow: inset 0 -3px 0 var(--gold); }
.seg button img { width: 18px; height: 18px; }
.toggle { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: #1c1828; border: 1px solid #000; cursor: pointer; user-select: none; font-size: 12px; }
.toggle input { display: none; }
.toggle .sw { width: 30px; height: 16px; background: #3a3450; border: 1px solid #000; position: relative; flex: none; }
.toggle .sw::after { content: ""; position: absolute; left: 1px; top: 1px; width: 12px; height: 12px; background: #8a84a0; transition: left .12s; }
.toggle input:checked + .sw { background: #2a6a3a; }
.toggle input:checked + .sw::after { left: 15px; background: #8aff8a; }

/* ---------------------------------------------------------------- 하단 내비 */
#nav { flex: none; height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(8, 1fr); background: linear-gradient(#1e1a2a, #120f1a); border-top: 2px solid var(--line2); box-shadow: 0 -2px 0 #000; }
#nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; color: var(--dim); border-right: 1px solid #0a0810; }
#nav button:last-child { border-right: 0; }
#nav button img { width: 24px; height: 24px; transition: transform .12s; }
#nav button.on { color: #fff; background: linear-gradient(transparent, rgba(255,216,74,.14)); box-shadow: inset 0 3px 0 var(--gold); }
#nav button.on img { transform: translateY(-2px) scale(1.12); }
#nav .dot { position: absolute; top: 6px; right: calc(50% - 18px); width: 8px; height: 8px; background: var(--red); border: 1px solid #000; box-shadow: 0 0 6px var(--red); animation: bossPulse 1s infinite; }

/* ---------------------------------------------------------------- 강화 */
.slotcards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slotcard { display: flex; align-items: center; gap: 8px; padding: 8px; background: #1c1828; border: 2px solid #000; text-align: left; box-shadow: inset 0 0 0 1px #2e2840; }
.slotcard.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px #5a4a1a, 0 0 12px rgba(255,216,74,.25); background: linear-gradient(#2a2438, #1c1828); }
.slotcard .ic { width: 38px; height: 38px; display: grid; place-items: center; background: #0e0c16; border: 1px solid #000; }
.slotcard .ic img { width: 30px; height: 30px; object-fit: contain; }
.slotcard b { display: block; font-family: var(--font-b); font-size: 15px; }
.slotcard small { color: var(--dim); font-size: 11px; }
.forge { position: relative; height: clamp(120px, 22dvh, 190px); margin-top: 10px; background: radial-gradient(circle at 50% 60%, var(--elc, #334) 0%, transparent 55%), linear-gradient(#0e0c16, #1a1624); border: 2px solid #000; box-shadow: inset 0 0 30px #000; overflow: hidden; display: grid; place-items: center; }
.forge canvas { width: 100%; height: 100%; }
.forge .lvbig { position: absolute; top: 8px; left: 10px; font-family: var(--font-b); font-size: 28px; color: #fff; text-shadow: 2px 2px 0 #000, 0 0 12px var(--elc, #fff); }
.forge .elname { position: absolute; top: 12px; right: 10px; font-size: 12px; padding: 2px 8px; background: rgba(0,0,0,.6); border: 1px solid var(--elc, #555); color: var(--elc, #fff); }
.forge .nextev { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--dim); }
.statline { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; background: #1a1624; border: 1px solid #000; margin-top: 6px; font-size: 13px; }
.statline .arrow { color: var(--green); font-family: var(--font-b); }
.rateBig { text-align: center; font-family: var(--font-b); font-size: 30px; color: #fff; text-shadow: 2px 2px 0 #000; }
.rateBig small { display: block; font-family: var(--font); font-size: 11px; color: var(--dim); }
.riskbar { display: flex; height: 14px; border: 2px solid #000; margin-top: 6px; }
.riskbar span { height: 100%; transition: flex .2s; }
.riskbar .s { background: linear-gradient(#8aff8a, #2aa84a); } .riskbar .k { background: #5a5a6a; } .riskbar .d { background: linear-gradient(#ffb04a, #c8601a); } .riskbar .x { background: linear-gradient(#ff5a6a, #8a0a1a); }
.risklegend { display: flex; gap: 8px; flex-wrap: wrap; font-size: 11px; margin-top: 4px; color: var(--dim); }
.risklegend i { display: inline-block; width: 8px; height: 8px; margin-right: 3px; border: 1px solid #000; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(90deg, #2a6ad8, #7ad0ff); border: 2px solid #000; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 22px; margin-top: -9px; background: linear-gradient(#fff, #9ad8ff); border: 2px solid #000; box-shadow: 0 2px 0 #000; }
input[type=range]::-moz-range-track { height: 6px; background: linear-gradient(90deg, #2a6ad8, #7ad0ff); border: 2px solid #000; }
input[type=range]::-moz-range-thumb { width: 16px; height: 20px; background: #dff; border: 2px solid #000; border-radius: 0; }

/* ---------------------------------------------------------------- 스킬 */
.elrow { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; }
.elchip { flex: none; padding: 4px 8px; font-size: 11px; background: #1a1624; border: 1px solid #000; color: var(--dim); text-align: center; }
.elchip b { display: block; font-size: 12px; }
.elchip.on { border-color: currentColor; box-shadow: 0 0 8px currentColor; }
.skill { display: flex; gap: 10px; align-items: center; padding: 8px; background: #1a1624; border: 2px solid #000; margin-top: 6px; }
.skill.locked { opacity: .55; }
.skill .sic { width: 46px; height: 46px; flex: none; background: #0e0c16; border: 2px solid var(--elc, #555); box-shadow: 0 0 10px var(--elc, transparent); display: grid; place-items: center; }
.skill .sic canvas { width: 40px; height: 40px; }
.skill .body { flex: 1; min-width: 0; }
.skill .nm { font-family: var(--font-b); font-size: 14px; color: var(--elc, #fff); }
.skill .nm small { color: var(--dim); font-family: var(--font); font-size: 11px; margin-left: 4px; }
.skill .ds { font-size: 11px; color: var(--dim); margin-top: 2px; line-height: 1.4; }
.skill .meta { font-size: 11px; margin-top: 3px; color: #cfc8e0; }

/* ---------------------------------------------------------------- 유물 카드 */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.elbox-ic { width: 56px; height: 56px; flex: none; display: grid; place-items: center; background: #0e0c16; border: 2px solid; }
.elbox-ic img { width: 44px; height: 44px; object-fit: contain; }
.card { position: relative; aspect-ratio: 3 / 4.2; border: 2px solid #000; background: linear-gradient(160deg, rgba(var(--rc), .35), #15121f 60%); box-shadow: inset 0 0 0 2px rgba(var(--rc), .9), inset 0 0 0 4px #000, 0 2px 0 #000; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 8px 4px 4px; overflow: hidden; text-align: center; }
.card .art { width: 60%; aspect-ratio: 1; margin-top: 4px; display: grid; place-items: center; background: radial-gradient(circle, rgba(var(--rc), .45), transparent 70%); }
.card .art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 0 #000); }
.card .cn { font-family: var(--font-b); font-size: 11px; line-height: 1.2; margin-top: 4px; color: #fff; text-shadow: 1px 1px 0 #000; word-break: keep-all; }
.card .stars { font-size: 10px; color: var(--gold); letter-spacing: -1px; margin-top: auto; text-shadow: 1px 1px 0 #000; }
.card .rar { position: absolute; top: 2px; left: 2px; font-size: 9px; padding: 0 4px; background: rgb(var(--rc)); color: #000; font-family: var(--font-b); }
.card .type { position: absolute; top: 2px; right: 2px; font-size: 9px; padding: 0 3px; background: #000; color: #fff; }
.card .type.inc { color: var(--gold); }
.card .type.atk { color: #ff8a8a; }
.card.unowned { filter: grayscale(1) brightness(.35); }
.card.eq::after { content: "장착"; position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 9px; background: var(--gold); color: #000; padding: 0 4px; font-family: var(--font-b); }
.card.r4, .card.r5 { animation: none; }
.card.r4 .art, .card.r5 .art { animation: artGlow 1.6s infinite alternate; }
@keyframes artGlow { to { filter: brightness(1.3) drop-shadow(0 0 6px rgb(var(--rc))); } }
.card.r4::before, .card.r5::before { content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); animation: shine 2.6s infinite; pointer-events: none; }
.card.r5 { background: linear-gradient(160deg, rgba(255,74,106,.45), rgba(122,58,255,.35) 40%, #15121f 70%); }
.card.r5 .holo { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,0,128,.15), rgba(0,255,200,.15), rgba(255,220,0,.15), rgba(120,0,255,.15)); background-size: 300% 300%; animation: holo 3s linear infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes shine { 0% { transform: translateX(-60%); } 60%, 100% { transform: translateX(60%); } }
@keyframes holo { to { background-position: 300% 300%; } }
.eqslots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.eqslot { aspect-ratio: 3 / 4.2; border: 2px dashed #3a3450; display: grid; place-items: center; color: var(--dim); font-size: 10px; text-align: center; background: #120f1a; }
.eqslot img { width: 18px; height: 18px; opacity: .6; }
.eqslots .card { padding-top: 6px; }
.eqslots .card .cn { font-size: 9px; }

/* ---------------------------------------------------------------- 가방·상점 */
.resgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.res { display: flex; align-items: center; gap: 6px; padding: 7px; background: #1a1624; border: 1px solid #000; }
.res img { width: 22px; height: 22px; object-fit: contain; }
.res b { display: block; font-size: 13px; font-family: var(--font-b); }
.res small { color: var(--dim); font-size: 10px; }
.chestrow { display: flex; align-items: center; gap: 10px; padding: 8px; background: #1a1624; border: 1px solid #000; margin-top: 6px; }
.chestrow img { width: 40px; height: 30px; object-fit: contain; }
.chestrow .nm { flex: 1; }
.chestrow .nm b { font-family: var(--font-b); }
.chestrow .nm small { display: block; color: var(--dim); font-size: 11px; }
.stattable { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 12px; }
.stattable div { display: flex; justify-content: space-between; border-bottom: 1px dotted #2e2840; padding: 3px 0; }
.stattable span { color: var(--dim); }
.shopitem { display: flex; align-items: center; gap: 10px; padding: 8px; background: #1a1624; border: 1px solid #000; margin-top: 6px; }
.shopitem img { width: 28px; height: 28px; object-fit: contain; }
.shopitem .nm { flex: 1; }
.shopitem .nm b { font-family: var(--font-b); display: block; }
.shopitem .nm small { color: var(--dim); font-size: 11px; }

/* ---------------------------------------------------------------- 사냥터 */
.bosscard { position: relative; overflow: hidden; padding: 0; }
.bosscard .bg { position: relative; height: 150px; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(circle at 50% 80%, rgba(255,60,60,.35), transparent 60%), linear-gradient(#1a0e14, #0e0a12); border-bottom: 2px solid #000; }
.bosscard .bg img { height: 120px; image-rendering: pixelated; filter: drop-shadow(0 4px 0 #000); margin-bottom: 10px; }
.bosscard .bg .tag { position: absolute; top: 8px; left: 8px; font-family: var(--font-b); background: #b8182a; color: #fff; padding: 2px 8px; font-size: 11px; border: 1px solid #000; }
.bosscard .bg .ttl { position: absolute; top: 8px; right: 10px; text-align: right; }
.bosscard .bg .ttl b { display: block; font-family: var(--font-b); font-size: 18px; color: #fff; text-shadow: 2px 2px 0 #000; }
.bosscard .bg .ttl small { color: #ffb0b0; font-size: 11px; }
.bosscard .inner { padding: 10px; }
.cmp { display: grid; grid-template-columns: 58px 1fr; gap: 4px 8px; align-items: center; font-size: 12px; }
.cmpbar { position: relative; height: 12px; background: #221e30; border: 1px solid #000; }
.cmpbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(#8aff8a, #2aa84a); }
.cmpbar i.bad { background: linear-gradient(#ff8a7a, #c8283a); }
.cmpbar em { position: absolute; inset: 0; font-style: normal; font-size: 10px; text-align: center; line-height: 11px; text-shadow: 1px 1px 0 #000; }
.rewards { display: flex; flex-wrap: wrap; gap: 4px; }
.rw { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; background: #120f1a; border: 1px solid #2e2840; font-size: 11px; }
.rw img { width: 14px; height: 14px; object-fit: contain; }
.zonelist { display: grid; grid-template-columns: 1fr; gap: 6px; }
@media (min-width: 720px) { .zonelist { grid-template-columns: 1fr 1fr; } }
.zone { display: flex; align-items: center; gap: 8px; padding: 8px; background: #1a1624; border: 2px solid #000; text-align: left; width: 100%; }
.zone .zn { font-family: var(--font-b); font-size: 13px; }
.zone .zs { font-size: 10px; color: var(--dim); }
.zone .mons { display: flex; gap: 2px; margin-left: auto; }
.zone .mons img { width: 22px; height: 22px; object-fit: contain; }
.zone.cur { border-color: var(--gold); box-shadow: 0 0 10px rgba(255,216,74,.25); }
.zone.locked { opacity: .45; }
.zone .num { width: 26px; height: 26px; display: grid; place-items: center; font-family: var(--font-b); background: var(--zc, #333); color: #000; border: 2px solid #000; flex: none; }

/* ---------------------------------------------------------------- 모달·연출 */
#overlay { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(4, 3, 8, .78); display: flex; align-items: center; justify-content: center; padding: 16px; pointer-events: auto; animation: fadeIn .2s; backdrop-filter: blur(2px); }
@keyframes fadeIn { from { opacity: 0; } }
.modal { position: relative; width: min(420px, 100%); max-height: 88dvh; overflow-y: auto; background: var(--panel); border: 3px solid #000; box-shadow: inset 0 0 0 2px var(--line2), 0 0 0 1px #000, 0 20px 50px #000; padding: 16px; animation: popIn .25s cubic-bezier(.2, 1.6, .5, 1); }
@keyframes popIn { from { transform: scale(.85); opacity: 0; } }
.modal h2 { margin: 0 0 10px; font-family: var(--font-b); font-size: 18px; text-align: center; color: var(--gold); text-shadow: 2px 2px 0 #000; }
.modal .x { position: absolute; top: 6px; right: 8px; font-size: 18px; color: var(--dim); padding: 4px 8px; }
.modal .btns { display: flex; gap: 8px; margin-top: 12px; }
.modal .btns .btn { flex: 1; }
.fxlayer { position: absolute; inset: 0; pointer-events: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#fxcv { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
#toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px); transform: translateX(-50%); z-index: 70; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; }
.toast { background: rgba(10, 8, 16, .95); border: 2px solid var(--line2); padding: 8px 14px; font-size: 13px; animation: popIn .2s, logOut .4s ease-in 1.8s forwards; box-shadow: 0 4px 0 #000; white-space: nowrap; }
.toast.err { border-color: var(--red); color: #ffc0c0; }

/* 카드 뒤집기 */
.reveal { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 560px; padding: 10px; }
.flip { width: 92px; aspect-ratio: 3 / 4.2; perspective: 600px; }
.flip .in { position: relative; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); transform-style: preserve-3d; }
.flip.open .in { transform: rotateY(180deg); }
.flip .face, .flip .back { position: absolute; inset: 0; backface-visibility: hidden; }
.flip .face { transform: rotateY(180deg); }
.flip .face .card { width: 100%; height: 100%; }
.flip .back { border: 2px solid #000; background: repeating-linear-gradient(45deg, #2a2240 0 6px, #231c36 6px 12px); box-shadow: inset 0 0 0 2px var(--gold2), inset 0 0 0 4px #000; display: grid; place-items: center; }
.flip .back::after { content: "?"; font-family: var(--font-b); font-size: 30px; color: var(--gold); text-shadow: 2px 2px 0 #000; }
.flip.glow .back { animation: backGlow .35s infinite alternate; }
@keyframes backGlow { to { box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px #000, 0 0 24px rgb(var(--rc)); } }
.flip .tag { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--gold); font-family: var(--font-b); }
.fxtitle { font-family: var(--font-b); font-size: 26px; color: #fff; text-shadow: 3px 3px 0 #000; text-align: center; margin: 6px 0; }
.fxsub { color: var(--dim); font-size: 13px; text-align: center; }

.cutin { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(var(--rc), .4), transparent 65%), rgba(6, 4, 10, .95); pointer-events: auto; overflow: hidden; }
.cutin .rays { position: absolute; left: 50%; top: 50%; width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax; background: repeating-conic-gradient(from 0deg, rgba(var(--rc), .28) 0 8deg, transparent 8deg 20deg); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cutin .bigcard { position: relative; width: 160px; animation: cardZoom .7s cubic-bezier(.2, 1.5, .4, 1); }
.cutin .bigcard .card { width: 100%; }
.cutin .bigcard .card .cn { font-size: 15px; }
@keyframes cardZoom { from { transform: scale(3) rotate(-20deg); opacity: 0; } }
.cutin .label { position: relative; font-family: var(--font-b); font-size: 28px; color: rgb(var(--rc)); text-shadow: 3px 3px 0 #000, 0 0 20px rgb(var(--rc)); margin-bottom: 14px; letter-spacing: 2px; animation: labelIn .5s .2s both cubic-bezier(.2, 1.6, .5, 1); }
@keyframes labelIn { from { transform: scale(2.5); opacity: 0; } }
.cutin .lore { position: relative; margin-top: 12px; font-size: 12px; color: #d0c8e0; max-width: 260px; text-align: center; }
.cutin .tap { position: relative; margin-top: 18px; font-size: 12px; color: var(--dim); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* 강화 연출 */
.enhfx { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: auto; }
.enhfx .stagebox { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.enhfx .stagebox canvas { width: 200px; height: 200px; image-rendering: pixelated; }
.enhfx .res { background: none; border: 0; flex-direction: column; font-family: var(--font-b); font-size: 34px; text-shadow: 3px 3px 0 #000; animation: popIn .35s cubic-bezier(.2, 1.8, .5, 1); }
.enhfx .res.success { color: #8aff8a; }
.enhfx .res.great { background: linear-gradient(90deg, #ff4a8a, #ffd84a, #7affd8, #4ab0ff, #c77dff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(3px 3px 0 #000); font-size: 44px; }
.enhfx .res.fail { color: #a8a8b8; }
.enhfx .res.down { color: #ffb04a; }
.enhfx .res.destroy { color: #ff4a5a; }
.enhfx .res.prot { color: #7ad0ff; }
.enhfx .det { font-size: 14px; color: #ddd; margin-top: 4px; text-shadow: 1px 1px 0 #000; }
.shake { animation: shake .4s; }
@keyframes shake { 20% { transform: translate(-6px, 3px); } 40% { transform: translate(6px, -3px); } 60% { transform: translate(-4px, -2px); } 80% { transform: translate(4px, 2px); } }

/* 보스 인트로 */
.bossintro { position: absolute; left: 0; right: 0; top: 30%; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.bossintro .strip { width: 100%; padding: 10px 0; background: linear-gradient(90deg, transparent, rgba(160, 10, 30, .92) 15%, rgba(160, 10, 30, .92) 85%, transparent); text-align: center; animation: stripIn .35s cubic-bezier(.2, 1.4, .5, 1), logOut .5s ease-in 2.4s forwards; border-top: 2px solid #ffd84a; border-bottom: 2px solid #ffd84a; }
@keyframes stripIn { from { transform: scaleY(0); } }
.bossintro .warn { font-family: var(--font-b); font-size: 12px; color: #ffd84a; letter-spacing: 6px; }
.bossintro .nm { font-family: var(--font-b); font-size: 28px; color: #fff; text-shadow: 3px 3px 0 #000; animation: labelIn .5s .15s both; }
.bossintro .tt { font-size: 12px; color: #ffc0c0; }

/* 룰렛 */
.roul { position: relative; width: 260px; height: 260px; margin: 0 auto; }
.roul canvas { width: 100%; height: 100%; }
.roul .ptr { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 22px solid var(--gold); filter: drop-shadow(0 2px 0 #000); z-index: 2; }
.rewardlist { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.rewardlist .rw { font-size: 12px; padding: 4px 8px; animation: popIn .3s both; }
.rewardlist .rw img { width: 18px; height: 18px; }

/* 잭팟 */
.jackpot { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: auto; background: radial-gradient(circle, rgba(255, 200, 60, .35), rgba(0, 0, 0, .85) 70%); }
.jackpot .jp { font-family: var(--font-b); font-size: 56px; letter-spacing: 4px; background: linear-gradient(#fff6c0, #ffd84a 40%, #e88a1a 60%, #ffd84a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(4px 4px 0 #3a2000) drop-shadow(0 0 20px rgba(255, 200, 60, .8)); animation: jpBounce .6s cubic-bezier(.2, 1.8, .5, 1), jpPulse .5s .6s infinite alternate; }
@keyframes jpBounce { from { transform: scale(4) rotate(-10deg); opacity: 0; } }
@keyframes jpPulse { to { transform: scale(1.08); } }
.jackpot .amt { font-family: var(--font-b); font-size: 30px; color: #fff; text-shadow: 3px 3px 0 #000; margin-top: 8px; }

/* 오프라인 */
.offline .clock { font-size: 13px; text-align: center; color: var(--dim); margin-bottom: 8px; }
.offline .items { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

/* ---------------------------------------------------------------- 도박장 */
.casino-gate { text-align: center; padding: 18px 10px; background: radial-gradient(circle at 50% 0%, rgba(255, 60, 90, .25), transparent 60%), linear-gradient(#1e0e18, #120a12); border: 2px solid #000; box-shadow: inset 0 0 0 2px #6a1a2a; }
.casino-gate .sign { font-family: var(--font-b); font-size: 28px; color: var(--gold); text-shadow: 3px 3px 0 #6a1a2a, 0 0 14px rgba(255, 216, 74, .6); letter-spacing: 3px; }
.casino-gate .bulbs { display: flex; justify-content: center; gap: 8px; margin: 8px 0; }
.casino-gate .bulbs i { width: 8px; height: 8px; background: #ffd84a; box-shadow: 0 0 8px #ffd84a; animation: blink .6s infinite; }
.casino-gate .bulbs i:nth-child(2n) { animation-delay: .3s; }
.tickets { display: flex; justify-content: center; gap: 10px; margin: 10px 0; flex-wrap: wrap; }
.tk { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: #1a1016; border: 1px solid #000; font-size: 12px; }
.tk img { width: 26px; height: 12px; }
.sessbar { position: sticky; top: -10px; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: #1e0e18; border: 2px solid #000; margin: -2px 0 8px; box-shadow: 0 4px 10px #000; }
.sessbar .tbar { flex: 1; height: 10px; background: #2a0e16; border: 1px solid #000; position: relative; }
.sessbar .tbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(#ffd84a, #e8801a); }
.sessbar b { font-family: var(--font-b); min-width: 42px; text-align: right; }
.betrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.betrow button { padding: 6px 2px; background: #221e30; border: 2px solid #000; font-size: 11px; color: var(--dim); }
.betrow button b { display: block; font-family: var(--font-b); color: var(--gold); font-size: 12px; }
.betrow button.on { background: linear-gradient(#4a3a1a, #2a2010); color: #fff; box-shadow: inset 0 0 0 1px var(--gold); }
.slotm { position: relative; padding: 12px; background: linear-gradient(#b8182a, #6a0a18); border: 3px solid #000; box-shadow: inset 0 0 0 3px #ffd84a, inset 0 0 0 5px #000, 0 4px 0 #000; }
.slotm .pool { text-align: center; font-family: var(--font-b); color: #fff; font-size: 12px; text-shadow: 1px 1px 0 #000; }
.slotm .pool b { display: block; font-size: 20px; color: var(--gold); text-shadow: 2px 2px 0 #3a0000, 0 0 10px rgba(255, 216, 74, .6); }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.reel { height: 84px; background: linear-gradient(#ccc, #fff 30%, #fff 70%, #bbb); border: 3px solid #000; overflow: hidden; position: relative; box-shadow: inset 0 6px 8px rgba(0, 0, 0, .35), inset 0 -6px 8px rgba(0, 0, 0, .35); }
.reel .strip { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; align-items: center; }
.reel .strip img { width: 56px; height: 56px; margin: 14px 0; image-rendering: pixelated; }
.reel.win { box-shadow: 0 0 0 3px #ffd84a, 0 0 16px #ffd84a; }
.scratchcard { position: relative; width: 100%; max-width: 320px; margin: 0 auto; aspect-ratio: 1.15; background: linear-gradient(135deg, #ffe070, #e8a02a); border: 3px solid #000; box-shadow: inset 0 0 0 3px #fff6c0, 0 4px 0 #000; padding: 10px; }
.scratchcard .hd { text-align: center; font-family: var(--font-b); color: #6a2a00; font-size: 13px; }
.scratchcard .gridw { position: relative; margin-top: 6px; aspect-ratio: 1.35; }
.scratchcard .grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.scratchcard .cell { background: #fffbe8; border: 2px solid #6a2a00; display: grid; place-items: center; }
.scratchcard .cell img { width: 60%; image-rendering: pixelated; }
.scratchcard .cell.hit { background: #ffe0e8; animation: artGlow .4s infinite alternate; }
.scratchcard canvas.cover { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.dicebox { display: flex; justify-content: center; gap: 14px; margin: 14px 0; }
.die { width: 64px; height: 64px; background: #fff; border: 3px solid #000; box-shadow: inset -4px -4px 0 #ccc, 0 4px 0 #000; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 6px; }
.die i { width: 10px; height: 10px; background: #c8183a; place-self: center; visibility: hidden; }
.die.roll { animation: dieRoll .12s linear infinite; }
@keyframes dieRoll { 25% { transform: rotate(12deg) translateY(-4px); } 75% { transform: rotate(-12deg) translateY(-2px); } }
.oe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.oe .btn { font-size: 20px; padding: 14px; }
.gresult { text-align: center; font-family: var(--font-b); font-size: 20px; min-height: 30px; margin-top: 8px; text-shadow: 2px 2px 0 #000; }
.gresult.win { color: #8aff8a; animation: popIn .3s cubic-bezier(.2, 1.8, .5, 1); }
.gresult.lose { color: #aaa; }

/* ---------------------------------------------------------------- 랭킹·계정 */
.acct { display: flex; align-items: center; gap: 10px; }
.acct .av { width: 44px; height: 44px; background: #0e0c16; border: 2px solid #000; display: grid; place-items: center; }
.acct .av img { width: 36px; height: 36px; }
.acct .nm { flex: 1; }
.acct .nm b { font-family: var(--font-b); font-size: 15px; display: block; }
.acct .nm small { color: var(--dim); font-size: 11px; }
.badge { display: inline-block; font-size: 10px; padding: 1px 6px; border: 1px solid #000; font-family: var(--font-b); }
.badge.guest { background: #3a3450; color: #ddd; }
.badge.member { background: var(--green); color: #000; }
.badge.local { background: #5a4a1a; color: var(--gold); }
.ranklist { margin-top: 8px; }
.rk { display: flex; align-items: center; gap: 8px; padding: 7px 8px; background: #1a1624; border-bottom: 1px solid #000; font-size: 13px; }
.rk .no { width: 30px; text-align: center; font-family: var(--font-b); }
.rk .no.n1 { color: #ffd84a; text-shadow: 0 0 8px #ffd84a; } .rk .no.n2 { color: #dfe6f0; } .rk .no.n3 { color: #e8a060; }
.rk .who { flex: 1; } .rk .who small { color: var(--dim); font-size: 10px; margin-left: 4px; }
.rk .val { font-family: var(--font-b); color: var(--gold); }
.rk.me { background: linear-gradient(90deg, rgba(255, 216, 74, .18), #1a1624); box-shadow: inset 3px 0 0 var(--gold); }
.empty { text-align: center; padding: 20px 10px; color: var(--dim); font-size: 12px; line-height: 1.6; }
.form { display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 12px; color: var(--dim); display: flex; flex-direction: column; gap: 4px; }
.form input { padding: 10px; font-size: 15px; background: #0e0c16; border: 2px solid #000; box-shadow: inset 0 0 0 1px #3a3450; color: #fff; outline: none; }
.form input:focus { box-shadow: inset 0 0 0 1px var(--gold); }
.form .err { color: #ff9a9a; font-size: 12px; min-height: 16px; }
.form .hint { font-size: 11px; color: var(--dim); }

/* ---------------------------------------------------------------- 타이틀 */
#title { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; background: linear-gradient(transparent 0%, rgba(8, 6, 14, .6) 35%, rgba(8, 6, 14, .96) 60%); padding: 20px 20px calc(30px + env(safe-area-inset-bottom)); }
.logo { text-align: center; margin-bottom: 18px; }
.logo .k { font-family: var(--font-b); font-size: clamp(48px, 13vw, 84px); line-height: 1; letter-spacing: 2px; background: linear-gradient(#fff6c0 0%, #ffd84a 45%, #e8801a 55%, #ffd84a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 #3a1a00) drop-shadow(0 0 0 #000) drop-shadow(4px 4px 0 #000) drop-shadow(0 0 24px rgba(255, 200, 60, .45)); animation: logoIn .9s cubic-bezier(.2, 1.4, .5, 1); }
@keyframes logoIn { from { transform: translateY(-40px) scale(1.4); opacity: 0; } }
.logo .e { font-family: var(--font-b); font-size: 12px; letter-spacing: 8px; color: #ffb0b0; margin-top: 6px; text-shadow: 2px 2px 0 #000; }
.logo .sub { font-size: 12px; color: var(--dim); margin-top: 8px; }
.titlebox { width: min(360px, 100%); display: flex; flex-direction: column; gap: 8px; animation: fadeIn .6s .4s both; }
.titlebox .or { text-align: center; font-size: 11px; color: var(--dim); }
.titlebox .ver { text-align: center; font-size: 10px; color: #5a5470; margin-top: 6px; }

body.pre #hud, body.pre #nav, body.pre #panel > * { visibility: hidden; }
.showcase { width: 100%; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.showcase canvas { height: min(34dvh, 260px); aspect-ratio: 120 / 96; image-rendering: pixelated; -webkit-mask-image: radial-gradient(ellipse, #000 50%, transparent 72%); mask-image: radial-gradient(ellipse, #000 50%, transparent 72%); }
.eqslots { grid-template-columns: repeat(5, minmax(0, 104px)); justify-content: center; }
@media (min-width: 900px) and (min-height: 600px) { #stage { max-height: 46dvh; max-width: calc(46dvh * 16 / 9); } }
.zname { display: flex; align-items: center; gap: 4px; }
.bossico { width: 16px; height: 14px; object-fit: contain; filter: drop-shadow(0 0 3px rgba(255,80,80,.8)); }
@media (max-width: 520px) { .bigban { font-size: 15px; padding: 5px 18px; } .bigban small { font-size: 10px; } .skillban { font-size: 12px; } }
.shopitem .btn img, .chestrow .btn img, .res .btn img { width: 14px; height: 14px; }
