/* tokens.css */
/* 모든 화면의 색·글자·간격 기준. 선수 카드 원본 이미지의 색은 보존합니다. */
:root {
  --shop-ink: #111111;
  --shop-gold: #92400E;
  --shop-gold-soft: #FFF4DF;
  --shop-gold-line: #E5C79F;
  /* 본문 1200px + 양옆 여백. 2026-11-11 사용자: 애드센스 양옆 날개(160px) 자리를 위해 가로를 줄임 */
  --layout-max: 1248px;
  --layout-gutter: 24px;
  --shop-art-width: 80px;
  --shop-art-height: 108px;
  --shop-name-size: 19px;
  --shop-value-size: 19px;
  --shop-row-height: 136px;
  color-scheme: light;
  --bg: #F6F8F5;
  --surface: #FFFFFF;
  --elevated: #EEF2EE;
  --line: #E3E8E2;
  --input-line: #D5DDD6;
  --text: #14211A;
  --muted: #4A5A50;
  --subtle: #5B6B61;
  --accent: #1E7A46;
  --accent-dark: #145C33;
  --accent-soft: #E6F4EA;
  --on-accent: #FFFFFF;
  --up: #C9302C;
  --up-soft: #FDECEB;
  --down: #1F5FD1;
  --down-soft: #E8EFFC;
  --warning: #8A5A00;
  --warning-soft: #FFF4E0;
  --error: #C9302C;
  --grade: #4A3A8C;
  --grade-soft: #EEEAF8;
  --scrim: #14211A66;
  --shadow-ink: #14211A0F;
  --card-ink: #FFFFFF;
  --card-shade: #14211A;
  --game-edge: #79888a;
  --game-fallback-dark: #09242c;
  --game-fallback-mid: #215b62;
  --game-fallback-light: #538c84;
  --game-fallback-ink-shadow: #06151c;
  --game-fallback-gloss: #ffffff2a;
  --game-fallback-shine: #91c8b926;
  --game-fallback-edge: #aaccc3;
  --game-fallback-shadow: #14211a33;
  --game-light: #eef3f0;
  --game-mid: #dce6e1;
  --game-end: #fafcfb;
  --game-inset: #ffffffa8;
  --game-plate: #ffffffeb;
  --game-silver-edge: #7f8a91;
  --game-silver: #e2e7ed;
  --game-gold-edge: #9e7d34;
  --game-gold: #faf0ce;
  --game-platinum-edge: #5274c0;
  --game-platinum: #dce5f6;
  --game-bronze-ink: #c5c8c9;
  --game-bronze: #51545a;
  --game-silver-ink: #4e545e;
  --game-silver-badge: #d8d9dc;
  --game-gold-ink: #695100;
  --game-gold-badge: #f9dd62;
  --game-platinum-ink: #2d2b43;
  --game-season-26tots: #f8e9b3;
  --game-season-ptg: #fcfcf7;
  --game-season-26up: #372519;
  --game-season-uc: #ffffff;
  --game-season-25ucl: #ffffff;
  --game-season-ws: #fffade;
  --game-season-wg: #ffefb1;
  --game-season-spt: #ffffcc;
  --game-season-fac: #c1ffff;
  --game-season-ch: #ffffff;
  --red: var(--up);
  --yellow: var(--warning);
  --font: 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  --type-title: 32px;
  --type-section: 20px;
  --type-body: 16px;
  --type-label: 14px;
  --type-small: 13px;
  --type-number: clamp(28px, 3vw, 42px);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --control-height: 46px;
  --shadow: 0 1px 2px #14211A0F;
  /* 카드 진열 디자인(2026-11-11 적용): 홈 머리 판과 그 위 글자 */
  --hero: #10261D;
  --hero-text: #FFFFFF;
  --hero-muted: #C6D8CE;
  --hero-input: #FFFFFFF5;
  --hero-input-text: #101828;
  --hero-up: #FF8C84;
  --hero-down: #8FB6FF;
  --lift-shadow: #10182829;
  --shine: #FFFFFF61;
  font-family: var(--font);
  font-size: var(--type-body);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:#0F1216; --surface:#171B21; --elevated:#202630;
  --line:#35404D; --input-line:#566373;
  --text:#E6E8EB; --muted:#BBC4CF; --subtle:#A6B2C1;
  --accent:#80D5A4; --accent-dark:#A4E8BF; --accent-soft:#223C34;
  --on-accent:#102219;
  --up:#FF9290; --up-soft:#402528; --down:#91B8FF; --down-soft:#20324D;
  --warning:#F6CB78; --warning-soft:#3C3020; --error:#FF9290;
  --grade:#C6B8FF; --grade-soft:#302B46;
  --shop-ink:#F4F5F7; --shop-gold:#FFD18B; --shop-gold-soft:#3D2D1C; --shop-gold-line:#8E6533;
  --scrim:#00000099; --shadow-ink:#00000033; --shadow:0 1px 2px var(--shadow-ink);
  --hero:#16301F; --hero-muted:#B9D3C4; --lift-shadow:#00000080;
}
@media (max-width: 760px) {
  :root { --type-body: 15px; --type-section: 19px; --space-7: 32px; }
}

/* brand.css */
.header .brand{display:flex;align-items:center;flex:none;line-height:1}
.shop-live-subtitle{display:block;color:var(--muted);font-size:13px;margin-top:6px}
.pack-roster-note{display:block;color:var(--muted);font-size:13px;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}
.trend-interactive{position:relative;min-width:0}
.trend-interactive .trend-plot{touch-action:pan-y;cursor:crosshair}
.chart-cursor{pointer-events:none}
.chart-cursor line{stroke:var(--muted);stroke-dasharray:4 4}
.chart-cursor circle{fill:var(--accent);stroke:var(--surface);stroke-width:2}
.chart-tooltip{position:absolute;z-index:3;pointer-events:none;display:grid;gap:4px;max-width:100%;padding:9px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-size:13px;box-shadow:var(--shadow)}
.chart-tooltip strong{font-size:15px}
.skip-link:not(:focus-visible){transform:translateY(-200%);pointer-events:none}
.skip-link:focus-visible{transform:none;top:10px;pointer-events:auto}
.header .brand-logo{display:block;width:133px;height:40px;object-fit:contain}
.brand-logo{stroke:none;stroke-width:0;fill:none}
.brand-wordmark{fill:var(--text)}.brand-wordmark-accent{fill:var(--accent)}
.chart-footer{display:flex;align-items:flex-start;gap:24px;padding-top:28px;padding-bottom:28px}
.chart-footer .footer-notice{display:grid;gap:6px;min-width:0;text-align:left}
.chart-footer .footer-notice p{margin:0;color:var(--muted);font-size:13px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
.chart-footer .footer-notice a{color:inherit;text-decoration:underline}
@media(max-width:760px){.header .brand-logo{width:120px;height:36px}.chart-footer{flex-direction:column;gap:12px}}

/* docs.css */
/* 안내 글 페이지(사이트 소개·개인정보처리방침·이용 안내). 색은 tokens.css 변수만, 밝게·어둡게 모두. */
*{box-sizing:border-box}
body.doc-body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.75;word-break:keep-all;overflow-wrap:anywhere}
a{color:var(--accent)}
.skip-link{position:fixed;top:10px;left:16px;z-index:10;padding:10px 16px;background:var(--accent);color:var(--on-accent)}
.skip-link:not(:focus){width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.doc-header{border-bottom:1px solid var(--line);background:var(--surface)}
.doc-header-inner{max-width:var(--layout-max);margin:auto;padding:10px var(--layout-gutter);display:flex;align-items:center;gap:28px;flex-wrap:wrap;min-height:68px}
.doc-brand{display:flex;align-items:center;min-height:44px}
.doc-top-nav{display:flex;gap:6px 22px;flex-wrap:wrap}
.doc-top-nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-weight:700;text-decoration:none}
.doc-top-nav a:hover{color:var(--accent)}
.doc-layout{max-width:var(--layout-max);margin:auto;padding:28px var(--layout-gutter) 56px;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:40px;align-items:start}
.doc-main{min-width:0}
.doc-crumb{margin:0 0 12px;font-size:13px;color:var(--muted)}
.doc-crumb a{color:inherit}
.doc-article{max-width:760px;padding:36px 40px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}
.doc-article h1{margin:0 0 10px;font-size:30px;line-height:1.3;letter-spacing:-.03em}
.doc-lead{margin:0 0 24px;color:var(--muted);font-size:16px}
.doc-meta{margin:0 0 16px;font-size:13px;color:var(--muted)}
.doc-article h2{margin:32px 0 10px;font-size:20px;line-height:1.4}
.doc-article h3{margin:20px 0 6px;font-size:16px}
.doc-article p,.doc-article li{font-size:15px}
.doc-article ul,.doc-article ol{padding-left:22px}
.doc-article li{margin:5px 0}
.doc-article code{padding:1px 6px;border-radius:6px;background:var(--elevated);font-size:14px}
.doc-note{margin:18px 0;padding:14px 18px;border-left:4px solid var(--accent);border-radius:10px;background:var(--accent-soft);font-size:14px}
.doc-note strong{display:block;margin-bottom:2px}
.doc-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:14px}
.doc-table th,.doc-table td{padding:10px 12px;border:1px solid var(--line);text-align:left;vertical-align:top}
.doc-table th{background:var(--elevated)}
.board-rules{padding:0}
.board-rules h3{font-size:17px;margin-top:24px}
.doc-side{position:sticky;top:20px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.doc-side h2{margin:0 0 8px;font-size:15px}
.doc-side ul{list-style:none;margin:0 0 12px;padding:0}
.doc-side li a{display:flex;align-items:center;min-height:40px;color:var(--text);text-decoration:none;font-size:14px;border-bottom:1px solid var(--line)}
.doc-side li a[aria-current=page]{color:var(--accent);font-weight:800}
.doc-side-cta{display:inline-flex;align-items:center;min-height:44px;font-weight:700;text-decoration:none}
.footer{max-width:var(--layout-max);margin:auto;padding:24px var(--layout-gutter) 40px;border-top:1px solid var(--line);display:grid;gap:10px}
.footer-brand{font-weight:900;color:var(--text);text-decoration:none}
.footer-notice{display:grid;gap:6px}
.footer-notice p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}
.footer-notice a{color:inherit}
.footer-links{display:flex;flex-wrap:wrap;gap:0 16px}
.footer-links a{display:inline-flex;align-items:center;min-height:40px;font-size:13px;color:var(--muted)}
@media (max-width:900px){
  .doc-layout{grid-template-columns:1fr;gap:24px;padding-top:16px}
  .doc-side{position:static}
}
@media (max-width:560px){
  .doc-article{padding:22px 18px;border-radius:16px}
  .doc-article h1{font-size:24px}
  .doc-table{display:block;overflow-x:auto}
  .doc-header-inner{gap:4px 16px;padding-inline:16px}
  .doc-layout{padding-inline:12px}
}
