/* FC 전적분석 스타일 (2026-10-16 개편)
   방향: 전적 사이트 문법. 어두운 상단바 한 줄, 회색 바탕 위 흰 카드, 숫자는 크게, 설명 글은 적게.
   글꼴 Pretendard, 강조색은 FC온라인 하늘색 계열 한 가지만 쓴다. */
:root {
  --bg: #f2f4f8;
  --surface: #fff;
  --soft: #f6f7fa;
  --line: #e3e6ee;
  --line2: #eef0f4;
  --ink: #0f1631;
  --ink2: #3a4060;
  --sub: #686e85;
  --top: #0f1631;
  --accent: #14a3e3;
  --accent-ink: #0a6f9e;
  --link: #1764c4;
  --win: #2f7cf6;
  --win-bg: #edf3ff;
  --lose: #e5484d;
  --lose-bg: #fdf0f0;
  --draw: #8b91a3;
  --draw-bg: #f2f3f6;
  --good: #138a5a;
  --bad: #c8333b;
  --r: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  /* 내용이 짧아도 footer 가 화면 중간에 떠 있지 않고 맨 아래에 붙게 */
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  font-family: Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 14px; line-height: 1.5; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ink { color: var(--ink); }
.muted { color: var(--sub); }
.small { font-size: 12.5px; }
.up { color: var(--good); } .down { color: var(--bad); } .eq { color: var(--ink); }

/* ---------- 상단바 ---------- */
.topbar { background: var(--top); color: #fff; position: sticky; top: 0; z-index: 30; }
.topbar-in { max-width: 1160px; margin: 0 auto; height: 56px; display: flex; align-items: center; gap: 28px; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 7px; font-weight: 800; flex: none; }
.logo-fc { background: var(--accent); color: var(--top); font-style: italic; font-size: 16px; padding: 1px 7px 1px 5px; transform: skewX(-8deg); letter-spacing: -0.04em; border-radius: 2px; }
.logo-txt { font-size: 16px; letter-spacing: -0.03em; }
.nav { display: flex; gap: 4px; height: 100%; }
.nav a { display: flex; align-items: center; padding: 0 12px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.66); border-bottom: 3px solid transparent; border-top: 3px solid transparent; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a.on { color: #fff; border-bottom-color: var(--accent); }
.qs { margin-left: auto; display: flex; align-items: center; background: rgba(255,255,255,.1); border-radius: 8px; height: 36px; width: 260px; padding: 0 4px 0 12px; }
.qs input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; outline: none; font-size: 14px; }
.qs input::placeholder { color: rgba(255,255,255,.5); }
.qs button { border: 0; background: none; color: rgba(255,255,255,.8); cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; }
.qs:focus-within { background: rgba(255,255,255,.18); box-shadow: 0 0 0 2px rgba(20,163,227,.6); }
body[data-page=home] .qs { visibility: hidden; }
.mode { font-size: 11.5px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 2px 9px; white-space: nowrap; cursor: help; flex: none; }

/* ---------- 본문 ---------- */
.wrap { max-width: 1160px; width: 100%; margin: 0 auto; padding: 20px 20px 56px; flex: 1 0 auto; }
.page-h { margin: 8px 0 16px; }
.page-h h1 { margin: 0; font-size: 26px; letter-spacing: -0.03em; }
.page-h p { margin: 4px 0 0; color: var(--sub); }
.note-line { margin: 10px 0 0; font-size: 13px; color: var(--sub); }

/* 카드 = 섹션 */
.sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-top: 16px; scroll-margin-top: 70px; }
.sec-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 14px 18px 0; }
.sec-h h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.sec-h .note { color: var(--sub); font-size: 12.5px; }
.sec-a { margin-left: auto; font-size: 13px; }
.sec-b { padding: 12px 18px 18px; }
.sec .sec { border: 0; margin-top: 0; border-radius: 0; }
.sec .sec .sec-h, .sec .sec .sec-b { padding-left: 0; padding-right: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.sec .card { background: var(--soft); border: 0; }
.card h3 { margin: 0 0 10px; font-size: 15.5px; }
.card h3 small { font-weight: 400; color: var(--sub); font-size: 12.5px; margin-left: 6px; }
.label { font-size: 11.5px; color: var(--accent-ink); font-weight: 800; letter-spacing: .04em; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g-side { grid-template-columns: 1.3fr 1fr; align-items: start; }
.top-align { align-items: start; }
.layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 16px; align-items: start; }
.sh { font-size: 14.5px; margin: 0 0 10px; }
.sh small { font-size: 12px; font-weight: 400; }
.empty { padding: 44px 20px; text-align: center; color: var(--sub); background: var(--surface); border: 1px dashed #cfd3df; border-radius: var(--r); margin-top: 16px; line-height: 1.8; }
.error { padding: 22px; margin-top: 16px; background: #fff5f5; border: 1px solid #f6c9cc; border-radius: var(--r); color: #a11d33; white-space: pre-line; }
.loading { padding: 70px 0; text-align: center; color: var(--sub); }
.loading::before { content: ""; display: block; width: 32px; height: 32px; margin: 0 auto 14px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.easy { margin: 0 0 12px; font-size: 13px; color: var(--sub); }
.easy b { color: var(--ink); }

/* 작은 부품 */
.tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 4px; background: var(--soft); color: var(--ink2); margin: 2px 4px 2px 0; }
.tag.blue { background: #e7f5fc; color: var(--accent-ink); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 4px; color: #fff; }
.pill.w { background: var(--win); } .pill.d { background: var(--draw); } .pill.l { background: var(--lose); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 4px; background: #fff3d1; color: #7a5200; margin-left: 6px; white-space: nowrap; vertical-align: 2px; }
.btn { border: 1px solid var(--ink2); background: var(--surface); color: var(--ink); padding: 8px 14px; font-weight: 700; cursor: pointer; display: inline-block; border-radius: 8px; font-size: 13.5px; }
.btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.ghost { border-color: var(--line); color: var(--ink2); font-weight: 600; }
.btn.ghost:hover { background: var(--soft); color: var(--ink); border-color: var(--line); }
.btn.wide { width: 100%; margin-top: 10px; }
.more { color: var(--link); font-weight: 600; }
.more:hover { text-decoration: underline; }
.term { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: help; text-decoration: underline dotted #9aa0b5; text-underline-offset: 3px; }
.term:hover { color: var(--link); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot.good { background: var(--good); } .dot.bad { background: var(--lose); } .dot.me { background: var(--win); margin-right: 6px; } .dot.opp { background: var(--lose); margin-right: 6px; }

/* 접는 줄 */
details.fold { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-top: 10px; }
details.fold > summary { list-style: none; cursor: pointer; padding: 13px 40px 13px 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; position: relative; border-radius: var(--r); }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
details.fold[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
details.fold > summary:hover { background: var(--soft); }
.fold-t { font-weight: 700; font-size: 14.5px; }
.fold-s { color: var(--sub); font-size: 13px; }
.fold-b { padding: 4px 16px 16px; }
.fold-list details.fold, .sec-b > details.fold { border: 0; border-top: 1px solid var(--line2); border-radius: 0; margin: 0; }
.fold-list details.fold:first-child { border-top: 0; }
.fold-list details.fold > summary, .sec-b > details.fold > summary { padding-left: 0; border-radius: 0; }
.fold-list .fold-b, .sec-b > details.fold > .fold-b { padding: 4px 0 16px; }
.sec-b .fold-list { margin: -6px 0 -10px; }
details.fold details.fold { margin-top: 10px; }

/* ---------- 홈 ---------- */
.home-hero { background: var(--top); color: #fff; position: relative; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: 0; opacity: .55;
  background:
    radial-gradient(circle at 50% 120%, rgba(20,163,227,.35), transparent 55%),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.07) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.home-hero::after { content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.06); border-radius: 50%; }
.hh-in { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 56px 20px 44px; text-align: center; }
.hh-in h1 { margin: 0; font-size: 38px; line-height: 1.25; letter-spacing: -0.04em; }
.hh-in > p { margin: 12px 0 0; color: rgba(255,255,255,.7); font-size: 15px; }
.big-search { margin: 28px auto 0; display: flex; height: 58px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: 620px; }
.big-search input { flex: 1; min-width: 0; border: 0; padding: 0 20px; font-size: 17px; outline: none; color: var(--ink); }
.big-search input::placeholder { color: #9aa0b5; }
.big-search button { border: 0; background: var(--accent); color: #fff; font-weight: 800; font-size: 16px; padding: 0 26px; cursor: pointer; }
.big-search button:hover { background: #0f93cf; }
.hh-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.55); align-items: center; }
.hh-chips:empty { display: none; }
.hh-chips button, .chip-me { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: rgba(255,255,255,.88); border-radius: 16px; padding: 4px 12px; cursor: pointer; }
.hh-chips button:hover, .chip-me:hover { background: rgba(255,255,255,.14); }
.chip-me { border-color: rgba(20,163,227,.7); color: #fff; font-weight: 700; }
.hh-chips.sample { margin-top: 8px; }
.quick-nav { margin-top: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; }
.qn-l { font-weight: 800; margin-right: 6px; }
.quick-nav a { padding: 5px 11px; border-radius: 6px; background: var(--soft); font-weight: 600; font-size: 13.5px; }
.quick-nav a:hover { background: #e7f5fc; color: var(--accent-ink); }
.qn-x { margin-left: auto; border: 0; background: none; color: var(--sub); font-size: 12.5px; cursor: pointer; text-decoration: underline; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.cr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 20px; margin: -4px 0 -8px; }
.cr-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 12px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.cr-row:hover .cr-row-t b { color: var(--link); }
.cr-row-t { min-width: 0; display: flex; flex-direction: column; }
.cr-row-t b { font-size: 14.5px; }
.cr-row-t q { font-size: 12.5px; color: var(--sub); quotes: "“" "”"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-row .cr-tags { flex-wrap: nowrap; }
.go { color: #b3b8c8; font-style: normal; font-size: 18px; }
.hm-forms { display: grid; gap: 8px; }
.hm-row { display: grid; grid-template-columns: 18px 82px 1fr 34px; gap: 8px; align-items: center; font-size: 13.5px; }
.hm-rank { color: var(--sub); font-weight: 700; font-size: 12px; }
.hm-v { text-align: right; color: var(--ink2); font-weight: 700; }
.hm-players { display: grid; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line2); }
.hm-p { display: flex; align-items: center; gap: 10px; }
.hm-p > div:last-child { display: flex; flex-direction: column; }
.updates { list-style: none; padding: 0; margin: -4px 0 -8px; }
.updates li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.updates li:last-child { border-bottom: 0; }
.updates li span { color: var(--sub); flex: none; width: 38px; }
.recent { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--sub); }
.recent > span { margin-right: 4px; }
.recent button { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 4px 12px; cursor: pointer; }
.recent button:hover { border-color: var(--accent); color: var(--ink); }
.recent .clear { border: 0; background: none; color: var(--sub); text-decoration: underline; padding: 4px 6px; }

/* ---------- 구단주 머리 ---------- */
.pband { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-top: 4px; }
.pb-top { display: flex; align-items: center; gap: 18px; padding: 20px 22px 16px; flex-wrap: wrap; }
.crest { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #24305e, var(--top)); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; flex: none; }
.pb-id { min-width: 0; }
.pb-id h1 { margin: 0; font-size: 24px; letter-spacing: -0.03em; line-height: 1.2; }
.pb-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--sub); }
.div-badge { background: linear-gradient(135deg, #fff3cf, #ffe39a); color: #6a4a00; font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.pin { border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 14px; cursor: pointer; color: var(--ink2); }
.pin.on { background: #fff6d6; border-color: #f0c34a; color: #6b4e00; }
.pb-rec { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.pb-rate { display: flex; flex-direction: column; align-items: flex-end; }
.pb-rate b { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.pb-rate b small { font-size: 16px; }
.pb-rate span { font-size: 12px; color: var(--sub); margin-top: 4px; }
.pb-wl { width: 230px; }
.pb-wl-t { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13.5px; }
.pb-wl-t b { font-size: 16px; } .pb-wl-t b.w { color: var(--win); } .pb-wl-t b.l { color: var(--lose); }
.pb-wl-t em { font-style: normal; font-size: 12px; color: var(--sub); white-space: nowrap; }
.wdl { display: flex; height: 6px; margin-top: 8px; overflow: hidden; border-radius: 3px; background: var(--soft); }
.wdl i { display: block; }
.wdl .w { background: var(--win); } .wdl .d { background: var(--draw); } .wdl .l { background: var(--lose); }
.pb-tabs { display: flex; gap: 2px; padding: 0 14px; border-top: 1px solid var(--line2); overflow-x: auto; scrollbar-width: none; }
.pb-tabs::-webkit-scrollbar { display: none; }
.pb-tabs a { padding: 12px 12px; font-weight: 600; color: var(--sub); border-bottom: 3px solid transparent; white-space: nowrap; }
.pb-tabs a:hover { color: var(--ink); }
.pb-tabs a.on { color: var(--ink); border-bottom-color: var(--accent); font-weight: 800; }
.modebar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 3px; max-width: 100%; overflow-x: auto; }
.seg a { padding: 5px 12px; font-size: 13px; border-radius: 6px; white-space: nowrap; color: var(--ink2); }
.seg a.on { background: var(--ink); color: #fff; font-weight: 700; }

/* 왼쪽 요약 칸 */
.hlstack { display: grid; gap: 12px; }
.hl-col h3 { margin: 0 0 2px; font-size: 12px; letter-spacing: .02em; }
.hl-col.good h3 { color: var(--good); } .hl-col.bad h3 { color: var(--bad); }
.hl-item { padding: 7px 0; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line2); }
.hl-item:last-child { border-bottom: 0; }
.hl-item b { font-size: 14px; display: flex; align-items: baseline; gap: 7px; line-height: 1.4; }
.hl-item span { font-size: 12.5px; color: var(--sub); padding-left: 14px; }
.hl-inline { display: grid; background: var(--soft); border-radius: 8px; padding: 2px 14px; margin-bottom: 14px; }
.hlgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.player { display: flex; gap: 14px; align-items: center; }
.ph { width: 84px; height: 84px; flex: none; background: linear-gradient(180deg, #eef2f8, #dfe6f0); border-radius: 10px; display: grid; place-items: end center; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.player.sm .ph { width: 72px; height: 72px; }
.player .nm { font-size: 16px; font-weight: 700; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.player .nm img.season { height: 15px; }
.ace-n { display: flex; gap: 12px; margin-top: 6px; font-size: 12.5px; color: var(--sub); }
.ace-n b { font-size: 16px; color: var(--ink); margin-right: 2px; }
.style-main { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }

/* 강화 등급 배지: 공식 데이터센터 색 (1 회색, 2~4 동, 5~7 은, 8~10 금, 11~13 백금) */
.grade { display: inline-block; min-width: 26px; text-align: center; font-size: 11.5px; font-weight: 900; line-height: 17px; padding: 0 4px; letter-spacing: 0;
  border: 1.5px solid; color: #c5c8c9; background: linear-gradient(140deg, #51545a 0%, #42464d 100%); border-color: #62676d #393a3c #393a3c #62676d; }
.grade.bronze { color: #7e3f27; background: linear-gradient(140deg, #de946b 0%, #ad5f42 100%); border-color: #e4b7a2 #864229 #864229 #e4b7a2; }
.grade.silver { color: #4e545e; background: linear-gradient(140deg, #d8d9dc 0%, #b8bdca 100%); border-color: #d8dadc #a9aaae #a5a8ae #d8dadc; }
.grade.gold { color: #695100; background: linear-gradient(140deg, #f9dd62 0%, #dca908 100%); border-color: #e9d36c #cda000 #cda000 #e9d36c; }
.grade.platinum { color: #2d2b43; border-color: #bdc5e5 #5274c0 #5274c0 #607dc4;
  background: linear-gradient(160deg, #f7e7f2 0%, #efdcea 35%, #c9def5 60%, #7fe6f7 80%, #43cdfb 92%, #f08f86 100%); }

/* 숫자 칸 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.stat { padding: 12px 14px; background: var(--soft); border-radius: 8px; display: flex; flex-direction: column; gap: 1px; }
.stat .st-l { color: var(--sub); font-size: 12px; }
.stat .st-l small { font-size: 11.5px; }
.stat b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.stat em { font-style: normal; font-size: 12px; }
.stats.mini { grid-template-columns: 1fr 1fr; }
.stats.mini .stat b { font-size: 17px; }
em.vs { font-weight: 600; } em.vs.up { color: var(--good); } em.vs.down { color: var(--bad); } em.vs.eq { color: var(--sub); }
.st-sub { color: var(--sub); }

/* 막대 */
.bars { display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 84px; gap: 10px; align-items: center; font-size: 13px; }
.bar-row .bl { line-height: 1.3; }
.bar { position: relative; height: 8px; background: var(--line2); border-radius: 4px; overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 4px; }
.bar i.hot { background: var(--lose); }
.bar i.ok { background: #1fa774; }
.bar b { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--ink); opacity: .55; }
.bar-row .v { text-align: right; white-space: nowrap; font-weight: 600; }
.bar-row .v small { color: var(--sub); font-weight: 400; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: var(--sub); margin-top: 10px; }
.legend i { display: inline-block; vertical-align: 0; margin-right: 5px; }
.lg-bar { width: 14px; height: 6px; border-radius: 3px; background: var(--accent); }
.lg-mark { width: 2px; height: 10px; background: var(--ink); opacity: .55; }
.lg-sq { width: 9px; height: 9px; border-radius: 2px; }
.mbar { position: relative; height: 8px; background: var(--line2); border-radius: 4px; overflow: hidden; }
.mbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 4px; }
.mbar span { position: absolute; left: 6px; top: -5px; font-size: 11px; font-weight: 700; }
td .mbar { height: 16px; } td .mbar span { top: 0; line-height: 16px; color: var(--ink); }

/* 표 */
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.t th { font-weight: 600; color: var(--sub); font-size: 12px; padding: 9px 8px; border-bottom: 1px solid var(--line); background: var(--soft); white-space: nowrap; }
.t td { padding: 10px 8px; border-bottom: 1px solid var(--line2); text-align: center; }
.t td.l, .t th.l { text-align: left; }
.t tr:last-child td { border-bottom: 0; }
.t tr.hl td { background: #eef8fd; }
.t tr.dim td { color: #9aa0b5; }
.t.compact td, .t.compact th { padding: 7px 4px; font-size: 12.5px; }
.t.compact th { background: none; }
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 카드형 항목 (약점, 진단, 공략) */
.items { display: grid; gap: 8px; }
.item { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 12px 14px; background: var(--surface); }
.item.red { border-left-color: var(--lose); }
.item.blue { border-left-color: var(--win); }
.item.green { border-left-color: #1fa774; }
.item h4 { margin: 0 0 4px; font-size: 14.5px; line-height: 1.4; }
.item h4 .n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink2); color: #fff; font-size: 11px; margin-right: 7px; vertical-align: 1px; }
.item ul { margin: 0; padding: 0; list-style: none; }
.item li { padding: 2px 0 2px 14px; position: relative; color: #444a63; font-size: 13.5px; }
.item li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 5px; height: 2px; background: #a5abbf; }
.item li.tip { padding: 7px 10px 7px 34px; color: var(--accent-ink); background: #edf7fc; margin-top: 6px; font-weight: 600; border-radius: 6px; }
.item li.tip::before { content: "TIP"; left: 9px; top: 9px; width: auto; height: auto; background: none; font-size: 10px; font-weight: 800; color: var(--accent); }
.rx { margin-top: 8px; padding: 9px 12px; background: #edf7fc; color: var(--accent-ink); font-weight: 600; border-radius: 6px; font-size: 13.5px; }

/* 경기 카드 */
.mlist { display: grid; gap: 6px; }
.mc { width: 100%; border: 0; text-align: left; display: grid; grid-template-columns: 70px 150px minmax(0, 1fr) 190px 14px; gap: 12px; align-items: center; padding: 10px 14px 10px 12px; border-radius: 8px; cursor: pointer; border-left: 4px solid; font-size: 13.5px; }
.mc.w { background: var(--win-bg); border-left-color: var(--win); }
.mc.l { background: var(--lose-bg); border-left-color: var(--lose); }
.mc.d { background: var(--draw-bg); border-left-color: var(--draw); }
.mc:hover { filter: brightness(.98); box-shadow: inset 0 0 0 1px rgba(15,22,49,.08); }
.mc em { font-style: normal; color: var(--sub); font-size: 12px; display: block; }
.mc-res b { font-size: 15px; }
.mc.w .mc-res b { color: var(--win); } .mc.l .mc-res b { color: var(--lose); } .mc.d .mc-res b { color: var(--draw); }
.mc-score b { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.mc-form b { font-weight: 700; }
.mc-mvp { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mc-mvp b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mc-mvp > span:last-child { min-width: 0; }
.mc-face { width: 34px; height: 34px; border-radius: 50%; background: #fff; overflow: hidden; flex: none; }
.mc-face img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mc-go { color: #a3a9bb; font-size: 18px; }
.form { display: grid; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); gap: 3px; }
.form .f { height: 26px; font-size: 11.5px; font-weight: 800; color: #fff; border-radius: 4px; border: 0; cursor: pointer; padding: 0; }
.form .f.w { background: var(--win); } .form .f.l { background: var(--lose); } .form .f.d { background: var(--draw); }
.form .f:hover { filter: brightness(1.1); }
.form-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--sub); margin-top: 4px; }
.trend-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 16px; }
.trend-h b { font-size: 13.5px; } .trend-h span { font-size: 12px; color: var(--sub); }
.trend { width: 100%; max-width: 760px; height: auto; display: block; margin-top: 4px; }
.trend .ax { font-size: 10px; fill: #6a7087; }

/* 페이지 안 탭 (심층분석) */
.ptabs { display: flex; margin-top: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button { border: 0; background: none; padding: 11px 16px; font-size: 15px; font-weight: 600; color: var(--sub); cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ptabs button:hover { color: var(--ink); }
.ptabs button.on { color: var(--ink); font-weight: 800; border-bottom-color: var(--ink); }
.ptabs button i { font-style: normal; display: inline-grid; place-items: center; min-width: 17px; height: 17px; border-radius: 9px; background: var(--lose); color: #fff; font-size: 10.5px; margin-left: 5px; vertical-align: 1px; }
.ppanel { background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); padding: 16px 18px 18px; }
.ppanel > :first-child { margin-top: 0; }
.ppanel .sec { border: 0; border-radius: 0; margin-top: 18px; border-top: 1px solid var(--line2); }
.ppanel .sec > .sec-h, .ppanel .sec > .sec-b { padding-left: 0; padding-right: 0; }
.ppanel .card { background: var(--soft); border: 0; }
.ppanel .state, .ppanel .goal-card { background: var(--soft); border: 0; }
.ppanel > .grid, .ppanel > .states, .ppanel > .stats, .ppanel > div > .stats, .ppanel > .items, .ppanel > h3 { margin-top: 14px; }
.ppanel > .grid:first-child, .ppanel > .hl-inline:first-child { margin-top: 0; }

/* 경기장 */
.pitch { position: relative; aspect-ratio: 68 / 80; max-width: 400px; margin: 0 auto; background: repeating-linear-gradient(180deg, #2f9e57 0 10%, #2b9150 10% 20%); border-radius: 8px; overflow: hidden; }
.pitch::before { content: ""; position: absolute; left: 22%; right: 22%; top: -1px; height: 16%; border: 2px solid rgba(255,255,255,.6); border-top: 0; }
.pitch::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 16%; border: 2px solid rgba(255,255,255,.6); border-bottom: 0; }
.pitch .mid { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid rgba(255,255,255,.6); }
.pitch .circle { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.6); border-radius: 50%; }
.pp { position: absolute; transform: translate(-50%, -50%); width: 76px; text-align: center; color: #fff; font-size: 10.5px; line-height: 1.25; z-index: 1; }
.pp .face { width: 40px; height: 40px; margin: 0 auto 2px; border-radius: 50%; background: rgba(255,255,255,.9); overflow: hidden; border: 2px solid #fff; }
.pp .face img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pp .pos { display: inline-block; background: var(--top); padding: 0 4px; border-radius: 2px; font-weight: 700; font-size: 9.5px; }
.pp .pn { display: block; font-weight: 600; background: rgba(10,40,20,.55); border-radius: 2px; padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp.key .face { border-color: #ffd34d; box-shadow: 0 0 0 3px rgba(255,211,77,.5); }
.pp .grade { font-size: 9.5px; line-height: 12px; min-width: 20px; padding: 0 2px; margin-left: 2px; }
.lineup-wrap { max-width: 360px; margin: 0 auto; }
.pitch-svg { width: 100%; max-width: 420px; display: block; margin: 0 auto; background: #2b9150; border-radius: 8px; }
.pitch-svg .ln { stroke: rgba(255,255,255,.75); stroke-width: 1.5; fill: none; }
.pitch-svg .lane { stroke: rgba(255,255,255,.22); stroke-width: 1; stroke-dasharray: 4 4; }
.pitch-svg .lab { fill: rgba(255,255,255,.75); font-size: 9.5px; }
.pitch-legend { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; font-size: 11.5px; color: var(--sub); margin-top: 8px; }
.pitch-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: -1px; margin-right: 4px; }

/* 장면 재생 */
.route-cards { display: grid; gap: 6px; }
.route-card { background: var(--soft); border-left: 4px solid var(--line); border-radius: 6px; padding: 9px 12px; display: flex; flex-direction: column; gap: 1px; font-size: 13px; }
.route-card b { font-size: 14.5px; }
.scene-wrap { display: flex; flex-direction: column; gap: 10px; }
.scene .tag { fill: #fff; font-size: 10.5px; font-weight: 700; paint-order: stroke; stroke: rgba(0,0,0,.6); stroke-width: 3px; background: none; }
.scene .flash { font-size: 18px; font-weight: 900; paint-order: stroke; stroke: rgba(0,0,0,.6); stroke-width: 4px; }
.scene .flash.goal { fill: #ffd34d; } .scene .flash.miss { fill: #fff; }
.scene-bar { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--sub); }
.scene-bar button, .scene-tabs button { border: 1px solid var(--line); background: var(--surface); padding: 5px 11px; cursor: pointer; font-size: 12.5px; border-radius: 6px; }
.scene-bar button:hover, .scene-tabs button:hover { border-color: var(--accent); }
.scene-cap { text-align: center; margin: 8px 0 2px; font-size: 13.5px; }
.scene-def { text-align: center; margin: 0; font-size: 12.5px; color: var(--link); }
.scene-key { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 0; font-size: 11px; color: var(--sub); }
.scene-key i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.scene-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.scene-tabs button { text-align: left; }
.scene-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--soft); padding: 7px 11px; font-size: 13px; border-radius: 6px; }
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.state { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.state h4 { margin: 0 0 6px; font-size: 14.5px; }
.state .row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; border-bottom: 1px solid var(--line2); }
.state .row:last-child { border-bottom: 0; }
.flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; padding: 0 4px; max-width: 640px; }
.flow .col { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--sub); }
.flow .col > b { color: var(--ink); margin-top: 4px; white-space: nowrap; }
.flow .half { height: 80px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.flow .half.top { justify-content: flex-end; }
.flow .half.bottom { justify-content: flex-start; }
.flow .bar-up { width: 55%; background: var(--win); border-radius: 3px 3px 0 0; }
.flow .bar-down { width: 55%; background: var(--lose); border-radius: 0 0 3px 3px; }
.flow .mid { width: 100%; border-top: 1px solid var(--ink2); }
.goal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.goal-card .nums { font-size: 18px; font-weight: 800; margin: 4px 0; }
.ptag { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 4px; margin: 1px 3px 1px 0; font-weight: 700; white-space: nowrap; }
.ptag.good { background: #e4f5ed; color: #0d6e4c; } .ptag.bad { background: #fde8ea; color: #a11d33; }
.grid-t td { font-size: 12.5px; }
.grid-t td.g-up { background: #e4f5ed; } .grid-t td.g-down { background: #fde8ea; }

/* 전술 추천 */
.verdict { margin-top: 16px; }
.verdict h2 { margin: 2px 0 12px; font-size: 22px; letter-spacing: -0.03em; }
.verdict .vblock { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line2); }
.verdict .vblock b { font-size: 14.5px; }
.verdict .vblock p { margin: 4px 0 0; color: #444a63; }
.sim { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 16px; }
.sim span { background: var(--soft); padding: 4px 10px; font-size: 13px; border-radius: 6px; }
.sim span.on { background: #e4f5ed; color: #0d6e4c; }
.sim em { font-style: normal; font-size: 12px; color: var(--sub); }

/* 상대분석 */
.vsform { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.vsform input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; font-size: 15px; outline: none; background: var(--soft); }
.vsform input:focus { border-color: var(--accent); background: #fff; }
.vs-mark { font-weight: 900; font-style: italic; color: var(--sub); }
.vsform button { height: 44px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 800; padding: 0 20px; cursor: pointer; }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-top: 16px !important; }
.versus .side h2 { margin: 2px 0; font-size: 20px; }
.versus .side.r { text-align: right; }
.versus .mid-vs { font-size: 24px; font-weight: 900; font-style: italic; color: #b3b8c8; }
.quick { margin-top: 16px; background: var(--top); color: #fff; border-radius: 12px; padding: 18px 20px; }
.quick h3 { margin: 0 0 12px; font-size: 15px; color: rgba(255,255,255,.7); }
.quick .muted { color: rgba(255,255,255,.6); }
.quick .term { color: rgba(255,255,255,.8); }
.quick .up { color: #6ee3a9; } .quick .down { color: #ff9a9f; }
.prob { margin-bottom: 8px; }
.prob-bar { display: flex; height: 36px; overflow: hidden; border-radius: 8px; font-weight: 800; font-size: 17px; color: #fff; }
.prob-bar div { display: flex; align-items: center; padding: 0 14px; min-width: 64px; }
.prob-bar .me { background: var(--win); }
.prob-bar .en { background: var(--lose); justify-content: flex-end; }
.prob-cap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.75); }
.qrow { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.qrow > span { color: rgba(255,255,255,.55); }
.edges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.edge { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; background: var(--soft); font-size: 13px; border-radius: 6px; }
.edge.up { background: var(--win-bg); } .edge.warn { background: var(--lose-bg); } .edge.safe { background: #eaf6f0; }
.cmp { width: 100%; border-collapse: collapse; font-size: 13.5px; table-layout: fixed; }
.cmp th, .cmp td { padding: 9px 6px; border-bottom: 1px solid var(--line2); text-align: center; }
.cmp th { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp td.k { color: var(--sub); font-size: 12.5px; width: 40%; }
.cmp td.me { color: #1a5fb4; font-weight: 700; } .cmp td.en { color: #b42335; font-weight: 700; }
.cmp td.win { background: #eef4ff; } .cmp td.en-win { background: #fff0f2; }

/* 감독모드 */
.banner { margin-top: 16px; display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #fff8e6; border: 1px solid #f5d98c; border-radius: var(--r); }
.banner > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.banner span { font-size: 13px; color: #5c4a14; }
.progress { height: 6px; background: #f3e6bf; border-radius: 3px; overflow: hidden; margin-top: 4px; }
.progress i { display: block; height: 100%; background: #d39b00; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; border-top: 1px solid var(--line2); }
.kpis.k3 { grid-template-columns: repeat(3, 1fr); }
.kpi { padding: 12px 4px 0; }
.kpi b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.kpi span { color: var(--sub); font-size: 12px; }

/* 랭커 메타 */
.meta-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.mp { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 13.5px; }
.mp:last-child { border-bottom: 0; }
.mp-face { width: 40px; height: 40px; flex: none; background: linear-gradient(180deg, #eef2f8, #dfe6f0); overflow: hidden; border-radius: 50%; }
.mp-face img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mp img.season { height: 13px; vertical-align: -2px; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.mp-chips span { font-size: 11px; background: var(--soft); padding: 1px 6px; color: var(--ink2); white-space: nowrap; border-radius: 4px; }

/* 유튜버 */
.creators { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.creator { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.creator:hover { border-color: var(--accent); }
.cr-top { display: flex; gap: 12px; align-items: center; }
.cr-top b { display: block; font-size: 16px; } .cr-top div span { font-size: 12.5px; color: var(--sub); }
.cr-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; flex: none; position: relative; overflow: hidden; }
.cr-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cr-av b, .cr-top .cr-av b { font-size: inherit; color: #fff; display: block; }
.cr-av.big { width: 84px; height: 84px; font-size: 34px; }
.creator q { font-weight: 700; quotes: "“" "”"; font-size: 13.5px; }
.cr-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.creator .cr-tags { justify-content: flex-start; }
.cr-tags span { font-size: 11.5px; background: #e7f5fc; color: var(--accent-ink); padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.muted-tag { background: var(--soft) !important; color: var(--sub) !important; }
.cr-head { margin-top: 4px; display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.cr-info { flex: 1; min-width: 0; }
.cr-info h2 { margin: 2px 0 6px; font-size: 26px; letter-spacing: -0.03em; }
.cr-info > p { margin: 0; color: #444a63; }
.cr-phrase { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cr-phrase span { font-size: 12px; color: var(--sub); width: 100%; }
.cr-phrase q { font-size: 18px; font-weight: 800; background: #fff6d6; padding: 5px 12px; quotes: "“" "”"; border-radius: 6px; }
.cr-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.cr-actions span { display: contents; }
.btn.yt { background: #e62117; border-color: #e62117; color: #fff; }
.btn.yt:hover { background: #c4130b; border-color: #c4130b; }
.cr-forms { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-forms span { background: var(--soft); padding: 4px 10px; font-size: 13px; border-radius: 6px; }
.cr-style { display: grid; }
.cr-s { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line2); }
.cr-s:last-child { border-bottom: 0; }
.cr-k { color: var(--sub); font-size: 13px; }
.cr-s b { font-size: 14.5px; } .cr-s p { margin: 3px 0 0; color: #444a63; font-size: 13.5px; }

/* 모달 */
body.noscroll { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 1000; background: rgba(10,14,32,.55); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal-box { background: var(--surface); width: 100%; max-width: 900px; padding: 0 24px 26px; position: relative; border-radius: 14px; }
.modal-box.narrow { max-width: 520px; }
.modal-top { position: sticky; top: 0; display: flex; justify-content: flex-end; background: var(--surface); padding: 10px 0 4px; z-index: 2; margin: 0 -10px; border-radius: 14px 14px 0 0; }
.modal-x { border: 0; background: var(--soft); width: 34px; height: 34px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--ink2); }
.modal-x:hover { background: var(--line); }
.mm-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.mm-head h3 { margin: 2px 0; font-size: 19px; } .mm-head .r { text-align: right; }
.mm-score { display: flex; flex-direction: column; align-items: center; gap: 4px; } .mm-score b { font-size: 34px; font-weight: 900; }
.mm-score .badge { margin: 0; }
.vs-stats { margin-top: 14px; display: grid; gap: 6px; }
.vsrow { display: grid; grid-template-columns: 52px 1fr 104px 1fr 52px; align-items: center; gap: 8px; font-size: 13px; }
.vsrow b:first-child { text-align: right; color: #1a5fb4; } .vsrow b:last-child { color: #b42335; }
.vsrow span { text-align: center; color: var(--ink2); }
.vsbar { height: 7px; background: var(--line2); border-radius: 4px; overflow: hidden; display: flex; justify-content: flex-end; }
.vsbar i { background: var(--win); display: block; } .vsbar.r { justify-content: flex-start; } .vsbar.r i { background: var(--lose); }
.timeline { display: grid; gap: 5px; } .tl { display: flex; gap: 10px; font-size: 13.5px; padding: 6px 10px; background: var(--soft); align-items: baseline; border-radius: 6px; }
.tl.me { border-left: 3px solid var(--win); } .tl.opp { border-left: 3px solid var(--lose); } .tl .min { font-weight: 800; width: 34px; flex: none; }
table.mini td { padding: 6px; font-size: 12.5px; }
.mvp { font-size: 10px; font-weight: 800; background: #ffd34d; color: #5a4300; padding: 0 4px; border-radius: 2px; }
.share-img { width: 100%; height: auto; display: block; border-radius: 8px; }
.share-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

/* 아래 */
.foot { background: var(--top); color: rgba(255,255,255,.6); font-size: 12.5px; flex-shrink: 0; margin-top: auto; }
.foot-mail a { color: rgba(255,255,255,.85); text-decoration: underline; }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 22px 20px 26px; }
.foot-row { display: flex; align-items: center; gap: 14px; }
.foot-row b { color: #fff; }
.foot-link { border: 0; background: none; color: rgba(255,255,255,.8); text-decoration: underline; cursor: pointer; font-size: 12.5px; padding: 0; }
.foot p { margin: 6px 0 0; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1000px) {
  .layout, .home-grid { grid-template-columns: 1fr; }
  .col-side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .col-side .sec:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .g2, .g3, .g-side, .edges, .hlgrid, .states { grid-template-columns: 1fr; }
  .g2.keep { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cr-list { grid-template-columns: 1fr; }
  .tscroll:not(.fit) table { min-width: 600px; }
  .mc { grid-template-columns: 52px minmax(0, 1fr) auto 12px; grid-template-areas: "res score mvp go" "res form mvp go"; row-gap: 2px; }
  .mc-res { grid-area: res; } .mc-score { grid-area: score; } .mc-form { grid-area: form; } .mc-mvp { grid-area: mvp; } .mc-go { grid-area: go; }
  .mc-form b, .mc-form em { display: inline; } .mc-form em { margin-left: 4px; }
  .mc-mvp > span:last-child { display: none; }
  .cr-head { flex-direction: column; padding: 18px 16px; gap: 12px; }
  .cr-s { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 720px) {
  .topbar-in { height: auto; flex-wrap: wrap; gap: 0 12px; padding: 0 14px; }
  .logo { height: 48px; }
  .qs { order: 2; width: auto; flex: 1; margin-left: 8px; height: 34px; }
  body[data-page=home] .qs { display: none; }
  .mode { order: 3; }
  .nav { order: 4; width: calc(100% + 28px); margin: 0 -14px; padding: 0 6px; height: 42px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(255,255,255,.08); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 0 10px; font-size: 14px; }
  .wrap { padding: 12px 12px 40px; }
  .page-h h1 { font-size: 22px; }
  .hh-in { padding: 36px 16px 30px; }
  .hh-in h1 { font-size: 28px; }
  .big-search { height: 52px; }
  .big-search input { font-size: 16px; padding: 0 16px; }
  .big-search button { padding: 0 18px; }
  .col-side { grid-template-columns: 1fr; }
  /* 휴대폰: 한눈에 보기, 흐름, 경기 기록을 먼저 보고 나머지 요약은 아래로 */
  .layout { display: flex; flex-direction: column; gap: 0; }
  .col-side, .col-main { display: contents; }
  .col-side > .sec { order: 3; } .col-side > .sec:first-child { order: 1; } .col-main > .sec { order: 2; }
  .mode { display: none; }
  .hh-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .hh-chips::-webkit-scrollbar { display: none; }
  .hh-chips > * { flex: none; }
  .pb-top { padding: 16px 16px 12px; gap: 12px; }
  .crest { width: 46px; height: 46px; font-size: 20px; border-radius: 12px; }
  .pb-id h1 { font-size: 20px; }
  .pb-rec { margin-left: 0; width: 100%; gap: 14px; }
  .pb-rate { align-items: flex-start; }
  .pb-rate b { font-size: 26px; }
  .pb-wl { flex: 1; width: auto; }
  .pb-share { display: none; }
  .pb-tabs { padding: 0 6px; }
  .pb-tabs a { padding: 11px 10px; font-size: 14px; }
  .sec-h { padding: 12px 14px 0; } .sec-b { padding: 10px 14px 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .bar-row { grid-template-columns: 84px 1fr 74px; font-size: 12.5px; }
  .versus { padding: 14px 12px; gap: 6px; font-size: 12.5px; }
  .versus .side h2 { font-size: 16px; }
  .versus .mid-vs { font-size: 18px; }
  .vsform { flex-wrap: wrap; }
  .vsform input { flex: 1 1 calc(50% - 24px); }
  .vs-mark { font-size: 12px; }
  .vsform button { flex: 1 1 100%; }
  .qrow { grid-template-columns: 78px 1fr; font-size: 13.5px; }
  .vsrow { grid-template-columns: 36px 1fr 66px 1fr 36px; font-size: 12px; }
  .mm-head h3 { font-size: 14px; } .mm-score b { font-size: 26px; }
  .modal { padding: 0; }
  .modal-box { padding: 0 14px 20px; min-height: 100%; border-radius: 0; }
  .banner { flex-direction: column; align-items: stretch; }
  .scene-tabs button { flex: 1 1 100%; }
  .pp { width: 60px; font-size: 9.5px; }
  .pp .face { width: 32px; height: 32px; }
  .trend .ax { font-size: 11px; }
  .cr-phrase q { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: 0s !important; }
}

/* 공격 쏠림 진단 */
.divers { margin-top: 14px; border-radius: 8px; background: var(--soft); padding: 12px 14px; }
.divers.warn { background: #fff7e6; }
.dv-h { font-weight: 800; font-size: 14px; }
.divers.warn .dv-h { color: #8a5a00; }
.dv-flags { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.dv-note { margin: 6px 0 0; font-size: 12.5px; color: #6b5a33; }
.alts { display: grid; gap: 8px; margin-top: 10px; }
.alt { background: var(--surface); border-radius: 6px; padding: 10px 12px; border-left: 3px solid var(--accent); }
.alt-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.alt-h span { font-size: 12px; color: var(--sub); white-space: nowrap; }
.alt-why { margin: 4px 0 0; font-size: 12.5px; color: var(--ink2); }
.alt-tip { margin: 4px 0 0; font-size: 12.5px; color: var(--accent-ink); font-weight: 600; }
.hint-box { max-width: 640px; margin: 24px auto 0; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px 24px 24px; }
.hint-box h1 { margin: 0; font-size: 24px; }
.hint-box > p { margin: 6px 0 0; color: var(--sub); }
.big-search.light { box-shadow: none; border: 2px solid var(--ink); margin-top: 20px; height: 54px; }
.hint-box .recent { justify-content: center; }
.cmp-box { margin-top: 14px; background: var(--soft); border-radius: 8px; padding: 12px 14px; font-size: 13px; }
.cmp-box p { margin: 0 0 8px; }
.cmp-form { display: flex; gap: 6px; margin-top: 6px; }
.cmp-form input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: #fff; outline: none; }
.cmp-form input:focus { border-color: var(--accent); }
.cmp-form button { height: 38px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; padding: 0 14px; cursor: pointer; }
.cmp-t tr.gap td { background: #fff7e0; }

/* 승리 확률 단계, 맞대결 */
.psteps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 12px; }
.pstep { background: rgba(255,255,255,.07); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 1px; }
.pstep span { font-size: 11.5px; color: rgba(255,255,255,.6); }
.pstep b { font-size: 17px; }
.pstep em { font-style: normal; font-size: 11.5px; color: rgba(255,255,255,.6); }
.pstep.last { background: rgba(20,163,227,.22); }
.versus .div-badge { display: inline-block; margin: 2px 0 6px; }
.h2h-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.h2h-g { padding: 5px 9px; border-radius: 6px; font-size: 13px; border-left: 3px solid; }
.h2h-g.w { background: var(--win-bg); border-color: var(--win); } .h2h-g.l { background: var(--lose-bg); border-color: var(--lose); } .h2h-g.d { background: var(--draw-bg); border-color: var(--draw); }
.h2h-g em { font-style: normal; color: var(--sub); font-size: 11.5px; margin-left: 4px; }
@media (max-width: 720px) { .psteps { grid-auto-flow: row; } }

.tier-line { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin: 2px 0 6px; font-size: 12px; color: var(--sub); }
.versus .side.r .tier-line { justify-content: flex-end; }
@media (max-width: 720px) { .tier-line { font-size: 11px; } }

/* ---------- 2026-10-20 추가 화면 (장단점, 선수, 방대방). 전적 사이트 문법: 흰 판 + 줄, 색은 숫자에만 ---------- */
.plink { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.plink:hover { color: var(--link); text-decoration: underline; }
.pp.click { cursor: pointer; }
.pp.click:hover .face { border-color: var(--accent); }
.fix { margin: 4px 0 0; font-size: 13px; color: var(--accent-ink); }
.fix::before { content: "→ "; }

/* 구단주 탭: 프로필 판 아래쪽 글자 탭 (선택 = 굵은 밑줄) */
.pb-tabs { display: flex; gap: 6px; padding: 0 16px; border-top: 1px solid var(--line2); overflow-x: auto; scrollbar-width: none; }
.pb-tabs a { padding: 14px 12px 12px; font-size: 16px; font-weight: 700; color: #8a90a6; border-bottom: 3px solid transparent; white-space: nowrap; }
.pb-tabs a:hover { color: var(--ink); }
.pb-tabs a.on { color: var(--ink); border-bottom-color: var(--accent); font-weight: 800; }
.modebar { justify-content: flex-start; gap: 8px; }
.msel { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sub); }
.msel select { -webkit-appearance: none; appearance: none; border: 1px solid var(--line); border-radius: 8px; padding: 7px 34px 7px 12px; min-height: 36px; font-weight: 700; color: var(--ink); cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23686e85' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 12px; }
.msel select:hover { border-color: #c9cede; }

/* 밑줄 탭 (상대분석 1대1/방대방, 팀 승률 방식) */
.utabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin: 0 0 14px; }
.utabs a, .utabs button { border: 0; background: none; padding: 10px 18px; font-size: 16px; font-weight: 700; color: var(--sub); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.utabs a.on, .utabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.utabs.sm { margin: -4px 0 12px; align-items: center; gap: 4px; }
.utabs.sm button { font-size: 14px; padding: 8px 12px; }

/* 장단점 */
.pt { display: grid; grid-template-columns: 1fr 1fr; }
.pt-col { padding: 0 18px; }
.pt-col:first-child { padding-left: 0; border-right: 1px solid var(--line2); }
.pt-col:last-child { padding-right: 0; }
.pt-col h3 { margin: 4px 0 4px; font-size: 15px; }
.pt-col.good h3 { color: var(--good); } .pt-col.bad h3 { color: var(--bad); }
.pt-col ul { list-style: none; margin: 0; padding: 0; }
.pt-col li { padding: 11px 0; border-top: 1px solid var(--line2); }
.pt-t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pt-t b { font-size: 15.5px; letter-spacing: -0.02em; }
.pt-t span { font-size: 12px; color: var(--sub); white-space: nowrap; }
.pt-col li p { margin: 3px 0 0; font-size: 13px; color: var(--ink2); }
.pt-col li.soft .pt-t b { font-weight: 600; color: var(--ink2); }
.fx-list { display: grid; }
.fx, .dx-c { padding: 11px 0; border-top: 1px solid var(--line2); }
.fx:first-child { border-top: 0; }
.fx-t { display: flex; align-items: baseline; gap: 8px; }
.fx-t b { font-size: 14.5px; }
.fx-n { color: var(--sub); font-weight: 700; font-size: 13px; min-width: 14px; }
.fx-a { margin-left: auto; font-size: 12px; color: var(--sub); }
.fx-ev { margin: 3px 0 0 22px; font-size: 13px; }
.fx-ev.sub { color: var(--ink2); }
.fx-where { margin: 2px 0 0 22px; font-size: 12.5px; color: var(--sub); }
.fx .fix, .dx-c .fix { margin-left: 22px; }
.fx-go { display: inline-block; margin: 4px 0 0 22px; font-size: 12.5px; color: var(--link); }
.gl { list-style: none; margin: 0; padding: 0; }
.gl li { padding: 9px 0; border-top: 1px solid var(--line2); display: flex; flex-direction: column; }
.gl li:first-child { border-top: 0; }
.gl li span { font-size: 13px; color: var(--ink2); }
.dx-a { padding: 12px 0; border-top: 1px solid var(--line); }
.dx-a:first-child { border-top: 0; padding-top: 0; }
.dx-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dx-h b { font-size: 15px; }
.dx-st { font-size: 13px; font-weight: 700; }
.dx-why { margin: 6px 0 0; }
.dx-good { margin: 8px 0 0; font-size: 13px; color: var(--good); }
.pbar { position: relative; display: inline-block; width: 90px; height: 4px; border-radius: 2px; background: var(--line); vertical-align: middle; overflow: hidden; flex: none; }
.pbar::after { content: ""; position: absolute; left: 50%; top: -1px; bottom: -1px; width: 1px; background: rgba(15,22,49,.35); }
.pbar i { position: absolute; left: 0; top: 0; bottom: 0; background: #9aa3b8; }
.pbar i.g { background: var(--good); } .pbar i.b { background: var(--bad); }

/* 표 공통 (가벼운 줄 표) */
.t.lt th { font-weight: 600; }
.t tr.click { cursor: pointer; }
.t tr.click:hover td, .t td.click:hover { background: #f4f9fd; }
.t td.click { cursor: pointer; }
.rg-p { display: flex; align-items: center; gap: 10px; }
.rg-p > span:last-child { display: flex; flex-direction: column; }
.rg-f { width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden; background: #e8edf4; display: inline-block; }
.rg-f img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rg b { font-size: 14.5px; }

/* 선수 상세 창 */
.pm-head { display: flex; gap: 14px; align-items: center; }
.pm-head .nm { font-size: 18px; font-weight: 800; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.pm-head .nm img.season { height: 16px; }
.pm-quick { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 13px; }
.pm-verdict { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pm-score { text-align: center; flex: none; min-width: 56px; }
.pm-score b { display: block; font-size: 34px; font-weight: 900; line-height: 1; }
.pm-score span { font-size: 11.5px; color: var(--sub); }
.pm-verdict h3 { margin: 0 0 3px; font-size: 17px; }
.pm-verdict p { margin: 0; font-size: 13.5px; color: var(--ink2); }
.pm-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
.pm-sw h4 { margin: 0 0 4px; font-size: 14px; }
.pm-sw ul { margin: 0; padding: 0; list-style: none; }
.pm-sw li { padding: 6px 0; border-top: 1px solid var(--line2); font-size: 13.5px; }
.pm-list { display: grid; border-top: 1px solid var(--line); }
.pm-row { display: grid; grid-template-columns: 1fr 110px 150px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line2); }
.pm-l b { font-size: 14px; display: block; }
.pm-l span { font-size: 11.5px; color: var(--sub); }
.pm-v b { font-size: 15px; display: block; }
.pm-v span { font-size: 11.5px; color: var(--sub); }
.pm-row.lv-great .pm-v b, .pm-row.lv-good .pm-v b { color: var(--good); }
.pm-row.lv-bad .pm-v b { color: var(--bad); }
.pm-p { display: flex; flex-direction: column; gap: 3px; }
.pm-p .pbar { width: 100%; }
.pm-p em { font-style: normal; font-size: 11.5px; color: var(--sub); }
.rec-list { display: grid; }
.rec { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line2); }
.rec > div { display: flex; flex-direction: column; gap: 2px; }
.pm-log { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-g { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 5px 8px; display: flex; flex-direction: column; font-size: 11.5px; cursor: pointer; text-align: left; }
.pm-g b { font-size: 13px; }
.pm-g.w b { color: var(--win); } .pm-g.l b { color: var(--lose); }
.pm-more { margin-top: 18px; border-top: 1px solid var(--line2); }
.modal .stats.mini { grid-template-columns: repeat(3, 1fr); }

/* 방대방 */
.teamform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
.tf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tf-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tf-h b { font-size: 15px; flex: none; }
.tf-team.a .tf-h b { color: var(--win); } .tf-team.b .tf-h b { color: var(--lose); }
.tf-name { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--line); padding: 4px 2px; font-size: 13px; outline: none; background: none; }
.tf-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.tf-row span { width: 16px; color: var(--sub); font-size: 13px; font-weight: 700; text-align: right; }
.tf-row input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; font-size: 14.5px; outline: none; background: var(--soft); }
.tf-row input:focus, .tf-name:focus { border-color: var(--accent); background: #fff; }
.tf-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.tf-note { margin: 0; font-size: 12.5px; color: var(--sub); flex: 1; }
.tf-note.err { color: var(--bad); font-weight: 700; }
.tf-foot button { height: 42px; border: 0; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 800; padding: 0 28px; cursor: pointer; }
.team-help { margin-top: 14px; font-size: 13.5px; color: var(--ink2); }
.team-help ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.7; }
.tm-score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tm-score span { font-weight: 700; color: var(--ink2); }
.tm-score b { font-size: 34px; font-weight: 900; letter-spacing: -0.03em; }
.tm-score .a { color: var(--win); } .tm-score .b { color: var(--lose); }
.tm-score span.a, .tm-score span.b { font-size: 15px; }
.tm-score .tm-c { color: var(--sub); font-size: 24px; }
.tm-bar { height: 6px; border-radius: 3px; background: var(--lose); overflow: hidden; margin-top: 6px; }
.tm-bar i { display: block; height: 100%; background: var(--win); }
.tm-desc { margin: 8px 0 0; font-size: 13px; color: var(--ink2); }
.tm-roster th.a { color: var(--win); } .tm-roster th.b { color: var(--lose); }
.t-ace, .t-weak { font-style: normal; font-size: 11.5px; font-weight: 700; }
.t-ace { color: #b07800; } .t-weak { color: var(--bad); }
.a-c b { color: var(--win); } .b-c b, th.b-c { color: var(--lose); }
td.r { text-align: right; }
.p-hi, .p-up { color: var(--good); } .p-lo, .p-dn { color: var(--bad); }
.tm-matrix td, .tm-matrix th { text-align: center; }
.tm-matrix td.l { text-align: left; }
@media (max-width: 720px) {
  .pb-tabs { padding: 0 8px; gap: 0; }
  .pb-tabs a { padding: 12px 10px 10px; font-size: 15px; }
  .pt { grid-template-columns: 1fr; }
  .pt-col { padding: 0; }
  .pt-col:first-child { border-right: 0; margin-bottom: 14px; }
  .pm-row { grid-template-columns: 1fr 90px; }
  .pm-p { grid-column: 1 / -1; }
  .pm-sw { grid-template-columns: 1fr; gap: 12px; }
  .tf-cols { grid-template-columns: 1fr; gap: 16px; }
  .hide-m { display: none; }
  .show-m { display: block !important; margin-top: 3px; }
  .modal .stats.mini { grid-template-columns: 1fr 1fr; }
}
.pm-info { margin: 10px 0 0; font-size: 13px; line-height: 1.7; }
.pm-on { margin: 12px 0 0; font-size: 13px; color: var(--ink2); }
.pm-on b { margin-right: 6px; color: var(--ink); }

/* 한 달치 이어 받기 안내, 공식 친선 대신 보기 안내, 빈 화면 링크 */
.full-note { margin: 16px 0 0; padding: 9px 14px; border-radius: 10px; background: var(--surface); border: 1px dashed #cfd3df; color: var(--sub); font-size: 13px; }
.fb-note { margin: 16px 0 0; padding: 11px 14px; border-radius: 10px; background: #fff7e6; border: 1px solid #f3dca8; color: #7a5300; font-size: 14px; line-height: 1.6; }
.empty-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.pb-best { font-size: 12.5px; color: var(--sub); }

/* 휴대폰에서만 보이는 줄 (표 칸을 줄이고 이름 아래로) */
.show-m { display: none; }
.rg-sw i { font-style: normal; margin-right: 8px; }

/* ========== 2026-10-20 마감 손질: 카드 깊이, 간격, 경기 줄, 로딩 뼈대 ========== */
:root { --r: 12px; --shadow: 0 1px 2px rgba(15, 22, 49, .05), 0 2px 8px rgba(15, 22, 49, .03); --line: #e5e8ef; }
.sec, .pband, .card:not(.sec .card), .creator, .empty { box-shadow: var(--shadow); }
.sec { margin-top: 18px; }
.sec-h { padding: 18px 22px 0; gap: 4px 12px; }
.sec-h h2 { font-size: 17px; font-weight: 800; letter-spacing: -0.025em; }
.sec-b { padding: 14px 22px 22px; }
.page-h { margin: 12px 0 18px; }
.page-h h1 { font-size: 28px; font-weight: 800; }
.page-h p { margin-top: 6px; font-size: 14.5px; }
.t th { background: #f7f8fb; color: #5d6380; font-weight: 700; }
.t td { border-bottom-color: var(--line2); }
.btn { transition: background .12s, color .12s, border-color .12s; }
.creator { transition: border-color .12s, transform .12s; }
.creator:hover { border-color: #c9d2e6; transform: translateY(-1px); }

/* 경기 줄: 흰 바탕 + 왼쪽 결과 색 띠, 아래에 그 경기 잘한 점, 아쉬운 점 */
.mlist { gap: 8px; }
.mc { background: var(--surface) !important; border: 1px solid var(--line); border-left: 4px solid; border-radius: 10px; padding: 12px 16px 12px 14px; row-gap: 10px; transition: border-color .12s, box-shadow .12s; }
.mc:hover { filter: none; box-shadow: 0 2px 10px rgba(15, 22, 49, .07); border-color: #cfd6e6; }
.mc.w { border-left-color: var(--win); } .mc.l { border-left-color: var(--lose); } .mc.d { border-left-color: var(--draw); }
.mc-res b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff !important; font-size: 13.5px; }
.mc.w .mc-res b { background: var(--win); } .mc.l .mc-res b { background: var(--lose); } .mc.d .mc-res b { background: var(--draw); }
.mc-res em { margin-top: 4px; }
.mc-notes { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; padding-top: 10px; border-top: 1px dashed var(--line); }
.mn { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 12.5px; line-height: 1.45; }
.mn i { font-style: normal; font-weight: 800; font-size: 11.5px; letter-spacing: .02em; }
.mn.good i { color: var(--good); } .mn.bad i { color: var(--bad); }
.mn span { color: var(--ink2); padding-left: 10px; position: relative; }
.mn span::before { content: ""; position: absolute; left: 0; top: .6em; width: 4px; height: 4px; border-radius: 50%; }
.mn.good span::before { background: var(--good); } .mn.bad span::before { background: var(--bad); }
.mm-notes { margin-top: 16px; padding: 14px 16px; background: var(--soft); border-radius: 10px; }
.mm-notes .mc-notes { border-top: 0; padding-top: 0; }

/* 로딩 뼈대 */
.skel { margin-top: 4px; }
.sk-band, .sk-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 22px; }
.sk-band { display: flex; align-items: center; gap: 16px; }
.sk-card { margin-top: 18px; display: grid; gap: 12px; }
.sk-col { flex: 1; display: grid; gap: 10px; }
.sk-av { width: 56px; height: 56px; border-radius: 14px; }
.sk-l { height: 12px; border-radius: 6px; display: block; }
.sk-av, .sk-l { background: linear-gradient(90deg, #eef0f5 25%, #f6f7fa 50%, #eef0f5 75%); background-size: 200% 100%; animation: sk 1.2s ease-in-out infinite; }
.sk-l.w20 { width: 20%; } .sk-l.w25 { width: 25%; } .sk-l.w30 { width: 30%; } .sk-l.w60 { width: 60%; } .sk-l.w70 { width: 70%; } .sk-l.w75 { width: 75%; } .sk-l.w85 { width: 85%; } .sk-l.w90 { width: 90%; }
.sk-t { text-align: center; color: var(--sub); font-size: 13px; margin: 18px 0 0; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sk-av, .sk-l { animation: none; } .creator:hover { transform: none; } }

@media (max-width: 720px) {
  .sec-h { padding: 16px 16px 0; }
  .sec-b { padding: 12px 16px 18px; }
  .page-h h1 { font-size: 24px; }
  .mc { padding: 11px 12px 11px 11px; grid-template-areas: "res score mvp go" "res form mvp go" "notes notes notes notes"; }
  .mc-notes { grid-area: notes; grid-template-columns: 1fr; }
  .mc-res b { width: 26px; height: 26px; }
}
.pb-wl-t > span { white-space: nowrap; }
.how3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.how3 > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; }
.how3 b { font-size: 15px; }
.how3 p { margin: 6px 0 0; color: var(--sub); font-size: 13.5px; line-height: 1.6; }
@media (max-width: 720px) { .how3 { grid-template-columns: 1fr; } }
.mb-note { font-size: 12.5px; color: var(--sub); align-self: center; }

/* 장단점: 분석 개요, 영역별 점수, 비교한 항목 전체 */
.dx-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 2px 0 16px; }
.dx-kpi > div { background: var(--soft); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.dx-kpi span { font-size: 12px; color: var(--sub); font-weight: 600; }
.dx-kpi b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.dx-kpi b small { font-size: 13px; font-weight: 700; margin-left: 2px; }
.dx-kpi em { font-style: normal; font-size: 11.5px; color: var(--sub); }
.pt-rk { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.pt-rk em { font-style: normal; font-size: 12px; color: var(--sub); }
.ars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ar { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.ar-h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.ar-h b { font-size: 15.5px; }
.ar-st { font-size: 12px; font-weight: 700; white-space: nowrap; }
.ar-sc { display: flex; align-items: baseline; gap: 3px; }
.ar-sc b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ar-sc > span { font-size: 14px; font-weight: 700; }
.ar-sc em { font-style: normal; font-size: 12px; color: var(--sub); margin-left: 8px; }
.ar-bar { position: relative; height: 6px; border-radius: 3px; background: var(--line2); }
.ar-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #9aa3b8; }
.ar-bar i.g { background: var(--good); } .ar-bar i.b { background: var(--bad); }
.ar-bar span { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--ink); opacity: .35; border-radius: 1px; }
.ar-head { margin: 2px 0 0; font-size: 12.5px; }
.ar-list { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; }
.ar-list li { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.ar-list li span { color: var(--ink2); }
.ar-list li em { font-style: normal; font-weight: 700; white-space: nowrap; }
.ar-list li.up em { color: var(--good); } .ar-list li.down em { color: var(--bad); }
.ar-n { margin: auto 0 0; }
.wl-list { margin: 0; padding-left: 18px; line-height: 1.8; color: var(--ink2); }
table.mt td { vertical-align: middle; }
table.mt td.l span { display: block; margin-top: 2px; }
table.mt .mt-rk { white-space: nowrap; }
table.mt .mt-rk em { font-style: normal; font-size: 12px; color: var(--sub); margin-left: 8px; }
table.mt tr.grp td { background: #f7f8fb; font-weight: 800; text-align: left; font-size: 13px; padding-top: 10px; }
.vd { font-size: 12px; font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) { .ars { grid-template-columns: 1fr 1fr; } .dx-kpi { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ars { grid-template-columns: 1fr; } table.mt .mt-rk .pbar { width: 54px; } table.mt .mt-rk em { display: block; margin: 2px 0 0; } }
.tier { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; margin-left: 6px; white-space: nowrap; vertical-align: 1px; }
.tier.above { background: #e3f5ec; color: var(--good); }
.tier.level { background: #eef2f8; color: #3d5a80; }
/* 장점 세 단계 */
.pt-grp + .pt-grp { margin-top: 6px; }
.pt-grp h4 { margin: 10px 0 0; font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pt-grp h4::before { content: ""; width: 8px; height: 8px; border-radius: 2px; }
.pt-grp.above h4 { color: var(--good); } .pt-grp.above h4::before { background: var(--good); }
.pt-grp.level h4 { color: #2f5d8a; } .pt-grp.level h4::before { background: #5b8fc7; }
.pt-grp.mine h4 { color: #6b6f85; } .pt-grp.mine h4::before { background: #a7adbf; }
.pt-grp h4 span { font-weight: 600; color: var(--sub); font-size: 12px; }
.pt-grp ul li:first-child { border-top: 0; }
.gl-h { margin: 14px 0 4px; font-size: 14px; }
.gl-h:first-child { margin-top: 4px; }
.gl-h span { font-weight: 500; font-size: 12px; color: var(--sub); margin-left: 6px; }
.gl-h.above { color: var(--good); } .gl-h.level { color: #2f5d8a; } .gl-h.mine { color: #6b6f85; }

/* 승리 공식, 찬스 모양, 드리블, 패스 */
.wf-top { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.wf-col { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--surface); box-shadow: var(--shadow); }
.wf-col h4 { margin: 0 0 6px; font-size: 15px; }
.wf-col.up h4 { color: var(--good); } .wf-col.down h4 { color: var(--bad); }
.wf-col ul { list-style: none; margin: 0; padding: 0; }
.wf-col li { padding: 10px 0; border-top: 1px solid var(--line2); display: grid; gap: 2px; }
.wf-col li:first-child { border-top: 0; }
.wf-col li b { font-size: 14.5px; }
.wf-eff { font-size: 12.5px; font-weight: 800; } .wf-eff.up { color: var(--good); } .wf-eff.down { color: var(--bad); }
.wf-col li em { font-style: normal; font-size: 12px; color: var(--sub); }
.wf-cell { white-space: nowrap; }
.wf-bar { position: relative; display: inline-block; width: 120px; height: 8px; background: var(--line2); border-radius: 4px; vertical-align: middle; margin-right: 8px; }
.wf-bar::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(15,22,49,.35); }
.wf-bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.wf-bar i.up { background: var(--good); } .wf-bar i.down { background: var(--bad); }
.wf-cell em { font-style: normal; font-size: 12.5px; font-weight: 700; }
.wf-t tr.weak td { color: var(--sub); }
.sh-hl { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.sh-hl li { padding: 9px 12px; border-radius: 8px; background: var(--soft); font-size: 13.5px; }
.sh-hl li.up { background: #edf8f2; } .sh-hl li.down { background: #fdf1f1; }
.dr-style { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.dr-style > div { background: #eef4fb; border-radius: 10px; padding: 10px 14px; display: grid; gap: 2px; }
.dr-style b { font-size: 14.5px; color: #234a73; } .dr-style span { font-size: 12.5px; color: var(--sub); }
@media (max-width: 720px) { .wf-top { grid-template-columns: 1fr; } .wf-bar { width: 70px; } }
.wf-hint { font-size: 13px; color: var(--ink2); }
.si-list { display: grid; gap: 8px; }
.si { display: grid; grid-template-columns: 180px 64px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; }
.si b { font-size: 14px; }
.si-v { font-size: 18px; font-weight: 800; }
.si-v.up, .si em.up { color: var(--good); } .si-v.down, .si em.down { color: var(--bad); }
.si em { font-style: normal; font-weight: 800; font-size: 13px; }
@media (max-width: 720px) { .si { grid-template-columns: 1fr auto; } .si .muted { grid-column: 1 / -1; } .si em { display: none; } }

/* 나의 승리 공식 (단계) */
.pb-head { margin: 16px 0 12px; }
.pb-head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.pb-head p { margin: 4px 0 0; color: var(--sub); font-size: 13.5px; }
.pb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pb-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.pb-n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
.pb-phase { font-size: 11.5px; font-weight: 800; color: var(--accent-ink); letter-spacing: .02em; }
.pb-title { display: block; font-size: 17px; font-weight: 800; margin: 2px 0 10px; letter-spacing: -0.02em; }
.pb-cmp { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 12px; }
.pb-a, .pb-b { background: var(--soft); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.pb-a { background: #edf8f2; }
.pb-a em, .pb-b em { font-style: normal; font-size: 12px; color: var(--sub); }
.pb-a strong { font-size: 22px; color: var(--good); } .pb-b strong { font-size: 22px; color: var(--ink2); }
.pb-a span, .pb-b span { font-size: 11.5px; color: var(--sub); }
.pb-vs { font-size: 12px; color: var(--sub); font-weight: 700; }
.pb-d { font-size: 12.5px; color: var(--sub); white-space: nowrap; } .pb-d b { color: var(--good); font-size: 15px; }
.pb-note { margin: 8px 0 0; font-size: 12.5px; color: var(--sub); }
@media (max-width: 720px) { .pb-cmp { grid-template-columns: 1fr 1fr; } .pb-vs { display: none; } .pb-d { grid-column: 1 / -1; } .pb-steps li { grid-template-columns: 26px 1fr; gap: 10px; padding: 14px; } .pb-n { width: 26px; height: 26px; font-size: 13px; } }

/* 승리 공식: 선택지 비교 */
.wc-head { margin: 16px 0 12px; }
.wc-head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.wc-head p { margin: 4px 0 0; color: var(--sub); font-size: 13.5px; }
.wc-formula { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.wc-f { background: linear-gradient(180deg, #f0faf4, #fff); border: 1px solid #cdebd9; border-radius: 12px; padding: 14px 16px; display: grid; gap: 3px; box-shadow: var(--shadow); }
.wc-f span { font-size: 12px; font-weight: 700; color: var(--sub); }
.wc-f b { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.wc-f em { font-style: normal; font-size: 15px; font-weight: 800; color: var(--good); }
.wc-f small { font-size: 11.5px; color: var(--sub); }
.wc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wc-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); }
.wc-ch { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.wc-ch b { font-size: 15px; } .wc-ch span { font-size: 12px; color: var(--sub); }
.wc-rows { display: grid; gap: 7px; }
.wc-row { display: grid; grid-template-columns: 128px 1fr 40px 54px; align-items: center; gap: 8px; font-size: 13px; }
.wc-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-l i { font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--good); border-radius: 4px; padding: 1px 5px; margin-left: 5px; vertical-align: 1px; }
.wc-bar { position: relative; height: 10px; background: var(--line2); border-radius: 5px; }
.wc-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: #9aa6bd; }
.wc-bar b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); opacity: .45; border-radius: 1px; }
.wc-row.best .wc-bar i { background: var(--good); }
.wc-row.best .wc-l, .wc-row.best .wc-v { font-weight: 800; color: var(--good); }
.wc-v { font-weight: 700; text-align: right; }
.wc-n { font-size: 11.5px; color: var(--sub); white-space: nowrap; }
.wc-row.thin { opacity: .55; }
.wc-foot { margin: 8px 0 0; font-size: 11.5px; color: var(--sub); }
@media (max-width: 900px) { .wc-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .wc-row { grid-template-columns: 104px 1fr 36px; } .wc-n { display: none; } }
@media (max-width: 520px) { .wc-formula { grid-template-columns: 1fr 1fr; gap: 8px; } .wc-f { padding: 11px 12px; } .wc-f b { font-size: 15px; } .wc-f em { font-size: 13.5px; } }
.wc-f.weak { background: var(--soft); border-color: var(--line); box-shadow: none; }
.wc-f.weak b { color: var(--ink2); } .wc-f.weak em { color: var(--sub); }

/* 승리 공식 추가: 조합, 펼치기, 선수, 상성 */
.wc-f .wc-c { color: var(--ink2); font-weight: 600; }
.wc-combos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wc-h { margin: 0 0 8px; font-size: 14px; } .wc-h.up { color: var(--good); } .wc-h.down { color: var(--bad); }
.wc-combo { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); }
.wc-combo.good { border-color: #cdebd9; background: #f3fbf6; } .wc-combo.bad { border-color: #f3d0d2; background: #fdf5f5; }
.wc-parts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wc-parts span { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-weight: 700; font-size: 13.5px; }
.wc-parts span em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--sub); }
.wc-parts i { font-style: normal; color: var(--sub); font-weight: 700; }
.wc-cv { text-align: right; display: grid; gap: 2px; flex: none; }
.wc-cv b { font-size: 22px; font-weight: 800; } .wc-combo.good .wc-cv b { color: var(--good); } .wc-combo.bad .wc-cv b { color: var(--bad); }
.wc-cv span { font-size: 11.5px; color: var(--sub); }
button.wc-row { border: 0; background: none; padding: 3px 4px; margin: 0 -4px; border-radius: 6px; cursor: pointer; text-align: left; font: inherit; color: inherit; width: calc(100% + 8px); }
button.wc-row:hover { background: var(--soft); }
button.wc-row.open { background: var(--soft); }
.wc-more { padding: 6px 4px 10px; }
.wc-more p { margin: 0 0 6px; font-size: 12.5px; color: var(--ink2); }
.wc-ms { display: flex; flex-wrap: wrap; gap: 5px; }
.wc-m { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 3px 7px; font-size: 12px; cursor: pointer; display: inline-flex; gap: 4px; align-items: baseline; }
.wc-m b { font-size: 11.5px; } .wc-m.w b { color: var(--win); } .wc-m.l b { color: var(--lose); } .wc-m.d b { color: var(--draw); }
.wc-m em { font-style: normal; font-size: 10.5px; color: var(--sub); }
.wc-m:hover { border-color: #c9d2e6; }
table.wc-mx td.wc-x { text-align: center; }
table.wc-mx td.wc-x b { display: block; font-size: 14px; } table.wc-mx td.wc-x span { font-size: 11px; color: var(--sub); }
table.wc-mx td.wc-x.good { background: #edf8f2; } table.wc-mx td.wc-x.good b { color: var(--good); }
table.wc-mx td.wc-x.bad { background: #fdf1f1; } table.wc-mx td.wc-x.bad b { color: var(--bad); }
table.wc-mx td.wc-x.thin { opacity: .5; }
@media (max-width: 900px) { .wc-combos { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .wc-combo { flex-direction: column; align-items: flex-start; } .wc-cv { text-align: left; } }

/* 코치 한마디, 신뢰 배지 */
.coach { border: 1px solid #cfe0f3; background: linear-gradient(180deg, #f3f8fe, #fff); border-radius: 14px; padding: 16px 18px; margin: 4px 0 16px; box-shadow: var(--shadow); }
.coach-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.coach-h b { font-size: 16px; font-weight: 800; } .coach-h span { font-size: 12px; color: var(--sub); }
.coach ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.coach li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.5; }
.coach li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.coach li.good::before { content: "▲"; color: var(--good); font-size: 12px; top: 2px; }
.coach li.bad::before { content: "▼"; color: var(--bad); font-size: 12px; top: 2px; }
.coach li.tip::before { content: "•"; color: var(--accent-ink); font-size: 18px; top: -3px; }
.coach-c { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #cfe0f3; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.coach-c > span { font-size: 12px; font-weight: 800; color: var(--accent-ink); margin-right: 4px; }
.ck { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.ck input { display: none; }
.ck i { width: 15px; height: 15px; border: 1.6px solid #9aa6bd; border-radius: 4px; display: inline-block; }
.ck input:checked + i { background: var(--good); border-color: var(--good); box-shadow: inset 0 0 0 2px #fff; }
.lv { font-style: normal; font-size: 10.5px; font-weight: 800; border-radius: 4px; padding: 1px 6px; vertical-align: 1px; white-space: nowrap; }
.lv.sure { background: #e3f5ec; color: var(--good); } .lv.mid { background: #e8f0fb; color: #2f5d8a; } .lv.weak { background: var(--line2); color: var(--sub); }
.wc-f .wc-r { color: var(--sub); }
.wc-rk { font-style: normal; display: block; font-size: 10.5px; color: #2f5d8a; }

/* 승리 공식: 읽기 쉬운 배치 */
.wh { margin: 18px 0 14px; }
.wh h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.wh p { margin: 4px 0 0; color: var(--sub); font-size: 14px; } .wh p b { color: var(--ink); }
.wh-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 14px; background: var(--top); color: #fff; }
.wh-hero span { display: block; font-size: 12.5px; color: rgba(255,255,255,.65); font-weight: 700; margin-bottom: 6px; }
.wh-hero b { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.wh-num { text-align: right; flex: none; }
.wh-num strong { display: block; font-size: 38px; font-weight: 800; color: #6ee7a8; line-height: 1; }
.wh-num em { font-style: normal; font-size: 12.5px; color: rgba(255,255,255,.7); }
.wl { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; margin-top: 14px; }
.wl-col { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--surface); }
.wl-col h4 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.wl-col.do h4 { color: var(--good); } .wl-col.av h4 { color: var(--bad); }
.wl-col ol, .wl-col ul { list-style: none; margin: 0; padding: 0; }
.wl-col li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line2); }
.wl-col li:first-child { border-top: 0; }
.wl-n { width: 24px; height: 24px; border-radius: 50%; background: var(--good); color: #fff; font-size: 12.5px; font-weight: 800; display: grid; place-items: center; }
.wl-n.x { background: var(--bad); font-size: 11px; }
.wl-t b { font-size: 15.5px; font-weight: 700; display: block; line-height: 1.4; }
.wl-t em { font-style: normal; font-size: 12px; color: #b26b00; }
.wl-v { text-align: right; }
.wl-v strong { display: block; font-size: 19px; font-weight: 800; }
.wl-col.do .wl-v strong { color: var(--good); } .wl-col.av .wl-v strong { color: var(--bad); }
.wl-v em { font-style: normal; font-size: 11.5px; color: var(--sub); white-space: nowrap; }
.wh-sec { margin: 28px 0 10px; font-size: 16px; font-weight: 800; }
.wh-sec small { font-size: 12px; font-weight: 500; color: var(--sub); margin-left: 6px; }
.wh-more { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.wc-cl { list-style: none; margin: 0; padding: 0; }
.wc-cl li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line2); font-size: 14px; }
.wc-cl li:first-child { border-top: 0; }
.wc-cl li b { font-size: 16px; } .wc-cl li.up b { color: var(--good); } .wc-cl li.down b { color: var(--bad); }
.wc-cl li em { font-style: normal; font-size: 12px; color: var(--sub); }
@media (max-width: 900px) { .wl { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .wh-hero { flex-direction: column; align-items: flex-start; } .wh-num { text-align: left; } .wh-hero b { font-size: 18px; } }
.wl-t em { color: var(--sub); }
.wc-row { grid-template-columns: 176px 1fr 44px 60px; }
@media (max-width: 520px) { .wc-row { grid-template-columns: 128px 1fr 40px; } }

/* 승리 공식: 근거 기록, 상세 표 */
.wh-hero small { display: block; margin-top: 8px; font-size: 12.5px; color: rgba(255,255,255,.75); }
.wl-t small { display: block; font-size: 12px; color: var(--sub); margin-top: 2px; }
table.wt { font-size: 13.5px; }
table.wt th { white-space: nowrap; }
table.wt tr.wt-r { cursor: pointer; }
table.wt tr.wt-r:hover td { background: var(--soft); }
table.wt tr.wt-r.best td { background: #f1faf5; }
table.wt tr.wt-r.best td b { color: var(--good); }
table.wt tr.thin td { opacity: .5; }
.wt-b { font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--good); border-radius: 4px; padding: 1px 5px; margin-left: 6px; vertical-align: 1px; }
.wt-wdl { white-space: nowrap; font-weight: 700; } .wt-wdl .w { color: var(--win); } .wt-wdl .d { color: var(--draw); } .wt-wdl .l { color: var(--lose); }
.wt-rate { min-width: 160px; white-space: nowrap; }
.wt-bar { position: relative; display: inline-block; width: 110px; height: 8px; background: var(--line2); border-radius: 4px; vertical-align: middle; margin-right: 8px; }
.wt-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: #9aa6bd; }
.wt-bar b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); opacity: .45; }
tr.best .wt-bar i { background: var(--good); }
.wt-rate strong { font-size: 14px; }
tr.wt-more td { background: var(--soft); text-align: left; }
@media (max-width: 520px) { .wt-bar { width: 60px; } .wt-rate { min-width: 110px; } }
@media (max-width: 520px) { table.wt td, table.wt th { padding-left: 6px; padding-right: 6px; } tr.wt-more td { max-width: 0; } }
table.wt td { white-space: nowrap; }
table.wt td.l { white-space: normal; }
table.wt td.l b { white-space: nowrap; }
tr.wt-more td { white-space: normal; }
table.wt td.wt-rate { white-space: nowrap; }
.wt-b { display: inline-block; white-space: nowrap; }
@media (max-width: 520px) { .wt-bar { width: 40px; margin-right: 5px; } .wt-rate { min-width: 0; } table.wt { font-size: 13px; } }
.wh-hero small.wh-warn { color: #ffd479; margin-top: 4px; }
.wt-flat { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--sub); }

/* 코치 게임 플랜 */
.gp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.gp-c { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.gp-c h4 { margin: 0 0 8px; font-size: 15px; font-weight: 800; display: flex; align-items: baseline; gap: 8px; }
.gp-c h4 span { font-size: 12px; font-weight: 600; color: var(--sub); }
.gp-c ul { list-style: none; margin: 0; padding: 0; }
.gp-c li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line2); }
.gp-c li:first-child { border-top: 0; }
.gp-c li > i { font-style: normal; font-size: 12px; width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; margin-top: 2px; color: #fff; }
.gp-g > i { background: var(--good); } .gp-b > i { background: var(--lose); } .gp-t > i { background: #5b6b8c; }
.gp-c li b { display: block; font-size: 14.5px; line-height: 1.4; }
.gp-c li small { display: block; font-size: 12.5px; color: var(--sub); margin-top: 3px; line-height: 1.45; }
.gp-sub { margin: 16px 0 8px; font-size: 14px; }
.gp-pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gp-pairs li { display: grid; grid-template-columns: 1fr 20px 1fr 52px; align-items: center; gap: 6px; background: var(--soft); border-radius: 8px; padding: 8px 12px; font-size: 13.5px; }
.gp-pairs em { font-style: normal; color: var(--sub); font-size: 12px; } .gp-pairs i { font-style: normal; color: var(--sub); text-align: center; } .gp-pairs b { text-align: right; }
.gp-min { display: grid; gap: 8px; }
.gp-mr { display: grid; grid-template-columns: 76px 1fr 56px; align-items: center; gap: 10px; font-size: 13.5px; }
.gp-mr b { text-align: right; }
.gp-bars { display: grid; gap: 3px; } .gp-bars i { display: block; height: 8px; border-radius: 4px; }
.gp-bars .f, .gp-k.f { background: var(--win); } .gp-bars .a, .gp-k.a { background: var(--lose); }
.gp-k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin: 0 3px 0 6px; }
b.up { color: var(--good); } b.down { color: var(--lose); }
@media (max-width: 720px) { .gp { grid-template-columns: 1fr; } }
