@font-face{font-family:Rubik;src:url('assets/Rubik-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f6f2}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit}button{color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--teal);outline-offset:5px}button[hidden],[hidden]{display:none!important}
#sc-mondo{--bg:#F5F6F2;--surface:#fff;--raised:#E9EFEB;--ink:#183138;--muted:#50656A;--line:#CEDAD7;--teal:#0B6570;--on-teal:#fff;--ochre:#8C6500;--ochre-tint:#f1e2bf;--shadow:0 12px 50px #18313813;--scene-dim:1;background:var(--bg);color:var(--ink);font-family:Rubik,Arial,sans-serif;font-size:16px;line-height:1.6;min-height:100vh;overflow:hidden}
#sc-mondo[data-theme=night]{--bg:#101C24;--surface:#182A33;--raised:#203743;--ink:#EDF5F2;--muted:#A7C0C2;--line:#3B535D;--teal:#8BD8D0;--on-teal:#0D2630;--ochre:#F0CD75;--ochre-tint:#393022;--shadow:0 12px 50px #0004;--scene-dim:.68}
p,h1,h2,h3{margin:0}button{border:0;background:none}svg{display:block}.skip-link{position:absolute;top:-90px;left:20px;background:var(--surface);padding:10px 20px;z-index:50}.skip-link:focus{top:10px}
.school-header{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 3.5%;border-bottom:1px solid var(--line);min-height:94px}
.school-brand{display:flex;gap:13px;align-items:center;text-decoration:none;flex-shrink:0}.school-brand img{object-fit:contain}.school-brand>span{font-size:18px;line-height:1.2;letter-spacing:.15em}.school-brand small{display:block;font-size:10px;letter-spacing:.19em;margin-top:5px}
.header-center{font-size:13px;color:var(--muted);display:flex;gap:10px;align-items:center}.edition-dot{width:6px;height:6px;background:#b78a3e;border-radius:50%;display:inline-block}.edition-tag{font-size:11px;border:1px solid var(--line);border-radius:5px;padding:0 5px;margin-left:3px}
.header-tools{display:flex;align-items:center;gap:24px;font-size:13px}.header-tools button,.header-tools a{display:flex;gap:8px;align-items:center;min-height:40px;padding:5px 0;text-decoration:none}.header-tools button:hover,.header-tools a:hover{text-decoration:underline;text-underline-offset:5px}.header-tools svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4}.header-tools #theme-toggle{border-left:1px solid var(--line);padding-left:24px}.header-tools #theme-toggle>span:first-child{font-size:23px;line-height:1}
main{max-width:1720px;margin:auto;padding:0 28px}.journey-topline{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 4px;font-size:12px;color:var(--muted)}.small-spark{color:var(--ochre);padding-right:8px;font-size:19px;line-height:1;vertical-align:middle}.preview-tag{font-size:11px}.preview-tag span{padding:0 7px}
.scene-frame{position:relative;isolation:isolate;overflow:hidden;border-radius:14px;background:#cfddd3;box-shadow:var(--shadow);border:1px solid #d4dace}
.world-viewport{position:relative;height:clamp(530px,calc(100svh - 305px),800px);overflow:hidden;outline-offset:-5px!important}
.world-plane{position:absolute;width:100%;aspect-ratio:1672/941;left:0;top:50%;transform:translateY(-50%);isolation:isolate;min-height:100%}
.world-art{position:absolute;inset:0;overflow:hidden;z-index:-2}.world-art img{height:100%;width:100%;object-fit:cover;display:block;filter:brightness(var(--scene-dim));user-select:none;pointer-events:none}
.scene-frame:before{content:"";position:absolute;inset:0 0 50%;z-index:2;background:linear-gradient(150deg,rgba(248,247,235,.97),rgba(248,247,235,.83) 20%,rgba(248,247,235,.25) 52%,transparent 70%);pointer-events:none}
.scene-frame:after{content:"";position:absolute;inset:77% 0 0;z-index:1;background:linear-gradient(transparent,#25453c2b);pointer-events:none}
.scene-caption{position:absolute;z-index:4;top:32px;left:36px;max-width:600px;pointer-events:none;color:#183138}.scene-caption h1{font-size:clamp(34px,3.8vw,66px);letter-spacing:-.055em;line-height:1.04;font-weight:400;max-width:660px;margin:14px 0 14px;text-wrap:balance}.scene-caption>p:last-child{font-size:15px;max-width:435px;line-height:1.6;color:#38534e}.scene-eyebrow{display:flex;gap:11px;align-items:center;font-size:10px;text-transform:uppercase;letter-spacing:.16em;color:#2a5858}.caption-rule{width:28px;height:1px;background:#657c6e}.scene-unit{font-size:9px}
.place-stamp{position:absolute;top:30px;right:30px;z-index:4;display:flex;align-items:flex-end;flex-direction:column;gap:3px;color:#183138;background:#f5f6f2db;border:1px solid #ffffff91;padding:10px 14px;border-radius:7px;backdrop-filter:blur(10px)}.place-stamp #stage-number{font-size:20px;letter-spacing:.05em}.place-stamp #unit-name{font-size:10px;text-transform:uppercase;letter-spacing:.09em}
.world-actors,.world-stops{position:absolute;inset:0;pointer-events:none}.world-actors{z-index:2}.world-person{position:absolute;left:var(--x);top:var(--y);height:var(--h);width:auto;max-width:20%;transform:translate(-50%,-100%);object-fit:contain;user-select:none;pointer-events:none;filter:drop-shadow(4px 10px 4px #25443944)}
.world-stops{z-index:3}.world-hotspot{pointer-events:auto;position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;width:106px;min-height:140px;padding:12px 10px;color:#173e41;background:#fbf5e7e8;border:1px solid #fff9;border-radius:4px;box-shadow:0 2px 12px #18313812;text-align:center;line-height:1.25}
.world-hotspot:after{content:"↗";font-size:16px;line-height:1;color:#836321}.world-hotspot:hover{background:#fffdf7;box-shadow:0 0 0 4px #fffffa85,0 12px 25px #18313830}.hotspot-symbol svg{width:27px;height:27px}.hotspot-symbol img{width:30px;height:30px;object-fit:contain}.hotspot-number{font-size:9px;letter-spacing:.2em;color:#82623c}.hotspot-title{font-size:13px;max-width:115px}.world-hotspot.is-read{border-bottom:3px solid #0B6570}.world-hotspot.is-read:after{content:"✓";color:#0B6570}
.scene-corner{position:absolute;bottom:20px;left:28px;display:flex;align-items:center;gap:10px;color:#183138;z-index:4;background:#f8f5e9df;backdrop-filter:blur(8px);border:1px solid #fff9;border-radius:7px;padding:11px 14px;font-size:10px;line-height:1.45;pointer-events:none}.corner-symbol{font-size:24px;color:#826339}.pan-hint{display:none}
#sc-mondo[data-stage=giardino] .world-art img{transform:scale(1.34);transform-origin:58% 48%}#sc-mondo[data-stage=giardino] .world-hotspot{width:120px;min-height:152px;background:#f9f5e9;border:3px solid #0b6570;border-bottom-width:12px;border-radius:4px;box-shadow:0 14px 20px #18313828}#sc-mondo[data-stage=giardino] .world-hotspot:before{content:"";position:absolute;top:100%;left:calc(50% - 5px);width:10px;height:38px;background:#16494c;box-shadow:3px 8px 5px #18313830;z-index:-1}
#sc-mondo[data-stage=hall] .world-hotspot{background:#f6f1e4eb;border-radius:8px;border:2px solid #0b6570;min-height:124px;width:118px}#sc-mondo[data-stage=hall] .hotspot-symbol{display:none}#sc-mondo[data-stage=rampa] .world-art img{transform:scale(1.23);transform-origin:81% 49%}#sc-mondo[data-stage=rampa] .world-hotspot{border-radius:7px;min-height:106px;width:111px;border-left:4px solid #0b6570;background:#fff9ed}#sc-mondo[data-stage=rampa] .hotspot-symbol{display:none}
#sc-mondo[data-stage=aule] .world-hotspot{min-height:122px;border:0;border-left:4px solid #b28438;width:118px;background:#f4d489}#sc-mondo[data-stage=aule] .world-hotspot:nth-child(2){border-color:#267c78;background:#c2dfd5}#sc-mondo[data-stage=aule] .world-hotspot:nth-child(3){border-color:#a15335;background:#e8b798}#sc-mondo[data-stage=aule] .world-hotspot:nth-child(4){border-color:#68639b;background:#d7d8e9}
.explore-dock{margin:0 10px;padding:21px 18px 0}.dock-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:13px}.dock-label{font-size:10px;text-transform:uppercase;letter-spacing:.13em}.dock-label>span{color:var(--ochre);font-size:19px;margin-right:6px}#stage-progress{font-size:10px;color:var(--muted)}.stop-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--surface)}.stop-list:has(>.stop-card:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.stop-card{display:flex;gap:13px;text-align:left;align-items:flex-start;padding:18px 16px;min-width:0;min-height:124px;border-right:1px solid var(--line);line-height:1.4}.stop-card:last-child{border-right:0}.stop-card:hover{background:var(--raised)}.stop-card-number{font-size:11px;color:var(--ochre);padding-top:2px}.stop-card-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.stop-card-title{font-size:13px;text-transform:none;line-height:1.45}.stop-card-subtitle{display:none;font-size:11px;color:var(--muted)}.stop-card-status{font-size:10px;color:var(--muted);margin-top:auto}.stop-card.is-read .stop-card-status{color:var(--teal)}.stop-card-arrow{font-size:19px;margin-left:auto;line-height:1}.stop-card.is-read .stop-card-arrow{font-size:0}.stop-card.is-read .stop-card-arrow:after{content:"✓";font-size:16px;color:var(--teal)}
.scene-controls{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:17px}.previous-button{display:flex;gap:10px;align-items:center;font-size:12px;min-height:48px;flex-shrink:0;padding:9px 0}.previous-button>span{font-size:20px}.previous-button:disabled{opacity:.3}#stage-instruction{font-size:11px;color:var(--muted);text-align:center;max-width:500px}.next-button{display:flex;justify-content:center;align-items:center;gap:20px;background:var(--teal);color:var(--on-teal);font-size:13px;padding:14px 23px;border-radius:7px;min-height:48px;flex-shrink:0;box-shadow:0 4px 12px #0b65701a}.next-button:hover{filter:brightness(1.12)}
.journey-steps{display:flex;justify-content:center;margin:32px 28px 0;padding:22px 0;border-top:1px solid var(--line);gap:0}.journey-step{display:flex;align-items:center;gap:9px;padding:7px 22px;color:var(--muted);font-size:11px;line-height:1.4;position:relative;min-height:42px}.journey-step+.journey-step:before{content:"";position:absolute;left:0;top:50%;width:12px;height:1px;background:var(--line);transform:translateX(-50%)}.journey-number{display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;width:26px;height:26px;font-size:9px;background:var(--bg)}.journey-step.is-current{color:var(--teal)}.journey-step.is-current .journey-number{color:var(--on-teal);background:var(--teal);border-color:var(--teal)}.journey-step.is-visited:not(.is-current) .journey-number{border-color:var(--teal);color:var(--teal)}
.method-line{display:flex;align-items:center;justify-content:center;gap:18px;padding:19px 20px 36px;font-size:13px}.method-mark{font-size:43px;line-height:1;color:var(--ochre)}.method-line p>span{color:var(--muted)}.method-line small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.method-line>button{font-size:10px;text-align:left;color:var(--teal);margin-left:24px;min-height:44px}
.school-footer{display:flex;gap:25px;align-items:center;justify-content:space-between;max-width:1664px;margin:auto;padding:22px 34px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.school-footer a{text-decoration:none}.school-footer>a:first-child{font-size:12px;color:var(--ink)}.school-footer>a:last-child{text-decoration:underline;text-underline-offset:4px}
dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:0;border-radius:14px;width:min(780px,calc(100vw - 32px));max-height:90svh;overflow:auto;box-shadow:0 30px 100px #082c3566}dialog::backdrop{background:#0e252b99;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10;background:var(--surface);padding:12px 22px;border-bottom:1px solid var(--line)}.dialog-top>span{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.dialog-close{width:42px;height:42px;background:var(--raised);border-radius:50%;font-size:27px;line-height:1}#reading-body,#map-body{padding:34px 42px 30px}.reading-kicker{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:var(--ochre)}.reading-meta{color:var(--muted);font-size:11px;margin:7px 0 20px}.reading-dialog h2,.map-dialog h2{font-weight:400;font-size:31px;line-height:1.25;letter-spacing:-.035em;margin-bottom:17px}.reading-subtitle{font-size:17px;line-height:1.6;color:var(--muted);padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:23px}.reading-text{font-size:17px;line-height:1.85;max-width:66ch}.reading-text p+p{margin-top:20px}.reading-reflection{padding:22px;background:var(--raised);border-left:3px solid var(--teal);margin-top:27px;font-size:16px;line-height:1.75}.reading-reflection h3{font-size:12px;text-transform:uppercase;letter-spacing:.07em;font-weight:400;color:var(--teal);margin-bottom:12px}.answer-toggle{font-size:13px;color:var(--teal);text-decoration:underline;text-underline-offset:5px;min-height:44px;text-align:left;margin-top:10px;padding:5px 0}.reading-answer{padding-top:17px;font-size:15px}.reading-visit-note{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.reading-navigation{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px}.reading-navigation button{font-size:12px;color:var(--teal);text-align:left;min-height:44px;padding:5px 0;line-height:1.5}.reading-navigation button:disabled{opacity:.35}.reading-navigation>span{font-size:11px;color:var(--muted);flex-shrink:0}
.map-dialog{width:min(730px,calc(100vw - 32px))}.map-dialog #map-title+p{font-size:15px;color:var(--muted)}.map-stages{display:grid;gap:10px;margin:25px 0}.map-stage{display:flex;align-items:center;gap:18px;background:var(--raised);border:1px solid var(--line);border-radius:8px;padding:15px 18px;text-align:left;min-height:75px}.map-stage.is-current{border-color:var(--teal)}.map-number{color:var(--ochre);font-size:12px}.map-stage-copy{display:flex;flex-direction:column;gap:3px;flex:1}.map-stage-copy strong{font-weight:400;font-size:18px}.map-stage-copy small{font-size:11px;color:var(--muted)}.map-stage-copy .map-current{color:var(--teal)}
@media(min-width:1700px){.scene-caption{top:40px;left:44px}.scene-caption>p:last-child{font-size:17px}.world-hotspot{width:120px;min-height:160px}.hotspot-title{font-size:15px}.stop-card-title{font-size:15px}}
@media(max-width:1100px){.header-center{display:none}.school-header{padding:18px 26px}.header-tools{gap:20px}.scene-caption{left:27px;top:26px;max-width:490px}.scene-caption h1{font-size:44px}.scene-caption>p:last-child{font-size:13px;max-width:350px}.world-viewport{height:560px}.world-plane{min-width:1040px;left:50%;transform:translate(-50%,-50%)}.world-hotspot{width:93px;min-height:125px;gap:7px;padding:10px 7px}.hotspot-title{font-size:12px}.scene-corner{font-size:9px;bottom:15px}.stop-card{padding:15px 12px;gap:9px}.stop-card-title{font-size:11px}.stop-card-number{font-size:10px}.scene-controls{gap:15px}.next-button{padding:12px 17px}.journey-step{padding:7px 14px}}
@media(max-width:760px){main{padding:0 12px}.school-header{padding:14px 18px;min-height:77px;gap:15px}.school-brand{gap:9px}.school-brand img{width:33px;height:33px}.school-brand>span{font-size:14px}.school-brand small{font-size:8px}.header-tools{gap:15px;font-size:11px}.header-tools .home-link{display:none}.header-tools button{gap:6px}.header-tools #theme-toggle{padding-left:14px}.header-tools #map-open span{display:none}.journey-topline{padding:14px 4px;font-size:10px}.preview-tag{font-size:9px}.preview-tag span{display:none}.preview-tag{max-width:100px;text-align:right;line-height:1.45}.scene-frame{border-radius:11px}.scene-frame:before{display:none}.scene-caption{position:relative;top:auto;left:auto;max-width:none;padding:24px 23px 20px;background:var(--raised);color:var(--ink);pointer-events:auto;border-bottom:1px solid var(--line)}.scene-caption h1{font-size:36px;max-width:460px;letter-spacing:-.05em;margin:12px 0}.scene-caption>p:last-child{font-size:13px;max-width:500px;color:var(--muted)}.scene-eyebrow{font-size:9px;color:var(--teal)}.scene-unit{font-size:8px}.place-stamp{top:auto;bottom:20px;right:16px;padding:8px 11px}.place-stamp #stage-number{font-size:14px}.place-stamp #unit-name{font-size:9px}.world-viewport{height:410px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#0b6570 #edf1e7}.world-plane{position:relative;min-width:900px;width:900px;height:506px;min-height:0;left:0;top:50%;transform:translateY(-50%)}.world-person{filter:drop-shadow(3px 8px 3px #18313844)}.world-hotspot{width:76px;min-height:105px;gap:5px;padding:8px 5px}.hotspot-title{font-size:11px}.hotspot-symbol svg{width:23px;height:23px}.hotspot-number{font-size:8px}.world-hotspot:after{font-size:12px}.scene-corner{display:none}.pan-hint{display:block;position:absolute;bottom:19px;left:16px;background:#f5f5e9e8;border:1px solid #fff9;border-radius:5px;color:#183138;font-size:9px;padding:5px 8px;pointer-events:none;z-index:4}#sc-mondo[data-stage=giardino] .world-hotspot{width:100px;min-height:125px;border-width:2px;border-bottom-width:9px}#sc-mondo[data-stage=hall] .world-hotspot{width:96px;min-height:100px}#sc-mondo[data-stage=rampa] .world-hotspot{width:91px;min-height:90px}#sc-mondo[data-stage=aule] .world-hotspot{width:96px;min-height:106px}.explore-dock{margin:0;padding:19px 4px 0}.dock-label{font-size:9px;letter-spacing:.08em}#stage-progress{font-size:9px}.stop-list,.stop-list:has(>.stop-card:nth-child(3):last-child){grid-template-columns:1fr 1fr}.stop-card{min-height:105px;padding:15px 12px;border-bottom:1px solid var(--line)}.stop-card:nth-child(even){border-right:0}.stop-card:nth-last-child(-n+2){border-bottom:0}.stop-list:has(>.stop-card:nth-child(3):last-child) .stop-card:last-child{grid-column:1/-1;border-top:1px solid var(--line)}.stop-card-title{font-size:12px}.stop-card-status{font-size:9px}.stop-card-number{font-size:10px}.scene-controls{display:grid;grid-template-columns:auto 1fr;gap:12px;margin-top:16px}.previous-button{font-size:11px;min-height:45px}#stage-instruction{grid-column:1/-1;grid-row:2;text-align:left;font-size:10px;line-height:1.6;padding:0 2px}.next-button{justify-self:end;font-size:12px;padding:12px 15px;min-height:45px;white-space:normal}.journey-steps{justify-content:space-between;margin:24px 4px 0;padding-top:17px}.journey-step{flex-direction:column;gap:7px;padding:7px 5px;font-size:8px;flex:1}.journey-step+.journey-step:before{top:20px;width:20px}.journey-number{font-size:8px;width:24px;height:24px}.method-line{padding:18px 7px 28px;gap:12px;flex-wrap:wrap;justify-content:flex-start;font-size:11px}.method-mark{font-size:35px}.method-line small{font-size:9px}.method-line>button{margin-left:47px;font-size:10px;min-height:30px}.school-footer{padding:20px 18px;flex-wrap:wrap;font-size:9px;gap:14px}.school-footer>p{order:2;flex-basis:100%}.school-footer>a:last-child{margin-left:auto}#reading-body,#map-body{padding:27px 22px 23px}.reading-dialog h2,.map-dialog h2{font-size:25px}.reading-subtitle{font-size:15px}.reading-text{font-size:16px;line-height:1.85}.reading-reflection{padding:19px;font-size:15px}.dialog-top{padding:10px 17px}.reading-navigation{gap:12px}.reading-navigation button{font-size:11px}.map-stage{padding:13px 15px;gap:14px}.map-stage-copy strong{font-size:17px}}
@media(max-width:360px){.school-header{padding:13px 15px}.header-tools{gap:12px}.header-tools #theme-toggle{padding-left:11px}.header-tools #theme-toggle [data-theme-label]{display:none}.scene-caption{padding:22px 18px 19px}.scene-caption h1{font-size:31px}.scene-controls{gap:8px}.next-button{font-size:10px;padding:12px}.previous-button{font-size:10px}.stop-card{padding:13px 10px;gap:7px}.stop-card-title{font-size:11px}.stop-card-arrow{font-size:15px}.dock-heading{gap:8px}.journey-step{font-size:7px;padding-left:2px;padding-right:2px}.journey-step+.journey-step:before{width:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.stop-card-subtitle{display:block}
#sc-mondo[data-stage=strada] .world-hotspot:nth-child(2),#sc-mondo[data-stage=strada] .world-hotspot:nth-child(3){width:76px;min-height:119px;gap:6px;padding:8px 5px}
#sc-mondo[data-stage=strada] .world-hotspot:nth-child(2) .hotspot-title,#sc-mondo[data-stage=strada] .world-hotspot:nth-child(3) .hotspot-title{font-size:11px}
#sc-mondo[data-stage=hall] .world-hotspot{width:95px;min-height:125px;border:0;border-radius:0;box-shadow:none;background:#f7efdfeb}
#sc-mondo[data-stage=hall] .world-hotspot:nth-child(2){border-left:1px solid #b6bda8;border-right:1px solid #b6bda8}
@media(max-width:760px){.stop-card-subtitle{display:none}#sc-mondo[data-stage=strada] .world-hotspot:nth-child(2),#sc-mondo[data-stage=strada] .world-hotspot:nth-child(3){width:53px;min-height:91px;gap:4px}#sc-mondo[data-stage=strada] .world-hotspot:nth-child(2) .hotspot-title,#sc-mondo[data-stage=strada] .world-hotspot:nth-child(3) .hotspot-title{font-size:9px}#sc-mondo[data-stage=hall] .world-hotspot{width:66px;min-height:100px}.scene-controls .next-button{max-width:100%}}
.scene-frame>.scene-controls{position:absolute;z-index:5;bottom:16px;left:22px;right:22px;margin:0;padding:10px 14px;background:#f5f6f2e8;border:1px solid #ffffff9c;backdrop-filter:blur(12px);border-radius:8px;color:#183138}
.scene-frame>.scene-controls #stage-instruction{color:#50656a;font-size:10px;max-width:430px}
.scene-frame>.scene-controls .next-button{background:#0b6570;color:#fff}
.scene-corner{display:none}
@media(max-width:760px){.scene-frame>.scene-controls{position:relative;bottom:auto;left:auto;right:auto;background:var(--surface);border:0;border-top:1px solid var(--line);padding:13px 15px 15px;border-radius:0;color:var(--ink)}.scene-frame>.scene-controls #stage-instruction{color:var(--muted);font-size:10px}.scene-frame>.scene-controls .next-button{background:var(--teal);color:var(--on-teal)}.place-stamp{bottom:130px}.pan-hint{bottom:130px}}
#sc-mondo[data-stage=giardino] .world-art img{transform:none}
#sc-mondo[data-stage=giardino] .world-hotspot{width:100px;min-height:150px;border:0;border-radius:2px;background:#fbf5e7eb;box-shadow:none}
#sc-mondo[data-stage=giardino] .world-hotspot:before{display:none}
#sc-mondo[data-stage=giardino] .world-hotspot:nth-child(2){width:68px;min-height:111px;padding:8px 5px;gap:6px}
#sc-mondo[data-stage=giardino] .world-hotspot:nth-child(2) .hotspot-title{font-size:10px}
@media(max-width:760px){#sc-mondo[data-stage=giardino] .world-hotspot{width:63px;min-height:110px}#sc-mondo[data-stage=giardino] .world-hotspot:nth-child(2){width:47px;min-height:86px;gap:4px}#sc-mondo[data-stage=giardino] .world-hotspot:nth-child(2) .hotspot-title{font-size:8px}}

/* The explanation has its own opaque surface: it stays legible without hiding the world. */
.scene-frame:before{display:none}
.scene-caption{position:relative;top:auto;left:auto;max-width:none;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:46px;row-gap:16px;padding:28px 36px 32px;background:linear-gradient(115deg,var(--surface),var(--raised));color:var(--ink);border-left:5px solid var(--teal);border-bottom:1px solid var(--line);pointer-events:auto}
.scene-eyebrow{grid-column:1/-1;color:var(--teal);font-size:11px;letter-spacing:.13em;font-weight:600}
.scene-unit{font-size:10px}.caption-rule{background:var(--teal)}
.scene-caption h1{font-size:clamp(40px,3.7vw,58px);font-weight:600;letter-spacing:-.045em;line-height:1.1;max-width:760px;margin:0;text-wrap:balance}
.scene-caption>p:last-child{align-self:center;font-size:20px;font-weight:600;line-height:1.55;max-width:66ch;color:var(--ink)}
.place-stamp{top:auto;bottom:106px;right:25px;background:#f5f6f2f2;border-color:#fff;color:#183138}
.reading-dialog h2,.map-dialog h2{font-weight:600}
.reading-subtitle{font-size:19px;font-weight:600;color:var(--ink);line-height:1.6}

/* Sequential road lessons: one next point is highlighted; consulted points remain available. */
.world-hotspot.is-current-lesson{background:#fff7df;color:#173e41;outline:2px solid #bf881c;outline-offset:3px;box-shadow:0 0 0 8px #f4cb654d,0 0 34px 9px #efbd426b;animation:lesson-beacon 2.4s ease-in-out 2}
.world-hotspot.is-current-lesson:hover{background:#fffbed;box-shadow:0 0 0 9px #f4cb6570,0 0 34px 9px #efbd4280}
.world-hotspot.is-current-lesson .hotspot-title{font-weight:700}
.world-hotspot.is-locked{opacity:.5;filter:saturate(.4);box-shadow:none;cursor:default}
.world-hotspot.is-locked:after{content:"—";color:#52675e}
.world-hotspot.is-locked:hover{background:#fbf5e7e8;box-shadow:none}
.stop-card.is-current-lesson{background:var(--ochre-tint);box-shadow:inset 0 4px 0 var(--ochre)}
.stop-card.is-current-lesson .stop-card-title{font-weight:700}
.stop-card.is-current-lesson .stop-card-status{color:var(--ink)}
.stop-card.is-locked{opacity:.56;cursor:default}
.stop-card.is-locked:hover{background:transparent}
.stop-card.is-locked .stop-card-arrow{font-size:0}
.stop-card.is-locked .stop-card-arrow:after{content:"—";font-size:16px;color:var(--muted)}
.journey-step.is-locked,.journey-step:disabled{opacity:.55;cursor:default}
.journey-step.is-locked .journey-number{border-style:dashed}
.map-stage.is-locked,.map-stage:disabled{opacity:.6;cursor:default}
.scene-frame>.scene-controls .next-button:disabled{background:#e2e6de;color:#52615b;border:1px solid #bac7bc;box-shadow:none;filter:none;cursor:default}
#sc-mondo[data-theme=night] .scene-frame>.scene-controls .next-button:disabled{background:#33464f;color:#bacbce;border-color:#546b72}
@keyframes lesson-beacon{0%,100%{box-shadow:0 0 0 8px #f4cb654d,0 0 34px 9px #efbd426b}50%{box-shadow:0 0 0 13px #f4cb657d,0 0 48px 13px #efbd4299}}
@media(max-width:1100px){.scene-caption{padding:25px 27px 29px;column-gap:30px}.scene-caption h1{font-size:43px}.scene-caption>p:last-child{font-size:18px;max-width:none}}
@media(max-width:760px){.scene-caption{display:block;padding:24px 22px 25px;border-left-width:4px}.scene-caption h1{font-size:36px;max-width:560px;margin:14px 0 16px}.scene-caption>p:last-child{font-size:17px;font-weight:600;line-height:1.65;max-width:none;color:var(--ink)}.scene-eyebrow{font-size:10px}.scene-unit{font-size:9px}.place-stamp{bottom:130px;right:16px}.reading-subtitle{font-size:17px}.world-hotspot.is-current-lesson{outline-offset:2px}}
@media(max-width:360px){.scene-caption{padding:22px 17px 24px}.scene-caption h1{font-size:33px}.scene-caption>p:last-child{font-size:17px}}
@media(prefers-reduced-motion:reduce){.world-hotspot.is-current-lesson{animation:none}}

/* Keep the street figures' feet above the controls even when the panorama is cropped. */
.world-viewport{--scene-height:clamp(530px,calc(100svh - 305px),800px);height:var(--scene-height)}
#sc-mondo[data-stage=strada] .world-person{top:min(var(--y),calc(50% + var(--scene-height) / 2 - 100px))}
@media(max-width:1100px){.world-viewport{--scene-height:560px}}
@media(max-width:760px){.world-viewport{--scene-height:410px}#sc-mondo[data-stage=strada] .world-person{top:min(var(--y),calc(50% + var(--scene-height) / 2 - 30px))}}
@media(min-width:761px) and (max-width:1100px){.world-viewport{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#0b6570 #edf1e7}.world-plane{position:relative;left:0;top:50%;width:1040px;min-width:1040px;transform:translateY(-50%)}.pan-hint{display:block;position:absolute;bottom:106px;left:25px;z-index:4;background:#f5f5e9f2;color:#183138;border:1px solid #fff;border-radius:5px;padding:5px 8px;font-size:10px;pointer-events:none}}

/* Identificazione degli ambienti e delle lezioni, 2 novembre 2026. */
#course-name{font-size:16px;line-height:1.4;text-transform:none;letter-spacing:.01em}
.scene-eyebrow{flex-wrap:wrap}
.place-stamp{max-width:min(310px,65%)}
#unit-name{overflow-wrap:anywhere;text-align:right}
.hotspot-number{white-space:nowrap}
.stop-card-number{min-width:2.5em;white-space:nowrap}
#reading-course-name{font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.dialog-top>span{display:flex;align-items:center;gap:8px;min-width:0}
.lesson-pending{color:var(--muted);padding:20px 0}
@media(max-width:760px){#course-name{font-size:14px}.caption-rule{display:none}#stage-name{flex-basis:100%}#reading-course-name{font-size:12px}}
