
:root {
  color-scheme: dark;
  --bg: #07070d;
  --bg-2: #0c0c16;
  --bg-3: #12121f;
  --surface: rgba(255, 255, 255, .055);
  --surface-2: rgba(255, 255, 255, .09);
  --surface-3: rgba(255, 255, 255, .14);
  --glass: rgba(18, 18, 31, .72);
  --glass-strong: rgba(14, 14, 25, .9);
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .16);

  --text: #f4f5fb;
  --text-2: rgba(232, 235, 255, .74);
  --text-3: rgba(232, 235, 255, .5);

  --cyan: #22d3ee;
  --blue: #4f8cff;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --magenta: #d946ef;
  --accent: #7c6cff;
  --accent-soft: rgba(124, 108, 255, .18);
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f43f5e;

  --grad-brand: linear-gradient(90deg, #22d3ee 0%, #4f8cff 38%, #8b5cf6 72%, #d946ef 100%);
  --grad-accent: linear-gradient(135deg, #4f8cff 0%, #8b5cf6 100%);

  --r-xs: 6px;
  --r-sm: 9px;
  --r-md: 13px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-1: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-2: 0 14px 40px rgba(0, 0, 0, .55);
  --shadow-3: 0 30px 80px rgba(0, 0, 0, .7);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: 4vw;
  --nav-h: 68px;
  --tabbar-h: 0px;
  --rail-w: 0px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --poster-w: 168px;
  --land-w: 300px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 700px) { :root { --poster-w: 180px; --land-w: 320px; } }
@media (min-width: 1200px) { :root { --poster-w: 13vw; --land-w: 22.5vw; } }
@media (min-width: 2200px) { :root { --poster-w: 11vw; --land-w: 19vw; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.5; font-weight: 450;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(124, 108, 255, .45); color: #fff; }
svg { display: block; }

* { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, .28); }
::-webkit-scrollbar-track { background: transparent; }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

.t-display { font-size: 44px; font-size: clamp(30px, 4.4vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; }
.t-h1 { font-size: 32px; font-size: clamp(24px, 2.6vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.t-h2 { font-size: 21px; font-size: clamp(17px, 1.35vw, 24px); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.t-h3 { font-size: 17px; line-height: 1.3; font-weight: 700; }
.t-body { font-size: 15px; color: var(--text-2); }
.t-small { font-size: 13px; color: var(--text-2); }
.t-micro { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--text-3); }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.clamp-2, .clamp-3, .clamp-4 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }
.clamp-4 { -webkit-line-clamp: 4; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ic { width: 22px; height: 22px; flex: 0 0 auto; }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 28px; height: 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 24px; border-radius: var(--r-md);
  font-weight: 700; font-size: 15.5px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .2s, color .2s, box-shadow .2s, opacity .2s;
  position: relative; user-select: none;
}
.btn > * + * { margin-left: 10px; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-primary { background: #fff; color: #0b0b12; }
.btn-primary:hover { background: #e9e9f2; }
.btn-primary .ic { color: #0b0b12; }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--border-2); }
.btn-ghost:hover { background: var(--surface); }
.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: 0 8px 24px rgba(99, 102, 241, .35); }
.btn-accent:hover { filter: brightness(1.08); }
.btn-danger { background: rgba(244, 63, 94, .16); color: #fda4af; box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .35); }
.btn-danger:hover { background: rgba(244, 63, 94, .26); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: var(--r-sm); }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16.5px; }
.btn-block { display: flex; width: 100%; }
.btn .btn-progress { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 3px; border-radius: 3px; background: rgba(11, 11, 18, .16); overflow: hidden; }
.btn .btn-progress i { display: block; height: 100%; background: #0b0b12; border-radius: 3px; }
.btn-primary.has-progress { padding-bottom: 6px; }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .2s, transform .15s var(--ease), box-shadow .2s, color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.icon-btn:active { transform: scale(.93); }
.icon-btn.on { background: #fff; color: #0b0b12; box-shadow: none; }
.icon-btn-sm { width: 36px; height: 36px; }
.icon-btn-flat { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.icon-btn-flat:hover { background: var(--surface-2); box-shadow: none; }

.link-btn { color: var(--text-2); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; transition: color .2s; }
.link-btn:hover { color: #fff; }

.field { display: block; margin-bottom: 16px; }
.field > span, .field-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 16px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; outline: 0;
  font-size: 15.5px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.input::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(124, 108, 255, .9); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 4px rgba(124, 108, 255, .2); }
.select { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8bbd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.select option { background: #14141f; color: #fff; }

.switch { position: relative; display: inline-block; width: 46px; height: 28px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 28px; background: rgba(255, 255, 255, .16); transition: background .25s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.switch input:checked + i { background: var(--grad-accent); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(124, 108, 255, .5); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); outline: 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .4); cursor: pointer; }
.range::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }

.chip {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 11px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-2);
  font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s;
}
.chip > * + * { margin-left: 8px; }
.chip:hover { background: var(--surface-2); color: #fff; }
.chip.active { background: #fff; color: #0b0b12; box-shadow: none; }
.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em; line-height: 1;
  background: rgba(255, 255, 255, .14); color: #fff; white-space: nowrap;
}
.badge-outline { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.badge-accent { background: var(--grad-accent); }
.badge-new { background: #fff; color: #0b0b12; }
.badge-live { background: #ef4444; }
.match { color: #4ade80; font-weight: 800; }

.meta-line { display: flex; flex-wrap: wrap; align-items: center; color: var(--text-2); font-size: 14.5px; font-weight: 600; }
.meta-line > * { margin-right: 12px; margin-bottom: 4px; }
.meta-line .sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin-right: 12px; }

.rating-star { display: inline-flex; align-items: center; }
.rating-star svg { width: 15px; height: 15px; color: #fbbf24; margin-right: 4px; }
.tomato { display: inline-flex; align-items: center; }
.tomato img { width: 16px; height: 16px; margin-right: 4px; }

:focus { outline: none; }
:focus-visible { outline: 2.5px solid rgba(255, 255, 255, .9); outline-offset: 3px; border-radius: 8px; }
.layout-tv :focus-visible { outline: none; }

.row-flex { display: flex; align-items: center; }
.spacer { flex: 1 1 auto; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.spinner { display: inline-block; vertical-align: middle; width: 46px; height: 46px; border-radius: 50%; position: relative; flex: 0 0 auto; }
.spinner::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(34, 211, 238, 0), #22d3ee 30%, #8b5cf6 70%, #d946ef); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); animation: nfx-spin .9s linear infinite; }
.spinner-sm { width: 26px; height: 26px; }
@keyframes nfx-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.is-ios, .is-ios * { touch-action: manipulation; }
.is-ios { overscroll-behavior-x: none; }

.is-ios input.input, .is-ios select.select, .is-ios textarea.textarea { font-size: 16px !important; }
