/* 방향: 잔디색 바탕에 어두운 전광판 패널과 호박색 숫자. layout: 가운데 520px 게임 컬럼 하나. 1200px 이상에서만 좌(명예의 전당·카드첩)·우(커리어 로그·라이벌) 보조 패널 */
:root{
  --bg:#EDF0E8; --surface:#FFFFFF; --fill:#F1F4EC; --line:#D7DDCF;
  --text:#16211B; --dim:#5C6A60; --dim2:#8A968C;
  --accent:#0B6B4A; --accent-press:#084F37; --soft:#DCF0E4; --on-accent:#FFFFFF;
  --up:#D8432F; --down:#2A6BD6; --bad:#D8432F; --gold:#946500; --trophy:#FFB331; --gold-soft:#FBF0CF; --ink:#10261E; --amber:#FFD34D;
  --r:14px; --col:520px;
  --body:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',sans-serif;
  --display:'Do Hyeon','Pretendard Variable','Noto Sans KR',sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#0D1512; --surface:#16211C; --fill:#1F2C26; --line:#2D3C34; --text:#E8EEE9; --dim:#A3B0A7; --dim2:#7E8B82;
  --accent:#35C48A; --accent-press:#27A372; --soft:#17392A; --on-accent:#06261A; --up:#FF7A68; --down:#7FB0FF; --bad:#FF7A68; --gold:#F2C355; --gold-soft:#3A2F14; --ink:#08100D; --amber:#FFD34D; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0D1512; --surface:#16211C; --fill:#1F2C26; --line:#2D3C34; --text:#E8EEE9; --dim:#A3B0A7; --dim2:#7E8B82;
  --accent:#35C48A; --accent-press:#27A372; --soft:#17392A; --on-accent:#06261A; --up:#FF7A68; --down:#7FB0FF; --bad:#FF7A68; --gold:#F2C355; --gold-soft:#3A2F14; --ink:#08100D; --amber:#FFD34D; color-scheme:dark}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:var(--bg);color:var(--text);font-family:var(--body);font-size:16px;line-height:1.6;letter-spacing:-.02em}
h1,h2,h3{margin:0;font-weight:700;text-wrap:balance}
button{font:inherit;color:inherit;cursor:pointer;letter-spacing:inherit}
button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.num{font-variant-numeric:tabular-nums;font-weight:700}
.up{color:var(--up)} .down{color:var(--down)} .bad{color:var(--bad)}
[hidden]{display:none!important}

#topbar{display:flex;justify-content:space-between;align-items:stretch;gap:12px;padding:12px 12px 0;max-width:calc(var(--col) + 24px);margin:0 auto}
@media (min-width:1200px){#topbar{max-width:calc(var(--col) + 656px)}}
.adboard{flex:0 1 300px;min-width:0;display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;background:repeating-linear-gradient(135deg,#fff 0 10px,#F6F8F2 10px 20px);box-shadow:inset 0 0 0 1.5px #C9D2C0;color:var(--ink);text-decoration:none}
.adboard:hover{box-shadow:inset 0 0 0 1.5px var(--accent)}
.adtag{flex-shrink:0;font-size:11px;font-weight:800;letter-spacing:.06em;color:#fff;background:#8A968D;border-radius:5px;padding:2px 6px}
.adtx{display:flex;flex-direction:column;min-width:0}.adtx b{font-size:14px}.adtx small{font-size:12.5px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.donate{flex-shrink:0;border:0;border-radius:12px;padding:0 18px;min-height:44px;font:inherit;font-weight:800;font-size:14.5px;color:#fff;background:#3182F6;box-shadow:0 3px 0 #1B64DA;cursor:pointer}
.donate:hover{background:#4C93F7}.donate:active{transform:translateY(2px);box-shadow:0 1px 0 #1B64DA}
.acc{display:flex;flex-direction:column;align-items:center;gap:2px;padding:16px;border-radius:12px;background:#F2F6FE;margin:6px 0 12px}
.acc b{font-size:26px;color:#1B64DA;letter-spacing:.02em}.acc small{color:var(--dim)}
.lhero .lsub{font-family:var(--display);font-size:24px;color:#fff;margin-top:-6px}
.lhero .lsub::before{content:'– ';color:var(--amber)}
.lhero p.slogan{line-height:1.75;font-size:15.5px}.lhero p.slogan b{color:var(--amber);font-weight:800}
@media (max-width:560px){.adboard{flex-basis:auto}.adtx small{white-space:normal}.donate{padding:0 12px;font-size:13.5px}}
#shell{display:grid;grid-template-columns:minmax(0,var(--col));justify-content:center;gap:16px;align-items:start}
.side{display:none}
#wrap{padding:12px 12px 0;display:flex;flex-direction:column;gap:12px;min-height:100vh}
@media (min-width:1200px){
  #shell{grid-template-columns:300px var(--col) 300px}
  .side{display:flex;flex-direction:column;gap:12px;position:sticky;top:12px;padding-top:12px}
}

/* 카드 */
.card{background:var(--surface);border-radius:var(--r);padding:24px 22px;display:flex;flex-direction:column;gap:14px}
.card.alert{box-shadow:inset 0 0 0 2px var(--bad)}
.card.alert .tag{color:var(--bad)}
.card.sm{padding:18px 18px;gap:10px}
.hd{display:flex;gap:12px;align-items:center}
.hero{font-size:34px;line-height:1;flex-shrink:0}
.tag{font-size:13px;color:var(--dim);font-weight:600}
.card h2{font-size:22px;line-height:1.35;letter-spacing:-.03em}
.card h3{font-size:15px}
.hl{font-size:26px;line-height:1.35;font-weight:700;letter-spacing:-.04em}
.hl em{font-style:normal;color:var(--accent)}
.body{display:flex;flex-direction:column;gap:10px}
.body:empty{display:none}
.body p{margin:0;font-size:16px}
.body .note,.note{color:var(--dim);font-size:13.5px;margin:0;line-height:1.5}
.big{font-size:24px;font-weight:700;line-height:1.3}
.day{font-size:40px;font-weight:800;color:var(--accent);line-height:1;font-variant-numeric:tabular-nums}
.legend{font-size:13px;color:var(--dim);font-weight:600}
.foot{color:var(--dim2);font-size:12px;line-height:1.5;padding:4px 10px 12px}
.foot a,.foot button{color:var(--dim);background:none;border:0;padding:0;font-size:12px;text-decoration:underline;margin-right:10px}

/* 버튼 */
.choices{display:grid;grid-template-columns:1fr;gap:8px}
.choices.cols2{grid-template-columns:1fr 1fr}
.choice{background:var(--fill);border:0;padding:14px 16px;text-align:left;border-radius:16px;display:flex;flex-direction:column;gap:2px;transition:background .12s}
.choice:not(:disabled):hover{background:var(--line)}
.choice b{font-weight:700;font-size:16px;line-height:1.4}
.choice small{color:var(--dim);font-size:13px;line-height:1.45}
.choice.go{background:var(--accent);color:var(--on-accent);text-align:center;min-height:56px;justify-content:center;grid-column:1/-1}
.choice.go b{font-size:17px}
.choice.go:not(:disabled):hover{background:var(--accent-press)}
.choice.go small{color:var(--on-accent);opacity:.8}
.choice:disabled{opacity:.4;cursor:not-allowed}
.choice.sel{background:var(--soft);box-shadow:inset 0 0 0 2px var(--accent)}
.ci{margin-right:6px}
.ghost{background:none;border:0;padding:8px 4px;font-size:14px;color:var(--dim);font-weight:600;align-self:flex-start}
.choices.todo{gap:0}
.choices.todo .choice{background:none;border-radius:0;padding:14px 26px 14px 2px;position:relative;border-bottom:1px solid var(--line)}
.choices.todo .choice:not(.go)::after{content:'›';position:absolute;right:4px;top:50%;transform:translateY(-50%);color:var(--dim2);font-size:22px}
.choices.todo .choice.go{border-radius:16px;margin-top:14px;border:0;padding:14px}
.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--bad);margin-left:6px;vertical-align:.3em}
.btn2{display:grid;grid-template-columns:1fr 1.4fr;gap:8px}
.btn2 button{min-height:56px;border:0;border-radius:16px;font-weight:700;font-size:16px}
.btn2 .l{background:var(--soft);color:var(--accent)} .btn2 .r{background:var(--accent);color:var(--on-accent)}
.cta-bar{position:sticky;bottom:12px;z-index:3}

/* 선수 요약 */
#sb:empty{display:none}
.sb{background:var(--surface);border-radius:var(--r);padding:18px 18px;display:flex;flex-direction:column;gap:12px}
.sb-top{display:flex;gap:12px;align-items:center}
.sb-top .av{width:58px;height:66px;flex-shrink:0}
.sb-top>div:nth-child(2){flex:1;min-width:0}
.sb-name{font-size:18px;font-weight:700;line-height:1.3}
.sb-name span{display:block;font-size:13px;font-weight:500;color:var(--dim)}
.sb-sub{color:var(--dim);font-size:13px}
.ovr{flex-shrink:0;text-align:right;line-height:1.1}
.ovr .num{font-size:30px;font-weight:800;display:block;color:var(--accent)}
.ovr small{font-size:11px;color:var(--dim);font-weight:600}
.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.stats div{background:var(--fill);border-radius:12px;padding:6px 0 7px;text-align:center;line-height:1.25}
.stats small{display:block;font-size:11px;color:var(--dim)}
.stats b{font-size:16px}
.stats em{font-style:normal;font-size:11px;font-weight:700;margin-left:2px}
.sbar{display:none}
.chips{display:flex;flex-wrap:wrap;gap:5px}
.chip{font-size:12px;padding:2px 9px;border-radius:999px;color:var(--dim);white-space:nowrap;background:var(--fill)}
.chip b{color:var(--text);font-weight:600}
.chip.hot{background:var(--soft);color:var(--accent)} .chip.hot b{color:var(--accent)}
.chip.bad{background:none;box-shadow:inset 0 0 0 1px var(--bad);color:var(--bad)}

/* 하단 탭 */
#tabbar{position:sticky;bottom:0;margin:auto -12px 0;background:var(--surface);border-radius:20px 20px 0 0;display:grid;grid-template-columns:repeat(3,1fr);padding:8px 8px 10px;box-shadow:0 -1px 0 var(--line);z-index:4}
#tabbar button{background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:11px;font-weight:600;color:var(--dim2);padding:4px}
#tabbar button span{font-size:20px;line-height:1.2;filter:grayscale(1);opacity:.6}
#tabbar button[aria-pressed=true]{color:var(--text)}
#tabbar button[aria-pressed=true] span{filter:none;opacity:1}
.tab{background:var(--surface);border:0;border-radius:999px;padding:8px 6px;font-size:13.5px;color:var(--dim);font-weight:600}
.tab[aria-pressed=true]{background:var(--text);color:var(--surface)}
.ltabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}

/* 폼·온보딩 */
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:13px;color:var(--dim);font-weight:600}
input[type=text],input[type=number]{background:var(--fill);border:0;color:var(--text);padding:14px 16px;font:inherit;border-radius:14px;width:100%}
.ohead{display:flex;align-items:center;gap:12px}
.ohead button{background:none;border:0;font-size:26px;line-height:1;padding:0 4px;color:var(--text)}
.steps{display:flex;gap:5px;flex:1}
.steps i{height:5px;border-radius:999px;background:var(--line);width:5px;transition:all .25s}
.steps i.on{background:var(--accent);flex:1}
.sm{font-size:15px;color:var(--dim);font-weight:500}
.avrow{display:flex;gap:14px;align-items:center}
.avrow .av{width:84px;height:98px;background:var(--fill);border-radius:18px;padding:6px}
.region{font-size:13px;color:var(--dim);font-weight:700;margin-top:4px}
.schools{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.opt{background:var(--fill);border:0;padding:10px 4px;text-align:center;border-radius:14px;display:flex;flex-direction:column;align-items:center;gap:4px}
.opt b{font-weight:600;font-size:13.5px}
.opt.sel{background:var(--soft);box-shadow:inset 0 0 0 2px var(--accent)}
.pickbig{align-items:center;text-align:center;padding:24px 12px}
.pickbig .pe{font-size:44px;line-height:1.1}
.pickbig .pe .ico{width:48px;height:48px}
.ico{width:1.2em;height:1.2em;vertical-align:-.22em}
.tbars{display:grid;gap:3px;margin-top:8px}
.tbars div{display:grid;grid-template-columns:52px 1fr 24px;gap:8px;align-items:center;font-size:12px;color:var(--dim)}
.tbars i{height:6px;border-radius:999px;background:var(--line);position:relative;overflow:hidden}
.tbars i::after{content:'';position:absolute;inset:0 auto 0 0;width:var(--w);background:var(--accent);border-radius:999px}
.tbars b{font-size:12px;text-align:right;color:var(--text)}
.kw{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}

/* 배지 */
.bdg{display:inline-flex;align-items:center;justify-content:center;min-width:2.3em;height:1.55em;padding:0 .35em;border-radius:6px;background:var(--c);color:#fff;font-size:.72em;font-weight:700;vertical-align:.08em;margin-right:5px;letter-spacing:-.02em;white-space:nowrap}
.tlogo{height:1.7em;width:1.7em;object-fit:contain;vertical-align:-.45em;margin-right:5px}
.lg{display:inline-block;font-size:.72em;font-weight:700;padding:0 .4em;border-radius:5px;margin-right:4px;background:var(--fill);color:var(--dim);vertical-align:.08em}
.lg-kbo,.lg-mlb{background:var(--soft);color:var(--accent)}

/* 표·행 */
.tblw{overflow-x:auto;border-radius:14px;background:var(--fill)}
table{border-collapse:collapse;width:100%;font-size:13px}
th,td{padding:7px 9px;text-align:right;white-space:nowrap;border-bottom:1px solid var(--line)}
th{color:var(--dim);font-weight:600;font-size:12px}
td:first-child,th:first-child{text-align:left}
tr:last-child td{border-bottom:0}
td.num b{color:var(--accent)}
.rows{display:flex;flex-direction:column}
.rows>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0;font-size:16px}
.rows>div>span:first-child{color:var(--dim)}
.rows>div>span:last-child{font-weight:700;font-variant-numeric:tabular-nums;text-align:right}
.rows .d{margin-left:6px;font-size:14px}
.sep{height:1px;background:var(--line);margin:2px 0}
.awards{display:flex;flex-wrap:wrap;gap:5px}
.aw{background:var(--gold-soft);color:var(--gold);font-weight:700;font-size:12.5px;padding:2px 10px;border-radius:999px}
.deltas{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;text-align:center}
.deltas div{background:var(--fill);border-radius:12px;padding:7px 2px;font-size:11.5px;color:var(--dim)}
.deltas b{display:block;font-size:16px;font-variant-numeric:tabular-nums}

/* 진행 */
.prog{height:6px;background:var(--fill);border-radius:999px;overflow:hidden}
.prog i{display:block;height:100%;background:var(--accent);transition:width .4s ease;border-radius:999px}
.feed{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px;font-size:14px;min-height:150px}
.feed li{padding:8px 12px;background:var(--fill);border-radius:12px}
.feed li.hi{background:var(--soft);color:var(--accent);font-weight:700}
.feed li.lo{color:var(--dim)}
.ball{width:20px;height:20px;flex-shrink:0;color:var(--accent)}
.loadh{display:flex;align-items:center;gap:10px}
.board{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.board div{background:var(--text);color:var(--surface);border-radius:14px;padding:10px 6px;text-align:center;line-height:1.2}
.board small{display:block;font-size:11.5px;opacity:.7}
.board b{font-size:22px;font-variant-numeric:tabular-nums}
.card.late{background:#12151c;color:#ECEDF0}
.card.late .feed li{background:#22262f}.card.late .tblw{background:#22262f}.card.late th,.card.late td{border-color:#333845}
.card.late .board div{background:var(--bad);color:#fff}

/* 성장 */
.grow{display:flex;flex-direction:column;gap:5px}
.gr{display:grid;grid-template-columns:5.6em 5.4em 3.6em 1fr;gap:6px;align-items:center;padding:9px 12px;background:var(--fill);border-radius:12px;font-size:14px}
.gr.ovl{background:var(--soft);font-weight:700}
.gv{font-variant-numeric:tabular-nums}.gv b{font-size:16px}
.pill{font-size:12.5px;font-weight:700;border-radius:999px;padding:1px 0;text-align:center;background:var(--surface);color:var(--dim);font-variant-numeric:tabular-nums}
.pill.up{background:var(--up);color:#fff}.pill.down{background:var(--down);color:#fff}
.why{color:var(--dim);font-size:12px;text-align:right;line-height:1.3}

/* 순간 연출·포토카드 */
.moment{background:var(--c);color:#fff;border-radius:var(--r);padding:44px 22px 22px;display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center;position:relative;overflow:hidden}
.moment::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 0,rgba(255,255,255,.28),transparent 60%);pointer-events:none}
.moment>*{position:relative}
.moment .mi{font-size:76px;line-height:1}
.moment .av{width:120px;height:140px}
.moment .mt{font-size:28px;font-weight:800;line-height:1.3;letter-spacing:-.04em}
.moment .ms{font-size:15px;opacity:.88}
.moment .btn2{width:100%;margin-top:14px}
.moment .btn2 .l{background:rgba(255,255,255,.2);color:#fff}.moment .btn2 .r{background:#fff;color:#191F28}
.pcwrap{display:flex;justify-content:center;perspective:900px}
.pcwrap canvas{width:min(100%,330px);height:auto;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.tier{display:inline-block;font-size:12px;font-weight:800;padding:2px 10px;border-radius:999px;color:#fff}
.t0{background:linear-gradient(135deg,#d9a577,#a8703f)}.t1{background:linear-gradient(135deg,#c9ced6,#8f97a3)}.t2{background:linear-gradient(135deg,#f3c84d,#c9961f)}
.t3{background:linear-gradient(135deg,#9fb4cc,#5d7896)}.t4{background:linear-gradient(120deg,#ff6b9a,#ffb347,#7ee08a,#5aa8ff,#b47cff)}
.wall{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mc{border:0;border-radius:16px;padding:3px;display:block;text-align:center}
.mc>div{background:var(--surface);border-radius:13px;padding:8px 4px 6px;display:flex;flex-direction:column;align-items:center;gap:1px;height:100%}
.mc .av{width:54px;height:62px}
.mc b{font-size:13px;line-height:1.3}
.mc small{font-size:11px;color:var(--dim);line-height:1.3}
.mc img.sig{width:70px;height:24px;object-fit:contain;background:#fff;border-radius:4px}
.albbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;margin:6px 0 10px}.albbar .note{margin-right:auto}
.ghost.danger{color:#C0362C;border-color:#F2C2BD}.ghost[disabled]{opacity:.45;pointer-events:none}
.wall.editing .mc{position:relative;opacity:.75}.wall.editing .mc.picked{opacity:1;outline:3px solid #C0362C;outline-offset:2px}
.wall.editing .mc.picked::after{content:'✓';position:absolute;top:4px;right:6px;width:22px;height:22px;border-radius:50%;background:#C0362C;color:#fff;font-size:13px;font-weight:800;line-height:22px}
.mc.empty>div{background:var(--fill);justify-content:center;min-height:120px;color:var(--dim2);font-size:28px;font-weight:800}
.sig{width:96px;height:36px;object-fit:contain;background:#fff;border-radius:6px}
#pad{width:100%;height:auto;aspect-ratio:8/3;background:#fff;border-radius:16px;box-shadow:inset 0 0 0 2px var(--line);touch-action:none;cursor:crosshair}

/* 반응 피드 */
.news{background:var(--fill);border-radius:16px;padding:14px 16px}
.news small{color:var(--dim);font-size:12px;font-weight:600}
.news b{display:block;font-size:17px;line-height:1.4;margin-top:2px}
.cm{padding:12px 0;border-bottom:1px solid var(--line)}
.cm:last-child{border:0}
.cm .ch{font-size:12px;color:var(--dim2);display:flex;gap:6px;flex-wrap:wrap}
.cm .ch b{color:var(--dim);font-weight:600}
.cm p{margin:3px 0 2px;font-size:15px}
.cm .lk{font-size:12px;color:var(--dim2)}

/* 랜딩 */
.lhero{background:var(--surface);border-radius:var(--r);padding:28px 22px 22px;display:flex;flex-direction:column;gap:12px}
.lhero h1{font-size:30px;line-height:1.25;letter-spacing:-.04em}
.lhero h1 em{font-style:normal;color:var(--accent)}
.lhero p{color:var(--dim);margin:0;font-size:15px}
.stepper{display:flex;align-items:flex-start;justify-content:space-between;position:relative;margin:6px 0 2px}
.stepper::before{content:'';position:absolute;left:8%;right:8%;top:17px;height:2px;background:var(--line)}
.stepper div{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11.5px;color:var(--dim);font-weight:600;width:20%}
.stepper span{width:36px;height:36px;border-radius:50%;background:var(--fill);display:flex;align-items:center;justify-content:center;font-size:18px}
.stepper div:last-child span{background:var(--accent)}
.stepper div:last-child{color:var(--accent)}
.lstats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.lstats div{background:var(--fill);border-radius:14px;padding:10px 6px;text-align:center;line-height:1.25}
.lstats b{font-size:20px;display:block}
.lstats small{font-size:12px;color:var(--dim)}
.feat{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.feat div{background:var(--fill);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:1px}
.feat span{font-size:22px}.feat b{font-size:15px}.feat small{font-size:12.5px;color:var(--dim);line-height:1.4}
.tips{display:flex;flex-direction:column;gap:8px}
.tips>div{display:flex;gap:10px;background:var(--fill);border-radius:16px;padding:12px 14px}
.tips span{font-size:22px;line-height:1.2}.tips b{font-size:15px;display:block}.tips small{font-size:13px;color:var(--dim);line-height:1.5}
.mini{display:flex;gap:6px;font-size:11.5px;color:var(--dim);flex-wrap:wrap}
.sl{display:flex;flex-direction:column}
.sl>div{padding:8px 0;border-bottom:1px solid var(--line);font-size:13.5px;line-height:1.45}
.sl>div:last-child{border:0}
.sl small{color:var(--dim2);font-size:12px;display:block}

/* 바텀시트 */
#sheet{position:fixed;inset:0;background:#00000070;z-index:20;display:flex;align-items:flex-end;justify-content:center}
.sheet{background:var(--surface);border-radius:22px 22px 0 0;width:min(100%,520px);padding:24px 22px 22px;display:flex;flex-direction:column;gap:14px;max-height:88vh;overflow:auto;position:relative}
.sheet .x{position:absolute;right:14px;top:12px;background:none;border:0;font-size:24px;color:var(--dim)}
.sumc{display:flex;gap:14px;align-items:center;background:var(--fill);border-radius:18px;padding:14px}
.sumc .av{width:76px;height:88px}

.trophy{font-size:84px;line-height:1}
.awt{font-size:28px;font-weight:800;color:var(--gold);text-align:center}
.rec h3{margin:10px 0 4px}

@media (prefers-reduced-motion:no-preference){
  .card,.moment{animation:in .22s ease-out}
  @keyframes in{from{transform:translateY(6px);opacity:.6}to{transform:none;opacity:1}}
  .hero,.moment .mi{animation:pop .5s cubic-bezier(.3,1.7,.5,1) both}
  @keyframes pop{from{transform:scale(.3) rotate(-15deg);opacity:0}to{transform:none;opacity:1}}
  .moment .mt{animation:rise .5s .25s ease-out both}.moment .ms{animation:rise .5s .45s ease-out both}
  @keyframes rise{from{transform:translateY(14px);opacity:0}to{transform:none;opacity:1}}
  .gr{animation:gin .45s ease-out both;animation-delay:var(--d)}
  .gr .pill{animation:pp .5s cubic-bezier(.3,1.8,.5,1) both;animation-delay:calc(var(--d) + .15s)}
  @keyframes gin{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}
  @keyframes pp{from{transform:scale(0)}to{transform:none}}
  .feed li{animation:gin .3s ease-out both}
  .card.alert{animation:shake .4s ease-in-out}
  @keyframes shake{0%,100%{transform:none}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
  .ball{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
  .pcwrap canvas{animation:flip .8s cubic-bezier(.2,.8,.3,1) both}
  @keyframes flip{from{transform:rotateY(180deg) scale(.7);opacity:0}to{transform:none;opacity:1}}
  .sheet{animation:up .25s ease-out}@keyframes up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
  .board b.blink{animation:bl .6s 2}@keyframes bl{50%{opacity:.2}}
}

/* ===== 야구장 테마 ===== */
body{background-image:repeating-linear-gradient(90deg,transparent 0 90px,rgba(11,107,74,.04) 90px 180px)}
.card,.lhero{box-shadow:inset 0 0 0 1px var(--line)}
.card h2,.hl,.big,.day,.lhero h1,.moment .mt,.awt,.ovr .num,.board b,.lstats b,.choice.go b,.sb-name,.btn2 button{font-family:var(--display);font-weight:400;letter-spacing:0}
.sb-name span{font-family:var(--body)}
.card h2{font-size:25px;line-height:1.25}.hl{font-size:30px;line-height:1.25}.big{font-size:27px}.choice.go b{font-size:20px}.btn2 button{font-size:19px}
.tag{color:var(--accent);font-weight:700}
.card.alert .tag{color:var(--bad)}
.choice{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);border-radius:12px}
.choice:not(:disabled):hover{background:var(--fill)}
.choice.go{box-shadow:0 4px 0 var(--accent-press);border-radius:12px;margin-bottom:4px}
.choice.go:not(:disabled):active{transform:translateY(3px);box-shadow:0 1px 0 var(--accent-press)}
.choice.sel,.opt.sel{background:var(--soft);box-shadow:inset 0 0 0 2px var(--accent)}
.choices.todo .choice{box-shadow:none;background:none}
.choices.todo .choice.go{background:var(--accent);color:var(--on-accent);box-shadow:0 4px 0 var(--accent-press);border-radius:12px}
.choices.todo .choice.go:hover{background:var(--accent-press)}
.btn2 button{border-radius:12px}
.opt{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);border-radius:10px}
.bdg{border-radius:4px}
.tab{box-shadow:inset 0 0 0 1px var(--line)}
.tab[aria-pressed=true]{background:var(--accent);color:var(--on-accent);box-shadow:none}
/* 전광판 선수 패널 */
.sb{background:var(--ink);color:#fff;box-shadow:none;border-radius:var(--r)}
.sb .sb-name span,.sb .sb-sub{color:rgba(255,255,255,.68)}
.sb .ovr .num{color:var(--amber);font-size:38px}.sb .ovr small{color:rgba(255,255,255,.6)}
.sb .stats div{background:rgba(255,255,255,.08)}.sb .stats small{color:rgba(255,255,255,.62)}.sb .stats b{color:#fff}
.sb .up{color:#FF9A8A}.sb .down{color:#9CC2FF}
.sb .chip{background:rgba(255,255,255,.1);color:rgba(255,255,255,.72)}.sb .chip b{color:#fff}
.sb .chip.hot{background:var(--amber);color:#3a2c00}.sb .chip.hot b{color:#3a2c00}
.sb .chip.bad{background:none;box-shadow:inset 0 0 0 1px #FF9A8A;color:#FF9A8A}.sb .chip.bad b{color:#FF9A8A}
.sb-top .av{background:rgba(255,255,255,.1);border-radius:12px;padding:3px}
#tabbar{background:var(--ink);border-radius:14px 14px 0 0;box-shadow:none}
#tabbar button{color:rgba(255,255,255,.5)}#tabbar button[aria-pressed=true]{color:var(--amber)}
.lhero{background:var(--ink);color:#fff;box-shadow:none}
.lhero .tag{color:var(--amber)}.lhero h1{font-size:38px;line-height:1.15}.lhero h1 em{color:var(--amber)}.lhero p{color:rgba(255,255,255,.72)}
.lhero .stepper::before{background:rgba(255,255,255,.2)}.lhero .stepper div{color:rgba(255,255,255,.65)}.lhero .stepper span{background:#21392f}
.lhero .stepper div:last-child span{background:var(--amber)}.lhero .stepper div:last-child{color:var(--amber)}
.lhero .lstats div{background:rgba(255,255,255,.08)}.lhero .lstats b{color:var(--amber);font-size:26px}.lhero .lstats small{color:rgba(255,255,255,.6)}
.lhero .choice.go{background:var(--amber);color:#2a2000;box-shadow:0 4px 0 #b98e12}
.lhero .choice.go:not(:disabled):hover{background:#ffdc6b}
.lhero .choice:not(.go){background:rgba(255,255,255,.1);box-shadow:none;color:#fff}.lhero .choice:not(.go) small{color:rgba(255,255,255,.7)}
.board div{background:var(--ink);color:#fff}.board b{color:var(--amber);font-size:26px}
.day{color:var(--accent);font-size:46px}
.note.bad{color:var(--bad);font-weight:600}
.pill.up{background:var(--up)}.pill.down{background:var(--down)}
/* 등급 */
.t3{background:linear-gradient(135deg,#cfdcec,#6f8fb3)}.t4{background:linear-gradient(135deg,#c9f6ff,#38a7e0)}.t5{background:linear-gradient(120deg,#ff6b9a,#ffb347,#7ee08a,#5aa8ff,#b47cff)}.tx{background:var(--ink)}
.rank{width:170px;height:190px;clip-path:polygon(50% 0,100% 22%,100% 70%,50% 100%,0 70%,0 22%);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;margin:8px 0}
.rank b{font-family:var(--display);font-weight:400;font-size:30px;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.45);position:relative;z-index:1}
.rank::after{content:'';position:absolute;inset:-40% -60%;background:linear-gradient(110deg,transparent 42%,rgba(255,255,255,.75) 50%,transparent 58%)}
.pips{display:flex;gap:6px}.pips i{width:34px;height:8px;border-radius:999px;background:rgba(255,255,255,.18)}
.pips .t0{background:#c98e5a}.pips .t1{background:#b9bfc8}.pips .t2{background:#e3b53a}.pips .t3{background:#8fa9c9}.pips .t4{background:#5cc3ee}.pips .t5{background:linear-gradient(90deg,#ff6b9a,#ffb347,#7ee08a,#5aa8ff)}
.rkup{font-family:var(--display);font-size:22px;color:var(--amber);opacity:0}
.moment.rk .mt{font-size:40px}
@media (prefers-reduced-motion:no-preference){
  .rank{animation:rankin .9s cubic-bezier(.2,1.5,.4,1) both}
  @keyframes rankin{from{transform:scale(.2) rotate(-20deg);opacity:0}to{transform:none;opacity:1}}
  .rank::after{animation:shine 1.8s .6s ease-in-out both}
  @keyframes shine{from{transform:translateX(-60%)}to{transform:translateX(60%)}}
  .rank.fin{animation:rankin .9s cubic-bezier(.2,1.5,.4,1) both,glow 1.6s 1s ease-in-out infinite alternate}
  @keyframes glow{from{filter:drop-shadow(0 0 0 rgba(255,211,77,0))}to{filter:drop-shadow(0 0 22px rgba(255,211,77,.9))}}
  .rkup{animation:rkup 1s 2.3s ease-out both}
  @keyframes rkup{0%{opacity:0;transform:translateY(16px)}40%{opacity:1;transform:none}100%{opacity:1;transform:translateY(-6px)}}
}
@media (prefers-reduced-motion:reduce){.rkup{opacity:1}}
a.choice{text-decoration:none;color:inherit}
.card h2 em{font-style:normal;color:var(--accent)}

.lhero .srcnote{display:block;text-align:center;font-size:12px;color:#FFB4A8;margin-top:-4px}
.lhero .lscope{font-size:12.5px;font-weight:700;color:rgba(255,255,255,.7);margin-bottom:-4px}
.fbt{background:var(--fill);border:0;color:var(--text);padding:12px 14px;font:inherit;font-size:14px;line-height:1.5;border-radius:12px;width:100%;min-height:110px;resize:vertical;box-shadow:inset 0 0 0 1px var(--line)}
.fbrow{display:flex;justify-content:space-between;align-items:center;gap:8px}
.fbgo{background:var(--accent);color:var(--on-accent);border:0;border-radius:10px;padding:8px 18px;font-weight:700;font-size:14px}
.fbgo:hover{background:var(--accent-press)}.fbgo:disabled{opacity:.5;cursor:wait}
.adboard{cursor:default}
.adml{user-select:all;-webkit-user-select:all;font-weight:600;color:var(--ink)}
.adcp{flex-shrink:0;margin-left:auto;border:0;border-radius:8px;padding:5px 10px;font-size:12.5px;font-weight:700;background:var(--soft);color:var(--accent)}
.adcp:hover{background:var(--accent);color:var(--on-accent)}.adcp.ok{background:var(--accent);color:var(--on-accent)}
.adtx small{white-space:normal;overflow:visible;line-height:1.35}
.adml{display:block;white-space:nowrap}
@media (max-width:560px){.adboard{gap:7px;padding:8px 10px}.adtag{display:none}.adcp{padding:5px 8px}.adml{font-size:12px}}
.pn{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);border-radius:12px;padding:10px 14px;margin:8px 0 10px;color:var(--dim);font-size:12.5px}
.pn summary{cursor:pointer;font-weight:700;color:var(--text);font-size:13px}
.pnv{margin-top:8px}.pnv b{color:var(--accent)}
.pn ul{margin:4px 0 0;padding-left:18px;line-height:1.55}.pn li{margin:2px 0}
.stag{display:inline-block;font-size:11px;font-weight:700;line-height:1.5;padding:0 7px;border-radius:999px;background:var(--fill);color:var(--dim);margin-left:4px;vertical-align:.12em;white-space:nowrap}
.stag.deal{background:#FDE7E3;color:#C0362C}.stag.rare{background:var(--gold-soft);color:var(--gold)}
.choice small s{opacity:.6;margin-left:3px}
