/* PrettyTv website — reuses the player's skin: the same colour tokens (css/style.css in the app), the
   Figtree typeface, the blue accent, red LIVE badges, pills, tiles and chips. The four app skins
   (Midnight, OLED black, High contrast, Light) are selectable with html[data-skin]. */

@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens: Midnight (the app's default skin) ---------- */
:root {
  --bg: #0B0E13; --bg-deep: #07090C; --rail: #0E1218;
  --card: rgba(14, 18, 24, 0.94); --card-solid: #11161D; --pill: rgba(14, 18, 24, 0.88);
  --tile: #1C2430; --tile-2: #1F2835; --hover: #171D26; --btn-hover: #2A3442;
  --line: #1A2029; --line-2: #1C2330; --line-3: #2A3340; --line-4: #2F3A49; --badge-line: #3A4554;
  --text: #E6EAF0; --text-2: #C3CBD6; --text-3: #B4BDCA; --dim: #8F9BAD; --faint: #7B8696;
  --accent: #2A64D4; --accent-soft: #E3ECFF; --live: #D2343A; --star: #E8B04A; --soon: #2E5A3E;
  --focus: #E6EAF0; --white: #FFFFFF; --on-accent: #FFFFFF;
  --prog-live: #1F2732; --prog-live-line: #303B4A; --prog-past: #11151B; --prog-past-text: #8591A1;
  --brand: #241C47;   /* the app icon's purple (LG splash colour) */
  --glow: rgba(42, 100, 212, 0.22); --glow-2: rgba(36, 28, 71, 0.75); --teal: rgba(31, 92, 84, 0.35);
  color-scheme: dark;
}
html[data-skin="oled"] { --bg: #000000; --bg-deep: #000000; --rail: #050608; --card: rgba(7, 9, 12, 0.94); --card-solid: #0A0D11; --pill: rgba(7, 9, 12, 0.9); --tile: #171D26; --tile-2: #1A222D; --hover: #141A22; --btn-hover: #242E3B; --line: #14191F; --line-2: #161C23; --text: #DDE3EB; --text-2: #AEB7C4; --text-3: #A3ADBB; --dim: #79838F; --faint: #68727E; --live: #C22F35; --star: #D9A33F; --prog-live: #181F28; --prog-live-line: #28313D; --prog-past: #0A0E13; --glow: rgba(42, 100, 212, 0.14); --glow-2: rgba(36, 28, 71, 0.45); --teal: rgba(31, 92, 84, 0.2); }
html[data-skin="contrast"] { --bg: #000000; --bg-deep: #000000; --rail: #0A0E14; --card: rgba(10, 14, 20, 0.97); --card-solid: #10151C; --pill: rgba(10, 14, 20, 0.95); --tile: #232D3B; --tile-2: #2A3646; --hover: #1C2530; --btn-hover: #33404F; --line: #3A4554; --line-2: #3A4554; --line-3: #4A5668; --line-4: #55637A; --badge-line: #55637A; --text: #FFFFFF; --text-2: #E8EDF4; --text-3: #DCE3EC; --dim: #AEB9C8; --faint: #93A0AF; --accent: #2E6FEA; --live: #E03C42; --star: #FFC14D; --focus: #FFFFFF; --prog-live: #233041; --prog-live-line: #4A5668; --prog-past: #0E1319; --prog-past-text: #9FACBC; --glow: rgba(46, 111, 234, 0.18); --glow-2: rgba(36, 28, 71, 0.5); --teal: rgba(31, 92, 84, 0.2); }
html[data-skin="light"] { --white: #15202E; --bg: #F2F4F8; --bg-deep: #E9EDF3; --rail: #E8ECF2; --card: rgba(255, 255, 255, 0.95); --card-solid: #FFFFFF; --pill: rgba(255, 255, 255, 0.92); --tile: #D6DEE9; --tile-2: #CBD5E2; --hover: #E0E6EE; --btn-hover: #C5CFDC; --line: #D5DCE5; --line-2: #CFD7E1; --line-3: #BBC6D4; --line-4: #A9B6C7; --badge-line: #9AA8BA; --text: #15202E; --text-2: #324052; --text-3: #3C4A5C; --dim: #5E6B7C; --faint: #6F7D8F; --accent: #2457C5; --live: #C62F35; --star: #B07817; --focus: #15202E; --prog-live: #E2E9F2; --prog-live-line: #BBC6D4; --prog-past: #E7EBF1; --prog-past-text: #6F7D8F; --glow: rgba(36, 87, 197, 0.12); --glow-2: rgba(120, 100, 220, 0.14); --teal: rgba(31, 140, 120, 0.08); color-scheme: light; }

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  background: var(--bg); color: var(--text); font: 400 17px/1.6 'Figtree', 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- pieces from the player ---------- */
.kicker { font-size: 13px; color: var(--dim); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.badge-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 7px; background: var(--live); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; white-space: nowrap; line-height: 1.4; }
.badge-live.dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.badge-soon { background: var(--soon); }
.chip-o { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid var(--badge-line); border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--text-3); white-space: nowrap; line-height: 1.5; }
.chip-o b { color: var(--white); font-weight: 800; }
.chip-f { display: inline-flex; padding: 3px 9px; border-radius: 6px; background: var(--tile); font-size: 13px; font-weight: 700; color: var(--text-2); white-space: nowrap; line-height: 1.5; }
.track { height: 6px; border-radius: 3px; background: var(--line-3); overflow: hidden; }
.track > i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.tile { background: var(--tile); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; color: var(--text); overflow: hidden; }
.btn { height: 52px; padding: 0 24px; border-radius: 14px; background: var(--tile); color: var(--text); display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 0 26px; }
.btn.sq { width: 52px; padding: 0; justify-content: center; }
.btn .ic { width: 20px; height: 20px; }
.btn .play { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pillbtn { height: 44px; padding: 0 20px; border-radius: 22px; border: 1px solid var(--line-4); color: var(--text-2); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: background .15s, color .15s; }
.pillbtn small { font-size: 13px; color: var(--dim); font-weight: 600; }
.pillbtn:hover { background: var(--hover); }
.pillbtn[aria-selected="true"], .pillbtn[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pillbtn[aria-selected="true"] small, .pillbtn[aria-pressed="true"] small { color: var(--bg); opacity: .7; }

/* ---------- header (the app's left rail, turned on its side) ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .top { background: var(--bg); } }
.top .wrap { height: 68px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; flex: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text-2); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--tile); color: var(--text); }
.skins { position: relative; flex: none; }
.skins > button { height: 40px; padding: 0 12px; border-radius: 10px; background: var(--tile); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.skins > button .ic { width: 18px; height: 18px; }
.skins ul { list-style: none; position: absolute; right: 0; top: 48px; min-width: 200px; background: var(--card-solid); border: 1px solid var(--line-3); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.skins li button { width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.skins li button:hover { background: var(--hover); }
.skins li button[aria-checked="true"] { background: var(--accent); color: var(--on-accent); }
.swatch { width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--line-4); flex: none; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--tile); align-items: center; justify-content: center; }
@media (max-width: 1060px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; background: var(--card-solid); border-bottom: 1px solid var(--line-3); padding: 10px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .skins > button span { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero .wrap { position: relative; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto -10%; height: 900px; pointer-events: none;
  background: radial-gradient(600px 420px at 78% 30%, var(--glow-2), transparent 70%), radial-gradient(700px 460px at 18% 10%, var(--glow), transparent 70%), radial-gradient(500px 360px at 60% 85%, var(--teal), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.prog-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.prog-head .tile { width: 56px; height: 56px; }
.prog-head .tile img { width: 56px; height: 56px; }
.prog-head .ch small { display: block; font-size: 14px; color: var(--text-3); line-height: 1.3; }
.prog-head .ch b { display: block; font-size: 19px; line-height: 1.3; }
h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
html[data-skin="midnight"] h1 em, html:not([data-skin]) h1 em { color: #6C9BFF; }
html[data-skin="oled"] h1 em, html[data-skin="contrast"] h1 em { color: #7AA6FF; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 18px; font-size: 18px; color: var(--text-2); font-weight: 600; }
.meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.hero .track { max-width: 520px; margin-bottom: 8px; }
.prog-left { font-size: 14px; color: var(--text-3); font-weight: 600; margin-bottom: 20px; }
.lede { font-size: 19px; color: var(--text-2); max-width: 600px; margin-bottom: 30px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta .next { font-size: 15px; color: var(--text-3); }
.cta .next b { color: var(--text); font-weight: 700; }
.mascot { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; }
.mascot img { width: 100%; height: 100%; border-radius: 22%; animation: bob 6s ease-in-out infinite; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; }
  .mascot { display: none; }   /* phones: the logo is already in the header and next to "Channel 1" */
}

/* the TV with the real guide on it */
.tv { position: relative; margin: 36px auto 0; max-width: 1100px; }
.tv-frame { position: relative; border-radius: 22px; padding: 12px; background: linear-gradient(160deg, #2A3442, #10151C 60%); box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); }
html[data-skin="light"] .tv-frame { background: linear-gradient(160deg, #3A4554, #15202E 60%); box-shadow: 0 30px 60px rgba(21,32,46,.25); }
.tv-frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #0B0E13; }
.tv-stand { width: 28%; height: 14px; margin: 0 auto; border-radius: 0 0 14px 14px; background: linear-gradient(#1C2430, #0B0E13); }
.tv .demo-note { margin-top: 14px; text-align: center; font-size: 14px; color: var(--dim); }

/* ---------- "only a player" notice (like the app's toast) ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; border-radius: 18px; background: var(--card-solid); border: 1px solid var(--line-3); }
.notice::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 8px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }
.notice p { color: var(--text-2); }
.notice strong { color: var(--text); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 12px; text-wrap: balance; }
.sec-head p { color: var(--text-2); font-size: 18px; }
.alt { background: var(--bg-deep); border-block: 1px solid var(--line); }

/* features — tiles like the app's cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-4); transform: translateY(-2px); }
.card .tile { width: 48px; height: 48px; margin-bottom: 16px; color: var(--text); }
.card .tile.blue { background: var(--accent); color: var(--on-accent); }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.card p { color: var(--text-3); font-size: 16px; }

/* screens */
.shots .pills { margin-bottom: 22px; }
.shot-stage { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }
.shot-stage .tv { margin: 0; }
.shot-caption { margin-top: 16px; color: var(--text-3); font-size: 16px; min-height: 52px; }
.phone { border-radius: 36px; padding: 10px; background: linear-gradient(160deg, #2A3442, #0B0E13); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.phone img { border-radius: 27px; width: 100%; height: auto; aspect-ratio: 780 / 1250; background: #0B0E13; }
.phone-cap { text-align: center; margin-top: 12px; font-size: 14px; color: var(--dim); }
@media (max-width: 900px) { .shot-stage { grid-template-columns: 1fr; } .phone-wrap { max-width: 260px; margin: 0 auto; } }

/* platforms — drawn as the TV guide */
.epg { border-radius: 18px; background: var(--card-solid); border: 1px solid var(--line-2); padding: 18px; overflow: hidden; }
.epg-ruler, .epg-row { display: grid; grid-template-columns: minmax(230px, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 6px; }
.epg-ruler { padding: 0 0 10px; font-size: 15px; color: var(--text-3); font-weight: 600; position: relative; }
.epg-ruler span { padding-left: 12px; border-left: 1px solid var(--line-3); }
.epg-ruler span:first-child { border: 0; padding-left: 6px; color: var(--text); }
.epg-row { margin-top: 6px; }
.epg-ch { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.epg-ch .n { width: 22px; text-align: right; color: var(--text-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.epg-ch .tile { width: 46px; height: 34px; font-size: 12px; border-radius: 8px; }
.epg-ch b { font-weight: 700; font-size: 16px; line-height: 1.25; }
.epg-ch small { display: block; font-size: 13px; color: var(--dim); font-weight: 500; }
.prog { padding: 10px 14px; border-radius: 10px; background: var(--prog-live); border: 1px solid var(--prog-live-line); min-width: 0; }
.prog b { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog small { display: block; font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog.past { background: var(--prog-past); border-color: var(--line-2); }
.prog.past b { color: var(--prog-past-text); }
.prog.now { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.prog.now small { color: var(--on-accent); opacity: .85; }
.prog a { text-decoration: none; }
.epg-foot { margin-top: 14px; font-size: 14px; color: var(--dim); }
@media (max-width: 760px) {
  .epg-ruler { display: none; }
  .epg-row { grid-template-columns: 1fr 1fr; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .epg-row:last-of-type { border: 0; }
  .epg-ch { grid-column: 1 / -1; padding: 8px 4px 2px; }
}

/* premium */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { position: relative; border-radius: 20px; padding: 26px; background: var(--card-solid); border: 1px solid var(--line-3); }
.plan.rec { border: 2px solid var(--accent); }
.plan .badge-live { position: absolute; top: -12px; left: 22px; background: var(--accent); }
.plan h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.plan .price { font-size: 15px; color: var(--text-3); margin-bottom: 16px; }
.plan ul { list-style: none; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; color: var(--text-2); font-size: 16px; }
.plan li .ic { color: var(--accent); width: 20px; height: 20px; margin-top: 3px; }
html[data-skin="midnight"] .plan li .ic, html:not([data-skin]) .plan li .ic { color: #6C9BFF; }
.fine { margin-top: 18px; font-size: 14px; color: var(--dim); max-width: 860px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: s; }
.step { padding: 24px; border-radius: 18px; background: var(--card-solid); border: 1px solid var(--line-2); }
.step::before { counter-increment: s; content: counter(s); display: inline-flex; width: 40px; height: 40px; border-radius: 10px; background: var(--tile); align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--text-3); font-size: 16px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border-radius: 14px; background: var(--card-solid); border: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg); transition: transform .2s; flex: none; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details > div { padding: 0 22px 20px; color: var(--text-2); }
.faq details > div p + p { margin-top: 8px; }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding: 48px 0 40px; font-size: 15px; color: var(--text-3); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.foot ul { list-style: none; display: grid; gap: 6px; }
.foot a { text-decoration: none; color: var(--text-2); }
.foot a:hover { color: var(--text); text-decoration: underline; }
.legal-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); display: grid; gap: 8px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ---------- legal / support pages ---------- */
.doc { padding: 48px 0 80px; }
.doc .wrap { max-width: 860px; }
.doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 28px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 6px 0 6px; }
.doc .updated { color: var(--dim); font-size: 15px; }
.doc .summary { margin: 0 0 28px; }
.prose h2 { font-size: 24px; font-weight: 800; margin: 40px 0 12px; letter-spacing: -0.01em; scroll-margin-top: 90px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 10px 0; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); }
html[data-skin="midnight"] .prose a, html:not([data-skin]) .prose a, html[data-skin="oled"] .prose a, html[data-skin="contrast"] .prose a { color: #7AA6FF; }
.prose code { font-size: .9em; background: var(--tile); padding: 1px 6px; border-radius: 5px; }
.tbl { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line-3); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; color: var(--text-2); }
.prose th { background: var(--tile); color: var(--text); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.toc { margin: 0 0 8px; padding: 18px 22px; border-radius: 14px; background: var(--card-solid); border: 1px solid var(--line-2); }
.toc ol { columns: 2; column-gap: 32px; padding-left: 20px; font-size: 15px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.contact-card { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 24px; border-radius: 18px; background: var(--card-solid); border: 1px solid var(--line-3); margin: 18px 0; }
.contact-card b { font-size: 19px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.notfound img { width: 180px; margin: 0 auto 10px; }
.notices { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }

/* ---------- highlights ---------- */
.hl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hl { border-radius: 22px; background: var(--card-solid); border: 1px solid var(--line-2); overflow: hidden; display: flex; flex-direction: column; }
.hl.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; }
.hl-img { padding: 14px 14px 0; }
.hl.wide .hl-img { padding: 14px; }
.hl-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #0B0E13; border: 1px solid var(--line-3); }
.hl-txt { padding: 20px 24px 24px; }
.hl.wide .hl-txt { padding: 28px 32px; }
.hl h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; line-height: 1.2; }
.hl.wide h3 { font-size: clamp(24px, 2.6vw, 32px); }
.hl p { color: var(--text-3); font-size: 16px; }
.hl-phone { display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 8px; padding-right: 22px; }
.hl-phone .phone { margin: 22px 0; border-radius: 28px; padding: 7px; }
.hl-phone .phone img { border-radius: 22px; }
@media (max-width: 860px) {
  .hl-grid { grid-template-columns: 1fr; }
  .hl.wide { grid-template-columns: 1fr; }
  .hl.wide .hl-img { padding: 14px 14px 0; }
  .hl.wide .hl-txt { padding: 20px 24px 24px; }
  .hl-phone { grid-template-columns: minmax(0, 1fr) 130px; padding-right: 16px; }
}

/* ---------- tour (laid out like the channel list) ---------- */
kbd { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--badge-line); background: var(--tile); color: var(--white); font: 800 12px/1 'Figtree', sans-serif; letter-spacing: .02em; white-space: nowrap; }
.tour { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: start; }
.tour-list { position: relative; list-style: none; display: grid; gap: 3px; max-height: 760px; overflow-y: auto; padding: 8px; border-radius: 18px; background: var(--card-solid); border: 1px solid var(--line-2); scrollbar-width: thin; }
.tour-list button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; text-align: left; color: var(--text-2); font-weight: 600; font-size: 15px; line-height: 1.3; }
.tour-list button:hover { background: var(--hover); color: var(--text); }
.tour-list .n { width: 24px; text-align: right; color: var(--faint); font-weight: 700; font-variant-numeric: tabular-nums; flex: none; }
.tour-list button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.tour-list button[aria-selected="true"] .n { color: var(--on-accent); opacity: .8; }
.tour-panel .tv { margin: 0; }
.tour-info { margin-top: 18px; }
.tour-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.tour-count { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--dim); }
.tour-keys { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tour-info h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.tour-info p { color: var(--text-2); max-width: 760px; min-height: 78px; }
.tour-nav { display: flex; gap: 10px; margin-top: 14px; }
#tour-img { transition: opacity .18s; }
#tour-img.fade { opacity: .25; }
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; }
  .tour-list { display: flex; overflow-x: auto; max-height: none; gap: 6px; scroll-snap-type: x mandatory; }
  .tour-list li { flex: none; scroll-snap-align: start; }
  .tour-list button { white-space: nowrap; }
  .tour-info p { min-height: 0; }
}
.hl.wide.hl-skin { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.hl.wide.hl-skin .hl-img { order: 2; }
@media (max-width: 860px) { .hl.wide.hl-skin { grid-template-columns: 1fr; } .hl.wide.hl-skin .hl-img { order: 0; } }
.pillbtn { text-decoration: none; }
