/* ============ SPORT TV — design tokens (SvoySport UI kit) ============ */
:root {
  --bg:        #0F0F10;
  --panel:     #171717;
  --panel-2:   #1E1F20;
  --line:      #2A2B30;
  --gray-70:   #65666E;
  --gray-60:   #A8A9B2;
  --gray-10:   #E2E2E2;
  --accent:    #4556EB;
  --accent-dn: #3343C4;
  --accent-dk: #262947;
  --blue-100:  #272C38;
  --live:      #EE3232;
  --success:   #198639;

  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text-hero:  clamp(1.75rem, 1rem + 2.6vw, 3.25rem);
  --text-title: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --text-base:  clamp(0.9rem, 0.85rem + 0.2vw, 1rem);

  --space-section: clamp(2.5rem, 2rem + 2vw, 4.5rem);
  --radius: 14px;
  --radius-lg: 22px;

  --dur-fast: 150ms;
  --dur: 300ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--gray-10);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; cursor: pointer; }
.container { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--gray-60); }
[hidden] { display: none !important; }

/* ============ QR activation page ============ */
.activation-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(69, 86, 235, 0.25), transparent 42rem),
    var(--bg);
}
.activation-shell {
  width: min(100% - 2rem, 520px);
  min-height: 100vh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 2rem;
}
.activation-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  align-self: center;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.activation-logo img { width: 42px; height: 42px; }
.activation-logo strong { color: var(--accent); }
.activation-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.activation-card h1 { margin-bottom: 0.75rem; font-size: clamp(1.7rem, 7vw, 2.25rem); }
.activation-card p { color: var(--gray-60); line-height: 1.55; }
.activation-kicker { color: #97a2ff !important; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.activation-card form { display: grid; gap: 1.15rem; margin-top: 1.75rem; }
.activation-plan {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(123, 136, 251, 0.7);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(69, 86, 235, 0.24), rgba(15, 15, 16, 0.4));
}
.activation-plan span { color: var(--gray-10); font-size: 1.05rem; font-weight: 700; }
.activation-plan strong { color: #fff; font-size: 1.3rem; }
.activation-plan small { color: var(--gray-60); }
.activation-card .field { display: grid; gap: 0.5rem; }
.activation-card .field span { color: var(--gray-10); font-weight: 600; font-size: 0.9rem; }
.activation-card .field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  color: #fff;
  padding: 0.85rem 1rem;
  font: inherit;
}
.activation-card .field input:focus { outline: 3px solid rgba(69, 86, 235, 0.3); border-color: var(--accent); }
.activation-consent { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--gray-60); font-size: 0.9rem; line-height: 1.4; }
.activation-consent input { width: 18px; height: 18px; margin-top: 0.1rem; accent-color: var(--accent); flex: 0 0 auto; }
.activation-submit { min-height: 48px; }
.activation-submit:disabled { opacity: 0.65; cursor: wait; }
.activation-security { margin-top: 1.25rem; font-size: 0.8rem; }
.activation-spinner {
  width: 46px; height: 46px; margin-bottom: 1.4rem;
  border: 4px solid var(--line); border-top-color: var(--accent); border-radius: 50%;
  animation: activation-spin 0.8s linear infinite;
}
.activation-success-mark {
  width: 72px; height: 72px; display: grid; place-items: center;
  margin-bottom: 1.3rem; border-radius: 50%;
  background: #179c52; color: #fff; font-size: 2.4rem; font-weight: 800;
}
@keyframes activation-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .activation-spinner { animation: none; } }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 16, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1240px, 100% - 2.5rem); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding-block: 0.8rem;
}
.logo { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; color: #fff; }
.logo-text { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; }
.logo-accent { color: var(--accent); }

.main-nav { display: flex; gap: 0.25rem; }
.main-nav a {
  padding: 0.45rem 0.9rem; border-radius: 10px;
  color: var(--gray-60); font-weight: 500;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.main-nav a:hover { color: var(--gray-10); background: var(--panel-2); }
.main-nav a.active { color: #fff; background: var(--blue-100); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.search-box {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.45rem 0.85rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(69, 86, 235, 0.25); }
.search-box svg { width: 17px; height: 17px; color: var(--gray-70); flex-shrink: 0; }
.search-box input {
  background: none; border: none; outline: none;
  color: var(--gray-10); width: 190px; font: inherit; font-size: 0.9rem;
}
.search-box input::placeholder { color: var(--gray-70); }

/* Buttons — Filled / Outline (states per UI kit) */
.btn {
  border-radius: 12px; padding: 0.55rem 1.3rem;
  font-weight: 600; font-size: 0.92rem; border: none;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.btn:active { transform: scale(0.97); }
.btn-filled { background: var(--accent); color: #fff; }
.btn-filled:hover { background: var(--accent-dn); }
.btn-outline { background: transparent; color: var(--gray-10); border: 1.5px solid var(--gray-70); }
.btn-outline:hover { border-color: var(--accent); color: #fff; }
.btn-wide { width: 100%; }

.burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 22px; height: 2px; background: var(--gray-10); border-radius: 2px; transition: transform var(--dur), opacity var(--dur); }

/* Sport bar */
.sport-bar {
  width: min(1240px, 100% - 2.5rem); margin-inline: auto;
  display: flex; gap: 0.5rem; padding-block: 0.55rem 0.8rem;
  overflow-x: auto; scrollbar-width: none;
}
.sport-bar::-webkit-scrollbar { display: none; }
.sport-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 1rem; border-radius: 999px; white-space: nowrap;
  background: var(--panel-2); border: 1px solid var(--line);
  color: var(--gray-60); font-size: 0.88rem; font-weight: 500;
  transition: all var(--dur-fast);
}
.sport-chip:hover { color: var(--gray-10); border-color: var(--gray-70); }
.sport-chip.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 4px 18px rgba(69, 86, 235, 0.35);
}

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; min-height: clamp(380px, 52vw, 560px); display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: -40px;
  background-size: cover; background-position: center;
  filter: blur(60px) brightness(0.75); opacity: 0.7;
  transition: background-image var(--dur);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,16,0.25) 0%, rgba(15,15,16,0.55) 55%, var(--bg) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem;
  align-items: center; padding-block: 3.5rem;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--gray-60); margin-bottom: 1rem;
}
.hero-kicker .badge-live { font-size: 0.75rem; }
.hero-title { font-size: var(--text-hero); font-weight: 800; line-height: 1.12; margin-bottom: 1rem; text-wrap: balance; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.meta-chip {
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem; color: var(--gray-10);
}
.hero-actions { display: flex; gap: 0.9rem; align-items: center; }
.btn-play {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--accent); color: #fff; border: none;
  padding: 0.85rem 1.8rem; border-radius: 14px;
  font-size: 1rem; font-weight: 700;
  box-shadow: 0 8px 30px rgba(69, 86, 235, 0.45);
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.btn-play:hover { background: var(--accent-dn); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(69, 86, 235, 0.55); }
.btn-play svg { width: 18px; height: 18px; }

.hero-poster { position: relative; }
.hero-poster img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
}
.hero-dots {
  position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 2;
}
.hero-dots button {
  width: 26px; height: 4px; border-radius: 4px; border: none;
  background: rgba(255,255,255,0.22); transition: background var(--dur-fast);
}
.hero-dots button.active { background: var(--accent); }

/* ============ Badges ============ */
.badge-live {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--live); color: #fff;
  padding: 0.2rem 0.6rem; border-radius: 7px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
}
.badge-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 1.4s ease-in-out infinite;
}
.live-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--live); margin-right: 0.6rem;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }
.badge-soon {
  background: var(--blue-100); color: var(--gray-60);
  padding: 0.2rem 0.6rem; border-radius: 7px;
  font-size: 0.72rem; font-weight: 700;
}
.badge-duration {
  position: absolute; right: 0.6rem; bottom: 0.6rem;
  background: rgba(0,0,0,0.75); color: #fff;
  padding: 0.15rem 0.5rem; border-radius: 6px;
  font-size: 0.75rem; font-weight: 600;
}

/* ============ Sections / cards ============ */
.row-section { margin-block: var(--space-section); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-title { font-size: var(--text-title); font-weight: 700; margin-bottom: 1.25rem; display: flex; align-items: center; }
.section-link { color: var(--accent); font-weight: 600; font-size: 0.92rem; transition: opacity var(--dur-fast); }
.section-link:hover { opacity: 0.75; }

.card-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 24vw, 320px);
  gap: 1.1rem; overflow-x: auto; padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
}
.card-row::-webkit-scrollbar { height: 6px; }
.card-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 1.75rem;
}

.match-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  scroll-snap-align: start; text-align: left; padding: 0;
  transition: transform var(--dur) var(--ease), border-color var(--dur-fast), box-shadow var(--dur) var(--ease);
  cursor: pointer; display: flex; flex-direction: column;
}
.match-card:hover {
  transform: translateY(-5px);
  border-color: rgba(69, 86, 235, 0.6);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.match-card .thumb { position: relative; aspect-ratio: 16/9; background: var(--blue-100); overflow: hidden; }
.match-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.match-card:hover .thumb img { transform: scale(1.05); }
.match-card .thumb .play-glyph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(15,15,16,0.35); opacity: 0; transition: opacity var(--dur-fast);
}
.match-card:hover .thumb .play-glyph { opacity: 1; }
.play-glyph svg { width: 52px; height: 52px; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5)); }
.match-card .badges { position: absolute; top: 0.6rem; left: 0.6rem; display: flex; gap: 0.4rem; }
.match-card .card-body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.match-card .card-title { font-weight: 600; font-size: 0.95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.match-card .card-sub { color: var(--gray-60); font-size: 0.8rem; }

/* ============ Schedule list ============ */
.day-chips { display: flex; gap: 0.6rem; overflow-x: auto; padding-block: 1.25rem; scrollbar-width: none; }
.day-chips::-webkit-scrollbar { display: none; }
.day-chip {
  flex-shrink: 0; text-align: center; min-width: 84px;
  background: var(--panel-2); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 0.6rem 1rem; color: var(--gray-60);
  transition: all var(--dur-fast);
}
.day-chip b { display: block; color: var(--gray-10); font-size: 1rem; }
.day-chip:hover { border-color: var(--gray-70); }
.day-chip.active { background: var(--gray-10); border-color: var(--accent); color: var(--gray-70); }
.day-chip.active b { color: var(--bg); }

.schedule-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.75rem; }
.schedule-item {
  display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 1.25rem;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.85rem 1.25rem;
  text-align: left; cursor: pointer; width: 100%;
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur) var(--ease);
}
.schedule-item:hover { border-color: rgba(69,86,235,0.6); background: var(--panel-2); transform: translateX(4px); }
/* live-строка: тонкая красная полоска слева вместо рамки по всему периметру */
.schedule-item.is-live { box-shadow: inset 3px 0 0 var(--live); }
.schedule-item.is-live .schedule-time { color: var(--live); }
.schedule-info .title { color: var(--gray-10); }
.schedule-time { font-size: 1.15rem; font-weight: 700; color: #fff; }
.schedule-time small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--gray-70); }
.schedule-info .title { font-weight: 600; line-height: 1.35; }
.schedule-info .sub { color: var(--gray-60); font-size: 0.82rem; margin-top: 0.15rem; }
.schedule-side { display: flex; align-items: center; gap: 0.6rem; }
.sport-tag {
  padding: 0.25rem 0.7rem; border-radius: 999px;
  background: var(--accent-dk); color: #97A2FF;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}

/* ============ Pages ============ */
.view { padding-bottom: var(--space-section); }
.page-title { font-size: var(--text-hero); font-weight: 800; padding-top: 2.5rem; }
.page-sub { color: var(--gray-60); margin-top: 0.5rem; max-width: 560px; }

.empty-state {
  text-align: center; color: var(--gray-60);
  padding: 4rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius-lg);
  margin-top: 1.5rem;
}
.skeleton-row { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.skeleton {
  height: 74px; border-radius: var(--radius);
  background: linear-gradient(100deg, var(--panel) 40%, var(--panel-2) 50%, var(--panel) 60%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* News */
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem; margin-top: 2rem;
}
.news-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur-fast), box-shadow var(--dur) var(--ease);
}
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(69, 86, 235, 0.6);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.news-card .thumb { aspect-ratio: 16/9; background: var(--blue-100); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .card-body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.news-card .card-title { font-weight: 600; font-size: 0.98rem; line-height: 1.4; }
.news-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; }

.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2.25rem; flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px; border-radius: 10px;
  background: var(--panel-2); border: 1px solid var(--line);
  color: var(--gray-60); font-weight: 600;
  transition: all var(--dur-fast);
}
.page-btn:hover { color: #fff; border-color: var(--gray-70); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Article / doc pages */
.back-link {
  display: inline-block; margin-top: 2rem; color: var(--accent); font-weight: 600;
}
.back-link:hover { opacity: 0.75; }
.doc-body { max-width: 780px; }
.doc-body .page-title { font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); padding-top: 1.5rem; }
.doc-content { margin-top: 1.5rem; color: var(--gray-60); font-size: 0.98rem; }
.doc-content p { margin-bottom: 1rem; }
.doc-content b, .doc-content strong { color: var(--gray-10); }
.doc-content h5 { color: var(--gray-10); font-size: 1.05rem; font-weight: 500; line-height: 1.6; margin-bottom: 1rem; }
.doc-content a { color: var(--accent); }
.doc-content a:hover { text-decoration: underline; }
.doc-content img { border-radius: 10px; margin-block: 0.75rem; }
.doc-content .video img[src=""] { display: none; }

/* Contacts */
.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.contact-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.contact-card h3 { font-size: 1.1rem; }
.contact-card a { color: var(--accent); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

/* ============ Footer ============ */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); margin-top: var(--space-section); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem; padding-block: 3rem 2rem;
}
.footer-brand p { margin-top: 0.9rem; font-size: 0.9rem; max-width: 260px; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; background: var(--panel-2); color: var(--gray-60);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.socials a:hover { color: #fff; background: var(--blue-100); }
.socials svg { width: 18px; height: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-70); margin-bottom: 0.4rem; }
.footer-col > a { color: var(--gray-60); font-size: 0.92rem; transition: color var(--dur-fast); }
.footer-col > a:hover { color: #fff; }
.store-badge {
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.5rem 0.9rem; max-width: 200px;
  transition: border-color var(--dur-fast);
}
.store-badge:hover { border-color: var(--gray-70); }
.store-badge svg { width: 22px; height: 22px; color: #fff; flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; font-weight: 600; font-size: 0.88rem; line-height: 1.2; color: #fff; }
.store-badge small { font-weight: 400; font-size: 0.68rem; color: var(--gray-60); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.25rem; font-size: 0.82rem; }

/* ============ Modals ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.5rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,10,12,0.8); backdrop-filter: blur(8px); }
.modal-close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; border: none; font-size: 0.95rem;
  transition: background var(--dur-fast);
}
.modal-close:hover { background: rgba(255,255,255,0.22); }

.player-shell {
  position: relative; z-index: 1; width: min(1020px, 100%);
  background: var(--panel); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.player-video-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.player-video-wrap video { width: 100%; height: 100%; }
.player-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Страница трансляции */
.watch-shell {
  margin-top: 1.25rem;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.player-notice {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--blue-100), var(--bg));
  text-align: center; padding: 2rem; font-size: 1.05rem; color: var(--gray-10);
}
.player-notice .big { font-size: 1.5rem; font-weight: 700; display: block; margin-bottom: 0.5rem; }
.player-meta { padding: 1.1rem 1.4rem 1.3rem; }
.player-meta .title { font-size: 1.15rem; font-weight: 700; }
.player-meta .sub { color: var(--gray-60); font-size: 0.88rem; margin-top: 0.25rem; }

.login-card {
  position: relative; z-index: 1; width: min(420px, 100%);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.25rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.88rem; color: var(--gray-60); }
.field input {
  background: var(--panel-2); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0.75rem 1rem; color: #fff; font: inherit; outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(69,86,235,0.25); }
.login-card form { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.login-note { font-size: 0.85rem; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2.5rem; }
  .hero-poster { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--panel);
    border-bottom: 1px solid var(--line); padding: 0.75rem 1.25rem 1.25rem;
  }
  .main-nav.open { display: flex; }
  .burger { display: flex; }
  .search-box input { width: 110px; }
  .schedule-item { grid-template-columns: 64px 1fr; }
  .schedule-side { display: none; }
  .hero { min-height: auto; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  #loginBtn { display: none; }
  .card-row { grid-auto-columns: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
