/* Trois Pas de Côté — shared styles for the WebGL trip pages (from the Ceillac page). */
:root{--veil:178,199,171;--ink:#344b40;--muted:#415244;--paper:#f4f3e9;--panel:rgba(247,247,237,.91);--line:rgba(61,79,61,.13);--accent:#6a0c06;--soft:rgba(208,216,189,.40);--shadow:rgba(31,52,40,.08)}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:13px;color:var(--ink);background:#b2c7ab;-webkit-font-smoothing:antialiased}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{color:inherit;border:0;background:none;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button:disabled{opacity:.55;cursor:wait}button:hover{color:var(--accent)}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-library{position:absolute;width:0;height:0;overflow:hidden}a{color:inherit}.topbar{position:absolute;z-index:5;top:0;left:0;right:0;padding:23px 30px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:560;font-size:15px;letter-spacing:-.45px}.brand-mark{width:31px;height:31px;stroke-width:1.25}.brand-period{color:var(--accent)}.home-back{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:10px;font-weight:560;letter-spacing:.05px;padding:9px 12px 9px 10px;border:1px solid var(--line);border-radius:999px;background:var(--panel);box-shadow:0 4px 16px var(--shadow);backdrop-filter:blur(10px);transition:transform .2s,box-shadow .2s,color .2s}.home-back:hover{transform:translateY(-1px);box-shadow:0 6px 18px var(--shadow);color:var(--accent)}.home-back svg{width:15px;height:15px}.top-right{display:flex;align-items:center;gap:15px}.edition{font-size:9px;letter-spacing:1.9px;margin-right:8px;opacity:.76}.icon-button{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:var(--panel);transition:background .2s,transform .2s,box-shadow .2s}.icon-button:hover{transform:translateY(-1px);box-shadow:0 4px 14px var(--shadow)}.icon-button svg{width:18px;height:18px}.icon-button.active,.icon-button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:transparent}
#sky,#stars,#vignette{position:absolute;inset:0;pointer-events:none}#sky{background:radial-gradient(ellipse at 73% 32%,#c2d3bb 0%,#b2c7ab 60%,#a8bea1 100%)}#stars{opacity:0;overflow:hidden}#stars i{position:absolute;width:2px;height:2px;border-radius:50%;background:#e4e8d9;animation:twinkle 4s infinite alternate}@keyframes twinkle{to{opacity:.25;transform:scale(.65)}}#vignette{background:linear-gradient(90deg,rgba(var(--veil),.95) 0,rgba(var(--veil),.88) 250px,rgba(var(--veil),.62) 330px,rgba(var(--veil),0) 470px);z-index:1}#scene{position:absolute;inset:0;width:100%;height:100%;outline:0;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}.sidebar{position:absolute;left:31px;top:116px;width:254px;z-index:3;pointer-events:none}.sidebar>*{pointer-events:auto}.eyebrow{font-size:9px;letter-spacing:1.65px;font-weight:650}.region{font-size:8px;letter-spacing:1.5px;color:var(--muted);display:flex;align-items:center;gap:6px}.small-dot{width:4px;height:4px;border-radius:50%;background:#748768}.sidebar h1{font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:73px;font-weight:400;letter-spacing:-2.6px;line-height:1;margin:14px 0 19px}.sidebar h1 span{color:var(--accent)}.intro{font-size:12px;line-height:1.8;letter-spacing:-.1px;margin:0 0 22px;opacity:.86}.small-rule{height:1px;width:33px;background:var(--ink);opacity:.24;margin-bottom:27px}.itinerary-heading{color:var(--muted);margin-bottom:13px;font-size:8px}.destinations{display:flex;flex-direction:column;gap:4px}.destination{display:flex;align-items:center;gap:13px;width:100%;padding:13px 12px 13px 10px;text-align:left;border-radius:7px;border:1px solid transparent;transition:background .2s}.destination.active{background:var(--soft)}.destination:hover{background:var(--soft)}.stop-num{font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:13px;color:var(--muted)}.stop-text{flex:1;display:flex;flex-direction:column;gap:4px}.stop-text strong{font-weight:600;font-size:11px}.stop-text small{font-size:9px;color:var(--muted)}.destination svg{width:14px;height:14px;opacity:.62}.route-mode{display:flex;background:rgba(149,163,135,.09);border:1px solid var(--line);padding:3px;gap:2px;border-radius:7px;margin-top:22px;width:240px}.route-mode button{font-size:9px;padding:8px 12px;flex:1;border-radius:4px;color:var(--muted)}.route-mode .selected{background:var(--panel);color:var(--ink);box-shadow:0 1px 4px var(--shadow)}.stats{display:flex;gap:40px;margin-top:23px;margin-bottom:16px}.stats>div{display:flex;flex-direction:column;gap:5px}.stats>div>span{font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:26px;line-height:1}.stats small{color:var(--muted);font-size:9px}.stats small span{opacity:.75}.route-note{font-size:9px;color:var(--muted);line-height:1.7;margin:16px 0 13px}.legend{display:flex;gap:18px;font-size:8px;color:var(--muted)}.legend>span{display:flex;align-items:center;gap:5px}.legend-line{width:15px;height:3px;border-radius:3px;display:block}.walked{background:#922b24}.future{background:#d2483a}.companion-card{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:18px;margin-top:25px}.companion-card img{height:49px;width:49px;border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,250,.5);filter:saturate(.75)}.companion-card>div{display:flex;flex-direction:column;gap:4px}.companion-card strong{font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-weight:400;font-size:18px;letter-spacing:-.5px}.companion-card>div>span{font-size:8px;color:var(--muted)}.companion-card button{text-align:left;padding:3px 0 0;font-size:9px;font-weight:550}.companion-card button span{margin-left:5px;color:var(--accent)}.data-badge{font-size:8px;color:var(--muted);display:flex;align-items:center;gap:6px;margin-top:23px;padding:0;text-align:left}.data-badge svg{width:11px;height:11px;opacity:.7}.status-dot{display:block;width:5px;height:5px;border-radius:50%;background:#af8a53}.data-badge.real .status-dot{background:#6b9061}.data-badge.loading .status-dot{animation:twinkle .65s infinite alternate}
.light-panel{position:absolute;top:108px;right:32px;width:218px;z-index:3;background:var(--panel);backdrop-filter:blur(10px);padding:14px 16px 11px;border:1px solid var(--line);border-radius:13px;box-shadow:0 7px 28px var(--shadow)}.light-heading{display:flex;align-items:center;gap:7px}.light-heading>svg{width:16px;height:16px}.light-heading>span{font-size:7px;letter-spacing:1.45px;flex:1}.light-heading output{font-size:13px;font-variant-numeric:tabular-nums;font-weight:500}.mini-button{display:flex;width:22px;height:22px;align-items:center;justify-content:center;padding:0}.mini-button svg{height:13px;width:13px}.mini-button[aria-pressed=true]{color:var(--accent)}.mini-button[aria-pressed=true] svg{animation:slowspin 15s linear infinite}@keyframes slowspin{to{transform:rotate(360deg)}}input[type=range]{appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}#timeSlider{display:block;width:100%;height:15px;margin:12px 0 3px}#timeSlider::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(90deg,#647185,#f0c599,#c7cc99,#e5b684,#637184)}#timeSlider::-moz-range-track{height:3px;border-radius:3px;background:linear-gradient(90deg,#647185,#f0c599,#c7cc99,#e5b684,#637184)}#timeSlider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:10px;height:10px;border:2px solid var(--paper);background:var(--ink);box-shadow:0 0 0 1px var(--ink);border-radius:50%;margin-top:-3.5px}#timeSlider::-moz-range-thumb{width:7px;height:7px;border:2px solid var(--paper);background:var(--ink);border-radius:50%}.time-presets{display:flex;justify-content:space-between}.time-presets button{font-size:8px;color:var(--muted);padding:3px 0}.time-presets button:hover{color:var(--accent)}.map-tools{position:absolute;right:33px;top:250px;display:flex;flex-direction:column;align-items:center;gap:10px;z-index:3}.tool-pair{background:var(--panel);border:1px solid var(--line);border-radius:20px;display:flex;flex-direction:column;box-shadow:0 5px 20px var(--shadow)}.tool-pair button{height:36px;width:37px;display:flex;align-items:center;justify-content:center}.tool-pair button+button{border-top:1px solid var(--line)}.tool-pair svg{width:16px;height:16px}.compass{display:flex;flex-direction:column;align-items:center;gap:2px;margin-bottom:6px}.compass span{font-size:8px;letter-spacing:.5px}.compass svg{height:24px;width:24px;stroke-width:.8;fill:var(--ink)}.scene-labels{pointer-events:none;position:absolute;inset:0;z-index:2;overflow:hidden}.map-label{position:absolute;display:flex;flex-direction:column;align-items:center;transform:translate(-50%,-100%);white-space:nowrap;will-change:left,top;transition:opacity .2s}.map-label span{background:rgba(247,247,235,.86);padding:7px 11px;border:1px solid rgba(100,110,90,.13);border-radius:5px;font-size:10px;font-weight:500;box-shadow:0 4px 12px rgba(32,58,44,.045);color:#3e5246}/* 2 October: one style for every hotspot, the one of the Ceillac label (the .lake class keeps no style of its own) */.map-label i{width:1px;height:16px;background:rgba(89,111,96,.48);position:relative}.map-label i:after{content:"";height:4px;width:4px;border:1px solid #f1f0de;background:#7c947a;border-radius:50%;position:absolute;bottom:-2px;left:-2px}
.player{position:absolute;bottom:43px;left:max(330px,calc(50% - 360px));right:102px;max-width:880px;margin-left:auto;margin-right:auto;z-index:4;background:var(--panel);border:1px solid rgba(139,151,122,.17);border-radius:17px;box-shadow:0 12px 45px rgba(40,61,43,.075);padding:16px 21px 13px;backdrop-filter:blur(16px)}.player-top{display:flex;align-items:center;gap:13px}.play-button{background:var(--ink);color:var(--paper);border-radius:24px;height:37px;padding:0 17px 0 13px;display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:10px;transition:background .2s}.play-button:hover{background:var(--accent);color:#fff4de}.play-button svg{width:16px;height:16px;stroke-width:1.8}.play-button use[href="#i-play"]{fill:currentColor;stroke-width:0}.sound-wave{display:inline-flex;align-items:center;gap:2px;height:14px;margin-left:1px;opacity:.82}.sound-wave i{display:block;width:2px;height:5px;border-radius:2px;background:currentColor;transform-origin:center}.sound-wave i:nth-child(2){height:9px}.sound-wave i:nth-child(3){height:6px}.play-button.audio-playing .sound-wave i{animation:soundPulse .72s ease-in-out infinite alternate}.play-button.audio-playing .sound-wave i:nth-child(2){animation-delay:-.22s}.play-button.audio-playing .sound-wave i:nth-child(3){animation-delay:-.44s}@keyframes soundPulse{from{transform:scaleY(.45);opacity:.55}to{transform:scaleY(1.35);opacity:1}}.player-reset{padding:4px;display:flex}.player-reset svg{width:16px;height:16px;color:var(--muted)}.current-stage{display:flex;flex-direction:column;gap:5px;padding-left:9px;border-left:1px solid var(--line);flex:1}.current-stage>span{font-size:6.5px;letter-spacing:1.3px;color:var(--muted)}.current-stage strong{font-size:10px;font-weight:500}.profile-wrap{height:62px;position:relative;margin-top:10px}.profile-wrap>svg{position:absolute;width:100%;height:38px;left:0;top:0;overflow:visible;stroke-linecap:round;stroke-linejoin:round}#progress{position:absolute;top:31px;left:-1px;width:calc(100% + 2px);height:13px;margin:0}#progress::-webkit-slider-runnable-track{height:2px;background:var(--line);border-radius:5px}#progress::-moz-range-track{height:2px;background:var(--line);border-radius:5px}#progress::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;border:3px solid var(--paper);background:var(--accent);box-shadow:0 0 0 1px var(--accent);border-radius:50%;margin-top:-5px}#progress::-moz-range-thumb{width:7px;height:7px;border:3px solid var(--paper);background:var(--accent);border-radius:50%;box-shadow:0 0 0 1px var(--accent)}.profile-milestones{position:absolute;top:47px;left:0;right:0;height:13px}.profile-milestones button{position:absolute;font-size:8px;color:var(--muted);padding:0;transform:translateX(-50%);white-space:nowrap}.profile-milestones button:first-child{left:0;transform:none}.profile-milestones button:last-child{right:0;transform:none}.player-bottom{display:flex;align-items:center;gap:8px;padding-top:6px;font-variant-numeric:tabular-nums}.distance-readout{flex:1;font-size:9px;color:var(--muted)}.distance-readout strong{color:var(--ink);font-size:12px;font-weight:500}.altitude-readout{display:flex;align-items:center;gap:5px;font-size:9px}.altitude-readout svg{height:13px;width:13px;opacity:.6}.altitude-readout strong{font-weight:500}.altitude-readout>span{color:var(--muted);font-size:7px;margin-left:1px}#percentage{font-size:9px;color:var(--muted);margin-left:13px;min-width:29px;text-align:right}.bottom-hint{position:absolute;bottom:16px;left:330px;right:100px;text-align:center;z-index:3;color:var(--muted);font-size:8px;letter-spacing:.1px;pointer-events:none}.mouse-icon{display:inline-block;vertical-align:-3px;width:8px;height:12px;border:1px solid currentColor;border-radius:4px;margin-right:7px;opacity:.6;position:relative}.mouse-icon:after{content:"";position:absolute;left:2px;top:2px;height:3px;border-left:1px solid currentColor}#toast{position:absolute;left:50%;bottom:244px;transform:translate(-50%,10px);background:var(--ink);color:var(--paper);font-size:11px;padding:12px 18px;border-radius:9px;z-index:20;max-width:470px;text-align:center;box-shadow:0 6px 20px rgba(0,0,0,.12);opacity:0;pointer-events:none;transition:.25s}#toast.show{opacity:1;transform:translate(-50%,0)}#loader{position:absolute;inset:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#b2c7ab;transition:opacity .6s;color:#344b40}#loader.gone{opacity:0;pointer-events:none}#loader>svg{width:48px;height:48px;stroke-width:1}#loader .loader-title{font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-weight:400;font-size:36px;line-height:normal;letter-spacing:-1px;margin:24px 0 5px;color:inherit}#loader .loader-title span{color:#6a0c06}#loader p{font-size:11px;color:#415244}.loader-line{position:relative;overflow:hidden;height:2px;width:120px;background:rgba(52,75,64,.18);margin-top:16px}.loader-line i{position:absolute;inset:0;background:#6a0c06;transform:scaleX(0);transform-origin:0 50%}#loader .loader-count{margin:4px 0 0;font-size:22px;font-weight:500;letter-spacing:-.3px;color:#344b40;font-variant-numeric:tabular-nums}#loader .loader-count small{margin-left:2px;font-size:12px;font-weight:600;color:#415244}#errorPanel{position:absolute;z-index:40;left:50%;top:50%;transform:translate(-50%,-50%);padding:35px;background:#f5f3e8;color:#344b40;max-width:520px;border:1px solid #bfc5b2;border-radius:20px}#errorPanel button{padding:10px 20px;background:#344b40;color:#fff;border-radius:6px}#errorPanel .error-title{font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-weight:400;font-size:1.5em;line-height:normal;margin:.83em 0}#errorPanel p{font-size:13px;line-height:1.7}
body.night .map-label span{background:rgba(32,50,55,.86);border-color:rgba(220,225,210,.2);color:#d2d9c9}body.night .map-label i{background:rgba(200,210,200,.55)}body.night .companion-card img{opacity:.8}
@media (max-height:850px) and (min-width:901px){.sidebar{top:101px}.sidebar h1{font-size:65px;margin-bottom:14px}.intro{margin-bottom:15px}.small-rule{margin-bottom:20px}.destination{padding:10px 9px}.route-mode{margin-top:15px}.stats{margin-top:18px}.companion-card{padding-top:13px;margin-top:16px}.data-badge{margin-top:17px}.route-note{margin-top:12px}.map-tools{top:222px;gap:8px}.light-panel{top:100px}}
@media (max-height:730px) and (min-width:901px){.sidebar{top:95px}.sidebar h1{font-size:59px;margin-top:11px;margin-bottom:12px}.intro{font-size:11px;line-height:1.6}.small-rule{margin-bottom:16px}.destination{padding:8px 9px}.route-mode{margin-top:13px}.stats{margin-top:15px}.stats>div>span{font-size:23px}.route-note{margin:10px 0}.companion-card{margin-top:15px;padding-top:11px}.companion-card img{width:39px;height:39px}.companion-card strong{font-size:16px}.data-badge{margin-top:15px}.light-panel{top:96px}.map-tools{top:216px;gap:7px}.map-tools>.icon-button{width:33px;height:33px}.compass{margin-bottom:2px}.player{bottom:38px;padding-top:13px;padding-bottom:10px}.bottom-hint{bottom:13px}.topbar{padding-top:18px}.player .current-stage{max-width:230px}.legend{display:none}}
@media (max-width:1100px) and (min-width:901px){.sidebar{width:227px;left:25px}.topbar{padding-left:25px}.route-mode{width:224px}.destination{gap:10px}.player{left:285px;right:86px;padding-left:17px;padding-right:17px}.player-top{gap:8px}.current-stage{padding-left:7px}.play-button{padding-right:12px;font-size:9px}.current-stage strong{font-size:9px}.bottom-hint{left:285px;right:86px}.light-panel{right:25px;width:200px}.map-tools{right:25px}.edition{font-size:8px}}
@media (max-width:900px){.topbar{padding:17px 19px}.brand{font-size:13px;gap:7px}.brand-mark{width:27px;height:27px}.home-back{font-size:9px;padding:8px 10px 8px 9px}.edition{display:none}.top-right{gap:8px}.topbar .icon-button{width:32px;height:32px}.sidebar{left:20px;top:86px;width:205px}.region{font-size:7px}.sidebar h1{font-size:58px;margin:10px 0 11px;letter-spacing:-2px}.intro{font-size:10px;line-height:1.6}.small-rule,.itinerary-heading,.stats,.route-note,.legend,.companion-card{display:none}.destinations{gap:3px}.destination{padding:8px 7px;width:195px;background:rgba(245,246,231,.5);border-color:rgba(93,110,87,.05)}.destination .stop-text strong{font-size:9px}.destination .stop-text small{display:none}.destination .stop-num{font-size:10px}.destination svg{width:12px;height:12px}.route-mode{width:195px;margin-top:10px}.route-mode button{font-size:8px;padding:6px}.data-badge{font-size:7px;max-width:200px;line-height:1.5;margin-top:13px}.data-badge svg{display:none}#vignette{background:linear-gradient(90deg,rgba(var(--veil),.5) 0%,rgba(var(--veil),0) 48%)}.light-panel{top:86px;right:19px;width:178px;padding:11px 12px}.light-heading>span{font-size:6px;letter-spacing:1px}.light-heading output{font-size:11px}.light-heading>svg{width:13px;height:13px}.time-presets button{font-size:7px}.map-tools{top:207px;right:20px;gap:8px}.map-tools .icon-button{width:33px;height:33px}.tool-pair button{width:32px;height:32px}.compass{display:none}.player{left:18px;right:18px;bottom:36px;padding:13px 16px 12px}.bottom-hint{left:10px;right:10px;font-size:7px;bottom:14px}.player-top{gap:10px}.player-reset{display:none}.play-button{font-size:9px;height:35px;padding:0 12px 0 9px}.current-stage{padding-left:9px}.current-stage strong{font-size:9px}.current-stage>span{font-size:6px;letter-spacing:.8px}.light-panel .mini-button{width:17px}.map-label span{font-size:9px}.map-tools #capture{display:none}#toast{bottom:218px;width:calc(100% - 40px);font-size:10px}dialog{padding:33px 25px}dialog h2{font-size:29px}}
@media (max-width:480px){.sidebar{top:79px;width:177px}.sidebar h1{font-size:53px}.intro{font-size:9px;margin-bottom:14px}.destinations,.route-mode{width:168px}.destination{width:168px;gap:8px;padding:7px}.stop-text strong{font-size:8.5px!important}.light-panel{width:151px;top:81px;right:16px;padding:10px}.light-heading{gap:4px}.light-heading>span{font-size:5.5px;letter-spacing:.5px}.light-heading output{font-size:11px}.light-panel>input{margin-top:9px!important}.map-tools{right:17px;top:196px}.map-tools .icon-button{width:31px;height:31px}.topbar{padding:17px}.top-right{gap:6px}.brand{font-size:12px}.home-back span{display:none}.home-back{width:34px;height:34px;padding:0;justify-content:center}.player{left:12px;right:12px;bottom:29px;padding:12px 13px 10px}.profile-wrap{height:60px;margin-top:9px}.current-stage strong{font-size:8px}.current-stage>span{font-size:5.5px;letter-spacing:.3px}.play-button{font-size:8px;gap:5px;padding:0 10px 0 8px;height:32px}.play-button svg{width:14px;height:14px}.player-top{gap:8px}.bottom-hint{font-size:6px;bottom:10px}.altitude-readout>span{font-size:6px}.data-badge{max-width:169px;font-size:6.5px}.map-label i{height:10px}.light-heading svg{height:12px;width:12px}.data-actions{flex-direction:column}.settings{gap:13px}.player-bottom{padding-top:3px}}
@media (prefers-reduced-motion:reduce){*{animation-duration:0s!important;transition-duration:0s!important}}

/* V4 interface simplifiee */
.light-presets{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;margin-top:12px}.light-presets button{padding:8px 7px;border:1px solid var(--line);border-radius:7px;background:rgba(255,255,255,.18);font-size:9px;color:var(--muted);transition:background .25s,color .25s,border-color .25s,transform .25s}.light-presets button:hover{color:var(--ink);transform:translateY(-1px)}.light-presets button.selected{background:var(--ink);color:var(--paper);border-color:var(--ink)}.blog-card img{object-fit:contain;background:rgba(255,255,255,.72);padding:5px;filter:none}.blog-link{font-size:9px;font-weight:550;text-decoration:none;padding-top:3px}.blog-link span{margin-left:5px;color:var(--accent)}.route-mode button{cursor:default}.route-mode button:hover{color:var(--ink)}

/* V5: V3-like light background + compact time selector in the header area */
.light-panel{top:18px;right:30px;width:238px;z-index:6;padding:9px 11px 8px;border-radius:12px;background:rgba(247,247,237,.88);box-shadow:0 4px 18px rgba(31,52,40,.06)}
.light-heading{gap:6px}.light-heading>span{font-size:6.5px;letter-spacing:1.25px}.light-heading output{font-size:11px}
.light-presets{margin-top:7px;gap:4px}.light-presets button{padding:6px 7px;font-size:8px}
@media (max-width:900px){.light-panel{top:14px;right:17px;width:196px;padding:8px 9px}.light-heading>span{display:none}.light-presets{margin-top:5px}.light-presets button{padding:5px 6px}}
@media (max-width:560px){.light-panel{width:170px;right:12px}.light-heading output{font-size:10px}.light-presets button{font-size:7px}}


/* V9: keep the light selector header legible in night mode */
body.night .light-panel,
body.night .light-heading,
body.night .light-heading>span,
body.night .light-heading>svg,
body.night .light-heading output {
  color: #334b40 !important;
}
body.night .light-panel {
  background: rgba(247,247,237,.94) !important;
  border-color: rgba(51,75,64,.14) !important;
}

/* V11: photo hotspots + gallery overlay */
.brand{gap:0;text-transform:none}.brand-period,.brand-mark{display:none!important}
.photo-map-layer{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}.photo-map-hotspot{position:absolute;width:38px;height:38px;padding:0;border:2px solid rgba(247,247,237,.96);border-radius:50%;overflow:hidden;background:var(--panel);box-shadow:0 5px 18px rgba(31,52,40,.22);transform:translate(-50%,-50%);pointer-events:auto;transition:opacity .2s,transform .2s,box-shadow .2s}.photo-map-hotspot:hover{transform:translate(-50%,-50%) scale(1.1);box-shadow:0 7px 22px rgba(31,52,40,.3)}.photo-map-hotspot img{width:100%;height:100%;object-fit:cover;display:block}.photo-map-hotspot::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}
.profile-photo-hotspots{position:absolute;left:0;right:0;top:19px;height:26px;pointer-events:none;z-index:3}.profile-photo-hotspot{position:absolute;top:0;width:22px;height:22px;padding:0;border-radius:50%;overflow:hidden;border:2px solid rgba(247,247,237,.96);background:var(--panel);box-shadow:0 2px 8px rgba(31,52,40,.2);transform:translateX(-50%);pointer-events:auto;transition:transform .18s,box-shadow .18s}.profile-photo-hotspot:hover{transform:translateX(-50%) scale(1.12);box-shadow:0 3px 11px rgba(31,52,40,.28)}.profile-photo-hotspot img{width:100%;height:100%;display:block;object-fit:cover}.profile-photo-hotspot[data-index="0"]{transform:translateX(0)}.profile-photo-hotspot[data-index="0"]:hover{transform:scale(1.12)}.profile-photo-hotspot[data-index="4"]{transform:translateX(-100%)}.profile-photo-hotspot[data-index="4"]:hover{transform:translateX(-100%) scale(1.12)}
.photo-overlay{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:38px;background:rgba(15,24,21,.78);backdrop-filter:blur(9px);opacity:0;visibility:hidden;transition:opacity .22s,visibility .22s}.photo-overlay.open{opacity:1;visibility:visible}.photo-dialog{position:relative;width:min(1080px,calc(100vw - 90px));max-height:calc(100vh - 76px);display:flex;flex-direction:column;align-items:center}.photo-frame{position:relative;width:100%;display:flex;align-items:center;justify-content:center}.photo-frame img{display:block;max-width:100%;max-height:calc(100vh - 150px);width:auto;height:auto;object-fit:contain;border-radius:3px;box-shadow:0 18px 70px rgba(0,0,0,.35);background:#111}.photo-caption{margin-top:13px;color:#f4f3e9;font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:18px;line-height:1.25;text-align:center}.photo-count{margin-top:5px;color:rgba(244,243,233,.62);font-size:9px;letter-spacing:1.2px}.photo-close,.photo-nav{position:absolute;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.28);background:rgba(21,31,27,.5);color:#fff;border-radius:50%;backdrop-filter:blur(8px)}.photo-close{right:0;top:-48px;width:38px;height:38px;font-size:25px;line-height:1}.photo-nav{top:50%;width:46px;height:46px;margin-top:-23px;font-size:28px}.photo-prev{left:-64px}.photo-next{right:-64px}.photo-close:hover,.photo-nav:hover{background:rgba(244,243,233,.94);color:#344b40}.photo-overlay button:focus-visible{outline-color:#fff}.photo-overlay[aria-hidden="true"]{pointer-events:none}
@media(max-width:900px){.photo-map-hotspot{width:32px;height:32px}.photo-overlay{padding:22px}.photo-dialog{width:calc(100vw - 44px)}.photo-prev{left:8px}.photo-next{right:8px}.photo-nav{background:rgba(21,31,27,.68)}.photo-close{right:0;top:-44px}.photo-caption{font-size:15px}.profile-photo-hotspot{width:20px;height:20px}}
@media(max-width:560px){.photo-map-hotspot{width:29px;height:29px}.profile-photo-hotspots{top:20px}.profile-photo-hotspot{width:18px;height:18px}.photo-overlay{padding:16px}.photo-dialog{width:calc(100vw - 32px)}.photo-frame img{max-height:calc(100vh - 135px)}.photo-nav{width:40px;height:40px;font-size:23px}.photo-caption{font-size:14px}}

/* Overlay buttons: SVG icons instead of text characters, so they sit exactly in the centre on every system font */
.photo-close svg{width:18px;height:18px;stroke-width:1.8}.photo-nav svg{width:22px;height:22px;stroke-width:1.8}

/* Photos: the same 3:2 ratio on every page (the ratio of the rum barrels photo, 666 x 444), at the size the screen allows.
   Photos in another ratio are cropped at display (centre) instead of being stretched. */
.photo-frame img{width:min(100%,calc((100vh - 150px) * 1.5));aspect-ratio:3/2;height:auto;object-fit:cover}

/* V6: loader title centred with side margins (long phrases wrap on phones) */
#loader{text-align:center;padding:0 24px}
/* V6: the itinerary eyebrow is the h2 of the page (SEO outline), same look as before */
h2.itinerary-heading{margin-top:0;text-transform:uppercase}

/* V8: Read button and story panel. The story (the text of the audio) is written in each page by tools/audio/story_html.py */
.read-button{display:flex;align-items:center;gap:7px;height:37px;padding:0 15px 0 12px;border:1px solid var(--line);border-radius:24px;font-size:10px;white-space:nowrap;transition:color .2s,background .2s,border-color .2s}
.read-button:hover{background:var(--soft);border-color:var(--accent)}
.read-button svg{width:16px;height:16px}
.story{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(31,52,40,.2);color:var(--ink);overflow:hidden;color-scheme:light}
body.night .story{color-scheme:dark}
.story[open]{display:flex;justify-content:flex-end;animation:storyFade .25s ease-out}
.story::backdrop{background:transparent}
.story-panel{position:relative;display:flex;width:min(560px,100%);height:100%;background:var(--paper);border-left:1px solid var(--line);box-shadow:-24px 0 70px rgba(31,52,40,.14);animation:storyIn .34s cubic-bezier(.2,.7,.2,1)}
.story-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:72px 58px 64px}
.story-scroll:focus{outline:none}
.story-close{position:absolute;top:20px;right:22px;z-index:1;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:var(--panel)}
.story-close svg{width:18px;height:18px}
.story-eyebrow{margin:0;text-transform:uppercase;color:var(--muted)}
.story h2{font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-weight:400;font-size:42px;line-height:1.06;letter-spacing:-1.6px;margin:14px 0 30px}
.story h2 span{color:var(--accent)}
.story-text p{font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16.5px;line-height:1.62;margin:0 0 .85em}
.story-text h3{font-family:"Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-weight:400;font-size:23px;line-height:1.2;letter-spacing:-.5px;margin:1.6em 0 .55em}   /* headings of the story (11 October) */
.story-text h3:first-child{margin-top:0}
.story-more{margin:34px 0 0;padding-top:18px;border-top:1px solid var(--line);font-size:10px;font-weight:550}
.story-more a{text-decoration:none}
.story-more a:hover{color:var(--accent)}
.story-more span{margin-left:5px;color:var(--accent)}
@keyframes storyFade{from{background:rgba(31,52,40,0)}}
@keyframes storyIn{from{transform:translateX(40px);opacity:0}}
@media (max-width:900px){.read-button{height:35px;font-size:9px;padding:0 11px 0 9px}.story-panel{width:100%;border-left:0}.story-scroll{padding:64px 26px 48px}.story h2{font-size:33px;letter-spacing:-1.2px;margin:12px 0 22px}.story-text p{font-size:15.5px}.story-text h3{font-size:20.5px;letter-spacing:-.4px}.story-close{top:14px;right:14px}}
@media (max-width:480px){.read-button{height:32px;font-size:8px;gap:5px;padding:0 9px 0 8px}.read-button svg{width:14px;height:14px}}

/* Phones (13 Oct): a lighter screen. No list of stages on the left (the milestones stay on the profile) and no stage title in the
   player; the start button runs from the left of the player to the "Read" button, taller. */
@media (max-width:700px){
.destinations,.current-stage{display:none}
.player-top{gap:8px}
.play-button{flex:1;justify-content:center;height:42px;font-size:11px;gap:8px;padding:0 14px}
.play-button svg{width:16px;height:16px}
.read-button{height:42px;font-size:10px;padding:0 14px 0 12px}
}
