:root {
  --bg: #f5f7fb; --card: #ffffff; --text: #142138; --muted: #65738a; --border: #e2e9f2; --border-strong: #cbd5e3;
  --primary: #4169e1; --primary-dark: #3053ba; --primary-soft: #ebf0ff; --accent: #22c6b7;
  --ok: #15803d; --err: #c62828; --warn: #b45309;
  --navy: #101b30; --navy-2: #182a48;
  --code-bg: #111e33; --code-text: #e2e8f0; --radius: 18px; --radius-sm: 10px;
  --shadow: 0 2px 4px rgba(16, 30, 58, .02), 0 16px 36px -24px rgba(16, 30, 58, .28);
  --shadow-lg: 0 20px 50px -20px rgba(16, 24, 40, .35);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", Roboto, sans-serif;
  background: var(--bg) radial-gradient(1200px 400px at 50% -120px, #dfe7ff 0%, rgba(223, 231, 255, 0) 70%) no-repeat;
  color: var(--text); line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace; font-size: 0.9em; background: #eef1f6; padding: 1px 6px; border-radius: 5px; }
pre.code { position: relative; background: var(--code-bg); color: var(--code-text); padding: 16px 18px; border-radius: var(--radius-sm); overflow: auto; font-size: 13px; line-height: 1.55; margin: 8px 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
pre.code code { background: none; color: inherit; padding: 0; font-size: inherit; }
pre.code .copy { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.08); color: #cbd5e1; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 3px 10px; font-size: 12px; cursor: pointer; }
pre.code .copy:hover { background: rgba(255,255,255,.16); color: #fff; }
h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 18px; }
h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 12px; }
h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
p { margin: 0 0 10px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.r { text-align: right; }
.neg { color: var(--err); }
.pos { color: var(--ok); }

/* top bar */
.topbar { background: linear-gradient(90deg, var(--navy), var(--navy-2)); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); position: sticky; top: 0; z-index: 20; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #5b8cff, #22d3ee); display: inline-block; position: relative; box-shadow: 0 6px 16px -6px rgba(91,140,255,.8); }
.brand-mark::after { content: ""; position: absolute; left: 8px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #fff; opacity: .95; }
.topnav { display: flex; align-items: center; gap: 20px; }
.topnav a { color: #c7d0e0; font-weight: 500; }
.topnav a:hover { color: #fff; text-decoration: none; }
.topnav .admin-link { color: #fbbf24; }
.topnav .btn { color: #fff; }
.pill { background: rgba(255,255,255,.1); color: #e2e8f0; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 600; }
.inline { display: inline; }
button.link { background: none; border: 0; color: #c7d0e0; cursor: pointer; font: inherit; font-weight: 500; padding: 0; }
main button.link { color: var(--primary); }
button.link:hover { text-decoration: underline; color: #fff; }
main button.link:hover { color: var(--primary-dark); }
.footer { color: var(--muted); font-size: 13px; padding: 40px 0 30px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(180deg, #3b78ff, var(--primary-dark)); color: #fff; border: 1px solid var(--primary-dark); border-radius: 10px; padding: 9px 18px; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 6px 14px -8px rgba(47,107,255,.8); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(47,107,255,.9); text-decoration: none; }
.btn-sm { padding: 5px 12px; font-size: 13px; font-weight: 600; border-radius: 8px; box-shadow: none; }
.btn-lg { padding: 13px 24px; font-size: 16px; border-radius: 12px; }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--border-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--primary-soft); box-shadow: none; }
.btn-danger { background: #fff; color: var(--err); border-color: #f3c1c1; box-shadow: none; }
.btn-danger:hover { background: #fff1f1; box-shadow: none; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* layout blocks */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 18px; box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.narrow { max-width: 520px; margin: 40px auto; }
.narrow h1 { text-align: center; }
.stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; }
.stat { flex: 1 1 150px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat-n { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(90deg, #1e3a8a, #2f6bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-l { color: var(--muted); font-size: 13px; margin-top: 2px; }
.stat-warn { border-color: #fbbf24; background: #fffbeb; }
.stat-warn .stat-n { background: linear-gradient(90deg, #b45309, #f59e0b); -webkit-background-clip: text; background-clip: text; }
.bullets { padding-left: 20px; margin: 0; }
.bullets li { margin: 5px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; background: #eef1f6; border: 1px solid transparent; border-radius: 999px; padding: 5px 13px; font-size: 13px; color: var(--text); }
.chip.active { background: var(--primary); color: #fff; }
.chip:hover { text-decoration: none; border-color: var(--border-strong); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

/* home */
.hero { position: relative; width: 100vw; margin: 0 0 26px calc(50% - 50vw); padding: 64px 20px 92px; color: #fff; text-align: center; background: linear-gradient(135deg, #0b1220 0%, #16224a 55%, #1f3a8a 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 0%, rgba(34,211,238,.25), transparent 60%), radial-gradient(700px 320px at 90% 100%, rgba(99,102,241,.35), transparent 60%); pointer-events: none; }
.hero > * { position: relative; }
.hero-tag { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600; color: #dbe4ff; margin-bottom: 18px; }
.hero h1 { font-size: 42px; line-height: 1.15; margin: 0 0 14px; color: #fff; }
.lead { font-size: 17px; color: #c9d4ee; max-width: 740px; margin: 0 auto 26px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.16); }
.stats.overlap { margin-top: -58px; position: relative; z-index: 1; }
.feature { display: flex; flex-direction: column; }
.feature .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 12px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature .step { font-size: 12px; font-weight: 700; color: var(--primary); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.feature p { color: #475467; margin: 0; }
.home-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.home-split pre.code { margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed var(--border); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: #166534; font-size: 12px; font-weight: 800; display: grid; place-items: center; }

/* flash */
.flash { border-radius: var(--radius-sm); padding: 11px 14px 11px 16px; margin: 14px 0; font-size: 14px; border: 1px solid; border-left-width: 4px; }
.flash-ok { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; border-left-color: #10b981; }
.flash-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; border-left-color: #ef4444; }

/* forms */
.form label { display: block; margin: 0 0 14px; font-size: 13.5px; font-weight: 600; color: #344054; }
.form input:not([type=checkbox]), .form select, .inline-form input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 9px; font: inherit; font-weight: 400; background: #fff; transition: border-color .12s, box-shadow .12s; }
.form input:focus, .form select:focus, .inline-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47,107,255,.15); }
.form .check { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.form .check input { margin-top: 4px; }
.form h3 { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.form h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0 0 10px; }
.inline-form input { width: auto; margin: 0; padding: 7px 10px; }
.inline-form input.sm { width: 190px; }
.cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cost-grid label { display: flex; flex-direction: column; font-size: 13px; }
.cost-grid input { padding: 7px 9px; border: 1px solid var(--border-strong); border-radius: 7px; font: inherit; }
.keybox { display: flex; align-items: center; gap: 10px; background: linear-gradient(180deg, #f8fafc, #f1f5f9); border: 1px dashed var(--border-strong); border-radius: 10px; padding: 12px 14px; margin: 12px 0; flex-wrap: wrap; }
.keybox code { font-size: 15px; background: none; word-break: break-all; }
code.key { font-size: 14px; }

/* tables */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table th, .table td { padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 12.5px; white-space: nowrap; background: #f8fafc; letter-spacing: .02em; }
.table tr:first-child th:first-child { border-top-left-radius: 8px; }
.table tr:first-child th:last-child { border-top-right-radius: 8px; }
.table.compact th, .table.compact td { padding: 6px 8px; }
.table tbody tr:hover td, .table tr:hover td { background: #fbfcfe; }
.table tr:last-child td { border-bottom: 0; }
.row-stale td { background: #fff7ed !important; }
.row-err td { background: #fef2f2 !important; }
.tag { display: inline-block; background: #eef1f6; border-radius: 6px; padding: 2px 9px; font-size: 12px; font-weight: 700; color: #344054; white-space: nowrap; }
.tag-credited, .tag-paid { background: #dcfce7; color: #166534; }
.tag-pending, .tag-claimed { background: #fef3c7; color: #92400e; }
.tag-review, .tag-unmatched { background: #fee2e2; color: #991b1b; }
.tag-rejected, .tag-expired, .tag-cancelled { background: #e5e7eb; color: #4b5563; }

/* sidebar layouts */
.split { display: grid; grid-template-columns: 240px 1fr; gap: 26px; margin-top: 22px; }
.side { position: sticky; top: 76px; align-self: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.side-user { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; padding: 6px 6px 14px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.side-user .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #5b8cff, #22d3ee); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 16px; grid-row: span 2; }
.side-user .who { min-width: 0; }
.side-credits { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.side nav a { display: block; padding: 9px 12px; border-radius: 9px; color: #344054; font-weight: 500; position: relative; }
.side nav a:hover { background: #f1f4f9; text-decoration: none; }
.side nav a.active { background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; }
.side nav a.active::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--primary); }
.side nav form { padding: 10px 12px; }
.side-admin { border-top: 3px solid #f59e0b; }
.side-admin nav a.active { background: #fff7e6; color: #92400e; }
.side-admin nav a.active::before { background: #f59e0b; }
.main { min-width: 0; }

/* docs */
.docs { display: grid; grid-template-columns: 260px 1fr; gap: 28px; margin-top: 22px; }
.toc { position: sticky; top: 76px; align-self: start; max-height: calc(100vh - 92px); overflow: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 10px; font-size: 14px; box-shadow: var(--shadow); }
.toc-title { font-weight: 800; padding: 4px 10px 10px; letter-spacing: -0.01em; }
.toc-sub { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 14px 10px 6px; }
.toc a { display: block; padding: 6px 10px; border-radius: 7px; color: #344054; }
.toc a:hover { background: #f1f4f9; text-decoration: none; }
.toc .m { font-size: 10px; font-weight: 800; color: var(--accent); margin-right: 3px; }
.docs-body { min-width: 0; }
.doc-section { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px; scroll-margin-top: 80px; box-shadow: var(--shadow); }
.ep-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.method { background: #dcfce7; color: #166534; font-weight: 800; font-size: 12px; padding: 3px 9px; border-radius: 6px; letter-spacing: 0.06em; }
.path { font-size: 15px; background: #f1f5f9; padding: 5px 11px; border-radius: 7px; }
.cost { margin-left: auto; background: #fef3c7; color: #92400e; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.cost.free { background: #e0f2fe; color: #075985; }
.params { margin: 8px 0 12px; }
.ep-url { margin: 12px 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tabs .tab-bar { display: flex; gap: 4px; flex-wrap: wrap; margin: 10px 0 0; }
.tabs .tab-bar button { background: #eef1f6; border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0; padding: 7px 13px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); }
.tabs .tab-bar button:hover { color: var(--text); }
.tabs .tab-bar button.active { background: var(--code-bg); color: #fff; }
.tabs pre.code { margin-top: 0; border-top-left-radius: 0; display: none; }
.tabs pre.code.active { display: block; }
.resp summary { cursor: pointer; color: var(--primary); font-size: 14px; font-weight: 600; margin-top: 12px; }

@media (max-width: 900px) {
  .split, .docs, .home-split { grid-template-columns: 1fr; }
  .side, .toc { position: static; }
  .grid-2, .grid-3, .row2 { grid-template-columns: 1fr; }
  .cost-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 44px 20px 80px; }
  .hero h1 { font-size: 30px; }
  .topnav { gap: 12px; font-size: 14px; }
  .topnav .pill { display: none; }
  .table { display: block; overflow-x: auto; }
}

/* 2026 visual refresh */
body { background: var(--bg); font-size: 15px; line-height: 1.65; }
main.wrap { min-height: calc(100vh - 258px); }
a { transition: color .18s ease; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #7db7ff; outline-offset: 3px; }
h1, h2, h3 { color: var(--text); letter-spacing: -.035em; }
h1 { font-size: clamp(28px, 3vw, 36px); }
h2 { font-size: clamp(22px, 2.4vw, 30px); }
h3 { font-size: 17px; }
.wrap { max-width: 1240px; padding: 0 28px; }
.topbar { background: #101b30; border-bottom: 1px solid rgba(255,255,255,.09); }
.topbar-in { height: 72px; position: relative; }
.brand { gap: 11px; font-size: 20px; letter-spacing: -.045em; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg,#6aa7ff,#4868e6 60%,#7e6cef); box-shadow: 0 5px 16px rgba(70,114,235,.36); font-size: 20px; font-weight: 900; font-style: italic; line-height: 1; }
.brand-mark::after { display: none; }
.topnav { gap: 26px; }
.topnav a, .topnav button.link { color: #c6d0e2; font-size: 14px; font-weight: 600; }
.topnav a:hover, .topnav button.link:hover { color: #fff; }
.topnav .btn { color: #fff; padding: 8px 16px; }
.pill { background: rgba(108,158,255,.12); border-color: rgba(108,158,255,.2); color: #e1ebff; }
.menu-toggle { display: none; }
.btn { justify-content: center; border-radius: 10px; border-color: #4169e1; background: #4169e1; box-shadow: 0 7px 18px -10px rgba(46,83,199,.8); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { background: #3058d2; box-shadow: 0 12px 24px -12px rgba(46,83,199,.7); }
.btn-ghost { background: #fff; color: var(--primary-dark); border-color: #cbd7ee; box-shadow: none; }
.btn-ghost:hover { background: var(--primary-soft); box-shadow: none; }
.btn-danger { background: #fff1f2; color: #9f1239; border-color: #e6a8b5; box-shadow: none; }
.btn-danger:hover { background: #fff1f1; box-shadow: none; }
.btn-lg { min-height: 50px; padding: 11px 21px; font-size: 15px; }
.btn-lg span { font-size: 20px; line-height: 1; }
.card, .stat, .side, .toc, .doc-section { border-color: var(--border); box-shadow: var(--shadow); }
.card { padding: 23px 25px; }
.card h3 { margin-bottom: 13px; }
.stat { padding: 20px 23px; }
.stat-n { background: none; color: #1b2c4d; font-size: 29px; letter-spacing: -.05em; line-height: 1.2; }
.stat-l { font-size: 13px; margin-top: 7px; }
.stat-warn .stat-n { background: none; color: #b45309; }
.chip { background: #eff3f9; color: #43536a; border: 1px solid #e4eaf3; }
.chip.active { background: var(--primary); color: #fff; }
.table th { background: #f5f7fb; color: #63728a; }
.table th, .table td { border-bottom-color: #e8edf5; }
.table tbody tr:hover td, .table tr:hover td { background: #f6f9ff; }
.tag { background: #ecf1f8; }
.tag-credited, .tag-paid { background: #dcfce7; }
.tag-pending, .tag-claimed { background: #fef3c7; }
.tag-review, .tag-unmatched { background: #fee2e2; }
.side { padding: 15px; }
.side nav a { padding: 10px 13px; border-radius: 9px; }
.side nav a.active { background: #eaf0ff; }
.toc { padding: 17px 12px; }
.toc-title { color: #192b4b; font-size: 15px; }
.doc-section { padding: 29px 31px; }
.doc-section h1 { margin-top: 0; }
.narrow { margin-top: 55px; }
.narrow .card { padding: 28px; }
.form label { color: #33445e; }
.form input:not([type=checkbox]), .form select, .inline-form input { padding: 11px 13px; border-color: #cdd7e5; }
.form input:focus, .form select:focus, .inline-form input:focus { box-shadow: 0 0 0 4px rgba(65,105,225,.14); }
.footer { margin-top: 70px; padding: 38px 0 42px; background: #101b30; color: #9baac1; border-top: 1px solid rgba(255,255,255,.08); }
.footer-in { display: flex; justify-content: space-between; gap: 24px; }
.footer-brand { font-size: 19px; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.footer-brand:hover { color: #fff; text-decoration: none; }
.footer p { margin: 4px 0 0; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.footer-right a { color: #dde7fb; }

/* Landing page */
.hero { margin: 0 0 0 calc(50% - 50vw); padding: 0; text-align: left; background: radial-gradient(600px 430px at 78% 18%,rgba(73,112,220,.24),transparent 75%), radial-gradient(380px 300px at 12% 98%,rgba(25,162,171,.12),transparent 70%), linear-gradient(115deg,#101b30 5%,#152847 65%,#142f53 100%); }
.hero::before { background: linear-gradient(rgba(126,165,224,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(126,165,224,.045) 1px,transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg,transparent 0%,#000 70%); }
.hero-layout { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(390px,.97fr); align-items: center; gap: 60px; min-height: 630px; padding-top: 72px; padding-bottom: 84px; }
.hero-copy { max-width: 590px; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; padding: 8px 13px; border-radius: 7px; background: rgba(82,117,173,.14); border-color: rgba(132,171,235,.18); color: #9dddec; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.signal-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #41d9bb; box-shadow: 0 0 0 4px rgba(65,217,187,.12); }
.hero h1 { color: #fff; font-size: clamp(38px,4.3vw,62px); line-height: 1.17; letter-spacing: -.065em; margin: 0 0 24px; }
.hero h1 em { color: #83c4ff; font-style: normal; }
.hero .lead { max-width: 550px; color: #b9c9e0; font-size: 17px; line-height: 1.8; margin: 0 0 32px; }
.hero-actions { justify-content: flex-start; gap: 10px; }
.hero .btn { min-width: 170px; }
.hero .btn-ghost { background: rgba(255,255,255,.035); border-color: rgba(182,204,242,.32); color: #eff5ff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero-note { color: #899dbb; font-size: 12px; margin: 23px 0 0; }
.hero-note span { padding: 0 5px; color: #5b789f; }
.hero-visual { position: relative; max-width: 530px; width: 100%; justify-self: end; border: 1px solid rgba(178,205,248,.25); border-radius: 16px; background: #f8fbff; box-shadow: 0 40px 70px -30px rgba(2,7,24,.75),0 0 0 8px rgba(164,193,243,.045); overflow: hidden; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.preview-top { height: 47px; display: flex; justify-content: space-between; align-items: center; padding: 0 19px; background: #eaf0fa; border-bottom: 1px solid #dce6f2; }
.preview-live { display: inline-flex; align-items: center; gap: 10px; color: #506585; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.preview-live .signal-dot { width: 6px; height: 6px; flex-basis: 6px; }
.preview-dots { display: flex; gap: 6px; }
.preview-dots i { width: 7px; height: 7px; background: #b8c8dd; border-radius: 50%; }
.preview-content { padding: 21px 23px 17px; }
.preview-path { display: flex; align-items: center; gap: 10px; color: #5d708d; font: 12px/1.4 Consolas,monospace; overflow-wrap: anywhere; }
.preview-path span { padding: 4px 7px; border-radius: 4px; background: #d9f8ee; color: #087a62; font-weight: 800; }
.preview-match { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 22px 0 18px; padding: 21px; border-radius: 11px; background: #fff; border: 1px solid #e3eaf4; }
.preview-match small { display: block; margin-bottom: 8px; color: #8290a3; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.preview-match strong { color: #1a2c48; font-size: 22px; letter-spacing: -.04em; }
.preview-match strong span { padding: 0 9px; color: #9aaac0; font-size: 13px; font-weight: 600; }
.preview-status { flex-shrink: 0; background: #e4f8ef; color: #15855d; border-radius: 6px; padding: 5px 9px; font: 700 11px Consolas,monospace; }
.preview-table { border: 1px solid #e3eaf4; border-radius: 10px; background: #fff; overflow: hidden; }
.preview-row { display: grid; grid-template-columns: minmax(120px,1fr) repeat(3,57px); align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-bottom: 1px solid #ecf0f6; color: #394a63; font-size: 13px; }
.preview-row:last-child { border-bottom: 0; }
.preview-row > :not(:first-child) { text-align: right; }
.preview-row b { color: #172a48; font-size: 15px; }
.preview-heading { min-height: 38px; background: #f5f8fc; color: #8a9ab0; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.preview-average { background: #edf4ff; color: #4a65a2; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.preview-average b { color: #3158ba; }
.preview-meta { display: flex; justify-content: space-between; margin-top: 17px; color: #93a0b2; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.preview-meta i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; background: #37caa6; border-radius: 50%; }
.home-section { padding-top: 82px; }
.snapshot-section { padding-top: 70px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { margin: 6px 0 0; font-size: clamp(25px,2.6vw,34px); line-height: 1.27; }
.section-heading p { max-width: 420px; margin: 0 0 5px; color: var(--muted); }
.eyebrow { color: #4670d1; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.home-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0; }
.home-stats .stat { min-width: 0; padding: 22px 24px 24px; border-radius: 15px; }
.home-stats .stat-icon { color: #93a8d2; font-size: 11px; font-weight: 800; letter-spacing: .1em; margin-bottom: 15px; }
.home-stats .stat-n { color: #1b3153; font-size: clamp(27px,2.7vw,37px); }
.home-stats .stat-l { font-weight: 600; }
.feature-grid { margin-bottom: 0; }
.feature { min-height: 254px; padding: 28px; border-radius: 16px; box-shadow: none; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico { width: 48px; height: 48px; margin-bottom: 24px; border-radius: 12px; background: #edf2ff; color: #466cdb; }
.feature .ico svg { width: 23px; height: 23px; }
.feature .step { color: #4c72d4; font-size: 11px; margin-bottom: 7px; }
.feature h3 { font-size: 19px; margin-bottom: 9px; }
.feature p { color: #65738a; font-size: 14px; line-height: 1.7; }
.text-link { margin-bottom: 7px; color: #365dc7; font-weight: 700; white-space: nowrap; }
.text-link:hover { text-decoration: none; color: #1c409f; }
.home-split { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 18px; }
.home-split > * { min-width: 0; }
.home-split .card { margin: 0; border-radius: 16px; }
.response-card { background: #fff; padding: 28px; }
.response-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 16px; }
.response-head h3, .capability-card h3 { font-size: 22px; margin: 5px 0 0; }
.response-badge { padding: 5px 10px; border-radius: 5px; background: #edf2ff; color: #4065cf; font-size: 11px; font-weight: 800; white-space: nowrap; }
.response-card .code { max-height: 380px; margin: 10px 0 0; padding: 20px; font-size: 12px; line-height: 1.65; }
.response-card p code { overflow-wrap: anywhere; white-space: normal; }
.capability-card { padding: 28px; }
.capability-card h3 { margin-bottom: 17px; }
.capability-card .checklist li { padding: 11px 0 11px 34px; color: #607189; font-size: 13px; line-height: 1.55; border-bottom: 1px solid #edf1f6; }
.capability-card .checklist li::before { top: 11px; left: 2px; width: 22px; height: 22px; background: #e6f7f3; color: #158c76; }
.capability-card .checklist b { color: #253957; font-size: 14px; }
.sports-heading { margin-top: 24px !important; padding-top: 19px; border-top: 1px solid var(--border); font-size: 14px !important; }
.home-cta { display: flex; justify-content: space-between; align-items: center; gap: 26px; margin-top: 84px; padding: 39px 45px; background: linear-gradient(105deg,#172949,#1c3966); border-radius: 18px; color: #c8d7eb; }
.home-cta .eyebrow { color: #8dbfff; }
.home-cta h2 { color: #fff; margin: 7px 0; }
.home-cta p { margin: 0; }
.home-cta .btn { flex-shrink: 0; }

@media (max-width: 1050px) {
  .hero-layout { gap: 30px; grid-template-columns: minmax(0,1fr) minmax(350px,.92fr); }
  .hero h1 { font-size: clamp(38px,4.7vw,50px); }
}
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 45px; padding-top: 65px; padding-bottom: 65px; }
  .hero-copy { max-width: 670px; }
  .hero-visual { justify-self: start; max-width: 600px; transform: none; }
  .home-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .feature { padding: 21px; }
  .home-split { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .topbar-in { height: 64px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(194,213,244,.25); border-radius: 9px; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 17px; height: 2px; border-radius: 2px; background: #dce8fb; }
  .topnav { display: none; position: absolute; top: 64px; left: 0; right: 0; z-index: 25; padding: 14px 20px 20px; background: #14243e; border: 1px solid rgba(190,211,242,.12); border-top: 0; border-radius: 0 0 13px 13px; box-shadow: 0 20px 30px rgba(5,13,30,.2); }
  .topnav.open { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
  .topnav a, .topnav button.link { display: block; width: 100%; padding: 9px 6px; text-align: left; }
  .topnav .btn { text-align: center; }
  .topnav .pill { display: inline-block; align-self: flex-start; margin: 5px 0; }
  .topnav form { display: block; }
  .hero-layout { padding-top: 49px; padding-bottom: 54px; gap: 38px; }
  .hero h1 { font-size: clamp(36px,8vw,48px); }
  .hero .lead { font-size: 15px; }
  .hero-tag { margin-bottom: 23px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero .btn { width: 100%; }
  .hero-visual { max-width: 100%; }
  .preview-content { padding: 16px; }
  .preview-match { padding: 15px; }
  .preview-match strong { font-size: 18px; }
  .preview-row { grid-template-columns: minmax(75px,1fr) repeat(3,42px); gap: 3px; padding: 0 10px; font-size: 11px; }
  .preview-row b { font-size: 12px; }
  .home-section { padding-top: 58px; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; }
  .section-heading p { font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .home-cta { flex-direction: column; align-items: flex-start; padding: 30px 25px; margin-top: 58px; }
  .home-cta .btn { width: 100%; }
  .footer-in { flex-direction: column; }
  .footer-right { align-items: flex-start; }
}
@media (max-width: 480px) {
  .home-stats { gap: 9px; }
  .home-stats .stat { padding: 17px; }
  .home-stats .stat-n { font-size: 27px; }
  .response-card, .capability-card { padding: 19px; }
  .response-head h3, .capability-card h3 { font-size: 19px; }
  .response-badge { display: none; }
  .hero-note { line-height: 1.8; }
}

/* honeypot field (bots fill it, people never see it) */
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* sidebar group label (관리) */
.side-sub { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 14px 12px 6px; border-top: 1px solid var(--border); margin-top: 8px; }
.side-admin { border-top: 3px solid #f59e0b; }
.side-admin nav a.active { background: #fff7e6; color: #92400e; }
.side-admin nav a.active::before { background: #f59e0b; }

.brand-logo{display:block;flex-shrink:0}.brand-wordmark{font-weight:850;letter-spacing:.08em;font-size:20px}.dashboard-part{min-height:110px;margin-bottom:18px}.dashboard-part[aria-busy="true"]{opacity:.7}.dashboard-part .card{overflow-x:auto}

.access-development{background:#fff0c2;color:#754400}.access-live{background:#d8f8ec;color:#116346}.access-none{background:#edf0f5;color:#566073}
.preview-match small.preview-ko { margin: 8px 0 0; letter-spacing: 0; font-size: 12px; font-weight: 600; color: #5f7391; }
.flash-warn { background: #fff7e0; color: #6b4300; border-color: #f3d58a; border-left-color: #e69a00; }
.dev-banner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 16px 0; padding: 14px 18px; border: 2px solid #e69a00; border-left-width: 8px; border-radius: 10px; background: #fff3cd; color: #5b3a00; font-size: 14px; line-height: 1.6; }
.dev-banner > b { font-size: 16px; color: #8a4b00; white-space: nowrap; }
.dev-banner > b::before { content: "⚠ "; }
.dev-banner code { background: rgba(138, 75, 0, .12); color: inherit; }
.doc-section .table.compact td:first-child { white-space: nowrap; }
/* Telegram support link: the one contact channel, so it is shown as a button everywhere. */
a.tg-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 15px 7px 12px; border: 1px solid #1b8bc2; border-radius: 999px; background: #229ed9; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(34,158,217,.9); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
a.tg-link:hover { background: #1a8fc7; color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(34,158,217,.95); }
a.tg-link svg { width: 17px; height: 17px; flex-shrink: 0; fill: currentColor; }
a.tg-link.tg-lg { min-height: 50px; padding: 11px 22px 11px 18px; border-radius: 12px; font-size: 15px; }
a.tg-link.tg-lg svg { width: 20px; height: 20px; }
a.tg-link.tg-float { position: fixed; right: 22px; bottom: 22px; z-index: 30; padding: 13px 20px 13px 16px; font-size: 15px; box-shadow: 0 14px 30px -10px rgba(16,27,48,.6), 0 0 0 0 rgba(34,158,217,.55); animation: tg-pulse 2.6s ease-out infinite; }
a.tg-link.tg-float svg { width: 20px; height: 20px; }
@keyframes tg-pulse { 0% { box-shadow: 0 14px 30px -10px rgba(16,27,48,.6), 0 0 0 0 rgba(34,158,217,.55); } 70%, 100% { box-shadow: 0 14px 30px -10px rgba(16,27,48,.6), 0 0 0 14px rgba(34,158,217,0); } }
@media (prefers-reduced-motion: reduce) { a.tg-link.tg-float { animation: none; } }
.has-tg .footer { padding-bottom: 96px; }
.home-cta-actions { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) {
  .topnav a.tg-link { display: inline-flex; align-self: flex-start; width: auto; margin: 4px 0; padding: 9px 16px 9px 13px; }
  .hero-actions a.tg-link, .home-cta-actions, .home-cta-actions a { width: 100%; }
  a.tg-link.tg-float { right: 14px; bottom: 14px; }
}
@media print { a.tg-link.tg-float { display: none; } }

/* Settlement guide (/settlement): sticky live search over the rule sections and sport cards. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.settle [hidden] { display: none !important; }
.settle .doc-section { scroll-margin-top: 150px; }
.settle-search { position: sticky; top: 84px; z-index: 6; display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 5px 8px 5px 16px; background: #fff; border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: 0 10px 28px -18px rgba(16,30,58,.45); }
.settle-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(65,105,225,.14), 0 10px 28px -18px rgba(16,30,58,.45); }
.settle-search svg { width: 19px; height: 19px; flex-shrink: 0; color: #7d8ba1; }
.settle-search input { flex: 1; min-width: 0; padding: 10px 2px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.settle-search input:focus, .settle-search input:focus-visible { outline: none; }
.settle-search input::-webkit-search-cancel-button { display: none; }
.settle-search kbd { padding: 1px 8px; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px; background: #f8fafc; color: var(--muted); font: 600 12px/1.6 Consolas, monospace; }
.settle-clear { padding: 7px 12px; border: 0; border-radius: 9px; background: #eef1f6; color: #43536a; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.settle-clear:hover { background: #e2e8f2; }
.settle-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 18px; }
.settle-chips .chip { font: inherit; font-size: 13px; cursor: pointer; }
.settle-count { color: var(--muted); font-size: 13px; font-weight: 600; }
.settle mark { padding: 0 1px; border-radius: 3px; background: #ffec8a; color: inherit; }
.settle-key { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.settle-key li { padding: 11px 15px; border: 1px solid #dfe7fb; border-radius: 11px; background: #f5f8ff; font-size: 14px; }
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.flow li { padding: 15px 16px; border: 1px solid var(--border); border-radius: 12px; background: #f8fafd; font-size: 14px; counter-increment: step; }
.flow li::before { content: counter(step); display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 9px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; }
.flow li b { display: block; margin-bottom: 4px; font-size: 15px; }
.tone { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tone-wait { background: #e0f2fe; color: #075985; }
.tone-settle { background: #dcfce7; color: #166534; }
.tone-policy { background: #fef3c7; color: #92400e; }
.tone-void { background: #fee2e2; color: #991b1b; }
.tone-off { background: #eef1f6; color: #66758c; }
.settle-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.settle-examples h3 { margin-bottom: 8px; font-size: 15px; }
.settle-sports-title { margin: 30px 0 14px; scroll-margin-top: 150px; }
.sport-card { padding: 24px 28px; }
.sport-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.sport-head h3 { margin: 0; font-size: 21px; }
.sport-key { color: var(--muted); font-size: 12px; }
.sport-summary { color: #33445e; }
.sport-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 14px; color: #55657d; font-size: 13px; }
.sport-meta b { margin-right: 4px; color: #33445e; }
.sport-notes { margin-top: 14px; font-size: 14px; }
@media (max-width: 900px) {
  .settle .toc { display: none; } /* 26 sport links would fill the first screen; the search box navigates instead */
  .settle-search { top: 80px; }
  .settle-examples { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .settle-search { top: 72px; padding-left: 12px; }
  .settle-search kbd { display: none; }
  .flow { grid-template-columns: 1fr; }
  .sport-card { padding: 20px; }
}

/* Bookmaker coverage: keep wide numeric tables scrollable on phones. */
.page-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin:8px 0 22px; flex-wrap:wrap; }
.page-heading h1 { margin:0 0 8px; }
.eyebrow { color:#3053ba; font-size:12px; font-weight:800; letter-spacing:.08em; margin:0 0 6px; }
.actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.dashboard-actions { margin:0 0 20px; }
.section-links { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.section-links a { padding:8px 14px; color:#3053ba; background:#fff; border:1px solid #cbd5e3; border-radius:8px; font-weight:600; }
.balance-summary { border-left:3px solid #4169e1; padding:6px 0 6px 16px; }
.balance-summary span { display:block; color:#53627a; font-size:13px; }
.balance-summary strong { display:block; font-size:27px; color:#142138; }
.balance-summary small { font-size:13px; }
.plan-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:18px 0; }
.plan-card { background:#f8faff; border:1px solid #d6e0f2; border-radius:12px; padding:20px; display:flex; flex-direction:column; }
.plan-card h3 { margin-bottom:6px; }
.plan-price { font-size:28px; font-weight:800; color:#203f91; }
.plan-price small { font-size:14px; font-weight:600; }
.plan-card form { margin-top:auto; padding-top:8px; }
.plan-card .btn { width:100%; }
.key-renew { display:flex; gap:20px; justify-content:space-between; align-items:center; border-top:1px solid var(--border); padding-top:18px; margin-top:20px; }
.key-renew form { flex-shrink:0; }
.key-renew h3 { margin-bottom:5px; }
.coupon-list { display:grid; gap:12px; margin:18px 0; }
.coupon-item { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:18px; border:1px solid var(--border-strong); border-radius:12px; }
.coupon-item h3 { margin:8px 0 5px; }
.coupon-item p { margin-bottom:4px; overflow-wrap:anywhere; }
.coupon-item form { flex-shrink:0; }
.empty-state { text-align:center; background:#f6f8fc; padding:28px 18px; border:1px dashed #cbd5e3; border-radius:10px; margin:18px 0; }
.empty-state p { color:#53627a; margin:6px 0 0; }
.danger-zone { border-color:#e6a8b5; }
.danger-zone summary { color:#9f1239; cursor:pointer; font-size:17px; font-weight:700; }
.danger-zone[open] summary { margin-bottom:16px; }
.docs-download h2 { font-size:20px; }
.docs-download .actions { margin-top:14px; }
.member-menu-toggle { display:none; }
.main .card[id], .main h2[id] { scroll-margin-top:90px; }
.main .table td code { overflow-wrap:anywhere; }
code.key { display:inline-block; max-width:100%; overflow-wrap:anywhere; vertical-align:middle; }
.path,.ep-url > code { max-width:100%; overflow-wrap:anywhere; }
.account-area a.tg-link.tg-float { display:none; }
.form input, .form select, .inline-form input { min-width:0; color:#142138; }
.form input::placeholder, .inline-form input::placeholder { color:#66758a; opacity:1; }
.btn:not(.btn-sm) { min-height:44px; }
.btn[disabled] { opacity:1; color:#586577; background:#e8edf4; border-color:#c6cfdb; box-shadow:none; }
.toc .m { color:#087568; }
/* Code colors all remain readable on #111e33. Toolbar stays outside horizontal scrolling. */
.code-frame { background:#111e33; border:1px solid #304463; border-radius:10px; margin:12px 0; overflow:hidden; min-width:0; }
.code-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 12px; color:#bac8df; background:#1b2c46; border-bottom:1px solid #304463; font:600 12px/1.5 Consolas,monospace; }
.code-toolbar .copy { color:#f0f5ff; background:#2c4265; border:1px solid #60789d; border-radius:6px; padding:5px 12px; font:inherit; cursor:pointer; }
.code-toolbar .copy:hover { background:#3b5680; }
.code-frame pre.code { margin:0; border-radius:0; padding:18px; font-size:13px; line-height:1.7; box-shadow:none; tab-size:4; }
.code-frame code { white-space:pre; }
.code-frame[data-panel] { display:none; }
.code-frame[data-panel].active { display:block; }
.tabs .code-frame pre.code { display:block; }
.code-frame .token.comment, .code-frame .token.prolog { color:#a6b5cc; }
.code-frame .token.string, .code-frame .token.char, .code-frame .token.attr-value { color:#a5e6ae; }
.code-frame .token.keyword, .code-frame .token.boolean, .code-frame .token.atrule { color:#d9b5ff; }
.code-frame .token.number, .code-frame .token.constant { color:#ffc58f; }
.code-frame .token.function, .code-frame .token.class-name { color:#ffe19a; }
.code-frame .token.property, .code-frame .token.attr-name, .code-frame .token.variable { color:#8fd8ff; }
.code-frame .token.operator, .code-frame .token.punctuation { color:#dae4f3; }
.code-frame .token.tag, .code-frame .token.regex { color:#ffb1bc; }
@media(max-width:900px) {
  .member-menu-ready .member-menu-toggle { display:flex; width:100%; justify-content:space-between; margin-top:8px; }
  .member-menu-ready:not(.menu-open) nav { display:none; }
  .member-menu-ready .side-user { margin-bottom:0; padding-bottom:10px; }
  .docs:not(.settle) .toc { max-height:200px; }
  .split,.docs { gap:16px; }
}
@media(max-width:600px) {
  .plan-grid { grid-template-columns:1fr; }
  .key-renew,.coupon-item { flex-direction:column; align-items:stretch; gap:12px; }
  .key-renew .btn,.coupon-item .btn { width:100%; }
  .page-heading { gap:12px; }
  .card,.doc-section { padding:20px 16px; }
  .inline-form { flex-wrap:wrap; max-width:100%; }
  .inline-form input { max-width:100%; }
}
.bookmaker-table-scroll{overflow-x:auto;max-width:100%}.bookmaker-table-scroll .table{min-width:980px}.bookmaker-table-scroll caption{text-align:left;padding:0 0 16px}.bookmaker-ko{display:block;font-weight:400;margin-top:4px}.bookmaker-section .section-heading p{font-variant-numeric:tabular-nums}
.bookmaker-source-badge{display:inline-block;padding:3px 9px;border:1px solid #cbd5e1;border-radius:999px;background:#f1f5f9;color:#334155;font-size:11px;font-weight:700;line-height:1.5;white-space:nowrap}
.bookmaker-source-badge[data-source="oddsportal"]{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.bookmaker-source-badge[data-source="bmbets"]{background:#ecfdf5;border-color:#a7f3d0;color:#047857}
.bookmaker-source-badge[data-source="oddsapi"]{background:#f5f3ff;border-color:#ddd6fe;color:#6d28d9}
.bookmaker-coverage{margin-top:64px;scroll-margin-top:104px;padding:38px;border:1px solid #253b5c;border-radius:24px;background:radial-gradient(ellipse at 100% 0,rgba(72,109,167,.28),transparent 55%),linear-gradient(135deg,#101d32,#192e49);box-shadow:0 18px 48px rgba(18,35,60,.12)}
.bookmaker-coverage .eyebrow{color:#a7c5f4;letter-spacing:.16em}
.bookmaker-coverage .section-heading h2{color:#fff}
.bookmaker-coverage .section-heading p{color:#b9c9df;line-height:1.8}
.bookmaker-logo-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:0}
.bookmaker-logo-card{display:flex;flex-direction:column;text-align:center;min-width:0;overflow:hidden;background:linear-gradient(150deg,#fff,#f2f5fa);border:1px solid rgba(255,255,255,.85);border-radius:16px;box-shadow:0 4px 12px rgba(0,8,24,.14),inset 0 1px 0 #fff;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.bookmaker-logo-frame{display:flex;align-items:center;justify-content:center;min-width:0;height:104px;padding:18px 12px;background:#fff;border-bottom:1px solid #e8edf5}
.bookmaker-logo-frame img{display:block;width:120px;max-width:100%;height:60px;object-fit:contain}
.bookmaker-logo-card[data-bookmaker="marathonbet"] img{object-fit:cover}
.bookmaker-logo-name{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:73px;padding:12px 6px}
.bookmaker-logo-name strong{font-size:13px;color:#1b3153;line-height:1.5;letter-spacing:-.02em}
.bookmaker-logo-name span{font-size:11px;color:#74839a;line-height:1.5}
.bookmaker-coverage-more{display:flex;align-items:center;justify-content:center;gap:12px;padding:22px 10px 0;margin:24px 0 0;border-top:1px solid rgba(180,205,241,.2);color:#c8d8ed;font-size:13px;font-weight:500;text-align:center}
.bookmaker-coverage-more>span{display:flex;align-items:center;justify-content:center;width:26px;height:26px;flex-shrink:0;border:1px solid #496385;border-radius:50%;color:#a7c5f4;font-size:17px}
@media(hover:hover){.bookmaker-logo-card:hover{transform:translateY(-4px);border-color:#aac8f4;box-shadow:0 12px 24px rgba(0,8,24,.22)}}
@media(max-width:1100px){.bookmaker-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.bookmaker-coverage{margin-top:40px;padding:24px 14px;border-radius:20px}.bookmaker-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bookmaker-logo-frame{height:88px;padding:14px 8px}.bookmaker-logo-name{min-height:69px}.bookmaker-logo-name strong{font-size:12px}.bookmaker-coverage-more{font-size:12px;line-height:1.8;text-align:left;gap:9px}.home-stats{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.bookmaker-logo-card{transition:none}.bookmaker-logo-card:hover{transform:none}}
