:root { color-scheme: dark; font-family: Arial, sans-serif; background: #101114; color: #fff; }
* { box-sizing: border-box; }
body { margin: 0; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
button:disabled { opacity: .3; cursor: default; }
button:focus-visible, a:focus-visible, video:focus-visible { outline: 3px solid #ff526e; outline-offset: 4px; }
[hidden] { display: none !important; }
.feed-header { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: max(16px, env(safe-area-inset-top)) 24px 30px; background: linear-gradient(#101114d9, transparent); pointer-events: none; }
.feed-header > * { pointer-events: auto; }
.pill { background: #202126d9; border: 1px solid #ffffff30; border-radius: 24px; padding: 11px 17px; font-size: 14px; font-weight: 600; }
.pill:hover { background: #3a3b40; }
.brand { font-size: 16px; font-weight: 800; letter-spacing: 2px; }
.brand span { color: #ff4968; }
#feed { height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior-y: contain; scroll-snap-type: y mandatory; scrollbar-width: none; background: #101114; }
#feed::-webkit-scrollbar { display: none; }
.slide { height: 100%; min-height: 100%; position: relative; scroll-snap-align: start; scroll-snap-stop: always; display: flex; justify-content: center; align-items: center; overflow: hidden; background: #08090b; }
.slide video { display: block; width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.slide video:fullscreen { object-fit: contain; }
.caption { position: absolute; bottom: max(28px, env(safe-area-inset-bottom)); left: max(24px, calc((100% - 560px) / 2)); right: max(90px, calc((100% - 560px) / 2)); pointer-events: none; text-shadow: 0 2px 9px #000; }
.caption h1 { font-size: 19px; line-height: 1.35; margin: 8px 0; overflow-wrap: anywhere; }
.caption a, .caption button { pointer-events: auto; }
.caption a { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.caption .eyebrow { font-size: 11px; letter-spacing: 2px; color: #fff9; }
.caption::before { content: ''; position: absolute; z-index: -1; inset: -28px -24px -45px; background: linear-gradient(transparent, #0009); }
.play-toggle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border: 1px solid #ffffff70; border-radius: 50%; background: #111a; font-size: 30px; display: none; }
.slide.is-paused .play-toggle, .slide.is-blocked .play-toggle { display: block; }
.slide .media-error { position: absolute; top: 45%; left: 20px; right: 20px; text-align: center; padding: 15px; background: #121318ed; }
.feed-nav { position: fixed; right: max(24px, calc((100% - 800px) / 2)); top: 50%; transform: translateY(-50%); z-index: 11; display: grid; gap: 14px; }
.feed-nav button { width: 48px; height: 48px; border: 1px solid #ffffff38; background: #27282bd9; border-radius: 50%; font-size: 25px; }
.notice { position: fixed; top: 48%; left: 20px; right: 20px; text-align: center; z-index: 12; pointer-events: none; line-height: 1.6; }
.notice a { pointer-events: auto; text-decoration: underline; }
.retry { position: fixed; z-index: 13; left: 50%; top: 58%; transform: translateX(-50%); }
.slide .progress { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 3px; accent-color: #ff4968; border: 0; background: #ffffff26; pointer-events: none; }
@media (max-width: 600px) {
    .slide.is-portrait video { object-fit: cover; }
    .feed-header { padding-left: 12px; padding-right: 12px; }
    .brand { font-size: 11px; letter-spacing: 1px; }
    .pill { padding: 10px 12px; font-size: 12px; }
    .caption { left: 16px; right: 65px; bottom: max(28px, env(safe-area-inset-bottom)); }
    .caption h1 { font-size: 17px; }
    .feed-nav { right: 10px; top: auto; bottom: max(35px, env(safe-area-inset-bottom)); transform: none; gap: 10px; }
    .feed-nav button { width: 40px; height: 40px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { #feed { scroll-behavior: auto; } }
