/* Sevey home/map layer — deliberately scoped to new course surfaces. */
:root{--sv-paper:#fffcf7;--sv-muted:#788077;--sv-line:#ece7dd;--sv-orange:#f47d2b}
body{background:#f6f3ec}#app{background:#fffcf7;min-height:100vh}button{font:inherit;color:var(--ink)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #3b86a2;outline-offset:3px}
#tabbar{background:#fffdf9;border-color:#ece7dd}#tabbar .tb.on{color:#eb782c}
.sv-course{color:#29332e}.sv-course button,.sv-screen button{cursor:pointer;border:0}.sv-course #rd-head{padding:16px 20px 10px;background:#fffcf7}.sv-course #rd-list{padding:0 0 14px}.sv-course #rd-list:before{display:none}
.sv-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.sv-route{display:flex;align-items:center;gap:8px;background:none;font-size:18px;font-weight:800;color:#29332e;min-height:38px}.sv-route svg{transform:rotate(90deg)}.sv-streak{display:flex;align-items:center;gap:4px;color:#7b8077;font-size:14px;font-weight:700;white-space:nowrap}
.sv-switch{display:flex;border:1px solid #ede6db;border-radius:24px;background:#f2eee7;padding:3px}.sv-switch button{flex:1;min-height:38px;border-radius:21px;background:none;font-size:14px;font-weight:800;color:#656b62}.sv-switch .selected{background:#f68031;color:white;box-shadow:0 2px 4px #e09e7130}
.sv-room{height:276px;position:relative;background:#f2e9dc url('sevey-assets/clay/room-empty.png') center/cover no-repeat;overflow:hidden}.sv-room-shade{position:absolute;inset:auto 0 0;height:35px;background:linear-gradient(transparent,#fffcf7)}.sv-room-sevey{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);width:148px;height:180px;background:none;filter:drop-shadow(0 7px 4px #6a43252a);padding:0;z-index:2}.sv-character{width:100%;height:100%;object-fit:contain;display:block}.sv-speech{position:absolute;left:58%;top:48px;background:#fffdf9;border:1px solid #ebe4d5;border-radius:15px 15px 15px 3px;padding:10px 12px;max-width:39%;font-size:14px;font-weight:750;box-shadow:0 3px 8px #715f4112;z-index:3}.sv-room-label{position:absolute;left:18px;bottom:13px;font-size:14px;letter-spacing:2px;color:#827764}.sv-room-cushion{position:absolute;width:170px;height:74px;bottom:18px;left:50%;transform:translateX(-50%);z-index:1}.sv-room-cushion .sv-item-icon{width:100%;height:100%;object-fit:contain}
.sv-room-actions{display:flex;gap:10px;margin:-1px 20px 14px;position:relative}.sv-room-actions button{display:flex;align-items:center;justify-content:center;gap:8px;background:white;border:1px solid #eee6d8;border-radius:13px;min-height:44px;flex:1;font-size:14px;font-weight:800;box-shadow:0 3px 6px #64583908}.sv-room-actions span{margin-left:auto;color:#aaa595}.sv-room-actions button{padding:0 15px}
.sv-home-content{padding:0 20px}.sv-next{border:1px solid #eee8de;background:#fff;padding:18px;border-radius:20px;box-shadow:0 5px 18px #68553b05}.sv-eyebrow{color:#e47b35;font-size:14px;font-weight:800;letter-spacing:.07em}.sv-next h1{font-size:22px;line-height:1.4;margin:6px 0 4px;letter-spacing:-.025em}.sv-next p{color:#7e847c;font-size:14px;margin-bottom:16px}.sv-primary{border:0;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:14px 17px;min-height:50px;border-radius:15px;background:#f58030;color:#fff;font-size:15px;font-weight:800;box-shadow:0 3px 0 #dc6a22;cursor:pointer}.sv-primary:active{transform:translateY(2px);box-shadow:0 1px 0 #dc6a22}.sv-primary svg{margin-left:auto}.sv-gift-row{width:100%;display:flex;text-align:left;align-items:center;gap:14px;margin-top:12px;padding:12px 15px;border:1px solid #eee8de!important;border-radius:17px;background:#fff}.sv-item-icon{width:68px;height:68px;flex:none;filter:drop-shadow(0 4px 3px #43594715)}.sv-gift-row>span:nth-child(2){flex:1;min-width:0}.sv-gift-row small{font-size:14px;color:#7c8179;display:block}.sv-gift-row strong{font-size:19px;display:block;margin:3px 0 6px}.sv-muted{font-size:14px;color:#7b827b;line-height:1.8}.sv-progress{display:block;height:7px;border-radius:8px;background:#eeeae4;overflow:hidden}.sv-progress i{display:block;height:100%;border-radius:8px;background:#f68b42}.sv-chevron{color:#aaa28f}
.sv-review-link{width:100%;display:flex;align-items:center;gap:10px;min-height:47px;text-align:left;background:#fff;border:1px solid #eee9e1!important;border-radius:13px;padding:10px 14px;margin-top:11px;font-size:14px;font-weight:700}.sv-review-link span{margin-left:auto;color:#aaa}.sv-diagnostic{background:none;width:100%;font-size:14px;color:#768178;padding:15px 0;display:flex;justify-content:space-between;gap:5px}.sv-diagnostic span{color:#b07845;font-weight:700}
.sv-map-heading{padding:18px 22px;display:flex;align-items:center;justify-content:space-between}.sv-map-heading small{font-size:14px;color:#8d958a;letter-spacing:.13em}.sv-map-heading h1{font-size:23px;margin-top:5px}.sv-map-heading>span{font-size:16px;color:#6d8572;font-weight:800;text-align:right}.sv-map-heading>span small{display:block;font-size:14px;margin-top:4px;letter-spacing:0}
.sv-map-section{margin:0 0 18px}.sv-map-section header{margin:0 20px;background:#f2f2e9;border:1px solid #e5e8da;border-radius:14px;padding:13px 16px;display:grid;grid-template-columns:1fr auto;gap:3px}.sv-map-section header>span{font-size:14px;letter-spacing:.12em;color:#819077;grid-column:1}.sv-map-section h2{font-size:16px;grid-row:2;grid-column:1}.sv-map-section header small{grid-column:2;grid-row:1 / 3;align-self:center;color:#839078;font-size:14px}
.sv-route-land{position:relative;background:#fffcf7 url('sevey-assets/map.png') center top/100% auto repeat-y}.sv-route-track{position:relative;width:340px;margin:auto}.sv-route-path{position:absolute;inset:0;width:100%;height:100%}.sv-station{position:absolute;width:58px;height:58px;border-radius:50%;background:#fffdf7;border:3px solid white!important;box-shadow:0 5px 0 #ded8ca,0 5px 12px #646c5a19;display:flex;align-items:center;justify-content:center}.sv-station.done{background:#73ac83;box-shadow:0 5px 0 #568462}.sv-station.now{background:#ffb56a;box-shadow:0 5px 0 #e18838}.sv-station.now .sv-character{position:absolute;width:73px;height:89px;max-width:none;bottom:10px}.sv-station.locked{background:#eceee8}.sv-station-label{position:absolute;width:120px;font-size:14px;line-height:1.5;pointer-events:none}.sv-station-label.left{text-align:right}.sv-station-label small{color:#8a9587;font-size:14px;display:block}.sv-station-label strong{background:#fffcf7e8;box-shadow:0 0 9px 4px #fffcf7d0;border-radius:4px;font-weight:750}.sv-here{display:inline-block;border-radius:20px;background:#f68b3d;color:#fff;padding:2px 9px;font-size:14px;margin-top:4px}.sv-map-bottom{position:sticky;bottom:81px;padding:12px 20px;background:linear-gradient(transparent,#fffcf7 30%);z-index:5}.sv-next-section{margin:20px;display:flex;align-items:center;gap:9px;font-size:14px;color:#697569;flex-wrap:wrap}.sv-next-section span{font-size:14px;color:#8d958b}.sv-past{display:block;margin:0 20px 16px;padding:9px 14px;border-radius:14px;background:#edf2e9;color:#62785f;font-size:14px}
.sv-screen{min-height:100vh;padding-bottom:30px;background:#fffcf7;color:#29332e}.sv-page-head{display:flex;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid #eee9de}.sv-page-head button{border-radius:50%;background:#f2ede4;font-size:20px;width:40px;height:40px}.sv-page-head h1{font-size:19px}.sv-page-head>span{margin-left:auto;color:#899380;font-size:14px}.sv-panel{padding:20px}.sv-closet-hero{display:flex;align-items:center;justify-content:center;gap:20px;background:radial-gradient(ellipse,#f1e9dc,transparent 70%);padding:20px 0 6px}.sv-closet-hero .sv-character{width:112px;height:138px}.sv-closet-hero p{font-size:14px;line-height:1.8;color:#697260;font-weight:700}.sv-closet-tabs{display:flex;gap:10px;margin-bottom:20px}.sv-closet-tabs button{border-radius:22px;padding:10px 20px;background:#eeeae1;color:#777c72;font-size:14px;font-weight:800}.sv-closet-tabs button.on{background:#516857;color:white}.sv-item-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sv-item-card{border:1px solid #eae5db;border-radius:18px;background:white;padding:15px;text-align:center;display:flex;align-items:center;flex-direction:column}.sv-item-card>.sv-item-icon{width:86px;height:86px}.sv-item-status{font-size:14px;color:#8b927f;margin:6px 0}.sv-item-card h2{font-size:14px}.sv-item-card p{font-size:14px;color:#8a8e81;line-height:1.7;margin:8px 0 12px;flex:1}.sv-item-card .sv-primary,.sv-item-card .sv-secondary{font-size:14px;min-height:42px;padding:10px 6px;border-radius:12px}.sv-secondary{display:block;width:100%;padding:13px 16px;background:#fffdf9;border:1px solid #d2cbbb!important;border-radius:15px;min-height:48px;font-size:14px;font-weight:750;color:#61695f;cursor:pointer}.sv-small-note{font-size:14px;line-height:1.9;color:#939688;margin:15px 0}.sv-text-btn{background:none;font-size:14px;color:#8a917f;min-height:34px;padding:6px}.sv-wish-link{display:flex;justify-content:space-between;width:100%;padding:17px 14px;background:#edf0e5;color:#6b785b;border-radius:13px;font-size:14px;font-weight:700;margin-top:23px}.sv-trial{font-size:14px;text-align:center;background:#edf3e9;padding:8px;color:#68795f}.sv-trial button{background:none;color:#4e774d;text-decoration:underline;margin-left:5px;min-height:28px}
.sv-reward-page{padding:20px 26px 30px;text-align:center}.sv-reward-back{display:block;background:none;color:#8d9485;font-size:14px;min-height:36px}.sv-success{margin:20px auto 16px;width:52px;height:52px;border-radius:50%;background:#83b18d;display:grid;place-items:center}.sv-reward-page h1{font-size:25px;margin:9px 0 18px}.sv-reward-summary{font-size:14px;line-height:1.9;padding:14px;border-top:1px solid #eee9de;border-bottom:1px solid #eee9de}.sv-reward-summary small{display:block;color:#8a9183;margin-bottom:7px}.sv-reward-art{height:278px;position:relative;max-width:350px;margin:10px auto}.sv-reward-art>.sv-character{position:absolute;width:190px;height:230px;left:14px;bottom:0;filter:drop-shadow(0 8px 5px #b9a78930)}.sv-reward-item{position:absolute;right:7px;bottom:4px}.sv-reward-item .sv-item-icon{width:107px;height:107px}.sv-reward-bubble{position:absolute;right:0;top:15px;max-width:155px;border:1px solid #e6dfd1;border-radius:20px 20px 20px 3px;background:white;padding:13px;font-size:14px;font-weight:750;text-align:left;line-height:1.7}.sv-reward-art>i{position:absolute;width:8px;height:16px;border-radius:3px;transform:rotate(-24deg);background:#b6d5e2;top:40px;left:8px}.sv-reward-art>i:nth-last-child(2){top:150px;left:auto;right:3px;background:#eab394;transform:rotate(30deg)}.sv-reward-art>i:last-child{top:115px;left:0;background:#c4cf9e}.sv-reward-page h2{font-size:23px;margin:19px 0 7px}.sv-reward-page>.sv-primary{margin-top:23px}.sv-reward-page>.sv-secondary{margin-top:13px}.sv-result-gift{margin-top:16px}.sv-wish-intro{display:flex;align-items:center;gap:25px;margin-bottom:20px}.sv-wish-intro img{width:110px;height:130px}.sv-wish-intro p{font-size:16px;line-height:1.8;font-weight:700}#sv-wish-form label{display:block;font-size:14px;font-weight:700;margin:20px 0 8px}#sv-wish-form label small{font-weight:400;color:#8b9284}#sv-wish-form input,#sv-wish-form textarea{font:inherit;font-size:14px;width:100%;padding:13px;border:1px solid #d9d9ca;border-radius:12px;background:white;resize:vertical}#sv-wish-status{font-size:14px;color:#618163;line-height:1.8;margin:18px 0}.sv-history-title{font-size:14px;margin:20px 0 12px}.sv-wish-row{padding:14px;background:white;border:1px solid #eee9de;border-radius:13px;margin-bottom:10px;overflow-wrap:anywhere}.sv-wish-row strong{font-size:14px}.sv-wish-row p{font-size:14px;line-height:1.7;color:#7f8679;margin-top:6px}.sv-media{position:relative;width:100%;height:100%}.sv-media video{position:absolute;inset:0}
@media(min-width:700px){body{padding:26px 0}#app{border:1px solid #e9e4db;border-radius:25px;overflow:hidden;box-shadow:0 16px 80px #66604412}#tabbar{left:50%;right:auto;transform:translateX(-50%);width:460px;border-radius:0 0 20px 20px}}
@media(max-width:359px){.sv-course #rd-head{padding-left:14px;padding-right:14px}.sv-home-content{padding:0 14px}.sv-room-actions{margin-left:14px;margin-right:14px}.sv-route-track{transform:scale(.9);transform-origin:top left;margin-left:calc((100% - 306px)/2)}.sv-streak{font-size:14px}.sv-room{height:240px}.sv-item-card{padding:12px}.sv-reward-page{padding:16px}.sv-next h1{font-size:20px}}
@media(prefers-reduced-motion:reduce){.screen{animation:none}.sv-primary:active{transform:none}}

.sv-map-bottom{position:fixed;bottom:76px;left:50%;transform:translateX(-50%);width:min(100%,460px);background:linear-gradient(transparent,#fffcf7 30%);padding:15px 20px 12px;z-index:45}.sv-map-gift{display:flex;gap:15px;align-items:center;text-align:left;background:#f5eee2;border:1px solid #e9e0d0!important;border-radius:18px;margin:0 20px 25px;padding:10px 18px;width:calc(100% - 40px)}.sv-map-gift>span:nth-child(2){flex:1;font-size:14px;color:#8a8574}.sv-map-gift strong{display:block;font-size:16px;color:#596650;margin:4px 0}.sv-map-gift small{font-size:14px}.sv-course #rd-list:has(.sv-map-bottom){padding-bottom:100px}
/* Keep the next lesson and reward within a comfortable first scroll. */
.sv-room{height:244px}.sv-room-sevey{width:132px;height:160px;bottom:25px}.sv-speech{top:42px}.sv-room-actions{margin-bottom:12px}.sv-reward-art{height:238px}.sv-reward-art>.sv-character{width:173px;height:210px}.sv-success{margin-top:12px}.sv-reward-page h1{font-size:23px}.sv-reward-page h2{font-size:22px}.sv-reward-bubble{max-width:145px;font-size:14px}

.sv-item-icon{object-fit:contain}.sv-room-cushion{width:150px;height:105px;bottom:7px}.sv-room-cushion .sv-item-icon{width:100%;height:100%}

/* 2026-09-17: initial empty room, with the approved three-screen composition. */
.sv-room-empty{background-image:url('sevey-assets/clay/room-empty.png')}
.sv-course #rd-head{background:#fffdf9;padding-bottom:5px}
.sv-switch{background:#f6f2eb;border-color:#ede5d9}
.sv-switch .selected,.sv-primary{background:linear-gradient(115deg,#ff862c,#f66b14)}
.sv-primary{border-radius:28px;box-shadow:none}
.sv-room{height:270px}.sv-room-sevey{width:140px;height:170px;bottom:18px}
.sv-speech{top:76px;font-size:14px}.sv-room-label{font-size:14px;letter-spacing:.06em}
.sv-room-actions{margin-left:14px;margin-right:14px;gap:8px}
.sv-room-actions button{border-radius:12px}
.sv-home-content{padding:0 14px}.sv-next{border-radius:14px;padding:17px 16px}
.sv-next h1{font-size:23px;font-weight:900;color:#23272c}.sv-eyebrow{color:#f47720}
.sv-gift-row{border-radius:14px}.sv-gift-row strong{color:#23272c}
.sv-progress i{background:linear-gradient(100deg,#ff892a,#f27015)}
.sv-success{background:#48b86a}.sv-reward-page h1{font-size:27px;font-weight:900}
.sv-reward-page>.sv-secondary{border-radius:28px}
@media(max-width:359px){.sv-room{height:240px}.sv-next h1{font-size:20px}}

/* Match the reference map's compact heading and uninterrupted scenery. */
.sv-map-heading{display:none}
.sv-map-section>header{background:transparent;border:0;border-radius:0;margin:0;padding:18px 20px 10px;box-shadow:none}
.sv-map-section>header>span{display:none}
.sv-map-section>header h2{font-size:19px;color:#23272c;font-weight:900}

/* Cohesive miniature scenery: one scene per curriculum section, no tiled wallpaper. */
.sv-map-section{margin:0;background:#fffaf0}
.sv-map-section>header{padding:20px 22px 14px;position:relative;z-index:2;background:linear-gradient(#fffcf7,#fffaf0);align-items:center}
.sv-map-section>header>span{display:block;font-size:14px;letter-spacing:.18em;color:#aa9779}
.sv-map-section>header h2{font-size:20px;line-height:1.5;margin:0}
.sv-map-section>header small{background:#efe9db;border:1px solid #e5decc;border-radius:20px;padding:6px 11px;color:#80785e;font-size:14px}
.sv-route-land{background:#fffaf0;isolation:isolate;overflow:hidden}
.sv-land-art{position:absolute;inset:0;background-position:center;background-size:100% 100%;background-repeat:no-repeat;pointer-events:none;mask-image:linear-gradient(transparent,#000 5%,#000 94%,transparent)}
.sv-route-track{z-index:1}
.sv-route-path path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.sv-path-shadow{stroke:#b3a58a;stroke-width:36;opacity:.14;transform:translateY(4px);filter:blur(3px)}
.sv-path-edge{stroke:#e6dbc3;stroke-width:35}
.sv-path-ground{stroke:#fffdf4;stroke-width:31}
.sv-path-dots{stroke:#cdbfa5;stroke-width:4;stroke-dasharray:1 15}
.sv-station{background:linear-gradient(150deg,#fffef9,#eae5d8);border:3px solid #fffdf8!important;box-shadow:0 5px 0 #c7bcaa,0 9px 12px #67563528}
.sv-station.done{background:linear-gradient(145deg,#8fc39b,#55a570);box-shadow:0 5px 0 #47865c,0 9px 12px #566c4628}
.sv-station.now{background:linear-gradient(150deg,#ffc076,#f99435);box-shadow:0 5px 0 #ce8030,0 10px 13px #a2774638}
.sv-station.now:after{content:'';position:absolute;width:44px;height:12px;border-radius:50%;bottom:16px;background:#8a5b2738;filter:blur(3px);z-index:0}
.sv-station.now .sv-character{z-index:1;width:75px;height:92px;bottom:13px;filter:drop-shadow(1px 2px 1px #91663822)}
.sv-station-label{width:126px;background:#fffdf6ed;border:1px solid #e6ddcd;border-radius:10px;padding:7px 9px;box-shadow:0 3px 7px #8c795211;font-size:14px;line-height:1.6}
.sv-station-label strong{background:none;box-shadow:none;font-weight:800;color:#434b42;display:block}
.sv-station-label small{font-size:14px;color:#9a927e;letter-spacing:.03em}
.sv-here{padding:2px 9px;background:#f98730;font-size:14px}
.sv-map-gift{margin:0;padding:18px 26px;width:100%;border:0!important;border-radius:0;background:linear-gradient(#fffaf0,#f3eddf,#fffaf0)}
.sv-map-gift .sv-item-icon{width:76px;height:76px}
.sv-map-bottom{background:linear-gradient(transparent,#fffcf7eF 35%);padding-top:22px}
.sv-room{background-position:center 55%;height:286px}
.sv-room:after{content:'';position:absolute;width:106px;height:18px;left:50%;bottom:28px;transform:translateX(-50%);background:radial-gradient(ellipse,#7556323d,transparent 70%);filter:blur(3px);pointer-events:none;z-index:1}
.sv-room-sevey{bottom:23px;filter:drop-shadow(3px 3px 2px #86653b20)}
.sv-room-shade{height:40px;z-index:3;pointer-events:none}
.sv-room-label{z-index:4;bottom:9px;color:#9d8b70;font-size:14px}
.sv-speech{box-shadow:0 4px 14px #785f3820;border-color:#e9dfce}
.sv-room-actions{margin-top:-1px;z-index:4}
@media(max-width:359px){.sv-room{height:252px}.sv-station-label{font-size:14px}}

.sv-land-art{bottom:auto;background-size:cover;background-position:center;mask-image:linear-gradient(transparent,#000 8%,#000 87%,transparent)}
.sv-station-label{width:132px;font-size:14px;padding:7px}

/* World itinerary: geographic scenery is independent from English lesson sequencing. */
.sv-world-link{width:calc(100% - 32px);margin:14px 16px 0;background:#f1eddf;border:1px solid #e6ddc8!important;border-radius:13px;padding:12px 14px;display:flex;align-items:center;text-align:left;gap:8px;color:#716d59}
.sv-world-link>span{font-size:14px;letter-spacing:.1em;flex:1}.sv-world-link small{display:block;font-size:14px;letter-spacing:0;margin-top:5px}.sv-world-link b{font-size:14px;white-space:nowrap;color:#a36c37}
.sv-map-section>header h2{font-size:19px;max-width:280px}.sv-destination-topic{grid-column:1/-1;font-size:14px;color:#687366;font-weight:750;margin:4px 0 0}.sv-destination-topic span{display:block;font-size:14px;color:#a1957d;font-weight:400;margin-top:4px}
.sv-journey-intro{padding:20px 22px;color:#596a5b;line-height:1.8}.sv-journey-intro p{font-size:17px;font-weight:800}.sv-journey-intro small{font-size:14px;color:#8c907e}.sv-destinations{padding:0 18px;display:grid;gap:16px}.sv-destination-card{border:1px solid #e6dfcf;border-radius:18px;overflow:hidden;background:white}.sv-destination-card.current{border:2px solid #f59c55}.sv-destination-card img{width:100%;height:220px;object-fit:cover;object-position:center top;display:block}.sv-destination-card>div{padding:14px 16px}.sv-destination-card small{font-size:14px;letter-spacing:.1em;color:#b08250}.sv-destination-card h2{font-size:17px;margin:5px 0}.sv-destination-card p{font-size:14px;color:#7c826f}.sv-destination-card span{display:block;font-size:14px;border-top:1px solid #f0ebdf;margin-top:10px;padding-top:10px;color:#929581}

/* Distinct city scenes, each shown once. Empty stretches deliberately give the path air. */
.sv-route-land{container-type:inline-size}
.sv-journey-art{position:absolute;left:0;right:0;height:min(100cqw,var(--scene-cap));background-size:100% auto;background-repeat:no-repeat;pointer-events:none;mask-image:linear-gradient(transparent,#000 10%,#000 88%,transparent)}

/* Compact route and quiet waterfront motion; controls stay still. */
.sv-map-section>header{padding-top:14px;padding-bottom:8px}
.sv-world-link{margin-top:10px;padding:9px 14px}
.sv-map-gift{padding-top:10px;padding-bottom:10px}
.sv-water-glints{position:absolute;top:48%;width:22%;height:24%;overflow:hidden;mask-image:linear-gradient(transparent,#000 25%,#000 70%,transparent)}
.sv-water-glints.left{left:0}.sv-water-glints.right{right:0;transform:scaleX(-1)}
.sv-water-glints i{position:absolute;left:4%;width:65%;height:2px;border-radius:50%;background:#fff;box-shadow:14px 10px 0 #ffffff70,-8px 21px 0 #ffffff60;animation:sv-water-ripple 4.8s ease-in-out infinite;opacity:0}
.sv-water-glints i:nth-child(1){top:15%}.sv-water-glints i:nth-child(2){top:45%;left:20%;animation-delay:-1.6s}.sv-water-glints i:nth-child(3){top:70%;left:-12%;animation-delay:-3.2s}
@keyframes sv-water-ripple{0%,100%{transform:translateX(-8px) scaleX(.75);opacity:.08}50%{transform:translateX(7px) scaleX(1.12);opacity:.48}}
@media(prefers-reduced-motion:reduce){.sv-water-glints i{animation:none;opacity:.16}}

/* A single complete panorama per city, never cropped into repeating scenery panels. */
.sv-panorama{position:absolute;inset:0;pointer-events:none}
.sv-panorama>img{display:block;width:100%;height:100%;object-fit:fill}
.sv-panorama .sv-water-glints{top:79%;height:13%;width:19%}

/* Learning topic is primary; the city is quiet context. */
.sv-destination-topic{font-size:14px;font-weight:400;color:#8b8d80;margin-top:3px}

/* Quieter map: the active lesson is the only prominent label. */
.sv-world-link{width:calc(100% - 40px);margin:4px 20px 2px;padding:8px 0;background:transparent;border:0!important;border-radius:0;color:#7c8276;font-size:14px;justify-content:space-between}
.sv-world-link>span{font-weight:600;letter-spacing:0}.sv-world-link b{font-size:14px;font-weight:500;color:#929787}
.sv-map-section>header{padding:14px 22px 14px;background:#fffcf7;border-bottom:1px solid #eee8d9}
.sv-map-section>header>span{font-size:14px;letter-spacing:.12em;color:#a59b84}
.sv-map-section>header h2{font-size:20px;letter-spacing:-.025em;line-height:1.5}
.sv-map-section>header small{background:#f3efe5;border:0;font-size:14px;color:#918c7b;padding:5px 9px}
.sv-station-label{border:0;box-shadow:none;background:transparent;padding:7px 5px;line-height:1.5}
.sv-station-label:not(.is-current) small{display:none}
.sv-station-label:not(.is-current) strong{color:#6c7268;font-weight:600;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;background:#fffdf5e8;border-radius:9px;padding:5px 7px;box-shadow:0 0 9px 4px #fffdf59c}
.sv-station-label.is-done strong{color:#63866a}
.sv-station-label.is-current{background:#fffef9;border:1px solid #e8d7b7;border-radius:13px;padding:9px 10px;box-shadow:0 4px 12px #7b603018;z-index:3}
.sv-station-label.is-current strong{font-size:14px;color:#394333;line-height:1.5}
.sv-station-label.is-current small{color:#99927f;font-size:14px}
.sv-here{margin-top:5px;font-size:14px;padding:2px 10px}
.sv-station.locked{background:#f5f1e6;border-color:#fffaf0!important;box-shadow:0 3px 0 #d4cebd,0 5px 8px #67563512}
.sv-path-shadow{opacity:.08}.sv-path-edge{stroke:#e6d9bc;stroke-width:30}.sv-path-ground{stroke:#fff9e9;stroke-width:27}.sv-path-dots{stroke:#ccba91;stroke-width:3;stroke-dasharray:1 13}
.sv-map-bottom.sv-location-bar{width:min(100%,460px);padding:0 18px 8px;bottom:76px;display:flex;justify-content:flex-end;background:none;pointer-events:none}
.sv-location-btn{pointer-events:auto;min-height:40px;padding:10px 14px;border-radius:22px;background:#fffef8;border:1px solid #e8dfcb!important;color:#68775e;font-size:14px;font-weight:700;box-shadow:0 3px 12px #5a4f3720}
.sv-map-gift{background:#faf6ec;border-top:1px solid #eee8d9!important;border-bottom:1px solid #eee8d9!important;padding:10px 22px;gap:12px}
.sv-map-gift .sv-item-icon{width:48px;height:48px}.sv-map-gift strong{font-size:14px;margin:2px 0}.sv-map-gift small{font-size:14px}
.sv-station-label.is-current{padding:8px 7px}
.sv-station-label.is-current strong{font-size:14px;letter-spacing:-.035em}
/* Responsive touch surfaces and motion; no animation delays actions. */
.sv-course button,.sv-screen button,#rd-sheet button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform 130ms ease,box-shadow 130ms ease,background-color 180ms ease}
.sv-course button:active,.sv-screen button:active,#rd-sheet button:active{transform:scale(.97)}
.sv-course .sv-room-sevey:active{transform:translateX(-50%) scale(.96)}
.sv-course .sv-station:active{transform:translateY(3px) scale(.94);box-shadow:0 1px 0 #c7bcaa}
.sv-switch{padding:4px;border-radius:18px;gap:4px;background:#f0ede5}.sv-switch button{border-radius:14px;min-height:40px}.sv-switch .selected{box-shadow:0 2px 6px #d8732924}
.sv-transition-ghost{position:fixed;overflow:hidden;pointer-events:none;z-index:40;background:#fffcf7}
#s-road.on{animation:none}
#rd-sheet .sh-bg{background:#24342c45;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
#rd-sheet .sh-box{background:#fffdf7;border:1px solid #ffffffa8;border-bottom:0;border-radius:28px 28px 0 0;padding:0 22px calc(18px + env(safe-area-inset-bottom));max-height:85dvh;overflow-y:auto;overscroll-behavior:contain;gap:16px;box-shadow:0 -12px 50px #24342c20}
#rd-sheet .sh-handle{width:100%;height:30px;background:transparent;position:relative;flex:none;touch-action:none;cursor:grab;margin-bottom:-6px}
#rd-sheet .sh-handle:after{content:'';position:absolute;width:38px;height:4px;border-radius:9px;left:calc(50% - 19px);top:12px;background:#d8d4c8}
#rd-sheet .sh-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#rd-sheet .sh-stats>div{background:#f3efe5;padding:12px 14px;border-radius:14px}
#rd-sheet .sh-stats>div:last-child{grid-column:1/-1;background:transparent;padding:5px 2px;gap:5px}
#rd-sheet .sh-stats>div:last-child b{font-size:14px!important;line-height:1.6}
#rd-sheet button.btn{width:100%;min-height:52px;border:0;border-radius:16px;font-size:15px}
#rd-sheet button.sh-later{background:none;border:0;min-height:44px;padding:8px;color:#85897d}
#rd-sheet button.rd-st{text-align:left;width:100%;border:0}
.sv-screen.on{animation:sv-panel-in 260ms cubic-bezier(.22,1,.36,1)}
@keyframes sv-panel-in{from{opacity:.3;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.sv-course button,.sv-screen button,#rd-sheet button{transition:none}.sv-screen.on{animation:none}#rd-sheet .sh-bg{backdrop-filter:none}}

#s-road{overflow-x:clip}
/* Seoul diorama proof: art and interactive path share one fixed coordinate space. */
.sv-scene-seoul{background:#fffcf7}
.sv-scene-seoul .sv-route-land{background:#fffcf7}
.sv-seoul-art{width:340px;left:50%;right:auto;transform:translateX(-50%);mask-image:linear-gradient(transparent,#000 3%,#000 97%,transparent)}
.sv-seoul-art .sv-water-glints.left{top:41%;left:7%;width:43%;height:5%}
.sv-scene-seoul .sv-route-path{mask-image:linear-gradient(#000 0 39%,transparent 40% 46%,#000 47% 100%)}
.sv-scene-seoul .sv-path-shadow{stroke-width:25;opacity:.08}
.sv-scene-seoul .sv-path-edge{stroke:#dfd2b5;stroke-width:25}
.sv-scene-seoul .sv-path-ground{stroke:#f5ead1;stroke-width:22}
.sv-scene-seoul .sv-path-dots{stroke:#c5b491;stroke-width:2;stroke-dasharray:1 10}
.sv-scene-seoul .sv-station-label:not(.is-current){display:none}
.sv-scene-seoul .sv-station:not(.now){width:44px;height:44px;margin:7px;border-width:2px!important;box-shadow:0 3px 0 #c8bda7,0 5px 8px #746a4920;background:#fffaf0}
.sv-scene-seoul .sv-station.done{background:#80ae8b;box-shadow:0 3px 0 #5c8864}
.sv-scene-seoul .sv-station:not(.now) svg{width:18px;height:18px}
.sv-scene-seoul .sv-station-label.is-current{width:142px;background:#fffdf7f5}
.sv-secret-thumb{width:100%;min-height:100px;display:grid;place-items:center;background:linear-gradient(145deg,#eef1e7,#e2e8dc);color:#fff;font-size:54px}
.sv-curriculum-details{margin-top:10px;font-size:14px;color:#66735e}.sv-curriculum-details summary{padding:10px 0;cursor:pointer;min-height:44px}.sv-curriculum-details button{display:flex;justify-content:space-between;gap:8px;width:100%;text-align:left;background:#f7f7ef;margin:5px 0;padding:12px 9px;border-radius:8px;color:#4f6048;font-size:14px;min-height:44px}
@media(max-width:359px){.sv-scene-seoul .sv-route-land{height:742px!important}.sv-seoul-art{height:824px;transform:translateX(-50%) scale(.9);transform-origin:top center}}

.sv-seoul-art{mask-image:linear-gradient(transparent,#000 3%,#000 97%,transparent),linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-composite:intersect}

/* Full-width map: image, path and stations share proportional horizontal positions. */
.sv-scene-seoul .sv-route-land{height:824px!important}
.sv-scene-seoul .sv-route-track{width:100%;margin:0;transform:none}
.sv-seoul-art{width:100%;height:100%;left:0;right:0;transform:none;mask-image:linear-gradient(transparent,#000 2%,#000 98%,transparent);mask-composite:add}
.sv-scene-seoul .sv-route-path path{vector-effect:non-scaling-stroke}
.sv-map-tools{display:flex;align-items:center;gap:10px;margin:0 20px 4px;min-height:44px}
.sv-map-tools .sv-world-link{flex:1;width:auto;margin:0;padding:0;min-height:44px}
.sv-sound-toggle{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#92978d;font-size:21px;position:relative}
.sv-sound-toggle[aria-pressed=true]{background:#edf2e7;color:#537549}
.sv-sound-toggle[aria-pressed=false]:after{content:'';position:absolute;width:19px;height:1.5px;background:currentColor;transform:rotate(-45deg);border:1px solid #fffcf7;box-sizing:content-box}
.sv-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Full-width fog of war. Opaque cloud bank stays over unrevealed scenery. */
.sv-fog-gate{position:relative;isolation:isolate;height:440px;margin:-25px 0 0;overflow:hidden;background:#fffcf7}
.sv-fog-terrain{position:absolute;inset:0;background:linear-gradient(#fffcf7 0%,#ebeee2 40%,#eee8dc 100%);pointer-events:none}
.sv-fog-terrain svg{display:block;width:100%;height:200px}
.sv-cloud-bank{position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(transparent 0 25%,#f5f0e6 65%)}
.sv-cloud-bank img{position:absolute;top:-12px;left:-6%;width:112%;height:470px;object-fit:fill;max-width:none;animation:sv-cloud-drift 19s ease-in-out infinite alternate;will-change:transform}
.sv-fog-caption{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:68px 16px 24px;text-align:center;background:linear-gradient(transparent,#fffcf7e8 60%,#fffcf7)}
.sv-fog-caption h2{font-size:17px;color:#53646c;letter-spacing:.04em;margin:0 0 8px;text-shadow:0 1px 8px #fff}
.sv-fog-caption p{font-size:14px;line-height:1.8;color:#6c7a7e;margin:0 0 8px}
.sv-fog-caption button{background:transparent;font-size:14px;color:#596f65;min-height:44px;padding:10px 16px;border:0}
@keyframes sv-cloud-drift{from{transform:translate(-4px,0) scale(1.01)}to{transform:translate(5px,7px) scale(1.035)}}
@media(prefers-reduced-motion:reduce){.sv-cloud-bank img{animation:none;will-change:auto}}
/* Let cloud wisps overlap the scenery instead of ending it on a straight seam. */
.sv-fog-gate{margin-top:-48px;background:transparent}
.sv-fog-terrain{background:linear-gradient(transparent 0,#fffcf7 60px,#eee8dc 100%)}
.sv-fog-terrain svg{mask-image:linear-gradient(transparent 0 38px,#000 60px)}
.sv-cloud-bank img{top:-55px;height:510px}

.sv-cloud-bank img{filter:drop-shadow(0 -3px 7px #85775b18)}

/* Clear next action and a short, non-blocking journey hop. */
.sv-map-next{margin:8px 20px 24px;padding:15px 16px;background:#fffaf3;border:1px solid #eddbc4;border-radius:20px;display:flex;align-items:center;gap:12px;box-shadow:0 5px 16px #775d3410}
.sv-map-next div{flex:1;min-width:0}.sv-map-next small{color:#76664e;font-size:14px}.sv-map-next h2{font-size:15px;line-height:1.45;margin:5px 0 0;color:#354d43}
.sv-map-next button{min-height:46px;padding:10px 13px;border-radius:14px;background:#ed812b;color:white;font-size:14px;font-weight:750;box-shadow:0 3px 0 #c5631b;flex-shrink:0}.sv-map-next button:active{transform:translateY(2px);box-shadow:0 1px 0 #c5631b}
.sv-travelling{position:absolute;left:0;top:0;width:0;height:0;z-index:6;pointer-events:none;will-change:transform}.sv-travelling .sv-character{position:absolute;width:75px;height:92px;max-width:none;left:-37.5px;bottom:0;filter:drop-shadow(0 5px 3px #76522730)}
.sv-result-continue{margin-top:14px;width:100%}

/* A quieter start row and a result page from the same world. */
.sv-map-next{margin:4px 20px 14px;padding:10px 0;border:0;border-bottom:1px solid #e9e2d5;border-radius:0;background:transparent;box-shadow:none;gap:12px}
.sv-map-next small{font-size:14px}.sv-map-next h2{font-size:14px;margin-top:2px}.sv-map-next button{min-height:40px;font-size:14px;padding:8px 12px;border-radius:12px}
.sv-lesson-result{max-width:400px;margin:auto;padding:12px 22px 24px;text-align:center;color:#354d43}
.sv-result-scene{position:relative;height:160px;display:flex;align-items:flex-end;justify-content:center;background:radial-gradient(ellipse at 50% 90%,#eddfc64a,transparent 65%);margin:0 auto 18px}
.sv-result-scene .sv-character{width:106px;height:140px;object-fit:contain;filter:drop-shadow(0 8px 5px #79674618)}
.sv-result-bubble{position:absolute;left:50%;top:8px;transform:translateX(-50%);white-space:nowrap;background:#fffaf1;border:1px solid #e8deca;border-radius:15px;padding:8px 13px;font-size:14px;color:#6e6350}
.sv-result-kicker{color:#af723a;font-size:14px;letter-spacing:1.5px}.sv-lesson-result h1{font-size:23px;line-height:1.45;margin:8px 0}.sv-result-topic{font-size:14px;color:#718078;margin:0 0 20px;line-height:1.6}
.sv-result-numbers{display:flex;justify-content:center;padding:16px;background:#f5f2e9;border-radius:18px;gap:0}.sv-result-numbers>div{width:50%;display:flex;flex-direction:column;gap:5px}.sv-result-numbers>div+div{border-left:1px solid #dfded1}.sv-result-numbers strong{font-size:27px;line-height:1.2}.sv-result-numbers strong small{font-size:14px;color:#829084}.sv-result-numbers span{font-size:14px;color:#718078}
.sv-result-actions{margin-top:20px}.sv-result-actions .sv-primary{width:100%;margin-top:0}.sv-result-actions .sv-secondary{min-height:44px;font-size:14px}.sv-result-review{text-align:left;margin-top:16px;font-size:14px}.sv-result-review summary{cursor:pointer;padding:10px;color:#64766c}
#s-diag:has(.sv-lesson-result){background:#fffcf7}#s-diag:has(.sv-lesson-result) #dg-set{display:none}

#s-diag:has(.sv-lesson-result) .qbar{display:none}
.sv-lesson-result{padding-top:32px}

/* Lesson preview: restrained hierarchy with one clear action. */
#rd-sheet .sv-lesson-sheet{padding-right:24px;padding-left:24px;gap:0;background:#fffcf7}
.sv-lesson-head{margin:5px 0 20px}.sv-lesson-meta{display:flex;align-items:center;justify-content:space-between;color:#8a887a;font-size:14px;line-height:1.5}.sv-lesson-meta>span:first-child{display:flex;align-items:center;gap:6px;color:#9a7049}
.sv-lesson-head h2{font-size:24px;font-weight:750;letter-spacing:.01em;line-height:1.4;color:#324d42;margin:12px 0 0}
#rd-sheet .sv-lesson-goal{display:flex;flex-direction:column;gap:7px;margin-bottom:20px}.sv-lesson-goal .k{font-size:14px;letter-spacing:.04em;color:#8a897e}.sv-lesson-goal b{font-size:14px!important;line-height:1.75;color:#566c60;font-weight:500}
#rd-sheet .sv-lesson-sheet .sh-stats{display:flex;gap:24px;border-top:1px solid #e9e4d8;padding-top:14px;margin:0 0 20px}
#rd-sheet .sv-lesson-sheet .sh-stats>div{display:flex;flex-direction:row;align-items:baseline;gap:7px;padding:0;background:none;border-radius:0}
#rd-sheet .sv-lesson-sheet .sh-stats .k{font-size:14px;color:#8a897e}#rd-sheet .sv-lesson-sheet .sh-stats b{font-size:14px;color:#465e51}
#rd-sheet .sv-lesson-sheet .sh-ex{border:0;border-left:3px solid #dfc6a2;background:#f5f0e5;padding:13px 16px;border-radius:0 12px 12px 0;font-size:15px;line-height:1.8;color:#52665a;margin:0 0 20px}
#rd-sheet .sv-lesson-start{width:100%;min-height:50px;margin:0;border-radius:16px;background:#ed842e;box-shadow:0 3px 0 #cd6e25;font-size:15px}
#rd-sheet .sv-lesson-sheet .sh-later{background:none;border:0;box-shadow:none;font-size:14px;color:#819084;min-height:44px;margin:7px 0 0}

/* A small enamel wayfinding sign, sharing the miniature world's warm materials. */
.sv-station-label.is-current,.sv-scene-seoul .sv-station-label.is-current{width:132px;min-height:55px;text-align:left;padding:10px 15px 10px 12px;border:1px solid #d8dfca;border-bottom:3px solid #bdc6af;border-radius:5px 13px 13px 5px;background:linear-gradient(130deg,#f8f6e9,#e8eddd);box-shadow:0 5px 9px #47543c20,inset 0 1px 0 #fffdf9;pointer-events:auto;cursor:pointer;transform-origin:100% 50%;animation:sv-sign-arrive 420ms cubic-bezier(.22,1,.36,1) both}
.sv-station-label.is-current:before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:#c99558}
.sv-station-label.is-current small{font-size:14px;color:#7a866e;letter-spacing:.1em;margin-bottom:3px}
.sv-station-label.is-current strong{font-size:14px;line-height:1.5;letter-spacing:0;color:#3f5747;font-weight:750;background:none;box-shadow:none}
.sv-station-label.is-current:after{content:'›';position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:17px;color:#829477}
.sv-station-label.is-current:active{transform:translateY(2px);border-bottom-width:1px;box-shadow:0 2px 4px #47543c20;animation:none}
.sv-station-label.is-current:focus-visible{outline:3px solid #d38b40;outline-offset:4px}
@keyframes sv-sign-arrive{from{opacity:0;transform:translateY(7px) rotate(-2deg)}to{opacity:1;transform:translateY(0) rotate(0)}}
@media(prefers-reduced-motion:reduce){.sv-station-label.is-current{animation:none}}

/* One continuous compositor motion; entrance only changes opacity. */
.sv-station-label.is-current,.sv-scene-seoul .sv-station-label.is-current{animation:sv-sign-reveal 420ms ease-out both,sv-sign-float 3.6s cubic-bezier(.37,0,.63,1) infinite;will-change:transform;transition:box-shadow 130ms ease;backface-visibility:hidden}
@keyframes sv-sign-reveal{from{opacity:0}to{opacity:1}}
@keyframes sv-sign-float{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-6px,0)}}
.sv-station-label.is-current:active,.sv-scene-seoul .sv-station-label.is-current:active{animation:sv-sign-reveal 420ms ease-out both,sv-sign-float 3.6s cubic-bezier(.37,0,.63,1) infinite;border-bottom-width:3px;box-shadow:0 2px 4px #47543c20}
@media(prefers-reduced-motion:reduce){.sv-station-label.is-current,.sv-scene-seoul .sv-station-label.is-current,.sv-station-label.is-current:active,.sv-scene-seoul .sv-station-label.is-current:active{animation:none;will-change:auto}}

/* Warm ivory wayfinding sign, with a restrained orange accent. */
.sv-station-label.is-current,.sv-scene-seoul .sv-station-label.is-current{background:linear-gradient(130deg,#fffdf7,#f5eddf);border-color:#e6d8c4;border-bottom-color:#d7c5ab;box-shadow:0 5px 9px #80644118,inset 0 1px 0 #fffefa}
.sv-station-label.is-current:before{background:#ec943f}
.sv-station-label.is-current small{color:#94826c}
.sv-station-label.is-current strong{color:#5b4c3c}
.sv-station-label.is-current:after{color:#b18e64}
.sv-station-label.is-current:active,.sv-scene-seoul .sv-station-label.is-current:active{box-shadow:0 2px 4px #80644118}

/* Avoid filtering the entire animated cloud bitmap every frame. */
.sv-cloud-bank img{filter:none;backface-visibility:hidden}

/* Keep learning context visible while travelling through each section. */
.sv-map-section>header{position:sticky;top:0;z-index:8;background:#fffcf7;border-bottom:1px solid #e9dfce;box-shadow:0 4px 12px #705a3510;padding:10px 20px}
.sv-map-section>header h2{font-size:17px;line-height:1.4}
.sv-map-section>header .sv-destination-topic{font-size:14px;margin:2px 0 0}
.sv-station{scroll-margin-top:110px}
/* Clip the app's rounded edge without creating a separate scroll container. */
#app:has(#s-road.on){overflow:clip}

/* A quiet travel journal: learning themes remain visible, destinations stay secret. */
.sv-trip-hero{padding:32px 26px 28px;background:linear-gradient(145deg,#f7edda,#fffcf7);color:#514333;border-bottom:1px solid #e9decb}
.sv-trip-hero>small{font-size:14px;letter-spacing:.22em;color:#aa8152}.sv-trip-hero h2{font-size:26px;line-height:1.65;letter-spacing:.02em;margin:14px 0;font-weight:650}.sv-trip-hero p{font-size:14px;line-height:1.9;color:#8b7b68}.sv-trip-hero>div{font-size:14px;margin-top:23px;color:#866b49}.sv-trip-hero>div span{padding:0 10px;color:#c9b89e}
.sv-trip-catalog{padding:22px 20px 100px;background:#fffcf7}.sv-trip-search{display:flex;align-items:center;gap:10px;padding:0 13px;background:#f2eee6;border:1px solid #e7dfd1;border-radius:12px}.sv-trip-search input{width:100%;min-width:0;min-height:46px;border:0;background:transparent;color:#514333;font:inherit;font-size:14px;outline-offset:2px}.sv-trip-note{font-size:14px;color:#938675;line-height:1.8;margin:13px 0 22px}
.sv-trip-chapter{border-top:1px solid #e8dfd2}.sv-trip-chapter[hidden]{display:none}.sv-trip-chapter summary{display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;padding:22px 0}.sv-trip-chapter summary::-webkit-details-marker{display:none}.sv-trip-number{font-size:22px;font-weight:400;color:#bda17b;align-self:flex-start}.sv-trip-chapter summary>div{flex:1}.sv-trip-chapter summary small{font-size:14px;color:#ac8554;letter-spacing:.07em}.sv-trip-chapter h2{font-size:16px;line-height:1.6;margin:4px 0;color:#514637}.sv-trip-chapter summary p{font-size:14px;color:#9a8e7d;margin:4px 0 0}.sv-trip-expand{color:#bca88a;font-size:20px}.sv-trip-chapter[open] .sv-trip-expand{transform:rotate(45deg)}
.sv-trip-lessons{padding-bottom:16px}.sv-trip-lessons button{display:flex;align-items:center;gap:10px;width:100%;padding:13px 8px;text-align:left;background:transparent;border-top:1px solid #f0e9df;cursor:pointer}.sv-trip-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:11px;background:#edeae3}.sv-trip-icon.done{background:#779c79}.sv-trip-lessons button>span:nth-child(2){flex:1;min-width:0}.sv-trip-lessons small{display:block;font-size:14px;color:#a3937f}.sv-trip-lessons strong{display:block;font-size:14px;line-height:1.6;color:#655643;font-weight:550}.sv-trip-lessons em{font-size:14px;font-style:normal;color:#a37b48;white-space:nowrap}.sv-trip-lessons button:active{background:#f1eadf}.sv-trip-chapter summary:focus-visible,.sv-trip-lessons button:focus-visible{outline:2px solid #d18e49;outline-offset:2px}

/* Keep the catalog and discovery prompt in Sevey's soft miniature world. */
.sv-map-tools .sv-world-link{margin:8px 0 12px;padding:14px 16px;background:linear-gradient(#fffdf8,#f8efdf);border:1px solid #e9dcc6!important;border-bottom:3px solid #ddc9ac!important;border-radius:19px;box-shadow:0 4px 9px #8968390b;gap:12px}
.sv-world-link>span{font-size:14px;color:#65533e}.sv-world-link small{font-weight:400;color:#958775;font-size:14px;margin-top:4px}.sv-world-link b{color:#b97537;font-weight:650;font-size:14px}
.sv-trip-hero{display:grid;grid-template-columns:86px 1fr;align-items:center;gap:12px;padding:22px 20px;background:#fffcf7;border:0}.sv-trip-hero .sv-trip-companion{margin:0}.sv-trip-companion .sv-character{width:86px;height:118px;object-fit:contain;filter:drop-shadow(0 5px 3px #79543114)}.sv-trip-hero .sv-trip-welcome{position:relative;margin:0;padding:15px 14px;background:#f8efdf;border:1px solid #eadac0;border-radius:20px 20px 20px 5px}.sv-trip-hero h2{font-size:17px;line-height:1.6;margin:0 0 7px;font-weight:750;letter-spacing:0}.sv-trip-hero p{font-size:14px;line-height:1.8;margin:0;color:#8b7961}.sv-trip-hero .sv-trip-count{grid-column:1/-1;margin:4px 0 0;text-align:center;color:#97856e;font-size:14px}
.sv-trip-catalog{padding-top:6px}.sv-trip-chapter{border:1px solid #e9dfcf;border-bottom:3px solid #e2d5c0;border-radius:20px;background:#fffefa;margin-bottom:13px;overflow:hidden;box-shadow:0 3px 7px #82643e08}.sv-trip-chapter summary{padding:16px 14px;gap:11px}.sv-trip-number{display:grid;place-items:center;align-self:center;width:33px;height:36px;flex-shrink:0;border-radius:12px;background:#f6ead7;color:#b4884e;font-size:14px;font-weight:700}.sv-trip-chapter h2{font-size:14px}.sv-trip-chapter[open]{border-color:#e1c69f}.sv-trip-lessons{padding:0 10px 10px}.sv-trip-search{border-radius:16px;background:#f4f0e8}.sv-trip-expand{font-size:18px}
.sv-fog-caption h2{color:#65533e;font-size:18px;font-weight:750;letter-spacing:0}.sv-fog-caption p{color:#95836c}.sv-fog-caption button{background:linear-gradient(#fffdf8,#f8efdf);border:1px solid #e9dcc6;border-bottom:3px solid #ddc9ac;border-radius:16px;color:#a5713c;padding:11px 18px;font-weight:650;box-shadow:0 3px 8px #8968390c}

/* Keep a clear gap between search and lessons without explanatory copy. */
.sv-trip-search{margin-bottom:18px}

/* Theme-specific clay vignettes, with titles and lesson actions kept readable. */
.sv-trip-chapter .sv-theme-art{width:88px;height:88px;flex:0 0 88px;object-fit:contain;border-radius:15px;mix-blend-mode:multiply}.sv-trip-chapter summary{gap:12px;padding:12px}.sv-trip-chapter summary>div{min-width:0}.sv-trip-chapter h2{overflow-wrap:anywhere}.sv-trip-expand{flex-shrink:0}@media(max-width:360px){.sv-trip-chapter .sv-theme-art{width:68px;height:68px;flex-basis:68px}.sv-trip-chapter summary{gap:9px}}

/* D03 / H01: approved home action, including the legacy home path. */
#s-road .sv-home-content .sv-primary{background:#f3b483;color:#293b55}

/* H01: 10/2 refined layout + 10/4 single-entry B. Existing room assets remain. */
#s-road .sv-room{height:326px;min-height:326px}
#s-road .cr-approved-home{padding:20px 22px 96px;background:#faf8f3;color:#293b55}
#s-road .cr-approved-home .sv-next{padding:0;border:0;background:none;box-shadow:none;margin:0}
#s-road .cr-approved-home .sv-next h1{font-size:24px;margin:7px 0 16px}
#s-road .cr-approved-home .sv-primary{min-height:54px;border:1.5px solid #85909b;border-radius:16px 16px 16px 5px;background:#f3b483;color:#293b55;box-shadow:0 3px #a78368;font-size:15px}
#s-road .cr-home-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
#s-road .cr-home-shortcuts button{display:flex;align-items:center;gap:8px;min-height:60px;padding:12px 10px;border:1px solid #c9c9c0;border-radius:15px;background:#fffdfa;color:#293b55;font:inherit;font-size:14px}
#s-road .cr-home-shortcuts svg{width:21px;height:21px;flex:none}
#s-road .cr-home-video{width:100%;display:flex;align-items:center;gap:10px;min-height:48px;margin:8px 0 16px;background:transparent;border:0;border-bottom:1px solid #d9d6cd;color:#293b55;font-size:14px;text-align:left}
#s-road .cr-home-video span:last-child{margin-left:auto}
@media(max-width:360px){#s-road .cr-approved-home{padding-left:18px;padding-right:18px}.cr-home-shortcuts button{font-size:14px}}


/* D-TD8 approved parts — H01. Values copied from parts.css; room layout retained. */
#s-road .cr-approved-home{--parts-ink:#293B55;--parts-ground:#FAF8F3;--parts-surface:#FFFDFA;--parts-apricot:#F3B483;--parts-shadow:#89909B;background:var(--parts-ground);color:var(--parts-ink);font:16px/1.6 -apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;box-sizing:border-box;width:100%;max-width:460px;margin:auto;padding-left:20px;padding-right:20px}
#s-road .cr-approved-home{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif!important}
#s-road .cr-approved-home *,#tabbar .tb{font-family:inherit!important;box-sizing:border-box}
#s-road .cr-approved-home .sv-next h1{font-size:26px;line-height:1.4}
#s-road .cr-approved-home :is(.sv-eyebrow,.sv-muted){color:#637084;font-size:14px}
#s-road .cr-approved-home :is(.sv-primary,.cr-home-shortcuts button,.sv-review-link){border:1.5px solid var(--parts-ink)!important;border-radius:12px;background:#fff;color:var(--parts-ink);box-shadow:0 3px 0 var(--parts-shadow);min-height:54px;padding:12px 16px;font-size:16px;overflow-wrap:anywhere;min-width:0}
#s-road .cr-approved-home button.sv-primary{background:var(--parts-apricot);color:var(--parts-ink);font-weight:700;justify-content:space-between}
#s-road .cr-approved-home .cr-home-shortcuts{gap:12px}
#s-road .cr-approved-home .cr-home-shortcuts button{gap:12px;font-size:14px;padding:12px}
#s-road .cr-approved-home .cr-home-video{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;text-decoration:none;min-height:44px;font-size:14px;text-align:left}
#s-road .cr-approved-home :is(.sv-primary,.cr-home-shortcuts button,.sv-review-link):active{transform:translateY(2px);box-shadow:0 1px 0 var(--parts-shadow)}
#s-road .cr-approved-home button:focus-visible,#tabbar button:focus-visible{outline:3px solid #293B55;outline-offset:5px}
#tabbar{background:#FFFDFA;border-top:1.5px solid #D6D6D0}
#tabbar .tb{color:#293B55;font-size:14px;min-height:66px;min-width:64px}
#tabbar .tb.on{color:#293B55;font-weight:700}
#tabbar .tb svg{box-sizing:content-box;padding:7px;border-radius:12px;fill:none;stroke-width:1.7}
#tabbar .tb.on svg{background:#F8DFC8}


#tabbar .tb{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif!important}
@media(prefers-reduced-motion:reduce){#s-road .cr-approved-home :is(.sv-primary,.cr-home-shortcuts button,.sv-review-link):active{transform:none}}
/* D-TD63/65/66: B revised catalogue, shared mobile controls. */
#s-videos .sv-page-head button{border:0;cursor:pointer;flex-shrink:0}#s-videos .sv-page-head h1{margin:0;color:#293B55}#s-videos .sv-page-head button:focus-visible{outline:2px solid #293B55;outline-offset:3px}#vd-list{color:#293B55}#vd-list h2{font-size:16px;margin:0 0 12px}#vd-list button,#vd-list a{font:inherit;color:inherit;box-sizing:border-box;cursor:pointer}#vd-list button:focus-visible,#vd-list a:focus-visible,#vd-list summary:focus-visible{outline:2px solid #293B55;outline-offset:3px}
.vd-sevi{display:flex;align-items:center;gap:12px;margin:0 0 16px}.vd-sevi img{height:76px;width:64px;object-fit:contain}.vd-sevi p{font-size:14px}.vd-today,.vd-continue{padding:16px;background:#FFFDFA;border:1px solid #E5DFD4;border-radius:20px;margin-bottom:16px}.vd-today-row{display:flex;gap:12px;align-items:center}.vd-today-row>div{flex:1;min-width:0}.vd-today b{font-size:16px}.vd-today p{font-size:14px;color:#637084}.vd-thumb{display:block;flex:none;width:84px;height:52px;border-radius:10px;overflow:hidden;background:#F3B483}.vd-thumb img{width:100%;height:100%;object-fit:cover}.vd-thumb.vd-short{width:60px;height:88px}.vd-short img{object-fit:cover}.vd-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#vd-list .vd-main,#vd-list .vd-sub{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:14px;text-decoration:none;border:0;background:#F3B483;color:#293B55;font-size:14px;font-weight:700}#vd-list .vd-sub{background:transparent;border:1px solid #D9D3C8}.vd-continue>.vd-main{width:100%;margin-top:12px}.vd-tabs{display:flex;background:#EEE9E0;padding:4px;border-radius:14px;margin:20px 0 12px}.vd-tabs button{flex:1;min-height:44px;background:transparent;border:0;border-radius:11px;font-weight:700}.vd-tabs [aria-pressed=true]{background:#FFFDFA}.vd-categories{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px}.vd-categories button{white-space:nowrap;min-height:44px;border:1px solid #D9D3C8;border-radius:22px;background:#FFFDFA;padding:0 12px;font-size:14px}.vd-categories [aria-pressed=true]{background:#293B55;color:#fff!important}.vd-search{display:flex;align-items:center;gap:8px;border:1px solid #D9D3C8;border-radius:24px;background:#FFFDFA;height:44px;padding:0 14px;margin:8px 0 12px}.vd-search svg{flex:none}.vd-search input{min-width:0;width:100%;height:42px;border:0;background:transparent;margin:0;padding:0;font-size:14px;color:#293B55}.vd-search:focus-within{outline:2px solid #293B55;outline-offset:2px}.vd-search input:focus{outline:none}
#vd-list .vd-row{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:12px 0;border:0;border-bottom:1px solid #E5DFD4;background:transparent}.vd-row-title{flex:1;min-width:0}.vd-row-title b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.4}.vd-row-title small{display:block;font-size:14px;color:#637084;margin-top:4px}.vd-ring{position:relative;flex:none;width:44px;height:44px;display:grid;place-items:center}.vd-ring svg{position:absolute;inset:0;width:44px;height:44px}.vd-ring circle{fill:none;stroke:#EEE9E0;stroke-width:3}.vd-ring .vd-ring-fill{stroke:#52765C}.vd-ring small{font-size:14px;z-index:1}.vd-book{font-size:14px;color:#637084;background:transparent;border:0;min-height:28px}
.vd-detail h2{font-size:20px!important;line-height:1.5;margin-top:16px!important}.vd-watch{display:block;position:relative;margin-top:16px;text-decoration:none}.vd-thumb.vd-large{width:100%;height:auto;aspect-ratio:16/9}.vd-watch>span:last-child{position:absolute;bottom:10px;right:10px;background:#293B55;color:#fff;padding:8px;border-radius:10px;font-size:14px}.vd-count{font-size:32px;font-weight:800;margin:20px 0 12px}.vd-round-bar{display:flex;gap:4px;margin-bottom:24px;height:8px}.vd-round-bar span{flex:1;background:#EEE9E0;border-radius:4px}.vd-round-bar .done{background:#52765C}.vd-round-bar .now{background:#F3B483}.vd-detail>.vd-main,.vd-detail>.vd-sub{display:flex!important;width:100%;margin-bottom:12px}.vd-round-list{margin-top:20px}.vd-round-list summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.vd-round-list button{display:flex;align-items:center;gap:10px;min-height:56px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #E5DFD4;padding:12px 0}.vd-round-list button>b{flex:1;min-width:0;font-size:14px;overflow-wrap:anywhere}.vd-round-list button>span,.vd-round-list button>small{flex:none;font-size:14px}
/* D-TD64 / CH-SEVI-01: one quiet chest lift, dismissible, no flames. */
.sv-streak-notice{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;padding:24px 16px;background:#FFFDFA;color:#293B55;border:0;border-radius:20px;font:inherit}.sv-streak-notice img{height:140px;width:140px;object-fit:contain;animation:sv-streak-chest 1.2s ease-in-out 1}.sv-streak-notice strong{font-size:32px}.sv-streak-notice span{max-width:300px;font-size:16px;line-height:1.6}.sv-streak-notice:focus-visible{outline:2px solid #293B55}
@keyframes sv-streak-chest{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@media(prefers-reduced-motion:reduce){.sv-streak-notice img{animation:none}}
.sv-streak-home{font:inherit;color:inherit;background:transparent;border:0;padding:0;cursor:pointer;text-align:left}.sv-streak-home-bird img{animation:sv-streak-chest 1.2s ease-in-out 1}@media(prefers-reduced-motion:reduce){.sv-streak-home-bird img{animation:none}}

/* D-TD63: twenty-video continuation. */
#vd-list .vd-more{display:flex;width:100%;margin-top:16px;border-color:#293B55;color:#293B55}
#vd-list .vd-more:focus-visible{outline:2px solid #293B55;outline-offset:3px}
/* D-TD69 / D-TD68: catalogue fits between header and persistent tabs. */
#s-videos.vd-fixed.on{display:flex;flex-direction:column;height:calc(100dvh - 72px);min-height:0;overflow:hidden;padding-bottom:0}#s-videos.vd-fixed>.sv-page-head{flex:none;padding:10px 12px;gap:8px}#s-videos.vd-fixed .sv-page-head h1{font-size:18px}#s-videos.vd-fixed>.pad{display:flex;flex:1;min-height:0;padding:10px 12px 0}#s-videos.vd-fixed #vd-list{display:flex;flex:1;min-width:0;min-height:0;flex-direction:column}#s-videos.vd-fixed .vd-today{position:relative;flex:none;margin:0 0 8px;padding:10px 72px 10px 10px;border-radius:16px;min-height:100px;box-sizing:border-box}#s-videos.vd-fixed .vd-today h2{font-size:14px;margin:0 0 4px}#s-videos.vd-fixed .vd-today-row{gap:8px}#s-videos.vd-fixed .vd-today .vd-thumb{width:40px;height:60px;border-radius:6px}#s-videos.vd-fixed .vd-today b{font-size:14px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}#s-videos.vd-fixed .vd-today p{margin:4px 0;font-size:14px}#s-videos.vd-fixed .vd-actions{gap:4px;margin-top:4px;flex-wrap:nowrap}#s-videos.vd-fixed .vd-actions>*{min-height:44px;padding:4px 7px;font-size:14px}.vd-peek{position:absolute;right:6px;top:5px;width:60px;text-align:center;pointer-events:none}.vd-peek span{display:block;font-size:14px;white-space:nowrap;background:#FAF8F3;border:1px solid #E5DFD4;border-radius:10px;padding:4px 0}.vd-peek img{width:56px;height:60px;object-fit:cover;object-position:top}.vd-peek-enter img{animation:vd-peek-in .65s ease-out 1}@keyframes vd-peek-in{50%{transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.vd-peek-enter img{animation:none}}
#s-videos.vd-fixed .vd-tabs{flex:none;margin:0 0 4px;padding:2px}#s-videos.vd-fixed .vd-tabs .vd-search-toggle{flex:0 0 44px;display:grid;place-items:center}#s-videos.vd-fixed .vd-categories{flex:none;padding-bottom:4px;gap:6px}#s-videos.vd-fixed .vd-search{flex:none;margin:2px 0 4px}.vd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:2px}.vd-rows{flex:1;min-height:0;overflow:hidden;touch-action:pan-y}.vd-tile{position:relative;min-height:0;overflow:hidden;padding:0;border:0;background:#EEE9E0;border-radius:0}.vd-tile img{display:block;width:100%;height:100%;object-fit:cover}.vd-check{position:absolute;right:5px;top:5px;border-radius:50%;background:#52765C;color:white;padding:2px 5px;font-size:14px}.vd-longs{display:grid;grid-template-rows:repeat(5,minmax(0,1fr))}#vd-list .vd-long-row{padding:4px 0;gap:10px;min-height:0}.vd-long-thumb{width:min(150px,44%);flex:none;position:relative;height:100%;max-height:84px;align-self:center}.vd-long-thumb .vd-thumb{height:100%;width:100%;border-radius:5px;aspect-ratio:16/9}.vd-question-count{position:absolute;right:3px;bottom:6px;background:#293B55;color:white;font-size:14px;padding:2px 4px;border-radius:4px}.vd-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#E5DFD4}.vd-progress i{display:block;height:100%;background:#52765C}
.vd-short-sheet{box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,460px);max-height:85dvh;border:1px solid #E5DFD4;border-radius:22px 22px 0 0;background:#FFFDFA;color:#293B55;padding:16px;overflow:auto}.vd-short-sheet::backdrop{background:#293B5570}.vd-sheet-close{position:absolute;right:12px;top:8px;width:44px;height:44px;border:0;background:#FAF8F3;border-radius:50%;font-size:24px}.vd-sheet-content>.vd-thumb{width:110px;height:150px;aspect-ratio:auto;margin:auto}.vd-sheet-content h2{font-size:18px}.vd-sheet-content ol{list-style:none;padding:0}.vd-sheet-content li{display:flex;gap:10px;border-bottom:1px solid #E5DFD4;padding:10px 0}.vd-sheet-content li>span{width:20px;flex:none;color:#52765C}.vd-sheet-content li b{font-size:16px}.vd-sheet-content li p{font-size:14px;margin:4px 0;color:#637084}.vd-sheet-content li small{color:#293B55;font-size:24px}.vd-sheet-actions{display:flex;gap:8px;position:sticky;bottom:-16px;background:#FFFDFA;padding:12px 0}.vd-sheet-actions>*{flex:1;display:grid;place-items:center;min-height:48px;border-radius:14px;text-decoration:none;color:#293B55;border:1px solid #D9D3C8;font:inherit;background:transparent}.vd-sheet-actions .vd-main{background:#F3B483;border:0}
/* Low screens keep the same fixed controls and scrollable catalogue. */
/* Reserve the full tab bar (66px controls + padding), including the safe area. */
body.has-tab:has(#s-videos.vd-fixed.on){overflow:hidden}body.has-tab:has(#s-videos.vd-fixed.on) #app{padding-bottom:0}#s-videos.vd-fixed.on{height:calc(100dvh - 90px - env(safe-area-inset-bottom))}
@media(min-width:700px){body.has-tab:has(#s-videos.vd-fixed.on){padding:0}body.has-tab:has(#s-videos.vd-fixed.on) #app{border-radius:0;border:0}}

/* D-TD69 stage51b: only the question body scrolls; header/actions stay visible. */
.vd-short-sheet{height:85dvh;max-height:85dvh;overflow:hidden;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
.vd-short-sheet[open]{display:flex;flex-direction:column}
.vd-sheet-header{flex:none;padding:0 44px 8px 0}
.vd-sheet-header>.vd-thumb{width:72px;height:96px;aspect-ratio:auto;margin:auto}
.vd-sheet-header h2{font-size:1.125rem;line-height:1.35;margin:8px 0 0;overflow-wrap:anywhere}
.vd-sheet-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.vd-sheet-content ol{margin:0}
.vd-sheet-content li>span{display:flex;gap:2px;width:32px;font-size:1rem;align-items:baseline}
.vd-sheet-content li small{font-size:1em;color:#293B55}
.vd-sheet-content li>div{min-width:0;overflow-wrap:anywhere}
.vd-sheet-content li b{font-size:1rem}.vd-sheet-content li p{font-size:.875rem}
.vd-sheet-actions{position:static;flex:none;margin:0;padding:10px 0 0}
/* D-TD69 stage51c: fixed controls, all videos in the scrolling catalogue. */
#s-videos.vd-fixed .vd-rows{overflow-y:auto;overscroll-behavior:contain;align-content:start;grid-template-rows:none;grid-auto-rows:max-content}
#s-videos.vd-fixed .vd-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
#s-videos.vd-fixed .vd-tile{aspect-ratio:3/4}
#s-videos.vd-fixed .vd-tile img{transform:none;object-fit:cover;object-position:center}
#s-videos.vd-fixed .vd-longs{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:max-content}
#s-videos.vd-fixed .vd-long-row{min-height:88px}
#s-videos.vd-fixed .vd-long-thumb{height:auto;aspect-ratio:16/9}
#s-videos.vd-fixed .vd-tabs button{font-size:1rem}
#s-videos.vd-fixed .vd-long-row .vd-row-title b{font-size:.875rem}
#s-videos.vd-fixed .vd-long-row .vd-row-title small{font-size:.875rem}

/* D-TD69 stage51d: owner-specified mobile catalogue dimensions. */
#s-videos.vd-fixed .vd-rows{margin-left:-12px;margin-right:-12px;width:calc(100% + 24px)}
#s-videos.vd-fixed .vd-grid{gap:1px}
#s-videos.vd-fixed .vd-short-count{position:absolute;left:6px;bottom:6px;color:#fff;font-size:.875rem;font-weight:700;text-shadow:0 1px 3px #0009}
#s-videos.vd-fixed #vd-list .vd-long-row{box-sizing:border-box;padding:12px 16px;gap:12px;min-height:114px}
#s-videos.vd-fixed .vd-long-thumb{width:160px;height:90px;max-height:none;aspect-ratio:16/9}
#s-videos.vd-fixed .vd-long-thumb .vd-thumb{width:160px;height:90px;border-radius:8px}
#s-videos.vd-fixed .vd-question-count{right:4px;bottom:4px;background:#0009;color:#fff;font-size:.875rem;border-radius:4px}
#s-videos.vd-fixed .vd-progress{bottom:-3px;height:3px}
#s-videos.vd-fixed .vd-progress i{background:#F3B483}
#s-videos.vd-fixed .vd-long-row .vd-row-title b{font-weight:500}

/* D-TD59 / D-TD57 stage52: compact room heading, shared notebook disclosure. */
#rd-head .cr-room-head{flex-wrap:nowrap;gap:8px;padding:0 0 10px}
#rd-head .cr-room-head h1{margin:0;white-space:nowrap;flex-shrink:0}
#rd-head .cr-room-head>button{color:var(--ink);flex-shrink:0}
#rd-head .cr-room-head>.cr-course-dropdown{margin-left:auto}
#rd-head .cr-room-head .cr-course-options{left:auto;right:0}
.sv-room-actions button{color:var(--ink)}
.cr-room-shelf-caption{font-size:14px;color:var(--sub);margin:0 16px 4px}

/* D-TD70: temporary line marks; no generated character/art assets. */
.sv-creator-slots{position:absolute;inset:0;pointer-events:none}
.sv-creator-slots>img{position:absolute;object-fit:contain}
.sv-creator-mark{width:32px;height:32px;display:block;margin:auto}
.sv-creator-slots small,.cr-room-shelf small{display:block;font-size:14px}
.sv-creator-new{font-size:14px;color:var(--ink)}
.sv-creator-notice{display:flex;align-items:center;gap:8px;padding:12px;background:var(--paper,#FFFDFA);border:1px solid #ddd4c8;border-radius:12px;color:var(--ink);width:100%}
.sv-creator-notice>.sv-character{width:64px;height:80px;object-fit:contain}
.sv-creator-anniversary{display:block;text-align:center;color:var(--ink)}
/* 10/9 すなお「今日の10問のすなおの画像が切れてる」：表紙(9:16)を枠いっぱいに縮めて全部見せる */
.vd-today .vd-thumb.vd-short{width:48px!important;height:85px!important;aspect-ratio:auto!important;flex:none;border-radius:8px;overflow:hidden}
.vd-today .vd-thumb.vd-short img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center}
/* D-TD74: compact today action, thumbnail video link and return celebration. */
#s-videos.vd-fixed .vd-today .vd-today-btn{min-width:112px;min-height:40px;height:40px;padding:0 18px;border:0;border-radius:12px;background:#E58A4E;color:#fff;font:inherit;font-size:14px;font-weight:800;box-shadow:0 3px 0 #B9612A;transition:transform .08s,box-shadow .08s;cursor:pointer}
#s-videos.vd-fixed .vd-today .vd-today-btn:active{transform:translateY(3px);box-shadow:none}
#s-videos.vd-fixed .vd-today .vd-today-done{background:transparent;border:1px solid #D9D3C8;color:#52765C;box-shadow:none}
.vd-today-watch{position:relative;display:block;flex:none;min-width:48px;min-height:85px}.vd-play{position:absolute;right:4px;bottom:4px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:14px}
.vd-today-progress{display:block;margin:6px 0;height:3px;background:#E5DFD4;border-radius:3px;overflow:hidden}.vd-today-progress i{display:block;height:100%;background:#E58A4E}
.vd-today-touch{cursor:pointer;transition:transform .12s}.vd-today-touch:active{transform:scale(.985)}
.vd-start-hop img{animation:vd-today-hop .45s ease-in-out!important}@keyframes vd-today-hop{45%{transform:translateY(-9px)}100%{transform:translateY(0)}}
.vd-stamp{position:absolute;inset:14px 0 auto;display:grid;place-items:center;color:#52765C;background:#FFFDFAe8;border:2px solid #52765C;border-radius:50%;width:40px;height:40px;font-size:28px;animation:vd-stamp-in .35s ease-out}@keyframes vd-stamp-in{from{transform:scale(1.7) rotate(-15deg);opacity:0}to{transform:scale(1) rotate(0);opacity:1}}
.vd-streak{display:flex;gap:4px;align-items:center}.vd-backlog-toggle{background:transparent;border:0;color:#637084;min-height:44px;font:inherit;font-size:14px;padding:4px 0}.vd-backlog{display:flex;gap:8px;overflow-x:auto;margin-top:8px}.vd-backlog button{flex:none;border:0;background:transparent;font:inherit;color:#637084;padding:0;min-width:64px}.vd-backlog .vd-thumb.vd-short{width:64px!important;height:85px!important}.vd-backlog button>span:last-child{display:block;font-size:14px;margin-top:4px}
@media(prefers-reduced-motion:reduce){.vd-today-touch,#s-videos.vd-fixed .vd-today .vd-today-btn{transition:none}.vd-today-touch:active,#s-videos.vd-fixed .vd-today .vd-today-btn:active{transform:none}.vd-start-hop img,.vd-stamp{animation:none!important}}

/* D-TD57 / stage79: retain artwork and order; reserve the fixed tab's space. */
#s-road #rd-list:has(.sv-home-content .sv-next){padding-bottom:calc(90px + env(safe-area-inset-bottom, 0px))}
@media(max-width:460px){#s-road:has(.sv-home-content .sv-next) .sv-room{height:clamp(230px,calc(100svh - 520px),326px);min-height:0}}
/* D-TD115/116: shared room, wooden box shelves, quiet local rewards. */
.sv-wallet{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:var(--ink);font-size:14px;margin:4px 4px 8px}
.sv-donguri-gain{display:flex;align-items:center;justify-content:center;gap:4px;margin:8px;color:var(--sub);font-size:14px}
.sv-wood-shelves{background:#eaddcc;padding:16px;border-radius:12px;color:var(--ink)}
.sv-wood-shelves h2{font-size:16px;margin:8px 0}
.sv-box-row{display:flex;flex-wrap:wrap;gap:12px;border-bottom:7px solid #c7ad8e;padding:12px 0 18px;margin-bottom:18px}
.sv-box-item{display:flex;flex-direction:column;align-items:center;gap:6px;width:calc((100% - 24px)/3);min-height:100px;border:0;border-radius:8px;background:transparent;padding:4px;font:inherit;color:var(--ink)}
.sv-box-item img{width:64px;height:64px;object-fit:contain}.sv-box-item span{font-size:14px;overflow-wrap:anywhere}.sv-box-item small{display:flex;align-items:center;gap:3px;font-size:14px}
.sv-price-short small{opacity:.55}.sv-place-controls button,#sv-place-picker button{min-height:44px;border:0;border-radius:8px;background:#f4ece2;margin:4px;padding:8px;font:inherit;color:var(--ink)}
.sv-room-places{position:absolute;inset:0;pointer-events:none}.sv-room-place{position:absolute;width:20%;height:22%}.sv-room-place img{width:100%;height:100%;object-fit:contain}
.sv-place-window{left:12%;top:28%}.sv-place-floor{left:68%;top:72%}.sv-place-desk{left:5%;top:64%}.sv-place-shelf{left:75%;top:23%}
.sv-room-actions.sv-shared-room-actions{grid-template-columns:1fr}.sv-shared-room-actions button{width:100%}

/* Stage147 H-1/W-1: keep the face clear at narrow widths. */
@media(max-width:360px){#s-road .sv-speech{left:12px;right:12px;top:8px;max-width:none;width:fit-content;padding:8px 12px}#s-road .sv-room-sevey{bottom:12px}}
