/* One mobile H5 canvas at every screen size. Desktop is only a phone preview. */
html{height:100%;background:#050913;overscroll-behavior:none}
body{height:100dvh;height:var(--visible-height,100dvh);display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#1c2b3e,#050913 70%);overscroll-behavior:none}
.mobile-shell{position:relative;isolation:isolate;width:100%;max-width:430px;height:100%;max-height:932px;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 80% 15%,#1d2c41,#080f1e 60%);box-shadow:0 30px 100px #0008;color:var(--text)}
.topbar{position:absolute;inset:0 0 auto;z-index:5;padding:calc(10px + env(safe-area-inset-top)) 20px 8px;min-height:60px;border:0;background:linear-gradient(#080f1eaa,transparent);pointer-events:none}
.topbar>*{pointer-events:auto}.brand{font-size:16px;gap:9px;letter-spacing:3px}.brand-mark{font-size:29px}.brand small{font-size:8px;letter-spacing:2px}.header-caption{display:none}.topbar .text-button{font-size:12px;border:1px solid #e5d1ab33;border-radius:24px;min-height:36px;padding:7px 13px;background:#080f1e55;backdrop-filter:blur(8px)}
.deck{margin:0;max-width:none;width:100%;height:100%;flex:1;min-height:0;overflow:hidden}
.page{display:flex;flex-direction:column;gap:0;padding:0;width:100%;height:100%;align-items:stretch;position:absolute;inset:0;overflow:hidden;animation:h5-page .4s cubic-bezier(.22,.61,.36,1) both;touch-action:pan-y pinch-zoom}
.cover-wrap{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:-2;background:#080f1e}
.hero-cover{width:100%;height:100%;max-width:none;max-height:none;border-radius:0;object-fit:contain;object-position:center 36px;background:#080f1e}
.welcome{isolation:isolate}.welcome:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#080f1e22,transparent 20%,transparent 55%,#080f1e88 75%,#080f1e 92%)}
.invitation{margin-top:auto;max-width:none;padding:30px 25px calc(34px + env(safe-area-inset-bottom));width:100%}.invitation>.eyebrow,.invitation>h1,.invitation>.lead,.invitation>.host{display:none}.cover-action{margin:0}.cover-action:before{content:'冯兴，想单独讲给你听';display:block;text-align:center;font-size:14px;letter-spacing:2px;color:#e7cfaa;margin:0 0 20px}.primary{min-height:54px;border-radius:28px;box-shadow:0 9px 35px #e7bd6b15;font-size:16px;letter-spacing:.5px}.under-button{margin:13px 0 0;text-align:center;font-size:11px;color:#b8becc}.primary:active,.player-primary:active{transform:scale(.975)}
footer{position:absolute;bottom:0;left:0;right:0;width:100%;border:0;padding:7px 20px max(8px,env(safe-area-inset-bottom));font-size:9px;color:#8190a4;letter-spacing:.5px;pointer-events:none;z-index:4}footer>span:first-child{display:none}footer>span:last-child{margin:auto;font-size:9px}
.intake-art,.studio-art{display:none!important}.intake-page{padding:calc(60px + env(safe-area-inset-top)) 26px calc(30px + env(safe-area-inset-bottom));justify-content:center}.intake-content{width:100%;max-width:none;margin:auto}.step-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.step-header .text-button{font-size:13px;min-height:44px}.step-header>span{font-size:12px}.intake-content>.eyebrow{font-size:11px;letter-spacing:2px}.intake-content h2{font-size:30px;margin:15px 0 9px;font-weight:500}.dialog-lead{font-size:14px;margin:0 0 24px;line-height:1.7}form>label,legend{font-size:14px;margin:0 0 9px}input:not([type]),select{font-size:16px;min-height:49px;border-radius:12px;background:#17233788;border-color:#9eacc52b}fieldset{margin:22px 0}.choices{gap:9px}.choices span{font-size:13px;border-radius:12px;min-height:46px;padding:10px 7px}.choices label:last-child{flex-basis:100%}.select-wrap:after{top:19px}form .primary{margin-top:27px}.form-note{font-size:11px;margin:12px 0 0}
.studio{padding:calc(62px + env(safe-area-inset-top)) 23px calc(28px + env(safe-area-inset-bottom));justify-content:center}.listening-area{width:100%;height:100%;min-height:0;max-width:none;display:flex;flex-direction:column;justify-content:center}.listening-area .step-header{margin-bottom:0;flex-shrink:0}.story-progress{flex-shrink:0;margin:0 0 16px;gap:6px}.story-progress button{height:26px;padding:11px 0}.story-progress button:before{inset:11px 0}.story-progress button>span{height:4px}.scene-header{flex-shrink:0}.scene-header .eyebrow{font-size:12px;letter-spacing:1px}.scene-header>span:last-child{font-size:12px;color:var(--gold)}.listening-area h2{font-size:30px;line-height:1.45;margin:18px 0 10px;font-weight:500;flex-shrink:0}.personal-note{font-size:13px;line-height:1.75;margin:0 0 18px;flex-shrink:0;min-height:0}.radio-card{flex:1;min-height:235px;max-height:365px;display:flex;flex-direction:column;justify-content:space-between;padding:19px;border-radius:24px;background:radial-gradient(ellipse at 50% 30%,#d4b47c0c,transparent 60%),#132035aa;border:1px solid #e6c58e2b;box-shadow:inset 0 1px 0 #f1e0c307,0 20px 50px #0002}.speaker{gap:10px}.speaker img{width:42px;height:42px}.speaker strong{font-size:14px}.speaker div>span{font-size:11px;white-space:nowrap}.demo-label{display:block;font-size:10px;white-space:nowrap;padding:4px 6px;border-radius:5px}.caption-stage{flex:1;height:auto;min-height:82px;padding:17px 0}.caption-stage p{font-size:23px;line-height:1.75;letter-spacing:.5px}.quote-mark{top:22px}.waveform{height:33px;flex-shrink:0;margin:0 0 12px;gap:3px}.time-labels{font-size:10px}.play-controls{margin-top:16px;gap:12px}.player-primary{min-height:50px;flex:1;font-size:14px;background:linear-gradient(110deg,#f0d7ab,#daba83);color:#24212a;border:0;box-shadow:0 5px 20px #d7b67912}.round-button,.speed-button{height:44px;min-width:36px}.page-navigation{margin-top:12px;display:flex;justify-content:space-between;gap:8px;flex-shrink:0}.page-navigation .text-button{font-size:13px;min-height:44px}.page-navigation>span{font-size:10px;line-height:1.6;color:#b2a184}.demo-explainer{font-size:10px;line-height:1.6;margin:3px 0 0;flex-shrink:0;color:#8e9db2}.turning{animation:h5-forward .4s ease both}.mobile-shell[data-direction=back] .turning{animation-name:h5-back}
.ending-page{position:absolute;isolation:isolate;padding:calc(80px + env(safe-area-inset-top)) 29px calc(40px + env(safe-area-inset-bottom));justify-content:center}.ending-image{position:absolute;inset:0;display:block;z-index:-2}.ending-image img{width:100%;height:100%;max-height:none;max-width:none;object-fit:cover;filter:blur(4px)}.ending-page:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,#080f1ef7,#080f1ed9)}.ending-content{max-width:none;width:100%;margin:auto}.ending-date{font-size:88px;margin:23px 0;letter-spacing:-4px}.ending-date span{font-size:55px}.ending-content h2{font-size:32px;line-height:1.5}.ending-content>p:not(.demo-explainer){font-size:14px;line-height:1.8}.event-stamp{margin:25px 0;padding-top:22px}.replay-button{margin:13px auto 0}
dialog{width:min(390px,calc(100% - 28px));border-radius:24px}.poster-dialog{border-radius:15px}.poster-dialog .primary{font-size:14px}.keyboard-open .intake-page{overflow-y:auto;justify-content:flex-start;padding-top:58px}.keyboard-open .intake-content{margin:0}.keyboard-open footer{display:none}
@media(min-width:600px){.mobile-shell{height:min(880px,calc(100dvh - 44px));height:min(880px,calc(var(--visible-height,100dvh) - 44px));border-radius:34px;border:1px solid #66748870;outline:7px solid #18212d;max-width:414px;box-shadow:0 30px 100px #000b}.mobile-shell:after{content:'';position:absolute;bottom:8px;left:calc(50% - 46px);width:92px;height:4px;background:#d1d7e34d;border-radius:4px;z-index:8;pointer-events:none}footer{padding-bottom:18px}.invitation{padding-bottom:44px}}
@media(max-height:760px){.intake-page{padding:52px 23px 25px}.intake-content .step-header{margin-bottom:3px}.intake-content h2{font-size:27px;margin:9px 0 7px}.dialog-lead{margin-bottom:17px}fieldset{margin:16px 0}.choices span{min-height:44px}form .primary{margin-top:18px;min-height:49px}.form-note{font-size:10px}.studio{padding:52px 20px 24px}.story-progress{margin-bottom:8px}.listening-area h2{font-size:27px;margin:12px 0 8px}.personal-note{font-size:12px;margin-bottom:12px}.radio-card{min-height:220px;padding:15px 17px}.caption-stage p{font-size:21px}.caption-stage{min-height:70px;padding:12px 0}.speaker img{width:37px;height:37px}.waveform{height:27px;margin-bottom:9px}.play-controls{margin-top:10px}.player-primary{min-height:46px}.page-navigation{margin-top:5px}.demo-explainer{font-size:9px}.ending-date{font-size:70px;margin:15px 0}.ending-content h2{font-size:28px}.ending-page{padding:65px 26px 35px}}
@media(max-width:350px){.studio{padding-left:17px;padding-right:17px}.intake-page{padding-left:20px;padding-right:20px}.demo-label{display:none}.scene-header .eyebrow{font-size:11px}.listening-area h2{font-size:25px}.caption-stage p{font-size:20px}.personal-note{font-size:11px}.page-navigation>span{font-size:9px}}
@media(max-height:590px){.intake-page{overflow-y:auto;justify-content:flex-start}.intake-content{margin:0}.studio{overflow-y:auto}.listening-area{height:auto;min-height:100%}.ending-page{overflow-y:auto}.ending-content{margin:0}}
@keyframes h5-page{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes h5-forward{from{opacity:.2;transform:translateX(35px)}to{opacity:1;transform:none}}@keyframes h5-back{from{opacity:.2;transform:translateX(-35px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.header-actions{display:flex;gap:7px;pointer-events:auto}.header-actions .text-button{font-size:11px;padding:7px 10px}.audio-label{font-size:14px;color:var(--gold);display:block;margin:25px 0 12px}#reference-audio{width:100%;height:44px}.voice-pending{margin-top:24px;padding:14px;border:1px solid var(--line);border-radius:10px;font-size:13px;color:var(--muted);line-height:1.8}

/* The old artwork's date is masked in the H5; current dates are live HTML. */
.hero-cover{clip-path:inset(0 0 19% 0)}
.header-actions a{display:inline-flex;align-items:center;text-decoration:none;color:var(--gold);pointer-events:auto;border:1px solid #e5d1ab33;border-radius:24px;padding:7px 10px;font-size:11px;background:#080f1e55;min-height:36px}
.story-progress{gap:3px}.caption-stage p{font-size:20px;line-height:1.7}.ending-date{font-size:53px;letter-spacing:-2px}.ending-date span{font-size:35px}
