/* SivaIPTV site styles. Dark purple "night" theme. */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/instrument-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/fonts/instrument-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/outfit-500.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/outfit-600.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/outfit-700.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --night: oklch(14% .035 300);
  --night-elevated: oklch(19% .045 300);
  --border: oklch(100% 0 0 / .12);
  --fg: oklch(98.5% .01 300);
  --muted: oklch(82% .03 293);
  --brand-300: oklch(79% .1 293);
  --brand-400: oklch(67% .15 293);
  --brand-600: oklch(42% .156 293);
  --brand-700: oklch(36% .14 293);
  --brand-800: oklch(29% .11 293);
  --primary: var(--brand-600);
  --primary-hover: oklch(42% .156 293 / .9);
  --ring: var(--brand-400);
  --cyan: oklch(86% .13 205);
  --magenta: oklch(70% .26 340);
  --amber: oklch(82% .17 80);
  --ember: oklch(66% .21 40);
  --glow-brand: oklch(55% .19 293 / .45);
  --chat-wallpaper: oklch(17% .02 235);
  --chat-in: oklch(27% .02 235);
  --chat-out: oklch(42% .09 170);
  --whatsapp: oklch(80% .19 155);
  --telegram: oklch(70% .14 237);
  --telegram-deep: oklch(55% .13 241);
  --support-surface: #fff;
  --support-canvas: oklch(97% .003 165);
  --support-ink: oklch(32% 0 0);
  --support-muted: oklch(45% 0 0);
  --support-line: oklch(94% 0 0);
  --font: "Instrument Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --display: "Outfit", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --radius: .625rem;
  --header-h: 4rem;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --header-h: 5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; background: var(--night); }
body { margin: 0; min-height: 100svh; background: var(--night); color: var(--fg); font-family: var(--font); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.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; }
.skip { position: absolute; left: -9999px; top: .5rem; z-index: 100; background: var(--primary); color: #fff; padding: .5rem 1rem; border-radius: 6px; }
.skip:focus { left: .5rem; }

.ic { width: 1rem; height: 1rem; flex-shrink: 0; }
.ic-md { width: 1.25rem; height: 1.25rem; }
.ic-lg { width: 1.5rem; height: 1.5rem; }
.grain { position: absolute; inset: 0; background-image: var(--grain); background-size: 160px 160px; opacity: .07; mix-blend-mode: overlay; pointer-events: none; }

.wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .wrap { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding-inline: 2rem; } }
.narrow-wrap { max-width: 48rem; }
.stack { display: flex; flex-direction: column; gap: 3rem; }

/* ---------- type ---------- */
.h-hero, .h-section, .h-feature, .h-page { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.h-hero { font-size: 2.25rem; line-height: 1.05; }
.h-section { font-size: 2.25rem; line-height: 1.05; }
.h-page { font-size: 2.25rem; line-height: 1.05; }
.h-feature { font-size: 3rem; line-height: .95; text-transform: uppercase; }
@media (min-width: 640px) { .h-feature { font-size: 3.75rem; } }
@media (min-width: 768px) { .h-hero, .h-section, .h-page { font-size: 3.75rem; } }
@media (min-width: 1024px) { .h-hero, .h-feature { font-size: 4.5rem; } }
@media (min-width: 1280px) { .h-feature { font-size: 6rem; } }
.lead { font-size: 1.125rem; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.lead.bright { color: oklch(98.5% .01 300 / .9); }
@media (min-width: 768px) { .lead { font-size: 1.25rem; line-height: 1.4; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.narrow { max-width: 42rem; text-wrap: pretty; }
.small-title { text-align: center; font-size: .875rem; font-weight: 500; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .5rem 1rem; border-radius: calc(var(--radius) - 2px); font-size: .875rem; font-weight: 500; white-space: nowrap; transition: background-color .15s, color .15s, box-shadow .15s, transform .15s; }
.btn-primary { background: var(--primary); color: oklch(98.5% 0 0); box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-lg { min-height: 3rem; padding-inline: 1.5rem; font-size: 1rem; }
.btn-lg.wide { padding-inline: 2rem; }
.btn-block { width: 100%; }
.glow { box-shadow: 0 0 48px var(--glow-brand); }
.btn .app-icons { display: inline-flex; gap: .25rem; }
.btn .app-icons .ic { width: 1rem; height: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-weight: 500; transition: color .15s; }
.text-link:hover { color: var(--brand-300); }
.text-link.big { font-size: 1.125rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: calc(var(--radius) - 2px); transition: background-color .15s; }
.icon-btn:hover { background: oklch(23% .08 295); }
.icon-btn.round { border-radius: 999px; }
.icon-btn .ic { width: 1.25rem; height: 1.25rem; }
.ghost-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 .75rem; border-radius: calc(var(--radius) - 2px); font-size: .875rem; font-weight: 500; color: var(--muted); }
.ghost-btn:hover { background: oklch(23% .08 295); color: var(--fg); }
.link-btn { font-size: inherit; color: inherit; text-align: left; }
.link-btn:hover { color: var(--fg); }
.when-paused { display: none; }
.is-paused .when-playing, [aria-pressed="true"] .when-playing { display: none; }
.is-paused .when-paused, [aria-pressed="true"] .when-paused { display: block; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.solid, .is-page .site-header { background: oklch(14% .035 300 / .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .625rem; }
.logo-mark { flex: none; width: 2.375rem; height: 2.375rem; }
.logo-text { font-family: var(--display); font-size: 1.3125rem; font-weight: 700; letter-spacing: -.025em; }
.logo-text span { background: linear-gradient(90deg, #c4b5fd, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: none; align-items: center; gap: .25rem; }
.main-nav a { padding: .5rem .75rem; border-radius: calc(var(--radius) - 2px); font-size: .875rem; font-weight: 500; color: var(--muted); transition: color .15s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--fg); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) { .main-nav { display: flex; } .menu-btn { display: none; } }

/* mobile menu */
.sheet { position: fixed; inset: 0 0 0 auto; margin: 0; width: 75%; max-width: 24rem; height: 100dvh; max-height: none; padding: 1rem 1.5rem 1.5rem; border: 0; border-left: 1px solid var(--border); background: var(--night); color: var(--fg); display: none; flex-direction: column; gap: 1rem; }
.sheet[open] { display: flex; animation: sheet-in .3s ease-out; }
.sheet::backdrop { background: rgb(0 0 0 / .8); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-nav { display: flex; flex-direction: column; gap: .25rem; padding: 3rem 0 2rem; }
.sheet-nav a { display: flex; align-items: center; min-height: 3.25rem; font-size: 1.125rem; font-weight: 500; }
.sheet-nav a:hover { color: var(--brand-300); }
@keyframes sheet-in { from { transform: translateX(100%); } to { transform: none; } }

/* ---------- hero slider ---------- */
.hero { position: relative; }
.hero-viewport { overflow: hidden; }
.hero-track { display: flex; transition: transform .7s cubic-bezier(.4, 0, .2, 1); touch-action: pan-y; }
.hero-slide { position: relative; flex: 0 0 100%; min-width: 0; aspect-ratio: 9 / 16; max-height: 85svh; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--night), oklch(14% .035 300 / .7), oklch(14% .035 300 / .2)); }
.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 9rem; }
.hero-copy { display: flex; flex-direction: column; gap: 1.25rem; max-width: 42rem; }
.hero-copy .lead { max-width: 36rem; }
.hero-slide.current .hero-copy { animation: rise .7s ease-out both; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding-top: .5rem; }
.hero-trust { position: absolute; inset: auto 0 4.75rem; z-index: 10; pointer-events: none; }
.hero-trust img { height: 1.25rem; width: auto; }
.hero-controls { position: absolute; inset: auto 0 1.5rem; z-index: 10; }
.hero-controls-row { display: flex; align-items: center; justify-content: space-between; }
.hero-dots { display: flex; align-items: center; }
.hero-dots button { display: flex; align-items: center; height: 2.75rem; padding: 0 .375rem; border-radius: 999px; }
.hero-dots button > span { position: relative; display: block; width: 1.5rem; height: .25rem; overflow: hidden; border-radius: 999px; background: oklch(98.5% .01 300 / .3); transition: width .3s; }
.hero-dots button[aria-current="true"] > span { width: 3rem; }
.hero-dots button > span > span { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(0); }
.hero-dots button[aria-current="true"] > span > span { animation: progress var(--slide-ms, 6000ms) linear forwards; }
.hero.is-paused .hero-dots button[aria-current="true"] > span > span { animation-play-state: paused; }
.hero-buttons { display: flex; align-items: center; gap: .25rem; }
@media (min-width: 768px) {
  .hero-slide { aspect-ratio: 2.5 / 1; max-height: none; min-height: 520px; }
  .hero-shade { background: linear-gradient(to right, var(--night), oklch(14% .035 300 / .7), transparent); }
  .hero-content { justify-content: center; padding-bottom: 0; }
  .hero-trust img { height: 1.5rem; }
}
@media (min-width: 1024px) { .hero-slide { min-height: 600px; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }

/* ---------- marquees ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { --gap: 1rem; display: flex; width: max-content; animation: marquee var(--duration, 60s) linear infinite; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .anim-paused .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex-shrink: 0; align-items: center; gap: var(--gap); padding-right: var(--gap); }
.marquee-list li { flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.card-rows { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0; }
.cards img { width: 200px; height: auto; border-radius: .75rem; }
@media (min-width: 768px) { .cards img { width: 290px; } }
.pause-row { display: flex; justify-content: flex-end; }

/* ---------- feature sections (channels / sports / movies) ---------- */
.feature { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; background: var(--night); }
.feature-media { position: absolute; inset: 0 0 auto; height: 55svh; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 55%, transparent 100%); }
.feature-media picture { width: 100%; height: 100%; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: translateY(var(--parallax, -4%)) scale(1.08); will-change: transform; }
.feature-channels .feature-media img { object-position: 62% 50%; }
.feature-glow { position: absolute; inset: auto 0 0; height: 33%; }
.glow-magenta { background: linear-gradient(to top, oklch(70% .26 340 / .15), transparent); }
.glow-amber { background: linear-gradient(to top, oklch(82% .17 80 / .15), transparent); }
.glow-ember { background: linear-gradient(to top, oklch(66% .21 40 / .2), transparent); }
.feature-body { position: relative; z-index: 10; padding-top: 50svh; padding-bottom: 3rem; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; }
.accent-bar { margin-top: 1.5rem; height: 2px; width: 4rem; border-radius: 999px; }
.bar-magenta-cyan { background: linear-gradient(to right, var(--magenta), var(--cyan)); }
.bar-amber-cyan { background: linear-gradient(to right, var(--amber), var(--cyan)); }
.bar-ember-night { background: linear-gradient(to right, var(--ember), var(--night)); }
.feature-copy .lead { margin-top: 1.5rem; max-width: 36rem; }
.feature-copy .cta-row { margin-top: 2rem; padding-top: 0; }
.feature-strip { position: relative; z-index: 10; padding-bottom: 1.5rem; }
.logos { --gap: 3rem; }
.logos img { height: 4rem; width: auto; object-fit: contain; opacity: .9; }
.feature-movies .marquee { padding-bottom: 4rem; }
.posters { --gap: 1rem; }
.posters img { height: 14rem; width: auto; border-radius: .5rem; -webkit-box-reflect: below .25rem linear-gradient(transparent 55%, rgb(0 0 0 / .35)); }
@media (min-width: 768px) {
  .feature-media { height: 60svh; }
  .feature-body { padding-top: 54svh; }
  .logos { --gap: 4rem; }
  .logos img { height: 6rem; }
  .posters { --gap: 1.5rem; }
  .posters img { height: 18rem; }
}
@media (min-width: 1024px) {
  .feature { min-height: min(44vw, 85svh); }
  .feature-media { inset: 0; height: auto;
    -webkit-mask-image: linear-gradient(to top, #000 75%, transparent), linear-gradient(to bottom, #000 70%, transparent), linear-gradient(to left, #000 30%, transparent 60%);
    mask-image: linear-gradient(to top, #000 75%, transparent), linear-gradient(to bottom, #000 70%, transparent), linear-gradient(to left, #000 30%, transparent 60%);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
  .feature-channels .feature-media img { object-position: 50% 40%; }
  .feature-body { padding-top: 7vw; padding-bottom: 4rem; }
  .feature-copy { max-width: min(34rem, 38vw); }
  .feature-strip { margin-top: auto; }
}

/* ---------- generic sections ---------- */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-head { display: flex; flex-direction: column; gap: 1rem; max-width: 42rem; }
.section-head.center { margin-inline: auto; align-items: center; text-align: center; }
.panel { border: 1px solid var(--border); background: oklch(19% .045 300 / .7); }
.tile-ic, .round-ic, .pill-ic { display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: oklch(42% .156 293 / .3); color: var(--cyan); }
.avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: linear-gradient(to bottom right, var(--brand-400), var(--brand-700)); color: #fff; font-family: var(--display); font-weight: 700; }
.avatar.big { width: 3.5rem; height: 3.5rem; font-size: 1.5rem; }

/* ---------- how it works ---------- */
.how { position: relative; overflow: hidden; padding: 6rem 0; }
.how-grid { display: grid; align-items: center; gap: 3.5rem; }
.how-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.pills { display: flex; flex-wrap: wrap; gap: .75rem; }
.pills li { display: flex; align-items: center; gap: .625rem; min-height: 2.75rem; padding: 0 1rem 0 .375rem; border: 1px solid var(--border); border-radius: 999px; background: oklch(19% .045 300 / .7); font-size: .875rem; font-weight: 500; }
.pill-ic { width: 2rem; height: 2rem; border-radius: 999px; }
.phone-wrap { position: relative; }
.phone-glow { position: absolute; inset: 1.5rem 2rem; border-radius: 999px; background: radial-gradient(closest-side, var(--brand-800), transparent); opacity: .6; filter: blur(40px); pointer-events: none; }
.phone { position: relative; width: 100%; max-width: 24rem; margin-inline: auto; overflow: hidden; border: 1px solid var(--border); border-radius: 2rem; background: var(--chat-wallpaper); box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25); }
/* The doodle (77 KB) is only fetched once the chat demo comes into view. */
.js .phone:not(.play) .phone-doodle { display: none; }
.phone-doodle { position: absolute; inset: 0; background: oklch(98.5% .01 300 / .08); -webkit-mask-image: url("/images/landing/chat/whatsapp-doodle.png"); mask-image: url("/images/landing/chat/whatsapp-doodle.png"); -webkit-mask-size: 240px; mask-size: 240px; }
.phone-head { position: relative; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid var(--border); background: var(--chat-in); }
.phone-head .who { display: flex; flex-direction: column; line-height: 1.25; }
.phone-head .who strong { font-size: .875rem; font-weight: 600; }
.phone-head .who small { font-size: .75rem; color: var(--whatsapp); }
.phone-tools { margin-left: auto; display: flex; align-items: center; gap: 1rem; color: var(--muted); }
.phone-tools .ic { width: 1.25rem; height: 1.25rem; }
.phone-log { position: relative; display: flex; flex-direction: column; gap: .625rem; min-height: 24rem; padding: .75rem .75rem 1rem; }
.phone-log .day { align-self: center; margin-bottom: .25rem; padding: .25rem .75rem; border-radius: .5rem; background: oklch(14% .035 300 / .7); font-size: .75rem; color: var(--muted); }
.bubble-row { display: flex; }
.bubble-row.out { justify-content: flex-end; }
.bubble { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .25rem .75rem; max-width: 82%; padding: .625rem .875rem; border-radius: 1rem; font-size: 15px; line-height: 1.375; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.out .bubble { background: var(--chat-out); border-top-right-radius: .25rem; }
.in .bubble { background: var(--chat-in); border-top-left-radius: .25rem; }
.bubble .time { margin-left: auto; display: flex; align-items: center; gap: .25rem; font-size: .65rem; color: var(--muted); }
.bubble .time .ic { width: .875rem; height: .875rem; color: var(--cyan); }
.typing { display: flex; align-items: center; gap: .25rem; padding: .75rem .875rem; border-radius: 1rem; border-top-left-radius: .25rem; background: var(--chat-in); }
.typing span { width: .375rem; height: .375rem; border-radius: 999px; background: oklch(98.5% .01 300 / .7); animation: typing 1.4s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { opacity: .4; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.js [data-chat-demo] .bubble-row:not(.typing-row) { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.js [data-chat-demo].play .bubble-row:not(.typing-row) { opacity: 1; transform: none; }
.phone-input { position: relative; display: flex; align-items: center; gap: .5rem; padding: .625rem .75rem; border-top: 1px solid var(--border); background: var(--chat-in); color: var(--muted); }
.phone-input .field { flex: 1; display: flex; align-items: center; gap: .75rem; height: 2.5rem; padding: 0 1rem; border-radius: 999px; background: var(--night); font-size: .875rem; }
.phone-input .field > span { flex: 1; }
.phone-input .mic { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--whatsapp); color: var(--night); }
@media (min-width: 768px) { .how { padding: 8rem 0; } }
@media (min-width: 1024px) { .how-grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; } }

/* ---------- devices & players ---------- */
.device-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.device { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.75rem 1rem; border-radius: 1.5rem; text-align: center; }
.device strong { font-weight: 600; }
.device > span:last-child { font-size: .875rem; color: var(--muted); }
.tile-ic { width: 4rem; height: 4rem; border-radius: 1rem; }
.tile-ic .ic { width: 1.75rem; height: 1.75rem; }
@media (min-width: 640px) { .device-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .device-grid { grid-template-columns: repeat(6, 1fr); } }
.players { display: flex; flex-direction: column; gap: 2rem; }
.app-chip { display: flex; align-items: center; gap: .75rem; min-height: 3.5rem; padding: .5rem 1.25rem .5rem .5rem; border: 1px solid var(--border); border-radius: 1rem; background: oklch(19% .045 300 / .7); font-size: .875rem; font-weight: 500; }
.app-chip img { width: 2.5rem; height: 2.5rem; border-radius: .75rem; object-fit: cover; }
.license-grid { display: grid; gap: 1rem; }
.license { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.25rem; border-radius: 1.5rem; }
.license h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.license strong { font-weight: 600; color: var(--fg); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .25rem .75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--night); font-size: .875rem; font-weight: 500; }
.license-actions { margin-top: auto; display: flex; flex-direction: column; gap: .75rem; }
.license-actions .btn { width: 100%; min-height: 3rem; padding: .75rem 1rem; border-radius: 999px; font-size: .875rem; white-space: normal; }
.btn-outline { border: 1px solid var(--border); background: var(--night); }
.btn-outline:hover { background: var(--night-elevated); }
.license.gold { border-color: oklch(82% .17 80 / .5); box-shadow: 0 0 56px -20px var(--amber), 0 0 0 1px oklch(82% .17 80 / .3); }
.license.gold h3 { color: var(--amber); }
.license.gold .tags li { border-color: oklch(82% .17 80 / .4); background: oklch(82% .17 80 / .1); color: var(--amber); }
.btn-gold { background: var(--amber); color: var(--night); font-weight: 600; box-shadow: 0 12px 28px -12px var(--amber); }
.btn-gold:hover { background: oklch(82% .17 80 / .9); }
.note { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border-radius: 1rem; font-size: .875rem; color: var(--muted); }
.note .ic { color: var(--cyan); }
.note strong { font-weight: 600; color: var(--fg); }
@media (min-width: 640px) { .license { padding: 1.5rem; } .license-actions .btn { font-size: 1rem; } }
@media (min-width: 768px) { .license-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } .license { padding: 2rem; } .note { padding-inline: 1.5rem; } }

/* ---------- pricing ---------- */
.pricing { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.segmented { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .25rem; padding: .25rem; border-radius: 999px; background: var(--night-elevated); }
.segmented button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 2.75rem; border-radius: 999px; font-weight: 500; color: var(--muted); transition: background-color .25s, color .25s; }
.segmented button:hover { color: var(--fg); }
.segmented button[aria-checked="true"] { background: var(--primary); color: oklch(98.5% 0 0); }
/* Billing cycle picker: one tile per cycle. 5 in a row on larger screens, 3 + 2 on phones. */
/* Phones: a 6-column grid, each tile 2 columns wide: 3 on top, the last 2 centred below. */
.cycle-picker { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .875rem .5rem; width: 100%; max-width: 54rem; padding-top: .625rem; }
.cycle-opt:nth-child(n) { grid-column: span 2; }
.cycle-opt:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
.cycle-opt { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  min-height: 5rem; padding: 1.1rem .5rem .8rem; border: 1px solid var(--border); border-radius: 1rem; background: oklch(19% .045 300 / .7); text-align: center; cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s; -webkit-tap-highlight-color: transparent; }
.cycle-opt:hover { border-color: oklch(100% 0 0 / .28); background: oklch(22% .05 300 / .85); }
.cycle-opt:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.cycle-opt[aria-checked="true"] { border-color: var(--brand-400); background: linear-gradient(180deg, oklch(42% .156 293 / .35), oklch(29% .11 293 / .25)); box-shadow: 0 0 0 1px var(--brand-400), 0 14px 34px -16px var(--glow-brand); }
.cycle-label { font-family: var(--display); font-size: 1rem; font-weight: 600; line-height: 1.2; color: var(--fg); white-space: nowrap; }
.cycle-save { font-size: .75rem; line-height: 1.3; color: var(--muted); }
.cycle-opt[aria-checked="true"] .cycle-save { color: var(--cyan); font-weight: 500; }
.cycle-radio { position: absolute; top: .55rem; left: .55rem; width: .875rem; height: .875rem; border: 1.5px solid oklch(100% 0 0 / .35); border-radius: 50%; transition: border-color .2s, background-color .2s; }
.cycle-opt[aria-checked="true"] .cycle-radio { border-color: var(--brand-300); background: radial-gradient(circle, #fff 0 32%, var(--brand-400) 36%); }
.cycle-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: .15rem .55rem; border: 1px solid oklch(86% .13 205 / .45); border-radius: 999px;
  background: var(--night); color: var(--cyan); font-size: .625rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.cycle-opt[aria-checked="true"] .cycle-badge { border-color: var(--brand-400); background: var(--brand-600); color: #fff; }
@media (max-width: 639px) {
  .cycle-picker { row-gap: 1.25rem; }
  .cycle-radio { display: none; } /* the highlighted border shows the choice; saves room on phones */
  .cycle-badge { padding: .1rem .45rem; font-size: .5625rem; letter-spacing: .04em; }
}
@media (min-width: 640px) {
  .cycle-picker { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
  .cycle-opt:nth-child(n), .cycle-opt:nth-child(4):nth-last-child(2) { grid-column: auto; }
  .cycle-opt { min-height: 5.5rem; }
  .cycle-label { font-size: 1.0625rem; }
  .cycle-save { font-size: .8125rem; }
}
@media (hover: hover) { .cycle-opt:hover { transform: translateY(-1px); } }
.devices { display: flex; width: 100%; gap: 2px; }
.devices button { flex: 1; padding: 0 .75rem; font-size: .75rem; }
.plans { display: grid; width: 100%; gap: 1.5rem; align-items: stretch; }

/* Each package has its own colours: --t1/--t2 gradient, --tink text on the gradient. */
.tier-standard { --t1: #0e9fb3; --t2: #5eead4; --tglow: oklch(80% .12 190 / .28); --tsoft: oklch(80% .12 190 / .12); --tline: oklch(80% .12 190 / .45); --taccent: #67e8f9; --tink: #04161b; }
.tier-ultra { --t1: #6d3cf0; --t2: #b026c9; --tglow: oklch(62% .24 310 / .38); --tsoft: oklch(62% .24 310 / .14); --tline: oklch(70% .2 310 / .6); --taccent: #e9a8ff; --tink: #fff; }
.tier-diamond { --t1: #d99a1e; --t2: #fde68a; --tglow: oklch(85% .14 85 / .28); --tsoft: oklch(85% .14 85 / .12); --tline: oklch(85% .14 85 / .5); --taccent: #fcd34d; --tink: #1c1300; }

.plan { position: relative; display: flex; flex-direction: column; gap: 1.25rem; height: 100%; padding: 0 1.5rem 1.5rem; border-radius: 1.5rem; border-color: var(--tline); overflow: hidden;
  background: linear-gradient(180deg, var(--tsoft), transparent 45%), oklch(19% .045 300 / .8); box-shadow: 0 24px 60px -30px var(--tglow); }
.plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--t1), var(--t2)); }
.plan-top { display: flex; align-items: center; gap: .875rem; padding-top: 1.75rem; }
.plan-icon { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: linear-gradient(135deg, var(--t1), var(--t2)); color: var(--tink); box-shadow: 0 10px 24px -10px var(--tglow); }
.plan-icon .ic { width: 1.6rem; height: 1.6rem; }
.plan-head { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
.plan h3 { font-family: var(--display); font-size: 1.625rem; font-weight: 700; line-height: 1.1; background: linear-gradient(90deg, #fff 30%, var(--taccent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-sub { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--taccent); }
.plan-tagline { margin-top: -.25rem; font-size: .9375rem; color: var(--muted); }
.plan-ribbon { position: absolute; top: 1.1rem; right: -3.1rem; width: 11.5rem; padding: .3rem 0; transform: rotate(35deg); background: linear-gradient(90deg, var(--t1), var(--t2)); color: var(--tink); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-align: center; text-transform: uppercase; box-shadow: 0 4px 12px oklch(0% 0 0 / .35); }
.plan .devices button[aria-checked="true"] { background: linear-gradient(135deg, var(--t1), var(--t2)); color: var(--tink); }
.plan .price .amount { color: #fff; }
.plan .price .cur { color: var(--taccent); }
.plan .checks .ic { color: var(--taccent); }
.btn-plan { background: linear-gradient(135deg, var(--t1), var(--t2)); color: var(--tink); font-weight: 600; box-shadow: 0 12px 30px -12px var(--tglow); transition: filter .15s, transform .15s; }
.btn-plan:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-plan:focus-visible { outline: 2px solid var(--taccent); outline-offset: 3px; }
.tier-diamond .plan-icon, .tier-diamond .btn-plan { background: linear-gradient(135deg, #b7791f, #fcd34d 55%, #fff7d6); }
@media (min-width: 768px) {
  .plan { padding: 0 1.75rem 1.75rem; }
  .plan.popular { transform: translateY(-.75rem); box-shadow: 0 30px 80px -30px var(--tglow), 0 0 0 1px var(--tline); }
}

/* The free app that comes with the 1-year and 2-year plans */
.plan-gift { display: flex; align-items: center; gap: .75rem; padding: .75rem .875rem; border: 1px dashed var(--tline); border-radius: .875rem; background: var(--tsoft); }
.plan-gift[hidden] { display: none; }
.plan-gift > .ic { flex: none; width: 1.5rem; height: 1.5rem; color: var(--taccent); }
.plan-gift span { display: flex; flex-direction: column; line-height: 1.3; }
.plan-gift strong { font-size: .875rem; font-weight: 600; color: var(--fg); }
.plan-gift small { font-size: .8125rem; color: var(--taccent); }
.plan-gift.pop { animation: gift-pop .45s ease-out; }
@keyframes gift-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.badge { font-size: .875rem; font-weight: 500; color: var(--cyan); }
.price-block { display: flex; flex-direction: column; gap: .25rem; }
.price { display: flex; align-items: baseline; gap: .5rem; overflow: hidden; }
.price .cur { font-size: 1.25rem; color: var(--muted); }
.price .amount { display: inline-block; font-family: var(--display); font-size: 3rem; line-height: 1; font-weight: 700; letter-spacing: -.025em; }
.price .amount.bump { animation: bump .35s ease-out; }
@keyframes bump { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
.checks { display: flex; flex-direction: column; gap: .625rem; font-size: .875rem; }
.checks li { display: flex; align-items: flex-start; gap: .5rem; }
.checks .ic { margin-top: .15rem; color: var(--cyan); }
.plan-cta { margin-top: auto; }
.btn-plan { width: 100%; min-height: 3rem; border-radius: .75rem; font-size: 1rem; }
.payments { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.payments ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.payments img { width: 3rem; height: 30px; border-radius: 2px; object-fit: contain; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan { padding: 1.75rem; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 1.5rem; }
.quote { display: flex; flex-direction: column; gap: 1.5rem; height: 100%; padding: 1.75rem; border-radius: 1.5rem; }
.quote blockquote { font-family: var(--display); font-size: 1.25rem; line-height: 1.375; font-weight: 500; text-wrap: balance; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 1rem; }
.quote figcaption > span:last-child { display: flex; flex-direction: column; }
.quote strong { font-weight: 600; }
.quote small { font-size: .875rem; color: var(--muted); }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, 1fr); } .quote { padding: 2rem; } .quote blockquote { font-size: 1.5rem; } }

.stars { color: var(--amber); letter-spacing: .1em; font-size: 1.125rem; line-height: 1; white-space: nowrap; }
.stars-off { color: oklch(100% 0 0 / .18); }
.quote-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: -.5rem; }
.verified { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: 999px; background: oklch(80% .19 155 / .12); color: oklch(85% .14 155); font-size: .75rem; font-weight: 600; }
.verified .ic { width: .8rem; height: .8rem; }
.quote.real blockquote { font-size: 1.125rem; }
@media (min-width: 768px) { .quote.real blockquote { font-size: 1.25rem; } }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; margin-top: -1.5rem; color: var(--muted); }
.rating-summary strong { color: var(--fg); font-size: 1.125rem; }

/* ---------- review form ---------- */
.review-page { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 6rem; display: flex; flex-direction: column; gap: 1.25rem; }
.review-card { display: flex; flex-direction: column; margin-top: 1rem; padding: 1.5rem; border-radius: 1.5rem; }
.review-card label, .review-card legend { margin: 1.25rem 0 .5rem; font-size: .875rem; font-weight: 500; padding: 0; }
.review-card .opt { color: var(--muted); font-weight: 400; }
.review-card input:not([type=radio]), .review-card textarea, .review-card select { width: 100%; min-height: 2.75rem; padding: .25rem .75rem; border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); background: transparent; font-size: 1rem; }
.review-card select { background: var(--night); }
.review-card textarea { min-height: 8rem; padding-block: .5rem; resize: vertical; }
.review-card input:focus, .review-card textarea:focus, .review-card select:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px oklch(67% .15 293 / .5); }
.review-card .hint { margin-top: .5rem; font-size: .8125rem; color: var(--muted); }
.review-card button[type=submit] { margin-top: 1.5rem; }
.review-card .form-status { margin-bottom: .25rem; }
.review-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .review-row { grid-template-columns: 1fr 1fr; } .review-card { padding: 2rem; } }
.code-ok { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .35rem .8rem; border-radius: 999px; background: oklch(80% .19 155 / .12); color: oklch(85% .14 155); font-size: .875rem; font-weight: 600; }
.star-field { margin: 0; padding: 0; border: 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .25rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { margin: 0; font-size: 2.5rem; line-height: 1; color: oklch(100% 0 0 / .18); cursor: pointer; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--amber); }
.star-input label:hover { transform: scale(1.1); }
.star-input input:focus-visible + label { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
.center-card { align-items: center; text-align: center; gap: 1rem; padding-block: 2.5rem; }
.center-card h2 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.big-ic { width: 3.5rem; height: 3.5rem; }

/* ---------- all reviews (/reviews) ---------- */
.reviews-page, .channels-page { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 6rem; display: flex; flex-direction: column; gap: 1.5rem; }
.page-head { display: flex; flex-direction: column; gap: .75rem; max-width: 46rem; }
.rating-board { display: grid; gap: 1.5rem; padding: 1.5rem; border-radius: 1.5rem; align-items: center; }
.rating-big { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.rating-big strong { font-family: var(--display); font-size: 3.5rem; line-height: 1; font-weight: 700; }
.rating-big .stars { font-size: 1.375rem; }
.rating-bars { display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; }
.rating-bars li { display: grid; grid-template-columns: 2.75rem 1fr 2.5rem; align-items: center; gap: .75rem; }
.rating-bars li > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.rating-bars .bar { height: .5rem; border-radius: 999px; background: oklch(100% 0 0 / .1); overflow: hidden; }
.rating-bars .bar span { display: block; height: 100%; border-radius: 999px; background: var(--amber); }
@media (min-width: 768px) { .rating-board { grid-template-columns: 14rem 1fr; padding: 2rem; } }
.reviews-list .quote { opacity: 1; transform: none; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; }
.pager ol { display: flex; flex-wrap: wrap; gap: .375rem; }
.pager a, .pager .pager-step, .pager .gap { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; min-width: 2.75rem; height: 2.75rem; padding: 0 .75rem; border-radius: var(--radius); font-weight: 600; font-variant-numeric: tabular-nums; }
.pager a { border: 1px solid var(--border); color: var(--fg); transition: background .15s, border-color .15s; }
.pager a:hover { background: oklch(100% 0 0 / .06); border-color: oklch(100% 0 0 / .25); }
.pager a[aria-current="page"] { background: var(--primary); border-color: var(--brand-400); }
.pager .off { color: oklch(100% 0 0 / .3); }
.pager .gap { min-width: 1.5rem; padding: 0; color: var(--muted); }
.pager .ic { width: 1rem; height: 1rem; }
@media (max-width: 479px) { .pager-step span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.reviews-cta { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; padding: 1.5rem; border-radius: 1.5rem; }
.reviews-cta h2 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.reviews-cta .cta-row { flex-wrap: wrap; }
@media (min-width: 768px) { .reviews-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 2rem; } }

/* ---------- channel checker (/channels) ---------- */
.xt-login { max-width: 40rem; }
.xt-login h2 { font-family: var(--display); font-size: 1.375rem; font-weight: 600; margin-bottom: .25rem; }
.xt-login .hint { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.xt-login .hint .ic { width: .9rem; height: .9rem; color: var(--cyan); }
.xt-login .hint .link-btn { color: var(--brand-300); text-decoration: underline; text-underline-offset: 3px; }
.review-card .check-line { display: inline-flex; align-items: center; gap: .6rem; margin: 1rem 0 0; font-weight: 400; color: var(--muted); cursor: pointer; }
.review-card .check-line input { width: 1.125rem; min-height: 0; height: 1.125rem; padding: 0; accent-color: var(--brand-400); }
.xt-app { display: flex; flex-direction: column; gap: 1.25rem; }
.xt-app[hidden], .xt-login[hidden], .xt-player[hidden] { display: none; }
.xt-account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: 1.25rem; }
.xt-account dl { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.xt-account dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.xt-account dd { font-weight: 600; }
.xt-account dd.ok { color: oklch(85% .14 155); }
.xt-account dd.warn { color: var(--amber); }
.xt-player { overflow: hidden; border-radius: 1.25rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.xt-player > .hint { padding: 0 1.25rem 1rem; font-size: .8125rem; color: var(--muted); }
.xt-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.xt-video video { width: 100%; height: 100%; display: block; background: #000; }
.xt-video-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; background: oklch(14% .035 300 / .92); color: var(--fg); line-height: 1.5; }
.xt-video-msg[hidden] { display: none; }
.xt-now { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: 1rem 1.25rem; }
.xt-now > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.xt-now strong { font-size: 1.125rem; overflow-wrap: anywhere; }
.xt-now-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
/* search boxes */
.xt-search, .xt-group-filter { position: relative; }
.xt-search .ic, .xt-group-filter .ic { position: absolute; left: .9rem; top: 50%; translate: 0 -50%; width: 1.1rem; height: 1.1rem; color: var(--muted); pointer-events: none; }
.xt-search input, .xt-group-filter input { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); background: var(--night); font-size: 1rem; }
.xt-search input:focus, .xt-group-filter input:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px oklch(67% .15 293 / .5); }
.xt-search-main { position: sticky; top: calc(var(--header-h) + .5rem); z-index: 5; }
.xt-search-main input { min-height: 3.5rem; padding: .5rem 3rem .5rem 3rem; border-radius: 1rem; font-size: 1.0625rem; background: oklch(19% .045 300); box-shadow: 0 10px 30px -12px oklch(0% 0 0 / .7); }
.xt-search-main .ic { left: 1.1rem; width: 1.25rem; height: 1.25rem; }
.xt-search-main kbd { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; display: none; padding: .1rem .5rem; border: 1px solid var(--border); border-radius: .375rem; font: inherit; font-size: .8125rem; color: var(--muted); pointer-events: none; }
.xt-search-main input:placeholder-shown + kbd { display: block; }
@media (hover: none) { .xt-search-main kbd { display: none !important; } }
.xt-group-filter input { min-height: 2.5rem; padding: .25rem .75rem .25rem 2.5rem; font-size: .9375rem; }

/* groups beside the list */
.xt-browse { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 1024px) { .xt-browse { grid-template-columns: 17.5rem minmax(0, 1fr); gap: 2rem; } }
.xt-groups { border-radius: 1rem; overflow: hidden; }
.xt-groups summary { display: flex; align-items: center; gap: .6rem; padding: .875rem 1rem; cursor: pointer; list-style: none; }
.xt-groups summary::-webkit-details-marker { display: none; }
.xt-groups summary strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xt-groups summary .ic { width: 1.1rem; height: 1.1rem; transition: rotate .2s; }
.xt-groups[open] summary .ic { rotate: 180deg; }
.xt-groups .xt-group-filter { margin: 0 .75rem .75rem; }
.xt-group-list { max-height: 60vh; overflow-y: auto; padding: 0 .5rem .75rem; overscroll-behavior: contain; }
@media (min-width: 1024px) {
  .xt-side { position: sticky; top: calc(var(--header-h) + 5.5rem); }
  .xt-groups summary { display: none; }
  .xt-groups .xt-group-filter { margin-top: .75rem; }
  .xt-group-list { max-height: calc(100vh - var(--header-h) - 12rem); }
}
.xt-cat, .xt-gp-head { width: 100%; display: flex; align-items: center; gap: .5rem; min-height: 2.5rem; padding: .375rem .625rem; border-radius: .625rem; text-align: left; font-size: .9375rem; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.xt-cat:hover, .xt-gp-head:hover { background: oklch(100% 0 0 / .06); color: var(--fg); }
.xt-cat:focus-visible, .xt-gp-head:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
.xt-cat[aria-current="true"] { background: oklch(42% .156 293 / .55); color: var(--fg); font-weight: 600; }
.xt-cat-name, .xt-gp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xt-gp-head { color: var(--fg); font-weight: 600; }
.xt-gp-head .ic { flex: none; width: 1rem; height: 1rem; color: var(--muted); transition: rotate .2s; }
.xt-gp-head[aria-expanded="true"] .ic { rotate: 90deg; }
.xt-gp-list { margin: .125rem 0 .375rem 1.1rem; padding-left: .5rem; border-left: 1px solid var(--border); }
.xt-gp-list[hidden] { display: none; }
.xt-n { flex: none; min-width: 2rem; padding: .05rem .45rem; border-radius: 999px; background: oklch(100% 0 0 / .07); font-size: .75rem; font-weight: 500; text-align: center; font-variant-numeric: tabular-nums; color: var(--muted); }
.xt-none { padding: .5rem .625rem; }

/* results */
.xt-main { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.xt-head { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.xt-head h2 { font-family: var(--display); font-size: 1.625rem; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.xt-head .link-btn { color: var(--brand-300); text-decoration: underline; text-underline-offset: 3px; }
.xt-back { font-size: .875rem; }
.xt-back .ic { width: 1rem; height: 1rem; }
.xt-back[hidden] { display: none; }
.xt-results { display: flex; flex-direction: column; gap: 2rem; }
.xt-section { display: flex; flex-direction: column; gap: .75rem; }
.xt-section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.xt-section-head h3 { display: flex; align-items: center; gap: .5rem; font-family: var(--display); font-size: 1.1875rem; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.xt-tag { flex: none; padding: .1rem .5rem; border-radius: .375rem; background: oklch(42% .156 293 / .5); color: var(--brand-300); font-family: var(--font); font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.xt-see-all { margin-left: auto; font-size: .875rem; }
.xt-see-all .ic { width: 1rem; height: 1rem; }
.xt-channel mark { background: oklch(82% .17 80 / .28); color: var(--fg); border-radius: 2px; padding: 0 1px; }
.xt-list { display: grid; gap: .5rem; }
@media (min-width: 640px) { .xt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .xt-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.xt-channel { width: 100%; display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; border: 1px solid var(--border); border-radius: .875rem; background: oklch(19% .045 300 / .7); text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.xt-channel:hover { background: oklch(24% .06 300 / .85); border-color: oklch(100% 0 0 / .22); }
.xt-channel:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.xt-channel[aria-current="true"] { border-color: var(--brand-400); background: oklch(29% .11 293 / .6); }
.xt-logo { position: relative; flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .625rem; background: oklch(100% 0 0 / .08); font-family: var(--display); font-weight: 700; color: var(--muted); overflow: hidden; }
.xt-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: .25rem; background: oklch(24% .04 300); }
.xt-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.xt-text strong { font-weight: 600; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xt-text small { font-size: .8125rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xt-play { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--primary); color: #fff; }
.xt-play svg { width: 1rem; height: 1rem; }
.xt-channel[aria-current="true"] .xt-play { background: var(--brand-400); }
.big-ic .ic { width: 1.75rem; height: 1.75rem; }

/* ---------- showcase ---------- */
.showcase { overflow: hidden; }
.showcase-grid { display: grid; align-items: center; gap: 3rem; }
.showcase-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.showcase-art { position: relative; }
.showcase-glow { position: absolute; inset: 4rem 2.5rem; border-radius: 999px; background: radial-gradient(closest-side, var(--brand-800), transparent); opacity: .7; filter: blur(64px); pointer-events: none; }
.showcase-art img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 25px 25px rgb(0 0 0 / .15)); transform: translateY(var(--float, 6%)); }
@media (min-width: 1024px) { .showcase-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } .showcase-art { margin-right: -6rem; } }
@media (min-width: 1280px) { .showcase-art { margin-right: -10rem; } }

/* ---------- technology ---------- */
.tech { display: grid; }
.tech > div { display: flex; gap: 1.25rem; padding: 1.75rem 0; border-top: 1px solid var(--border); }
.round-ic { width: 2.75rem; height: 2.75rem; border-radius: 999px; }
.round-ic .ic { width: 1.25rem; height: 1.25rem; }
.tech > div > div { display: flex; flex-direction: column; gap: .375rem; }
.tech dt { font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.tech dd { color: var(--muted); text-wrap: pretty; }
@media (min-width: 768px) { .tech { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

/* ---------- final call to action ---------- */
.final-cta { position: relative; isolation: isolate; overflow: hidden; padding: 7rem 0; }
.final-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.final-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--night), oklch(14% .035 300 / .7), var(--night)); }
.final-cta .grain { z-index: -1; }
.final-copy { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.final-copy .h-feature { font-size: 2.25rem; }
.final-copy .lead { max-width: 36rem; }
@media (min-width: 768px) { .final-cta { padding: 10rem 0; } .final-copy .h-feature { font-size: 3.75rem; } }
@media (min-width: 1024px) { .final-copy .h-feature { font-size: 4.5rem; } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details { border: 1px solid var(--border); border-radius: .75rem; background: oklch(19% .045 300 / .6); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; padding: 1rem 1.25rem; border-radius: .75rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1rem; font-weight: 500; }
.faq summary .ic { width: 1.25rem; height: 1.25rem; color: var(--muted); transition: transform .3s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 1.25rem 1.25rem; color: var(--muted); text-wrap: pretty; }
.faq details[open] .faq-a { animation: rise .3s ease-out; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--night); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand p { max-width: 20rem; font-size: .875rem; color: var(--muted); }
.site-footer h2 { margin-bottom: .75rem; font-size: .875rem; font-weight: 600; }
.site-footer ul { display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .wrap { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.5rem; font-size: .875rem; color: var(--muted); }
.footer-bottom-row { display: flex; flex-direction: column; gap: .75rem; }
.footer-bottom-row ul { flex-direction: row; flex-wrap: wrap; gap: .5rem 1.25rem; }
.fine { font-size: .75rem; text-wrap: pretty; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-bottom-row { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- contact chooser ---------- */
.modal { width: calc(100% - 2rem); max-width: 32rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--night); color: var(--fg); box-shadow: 0 10px 15px -3px rgb(0 0 0 / .3); }
.modal[open] { animation: pop .2s ease-out; }
.modal::backdrop { background: rgb(0 0 0 / .8); }
.modal h2 { font-size: 1.125rem; font-weight: 600; line-height: 1.2; }
.modal p { margin-top: .5rem; font-size: .875rem; }
.modal-close { position: absolute; top: .75rem; right: .75rem; width: 2rem; height: 2rem; opacity: .7; }
.modal-close:hover { opacity: 1; background: none; }
.modal-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }
.modal-actions .btn { min-height: 3.5rem; border-radius: .75rem; font-size: 1rem; font-weight: 600; color: var(--night); }
.btn-whatsapp { background: var(--whatsapp); }
.btn-whatsapp:hover { background: oklch(80% .19 155 / .9); }
.btn-telegram { background: var(--telegram); }
.btn-telegram:hover { background: oklch(70% .14 237 / .9); }
@keyframes pop { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }

/* ---------- contact page ---------- */
.contact-page { padding: calc(var(--header-h) + 3rem) 0 6rem; }
.contact-grid { display: grid; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.contact-info .h-page { margin-bottom: -.25rem; }
.contact-info .lead { max-width: 30rem; }
.contact-list { width: 100%; max-width: 32rem; margin-top: 1rem; border-top: 1px solid var(--border); }
.contact-list li { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.contact-list li > span:last-child { display: flex; flex-direction: column; }
.contact-list small { font-size: .875rem; color: var(--muted); }
.contact-list a { font-weight: 600; }
.contact-list a:hover { color: var(--brand-300); }
.hours { display: flex; align-items: center; gap: .75rem; font-size: .875rem; color: var(--muted); }
.hours .ic { width: 1.25rem; height: 1.25rem; color: var(--cyan); }
.contact-form { display: flex; flex-direction: column; padding: 1.5rem; border-radius: 1.5rem; }
.contact-form h2 { margin-bottom: 1rem; font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.contact-form label { margin: 1rem 0 .5rem; font-size: .875rem; font-weight: 500; }
.contact-form h2 + .form-status + label, .contact-form h2 + label { margin-top: 0; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 2.75rem; padding: .25rem .75rem; border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); background: transparent; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.contact-form textarea { min-height: 10rem; padding-block: .5rem; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px oklch(67% .15 293 / .5); }
.contact-form [aria-invalid="true"] { border-color: oklch(63.7% .237 25.331); }
.contact-form button[type="submit"] { margin-top: 1.25rem; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.form-status { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: .75rem; font-size: .875rem; }
.form-status.ok { background: oklch(80% .19 155 / .12); border: 1px solid oklch(80% .19 155 / .4); color: oklch(88% .12 155); }
.form-status.err { background: oklch(63.7% .237 25.331 / .12); border: 1px solid oklch(63.7% .237 25.331 / .4); color: oklch(85% .09 25); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* ---------- policy & 404 ---------- */
.policy { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 6rem; }
.policy header { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 2rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.policy .effective { font-size: .875rem; color: var(--muted); }
.policy section { padding-top: 2.5rem; }
.policy h2 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .75rem; }
.policy section p, .policy section li { color: var(--muted); }
.policy ul { margin-top: .75rem; padding-left: 1.25rem; list-style: disc; display: flex; flex-direction: column; gap: .375rem; }
.not-found { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-top: calc(var(--header-h) + 5rem); padding-bottom: 8rem; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none !important; }
  .typing-row { display: none; }
  .js [data-reveal], .js [data-chat-demo] .bubble-row { opacity: 1 !important; transform: none !important; }
}

/* ---------- guides (/blog) ---------- */
.blog-page { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 6rem; display: flex; flex-direction: column; gap: 1.5rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .8125rem; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: underline; text-decoration-color: oklch(100% 0 0 / .25); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--fg); }
.crumbs [aria-current] { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.cat-chips ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-chips a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; padding: .375rem .875rem; border: 1px solid var(--border); border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--muted); transition: background .15s, color .15s, border-color .15s; }
.cat-chips a:hover { color: var(--fg); border-color: oklch(100% 0 0 / .25); }
.cat-chips a[aria-current="page"] { background: var(--primary); border-color: var(--brand-400); color: var(--fg); }
.cat-chips span { font-size: .75rem; opacity: .75; font-variant-numeric: tabular-nums; }
.post-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { height: 100%; border-radius: 1.25rem; overflow: hidden; transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: oklch(100% 0 0 / .28); transform: translateY(-2px); }
.post-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.post-link:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; border-radius: 1.25rem; }
.post-cover { position: relative; display: grid; place-items: center; height: 7.5rem; overflow: hidden; color: #fff; }
.post-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, oklch(100% 0 0 / .18), transparent 55%); }
.post-cover .ic { width: 2.75rem; height: 2.75rem; opacity: .95; }
.cat-setup { background: linear-gradient(135deg, #5a2fd0, #8a63ff); }
.cat-apps { background: linear-gradient(135deg, #0e7490, #67e8f9); }
.cat-troubleshooting { background: linear-gradient(135deg, #b45309, #f59e0b); }
.cat-basics { background: linear-gradient(135deg, #7e22ce, #c026d3); }
.cat-streaming { background: linear-gradient(135deg, #be123c, #fb7185); }
.cat-account { background: linear-gradient(135deg, #047857, #34d399); }
.post-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.25rem 1.375rem 1.375rem; }
.post-body h3 { font-family: var(--display); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.post-desc { font-size: .9375rem; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-cat { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--cyan); }
.post-meta { margin-top: auto; padding-top: .25rem; font-size: .8125rem; color: var(--muted); }

/* article */
.article { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 6rem; display: flex; flex-direction: column; gap: 2rem; }
.article-head { display: flex; flex-direction: column; gap: .875rem; max-width: 50rem; }
.article-head .h-page { font-size: 2.125rem; line-height: 1.1; }
@media (min-width: 768px) { .article-head .h-page { font-size: 3rem; } }
.article-head .post-cat:hover { text-decoration: underline; }
.article-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .article-grid { grid-template-columns: 15rem minmax(0, 46rem); gap: 3.5rem; } .article-grid.no-toc { grid-template-columns: minmax(0, 46rem); } }
.toc { padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 1rem; font-size: .875rem; }
@media (min-width: 1024px) { .toc { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; } }
.toc-title { margin-bottom: .5rem; font-weight: 600; color: var(--fg); }
.toc ol { display: flex; flex-direction: column; gap: .375rem; padding-left: 1.1rem; list-style: decimal; color: var(--muted); }
.toc a { color: var(--muted); line-height: 1.4; }
.toc a:hover { color: var(--fg); text-decoration: underline; }
.prose { font-size: 1.0625rem; line-height: 1.75; color: oklch(92% .015 300); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-family: var(--display); font-size: 1.625rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--fg); scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h3 { margin-top: 1.7em; font-family: var(--display); font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--fg); scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand-300); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--brand-300); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--cyan); }
.prose code { padding: .1em .4em; border-radius: .375rem; background: oklch(100% 0 0 / .08); font-size: .9em; overflow-wrap: anywhere; }
.callout { padding: 1rem 1.25rem; border-left: 3px solid var(--cyan); border-radius: 0 .75rem .75rem 0; background: oklch(86% .13 205 / .08); }
.callout-important { border-left-color: var(--amber); background: oklch(82% .17 80 / .08); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: .75rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.prose th, .prose td { padding: .625rem .875rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.prose thead th { background: oklch(100% 0 0 / .05); color: var(--fg); font-weight: 600; white-space: nowrap; }
.prose tbody th { color: var(--fg); font-weight: 600; }
.prose tr:last-child > * { border-bottom: 0; }
.article-cta { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; border-radius: 1.5rem; background: linear-gradient(135deg, oklch(29% .11 293 / .7), oklch(19% .045 300 / .7)); }
.article-cta h2 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.article-cta .cta-row { flex-wrap: wrap; }
@media (min-width: 768px) { .article-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 2rem; } }
.related { display: flex; flex-direction: column; gap: 1.25rem; }
.h-related { font-family: var(--display); font-size: 1.75rem; font-weight: 700; }

/* ---------- channels page: Live TV / Movies / Series ---------- */
.xt-choice { display: flex; flex-direction: column; gap: 1.25rem; padding: .5rem 0 1rem; }
.xt-choice[hidden], .xt-tabs[hidden], .xt-vod[hidden], [data-xt-live][hidden], .xt-notice[hidden], .xt-cc[hidden], .xt-cc-menu[hidden] { display: none; }
.xt-choice h2 { font-family: var(--display); font-size: 1.75rem; font-weight: 700; letter-spacing: -.01em; }
.xt-choice-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .xt-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.xt-choice-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; min-height: 11rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1.5rem; text-align: left; cursor: pointer; overflow: hidden;
  background: radial-gradient(circle at 100% 0%, var(--tile-glow), transparent 60%), oklch(19% .045 300 / .8); transition: transform .2s, border-color .2s, box-shadow .2s; }
.xt-choice-tile:hover { transform: translateY(-3px); border-color: var(--tile-line); box-shadow: 0 20px 50px -24px var(--tile-glow); }
.xt-choice-tile:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.xt-choice-tile strong { font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.xt-choice-tile > span:last-child { color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.xt-choice-ic { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: .5rem; border-radius: 1rem; background: var(--tile-grad); color: #fff; }
.xt-choice-ic .ic { width: 1.6rem; height: 1.6rem; }
.tile-live { --tile-grad: linear-gradient(135deg, #0e9fb3, #22d3ee); --tile-glow: oklch(80% .12 200 / .22); --tile-line: oklch(80% .12 200 / .5); }
.tile-movies { --tile-grad: linear-gradient(135deg, #6d3cf0, #b026c9); --tile-glow: oklch(62% .24 310 / .25); --tile-line: oklch(70% .2 310 / .55); }
.tile-series { --tile-grad: linear-gradient(135deg, #c2410c, #f59e0b); --tile-glow: oklch(75% .16 60 / .22); --tile-line: oklch(78% .15 65 / .5); }

.xt-tabs { position: sticky; top: calc(var(--header-h) + .5rem); z-index: 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; padding: .3rem; border: 1px solid var(--border); border-radius: 1rem; background: oklch(17% .04 300 / .92); backdrop-filter: blur(10px); }
.xt-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; border-radius: .75rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.xt-tabs button:hover { color: var(--fg); }
.xt-tabs button[aria-current="page"] { background: var(--primary); color: #fff; }
.xt-tabs button:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
@media (max-width: 420px) { .xt-tabs button .ic { display: none; } }
/* With the tabs at the top, the search bars sit just below them. */
.xt-app:has(.xt-tabs:not([hidden])) .xt-search-main { top: calc(var(--header-h) + 4.25rem); }

.xt-vod { display: flex; flex-direction: column; gap: 1.25rem; }
[data-xt-live] { display: flex; flex-direction: column; gap: 1.25rem; }

/* posters */
.xt-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.25rem, 1fr)); gap: 1rem .875rem; }
@media (min-width: 768px) { .xt-posters { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); } }
.xt-posters.xt-row { grid-auto-flow: column; grid-auto-columns: minmax(8.25rem, 9.5rem); grid-template-columns: none; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.xt-posters.xt-row > li { scroll-snap-align: start; }
.xt-loading { padding: 1rem 0; }
.xt-poster { width: 100%; display: flex; flex-direction: column; gap: .375rem; text-align: left; cursor: pointer; }
.xt-poster-art { position: relative; display: grid; place-items: center; aspect-ratio: 2 / 3; border-radius: .875rem; overflow: hidden; border: 1px solid var(--border); background: linear-gradient(160deg, oklch(29% .11 293 / .7), oklch(19% .045 300)); transition: transform .2s, box-shadow .2s, border-color .2s; }
.xt-poster-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xt-poster-fallback { padding: .75rem; font-family: var(--display); font-weight: 600; font-size: .9375rem; text-align: center; color: var(--muted); }
.xt-poster:hover .xt-poster-art { transform: translateY(-3px); border-color: oklch(100% 0 0 / .3); box-shadow: 0 16px 32px -16px oklch(0% 0 0 / .8); }
.xt-poster:focus-visible { outline: none; }
.xt-poster:focus-visible .xt-poster-art { outline: 2px solid var(--ring); outline-offset: 2px; }
.xt-poster strong { font-size: .875rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xt-poster small { font-size: .75rem; color: var(--muted); }
.xt-poster mark { background: oklch(82% .17 80 / .28); color: var(--fg); border-radius: 2px; }
.xt-rating { position: absolute; top: .4rem; left: .4rem; padding: .1rem .4rem; border-radius: .4rem; background: oklch(0% 0 0 / .7); color: var(--amber); font-size: .6875rem; font-weight: 700; }

/* details window */
.xt-detail { width: min(56rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--border); border-radius: 1.5rem; background: oklch(17% .04 300); color: var(--fg); overflow: auto; }
.xt-detail::backdrop { background: oklch(0% 0 0 / .7); backdrop-filter: blur(4px); }
.xt-detail .modal-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; background: oklch(0% 0 0 / .45); border-radius: 999px; }
.xt-detail-loading { padding: 3rem 2rem; text-align: center; }
.xt-detail-wrap { display: grid; gap: 1.5rem; padding: 1.5rem; }
@media (min-width: 640px) { .xt-detail-wrap { grid-template-columns: 13rem minmax(0, 1fr); padding: 2rem; } }
.xt-detail-art { position: relative; aspect-ratio: 2 / 3; max-width: 13rem; border-radius: 1rem; overflow: hidden; background: linear-gradient(160deg, oklch(29% .11 293 / .7), oklch(19% .045 300)); }
.xt-detail-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .xt-detail-art { max-width: 9rem; } }
.xt-detail-text { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.xt-detail-text h2 { padding-right: 2.5rem; font-family: var(--display); font-size: 1.75rem; font-weight: 700; line-height: 1.15; }
.xt-detail-meta { color: var(--cyan); font-size: .875rem; font-weight: 500; }
.xt-detail-plot { line-height: 1.6; color: oklch(90% .015 300); }
.xt-subs-line { display: flex; gap: .4rem; }
.xt-seasons { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .5rem; }
.xt-season { min-height: 2.25rem; padding: 0 .875rem; border: 1px solid var(--border); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--muted); }
.xt-season[aria-selected="true"] { background: var(--primary); border-color: var(--brand-400); color: #fff; }
.xt-episodes { display: flex; flex-direction: column; gap: .5rem; }
.xt-episode { width: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .125rem .75rem; padding: .75rem .875rem; border: 1px solid var(--border); border-radius: .875rem; background: oklch(19% .045 300 / .7); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.xt-episode:hover { border-color: oklch(100% 0 0 / .28); background: oklch(23% .06 300 / .85); }
.xt-episode:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.xt-episode strong { font-size: .9375rem; font-weight: 600; }
.xt-episode small, .xt-ep-plot { grid-column: 2; font-size: .8125rem; color: var(--muted); }
.xt-ep-plot { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xt-play-sm { grid-row: span 3; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: var(--primary); color: #fff; }
.xt-play-sm svg { width: .875rem; height: .875rem; }

/* player extras: subtitles menu and notices */
.xt-cc { position: relative; }
.xt-cc-menu { position: absolute; bottom: calc(100% + .5rem); right: 0; z-index: 10; min-width: 12rem; max-height: 16rem; overflow-y: auto; padding: .375rem; border: 1px solid var(--border); border-radius: .875rem; background: oklch(17% .04 300); box-shadow: 0 20px 40px -12px oklch(0% 0 0 / .8); }
.xt-cc-item { width: 100%; display: flex; align-items: center; gap: .5rem; min-height: 2.5rem; padding: 0 .75rem; border-radius: .5rem; text-align: left; font-size: .9375rem; color: var(--muted); }
.xt-cc-item:hover { background: oklch(100% 0 0 / .06); color: var(--fg); }
.xt-cc-item[aria-checked="true"] { color: var(--fg); font-weight: 600; }
.xt-cc-item[aria-checked="true"]::before { content: "✓"; color: var(--cyan); }
.xt-notice { display: flex; flex-direction: column; gap: .75rem; margin: 0 1.25rem; padding: .875rem 1rem; border: 1px solid oklch(82% .17 80 / .4); border-radius: .875rem; background: oklch(82% .17 80 / .08); }
.xt-notice p { font-size: .875rem; line-height: 1.5; color: oklch(92% .05 85); }
.xt-alts { display: flex; flex-wrap: wrap; gap: .5rem; }
.xt-alts:empty { display: none; }
.xt-video video::cue { background: oklch(0% 0 0 / .72); color: #fff; font-family: var(--font); font-size: clamp(.9rem, 2.2vw, 1.4rem); line-height: 1.35; }
