/* Full-bleed forest only on the initial menu; activities retain their workspace. */
#app[data-route=home]{position:relative;isolation:isolate;background:#193d35 url('../assets/backgrounds/forest.png') 52% center/cover no-repeat}
#app[data-route=home]::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#092d3540 0%,#09272b00 28%,#091f25c9 74%,#091f25f0 100%);pointer-events:none}
#app[data-route=home] .app-header{background:#113d3938;border:0;color:white;min-height:60px;padding:calc(8px + var(--safe-top)) clamp(20px,5vw,64px) 8px;backdrop-filter:blur(8px)}
#app[data-route=home] .app-header h1{color:#fffdf4;text-shadow:0 2px 12px #09251ccc;font-size:20px;letter-spacing:-.4px}
#app[data-route=home] .screen-body{padding:0 clamp(20px,5vw,64px);overflow:auto;scrollbar-width:none}
#app[data-route=home] .screen-body::-webkit-scrollbar{display:none}
#app[data-route=home] .home-screen{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:0;max-width:none;width:100%;height:100%;min-height:0;margin:0;padding:140px 0 18px}
#app[data-route=home] .home-scene{position:absolute;inset:0;width:100%;height:100%;max-height:none;min-height:0;background:none;border-radius:0;pointer-events:none}
#app[data-route=home] .hero-finn{left:auto;right:12%;bottom:8%;height:min(48vh,360px);width:260px;max-width:35%;filter:drop-shadow(0 10px 12px #0d241b55);object-fit:contain}
#app[data-route=home] .home-scene-copy{position:absolute;left:0;top:18px;padding:16px 20px;border-radius:18px;background:#fffef1eb;box-shadow:0 8px 30px #0b302626;max-width:320px;color:#27423b;backdrop-filter:blur(10px)}
#app[data-route=home] .home-scene-copy .tag{color:#486455;font-size:10px;letter-spacing:1.3px}
#app[data-route=home] .home-scene-copy h2{font-size:23px;line-height:1.2;margin:7px 0 0;color:#203a34;letter-spacing:-.5px}
#app[data-route=home] .home-start{position:relative;width:min(100%,430px);display:flex;flex-direction:column;gap:12px;align-items:stretch;z-index:1}
#app[data-route=home] .home-start>.tag{color:#ffda89;font-size:10px;letter-spacing:2px}
#app[data-route=home] .home-start h2{color:white;text-shadow:0 2px 12px #082324;font-size:clamp(25px,3vw,36px);line-height:1.1;margin:0;max-width:390px}
#app[data-route=home] .home-start>p{color:#f3f8ef;font-size:13px;line-height:1.4;max-width:360px;text-shadow:0 1px 8px #061e23}
#app[data-route=home] .home-start>.primary{background:#ffce69;color:#263b30;border:1px solid #ffe1a0;min-height:52px;font-size:16px;border-radius:16px;box-shadow:0 6px 22px #0b1e2840}
#app[data-route=home] .home-start>.primary:hover{background:#ffdc92}
#app[data-route=home] .install-app{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:1px solid #ffffff70;background:#ffffff18;color:white;backdrop-filter:blur(12px);font-size:13px;border-radius:14px;box-shadow:none}
#app[data-route=home] .install-app:hover{background:#ffffff30}
.install-app[hidden]{display:none!important}
#app[data-route=home] .journey-summary{grid-column:auto;margin:0;padding:10px 14px;background:#123d368c;border:1px solid #ffffff2e;backdrop-filter:blur(12px);border-radius:14px;color:#f7f9ed;gap:7px;font-size:11px}
#app[data-route=home] .journey-summary .ui-icon{width:17px;height:17px;color:#ffcf74}
#app[data-route=home] progress{height:4px;accent-color:#ffce69}
#app[data-route=home] progress::-webkit-progress-bar{background:#ffffff2b}
#app[data-route=home] progress::-webkit-progress-value{background:#ffce69}
#app[data-route=home] .bottom-nav{position:relative;z-index:2;background:#102e2dc9;backdrop-filter:blur(18px);border:1px solid #ffffff30;border-radius:22px;margin:0 clamp(12px,4vw,48px) calc(10px + var(--safe-bottom));padding:6px;gap:4px;box-shadow:0 6px 24px #051b2d40}
#app[data-route=home] .bottom-nav a{color:#e5f0e5;min-height:48px;flex:1;padding:10px 16px;border-radius:16px}
#app[data-route=home] .bottom-nav a[aria-current=page]{background:#fff9e8;color:#294739}
#app[data-route=home] button:focus-visible,#app[data-route=home] a:focus-visible{outline:3px solid #ffdf8e;outline-offset:3px}
.install-sheet{width:min(440px,calc(100% - 32px))}
.install-sheet p,.install-sheet li{font-size:14px;line-height:1.5}
.install-sheet ol{padding-left:20px;margin:16px 0 0}
.install-sheet li+li{margin-top:10px}
@media(max-width:760px){
 #app[data-route=home]{background-position:54% center}
 #app[data-route=home] .app-header{min-height:48px;padding:calc(8px + var(--safe-top)) 18px 8px}
 #app[data-route=home] .app-header h1{font-size:17px}
 #app[data-route=home] .screen-body{padding:0 18px}
 #app[data-route=home] .home-screen{padding:110px 0 12px;align-items:stretch}
 #app[data-route=home] .home-scene-copy{top:12px;max-width:74%;padding:12px 14px;border-radius:16px}
 #app[data-route=home] .home-scene-copy h2{font-size:19px}
 #app[data-route=home] .home-scene-copy .tag{font-size:8px;letter-spacing:1px}
 #app[data-route=home] .home-start{width:100%;gap:9px}
 #app[data-route=home] .home-start h2{font-size:26px;max-width:300px}
 #app[data-route=home] .home-start>p{font-size:11px}
 #app[data-route=home] .home-start>.primary{min-height:48px;font-size:15px}
 #app[data-route=home] .hero-finn{height:20vh;width:auto;max-width:42%;right:1%;bottom:270px}
 #app[data-route=home] .bottom-nav a{flex-direction:column;gap:3px;font-size:10px;min-height:48px;padding:6px 2px}
 #app[data-route=home] .journey-summary{padding:9px 12px}
}
@media(max-height:560px){
 #app[data-route=home] .home-screen{padding-top:90px;padding-bottom:8px}
 #app[data-route=home] .home-start{gap:6px}
 #app[data-route=home] .home-start h2{font-size:22px}
 #app[data-route=home] .home-start>p{display:none}
 #app[data-route=home] .home-start>.tag{display:none}
 #app[data-route=home] .hero-finn{display:none}
 #app[data-route=home] .home-scene-copy{padding:9px 12px;top:6px}
 #app[data-route=home] .home-scene-copy h2{font-size:17px}
 #app[data-route=home] .home-start>.primary{min-height:44px}
 #app[data-route=home] .install-app{min-height:44px}
 #app[data-route=home] .journey-summary{padding:6px 10px;font-size:10px;gap:4px}
}
@media(max-height:440px) and (min-width:560px){
 #app[data-route=home] .home-screen{padding-top:12px;align-items:flex-end}
 #app[data-route=home] .home-start{width:48%;gap:6px}
 #app[data-route=home] .home-scene-copy{max-width:42%;top:24px}
 #app[data-route=home] .home-start h2{font-size:20px}
 #app[data-route=home] .app-header{min-height:42px}
 #app[data-route=home] .bottom-nav{margin-bottom:5px}
 #app[data-route=home] .bottom-nav a{min-height:38px;padding:5px;font-size:11px;flex-direction:row}
}
@media(display-mode:standalone),(display-mode:fullscreen),(display-mode:minimal-ui){.install-app{display:none!important}}
