:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#fff;background:#080d16;color-scheme:dark;-webkit-font-smoothing:antialiased;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--accent:#42e4c3}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overscroll-behavior:none}body{overflow:hidden}button{font:inherit;cursor:pointer;border:0}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.4;cursor:not-allowed}[hidden]{display:none!important}.app{width:100%;height:100vh;height:100dvh;display:flex;justify-content:center;align-items:center;position:relative;isolation:isolate;overflow:hidden}.app:before{content:"";inset:-20%;position:absolute;z-index:-1;background:radial-gradient(circle at 24% 35%,#123044,#080d16 48%),radial-gradient(circle at 80% 70%,#103349,transparent 36%)}.phone-shell{position:relative;flex:0 0 auto;overflow:hidden;width:100%;height:100vh;height:100dvh;background:#081322;isolation:isolate;touch-action:pan-y;user-select:none;-webkit-user-select:none}#storyVideo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#0c1a2b;z-index:0}.film-tint{position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(2,9,17,.84) 0%,rgba(2,9,17,.35) 15%,transparent 33%,transparent 42%,rgba(1,6,13,.24) 61%,rgba(1,6,13,.76) 77%,rgba(1,6,13,.95) 100%)}.glow-corner{position:absolute;pointer-events:none;z-index:1;inset:0;background:linear-gradient(110deg,rgba(3,11,27,.25),transparent 72%)}.video-top,.video-bottom,.side-actions,.video-mid,.top-hints,.end-next{position:absolute;z-index:3}.video-top{top:0;left:0;right:0;padding:calc(var(--safe-top) + 17px) 17px 0}.topbar{display:flex;justify-content:space-between;align-items:center;min-height:28px}.mobile-brand{display:flex;align-items:center;gap:6px;font-weight:900;letter-spacing:-.65px;font-size:18px;text-shadow:0 2px 6px #001}.mobile-brand>span:last-child{color:var(--accent)}.brand-mark,.mark{display:flex;align-items:flex-end;gap:3px;height:17px;margin-right:3px}.brand-mark i,.mark i{display:block;border-radius:2px;background:var(--accent);width:4px;transform:skewX(-13deg)}.brand-mark i:nth-child(1),.mark i:nth-child(1){height:9px}.brand-mark i:nth-child(2),.mark i:nth-child(2){height:16px}.brand-mark i:nth-child(3),.mark i:nth-child(3){height:12px}.mode-chip{font-size:10px;letter-spacing:.75px;font-weight:850;color:#d6edf0;border:1px solid #ffffff39;background:#07131db7;padding:6px 8px;border-radius:20px;white-space:nowrap}.category-scroll{display:flex;gap:7px;overflow:auto;margin-top:17px;scrollbar-width:none;padding-bottom:4px}.category-scroll::-webkit-scrollbar{display:none}.category-tab{background:#101927a8;border:1px solid #ffffff2e;padding:8px 13px;border-radius:22px;color:#d5dce4;font-size:12px;font-weight:750;white-space:nowrap;transition:background .2s}.category-tab.active{background:#f1f8f8;color:#0a1a25;border-color:#f1f8f8}.top-hints{top:calc(var(--safe-top) + 102px);left:0;right:0;display:flex;justify-content:center}.update-pill{border-radius:100px;background:rgba(35,80,78,.96);border:1px solid #67e5c4;color:white;padding:10px 15px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:800;box-shadow:0 10px 34px #0008}.update-dot{width:6px;height:6px;background:#64ffcf;border-radius:50%;box-shadow:0 0 0 5px #4ecba32e}.video-mid{inset:27% 0 31%;pointer-events:none;display:flex;align-items:center;justify-content:center}.video-mid>*{pointer-events:auto}.center-play{background:rgba(0,0,0,.72);border:1px solid #ffffff5c;color:white;border-radius:20px;padding:15px 24px;display:flex;gap:12px;align-items:center;font-weight:780;box-shadow:0 5px 35px #000a}.triangle{width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:14px solid white}.video-error{max-width:275px;margin:auto;padding:24px 20px;background:#08131fe8;border:1px solid #ffffff36;border-radius:20px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:11px}.video-error strong{font-size:18px}.video-error small{color:#bed0df}.video-error button{background:#e2f8f4;padding:11px;border-radius:13px;color:#0d2931;font-weight:800}.error-ring{width:40px;height:40px;line-height:36px;border-radius:50%;border:2px solid #f4c78c;color:#f4c78c;font-size:23px}.side-actions{right:11px;bottom:calc(172px + var(--safe-bottom));display:flex;flex-direction:column;gap:17px;align-items:center;width:61px}.action{display:flex;flex-direction:column;align-items:center;gap:5px;background:none;color:white;text-shadow:0 1px 4px #000b;padding:0;min-width:60px;font-size:10px;font-weight:780}.action-icon{width:43px;height:43px;background:#061623a9;border:1px solid #ffffff6a;border-radius:50%;display:flex;justify-content:center;align-items:center;box-shadow:0 4px 15px #0006}.action-icon svg{height:21px;width:21px}.action-sound .action-icon{background:rgba(42,122,105,.94);border:1px solid #67e5ca}.video-bottom{left:0;right:0;bottom:0;padding:0 86px calc(var(--safe-bottom) + 15px) 18px;pointer-events:none}.video-bottom>*{pointer-events:auto}.feed-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.topic-chip{background:#53dfbb;color:#093331;padding:4px 7px;border-radius:5px;letter-spacing:.65px;font-size:10px;font-weight:900}.story-index{font-size:11px;color:#d3e1e9;font-weight:850;letter-spacing:1px}#storyTitle{font-size:clamp(23px,5.7vw,30px);font-weight:850;line-height:1.15;letter-spacing:-.75px;margin:0 0 9px;max-width:99%;text-wrap:balance;text-shadow:0 2px 13px #000b}#storySummary{font-size:13px;line-height:1.47;font-weight:500;color:#e1e8ef;max-width:370px;margin:0 0 11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.story-context{font-weight:780;padding:9px 12px;border-radius:12px;border:1px solid #b7d4df7d;background:rgba(9,24,39,.63);font-size:12px;color:white;display:flex;gap:9px;align-items:center;width:max-content}.story-context .arrow{color:#67e4c4;font-size:17px}.source-line{display:flex;gap:7px;align-items:center;font-size:10px;font-weight:650;letter-spacing:.2px;margin:9px 0 14px;color:#c5d1df}.source-separator{color:#91a4b7}.playback-progress{height:4px;background:#ffffff40;border-radius:20px;overflow:hidden;max-width:500px}.playback-progress-fill{width:0;height:100%;background:#5ff2cb;transition:width .15s linear}.bottom-rail{display:flex;align-items:center;justify-content:space-between;padding-top:12px;gap:6px;font-size:10px;color:#bfd2d8;font-weight:700}.swipe-prompt{display:flex;align-items:center;gap:5px}.swipe-prompt svg{height:16px;width:16px}.swipe-indicator{position:absolute;z-index:2;right:21px;bottom:calc(147px + var(--safe-bottom));opacity:.45;font-size:19px;pointer-events:none}.end-next{inset:auto 20px calc(265px + var(--safe-bottom)) 20px;padding:18px;border:1px solid #ffffff3c;border-radius:20px;background:#071521e6;display:flex;gap:13px;align-items:center;flex-direction:column;font-weight:750;backdrop-filter:blur(8px)}.end-next button{width:100%;background:#5be7c5;color:#09211e;font-weight:900;border-radius:14px;padding:13px}.end-next button span{float:right}.toast{position:fixed;z-index:30;left:50%;bottom:calc(15% + var(--safe-bottom));transform:translate(-50%,20px);background:#d5fff4;color:#10352c;padding:11px 15px;border-radius:12px;white-space:nowrap;font-size:12px;font-weight:800;box-shadow:0 12px 35px #0009;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.details-layer{position:fixed;z-index:20;inset:0;display:flex;align-items:flex-end;justify-content:center}.details-backdrop{position:absolute;inset:0;background:#000a;backdrop-filter:blur(3px)}.details-sheet{position:relative;overflow-y:auto;max-height:82dvh;width:min(100%,520px);padding:15px 23px calc(22px + var(--safe-bottom));border-radius:27px 27px 0 0;background:#111b28;box-shadow:0 -12px 80px #0009;border-top:1px solid #ffffff26}.sheet-handle{width:45px;height:5px;border-radius:20px;background:#718399;margin:0 auto 17px}.sheet-head{display:flex;justify-content:space-between;align-items:center}.detail-flag{font-weight:900;letter-spacing:1.4px;font-size:11px;color:#6ee4c3}.close-details{background:#ffffff1f;color:white;width:32px;height:32px;border-radius:50%}.details-sheet h2{font-size:27px;line-height:1.15;letter-spacing:-.5px;margin:17px 0 10px}.details-sheet p{font-size:14px;line-height:1.65;color:#d9e1eb}.keypoints{border-top:1px solid #ffffff26;border-bottom:1px solid #ffffff26;padding:8px 0 16px;margin:19px 0}.keypoints h3{font-size:14px;margin:13px 0}.keypoints li{font-size:14px;color:#d7e5e7;line-height:1.6;padding:3px}.source-footer{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#9bafbf}.source-footer a{color:#8ce9d2}.details-sheet .demo-foot{font-size:11px;color:#9aabbb}.desktop-info,.desktop-right{display:none}.debug-panel{position:fixed;z-index:50;right:4px;bottom:6px;max-width:300px;overflow:auto;max-height:190px;padding:8px;border-radius:8px;background:#06101bf0;color:#9dfddc;font:10px monospace;pointer-events:none}
@media(min-width:760px){.app{gap:min(6vw,90px)}.phone-shell{width:min(440px,47vw);height:min(900px,94dvh);border-radius:30px;box-shadow:0 20px 90px #000c;border:1px solid #ffffff2a}.desktop-info{display:flex;flex-direction:column;justify-content:space-between;width:min(380px,30vw);height:min(690px,88dvh);padding:5px 0}.desktop-brand{font-size:22px;font-weight:850;letter-spacing:-.9px;display:flex;align-items:center;gap:3px}.desktop-brand>span:last-child{color:var(--accent)}.desktop-body{margin:auto 0}.eyebrow{letter-spacing:2px;color:#73e7ce;font-size:11px;font-weight:850}.desktop-body h1{font-size:clamp(44px,4.5vw,68px);letter-spacing:-3px;line-height:1.06;font-weight:850;margin:25px 0}.desktop-body h1 span{color:var(--accent)}.desktop-body p{color:#afbfce;line-height:1.75;font-size:16px;max-width:355px}.desktop-tips{display:flex;flex-direction:column;gap:14px;margin:45px 0;border-top:1px solid #ffffff2a;padding-top:22px}.desktop-tips div{font-size:13px;color:#dde5eb}.desktop-tips b{font-size:12px;color:#73e6cb;margin-right:18px}.desktop-note{font-size:11px!important;color:#7f8b9c!important}.desktop-right{display:block;position:absolute;right:26px;bottom:23px;text-align:right}.side-counter{font-weight:850;color:#deebf3;font-size:23px}.side-counter span{color:#4b6271}.side-caption{font-size:9px;letter-spacing:2px;color:#8499aa;padding-top:8px}#storyTitle{font-size:29px}}
@media(max-width:375px){.video-bottom{padding-right:76px}.side-actions{right:7px}.video-top{padding-left:13px;padding-right:13px}#storyTitle{font-size:21px}.action-icon{width:38px;height:38px}.side-actions{gap:12px}.source-line{font-size:9px}}@media(max-height:720px){.side-actions{bottom:calc(152px + var(--safe-bottom));gap:10px}.video-bottom{padding-bottom:calc(7px + var(--safe-bottom))}#storyTitle{font-size:21px}#storySummary{font-size:12px;-webkit-line-clamp:1}.feed-meta{margin-bottom:6px}.story-context{padding:7px 9px}.source-line{margin:6px 0 8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* V2: compact single-line headlines, prominent centered sound and automatic next story. */
.mode-chip,.desktop-note,.demo-foot{display:none!important}
.video-mid{inset:22% 0 25%;display:flex;align-items:center;justify-content:center}
.center-sound,.center-play{width:150px;min-height:150px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;background:rgba(5,14,24,.77);border:1px solid rgba(255,255,255,.6);border-radius:26px;color:#fff;box-shadow:0 14px 55px #0009;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);font-size:15px;font-weight:800;text-shadow:0 2px 7px #0008;transition:transform .15s,background .15s}
.center-sound:active,.center-play:active{transform:scale(.96)}
.sound-emblem{width:66px;height:66px;display:flex;align-items:center;justify-content:center;color:#fff}
.sound-emblem svg{width:62px;height:62px;filter:drop-shadow(0 3px 5px #0008)}
.center-sound-label{white-space:nowrap}
.play-emblem{display:flex;align-items:center;justify-content:center;width:65px;height:65px;border:3px solid #fff;border-radius:50%}
.play-emblem .triangle{margin-left:5px;border-top:13px solid transparent;border-bottom:13px solid transparent;border-left:21px solid #fff}
.video-bottom{bottom:0;left:0;right:0;padding:0 17px calc(var(--safe-bottom) + 13px);pointer-events:none}
.video-bottom>*{pointer-events:auto}
.headline-row{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;margin:0 0 10px}
.headline-row .topic-chip{flex:0 0 auto;font-size:9px;padding:4px 6px;letter-spacing:.3px}
#storyTitle{flex:1;min-width:0;max-width:none;margin:0;font-size:15px!important;font-weight:750;line-height:1.3;letter-spacing:0;white-space:nowrap;text-wrap:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;text-shadow:0 2px 9px #000c}
.feed-meta,.story-index,#storySummary,.story-context,.source-line{display:none!important}
.playback-progress{width:100%;max-width:none;height:3px}
.bottom-rail{padding-top:8px;font-size:10px}
.side-actions{bottom:calc(106px + var(--safe-bottom));gap:13px}
.swipe-indicator{bottom:calc(93px + var(--safe-bottom))}
.end-next{left:50%;right:auto;bottom:calc(85px + var(--safe-bottom));transform:translateX(-50%);width:max-content;min-width:195px;max-width:calc(100% - 40px);gap:8px;padding:12px 15px;font-size:13px;text-align:center;border-radius:16px}
.end-next button{padding:9px 14px;font-size:12px}
@media(min-width:760px){#storyTitle{font-size:16px!important}}
@media(max-width:375px){.video-bottom{padding:0 12px calc(var(--safe-bottom) + 10px)}#storyTitle{font-size:13px!important}.headline-row{gap:6px}.side-actions{bottom:calc(95px + var(--safe-bottom))}.center-sound,.center-play{width:136px;min-height:136px}}
@media(max-height:720px){.video-bottom{padding-bottom:calc(var(--safe-bottom) + 8px)}.side-actions{bottom:calc(90px + var(--safe-bottom))}.center-sound,.center-play{width:130px;min-height:130px}.sound-emblem{height:54px;width:54px}.sound-emblem svg{width:50px;height:50px}}


/* V3: preserve the original, unfiltered video colors. */
.film-tint,.glow-corner{display:none!important}
/* Keep labels legible without dimming the entire video. */
.mobile-brand{text-shadow:0 1px 3px rgba(0,0,0,.92),0 3px 9px rgba(0,0,0,.80)}
.category-tab:not(.active){background:rgba(5,14,27,.64);border-color:rgba(255,255,255,.55);text-shadow:0 1px 4px rgba(0,0,0,.85)}
#storyTitle{text-shadow:0 2px 3px #000,0 2px 9px #000}
.bottom-rail{text-shadow:0 1px 3px #000,0 2px 5px #000}
/* The center of the player never shows a play/pause overlay after a user tap. */
.center-play{display:none!important}
