:root{--bg: #0E1116;--surface: #151A22;--surface-2: #1A1F28;--line: #232A36;--line-2: #2C3442;--text: #F2F4F7;--sub: #C9CFD9;--muted: #9AA3B2;--accent: #C6F24E;--accent-ink: #10140A;--violet: #8B7CFF;--violet-bg: #2A2150;--gold: #F5C451;--danger: #FF8A7A;--kakao: #FEE500;--display: "Black Han Sans", "IBM Plex Sans KR", system-ui, sans-serif;--body: "IBM Plex Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);-webkit-font-smoothing:antialiased}body{font-size:15px;line-height:1.5}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h1,h2,p{margin:0}a{color:var(--accent)}.num{font-variant-numeric:tabular-nums}.shell{min-height:100dvh}.shell.has-nav{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}.page{max-width:480px;margin:0 auto;padding:calc(18px + env(safe-area-inset-top,0px)) 16px 24px;display:flex;flex-direction:column;gap:16px}.page.narrow{padding-top:calc(36px + env(safe-area-inset-top,0px))}.page.with-cta{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}.stack{display:flex;flex-direction:column;gap:10px}.row-between{display:flex;align-items:center;justify-content:space-between;gap:8px}.row-gap{display:flex;gap:8px;flex-wrap:wrap}.grow{flex:1;min-width:0}.center{text-align:center}.topbar{display:flex;align-items:center;gap:10px;min-height:44px}.topbar h1{font-size:20px;font-weight:700;flex:1}.topbar-right{display:flex;gap:8px}.icon-btn{width:44px;height:44px;border-radius:22px;border:1px solid var(--line);background:var(--surface-2);display:grid;place-items:center}.label{font-size:12px;color:var(--muted)}.muted{color:var(--muted)}.small{font-size:12px}.strong{font-weight:700}.h2{font-size:16px;font-weight:700}.big{font-family:var(--display);font-size:22px;line-height:1.15}.lv{font-family:var(--display);font-size:18px;color:var(--accent)}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--accent)}.gold{color:var(--gold)}.nick{font-size:22px;font-weight:700}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:16px}.divider{height:1px;background:var(--line)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border-radius:14px;border:0;font-weight:700;font-size:15px;text-decoration:none}.btn.sm{min-height:40px;padding:0 14px;font-size:13px;border-radius:12px}.btn.primary{background:var(--accent);color:var(--accent-ink)}.btn.primary:disabled{background:#2a3140;color:#6b7486}.btn.ghost{background:transparent;color:var(--accent);border:1px solid var(--accent)}.btn.violet{background:var(--violet-bg);color:#e4dfff;border:1px solid var(--violet)}.btn.text{background:none;color:var(--muted);min-height:44px;font-weight:500}.btn.kakao{background:var(--kakao);color:#191600;width:100%;min-height:54px;font-size:16px}.chips{display:grid;gap:8px}.chips.two{grid-template-columns:repeat(2,minmax(0,1fr))}.chips.three{grid-template-columns:repeat(3,minmax(0,1fr))}.chips.four{grid-template-columns:repeat(4,minmax(0,1fr))}.chip{min-height:44px;padding:6px 8px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface-2);color:var(--sub);font-size:13px;font-weight:600;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.chips.two .chip{flex-direction:row;gap:8px}.chip b{font-family:var(--display);font-size:17px;font-weight:400;color:var(--text)}.chip small{font-size:11px;color:var(--muted)}.chip.on{border:2px solid var(--accent);background:#1f2a10;color:#e6f9b8}.chip.locked{opacity:.5}.swatches{display:flex;gap:12px}.swatches.wrap{flex-wrap:wrap}.sw{width:44px;height:44px;border-radius:22px;border:2px solid var(--line-2);padding:0}.sw.on{border:3px solid var(--accent)}.kit-dot{width:22px;height:22px;border-radius:11px;border:2px solid;flex-shrink:0}.kit-dot.sm{width:14px;height:14px}.form{display:flex;flex-direction:column;gap:16px}.field{display:flex;flex-direction:column;gap:6px;border:0;padding:0;margin:0;min-width:0}.field>span,.field>legend{font-size:13px;font-weight:600;color:var(--sub);padding:0;margin-bottom:6px}.field em{font-style:normal;font-weight:400;color:var(--muted);margin-left:4px}.field input,.field select{height:48px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface-2);color:var(--text);padding:0 14px;font:inherit;font-size:16px}.field input:focus,.field select:focus{border-color:var(--accent);outline:none}.check{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--sub);min-height:44px}.check input{width:20px;height:20px;accent-color:var(--accent)}.form-err{color:var(--danger);font-size:13px}.cta-bar{position:fixed;left:0;right:0;bottom:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));background:linear-gradient(transparent,var(--bg) 30%);display:flex;justify-content:center}.cta-bar .btn{width:100%;max-width:448px;min-height:54px;font-size:16px}.login{min-height:100dvh;max-width:480px;margin:0 auto;padding:calc(40px + env(safe-area-inset-top,0px)) 20px calc(28px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;justify-content:space-between;gap:32px}.login-hero{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding-top:24px}.login-fig{width:200px;height:200px;border-radius:100px;background:radial-gradient(circle at 50% 45%,#C6F24E33,transparent 65%),var(--surface);border:1px solid var(--line);display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.logo{font-family:var(--display);font-size:48px;font-weight:400;letter-spacing:.02em;color:var(--accent);line-height:1}.login-sub{color:var(--sub);font-size:15px;line-height:1.6}.login-actions{display:flex;flex-direction:column;gap:10px}.fine{text-align:center;font-size:12px;color:var(--muted)}.onb-head{display:flex;flex-direction:column;gap:6px}.onb-head h1{font-size:24px;text-wrap:balance}.lobby-head{display:flex;align-items:center;justify-content:space-between}.coin{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:18px;background:var(--surface-2);border:1px solid var(--line);font-weight:700;font-size:14px;font-variant-numeric:tabular-nums}.hero{display:flex;gap:14px;align-items:center}.hero>a{flex-shrink:0;text-decoration:none}.hero-side{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}.bar{height:8px;border-radius:4px;background:var(--line);overflow:hidden}.bar>div{height:100%;border-radius:4px;transition:width .4s ease}.team-strip,.team-row{display:flex;align-items:center;gap:12px}.empty-team{display:flex;flex-direction:column;gap:8px}.quest{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}.quest.ready{border-color:var(--accent)}.quest .strong{font-size:14px}.quest .bar{margin-top:6px;height:6px}.tag{display:inline-block;font-size:11px;font-weight:600;color:var(--muted);background:var(--surface-2);border-radius:6px;padding:1px 6px;margin-right:6px;vertical-align:1px}.record{text-align:right;display:flex;flex-direction:column}.record b{font-family:var(--display);font-weight:400;font-size:18px}.record span{font-size:12px;color:var(--muted)}.pcard{position:relative;flex-shrink:0}.pcard-in{position:absolute;inset:3px;overflow:hidden}.pcard-fig{position:absolute;left:0;right:0;display:flex;justify-content:center}.pcard-fade{position:absolute;left:0;right:0;bottom:0}.pcard-ovr{position:absolute;left:14px;top:14px;display:flex;flex-direction:column;align-items:center;line-height:1;gap:4px}.pcard-ovr b{font-family:var(--display);font-weight:400}.pcard-ovr span{font-size:12px;font-weight:700}.pcard-plate{position:absolute;left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:5px}.pcard-name{font-weight:700;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pcard-line{height:1px}.pcard-stats{display:grid;grid-template-columns:repeat(3,auto);column-gap:14px;row-gap:1px;font-size:12px}.pcard-stats b{color:#fff;margin-right:2px;font-variant-numeric:tabular-nums}.pcard-tier{font-size:10px;font-weight:700;letter-spacing:.14em}.card-stage{display:flex;justify-content:center;padding:6px 0}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile{display:flex;flex-direction:column;gap:6px;padding:14px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;text-align:center}.stat-grid b{display:block;font-family:var(--display);font-weight:400;font-size:22px}.stat-grid span{font-size:12px;color:var(--muted)}.rating-row{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:8px;font-size:13px;color:var(--sub);align-items:center}.rating-row b{color:var(--text)}.stage{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 16px 12px;border-radius:22px;background:radial-gradient(60% 60% at 50% 40%,#C6F24E22,transparent 70%),var(--surface);border:1px solid var(--line)}.stage-note{font-size:12px;color:var(--muted);text-align:center}.opt{display:flex;flex-direction:column;gap:8px}.opt h2{font-size:13px;font-weight:600;color:var(--sub)}.soon-list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;color:var(--sub)}.bnav{position:fixed;left:0;right:0;bottom:0;z-index:10;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(66px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);background:#12161d;border-top:1px solid var(--line)}.bnav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;color:#8a93a3;text-decoration:none}.bnav a.on{color:var(--accent);font-weight:700}.center-note{min-height:60dvh;display:grid;place-items:center;color:var(--muted)}.error-note{max-width:420px;margin:20vh auto 0;padding:20px 16px;display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center;color:var(--sub)}@media (max-width: 360px){.hero{flex-direction:column}.chips.four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion: reduce){.bar>div{transition:none}}
