:root {
  --bg: #06080d; --text: #f2f4fa; --dim: #98a2b8; --faint: #5d6780; --line: rgba(255, 255, 255, .09); --card: rgba(255, 255, 255, .04); --card2: rgba(255, 255, 255, .07);
  --mint: #6dffb4; --cyan: #58d6ff; --violet: #9a86ff; --gold: #ffcf5c; --red: #ff6b7a; --grad: linear-gradient(100deg, #6dffb4, #58d6ff 55%, #9a86ff);
  --sky-top: #4a97e8; --sky-bot: #a9d6ff; --r: 20px; --font: 'Pretendard Variable', Pretendard, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.65 var(--font); word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.pxf { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
::selection { background: var(--mint); color: #04261a; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
img.px, canvas.face, .rankimg, .rank img, .marquee img { image-rendering: pixelated; }
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 배경: 게임 안 하늘 + 오로라 */
#sky { display: none; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .8s;
  background: radial-gradient(900px 500px at 12% -5%, rgba(109, 255, 180, .13), transparent 60%), radial-gradient(900px 600px at 95% 5%, rgba(154, 134, 255, .16), transparent 60%), radial-gradient(700px 500px at 50% 110%, rgba(88, 214, 255, .1), transparent 60%); }
body::before { opacity: 1; }


/* 상단 내비게이션 */
.top { position: fixed; inset: 14px 0 auto 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 6px; width: min(1180px, 100%); height: 60px; padding: 0 10px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 13, 22, .62); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 19px; letter-spacing: -.02em; margin-right: 10px; }
.logo-cube { width: 24px; height: 24px; border-radius: 7px; background: var(--grad); box-shadow: 0 0 18px rgba(109, 255, 180, .5), inset 0 -6px 10px rgba(0, 0, 0, .25); transform: rotate(45deg) scale(.8); }
.links { display: flex; gap: 2px; flex: 1; }
.links a { padding: 8px 13px; border-radius: 999px; color: var(--dim); font-weight: 600; font-size: 14.5px; transition: .18s; white-space: nowrap; }
.links a:hover { color: var(--text); background: var(--card2); } .links a.on { color: #04261a; background: var(--mint); }
.live { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); } .live.on .dot { background: var(--mint); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(109, 255, 180, .7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(109, 255, 180, 0); } }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 700; font-size: 14px; }
.chip canvas { border-radius: 8px; }
.burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--card2); cursor: pointer; } .burger svg { width: 20px; height: 20px; }
@media (max-width: 1020px) { .links { position: fixed; inset: 84px 16px auto 16px; flex-direction: column; padding: 12px; border: 1px solid var(--line); border-radius: 24px; background: rgba(10, 13, 22, .96); backdrop-filter: blur(18px); display: none; } .links.open { display: flex; } .links a { padding: 13px 16px; font-size: 16px; } .burger { display: grid; place-items: center; } .nav { justify-content: space-between; padding-left: 16px; } .logo { margin-right: auto; } }
@media (max-width: 520px) { .live span:last-child { display: none; } .live { padding: 0 12px; } .chip span { display: none; } .chip { padding: 0 6px; } }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 14px; cursor: pointer; font-weight: 800; font-size: 15px; color: #04261a; background: var(--grad); background-size: 160% 100%; transition: transform .15s, box-shadow .2s, background-position .4s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(88, 214, 255, .35); background-position: 100% 0; } .btn:active { transform: translateY(0) scale(.98); }
.btn.gold { background: linear-gradient(100deg, #ffe08a, #ffb84d); color: #3a2400; } .btn.gold:hover { box-shadow: 0 10px 30px rgba(255, 190, 80, .35); }
.btn.ghost { background: var(--card2); color: var(--text); border: 1px solid var(--line); } .btn.ghost:hover { box-shadow: none; background: rgba(255, 255, 255, .12); }
.btn.red { background: rgba(255, 107, 122, .14); color: var(--red); border: 1px solid rgba(255, 107, 122, .35); } .btn.red:hover { box-shadow: none; background: rgba(255, 107, 122, .24); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 11px; } .btn.big { min-height: 56px; padding: 0 30px; font-size: 16.5px; border-radius: 16px; }
.btn[disabled], a.btn[disabled] { opacity: .4; pointer-events: none; filter: grayscale(.6); }
.btn svg { width: 18px; height: 18px; }

/* 홈 히어로 */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(transparent 70%, var(--bg)); }
.hero-copy { position: absolute; z-index: 2; left: max(24px, calc((100vw - 1180px) / 2 + 12px)); top: 50%; transform: translateY(-54%); max-width: 560px; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 13, 22, .55); backdrop-filter: blur(10px); font-weight: 600; font-size: 13px; color: var(--dim); }
.badge b { color: var(--mint); }
.hero-copy h1 { margin: 20px 0 0; font-size: clamp(60px, 9vw, 124px); font-weight: 900; letter-spacing: -.05em; line-height: .92; text-shadow: 0 10px 50px rgba(0, 0, 0, .45); }
.hero-copy p { margin: 22px 0 30px; font-size: 18px; line-height: 1.6; color: #dfe5f3; max-width: 470px; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { position: absolute; z-index: 2; left: 50%; bottom: 34px; transform: translateX(-50%); width: min(1180px, calc(100vw - 32px)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hstat { padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(10, 13, 22, .55); backdrop-filter: blur(16px); }
.hstat span { display: block; font-size: 12.5px; color: var(--dim); font-weight: 600; } .hstat b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.feed { position: absolute; z-index: 2; right: max(16px, calc((100vw - 1180px) / 2)); top: 96px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; pointer-events: none; }
.feed div { padding: 6px 12px; border-radius: 999px; background: rgba(10, 13, 22, .6); backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 13px; font-weight: 600; animation: feedin .45s cubic-bezier(.2, .9, .3, 1.2); }
.feed b { color: var(--mint); } .feed s { text-decoration: none; color: var(--red); } .feed em { font-style: normal; color: var(--faint); margin-left: 4px; }
@keyframes feedin { from { opacity: 0; transform: translateX(24px); } }
.empty-island { position: absolute; z-index: 2; right: 14%; top: 44%; padding: 8px 14px; border-radius: 999px; background: rgba(10, 13, 22, .6); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
@media (max-width: 980px) { .hero::before { background: linear-gradient(rgba(6, 8, 13, .82), rgba(6, 8, 13, .45) 48%, transparent 66%), linear-gradient(transparent 70%, var(--bg)); } .hero-copy { top: 100px; transform: none; left: 20px; right: 20px; } .hero-copy h1 { font-size: 64px; } .hero-copy p { font-size: 15.5px; margin: 14px 0 20px; } .feed, .empty-island { display: none; } .hero-stats { grid-template-columns: repeat(2, 1fr); bottom: 18px; gap: 8px; } .hstat { padding: 11px 14px; } .hstat b { font-size: 19px; } }

/* 본문 공통 */
.wrap { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; }
.page { padding: 124px 0 60px; min-height: 100vh; } .home .page { padding-top: 0; }
.head { margin-bottom: 30px; } .head .eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head h1 { font-size: clamp(34px, 5vw, 52px); margin: 6px 0 8px; } .head p { margin: 0; color: var(--dim); font-size: 16px; }
.section { padding: 84px 0 0; } .section h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 22px; }
.section .sub { color: var(--dim); margin: -14px 0 22px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; backdrop-filter: blur(10px); } .box + .box { margin-top: 16px; }
.box h3 { font-size: 18px; margin-bottom: 4px; }
.grid { display: grid; gap: 14px; } .g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .g4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.tile { position: relative; display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, background .25s; }
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(109, 255, 180, .14), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
a.tile:hover { transform: translateY(-4px); border-color: rgba(109, 255, 180, .4); } a.tile:hover::after { opacity: 1; }
.tile b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; } .tile span { color: var(--dim); font-size: 14px; }
.tile .ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(109, 255, 180, .18), rgba(154, 134, 255, .18)); color: var(--mint); } .tile .ic svg { width: 22px; height: 22px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; } .bento .tile { grid-column: span 2; min-height: 150px; } .bento .wide { grid-column: span 3; } .bento .tile.hot { background: linear-gradient(135deg, rgba(109, 255, 180, .14), rgba(88, 214, 255, .08) 50%, rgba(154, 134, 255, .16)); border-color: rgba(109, 255, 180, .28); }
@media (max-width: 860px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .tile, .bento .wide { grid-column: span 1; min-height: 0; padding: 18px; } }
.steps { counter-reset: s; } .steps .tile::before { counter-increment: s; content: '0' counter(s); display: block; font-size: 15px; font-weight: 900; letter-spacing: .1em; margin-bottom: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--dim); } .mint { color: var(--mint); } .gold { color: var(--gold); } .red { color: var(--red); } .right { text-align: right; } .center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .between { justify-content: space-between; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--card2); color: var(--dim); white-space: nowrap; }
.tag.ok { color: var(--mint); background: rgba(109, 255, 180, .12); } .tag.wait { color: var(--gold); background: rgba(255, 207, 92, .12); } .tag.bad { color: var(--red); background: rgba(255, 107, 122, .12); } .tag.info { color: var(--cyan); background: rgba(88, 214, 255, .12); } .tag.vio { color: var(--violet); background: rgba(154, 134, 255, .14); }
.list a, .list .li { display: flex; gap: 12px; align-items: center; padding: 15px 8px; border-bottom: 1px solid var(--line); border-radius: 10px; transition: background .15s; } .list > :last-child { border-bottom: 0; } .list a:hover { background: var(--card2); } .list b { font-weight: 600; }
.list time { color: var(--faint); font-size: 13px; margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
canvas.face { width: 32px; height: 32px; flex: none; border-radius: 8px; } canvas.face.lg { width: 72px; height: 72px; border-radius: 16px; } canvas.face.sm { width: 26px; height: 26px; border-radius: 7px; }
.rankimg { height: 20px; vertical-align: -4px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); } .marquee div { display: flex; gap: 30px; width: max-content; animation: slide 46s linear infinite; padding: 10px 0; } .marquee img { height: 38px; }
@keyframes slide { to { transform: translateX(-50%); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); } .reveal.shown { opacity: 1; transform: none; }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; } @media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.mini { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid var(--line); } .mini:last-child { border: 0; } .mini i { font-style: normal; width: 22px; font-weight: 800; color: var(--faint); } .mini:nth-child(1) i { color: var(--gold); } .mini b { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; } .mini em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; }

/* 입력 */
label.f { display: block; margin-bottom: 14px; } label.f > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--dim); }
.in { width: 100%; height: 48px; padding: 0 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); border-radius: 13px; outline: 0; transition: border-color .15s, box-shadow .15s; } textarea.in { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.55; }
.in:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(88, 214, 255, .14); } select.in { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; } select.in option { background: #10141f; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.opt { position: relative; display: block; padding: 16px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); border-radius: 15px; cursor: pointer; transition: .18s; } .opt:hover { border-color: rgba(255, 255, 255, .22); } .opt b { display: block; font-size: 16px; font-weight: 800; } .opt small { color: var(--dim); font-size: 13px; }
.opt.on { border-color: var(--mint); background: rgba(109, 255, 180, .08); box-shadow: 0 0 0 4px rgba(109, 255, 180, .1); } .opt.on::after { content: ''; position: absolute; right: 14px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.opt.off { opacity: .4; cursor: not-allowed; }
.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; }
.check { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; cursor: pointer; } .check input { width: 20px; height: 20px; accent-color: var(--mint); margin-top: 2px; flex: none; }
.stepno { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--mint); margin-bottom: 14px; }
.charge { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; } .charge aside { position: sticky; top: 96px; background: linear-gradient(160deg, rgba(109, 255, 180, .08), rgba(154, 134, 255, .1)); } @media (max-width: 900px) { .charge { grid-template-columns: 1fr; } .charge aside { position: static; } }
.receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; margin: 0 0 14px; } .receipt dt { color: var(--dim); } .receipt dd { margin: 0; text-align: right; font-weight: 700; }
.receipt .total { border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px; font-size: 24px; font-weight: 900; letter-spacing: -.03em; display: flex; justify-content: space-between; }
.acct { background: rgba(109, 255, 180, .06); border: 1px dashed rgba(109, 255, 180, .5); border-radius: 16px; padding: 18px; } .acct b { font-size: 23px; font-weight: 900; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; } .track div { padding: 12px; border-radius: 13px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--faint); } .track div.done { border-color: rgba(109, 255, 180, .5); color: var(--mint); } .track div.now { border-color: var(--gold); color: var(--gold); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .5; } }
.notice-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; margin-bottom: 18px; border-radius: 16px; border: 1px solid rgba(255, 207, 92, .35); background: linear-gradient(100deg, rgba(255, 207, 92, .14), rgba(255, 150, 80, .06)); font-weight: 700; } .notice-bar svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* 상자 */
.chest { position: relative; width: 112px; height: 100px; margin: 6px auto 20px; filter: drop-shadow(0 16px 30px rgba(255, 190, 80, .25)); }
.chest .lid, .chest .base { position: absolute; left: 0; width: 112px; border-radius: 12px; background: linear-gradient(#e0a253, #a8672a); border: 3px solid #5a3414; }
.chest .lid { top: 6px; height: 40px; border-radius: 16px 16px 6px 6px; transform-origin: 50% 100%; transition: transform .55s cubic-bezier(.3, 1.6, .5, 1); } .chest .base { top: 44px; height: 56px; border-radius: 6px 6px 14px 14px; }
.chest .lock { position: absolute; left: 46px; top: 36px; width: 20px; height: 24px; border-radius: 6px; background: #e8ebf5; border: 3px solid #5a3414; z-index: 2; transition: .3s; }
.chest.wait { animation: wobble 2.6s infinite; } @keyframes wobble { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-5deg); } 94% { transform: rotate(5deg); } }
.chest.paid .lock { background: var(--gold); box-shadow: 0 0 22px var(--gold); } .chest.done .lid { transform: translateY(-16px) rotate(-20deg); } .chest.done .lock { opacity: 0; }
.chest i { position: absolute; left: 50px; top: 40px; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff3c4, var(--gold) 60%, #c98a1b); opacity: 0; }
.chest.done i { animation: coin 1.2s ease-out forwards; } .chest.done i:nth-child(5) { --x: -50px; animation-delay: .05s; } .chest.done i:nth-child(6) { --x: 48px; animation-delay: .12s; } .chest.done i:nth-child(7) { --x: -20px; animation-delay: .2s; } .chest.done i:nth-child(8) { --x: 22px; animation-delay: .28s; }
@keyframes coin { 0% { opacity: 1; transform: translate(0, 0); } 60% { opacity: 1; transform: translate(var(--x, 0), -70px); } 100% { opacity: 0; transform: translate(calc(var(--x, 0) * 1.3), -24px); } }

/* 랭크 */
.rank { position: relative; padding: 30px 22px 22px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); text-align: center; overflow: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s; }
.rank::before { content: ''; position: absolute; inset: -40% -40% auto; height: 80%; background: radial-gradient(closest-side, rgba(255, 207, 92, .2), transparent); opacity: 0; transition: opacity .3s; }
.rank:hover { transform: translateY(-6px); border-color: rgba(255, 207, 92, .5); } .rank:hover::before { opacity: 1; }
.rank img { position: relative; height: 46px; margin: 4px 0 16px; } .rank .price { font-size: 24px; font-weight: 900; letter-spacing: -.03em; margin-bottom: 14px; } .rank ul { text-align: left; margin: 0 0 18px; padding: 0; list-style: none; color: var(--dim); font-size: 14px; min-height: 24px; } .rank li { padding: 5px 0 5px 22px; position: relative; } .rank li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.rank .btn { width: 100%; }

/* 표 · 탭 · 순위 */
table.t { width: 100%; border-collapse: collapse; } table.t th { text-align: left; font-size: 12.5px; font-weight: 700; color: var(--faint); padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; } table.t td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; } table.t tr:last-child td { border-bottom: 0; } table.t tr:hover td { background: rgba(255, 255, 255, .03); }
.scroll { overflow-x: auto; }
.tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; padding: 5px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); } .tabs button { height: 38px; padding: 0 16px; border: 0; border-radius: 11px; background: transparent; color: var(--dim); cursor: pointer; font-weight: 700; font-size: 14px; transition: .15s; } .tabs button:hover { color: var(--text); } .tabs button.on { background: var(--text); color: #0a0d16; }
.tabs.small button { height: 32px; padding: 0 12px; font-size: 13px; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; margin-bottom: 18px; } .podium .p { position: relative; text-align: center; padding: 26px 10px 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); transition: transform .25s; overflow: hidden; } .podium a.p:hover { transform: translateY(-5px); }
.podium .p1 { padding-top: 44px; border-color: rgba(255, 207, 92, .55); background: linear-gradient(180deg, rgba(255, 207, 92, .16), rgba(255, 207, 92, .02)); } .podium .p2 { background: linear-gradient(180deg, rgba(200, 212, 235, .12), transparent); } .podium .p3 { background: linear-gradient(180deg, rgba(224, 146, 90, .13), transparent); }
.podium .no { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; font-weight: 900; background: var(--card2); } .podium .p1 .no { background: var(--gold); color: #3a2400; box-shadow: 0 0 24px rgba(255, 207, 92, .6); }
.podium .p b { display: block; font-size: 17px; font-weight: 800; margin-top: 12px; overflow: hidden; text-overflow: ellipsis; } .podium .v { font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.mybar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 16px; border-radius: 16px; border: 1px solid rgba(88, 214, 255, .35); background: rgba(88, 214, 255, .08); font-weight: 700; }
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 18px; } .profile > .box:first-child { align-self: start; padding: 0; overflow: hidden; } .profile canvas.skin { width: 100%; height: 380px; display: block; cursor: grab; background: radial-gradient(circle at 50% 75%, rgba(109, 255, 180, .18), transparent 62%); } @media (max-width: 760px) { .profile { grid-template-columns: 1fr; } }
.stat { padding: 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); } .stat b { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .stat span { color: var(--dim); font-size: 13px; }
details.faq { border-bottom: 1px solid var(--line); padding: 16px 4px; } details.faq:last-child { border: 0; } details.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; } details.faq summary::after { content: '+'; color: var(--mint); font-weight: 900; transition: transform .2s; } details.faq[open] summary::after { transform: rotate(45deg); } details.faq p { margin: 12px 0 0; color: var(--dim); }
.doc h2, .doc h3 { margin: 26px 0 8px; } .doc h2 { font-size: 21px; } .doc h3 { font-size: 17px; } .doc p { margin: 8px 0; color: #d3d9e8; } .doc ul { padding-left: 20px; color: #d3d9e8; } .doc a { color: var(--mint); text-decoration: underline; }
.logrow a.row { display: inline-flex; vertical-align: middle; margin-right: 4px; font-weight: 700; } .logrow canvas.face { width: 24px; height: 24px; border-radius: 6px; }
.logrow td:first-child { white-space: nowrap; color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }

/* 알림 · 창 */
#toasts { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { padding: 12px 20px; border-radius: 999px; background: rgba(16, 20, 32, .95); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); font-weight: 600; animation: pop .3s cubic-bezier(.2, .9, .3, 1.3); } .toast.err { border-color: rgba(255, 107, 122, .5); color: #ffc2c8; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
#modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(3, 5, 9, .7); backdrop-filter: blur(8px); padding: 16px; }
.dialog { width: min(440px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: #0e121c; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: pop .25s; } .dialog h2 { font-size: 26px; margin-bottom: 8px; }
.code { letter-spacing: .45em; text-align: center; font-size: 28px; font-weight: 800; height: 62px; }

footer.foot { margin-top: 110px; padding: 34px 0 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; } footer.foot .flinks { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; font-weight: 600; color: var(--dim); } footer.foot .flinks a:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

/* 로그 조사 */
.lg .lgh { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--mint); margin: 26px 0 12px; } .lg .lgh:first-child { margin-top: 0; } .lg .lgh svg { width: 18px; height: 18px; }
.pick { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 0, 0, .25); } .pick.wrap { width: auto; grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin: 0; }
.pick button { height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--dim); font-weight: 700; cursor: pointer; transition: .15s; } .pick button:hover { color: var(--text); background: var(--card2); } .pick button.on { background: var(--text); color: #0a0d16; }
.hint { margin: 8px 2px 0; font-size: 13px; color: var(--faint); }
.opt.mode { padding: 18px; } .opt.mode .ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: var(--card2); color: var(--dim); transition: .18s; } .opt.mode .ic svg { width: 20px; height: 20px; } .opt.mode.on .ic { background: var(--mint); color: #04261a; }
.cond { margin-top: 18px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); } .cond label.f { margin-bottom: 0; }
.xyz { border: 0; padding: 4px 9px; border-radius: 8px; background: var(--card2); color: var(--dim); cursor: pointer; font: inherit; font-size: 12.5px; font-variant-numeric: tabular-nums; } .xyz:hover { color: var(--mint); }
/* 충전 */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; } .how div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); } .how svg { grid-row: span 2; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: linear-gradient(135deg, rgba(109, 255, 180, .18), rgba(154, 134, 255, .18)); color: var(--mint); } .how b { font-weight: 800; } .how span { color: var(--dim); font-size: 13px; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }
.opt.amt b { font-size: 19px; letter-spacing: -.02em; } .opt .bonus { position: absolute; left: 12px; top: -9px; padding: 1px 8px; border-radius: 999px; background: var(--grad); color: #04261a; font-style: normal; font-size: 11.5px; font-weight: 900; } .opt.amt.on::after { top: 12px; }
.rcpt-who { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); } .rcpt-who b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; } .rcpt-who .ph { width: 72px; height: 72px; border-radius: 16px; background: var(--card2); flex: none; }
.receipt .tip { padding: 8px 12px; border-radius: 10px; background: rgba(255, 207, 92, .1); color: var(--gold); font-size: 13px; font-weight: 600; }
.charge aside { background: none !important; } .charge aside .receipt { background: linear-gradient(160deg, rgba(109, 255, 180, .08), rgba(154, 134, 255, .1)); }

/* 첫 화면: 가벼운 CSS 연출 (서버 부하 없음) */
.hero { display: grid; place-items: center; perspective: 1100px; }
.hero-copy { position: relative; left: auto; top: auto; transform: none; text-align: center; max-width: 820px; padding: 0 20px; margin-top: -60px; }
.hero-copy h1 { font-size: clamp(76px, 15vw, 210px); line-height: .88; } .hero-copy p { max-width: none; margin: 22px auto 30px; font-size: 19px; } .hero-cta { justify-content: center; }
.orbs i { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .4; animation: drift 18s ease-in-out infinite alternate; }
.orbs i:nth-child(1) { width: 520px; height: 520px; left: 8%; top: 12%; background: #2fd98a; } .orbs i:nth-child(2) { width: 600px; height: 600px; right: 4%; top: 6%; background: #6a57ff; animation-duration: 23s; animation-direction: alternate-reverse; } .orbs i:nth-child(3) { width: 460px; height: 460px; left: 38%; bottom: 0; background: #1fa8e0; animation-duration: 27s; }
@keyframes drift { to { transform: translate(60px, -40px) scale(1.15); } }
.floor { position: absolute; left: -50%; right: -50%; bottom: -8%; height: 60%; transform: rotateX(72deg); transform-origin: 50% 100%; background-image: linear-gradient(rgba(140, 220, 255, .22) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(140, 220, 255, .22) 1.5px, transparent 1.5px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 55% 80% at 50% 100%, #000 10%, transparent 72%); animation: floor 7s linear infinite; }
@keyframes floor { to { background-position: 0 80px, 0 0; } }
.cubes { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.cube { position: absolute; width: var(--s); height: var(--s); transform-style: preserve-3d; animation: spin var(--d) linear infinite, bob 6s ease-in-out infinite alternate; }
.cube b { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .28); background: linear-gradient(135deg, rgba(109, 255, 180, .22), rgba(154, 134, 255, .2)); box-shadow: inset 0 0 30px rgba(88, 214, 255, .25); backdrop-filter: blur(2px); }
.cube b:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); } .cube b:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); } .cube b:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); } .cube b:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); } .cube b:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); } .cube b:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.c1 { --s: 120px; --d: 26s; left: 9%; top: 24%; } .c2 { --s: 70px; --d: 18s; left: 20%; top: 62%; } .c3 { --s: 150px; --d: 34s; right: 8%; top: 20%; } .c4 { --s: 84px; --d: 22s; right: 19%; top: 60%; } .c5 { --s: 46px; --d: 14s; left: 34%; top: 16%; } .c6 { --s: 54px; --d: 16s; right: 33%; top: 72%; }
@keyframes spin { from { rotate: 1 1 0 0deg; } to { rotate: 1 1 0 360deg; } } @keyframes bob { to { translate: 0 -26px; } }
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); } .ticker div { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; animation: slide 40s linear infinite; font-weight: 800; font-size: 15px; letter-spacing: .08em; color: var(--dim); white-space: nowrap; } .ticker i { font-style: normal; color: var(--mint); }
.ticker div { animation-name: slide3; } @keyframes slide3 { to { transform: translateX(-33.333%); } }
@media (max-width: 980px) { .hero-copy { position: relative; top: auto; left: auto; right: auto; margin-top: -90px; } .hero-copy h1 { font-size: 84px; } .cube { scale: .55; } .c5, .c6 { display: none; } .hero::before { background: linear-gradient(transparent 70%, var(--bg)); } }
/* 로그 조사: 왼쪽 필터 + 오른쪽 검색 */
.lgx { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 16px; align-items: start; } .lgside { position: sticky; top: 96px; } @media (max-width: 900px) { .lgx { grid-template-columns: 1fr; } .lgside { position: static; } }
.lgcap { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--faint); margin: 20px 0 10px; } .lgcap:first-child { margin-top: 0; }
.vlist { display: grid; gap: 2px; } .vlist button { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 10px; border: 0; border-radius: 11px; background: transparent; color: var(--dim); font-weight: 600; cursor: pointer; text-align: left; } .vlist button:hover { background: var(--card2); color: var(--text); }
.vlist i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--faint); flex: none; transition: .15s; } .vlist button.on { color: var(--text); } .vlist button.on i { border: 5px solid var(--cyan); }
#lcustom { margin-top: 10px; } #lcustom label.f { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; } .chips button { height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--dim); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: .15s; } .chips button:hover { color: var(--text); border-color: rgba(255, 255, 255, .25); } .chips button.on { background: rgba(88, 214, 255, .14); border-color: var(--cyan); color: var(--cyan); }
.modes { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin: -6px 0 18px; overflow-x: auto; } .modes button { display: flex; align-items: center; gap: 8px; padding: 12px 2px 14px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--dim); font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; } .modes svg { width: 18px; height: 18px; } .modes button:hover { color: var(--text); } .modes button.on { color: var(--text); border-color: var(--cyan); } .modes button.on svg { color: var(--cyan); }
.lgx .cond { margin: 0; padding: 0; border: 0; background: none; } .qrow { display: flex; gap: 8px; flex-wrap: wrap; } .qrow .in { flex: 1 1 110px; min-width: 0; } .qrow .btn { min-height: 48px; }
.lgempty { display: grid; justify-items: center; gap: 6px; padding: 46px 16px; text-align: center; color: var(--dim); } .lgempty svg { width: 34px; height: 34px; color: var(--faint); margin-bottom: 6px; } .lgempty b { color: var(--text); font-size: 17px; } .lgempty span { max-width: 420px; font-size: 14px; }

/* 첫 화면 v5: 블록으로 조립되는 로고 */
.hero #fx, .hero #glow { position: absolute; inset: 0; width: 100%; height: 100%; display: block; } .hero #fx { z-index: 2; cursor: crosshair; touch-action: pan-y; } .hero #glow { z-index: 1; opacity: .85; mix-blend-mode: screen; pointer-events: none; filter: blur(14px); }
.hero.fx .hero-copy { z-index: 3; pointer-events: none; margin-top: 0; display: flex; flex-direction: column; align-items: center; } .hero.fx .hero-copy .btn { pointer-events: auto; }
.hero.fx .hero-copy h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }      /* 3D 로고가 대신 보인다 */
.hero:not(.fx) .logo-space, .hero:not(.fx) #fx, .hero:not(.fx) #glow, .hero:not(.fx) .touch { display: none; }
.logo-space { height: clamp(150px, 27vw, 330px); }
.verbs { display: flex; align-items: center; gap: 18px; margin: 0 0 30px !important; font-size: clamp(22px, 3.2vw, 40px) !important; font-weight: 900; letter-spacing: -.03em; }
.verbs i { font-style: normal; color: var(--faint); font-weight: 300; } .verbs span { opacity: 0; animation: verb .7s cubic-bezier(.2, .9, .3, 1.2) forwards, verbglow 6s ease-in-out infinite; animation-delay: calc(2s + var(--n) * .28s), calc(3s + var(--n) * 2s); }
@keyframes verb { from { opacity: 0; transform: translateY(18px) scale(.9); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes verbglow { 0%, 28%, 100% { color: var(--text); text-shadow: none; } 12% { color: var(--mint); text-shadow: 0 0 28px rgba(109, 255, 180, .8); } }
.hero.fx .badge, .hero.fx .hero-cta, .hero.fx .touch { opacity: 0; animation: verb .8s 2.6s forwards; } .hero.fx .badge { animation-delay: .2s; }
.touch { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--faint); letter-spacing: .02em; }
.hero.fx .orbs i { opacity: .28; } .hero .cubes { display: none; }
@media (max-width: 980px) { .hero.fx .hero-copy { margin-top: -40px; } .logo-space { height: 34vw; } .verbs { gap: 10px; } }
@media (hover: none) { .touch { visibility: hidden; } .touch::after { content: '로고를 눌러 보세요'; visibility: visible; display: block; margin-top: -1.4em; } }

.hero.fx .hero-copy { position: absolute; inset: 0; max-width: none; margin: 0; padding: 0; display: block; }
.hero.fx .badge { position: absolute; left: 50%; top: max(104px, 13vh); translate: -50% 0; white-space: nowrap; }
.hero.fx .logo-space { display: none; }
.hero.fx .verbs { position: absolute; left: 0; right: 0; bottom: 262px; justify-content: center; margin: 0 !important; }
.hero.fx .hero-cta { position: absolute; left: 0; right: 0; bottom: 176px; } .hero.fx .touch { position: absolute; left: 0; right: 0; bottom: 142px; margin: 0; text-align: center; }
.hero #glow { opacity: .6; }
@media (max-width: 980px) { .hero.fx .hero-copy { margin: 0; } .hero.fx .verbs { bottom: 300px; } .hero.fx .hero-cta { bottom: 222px; } .hero.fx .touch { bottom: 192px; } .hero.fx .badge { font-size: 12px; } }

/* 스크롤하면 한 단어씩 밝아지는 소개 문장 */
.manifesto { padding: clamp(70px, 12vw, 150px) 0 clamp(20px, 4vw, 50px); } .manifesto p { width: min(1040px, calc(100vw - 40px)); margin: 0 auto; font-size: clamp(26px, 4.3vw, 54px); font-weight: 800; letter-spacing: -.035em; line-height: 1.38; }
.manifesto .w { color: rgba(255, 255, 255, .13); transition: color .45s, text-shadow .45s; } .manifesto .w.lit { color: var(--text); } .manifesto .w.key.lit { color: var(--mint); text-shadow: 0 0 34px rgba(109, 255, 180, .45); }
@media (hover: none) { .touch::after { content: '로고를 눌러 보세요' !important; } }

/* 랭크 띠: 같은 묶음 두 개를 이어 붙여 끊김 없이 돈다 */
.marquee .track { display: flex; width: max-content; gap: 0; padding: 10px 0; animation: slide 70s linear infinite; will-change: transform; } .marquee .set { display: flex; gap: 30px; padding-right: 30px; flex: none; animation: none; width: auto; } .marquee .set img { height: 38px; flex: none; }
.marquee:hover .track { animation-play-state: paused; }
/* 서버 특징 */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.feat { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s; } .feat:hover { transform: translateY(-5px); border-color: rgba(109, 255, 180, .4); }
.feat b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; } .feat span { color: var(--dim); }
.feat .art { height: 150px; margin-bottom: 20px; border-radius: 16px; background: radial-gradient(circle at 50% 60%, rgba(109, 255, 180, .13), transparent 68%), rgba(0, 0, 0, .25); display: grid; place-items: center; overflow: hidden; position: relative; }
.art.runes img { position: absolute; width: 64px; height: 64px; image-rendering: pixelated; left: calc(50% - 32px + (var(--n) - 2) * 54px); top: calc(50% - 32px + (var(--n) - 2) * (var(--n) - 2) * 5px); rotate: calc((var(--n) - 2) * 9deg); transition: translate .3s, scale .3s; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); animation: bob 4s ease-in-out calc(var(--n) * -.7s) infinite alternate; } .feat:hover .art.runes img { scale: 1.12; }
.art.ranks img { position: absolute; height: 30px; image-rendering: pixelated; left: 50%; top: calc(26px + var(--n) * 28px); translate: calc(-50% + (var(--n) - 1.5) * 16px) 0; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); transition: translate .35s; } .feat:hover .art.ranks img { translate: -50% 0; }
.feat .chest { margin: 0; scale: .9; } .feat:hover .chest { animation: none; } .feat:hover .chest .lid { transform: translateY(-16px) rotate(-20deg); } .feat:hover .chest .lock { opacity: 0; } .feat:hover .chest i { animation: coin 1.2s ease-out forwards; }
@keyframes bob { to { translate: 0 -10px; } }

.split > .box + .box, .grid > .box + .box { margin-top: 0; }

/* 랜덤박스 카드의 상자 */
.mcchest { position: relative; width: 132px; height: 132px; } .mcchest img { width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); animation: bob 3.2s ease-in-out infinite alternate; transform-origin: 50% 90%; }
.feat:hover .mcchest img { animation: chestpop .7s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 0 26px rgba(255, 207, 92, .7)); }
@keyframes chestpop { 0% { transform: none; } 30% { transform: translateY(-16px) rotate(-6deg) scale(1.06); } 55% { transform: translateY(0) rotate(5deg); } 75% { transform: rotate(-3deg); } 100% { transform: none; } }
.mcchest i { position: absolute; left: 60px; top: 44px; width: 12px; height: 12px; background: var(--gold); box-shadow: inset -3px -3px 0 #c98a1b; opacity: 0; }
.feat:hover .mcchest i { animation: coin 1.1s ease-out .15s forwards; } .mcchest i:nth-child(2) { --x: -52px; } .mcchest i:nth-child(3) { --x: 50px; } .mcchest i:nth-child(4) { --x: -20px; } .mcchest i:nth-child(5) { --x: 22px; }

/* 집 구매 */
.houses { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; } .opt.house { display: flex; flex-direction: column; gap: 4px; min-height: 132px; } .opt.house .tag { align-self: flex-start; margin-bottom: 4px; } .opt.house b { font-size: 17px; } .opt.house small { flex: 1; } .opt.house em { font-style: normal; font-weight: 900; font-size: 18px; letter-spacing: -.02em; color: var(--gold); } .opt.house.off em { color: var(--faint); }
.rank ul { margin-bottom: 0; }

/* 집: 구역 색 · 좌표 */
.zone { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 7px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--text); background: color-mix(in srgb, var(--zc) 22%, transparent); border: 1px solid color-mix(in srgb, var(--zc) 60%, transparent); white-space: nowrap; } .zone i { width: 9px; height: 9px; border-radius: 3px; background: var(--zc); box-shadow: 0 0 10px var(--zc); }
.opt.house { border-left: 4px solid var(--zc, transparent); min-height: 150px; } .opt.house .tag { margin: 0; align-self: auto; } .opt.house.on { border-left-color: var(--zc, var(--mint)); }
.hxyz { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; } .hxyz svg { width: 13px; height: 13px; color: var(--cyan); flex: none; }
.hinfo { margin-top: 14px; padding: 18px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--zc) 45%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, var(--zc) 14%, transparent), rgba(0, 0, 0, .22) 60%); text-align: left; }
.hinfo > .row { margin-bottom: 12px; } .hinfo > .row svg { width: 20px; height: 20px; color: var(--zc); } .hinfo > .row b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.hl { display: grid; grid-template-columns: 18px 44px 1fr; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); } .hl.multi { align-items: start; } .hl svg { width: 16px; height: 16px; color: var(--dim); } .hl > span:nth-child(2) { color: var(--dim); font-size: 13px; font-weight: 600; } .hl p { margin: 0; color: #d3d9e8; } .hl .xyz, .hl .zone { justify-self: start; } .hl .xyz { font-size: 13.5px; color: var(--text); }

/* 충전 포인트 */
.ptbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); } .ptbar b { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; white-space: nowrap; } .ptbar svg { width: 18px; height: 18px; color: var(--gold); } .ptbar span { color: var(--dim); font-size: 14px; }
.ptbar.on { border-color: rgba(255, 207, 92, .45); background: linear-gradient(100deg, rgba(255, 207, 92, .14), rgba(154, 134, 255, .08)); } .ptbar.on b { color: var(--gold); font-size: 17px; }
