:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #090a08; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #090a08; }
.feed-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: .55rem; padding: .65rem .85rem; padding-top: calc(.65rem + env(safe-area-inset-top)); pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.65), transparent); color: #fff; }
.feed-header a { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .65rem; color: #171814; background: #f0c43b; font-weight: 950; text-decoration: none; pointer-events: auto; }
.feed-header strong { font-size: .86rem; }
.feed-header span { margin-left: auto; color: rgba(255,255,255,.72); font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.video-feed { height: 100vh; height: 100dvh; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; scrollbar-width: none; background: #090a08; }
.video-feed::-webkit-scrollbar { display: none; }
.feed-item { position: relative; display: grid; place-items: center; width: 100%; height: 100vh; height: 100dvh; min-height: 100vh; min-height: 100svh; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; background: #090a08; }
.feed-item video { display: block; width: 100%; height: 100%; object-fit: cover; background: #090a08; cursor: pointer; }
.feed-item::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 42%; pointer-events: none; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.feed-info { position: absolute; z-index: 3; left: 1rem; right: 5rem; bottom: 1.25rem; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.75); pointer-events: none; }
.feed-info p { margin: 0 0 .32rem; color: #f0c43b; font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.feed-info h1 { margin: 0; font-size: clamp(1.25rem, 6vw, 2rem); line-height: 1.05; }
.feed-info span { display: block; margin-top: .4rem; color: rgba(255,255,255,.78); font-size: .76rem; font-weight: 650; }
.sound-button { position: absolute; z-index: 5; right: 1rem; bottom: 1.35rem; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; color: #fff; background: rgba(0,0,0,.38); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); font-size: 1.15rem; cursor: pointer; }
.play-state { position: absolute; z-index: 4; display: grid; place-items: center; width: 4rem; height: 4rem; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: #fff; background: rgba(0,0,0,.34); font-size: 1.55rem; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.feed-item.paused .play-state { opacity: 1; }
@supports (padding: max(0px)) {
  .feed-header { padding-left: max(.85rem, env(safe-area-inset-left)); padding-right: max(.85rem, env(safe-area-inset-right)); }
  .feed-info { left: max(1rem, env(safe-area-inset-left)); bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
  .sound-button { right: max(1rem, env(safe-area-inset-right)); bottom: calc(1.35rem + env(safe-area-inset-bottom)); }
}
@media (min-width: 48rem) {
  body { background: #171814; }
  .video-feed { max-width: 34rem; margin: auto; box-shadow: 0 0 5rem rgba(0,0,0,.7); }
  .feed-item video { object-fit: contain; }
  .feed-header { max-width: 34rem; margin: auto; }
}
