/* styles.css · Shampocine static build · dark cinematic UI, yellow-only accent · no dependencies */
:root {
  --bg: #070707;
  --bg-2: #0c0c0d;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #e8e8e8;
  --muted: #9a9a9f;
  --dim: #6c6c72;
  --accent: #F5B301;
  --accent-bright: #FFD23F;
  --accent-deep: #a97800;
  --accent-soft: rgba(245, 179, 1, .14);
  --ok: #7fd18b;
  --warn: #e0c36a;
  --bad: #b98989;
  --header-h: 68px;
  --radius: 10px;
  --ring: 0 0 0 3px rgba(245, 179, 1, .32);
  --font: "Netflix Sans", "Helvetica Neue", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; padding-top: var(--header-h); }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #111; }

:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--accent); color: #111; padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 90;
  background: linear-gradient(180deg, rgba(7,7,7,.96), rgba(7,7,7,.78));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(7,7,7,.94); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.header-inner { height: 100%; max-width: 1920px; margin: 0 auto; padding: 0 clamp(16px, 3.2vw, 56px); display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px;
  background: linear-gradient(145deg, var(--accent-bright), var(--accent) 55%, var(--accent-deep));
  color: #14100a; font-weight: 900; font-size: 18px; line-height: 1;
  box-shadow: 0 0 22px rgba(245,179,1,.22);
}
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.045em; }
.brand-name span { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); flex: 1 1 auto; min-width: 0; }
.nav-link {
  position: relative; border: 0; background: transparent; padding: 22px 2px; color: #cfcfd2;
  font-size: 14px; font-weight: 600; white-space: nowrap; transition: color .18s ease;
}
.nav-link:hover { color: #fff; }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 13px; height: 2px; border-radius: 2px;
  background: var(--accent); box-shadow: 0 0 10px rgba(245,179,1,.6);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; margin-left: auto; }
.search-wrap { position: relative; display: flex; align-items: center; width: clamp(170px, 20vw, 300px); }
.search-wrap input {
  width: 100%; height: 38px; padding: 0 34px 0 38px; border-radius: 30px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.055); color: var(--text);
  font-size: 13px; outline: none; transition: border-color .18s, background .18s, box-shadow .18s;
}
.search-wrap input::placeholder { color: #85858a; }
.search-wrap input:focus { border-color: var(--accent); background: rgba(255,255,255,.09); box-shadow: var(--ring); }
.search-icon { position: absolute; left: 13px; width: 16px; height: 16px; fill: none; stroke: #a7a7ac; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search-clear { position: absolute; right: 7px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #ddd; font-size: 17px; line-height: 1; }
.search-clear:hover { background: var(--accent); color: #111; }

.profile-btn { width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255,255,255,.05); }
.avatar {
  width: 100%; height: 100%; display: grid; place-items: center; border-radius: 7px;
  background: linear-gradient(145deg, var(--accent-bright), var(--accent-deep)); color: #17120a; font-weight: 900; font-size: 15px;
}
.profile-btn:hover { border-color: var(--accent); }
.menu-btn { display: none; width: 38px; height: 38px; padding: 9px 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255,255,255,.05); }
.menu-btn span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #ddd; }
.menu-btn span:nth-child(2) { background: var(--accent); }

.profile-menu {
  position: fixed; z-index: 95; top: calc(var(--header-h) + 8px); right: clamp(16px, 3.2vw, 56px); width: 320px;
  border: 1px solid var(--line-strong); border-radius: 14px; padding: 16px;
  background: rgba(20,20,22,.97); backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0,0,0,.65);
}
.profile-menu-label { margin: 0 0 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 800; }
.toggle-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; border: 0; background: transparent; padding: 0; }
.toggle-copy strong { display: block; font-size: 14px; }
.toggle-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.switch { position: relative; flex: 0 0 auto; width: 44px; height: 24px; border-radius: 20px; background: #3a3a3f; transition: background .2s; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #eee; transition: transform .2s; }
.toggle-row[aria-checked="true"] .switch { background: var(--accent); }
.toggle-row[aria-checked="true"] .switch-knob { transform: translateX(20px); background: #17130a; }
.profile-menu-note { margin: 14px 0 0; padding: 10px; border-radius: 8px; background: rgba(245,179,1,.07); border: 1px solid rgba(245,179,1,.2); color: #d9c89a; font-size: 11px; line-height: 1.5; }
.profile-menu-item { width: 100%; margin-top: 12px; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 12.5px; text-align: left; }
.profile-menu-item:hover { border-color: var(--accent); color: var(--accent-bright); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px;
  padding: 0 22px; border-radius: 7px; border: 1px solid transparent; font-size: 14px; font-weight: 750;
  letter-spacing: .005em; transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--accent-bright), var(--accent)); color: #14100a; box-shadow: 0 8px 26px rgba(245,179,1,.22); }
.btn-primary:hover { box-shadow: 0 12px 34px rgba(245,179,1,.38); }
.btn-ghost { background: rgba(255,255,255,.1); border-color: var(--line-strong); color: #f0f0f0; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.17); border-color: var(--accent); color: var(--accent-bright); }
.ico-play { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ico-info { width: 15px; height: 15px; border: 1.7px solid currentColor; border-radius: 50%; position: relative; }
.ico-info::after { content: "i"; position: absolute; inset: -1px 0 0; text-align: center; font-size: 11px; font-weight: 800; font-style: normal; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(520px, 76vh, 860px); isolation: isolate; overflow: hidden; background: #0a0a0b; }
.hero-backdrop { position: absolute; inset: 0; background: #101012 center/cover no-repeat; transform: scale(1.04); opacity: 0; transition: opacity .6s ease, background-image .3s; z-index: -3; }
.hero-backdrop.is-ready { opacity: 1; }
.hero-grain { position: absolute; inset: 0; z-index: -2; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E"); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #070707 0%, rgba(7,7,7,.93) 22%, rgba(7,7,7,.62) 46%, rgba(7,7,7,.12) 76%), linear-gradient(0deg, var(--bg) 0%, rgba(7,7,7,.12) 35%, rgba(7,7,7,.05) 70%); }
.hero-content { position: relative; max-width: 780px; padding: clamp(80px, 12vh, 180px) clamp(16px, 3.2vw, 56px) 130px; }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-weight: 800; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero-title { margin: 0 0 20px; font-size: clamp(38px, 5.6vw, 78px); line-height: .98; font-weight: 850; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 6px 34px rgba(0,0,0,.65); }
.hero-meta, .meta-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 5px; background: rgba(255,255,255,.08); border: 1px solid var(--line); font-size: 12px; color: #d2d2d5; }
.chip.is-accent { color: var(--accent-bright); border-color: rgba(245,179,1,.42); background: var(--accent-soft); font-weight: 800; }
.chip.is-outline { background: transparent; color: var(--muted); }
.hero-overview { max-width: 630px; margin: 0 0 28px; font-size: clamp(14px, 1.25vw, 17px); line-height: 1.6; color: #c9c9cc; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 62px; border: 0; background: rgba(0,0,0,.28); color: #eee; font-size: 34px; line-height: 1; opacity: .45; transition: opacity .2s, background .2s; }
.hero-arrow:hover { opacity: 1; background: rgba(245,179,1,.17); color: var(--accent-bright); }
.hero-prev { left: 0; border-radius: 0 8px 8px 0; }
.hero-next { right: 0; border-radius: 8px 0 0 8px; }
.hero-dots { position: absolute; z-index: 4; left: clamp(16px, 3.2vw, 56px); bottom: 54px; display: flex; gap: 8px; }
.hero-dot { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.34); transition: width .25s, background .25s; }
.hero-dot.is-active { width: 46px; background: var(--accent); box-shadow: 0 0 12px rgba(245,179,1,.5); }

/* ---------- rows & cards ---------- */
.rows { position: relative; z-index: 5; margin-top: -58px; padding-bottom: 40px; }
.row-block { margin-bottom: 42px; }
.row-head { display: flex; align-items: baseline; gap: 14px; padding: 0 clamp(16px, 3.2vw, 56px) 14px; }
.row-head h2 { margin: 0; font-size: clamp(18px, 1.6vw, 24px); font-weight: 780; letter-spacing: -.025em; }
.row-head h2::before { content: ""; display: inline-block; width: 3px; height: 17px; margin-right: 10px; vertical-align: -2px; border-radius: 3px; background: var(--accent); }
.row-hint { color: var(--dim); font-size: 12px; }
.row-nav { margin-left: auto; display: flex; gap: 6px; }
.row-arrow { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #ccc; font-size: 20px; line-height: 1; }
.row-arrow:hover { color: #111; background: var(--accent); border-color: var(--accent); }
.row-scroller { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; padding: 10px clamp(16px, 3.2vw, 56px) 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.row-scroller::-webkit-scrollbar { height: 6px; }
.row-scroller::-webkit-scrollbar-thumb { background: #333; border-radius: 6px; }
.row-scroller:hover::-webkit-scrollbar-thumb { background: var(--accent-deep); }

.card { flex: 0 0 auto; width: clamp(132px, 12.4vw, 196px); scroll-snap-align: start; border: 0; background: transparent; padding: 0; text-align: left; transition: transform .22s ease; }
.card:hover, .card:focus-visible { transform: translateY(-7px); outline: none; }
.card:focus-visible .card-poster { box-shadow: var(--ring); }
.card-poster { position: relative; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(0,0,0,.45); transition: box-shadow .22s, border-color .22s; }
.card:hover .card-poster { border-color: rgba(245,179,1,.55); box-shadow: 0 18px 40px rgba(0,0,0,.7), 0 0 0 1px rgba(245,179,1,.25); }
.card-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; background: #202024; }
.card:hover .card-poster img { transform: scale(1.09); }
.card-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 45%); pointer-events: none; }
.card-year, .card-score { position: absolute; z-index: 2; top: 8px; padding: 3px 7px; border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.card-year { left: 8px; background: rgba(0,0,0,.62); color: #eee; }
.card-score { right: 8px; background: rgba(245,179,1,.92); color: #171106; }
.card-play { position: absolute; z-index: 3; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #151006; opacity: 0; transform: scale(.7); transition: opacity .2s, transform .2s; }
.card-play::after { content: ""; width: 0; height: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.card:hover .card-play, .card:focus-visible .card-play { opacity: 1; transform: scale(1); }
.card-title { margin: 9px 2px 4px; font-size: 12.5px; font-weight: 700; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 2px; }
.card-tags span { color: var(--dim); font-size: 10.5px; }
.card-tags span + span::before { content: "· "; }

.skeleton .card-poster, .skeleton-line { background: linear-gradient(100deg, #19191b 20%, #242427 42%, #19191b 64%); background-size: 220% 100%; animation: shimmer 1.35s linear infinite; }
.skeleton-line { height: 12px; border-radius: 4px; margin: 10px 2px; }
.skeleton .card-poster img, .skeleton .card-title, .skeleton .card-tags { opacity: 0; }
@keyframes shimmer { to { background-position-x: -220%; } }

.empty-state { margin: 32px clamp(16px, 3.2vw, 56px); padding: 46px 24px; border: 1px dashed var(--line-strong); border-radius: 14px; background: rgba(255,255,255,.02); text-align: center; }
.empty-glyph { font-size: 32px; color: var(--accent); }
.empty-state h3 { margin: 8px 0; font-size: 18px; }
.empty-state p { margin: 0 auto 18px; max-width: 520px; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* ---------- grid views ---------- */
.view { animation: viewIn .28s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.grid-head { padding: 46px clamp(16px, 3.2vw, 56px) 24px; }
.grid-head h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.035em; }
.grid-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.results-grid, .channels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 14px; padding: 0 clamp(16px, 3.2vw, 56px) 60px; }
.results-grid .card { width: 100%; }
.genre-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 clamp(16px, 3.2vw, 56px) 20px; }
.genre-pill { padding: 7px 13px; border-radius: 20px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: #c9c9cc; font-size: 12px; font-weight: 650; }
.genre-pill:hover, .genre-pill.is-active { border-color: var(--accent); color: var(--accent-bright); background: var(--accent-soft); }

.channel-card { display: flex; flex-direction: column; gap: 10px; min-height: 150px; padding: 20px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); transition: transform .2s, border-color .2s; }
.channel-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.channel-logo { font-size: 26px; font-weight: 900; color: var(--accent); letter-spacing: -.05em; }
.channel-card strong { font-size: 15px; }
.channel-card small { color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.channel-card em { margin-top: auto; font-style: normal; font-size: 11px; color: var(--accent-bright); }

/* ---------- status strip ---------- */
.status-strip {
  position: fixed; z-index: 80; left: 16px; bottom: 16px; max-width: min(680px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 9px; padding: 8px 10px 8px 12px;
  border: 1px solid var(--line-strong); border-radius: 30px; background: rgba(12,12,13,.92);
  backdrop-filter: blur(14px); box-shadow: 0 12px 30px rgba(0,0,0,.5); font-size: 11px; color: #b9b9bd;
}
.status-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: 0 0 auto; }
.status-label { color: #ececec; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 9.5px; }
.status-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-reload { width: 22px; height: 22px; flex: 0 0 auto; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #ddd; font-size: 14px; line-height: 1; }
.status-reload:hover { background: var(--accent); color: #111; }
.status-ok { color: var(--ok); }
.status-off { color: var(--bad); }
.status-soft { color: var(--warn); }

/* ---------- modal ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; overflow-y: auto; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { position: relative; width: min(940px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; border-radius: 16px; border: 1px solid var(--line-strong); background: #101011; box-shadow: 0 40px 100px rgba(0,0,0,.8); }
.modal-close { position: absolute; z-index: 4; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 26px; line-height: 1; }
.modal-close:hover { background: var(--accent); color: #111; }
.modal-hero { height: clamp(190px, 30vw, 350px); background: #19191b center/cover no-repeat; position: relative; }
.modal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #101011 0%, rgba(16,16,17,.1) 60%), linear-gradient(90deg, rgba(16,16,17,.55), transparent); }
.modal-body { display: flex; gap: 26px; padding: 0 clamp(20px, 4vw, 42px) 24px; margin-top: -78px; position: relative; z-index: 2; }
.modal-poster { width: clamp(110px, 17vw, 190px); aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; border: 2px solid rgba(255,255,255,.12); box-shadow: 0 18px 44px rgba(0,0,0,.7); background: #222; flex: 0 0 auto; }
.modal-info { padding-top: 84px; min-width: 0; }
.modal-title { margin: 0 0 14px; font-size: clamp(22px, 3vw, 34px); line-height: 1.1; letter-spacing: -.035em; }
.modal-overview { color: #c8c8cb; font-size: 13.5px; line-height: 1.65; margin: 0 0 20px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.genre-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.genre-tags span { padding: 5px 10px; border-radius: 20px; border: 1px solid rgba(245,179,1,.28); background: var(--accent-soft); color: var(--accent-bright); font-size: 11px; }
.source-line { margin: 16px 0 0; color: var(--dim); font-size: 11px; }
.modal-related { padding: 6px clamp(20px, 4vw, 42px) 32px; border-top: 1px solid var(--line); }
.modal-related h3 { font-size: 16px; margin: 20px 0 10px; }
.modal-related .card-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.modal-related .card { width: 128px; }

/* ---------- watch ---------- */
.watch-bar { display: flex; align-items: center; gap: 16px; padding: 12px clamp(16px, 3.2vw, 56px); border-bottom: 1px solid var(--line); background: #0b0b0c; }
.watch-bar button { padding: 8px 12px; border-radius: 7px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); font-size: 12px; font-weight: 700; }
.watch-bar button:hover { border-color: var(--accent); color: var(--accent-bright); }
.watch-provider { border-color: rgba(245,179,1,.45) !important; color: var(--accent-bright); }
.watch-title { flex: 1; text-align: center; font-size: 14px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 180px); background: linear-gradient(145deg, #141416, #08080a 70%); overflow: hidden; }
.player-mount, .player-mount iframe, .player-mount video { width: 100%; height: 100%; border: 0; display: block; }
.player-mount iframe { opacity: 0; transition: opacity .45s ease; }
.player-mount iframe.is-loaded { opacity: 1; }
.player-loader { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 14px; background: radial-gradient(circle at center, #1c1c1f, #0b0b0d 75%); color: #d0d0d4; font-size: 13px; transition: opacity .4s ease, visibility .4s; }
.player-loader.is-hidden { opacity: 0; visibility: hidden; }
.player-loader p { margin: 0; text-align: center; max-width: 80vw; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(245,179,1,.2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-panel { position: absolute; inset: 0; z-index: 2; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: clamp(18px, 4vw, 48px); text-align: center; background: radial-gradient(circle at 50% 25%, #1d1d20, #0b0b0d 78%); }
.result-panel h3 { margin: 0; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: -.03em; }
.result-panel .spinner { width: 28px; height: 28px; }
.result-reason { margin: 0; max-width: 700px; color: #e2e2e4; font-size: 14px; line-height: 1.5; }
.result-detail { margin: 0; max-width: 700px; color: #a6a6ab; font-size: 12px; line-height: 1.5; }
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; }
.result-actions .btn { min-height: 36px; padding: 0 13px; font-size: 11.5px; }
.result-hint { margin: 2px 0 0; max-width: 760px; color: var(--accent-bright); font-size: 11px; line-height: 1.5; }
.watch-footer { padding: 16px clamp(16px, 3.2vw, 56px) 48px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.watch-footer strong { color: var(--accent-bright); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #09090a; padding: 40px clamp(16px, 3.2vw, 56px) 90px; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -.04em; }
.footer-brand span span { color: var(--accent); }
.footer-note { max-width: 760px; margin: 14px 0 20px; color: var(--dim); font-size: 11.5px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #b4b4b8; font-size: 12px; }
.footer-links a:hover { color: var(--accent-bright); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .search-wrap { width: 180px; }
  .main-nav { gap: 14px; }
  .nav-link { font-size: 13px; }
}
@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .menu-btn { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 88;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 16px;
    background: rgba(9,9,10,.98); border-bottom: 1px solid var(--line-strong);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-link.is-active::after { display: none; }
  .search-wrap { width: clamp(130px, 32vw, 220px); }
  .hero-content { padding-top: 90px; }
  .hero-arrow { display: none; }
  .modal-body { flex-direction: column; padding-top: 0; margin-top: -40px; }
  .modal-poster { width: 130px; }
  .modal-info { padding-top: 16px; }
}
@media (max-width: 560px) {
  .brand-name { font-size: 17px; }
  .brand-mark { width: 26px; height: 26px; font-size: 15px; }
  .header-inner { gap: 10px; padding: 0 12px; }
  .search-wrap { width: 38px; }
  .search-wrap input { width: 38px; padding: 0; opacity: 0; cursor: pointer; }
  .search-wrap.is-open { position: absolute; left: 12px; right: 12px; z-index: 92; width: auto; }
  .search-wrap.is-open input { width: 100%; padding: 0 34px 0 38px; opacity: 1; cursor: text; }
  .search-wrap.is-open .search-icon { left: 13px; }
  .hero { min-height: 620px; }
  .hero-content { padding-top: 96px; padding-bottom: 110px; }
  .hero-title { font-size: 38px; }
  .hero-dots { bottom: 42px; }
  .rows { margin-top: -34px; }
  .card { width: 126px; }
  .status-strip { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .watch-bar { gap: 6px; padding: 10px 12px; }
  .watch-bar button { padding: 7px 8px; font-size: 11px; }
  .watch-provider { padding: 7px 6px !important; font-size: 10px !important; }
  .watch-title { font-size: 12px; }
  .result-panel { gap: 9px; padding: 14px; }
  .profile-menu { left: 12px; right: 12px; width: auto; }
  .results-grid { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-backdrop { transform: none; }
}
