:root{--ink:#f5edf8;--muted:#a59aae;--accent:#edafcf;--edge:rgba(231,205,248,.14);--bg:#080611;color-scheme:dark;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}html,body{margin:0;width:100%;min-height:100%;background:var(--bg);color:var(--ink)}body{overflow:hidden}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #f7d3e4;outline-offset:5px}button:disabled{opacity:.4;cursor:not-allowed}button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}#heart-canvas{position:fixed;inset:0;width:100%;height:100%;touch-action:none;z-index:1;cursor:grab}#heart-canvas:active{cursor:grabbing}.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 67% 48%,rgba(83,35,105,.16),transparent 56%),radial-gradient(ellipse at 7% 80%,rgba(47,24,68,.15),transparent 38%);z-index:2}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(8,6,17,.6),transparent 45%),linear-gradient(0deg,rgba(8,6,17,.75),transparent 34%),radial-gradient(ellipse,transparent 48%,rgba(5,4,12,.55));z-index:3}.masthead{position:relative;z-index:10;margin:0 4%;height:108px;display:flex;align-items:center;border-bottom:1px solid rgba(219,201,235,.09);gap:30px}.brand{display:flex;align-items:center;gap:13px;min-width:220px;font-family:"Songti SC","STSong","SimSun",serif;font-size:21px;letter-spacing:.22em}.brand-mark{font-family:Georgia,serif;font-size:40px;font-weight:normal;color:#e9c5e3;line-height:1;letter-spacing:0}.brand-sub{font-family:Arial,sans-serif;font-size:8px;letter-spacing:.21em;display:block;color:#a398ae;margin-top:8px}.navigation{display:flex;gap:34px;margin:auto;font-size:11px;letter-spacing:.06em;color:#c9bdcf}.navigation a{padding:12px 0;transition:color .2s}.navigation a:hover{color:#fff}.navigation span{display:inline-block;margin-left:8px;color:#81758f}.utility{display:flex;gap:15px;min-width:220px;justify-content:flex-end}.icon-button{display:flex;align-items:center;gap:10px;min-width:36px;min-height:36px;justify-content:center;background:none;border:0;padding:4px;color:#c8bacc}.utility-label{font-size:10px;letter-spacing:.06em}.sound-bars{display:flex;align-items:center;gap:3px;height:19px}.sound-bars i{display:block;background:currentColor;width:1px;height:5px}.sound-bars i:nth-child(2){height:14px}.sound-bars i:nth-child(3){height:9px}.sound-bars i:nth-child(4){height:17px}#music-toggle[aria-pressed=true] .sound-bars i{animation:sound 1s ease-in-out infinite alternate}#music-toggle[aria-pressed=true] .sound-bars i:nth-child(2){animation-delay:-.5s}#music-toggle[aria-pressed=true] .sound-bars i:nth-child(3){animation-delay:-.25s}@keyframes sound{to{transform:scaleY(.35)}}.experience{position:relative;z-index:4;pointer-events:none;height:calc(100svh - 108px)}.editorial{position:absolute;left:7%;top:11.3%;width:30%;max-width:390px}.chapter{font-size:9px;letter-spacing:.22em;display:flex;gap:13px;align-items:center;color:#b3a2bf}.chapter-line{height:1px;width:26px;background:#967aab}.chapter-separator{color:#65566e}h1{font-family:"Songti SC","STSong","Noto Serif CJK SC","SimSun",serif;font-size:clamp(52px,5.7vw,90px);font-weight:400;letter-spacing:.12em;line-height:1.2;margin:26px 0 0;color:#f2e6f6;text-shadow:0 0 45px rgba(216,157,246,.13)}.title-sub{display:block;font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:clamp(26px,2.2vw,36px);letter-spacing:.22em;line-height:1.4;margin-top:14px;font-weight:300}.title-dot{color:#d4a7d4;letter-spacing:0}.english-title{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:11px;letter-spacing:.19em;line-height:1.75;color:#b598bc;margin:15px 0 0}.poem{margin-top:30px;font-family:"Songti SC","STSong","SimSun",serif;font-size:17px;letter-spacing:.2em;line-height:1.9;color:#d4c5db}.poem span{display:block}.editorial-note{font-size:10px;color:#8c7c9a;letter-spacing:.09em;margin-top:14px}.live-card{width:228px;margin-top:33px;border-top:1px solid var(--edge);padding-top:15px}.signal-head{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:.13em;color:#a899b6}.signal-head>span:first-child{display:flex;align-items:center;gap:7px}.live-dot{height:4px;width:4px;border-radius:50%;background:#d9a5d4;box-shadow:0 0 9px #d9a5d4}.signal-head #beat-value{font-size:19px;color:#e9d9ee;letter-spacing:.01em;font-family:Georgia,serif}.signal-head small{font:7px Arial,sans-serif;color:#a899b6;letter-spacing:.1em}.ecg{width:100%;height:32px;margin:8px 0 5px;overflow:visible}.ecg path{fill:none;stroke:url(#ecg-fade);stroke-width:1}.ecg-dot{fill:#f6d9e9;opacity:.75;animation:ecg 1.67s ease-in-out infinite}@keyframes ecg{0%,65%,100%{opacity:.15}25%,40%{opacity:1}}.signal-foot{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.08em;color:#887792}.scene-label{position:absolute;top:11%;right:6.5%;display:flex;align-items:center;gap:10px;font-size:8px;letter-spacing:.16em;color:#927b9d}.crosshair{font-size:20px;font-weight:200;color:#a089af}.scene-caption{position:absolute;bottom:27.5%;left:62%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:10px;letter-spacing:.14em;color:#d1b9db}.caption-line{height:1px;width:24px;background:#a084b0}.scene-instruction{font-size:9px;color:#95829f;letter-spacing:.07em;margin-left:10px}.control-deck{pointer-events:auto;position:absolute;bottom:9.6%;left:36.5%;right:6%;max-width:860px;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:24px;padding:24px 26px 21px;border:1px solid rgba(210,175,234,.16);border-radius:3px;background:linear-gradient(110deg,rgba(36,21,46,.75),rgba(15,11,24,.74));backdrop-filter:blur(20px);box-shadow:0 16px 50px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,237,255,.035)}.control-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.12em;color:#d4c0de}.control-caption>span{font-size:6px;letter-spacing:.14em;color:#80708e}.mood-options{display:flex;gap:4px;margin-top:18px}.mood-button{display:flex;flex-direction:column;gap:9px;align-items:center;flex:1;min-width:56px;min-height:40px;padding:0 2px 2px;border:0;background:none;font-size:9px;letter-spacing:.03em;color:#8f7c9d;white-space:nowrap;transition:color .25s}.mood-button.active{color:#eddaef}.swatch{width:9px;height:9px;border-radius:50%;display:block;transition:box-shadow .25s}.swatch.rose{background:#dc9fc6}.swatch.aurora{background:#8ccecd}.swatch.gold{background:#e2b87f}.mood-button.active .swatch{outline:1px solid rgba(255,230,255,.35);outline-offset:4px;box-shadow:0 0 15px currentColor}.tempo-control{border-left:1px solid var(--edge);padding-left:22px;padding-top:0}#tempo-output{font-size:9px;letter-spacing:.02em;color:#b7a2c3;white-space:nowrap}#tempo{width:100%;height:24px;margin:14px 0 0;accent-color:#d5adce;cursor:pointer;appearance:none;background:transparent}#tempo::-webkit-slider-runnable-track{height:2px;background:#5b435e}#tempo::-webkit-slider-thumb{appearance:none;width:7px;height:7px;border-radius:50%;background:#eac7e3;margin-top:-2.5px;box-shadow:0 0 10px #b36aa7}#tempo::-moz-range-track{height:2px;background:#5b435e}#tempo::-moz-range-thumb{width:8px;height:8px;background:#eac7e3;border:none;border-radius:50%}.range-labels{display:flex;justify-content:space-between;font-size:8px;color:#8d7a98;letter-spacing:.08em;margin-top:3px}.action-control{min-width:130px}.primary-button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;width:100%;background:linear-gradient(110deg,rgba(216,167,216,.17),rgba(159,123,186,.08));border:1px solid rgba(221,176,225,.33);border-radius:2px;font-size:10px;letter-spacing:.08em;padding:10px 12px;transition:background .2s,border-color .2s}.primary-button:hover{background:rgba(216,167,216,.25);border-color:#c197cf}.action-star{font-size:17px;color:#e5b4d9}.secondary-actions{display:flex;justify-content:space-between;gap:9px;margin-top:11px}.secondary-actions button{display:flex;align-items:center;gap:6px;background:none;border:0;padding:3px 0;font-size:8px;color:#b19abd;min-height:26px;white-space:nowrap}.secondary-actions button svg{width:12px;height:12px}.secondary-actions button:hover{color:white}.footer{position:fixed;bottom:27px;left:4%;right:4%;display:flex;justify-content:space-between;z-index:4;pointer-events:none;color:#81738d;font-size:8px;letter-spacing:.14em}.footer>span:first-child{display:flex;align-items:center;gap:12px}.footer-star{font-size:12px;color:#cda2cc}.footer-right{letter-spacing:.12em}.footer-right span{padding:0 12px;color:#6a507b}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);z-index:20;padding:12px 22px;background:rgba(40,24,51,.94);border:1px solid rgba(231,195,247,.25);border-radius:3px;font-size:12px;opacity:0;transition:.2s;pointer-events:none;max-width:90%;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.fallback{position:fixed;inset:24% 7% 25% 40%;z-index:2;text-align:center;pointer-events:none}.fallback-heart{color:#e4b2da;font-size:clamp(130px,25vw,380px);font-family:Georgia,serif;text-shadow:0 0 70px #b557b8;line-height:1}.fallback p{font-size:12px;color:#b5a0bf}.paused .ecg-dot,.paused .live-dot{animation-play-state:paused}.paused .scene-instruction{opacity:.65}body[data-mood=aurora]{--accent:#a5e4df}body[data-mood=gold]{--accent:#edc68f}body[data-mood=aurora] .ambient{background:radial-gradient(ellipse at 67% 48%,rgba(20,83,90,.13),transparent 56%)}body[data-mood=gold] .ambient{background:radial-gradient(ellipse at 67% 48%,rgba(106,55,19,.13),transparent 56%)}
@media(min-width:1700px){.editorial{left:9%;top:16%}.control-deck{bottom:12%;left:40%}.scene-caption{bottom:30%}}
@media(max-height:760px) and (min-width:901px){.masthead{height:83px}.experience{height:calc(100svh - 83px)}.editorial{top:8%}h1{font-size:65px;margin-top:19px}.title-sub{font-size:25px;margin-top:9px}.poem{margin-top:20px;font-size:15px}.editorial-note{margin-top:10px}.live-card{margin-top:22px}.control-deck{bottom:10%;padding:19px 22px 16px;gap:20px}.scene-caption{bottom:33%}.scene-label{top:8%}.footer{bottom:20px}}
@media(max-width:1100px) and (min-width:901px){.control-deck{left:35%;right:4%;gap:15px;padding-left:18px;padding-right:18px}.tempo-control{padding-left:14px}.control-caption>span{display:none}.editorial{left:6%}.navigation{gap:22px}.brand,.utility{min-width:160px}.scene-caption{left:66%}.scene-instruction{display:none}}
@media(max-width:900px){body{min-height:740px;overflow-y:auto}.masthead{height:85px;margin:0 6%;gap:12px}.brand{font-size:17px;min-width:0;gap:9px}.brand-mark{font-size:31px}.brand-sub{font-size:6px;letter-spacing:.13em;margin-top:6px}.navigation{gap:17px;font-size:9px;margin-left:auto;margin-right:10px}.navigation a:last-child{display:inline-block}.navigation span{margin-left:3px}.utility{min-width:0;gap:10px}.utility-label{display:none}.experience{min-height:655px;height:calc(100svh - 85px)}.editorial{left:7%;top:5%;width:86%;max-width:none}.chapter{font-size:7px;gap:10px}.chapter-line{width:18px}h1{font-size:48px;margin-top:17px;letter-spacing:.12em;display:flex;align-items:baseline;gap:22px}.title-sub{font-size:22px;letter-spacing:.15em;margin-top:0}.english-title{font-size:7px;letter-spacing:.18em;line-height:1.5;margin-top:12px}.poem{position:absolute;right:0;top:38px;font-size:12px;letter-spacing:.12em;line-height:1.9;margin:0}.editorial-note{font-size:8px;margin-top:14px;letter-spacing:.12em}.live-card{display:none}.scene-label{top:32%;right:8%;font-size:6px;gap:6px}.crosshair{font-size:15px}.scene-caption{bottom:29.5%;left:50%;font-size:9px;gap:9px}.scene-instruction{font-size:8px;margin-left:3px}.control-deck{left:6%;right:6%;bottom:8.5%;max-width:none;grid-template-columns:1.3fr 1fr;gap:20px;padding:19px 20px 17px;border-radius:4px}.control-caption{font-size:9px}.control-caption>span{font-size:6px}.mood-options{margin-top:15px}.mood-button{font-size:8px;gap:7px;min-height:37px}.tempo-control{padding-left:20px}.action-control{grid-column:1/-1;display:flex;align-items:center;gap:20px}.primary-button{min-height:35px;width:46%;font-size:9px;padding:6px 10px}.secondary-actions{flex:1;gap:18px;margin-top:0;justify-content:space-around}.secondary-actions button{font-size:9px;min-height:35px}.footer{bottom:17px;left:6%;right:6%;font-size:6px;letter-spacing:.08em;position:absolute;top:max(calc(100svh - 30px),710px);height:15px}.footer-right{font-size:7px}.footer-right span{padding:0 5px}.fallback{inset:32% 6% 30%}.fallback-heart{font-size:220px}.fallback p{font-size:10px}.toast{bottom:20px}}
@media(max-width:520px){.navigation{gap:12px;margin-right:0}.navigation a{font-size:9px}.navigation a span{display:none}.fullscreen-button{display:none}.utility{gap:0}.brand-sub{font-size:5.5px}.brand{font-size:15px}.masthead{height:74px}.experience{height:calc(100svh - 74px);min-height:666px}.editorial{top:4%}h1{font-size:43px;gap:15px}.title-sub{font-size:19px}.poem{top:111px;right:auto;left:0;display:flex;gap:1px;font-size:10px}.poem span{display:inline}.english-title{font-size:6px;line-height:1.3;margin-top:10px}.editorial-note{display:none}.scene-label{top:32%;right:7%;font-size:5.5px}.scene-caption{bottom:33%;font-size:8px}.control-deck{bottom:10.5%;padding:16px 15px 13px;gap:15px}.control-caption>span{display:none}.tempo-control{padding-left:15px}.mood-button{min-width:47px;font-size:8px}.control-caption{font-size:9px;letter-spacing:.03em}#tempo-output{font-size:8px}.action-control{gap:13px}.primary-button{width:46%}.secondary-actions{gap:12px}.secondary-actions button{font-size:8px}.footer{font-size:5.5px}.footer-right{font-size:6px}.footer-star{font-size:9px}.footer>span:first-child{gap:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Keep the artwork and controls in the same compact landscape viewport. */
@media(max-height:500px) and (min-width:601px){
  html,body{min-height:360px}body{overflow-y:auto}.masthead{height:56px;margin:0 4%;gap:16px}.brand{min-width:0;font-size:15px;gap:9px}.brand-mark{font-size:27px}.brand-sub{font-size:5px;margin-top:4px}.navigation{gap:24px;font-size:9px;margin-left:auto;margin-right:10px}.utility{min-width:0;gap:8px}.utility-label{display:none}.icon-button{min-height:32px}.experience{height:calc(100svh - 56px);min-height:304px}.editorial{left:5%;top:26px;width:27%;max-width:none}.chapter{font-size:6px;letter-spacing:.15em;gap:8px}.chapter-line{width:16px}h1{display:block;font-size:39px;line-height:1.1;margin:13px 0 0;letter-spacing:.12em}.title-sub{display:block;font-size:20px;line-height:1.3;margin-top:9px;letter-spacing:.14em}.english-title{font-size:6px;line-height:1.5;margin-top:10px}.poem{position:static;margin-top:17px;font-size:10px;line-height:1.9;letter-spacing:.1em;display:block}.poem span{display:block}.editorial-note,.live-card{display:none}.scene-label{top:14px;right:5%;font-size:5px;gap:6px}.scene-caption{bottom:132px;left:67%;font-size:7px;gap:8px}.scene-instruction{font-size:6px;margin-left:3px}.control-deck{left:35%;right:4%;bottom:28px;max-width:none;display:grid;grid-template-columns:1.18fr 1fr 1fr;gap:14px;padding:13px 15px 11px;border-radius:3px}.control-caption{font-size:8px;letter-spacing:.03em}.control-caption>span{display:none}.mood-options{margin-top:15px;gap:3px}.mood-button{min-width:0;min-height:28px;font-size:7px;gap:7px;padding:0 1px}.swatch{width:7px;height:7px}.tempo-control{padding-left:12px}.range-labels{font-size:6px;margin-top:0}#tempo{height:19px;margin-top:10px}#tempo-output{font-size:7px}.action-control{grid-column:auto;display:block;min-width:0}.primary-button{width:100%;min-height:31px;padding:6px 8px;gap:5px;font-size:8px}.action-star{font-size:14px}.secondary-actions{margin-top:3px;gap:7px;justify-content:space-between}.secondary-actions button{font-size:6px;gap:4px;min-height:24px}.secondary-actions button svg{width:10px;height:10px}.footer{position:absolute;top:auto;bottom:auto;transform:translateY(-22px);height:12px;left:4%;right:4%;font-size:5px}.footer-right{font-size:5px}.footer-star{font-size:8px}.footer>span:first-child{gap:7px}.fallback{inset:19% 4% 33% 35%}.fallback-heart{font-size:150px}.fallback p{font-size:8px}.toast{bottom:18px;padding:9px 18px;font-size:10px}
}
