:root{--ink:#303b31;--paper:#eee6d5;--green:#4f6752}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--paper);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei",sans-serif}button,a,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid #a59c85;background:#f5efdfeb;color:var(--ink);padding:10px 20px;border-radius:24px}button:hover{background:#dee3cf}button:focus-visible,a:focus-visible,input:focus-visible,#panorama:focus-visible{outline:3px solid #a25e44;outline-offset:4px}h1,h2,h3{font-family:"Songti SC","STSong",serif;font-weight:500}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#cover{position:fixed;inset:0}.cover-art{width:100%;height:100%;object-fit:cover;object-position:center}.cover-action{position:absolute;bottom:5vh;left:0;right:0;text-align:center}.cover-action p{font:18px/1.5 "Songti SC",serif;letter-spacing:5px;margin:0 0 14px}.cover-action button{background:#4e6652;color:#fff8e8;border:1px solid #789074;padding:13px 44px;font:26px "Songti SC",serif;box-shadow:0 8px 25px #3a412530;min-width:180px}.cover-action span{margin-left:35px}.preview-return{position:absolute;right:30px;top:25px;color:#445344;background:#f6f0dfc7;padding:8px 16px;border-radius:20px;font-size:13px;text-decoration:none}
#journey{min-height:100svh;background:radial-gradient(ellipse at center,#faf5e7,#e7dcc6)}header{height:120px;padding:20px 4vw;display:flex;align-items:center;justify-content:space-between}header>div{text-align:center}header span{font-size:12px;letter-spacing:5px;color:#7c745f}header h2{font-size:30px;margin:8px 0}header button{font-size:13px}
#panorama{height:45svh;min-height:240px;position:relative;overflow:auto hidden;scrollbar-width:none;cursor:grab;touch-action:pan-x;box-shadow:0 12px 30px #54432a2b;border-block:9px solid #bca77e;background:#cfbf98;user-select:none}#panorama:active{cursor:grabbing}#panorama::-webkit-scrollbar{display:none}#painting-strip{position:relative;width:max-content;height:100%}#painting-strip>img{display:block;width:auto;height:100%;max-width:none;pointer-events:none}#landmarks{position:absolute;inset:0}.landmark{position:absolute;top:18%;transform:translateX(-50%);border-radius:5px 5px 18px 18px;padding:14px 12px 28px;background:#fcf5e6ed;box-shadow:0 10px 25px #443b2540;font-family:"Songti SC",serif;min-width:110px;white-space:nowrap}.landmark::after{content:'';position:absolute;width:1px;height:75px;background:#fcf5e6;left:50%;top:100%}.landmark strong{display:block;font-size:28px;font-weight:500;letter-spacing:3px}.landmark span{display:block;font:14px/1.8 "PingFang SC",sans-serif;margin-top:8px}.landmark[aria-current=true]{background:#546b52;color:#fffbed;border-color:#8c9c76}.journey-caption{display:flex;justify-content:space-between;padding:13px 5vw;font-size:12px;color:#7b705b;letter-spacing:2px}
.journey-bottom{display:flex;align-items:center;justify-content:space-between;gap:35px;margin:0 5vw;min-height:115px}.chapter-copy{max-width:480px}.chapter-copy>span{font-size:13px;letter-spacing:3px;color:#92694a}.chapter-copy h3{font-size:29px;margin:5px 0 9px}.chapter-copy p{font-size:17px;margin:0;line-height:1.6}#era-nav{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}#era-nav button{font-size:14px;padding:8px 14px}#era-nav button[aria-current=true]{background:#536a51;color:#fff8e9}.bottom-controls{display:flex;align-items:center;gap:15px;margin:20px 5vw 0}.bottom-controls input{flex:1;accent-color:var(--green);direction:ltr}.bottom-controls button{font-size:14px}#enter{background:#536a51;color:#fff8e9}.credits{position:absolute;right:5vw;bottom:8px;font-size:11px;color:#786c55}.credits summary{cursor:pointer}.credits[open]{width:350px;padding:18px;background:#fcf7e9;box-shadow:0 5px 30px #443c2433;border-radius:12px;z-index:5}.credits a{color:#536a51}
#chapter-gate{position:fixed;inset:0;background:linear-gradient(#f4eddb88,#e8ddc6b3),url('assets/v11/qingming-scroll.jpg') 80% center/auto 100%;display:grid;place-items:center}#back-scroll{position:absolute;left:4vw;top:30px}.gate-paper{width:min(640px,80vw);padding:65px;background:#faf3e1;box-shadow:0 24px 60px #3e321a36;text-align:center;border-radius:5px;position:relative}.gate-paper::before,.gate-paper::after{content:'';position:absolute;top:-12px;bottom:-12px;width:18px;border-radius:12px;background:linear-gradient(90deg,#887350,#c8b78a,#9e8b62)}.gate-paper::before{left:-9px}.gate-paper::after{right:-9px}.gate-paper h2{font-size:44px;margin:20px 0}.gate-paper p{line-height:1.8}.gate-paper a{display:inline-block;margin-top:25px;padding:13px 28px;border-radius:25px;background:var(--green);color:#fff7e7;text-decoration:none}#skip{position:fixed;z-index:20;right:30px;bottom:25px}
@media(min-width:1600px){header{height:150px}header h2{font-size:42px}.journey-bottom{min-height:180px}.chapter-copy{max-width:640px}.chapter-copy h3{font-size:40px}.chapter-copy p{font-size:24px}#era-nav button{font-size:20px}.bottom-controls{margin-top:30px}.bottom-controls button{font-size:20px}.landmark strong{font-size:38px}.landmark{min-width:150px}.landmark span{font-size:18px}}
@media(max-width:800px){header{height:110px;padding-inline:20px}header h2{font-size:22px}header button{padding:7px 10px}#panorama{height:38svh;min-height:210px}.journey-bottom{display:block}.chapter-copy h3{font-size:24px}.chapter-copy p{font-size:15px}#era-nav{margin-top:15px;justify-content:flex-start;gap:6px}#era-nav button{font-size:12px;padding:6px 10px}.bottom-controls{gap:6px;margin-top:16px}.bottom-controls button{padding:8px;font-size:12px}.credits{position:relative;bottom:auto;margin:16px 5vw;text-align:right;right:auto}.cover-art{object-position:50% 50%}.gate-paper{padding:38px 25px}.gate-paper h2{font-size:32px}}

/* 开启记忆：纸墨配色与时代层级 */
.cover-action button{background:#75634f;color:#fff4dc;border-color:#ad9777;box-shadow:0 5px 18px #4b392925;padding:14px 34px;letter-spacing:3px}.cover-action button:hover{background:#65543f}.cover-action span{margin-left:20px}
.chapter-copy>span,#gate-era{font-family:"Kaiti SC","STKaiti","KaiTi",serif;font-size:23px;letter-spacing:4px;color:#936446}.chapter-copy h3{font-family:"Songti SC","STSong",serif;font-weight:600;font-size:27px}.chapter-copy p,#gate-copy{font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:17px;line-height:1.7}.chapter-copy{max-width:550px}.journey-bottom{gap:24px;min-height:135px}.bottom-controls{margin-top:12px}.landmark strong{font-family:"Kaiti SC","STKaiti","KaiTi",serif}.landmark span{font-family:"PingFang SC","Microsoft YaHei",sans-serif}#autoplay{background:#e4ddc9;border-color:#b5a688;min-width:105px}#autoplay[aria-pressed=true]{color:#5c4933;background:#dfcfac}button:disabled{opacity:.45;cursor:default}
@media(min-width:1600px){.chapter-copy{max-width:760px}.chapter-copy>span{font-size:30px}.chapter-copy h3{font-size:37px}.chapter-copy p{font-size:24px}.journey-bottom{min-height:185px}.bottom-controls{margin-top:20px}}
