:root {
  --bg: #f3f4f7;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --text: #17181c;
  --muted: #81858f;
  --line: #e6e8ed;
  --blue: #2688eb;
  --blue-hover: #1473d2;
  --blue-soft: #eaf4ff;
  --red: #f34f63;
  --sidebar: 226px;
  --topbar: 64px;
  --shadow: 0 10px 28px rgba(20, 25, 35, .07);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; border: 0; cursor: pointer; }
img { max-width: 100%; }

.skip-link { position: fixed; z-index: 1000; top: -60px; left: 18px; padding: 10px 14px; border-radius: 9px; color: #fff; background: var(--blue); transition: top .2s; }
.skip-link:focus { top: 12px; }

.topbar { position: fixed; z-index: 100; inset: 0 0 auto; display: grid; grid-template-columns: var(--sidebar) minmax(280px, 620px) 1fr; align-items: center; height: var(--topbar); padding: 0 24px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 9px; width: max-content; font-size: 18px; font-weight: 800; letter-spacing: -.045em; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; padding-left: 2px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #2c94ff, #6168f5); box-shadow: 0 7px 16px rgba(38, 136, 235, .24); font-size: 12px; }
.brand-name b { color: var(--blue); font-weight: 800; }

.top-search { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: center; height: 40px; border: 1px solid transparent; border-radius: 12px; color: #8b909a; background: #eef0f3; transition: .2s; }
.top-search:focus-within { border-color: #a9cef4; background: #fff; box-shadow: 0 0 0 3px rgba(38, 136, 235, .1); }
.top-search > span { text-align: center; font-size: 20px; transform: rotate(-16deg); }
.top-search input { min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; color: var(--text); background: transparent; }
.top-search input::placeholder { color: #9398a1; }
.search-clear { width: 24px; height: 24px; border-radius: 7px; color: #80858e; background: #dfe2e7; }

.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.upload-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 39px; padding: 0 16px; border-radius: 11px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 700; transition: .18s; }
.upload-button:hover { background: var(--blue-hover); transform: translateY(-1px); }
.upload-button span { font-size: 18px; font-weight: 400; }
.icon-button { position: relative; display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; color: #656a74; background: #f0f1f4; font-size: 20px; }
.icon-button i { position: absolute; top: 5px; right: 4px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--red); }
.avatar-button { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #253252; background: linear-gradient(135deg, #b7d8ff, #d6c8ff); font-size: 12px; font-weight: 800; }
.profile-popover { position: fixed; z-index: 120; top: 56px; right: 22px; display: grid; width: 230px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.profile-popover strong { font-size: 13px; }
.profile-popover span { margin: 3px 0 12px; color: var(--muted); font-size: 11px; }
.profile-popover a, .profile-popover button { padding: 10px 8px; border-radius: 8px; background: transparent; text-align: left; }
.profile-popover a:hover, .profile-popover button:hover { background: var(--surface-soft); }

.app-layout { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; padding-top: var(--topbar); }
.sidebar { position: fixed; z-index: 40; top: var(--topbar); bottom: 0; left: 0; display: flex; flex-direction: column; width: var(--sidebar); padding: 18px 14px 24px; overflow-y: auto; border-right: 1px solid var(--line); background: var(--surface); }
.side-nav { display: grid; gap: 3px; }
.side-nav a { display: grid; grid-template-columns: 27px 1fr; align-items: center; min-height: 43px; padding: 0 12px; border-radius: 10px; color: #454953; font-size: 13px; font-weight: 600; transition: .15s; }
.side-nav a span { color: #747984; font-size: 18px; text-align: center; }
.side-nav a:hover { color: var(--text); background: #f2f4f7; }
.side-nav a.active { color: var(--blue); background: var(--blue-soft); }
.side-nav a.active span { color: var(--blue); }
.side-nav a.service-link { display:none!important; }
.side-nav.compact a { min-height: 39px; color: #626771; font-size: 12px; }
.side-divider { height: 1px; margin: 14px 10px; background: var(--line); }
.studio-card { display: grid; grid-template-columns: 38px 1fr; gap: 1px 10px; align-items: center; margin-top: 20px; padding: 13px; border: 1px solid #dceaff; border-radius: 13px; background: linear-gradient(145deg, #f1f7ff, #f8f4ff); }
.studio-card-icon { grid-row: 1 / 3; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: #fff; background: var(--blue); font-size: 19px; }
.studio-card strong { font-size: 11px; }
.studio-card small { color: #7d8490; font-size: 8px; line-height: 1.4; }
.side-footer { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: auto; padding: 24px 12px 0; color: #9297a0; font-size: 9px; }
.side-footer a:hover { color: var(--blue); }
.side-footer span { width: 100%; }

.feed { grid-column: 2; width: min(100%, 1510px); margin: 0 auto; padding: 22px 30px 70px; }
.category-strip { display:flex; min-width:0; gap:7px; overflow-x:auto; scrollbar-width:none; }
.category-strip::-webkit-scrollbar { display: none; }
.category-chip { flex:0 0 auto; height:32px; padding:0 13px; border:1px solid var(--line); border-radius:9px; color:#5e6470; background:#fff; font-size:10px; font-weight:650; white-space:nowrap; transition:.16s; }
.category-chip:hover { border-color: #c7d8ea; }
.category-chip.active { color:#176fc4; border-color:#bedcff; background:#eaf4ff; }

.feed-discovery { display:grid; grid-template-columns:minmax(0,1fr) 315px; gap:10px 16px; align-items:center; margin-top:18px; padding:13px; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.74); box-shadow:0 5px 18px rgba(20,25,35,.035); }
.feed-discovery-title { display:flex; align-items:baseline; gap:10px; min-width:0; }.feed-discovery-title>span { color:#2b3038; font-size:10px; font-weight:850; }.feed-discovery-title small { overflow:hidden; color:#9499a3; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.cinema-gateway { display:none!important; }
.feed-discovery>.zz-native-ad { grid-column:1/-1; }

.atlas { background-image: url('assets/thumb-atlas.png'); background-repeat: no-repeat; background-size: 300% 300%; background-color: #263142; }
.atlas-1 { background-position: 0 0; }
.atlas-2 { background-position: 50% 0; }
.atlas-3 { background-position: 100% 0; }
.atlas-4 { background-position: 0 50%; }
.atlas-5 { background-position: 50% 50%; }
.atlas-6 { background-position: 100% 50%; }
.atlas-7 { background-position: 0 100%; }
.atlas-8 { background-position: 50% 100%; }
.atlas-9 { background-position: 100% 100%; }

.spotlight { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(280px, .72fr); gap: 16px; }
.spotlight-main { position: relative; display: flex; aspect-ratio: 16 / 7.5; min-height: 330px; overflow: hidden; border-radius: 16px; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.spotlight-spider { background-color:#071321; background-image:url('assets/posters/spider-hero-city-original.png'); background-position:center 52%; background-repeat:no-repeat; background-size:cover; }
.spotlight-spider .spotlight-shade { background:linear-gradient(90deg,rgba(3,7,14,.94) 0%,rgba(4,9,18,.76) 39%,rgba(4,8,16,.22) 72%,rgba(4,8,16,.12)),linear-gradient(0deg,rgba(2,4,9,.68),transparent 55%); }
.spotlight-spider .editor-badge { background:linear-gradient(110deg,#ec2d58,#7858ee); box-shadow:0 8px 24px rgba(222,41,89,.25); }
.spotlight-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(6, 9, 15, .88), rgba(6, 9, 15, .38) 58%, rgba(6, 9, 15, .05)); }
.spotlight-main::after { position: absolute; z-index: -2; inset: 0; background: inherit; content: ""; transition: transform .55s; }
.spotlight-main:hover::after { transform: scale(1.025); }
.editor-badge { position: absolute; top: 23px; left: 24px; padding: 5px 8px; border-radius: 6px; background: rgba(38, 136, 235, .95); font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.spotlight-copy { display: flex; flex-direction: column; align-self: end; max-width: 570px; padding: 28px; }
.spotlight-copy > h1 { margin: 0; color: inherit; font-size: clamp(28px, 4.2vw, 54px); line-height: .95; letter-spacing: -.055em; }
.spotlight-copy > small { max-width: 500px; margin-top: 12px; color: rgba(255, 255, 255, .82); font-size: 13px; line-height: 1.55; }
.watch-cta { display: inline-flex; align-items: center; width: max-content; height: 40px; margin-top: 20px; padding: 0 16px; border-radius: 10px; color: #15181e; background: #fff; font-size: 11px; font-weight: 800; }
.spotlight-main > time { position: absolute; right: 15px; bottom: 14px; padding: 4px 6px; border-radius: 5px; background: rgba(0, 0, 0, .72); font-size: 9px; }

.continue-panel { padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 6px 18px rgba(20, 25, 35, .04); }
.section-inline-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-inline-title h2 { margin: 0; font-size: 14px; }
.section-inline-title a { color: var(--blue); font-size: 10px; font-weight: 700; }
.continue-card { display: grid; grid-template-columns: minmax(110px, .9fr) minmax(95px, 1fr); align-items: center; gap: 10px; padding: 8px 0; }
.continue-card + .continue-card { border-top: 1px solid var(--line); }
.continue-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; }
.continue-thumb time, .video-thumb time { position: absolute; right: 6px; bottom: 6px; z-index: 2; padding: 3px 5px; border-radius: 4px; color: #fff; background: rgba(0, 0, 0, .74); font-size: 8px; font-weight: 700; }
.continue-thumb i { position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--blue) var(--progress), rgba(255, 255, 255, .45) var(--progress)); }
.continue-card strong, .continue-card small { display: block; }
.continue-card strong { font-size: 10px; line-height: 1.35; }
.continue-card small { margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.35; }

.feed-section { margin-top: 34px; scroll-margin-top: 120px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.section-title p { margin: 0 0 5px; color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.section-title h2 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.section-subtitle { display:block; margin-top:5px; color:var(--muted); font-size:9px; }
.section-link { color: var(--blue); font-size: 11px; font-weight: 700; }
.quiet-button { min-height: 33px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; color: #5b606a; background: #fff; font-size: 10px; font-weight: 700; }
.quiet-button:hover { background: var(--surface-soft); }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 15px; }
.video-card { min-width: 0; }
.video-card.is-hidden { display: none; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 13px; background-color: #232936; box-shadow: 0 3px 12px rgba(20, 25, 35, .08); }
.video-thumb::after { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); content: ""; transition: background .2s; }
.video-thumb:hover::after { background: rgba(0, 0, 0, .12); }
.video-thumb .play { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; width: 44px; height: 44px; place-items: center; padding-left: 3px; border-radius: 50%; opacity: 0; color: #14171d; background: rgba(255, 255, 255, .94); font-size: 13px; font-style: normal; transform: translate(-50%, -43%) scale(.8); transition: .2s; }
.video-thumb:hover .play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.title-video-thumb { background:#080b12; }
.title-video-thumb>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:saturate(.88) contrast(1.03); transition:transform .35s; }
.title-video-thumb::before { position:absolute; z-index:1; inset:0; background:linear-gradient(0deg,rgba(4,6,11,.42),transparent 58%); content:""; }
.title-video-thumb:hover>img { transform:scale(1.035); }
.format-badge { position:absolute; z-index:3; top:7px; left:7px; padding:4px 6px; border:1px solid rgba(255,255,255,.2); border-radius:5px; color:#fff; background:rgba(20,29,56,.82); backdrop-filter:blur(8px); font-size:7px; font-weight:900; letter-spacing:.08em; }
.format-badge.movie { background:rgba(88,35,70,.82); }
.format-badge.series { background:rgba(42,54,116,.86); }
.format-badge.show { background:rgba(153,77,13,.87); }
.format-badge.playlist { background:rgba(0,109,111,.87); }
.format-badge.episode { background:rgba(27,105,197,.9); }
.format-badge.video { background:rgba(27,34,47,.82); }
.format-badge.entertainment { background:rgba(144,59,107,.88); }
.format-badge.learning { background:rgba(24,103,91,.88); }
.title-length { position:absolute; z-index:3; right:6px; bottom:6px; padding:3px 5px; border-radius:4px; color:#fff; background:rgba(0,0,0,.74); font-size:8px; font-weight:700; }
.project-thumb::after { z-index:2; background:linear-gradient(0deg,rgba(4,7,13,.68),transparent 62%); }
.project-thumb:hover::after { background:linear-gradient(0deg,rgba(4,7,13,.82),rgba(4,7,13,.08) 72%); }
.open-project { position:absolute; z-index:4; left:12px; bottom:11px; display:flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid rgba(255,255,255,.26); border-radius:8px; opacity:0; color:#fff; background:rgba(8,11,18,.76); backdrop-filter:blur(10px); font-size:8px; font-weight:800; transform:translateY(5px); transition:.2s; }
.open-project b { font-size:12px; line-height:1; }
.project-thumb:hover .open-project { opacity:1; transform:translateY(0); }
.rating-inline { color:#8b6711; font-weight:800; }
.playlist-thumb { overflow:visible; margin-bottom:5px; isolation:isolate; }
.playlist-thumb::before { position:absolute; z-index:-2; inset:0; border-radius:13px; background:inherit; content:""; }
.playlist-layer { position:absolute; z-index:-3; right:10px; bottom:-5px; left:10px; height:24px; border-radius:0 0 12px 12px; background:#cdd8e7; box-shadow:0 3px 10px rgba(24,36,52,.12); }
.playlist-layer.layer-two { z-index:-4; right:18px; bottom:-10px; left:18px; background:#e2e8f0; }
.cinema-avatar { background:linear-gradient(135deg,#4c6fdc,#8f58cf); box-shadow:inset 0 0 0 1px rgba(255,255,255,.22); }
.dynamic-video-thumb { background:radial-gradient(circle at 78% 18%,var(--thumb-two),transparent 46%),linear-gradient(135deg,var(--thumb-one),#101623); }
.dynamic-video-thumb::before { position:absolute; z-index:1; inset:0; background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(0,0,0,.35)); content:""; }
.dynamic-video-symbol { position:absolute; z-index:2; top:50%; left:50%; color:rgba(255,255,255,.72); font-size:42px; transform:translate(-50%,-50%); }
.quality { position: absolute; z-index: 2; top: 7px; right: 7px; padding: 3px 5px; border-radius: 4px; color: #fff; background: rgba(0, 0, 0, .66); font-size: 7px; font-weight: 800; }
.live-badge { display: inline-flex; align-items: center; padding: 4px 6px; border-radius: 5px; color: #fff; background: var(--red); font-size: 8px; font-weight: 800; }
.video-thumb .live-badge { position: absolute; z-index: 2; top: 7px; left: 7px; }
.video-info { display: grid; grid-template-columns: 35px minmax(0, 1fr) 22px; gap: 9px; padding-top: 10px; }
.channel-avatar, .channel-large { display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; }
.channel-avatar { width: 35px; height: 35px; font-size: 9px; }
.coral { background: linear-gradient(135deg, #fa6482, #ff9b7d); }
.blue { background: linear-gradient(135deg, #398ce8, #6ebeff); }
.yellow { color: #503710; background: linear-gradient(135deg, #ffd15a, #ff9b4a); }
.violet { background: linear-gradient(135deg, #755ef1, #bb77e8); }
.green { background: linear-gradient(135deg, #249b7a, #7acb8f); }
.cyan { background: linear-gradient(135deg, #248aa2, #6acfe0); }
.video-info h3 { margin: 0; font-size: 12px; line-height: 1.38; }
.video-info h3 a:hover { color: var(--blue); }
.channel-name { display: inline-block; margin-top: 6px; color: #696e78; font-size: 9px; }
.video-info p { margin: 3px 0 0; color: #9a9ea6; font-size: 8px; }
.video-info > button { align-self: start; width: 22px; height: 28px; border-radius: 7px; color: #737883; background: transparent; font-size: 18px; }
.video-info > button:hover { background: #e8eaee; }
.empty-filter { padding: 30px; border: 1px dashed #ccd0d8; border-radius: 14px; color: var(--muted); background: #fff; text-align: center; }

.live-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; }
.live-card { position: relative; display: flex; aspect-ratio: 16 / 9; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 16px; border-radius: 14px; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.live-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(5, 7, 12, .88), transparent 72%); content: ""; }
.live-card .live-badge { position: absolute; top: 11px; left: 11px; }
.live-viewers { position: absolute; top: 13px; right: 12px; font-size: 8px; font-weight: 700; text-shadow: 0 1px 4px #000; }
.live-card strong { font-size: 15px; }
.live-card small { margin-top: 4px; color: rgba(255, 255, 255, .78); font-size: 9px; }

.channel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.channel-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.channel-large { width: 52px; height: 52px; font-size: 12px; }
.channel-card h3 { margin: 0; font-size: 11px; }
.channel-card p { margin: 5px 0 0; color: var(--muted); font-size: 8px; }
.subscribe-button { min-height: 34px; padding: 0 12px; border-radius: 9px; color: var(--blue); background: var(--blue-soft); font-size: 9px; font-weight: 800; }
.subscribe-button.is-subscribed { color: #666b74; background: #eff0f3; }

.clips-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.clip-card { position: relative; display: flex; aspect-ratio: 16 / 9; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 12px; border-radius: 13px; color: #fff; isolation: isolate; }
.clip-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(5, 6, 10, .86), transparent 70%); content: ""; }
.clip-card > span { position: absolute; top: 8px; right: 8px; padding: 3px 5px; border-radius: 4px; background: rgba(0, 0, 0, .65); font-size: 7px; }
.clip-card strong { font-size: 10px; }
.clip-card small { margin-top: 4px; color: rgba(255, 255, 255, .72); font-size: 7px; }

.toast { position: fixed; z-index: 160; right: 24px; bottom: 24px; max-width: 320px; padding: 12px 16px; border-radius: 11px; color: #fff; background: #24272d; box-shadow: var(--shadow); font-size: 11px; font-weight: 600; }

@media (max-width: 1180px) {
  :root { --sidebar: 196px; }
  .topbar { grid-template-columns: var(--sidebar) minmax(240px, 520px) 1fr; padding-inline: 18px; }
  .feed { padding-inline: 22px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight { grid-template-columns: minmax(0, 1.55fr) minmax(250px, .75fr); }
  .channel-row { grid-template-columns: 1fr; }
  .channel-card { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .feed-discovery { grid-template-columns:1fr; }.cinema-gateway { grid-column:auto; grid-row:auto; }
}

@media (max-width: 900px) {
  :root { --sidebar: 76px; }
  .topbar { grid-template-columns: var(--sidebar) minmax(220px, 1fr) auto; }
  .brand-name { display: none; }
  .sidebar { padding-inline: 10px; }
  .side-nav a { grid-template-columns: 1fr; justify-items: center; min-height: 50px; padding: 4px; font-size: 8px; }
  .side-nav a span { font-size: 18px; }
  .side-nav.compact, .side-divider, .studio-card, .side-footer { display: none; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-main { min-height: 350px; }
  .continue-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .section-inline-title { grid-column: 1 / -1; }
  .continue-card + .continue-card { border-top: 0; }
  .live-grid { grid-template-columns: 1fr 1fr; }
  .live-card:first-child { grid-column: 1 / -1; }
  .clips-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --topbar: 58px; --sidebar: 0px; }
  body { padding-bottom: 0; }
  .topbar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; height: var(--topbar); padding: 0 12px; }
  .brand-mark { width: 34px; height: 34px; }
  .top-search { height: 36px; }
  .top-search input { font-size:16px; }
  .top-actions { gap: 6px; }
  .upload-button { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
  .upload-button span { font-size: 22px; }
  .upload-button { font-size: 0; }
  .icon-button { display: none; }
  .avatar-button { width: 36px; height: 36px; }
  .app-layout { display: block; }
  .sidebar { display: none; }
  .feed { width: 100%; padding: 14px 12px 34px; }
  .feed-discovery { margin-top:12px; padding:10px; }.feed-discovery-title small { display:none; }.category-chip { height:31px; padding-inline:12px; font-size:9px; }.cinema-gateway { grid-template-columns:34px minmax(0,1fr); min-height:66px; }.cinema-gateway>i { width:34px; height:34px; }.cinema-gateway>strong { grid-column:2; }
  .spotlight-main { min-height: 0; aspect-ratio: 16 / 10; border-radius: 13px; }
  .spotlight-copy { padding: 19px; }
  .spotlight-copy > h1 { font-size: 32px; }
  .spotlight-copy > small { display: none; }
  .watch-cta { height: 35px; margin-top: 14px; font-size: 9px; }
  .editor-badge { top: 15px; left: 16px; }
  .continue-panel { grid-template-columns: 1fr; border-radius: 13px; }
  .continue-card + .continue-card { border-top: 1px solid var(--line); }
  .section-title { align-items: center; }
  .section-title h2 { font-size: 18px; }
  .section-title p { display: none; }
  .video-grid { grid-template-columns: 1fr; gap: 23px; }
  .video-info h3 { font-size: 13px; }
  .live-grid { display: flex; margin-right: -12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .live-card, .live-card:first-child { flex: 0 0 84%; aspect-ratio: 16 / 9; scroll-snap-align: start; }
  .channel-card { padding: 13px; }
  .subscribe-button { padding-inline: 9px; }
  .clips-row { display: flex; margin-right: -12px; overflow-x: auto; scrollbar-width: none; }
  .clip-card { flex: 0 0 70%; }
  .toast { right: 12px; bottom: 12px; left: 12px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Crisp app icons: never rely on platform emoji rendering. */
.brand-mark,.upload-button>span,.top-search>span { font-size:0; }
.brand-mark,.upload-button,.top-search>span { position:relative; }
.brand-mark::before { width:0; height:0; border-top:6px solid transparent; border-bottom:6px solid transparent; border-left:9px solid #fff; content:""; transform:translateX(1px); }
.upload-button>span { position:relative; display:block; width:17px; height:17px; }
.upload-button>span::before,.upload-button>span::after { position:absolute; top:50%; left:50%; border-radius:2px; background:currentColor; content:""; transform:translate(-50%,-50%); }
.upload-button>span::before { width:15px; height:2px; }
.upload-button>span::after { width:2px; height:15px; }
.top-search>span::before { display:block; width:10px; height:10px; margin:0 auto; border:2px solid currentColor; border-radius:50%; content:""; }
.top-search>span::after { position:absolute; top:19px; left:17px; width:6px; height:2px; border-radius:2px; background:currentColor; content:""; transform:rotate(45deg); transform-origin:left center; }
@media (max-width:680px) {
  :root { --topbar:60px; }
  .topbar { height:60px; gap:9px; padding:0 11px; box-shadow:0 7px 24px rgba(19,28,42,.08); }
  .brand-mark { width:40px; height:40px; border-radius:13px; }
  .top-search { height:40px; border-radius:13px; }
  .top-search input { padding-right:8px; font-size:14px; }
  .upload-button { width:40px; height:40px; border-radius:13px; box-shadow:0 7px 18px rgba(38,136,235,.2); }
  .avatar-button { width:40px; height:40px; }
}
