:root{
  --black:#000;
  --white:#fff;
  --red:#8a0000;--map-green:#34cc67;
  --gold:#d4af37;
  --gold-soft:#eadb9d;
  --lock-ink:#202b32;
  --lock-face:#fff6dc;
  --safe-top:env(safe-area-inset-top,0px);
  --safe-right:env(safe-area-inset-right,0px);
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --safe-left:env(safe-area-inset-left,0px);
  --header-h:48px;
}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;background:#000;color:#111;font-family:Arial,Helvetica,sans-serif;overscroll-behavior:none}
html,body,#app{overflow:hidden}
button,a,input{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
.app-shell{position:fixed;inset:0;background:#000;isolation:isolate;display:flex;flex-direction:column;min-width:0;min-height:0}

.oracle-header{position:relative;z-index:80;flex:0 0 calc(var(--header-h) + var(--safe-top));width:100%;height:calc(var(--header-h) + var(--safe-top));padding:var(--safe-top) max(12px,var(--safe-right)) 0 max(12px,var(--safe-left));display:flex;align-items:center;justify-content:center;background:#000;border-bottom:1px solid rgba(212,175,55,.32)}
.oracle-brand{height:var(--header-h);display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
.oracle-orb{display:block;width:30px;height:30px;flex:0 0 30px;object-fit:contain;background:transparent}
.oracle-title{color:#fff;font-size:16px;font-weight:900;letter-spacing:.025em;line-height:1;white-space:nowrap}

.map-main{position:relative;z-index:1;flex:1 1 auto;min-width:0;min-height:0;width:100%;overflow:hidden;background:#050505}
.map-screen{position:absolute;inset:0;overflow:hidden;background:#050505}
.map-photo-bg{position:absolute;inset:-28px;background-position:center;background-size:cover;filter:blur(16px) saturate(.7);transform:scale(1.06);opacity:.52}
.map-photo-shade{position:absolute;inset:0;background:rgba(0,0,0,.70)}
.map-viewport{position:absolute;z-index:4;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;overscroll-behavior:contain;user-select:none;-webkit-user-select:none}
.map-stage{position:relative;display:inline-block;flex:0 0 auto;line-height:0;transform-origin:center center;will-change:width,height,transform;touch-action:none}
.map-stage img{display:block;width:auto;height:auto;max-width:calc(100vw - max(22px,var(--safe-left)) - max(22px,var(--safe-right)));max-height:calc(100dvh - var(--header-h) - var(--safe-top) - 4px);object-fit:contain;pointer-events:none;-webkit-user-drag:none;box-shadow:0 8px 28px rgba(0,0,0,.45)}
.map-stage.is-zoomed{cursor:grab}
.map-stage.is-zoomed:active{cursor:grabbing}
.map-marker{position:absolute;z-index:8;transform:translate(-50%,-50%);transform-origin:center;width:54px;height:54px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;font-size:16.8px;font-weight:900;line-height:1;box-shadow:none;display:flex;align-items:center;justify-content:center;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.map-marker>span:first-child{display:flex;align-items:center;justify-content:center;width:43.2px;height:43.2px;border:2px solid #fff;border-radius:50%;background:var(--map-green);color:#fff;box-shadow:0 4px 13px rgba(0,0,0,.5);pointer-events:none}
.map-marker.bonus>span:first-child{background:var(--map-green);border-color:#fff;color:#fff}
.map-marker.is-active>span:first-child{outline:3px solid var(--gold);outline-offset:2px}
.map-marker.is-loading>span:first-child{animation:markerPulse .7s ease-in-out infinite alternate}
.map-marker.is-locked>span:first-child{width:48px;height:48px;background:#168449;border-color:var(--lock-face);color:var(--lock-face);box-shadow:0 0 0 2px #fff,0 4px 13px #0009}
.oracle-solid-lock{position:relative;display:inline-flex;width:31px;height:33px;flex:0 0 31px;color:var(--lock-ink);pointer-events:none}
.oracle-solid-lock-shackle{position:absolute;top:1px;left:7px;width:17px;height:17px;border:3px solid currentColor;border-bottom:0;border-radius:9px 9px 0 0}
.oracle-solid-lock-body{position:absolute;left:3px;bottom:1px;width:25px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:4px;background:currentColor}
.oracle-solid-lock-number{color:var(--lock-ink);font-size:13px;font-weight:900;line-height:1;text-align:center}
.oracle-solid-lock-body:empty::after{content:'';width:4px;height:8px;border-radius:4px 4px 2px 2px;background:var(--lock-face)}
.map-marker.is-locked .oracle-solid-lock{color:var(--lock-face);transform:scale(.86);transform-origin:50% 2px;animation:oracleLockSwing 3.4s ease-in-out infinite}
.map-marker.is-locked:nth-child(2n) .oracle-solid-lock{animation-delay:-1.1s}
.map-marker.is-locked:nth-child(3n) .oracle-solid-lock{animation-delay:-2.3s}
@keyframes oracleLockSwing{0%,100%{transform:rotate(-7deg) scale(.86)}50%{transform:rotate(7deg) scale(.86)}}
@media(prefers-reduced-motion:reduce){.map-marker.is-locked .oracle-solid-lock{animation:none;transform:scale(.86)}}
.map-marker:focus-visible{outline:3px solid var(--gold);outline-offset:1px}
@keyframes markerPulse{from{transform:scale(1)}to{transform:scale(1.12)}}
.map-loading,.access-error{position:absolute;z-index:10;left:50%;top:50%;transform:translate(-50%,-50%);width:min(430px,calc(100% - 44px));padding:22px;border-radius:18px;background:rgba(0,0,0,.88);border:1px solid rgba(212,175,55,.55);color:#fff;text-align:center;line-height:1.45;box-shadow:0 16px 44px rgba(0,0,0,.5)}
.map-loading strong,.access-error strong{display:block;margin-bottom:7px;color:var(--gold-soft);font-size:18px}
.oracle-boot-loader{position:absolute;z-index:20;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:28px;background:#050505;color:#fff;text-align:center}
.oracle-boot-loader strong{color:var(--gold-soft);font-size:19px;line-height:1.25}
.oracle-boot-loader span{color:#d3d3d3;font-size:13px;line-height:1.45}
.map-image-loading{position:absolute;z-index:14;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:28px;background:#050505;color:#fff;text-align:center;transition:opacity .22s ease,visibility .22s ease}
.map-image-loading.is-ready{opacity:0;visibility:hidden;pointer-events:none}
.map-image-loading strong{color:var(--gold-soft);font-size:19px;line-height:1.25}
.map-image-loading span{color:#d3d3d3;font-size:13px;line-height:1.45}
.map-image-loading.has-error .oracle-loading-spinner{display:none}
.oracle-loading-spinner{width:46px;height:46px;margin-bottom:4px;border:4px solid rgba(212,175,55,.22);border-top-color:var(--gold);border-radius:50%;animation:oracleSpin .8s linear infinite}
@keyframes oracleSpin{to{transform:rotate(360deg)}}
.access-error a{display:inline-flex;margin-top:14px;min-height:44px;align-items:center;justify-content:center;padding:10px 16px;border-radius:12px;background:var(--red);color:#fff;font-weight:900;text-decoration:none}

.floating-menu-button{position:absolute;z-index:90;left:calc(12px + var(--safe-left));top:calc(var(--header-h) + var(--safe-top) + 10px);width:48px;height:48px;padding:0;border:1px solid var(--gold);border-radius:14px;background:rgba(0,0,0,.90);box-shadow:0 8px 22px rgba(0,0,0,.34);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.floating-menu-button span{display:block;width:21px;height:2px;border-radius:2px;background:var(--gold)}

.tour-top-controls{position:absolute;z-index:65;top:10px;left:calc(12px + var(--safe-left));right:calc(12px + var(--safe-right));display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:start;gap:8px;pointer-events:none}
.tour-top-menu-slot{width:48px;height:48px}
.route-switch{position:static;display:flex;align-items:center;justify-self:end;width:max-content;max-width:max-content;gap:4px;padding:4px;border-radius:12px;background:rgba(0,0,0,.88);border:1px solid rgba(212,175,55,.48);box-shadow:0 7px 20px rgba(0,0,0,.32);pointer-events:auto}
.route-switch button{min-width:54px;height:38px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#fff;font-size:12px;font-weight:900}
.route-switch button.is-active{background:var(--red);color:#fff}
.route-chip{position:static;align-self:start;justify-self:end;width:max-content;max-width:max-content;min-height:34px;padding:8px 11px;border-radius:999px;background:rgba(0,0,0,.82);border:1px solid rgba(212,175,55,.45);color:#fff;font-size:11px;font-weight:900;letter-spacing:.04em;white-space:nowrap;pointer-events:auto}
.landscape-tip{position:static;min-width:0;min-height:42px;display:none;align-items:center;justify-content:center;align-self:start;padding:6px 9px;border:1px solid rgba(212,175,55,.62);border-radius:10px;background:rgba(0,0,0,.88);color:#f2f2f2;box-shadow:0 7px 20px rgba(0,0,0,.28);font-size:14px;font-weight:800;line-height:1.25;letter-spacing:.01em;white-space:normal;text-align:center;overflow-wrap:anywhere;pointer-events:none}
@media (orientation:portrait){.landscape-tip{display:flex}}
@media (orientation:landscape){
  .tour-top-controls{grid-template-columns:48px minmax(0,1fr) max-content}
  .route-switch{justify-self:end;width:max-content;max-width:max-content;flex:none}
  .route-switch button{flex:0 0 auto}
}

.audio-launch{position:absolute;z-index:62;left:50%;bottom:calc(12px + var(--safe-bottom));transform:translateX(-50%);display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:0;border-radius:999px;background:var(--red);color:#fff;font-size:13px;font-weight:900;box-shadow:0 9px 25px rgba(0,0,0,.42);white-space:nowrap}
.audio-launch:disabled{background:#333;color:#bbb}
.audio-launch .play-icon{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;margin-right:8px;border-radius:50%;background:#fff;color:var(--red);font-size:12px}
.audio-dock{position:absolute;z-index:64;pointer-events:none;left:50%;bottom:calc(10px + var(--safe-bottom));transform:translateX(-50%);width:min(640px,calc(100vw - 150px));padding:8px 11px 7px;border-radius:16px;background:rgba(0,0,0,.94);border:1px solid rgba(212,175,55,.5);color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.46)}
.audio-dock button,.audio-dock input{pointer-events:auto}
.audio-dock-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.audio-now{min-width:0}.audio-now small{display:block;color:var(--gold-soft);font-size:9px;font-weight:900;letter-spacing:.07em}.audio-now strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;margin-top:2px}
.audio-controls{display:flex;align-items:center;gap:5px}.audio-controls button{width:38px;height:34px;border:0;border-radius:9px;background:#222;color:#fff;font-size:11px;font-weight:900}.audio-controls .audio-play{background:var(--red);font-size:14px}
.audio-range{width:100%;margin:7px 0 1px;accent-color:var(--red)}.audio-time{display:flex;justify-content:space-between;color:#aaa;font-size:9px}
.download-progress{position:absolute;z-index:61;left:50%;bottom:calc(68px + var(--safe-bottom));transform:translateX(-50%);width:min(420px,calc(100vw - 150px));padding:8px 12px;border-radius:12px;background:rgba(0,0,0,.86);color:#fff;text-align:center;font-size:11px;font-weight:800;border:1px solid rgba(212,175,55,.35)}
.download-progress i{display:block;width:100%;height:3px;margin-top:6px;border-radius:99px;background:linear-gradient(90deg,var(--red),var(--gold));animation:progressSlide 1.25s ease-in-out infinite alternate;transform-origin:left}
@keyframes progressSlide{from{transform:scaleX(.2)}to{transform:scaleX(1)}}

.first-use{position:absolute;z-index:72;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:0 20px calc(18px + var(--safe-bottom));background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.78) 78%,rgba(0,0,0,.94) 100%);pointer-events:none}
.first-use-card{width:min(630px,calc(100vw - 130px));padding:0 0 4px;text-align:center;color:#fff;pointer-events:auto}
.first-use-card .start-first{display:flex;width:100%;min-height:52px;align-items:center;justify-content:center;border:0;border-radius:15px;background:var(--red);color:#fff;font-size:15px;font-weight:900;box-shadow:0 10px 28px rgba(0,0,0,.45)}
.first-use-card p{margin:9px 34px 0;color:#fff;font-size:13px;font-weight:750;line-height:1.35;text-shadow:0 2px 6px #000}
.first-use-card .dismiss-first{margin-top:5px;padding:6px 10px;border:0;background:transparent;color:#ccc;font-size:11px;text-decoration:underline}

.side-drawer{position:absolute;z-index:120;top:0;bottom:0;left:0;width:min(390px,88vw);transform:translateX(-102%);transition:transform .3s cubic-bezier(.22,.8,.24,1);background:#fff;box-shadow:12px 0 38px rgba(0,0,0,.42);display:flex;flex-direction:column;padding-bottom:var(--safe-bottom);will-change:transform}
.side-drawer.is-open{transform:translateX(0)}
.drawer-backdrop{position:absolute;z-index:110;inset:0;background:rgba(0,0,0,.56);opacity:0;pointer-events:none;transition:opacity .3s ease}
.drawer-backdrop.is-open{opacity:1;pointer-events:auto}
.drawer-head{flex:0 0 auto;min-height:calc(54px + var(--safe-top));padding:var(--safe-top) 10px 0 12px;background:#000;color:#fff;display:flex;align-items:center;gap:10px;border-bottom:1px solid rgba(212,175,55,.4)}
.drawer-brand{height:54px;display:flex;align-items:center;gap:8px;min-width:0;flex:1}.drawer-brand img{width:30px;height:30px;object-fit:contain}.drawer-brand strong{font-size:15px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drawer-head>button{width:38px;height:38px;border:0;border-radius:11px;background:#171717;color:#fff;font-size:24px;line-height:1}
.drawer-content{flex:1 1 auto;min-height:0;overflow:auto;padding:11px 0 0;display:flex;flex-direction:column}
.drawer-item{flex:0 0 auto;width:100%;display:grid;grid-template-columns:36px minmax(0,1fr) 22px;align-items:center;gap:11px;padding:12px 16px;border:0;border-bottom:1px solid #ececec;background:#fff;color:#111;text-align:left}
.drawer-item.is-locked{grid-template-columns:36px minmax(0,1fr) 24px 22px}
.drawer-item:hover,.drawer-item:focus-visible{background:#faf7f7}
.drawer-icon{width:34px;height:34px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#fbf3f3;color:var(--red);border:1px solid rgba(138,0,0,.12)}
.drawer-icon .ui-icon-svg{width:19px;height:19px}
.menu-dot{width:9px;height:9px;border-radius:50%;background:var(--red)}
.drawer-item-copy strong{display:block;font-size:15px;line-height:1.18}.drawer-item-copy small{display:block;margin-top:4px;color:#666;font-size:11.5px;line-height:1.35;font-weight:600}.drawer-item.is-locked{grid-template-columns:36px minmax(0,1fr) 31px 22px;align-items:start}.drawer-item.is-locked>.oracle-solid-lock{justify-self:end;align-self:start;margin-top:0}.drawer-item.is-locked .drawer-icon{align-self:start;margin-top:0;color:#fff;background:var(--red);border-color:var(--red)}.drawer-item.is-locked .drawer-item-copy{padding-top:1px}.drawer-item.is-locked .chev{align-self:start;margin-top:4px}.chev{color:#777;font-size:20px;text-align:right}
.drawer-menu-visual{position:relative;flex:1 0 clamp(230px,42dvh,390px);min-height:230px;margin-top:auto;background-image:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.96) 8%,rgba(255,255,255,.74) 22%,rgba(255,255,255,.24) 42%,rgba(255,255,255,0) 62%),var(--drawer-photo);background-size:cover;background-position:center bottom;background-repeat:no-repeat}
.drawer-language{margin-top:12px;padding-top:8px;border-top:1px solid #ddd}
.drawer-upgrade-dock{flex:0 0 auto;padding:14px 14px 16px;background:#fff;border-top:1px solid #e8e8e8;box-shadow:0 -10px 22px rgba(0,0,0,.08)}
.drawer-upgrade{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;margin:0;padding:10px 13px;border:1px solid rgba(212,175,55,.78);border-radius:12px;background:#0b0b0b;color:var(--gold-soft);text-decoration:none;box-shadow:0 7px 18px rgba(0,0,0,.16)}.drawer-upgrade-copy{display:flex;min-width:0;flex-direction:column;gap:2px}.drawer-upgrade-copy small{color:#c8b875;font-size:9px;font-weight:900;letter-spacing:.075em;line-height:1.15;text-transform:uppercase}.drawer-upgrade-copy strong{color:#fff;font-size:13px;font-weight:900;line-height:1.25}.drawer-upgrade-arrow{flex:0 0 auto;color:var(--gold-soft);font-size:18px;font-weight:900}.drawer-upgrade:focus-visible,.drawer-upgrade:hover{background:#17120a;color:#fff}

.sheet-backdrop{position:absolute;z-index:150;inset:0;background:rgba(0,0,0,.62);display:flex;align-items:flex-end;justify-content:center;padding-top:54px;opacity:0;pointer-events:none;transition:opacity .3s ease}
.sheet-backdrop.is-open{opacity:1;pointer-events:auto}
.content-sheet{width:min(100%,760px);max-height:88dvh;background:#fff;border-radius:22px 22px 0 0;box-shadow:0 -16px 44px rgba(0,0,0,.42);overflow:hidden;padding-bottom:var(--safe-bottom);transform:translate3d(0,105%,0);transition:transform .3s cubic-bezier(.22,.8,.24,1);will-change:transform}
.sheet-backdrop.is-open .content-sheet{transform:translate3d(0,0,0)}
.sheet-handle{width:45px;height:4px;border-radius:999px;background:#c7c7c7;margin:9px auto 2px}.sheet-head{display:flex;align-items:center;gap:12px;padding:9px 17px 10px;border-bottom:1px solid #ececec}.sheet-head h2{flex:1;margin:0;font-size:21px;line-height:1.1}.sheet-head button{width:40px;height:40px;border:none;border-radius:12px;background:#f2f2f2;color:#111;font-size:25px}.sheet-body{overflow:auto;max-height:calc(88dvh - 72px);padding:17px 18px 26px}.sheet-body p{line-height:1.55;margin:0 0 14px}.sheet-hero{height:clamp(150px,28dvh,250px);margin:-17px -18px 16px;overflow:hidden;background:#111}.sheet-hero img{display:block;width:100%;height:100%;object-fit:cover}.sheet-hero-general img{object-position:center center}.sheet-hero-logistics img{object-position:center center}.knowledge-intro{margin:0 0 14px;padding:13px 14px;border-left:4px solid var(--gold);border-radius:0 12px 12px 0;background:#faf7ed;color:#222}.knowledge-intro strong{display:block;font-size:14px;line-height:1.4}.knowledge-intro span{display:block;margin-top:5px;color:#666;font-size:11.5px;line-height:1.45}.ui-icon-svg{display:block;width:20px;height:20px;flex:0 0 auto}.info-card{background:#fff;border:1px solid #e0e0e0;border-radius:15px;padding:15px 16px;margin-bottom:11px}.info-card-heading{display:flex;align-items:center;gap:10px;margin:0 0 8px}.info-card-icon{width:34px;height:34px;flex:0 0 34px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#fbf3f3;color:var(--red);border:1px solid rgba(138,0,0,.12)}.info-card-icon .ui-icon-svg{width:19px;height:19px}.info-card h3{font-size:16px;margin:0;line-height:1.25}.info-card p{margin:0;color:#3d3d3d;font-size:13.5px;line-height:1.55}.info-bullets{margin:10px 0 0;padding:0 0 0 19px;color:#333}.info-bullets li{margin:0 0 7px;padding-left:2px;font-size:12.5px;line-height:1.48}.info-bullets li::marker{color:var(--red)}.info-card.urgent{border-color:#c88;background:#fff8f8}.section-title{font-size:19px;font-weight:900;line-height:1.2;letter-spacing:.045em;text-transform:uppercase;color:var(--red);margin:20px 2px 10px}.section-title:first-child{margin-top:0}.link-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 2px;border-top:1px solid #e5e5e5;color:var(--red);font-weight:850;text-decoration:none}.call-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;margin-top:9px;padding:8px 13px;border:0;border-radius:11px;background:#000;color:#fff;font-weight:850;text-decoration:none}.call-link .ui-icon-svg{width:17px;height:17px}.logistics-access-code{margin-top:23px;padding:14px 0 2px;border-top:1px solid #e5e5e5;text-align:center}.logistics-access-code .drawer-access-code-link{width:auto;max-width:100%;margin:0 auto;padding:7px 12px}.checklist-group{margin-bottom:17px}.checklist-group h3{margin:0 0 9px;color:var(--red);font-size:19px;font-weight:900;line-height:1.2}.check-item{display:grid;grid-template-columns:25px 1fr;gap:9px;padding:11px 0;border-bottom:1px solid #eee}.check-item input{width:21px;height:21px;accent-color:var(--red)}.check-item strong{display:block;font-size:13px}.check-item span span{display:block;color:#666;font-size:11px;line-height:1.35;margin-top:2px}.check-progress{background:#000;color:#fff;border-radius:13px;padding:12px 14px;margin-bottom:15px}.check-progress strong{color:var(--gold-soft)}.check-track{height:4px;background:#333;border-radius:999px;margin-top:8px;overflow:hidden}.check-track i{display:block;height:100%;background:var(--red)}


.toast{position:fixed;z-index:500;left:50%;bottom:calc(18px + var(--safe-bottom));transform:translateX(-50%);max-width:calc(100vw - 32px);background:#000;color:#fff;border:1px solid rgba(212,175,55,.5);border-radius:12px;padding:10px 13px;font-size:12px;font-weight:700;box-shadow:0 8px 28px rgba(0,0,0,.42)}
.debug-panel{position:fixed;z-index:1200;right:8px;top:8px;width:min(330px,calc(100vw - 16px));max-height:calc(100dvh - 8px);overflow:auto;background:#fff;border:2px solid #000;border-radius:12px;padding:10px;box-shadow:0 10px 30px rgba(0,0,0,.3);font-size:12px}.debug-drag-handle{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-10px -10px 8px;padding:10px 11px;border-radius:10px 10px 0 0;background:#000;color:#fff;cursor:move;touch-action:none;user-select:none}.debug-drag-handle span{color:var(--gold-soft);font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.debug-panel label,.debug-panel button{display:block;width:100%;margin-top:7px}.debug-panel pre{white-space:pre-wrap;word-break:break-word}

@media (orientation:portrait) and (max-width:1000px){
  .sheet-backdrop{padding-top:calc(8px + var(--safe-top));align-items:flex-end}
  .content-sheet{width:100%;height:calc(100dvh - 8px - var(--safe-top));max-height:none;border-radius:20px 20px 0 0}
  .sheet-body{max-height:calc(100dvh - 82px - var(--safe-top) - var(--safe-bottom));padding:18px 18px 34px}
  .sheet-hero{margin:-18px -18px 16px;height:clamp(140px,29dvh,230px)}
  .sheet-head h2{font-size:22px}
  .info-card{padding:16px 16px;margin-bottom:12px}
  .info-card h3{font-size:16px}.info-card p{font-size:14px}.info-bullets li{font-size:13px}
}
@media (max-height:500px){
  :root{--header-h:44px}
  .oracle-orb{width:27px;height:27px;flex-basis:27px}.oracle-title{font-size:15px}
  .floating-menu-button{top:calc(var(--header-h) + var(--safe-top) + 7px);width:44px;height:44px}
  .map-stage img{max-height:calc(100dvh - var(--header-h) - var(--safe-top) - 2px)}
  .first-use-card .start-first{min-height:48px;font-size:14px}.first-use-card p{font-size:12px;margin-top:7px}
}
@media (prefers-reduced-motion:reduce){.side-drawer,.drawer-backdrop,.sheet-backdrop,.content-sheet,.map-stage,.map-image-loading{transition:none}.download-progress i,.oracle-loading-spinner,.map-marker.is-loading span{animation:none}}

/* Emergency recovery handoff. The emailed link stays in the browser only long
   enough to stage a secure first-party cookie. Redemption happens after the
   customer launches the installed standalone Oracle. */
body.recovery-mode .floating-menu-button,
body.recovery-mode .side-drawer,
body.recovery-mode .drawer-backdrop{display:none!important}
.recovery-screen{position:absolute;inset:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:calc(28px + var(--safe-top)) calc(18px + var(--safe-right)) calc(28px + var(--safe-bottom)) calc(18px + var(--safe-left));background:#000;color:#fff}
.recovery-screen .map-photo-bg{position:fixed;inset:0;background-size:cover;background-position:center;filter:saturate(.9)}
.recovery-shade{position:fixed;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.65),rgba(0,0,0,.88));backdrop-filter:blur(1.5px)}
.recovery-card{position:relative;z-index:2;width:min(540px,100%);padding:28px 24px 24px;border:1px solid rgba(212,175,55,.48);border-radius:20px;background:rgba(8,8,8,.88);box-shadow:0 24px 70px rgba(0,0,0,.55);text-align:center}
.recovery-card>img{width:68px;height:68px;object-fit:contain;margin:0 auto 13px;filter:drop-shadow(0 7px 18px rgba(212,175,55,.2))}
.recovery-card h1{margin:0;color:var(--gold-soft);font-size:clamp(24px,6vw,34px);line-height:1.08}
.free-install-card{width:min(570px,100%);padding:30px 26px}
.free-install-card h1{font-size:clamp(29px,7vw,42px)}
.free-install-card .recovery-body{font-size:clamp(15px,2.8vw,17px);line-height:1.55}
.free-install-eyebrow{margin:0 0 8px;color:var(--gold);font-size:12px;font-weight:900;letter-spacing:.15em}
.free-install-card .recovery-steps{margin-top:15px}
.free-install-card .recovery-steps p{font-size:14px;line-height:1.6}
.free-install-copy{min-height:44px;padding:10px 16px;border:1px solid var(--gold);border-radius:12px;background:#111;color:var(--gold-soft);font-size:13px;font-weight:850}
.free-install-desktop{margin:15px 0 8px;color:#fff;font-size:16px;font-weight:700}
.free-install-qr{width:min(220px,60vw);margin:0 auto 13px;padding:11px;border-radius:14px;background:#fff}
.free-install-qr svg{display:block;width:100%;height:auto}
.free-install-offline{margin:18px auto 0;max-width:460px;color:#e9dfcc;font-size:13px;line-height:1.55}
.free-install-existing{margin:8px auto 0;color:#c7c7c7;font-size:12px;line-height:1.4}
.free-install-languages{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px 13px;margin-top:20px;padding-top:15px;border-top:1px solid rgba(212,175,55,.32);font-size:12px}
.free-install-languages span{width:100%;color:#c9c0af}
.free-install-languages a{color:#e9dfcc;text-decoration:none;font-weight:750}
.free-install-languages a[aria-current="page"]{color:var(--gold-soft);text-decoration:underline;text-underline-offset:4px}
.recovery-body{margin:14px auto 16px;max-width:450px;color:#eee;font-size:14px;line-height:1.55}
.recovery-product{margin:15px auto 0;padding:10px 12px;max-width:380px;border-radius:12px;background:rgba(138,0,0,.28);border:1px solid rgba(138,0,0,.65)}
.recovery-product small{display:block;color:#ccc;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.recovery-product strong{display:block;margin-top:3px;color:#fff;font-size:14px}
.recovery-install-button{width:100%;min-height:54px;margin:4px 0 10px;border:1px solid #b99529;border-radius:14px;background:var(--red);color:#fff;font-size:15px;font-weight:950;letter-spacing:.02em;box-shadow:0 10px 28px rgba(0,0,0,.35)}
.recovery-install-button:disabled{opacity:.65}
.install-help[hidden]{display:none!important}
.install-help ol{margin:10px 0 0;padding-left:22px;color:#eee;font-size:14px;line-height:1.6}
.install-help li+li{margin-top:8px}
.install-status{margin:10px 0;color:var(--gold-soft);font-size:14px;line-height:1.5}
.install-browser-notice{margin:18px 0;padding:18px;border:1px solid var(--gold);border-radius:16px;background:#fff8e8;text-align:left;color:#241d13}
.install-browser-notice>strong{display:block;font-size:18px;line-height:1.35;color:#5f0000}
.install-browser-notice>p{margin:8px 0 14px;font-size:15px;line-height:1.55;color:#241d13}
.install-link-field{margin:15px 0 8px;text-align:left}
.install-link-field label{display:block;margin-bottom:8px;color:#e9dfcc;font-size:13px;font-weight:750;line-height:1.45}
.install-link-field input{box-sizing:border-box;width:100%;padding:14px;border:2px solid var(--gold);border-radius:10px;background:#fff;color:#241d13;font-size:16px;cursor:text}
.install-link-field input:focus{outline:3px solid var(--gold-soft);outline-offset:2px}
.install-link-field #regularBrowserCopyStatus{margin:6px 0 0;color:var(--gold-soft);font-size:13px;font-weight:850}
.install-link-field #regularBrowserCopyStatus:empty{display:none}
.recovery-screen>.recovery-card,.handoff-screen>.handoff-card{margin-block:auto;flex-shrink:0}
.recovery-shade,.recovery-screen .map-photo-bg{pointer-events:none}
.purchase-activation-help{margin:7px 0 12px;padding:14px;border-radius:13px;background:#151515;border:1px solid #333;text-align:left}
.purchase-activation-help>strong{display:block;color:var(--gold-soft);font-size:14px}.purchase-activation-help>p{margin:6px 0 12px;color:#eee;font-size:13px;line-height:1.55}
.purchase-icon-target{display:flex;align-items:center;gap:12px;padding:11px;border-radius:12px;background:#080808;border:1px solid rgba(212,175,55,.36)}
.purchase-icon-target img{width:58px;height:58px;flex:0 0 58px;object-fit:contain}.purchase-icon-target span{color:#fff;font-size:13px;font-weight:800;line-height:1.45}
.recovery-steps,.recovery-installed{margin:7px 0 12px;padding:14px;border-radius:13px;background:#151515;border:1px solid #333;text-align:left}
.recovery-steps strong{display:block;color:var(--gold-soft);font-size:14px}.recovery-steps p{margin:5px 0 0;color:#eee;font-size:13px;line-height:1.5}
.recovery-installed{text-align:center;color:var(--gold-soft);font-weight:850;line-height:1.45}
.install-success-overlay{position:fixed;z-index:1300;inset:0;display:grid;place-items:center;padding:calc(20px + var(--safe-top)) calc(18px + var(--safe-right)) calc(20px + var(--safe-bottom)) calc(18px + var(--safe-left));background:rgba(0,0,0,.78);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.install-success-card{width:min(480px,100%);max-height:100%;overflow:auto;padding:38px 25px 34px;border:2px solid var(--gold);border-radius:24px;background:#080808;box-shadow:0 26px 80px rgba(0,0,0,.72);text-align:center;color:#fff}
.install-success-card:focus{outline:none}
.install-success-card h1{margin:0 0 24px;color:var(--gold-soft);font-size:clamp(29px,8vw,40px);font-weight:900;line-height:1.1}
.install-success-card>img{display:block;width:116px;height:116px;object-fit:contain;margin:0 auto}
.recovery-existing{margin:14px 0 0;padding-top:14px;border-top:1px solid #333;color:#bbb;font-size:12px;line-height:1.5}
@media (orientation:portrait) and (max-width:700px){.recovery-screen{align-items:flex-start;padding-top:calc(20px + var(--safe-top))}.recovery-card{padding:23px 18px 20px;border-radius:18px}.recovery-card>img{width:58px;height:58px}.recovery-body{font-size:13.5px}}
@media (orientation:portrait) and (max-width:700px){.free-install-screen{padding-top:calc(20px + var(--safe-top))}.free-install-card{padding:23px 18px 20px}.free-install-card h1{font-size:clamp(29px,8vw,36px)}.free-install-card .recovery-body{font-size:15px}}
.recovery-code-box{margin:12px 0;padding:14px;border-radius:14px;background:#fff;color:#111;text-align:center}
.recovery-code-box small{display:block;color:#666;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.recovery-code-box strong{display:block;margin:5px 0 9px;font:900 24px/1.1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.08em;color:#000}
.recovery-code-box button{min-height:40px;padding:8px 14px;border:0;border-radius:10px;background:#000;color:#fff;font-size:11px;font-weight:900}
.recovery-code-box p{margin:9px 0 0;color:#555;font-size:11.5px;line-height:1.45}
.recovery-code-form{display:grid;gap:9px;margin:10px 0 4px}
.recovery-code-form input{width:100%;height:48px;padding:0 13px;border:1px solid #bbb;border-radius:11px;background:#fff;color:#111;font:800 18px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;text-align:center;text-transform:uppercase;box-sizing:border-box}
.recovery-code-form button{min-height:46px;border:0;border-radius:11px;background:#000;color:#fff;font-size:12px;font-weight:900}
.no-access-recovery{width:min(430px,100%);margin:18px auto 6px;padding-top:4px;border-top:1px solid rgba(255,255,255,.2)}
.access-error .no-access-recovery .section-title{color:var(--gold-soft);text-align:left}
.drawer-recovery-link{display:block;width:100%;margin:9px 0 0;padding:6px 4px;border:0;background:transparent;color:#666;font-size:10.5px;line-height:1.35;text-align:center;text-decoration:underline}
.drawer-recovery-link:hover,.drawer-recovery-link:focus-visible{color:#111}

/* Desktop purchase/recovery handoff to the customer's phone. */
body.handoff-mode .floating-menu-button,
body.handoff-mode .side-drawer,
body.handoff-mode .drawer-backdrop{display:none!important}
.handoff-screen{position:absolute;inset:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:calc(24px + var(--safe-top)) calc(18px + var(--safe-right)) calc(24px + var(--safe-bottom)) calc(18px + var(--safe-left));background:#000;color:#fff}
.handoff-screen .map-photo-bg{position:fixed;inset:0;background-size:cover;background-position:center;filter:saturate(.9)}
.handoff-card{position:relative;z-index:2;width:min(560px,100%);padding:26px 28px 24px;border:1px solid rgba(212,175,55,.5);border-radius:20px;background:rgba(8,8,8,.91);box-shadow:0 24px 70px rgba(0,0,0,.58);text-align:center}
.handoff-orb{display:block;width:62px;height:62px;object-fit:contain;margin:0 auto 10px;filter:drop-shadow(0 7px 18px rgba(212,175,55,.2))}
.handoff-card h1{margin:0;color:var(--gold-soft);font-size:clamp(25px,4vw,34px);line-height:1.08}
.handoff-body{margin:11px auto 13px;max-width:470px;color:#eee;font-size:14px;line-height:1.5}
.handoff-scan-label{margin:11px 0 7px;color:#d8c57b;font-size:10px;font-weight:950;letter-spacing:.12em}
.handoff-qr{width:min(245px,72vw);aspect-ratio:1;margin:0 auto 12px;padding:10px;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.38)}
.oracle-handoff-qr-svg{display:block;width:100%;height:100%}
.handoff-link-label{margin:4px 0 8px;color:#bbb;font-size:12px;line-height:1.4}
.handoff-open,.handoff-copy,.handoff-secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin:8px 0 0;padding:10px 14px;box-sizing:border-box;border-radius:11px;font-size:12px;font-weight:950;letter-spacing:.02em;text-decoration:none!important;cursor:pointer}
.handoff-open{border:1px solid #b99529;background:var(--red);color:#fff!important}
.handoff-copy{border:1px solid #444;background:#151515;color:#fff}
.handoff-secondary{border:0;background:transparent;color:#aaa;text-decoration:underline!important;text-underline-offset:3px}
.recovery-fallback{margin:14px 0 0;padding-top:12px;border-top:1px solid #333;text-align:left}
.recovery-fallback summary{color:#aaa;font-size:11.5px;line-height:1.4;cursor:pointer;text-align:center}
.recovery-fallback[open] summary{margin-bottom:8px;color:var(--gold-soft)}
.recovery-fallback .recovery-code-box{margin:0}
@media(max-width:700px){.handoff-screen{align-items:flex-start;padding-top:calc(18px + var(--safe-top))}.handoff-card{padding:22px 18px 20px;border-radius:18px}.handoff-qr{width:min(230px,72vw)}}

/* Release-hardening: explicit retry states for paid purchase verification and
   offline package preparation. */
.verification-error small{display:block;margin:10px auto 0;max-width:360px;color:#bbb;font-size:11px;line-height:1.45}
.access-retry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:15px;padding:10px 18px;border:1px solid #b99529;border-radius:11px;background:var(--red);color:#fff;font:900 12px/1.2 inherit;cursor:pointer}
.download-retry{position:absolute;z-index:62;left:50%;bottom:calc(68px + var(--safe-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:10px;width:min(520px,calc(100vw - 150px));padding:9px 11px;border:1px solid rgba(212,175,55,.48);border-radius:12px;background:rgba(0,0,0,.91);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.download-retry span{flex:1;font-size:10.5px;line-height:1.35;font-weight:750}
.download-retry button{flex:0 0 auto;min-height:36px;padding:7px 11px;border:1px solid #b99529;border-radius:9px;background:var(--red);color:#fff;font-size:10px;font-weight:950;cursor:pointer}
@media(max-width:700px){.download-retry{bottom:calc(62px + var(--safe-bottom));width:calc(100vw - 30px);flex-direction:column;gap:7px;text-align:center}.download-retry button{width:100%}}
.drawer-access-code-link{margin:14px auto 2px;width:calc(100% - 24px);font-size:10px;color:#777}

/* =========================================================
   v1.2.1 — secure group sharing + WhatsApp local-help actions
   ========================================================= */
.call-link.whatsapp-link{background:#25D366;color:#fff}
.call-link.whatsapp-link:hover,.call-link.whatsapp-link:focus-visible{background:#20bd5a;color:#fff}
.group-share-loading{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;color:#333}
.group-share-loading .oracle-loading-spinner{position:static;transform:none}
.group-share-loading strong{font-size:14px;line-height:1.4}
.group-share-unavailable{margin:6px 0 0;padding:22px 18px;border:1px solid #e2e2e2;border-radius:16px;background:#fafafa;text-align:center}
.group-share-unavailable .info-card-icon{margin:0 auto 12px}
.group-share-unavailable h3{margin:0 0 8px;font-size:18px;line-height:1.25}
.group-share-unavailable p{margin:0;color:#555;font-size:13px;line-height:1.55}
.group-share-panel{display:flex;flex-direction:column;align-items:center;text-align:center}
.group-share-intro{width:100%;box-sizing:border-box;text-align:left;margin-bottom:18px}
.group-share-qr{width:min(270px,78vw);aspect-ratio:1;background:#fff;border:1px solid #ddd;border-radius:18px;padding:13px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.group-share-qr svg{display:block;width:100%;height:100%}
.group-share-scan{margin-top:11px;color:#555;font-size:11px;font-weight:900;letter-spacing:.08em}
.group-share-remaining{margin:13px 0 17px;padding:8px 12px;border-radius:999px;background:#fbf3f3;color:#5d0000;font-size:12px;font-weight:800}
.group-share-remaining strong{font-size:15px;color:var(--red)}
.group-share-primary,.group-share-secondary{width:min(100%,360px);min-height:48px;border-radius:12px;font-weight:900}
.group-share-primary{display:flex;align-items:center;justify-content:center;gap:9px;border:0;background:var(--red);color:#fff}
.group-share-primary .ui-icon-svg{width:18px;height:18px}
.group-share-secondary{margin-top:9px;border:1px solid #d7d7d7;background:#fff;color:#111}
.group-share-primary:hover,.group-share-primary:focus-visible{background:#720000}
.group-share-secondary:hover,.group-share-secondary:focus-visible{background:#f7f7f7}

/* v1.2: map-first, edge-mounted player. Only device safe-area padding remains. */
.audio-dock{pointer-events:auto;bottom:0;width:min(600px,calc(100% - var(--safe-left) - var(--safe-right)));padding:0 8px var(--safe-bottom);border-radius:12px 12px 0 0;border-bottom:0;box-shadow:0 -3px 12px #0005}
.audio-dock-top{display:flex;gap:8px;min-height:48px}
.audio-dock .audio-play{flex:0 0 44px;width:44px;height:44px;border:0;border-radius:10px;background:var(--red);color:#fff;font-size:18px}
.player-toggle{min-width:0;flex:1;display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:48px;border:0;background:transparent;color:#fff;text-align:left;padding:2px 0}
.audio-now{flex:1;min-width:0}.audio-now strong{font-size:14px;margin:0}.audio-now small{font-size:12px;letter-spacing:0;font-weight:500}
#playerToggleLabel{font-size:12px;max-width:105px;color:var(--gold-soft)}
.player-details{padding:2px 0 6px}.player-details[hidden]{display:none}
.audio-controls{gap:8px;flex-wrap:wrap}.audio-controls button{width:auto;min-width:44px;min-height:44px;height:auto;padding:4px 8px;font-size:14px}
.audio-controls label{display:flex;align-items:center;gap:6px;font-size:12px}.audio-controls select{font-size:16px;min-height:44px;color:#fff;background:#222;border:1px solid #666;border-radius:6px}
.audio-range{display:block;margin:0;min-height:24px}.audio-time{font-size:12px}
.audio-dock button:focus-visible,.audio-dock select:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
.premium-map-screen{--map-player-reserve:calc(49px + var(--safe-bottom))}
.premium-map-screen .map-viewport{bottom:var(--map-player-reserve)}
.premium-map-screen .map-stage img{max-height:calc(100dvh - var(--header-h) - var(--safe-top) - var(--map-player-reserve) - 4px)}
.download-progress{bottom:calc(55px + var(--safe-bottom));font-size:13px}
.saved-button{min-height:44px;padding:8px 12px;margin:4px;border:1px solid #555;border-radius:8px;background:#111;color:#fff;font-size:16px}
@media(orientation:portrait) and (max-width:1000px){.audio-dock{z-index:85;width:100%;border-radius:0}.audio-controls #startFullTour{flex:1}}
@media(prefers-reduced-motion:reduce){.audio-dock{transition:none}}

/* v1.2.1: consistent visitor-information hierarchy; original imagery retained. */
:root{
  --info-page-title:1.625rem;
  --info-section-title:1.375rem;
  --info-card-title:1.125rem;
  --info-body:1rem;
  --info-note:.875rem;
  --info-ink:#202020;
  --info-muted:#555;
}
.drawer-item{min-height:60px;padding:14px 16px}
.drawer-item-copy strong{font-size:1.0625rem;font-weight:700;line-height:1.35}
.drawer-item-copy small{font-size:var(--info-note);font-weight:400;line-height:1.5;color:var(--info-muted)}
.drawer-upgrade-copy strong{font-size:var(--info-body);line-height:1.35}
.sheet-head{padding:14px 18px;align-items:flex-start}
.sheet-head h2{min-width:0;font-size:var(--info-page-title);font-weight:700;line-height:1.25;letter-spacing:-.02em;overflow-wrap:break-word}
.sheet-head button{flex:0 0 44px;width:44px;height:44px}
.content-sheet{display:flex;flex-direction:column;max-height:calc(100dvh - 54px)}
.sheet-handle,.sheet-head{flex-shrink:0}
.sheet-body{min-height:0;max-height:none;overflow-y:auto;font-size:var(--info-body);line-height:1.6;color:var(--info-ink);padding:18px 18px 30px;scroll-padding-block:18px;-webkit-overflow-scrolling:touch}
.sheet-body p{font-size:var(--info-body);line-height:1.6}
.sheet-hero{margin:-18px -18px 22px}
.knowledge-intro{padding:16px;margin-bottom:20px;border-radius:0 12px 12px 0}
.knowledge-intro strong{font-size:var(--info-body);font-weight:600;line-height:1.6;color:var(--info-ink)}
.knowledge-intro span{font-size:var(--info-note);font-weight:400;line-height:1.55;color:var(--info-muted);margin-top:8px}
.info-card{padding:18px;margin-bottom:14px;border-color:#dedbd5;border-radius:14px}
.info-card-heading{align-items:flex-start;gap:10px;margin-bottom:10px}
.info-card h3{font-size:var(--info-card-title);font-weight:700;line-height:1.35;padding-top:4px;color:var(--info-ink)}
.info-card p,.info-bullets li{font-size:var(--info-body);line-height:1.6;font-weight:400;color:#333}
.info-card p,.info-bullets,.knowledge-intro strong,.knowledge-intro span{max-width:65ch;overflow-wrap:break-word}
.info-bullets{padding-left:22px;margin-top:12px}.info-bullets li{margin-bottom:8px;padding-left:3px}
.section-title,.checklist-group h3{font-size:var(--info-section-title);font-weight:700;line-height:1.3;letter-spacing:-.01em;text-transform:none;color:var(--red);margin:28px 0 14px}
.checklist-group{margin-bottom:24px}.checklist-group:first-of-type h3{margin-top:0}
.check-item{grid-template-columns:24px minmax(0,1fr);gap:12px;min-height:52px;padding:14px 0;align-items:start}
.check-item input{width:22px;height:22px;margin:2px 0 0}
.check-item strong{font-size:var(--info-body);font-weight:600;line-height:1.45}
.check-item span span{font-size:var(--info-note);line-height:1.55;color:var(--info-muted);margin-top:5px}
.check-progress{font-size:var(--info-body);line-height:1.5;padding:14px 16px}
.link-row{min-height:48px;padding:15px 2px;font-size:var(--info-body);line-height:1.5;font-weight:600}
.link-row>span:first-child{min-width:0;overflow-wrap:break-word}
.call-link{min-height:44px;margin-top:14px;font-size:var(--info-body);font-weight:600;line-height:1.4;padding:10px 14px;white-space:normal}
.logistics-access-code .drawer-access-code-link{font-size:var(--info-note);line-height:1.5;min-height:44px;color:var(--info-muted)}
.sheet-body button:focus-visible,.sheet-body a:focus-visible,.check-item input:focus-visible{outline:2px solid var(--red);outline-offset:3px}
@media(orientation:portrait) and (max-width:1000px){
  .content-sheet{max-height:calc(100dvh - 8px - var(--safe-top))}
  .sheet-body{max-height:none;padding-bottom:34px}
}
@media(max-height:500px){
  .sheet-head{padding-block:10px}
  .sheet-hero{height:140px}
}


/* =========================================================
   v1.2.8 — Accessibility & Mobility visitor guide
   ========================================================= */
.drawer-item-feature{margin:12px 8px 8px;width:calc(100% - 16px);border:1px solid rgba(212,175,55,.72);border-radius:14px;background:linear-gradient(135deg,#fffaf0,#f8efe1);box-shadow:0 6px 18px rgba(0,0,0,.06)}
.drawer-item-feature .drawer-icon{color:#fff;background:var(--red);border-color:var(--red)}
.drawer-item-feature .drawer-item-copy strong{color:var(--red)}
.drawer-item-feature .drawer-item-copy small{color:#544b40}
/* v1.2.10 — header/body are separate layout blocks; accessibility card borders strengthened */
.content-sheet.accessibility-sheet{background:#fff}
.content-sheet.accessibility-sheet .sheet-head{background:#f6efe1;border-bottom-color:#ded2bd}
.content-sheet.accessibility-sheet .sheet-head button{background:#fffaf2;border:1px solid #dfd3bf}
.content-sheet.accessibility-sheet .sheet-body{background:#fff}
.accessibility-hero{display:flex;align-items:flex-start;gap:14px;margin:0 0 18px;padding:18px;border:1px solid #dedede;border-radius:16px;background:#fff}
.accessibility-hero-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 48px;border-radius:14px;background:var(--red);color:#fff}
.accessibility-hero-icon .ui-icon-svg{width:26px;height:26px}
.accessibility-hero strong{display:block;color:#211d19;font:700 1.2rem/1.3 Georgia,'Times New Roman',serif}
.accessibility-hero p{margin:6px 0 0!important;color:#5a534c!important;font-size:var(--info-note)!important;line-height:1.55!important}
.accessibility-map-preview{margin:0 0 12px;border:1px solid #d6c28a;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.07)}
.accessibility-map-preview img{display:block;width:100%;height:auto;aspect-ratio:1.46/1;object-fit:contain;background:#fff}
.accessibility-map-preview figcaption{display:block;padding:12px 14px;background:#211d19;color:#fff}
.accessibility-map-preview figcaption strong{display:block;color:var(--gold-soft);font-size:.78rem;line-height:1.35;text-transform:uppercase;letter-spacing:.06em}
.accessibility-map-preview figcaption span{display:block;margin-top:4px;color:#ddd;font-size:.78rem;line-height:1.45}
.accessibility-map-open{width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 22px;padding:12px 16px;border:1px solid #b98a27;border-radius:10px;background:var(--red);color:#fff;font-weight:900;letter-spacing:.02em}
.accessibility-map-open .ui-icon-svg{width:20px;height:20px}
.accessibility-map-open:focus-visible{outline:3px solid #211d19;outline-offset:3px}
.accessibility-jump-wrap{margin:0 0 16px;padding:15px 0 14px;border-top:1px solid #e4e4e4;border-bottom:1px solid #e4e4e4}
.accessibility-jump-wrap>strong{display:block;margin:0 0 10px;color:#444;font-size:.82rem;line-height:1.35}
.accessibility-jumps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}
.accessibility-jump{width:100%;min-height:52px;padding:10px 12px;border:0;border-radius:8px;color:#fff;font-size:.78rem;font-weight:850;line-height:1.25;text-align:center;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.accessibility-jump-mobility{background:#245b45}.accessibility-jump-seniors{background:#315b78}.accessibility-jump-families{background:#9a4e18}.accessibility-jump-finish{background:#5a506f}
.accessibility-jump:focus-visible{outline:3px solid #111;outline-offset:2px}
.accessibility-section{--section-color:#555;scroll-margin-top:16px;margin:0 -4px 22px;padding:15px 4px 4px;border-top:5px solid var(--section-color)}
.accessibility-section-mobility{--section-color:#3f7d61}.accessibility-section-seniors{--section-color:#4f7f9e}.accessibility-section-families{--section-color:#c56f2f}.accessibility-section-finish{--section-color:#776b91}
.accessibility-section .section-title{margin:0 2px 12px;color:var(--section-color);border-left:5px solid var(--section-color);padding-left:10px}
.accessibility-section .accessibility-card{border-width:3px;border-style:solid;border-color:color-mix(in srgb,var(--section-color) 62%,#dedede)}
.accessibility-section .accessibility-card:not(.accessibility-warning) .info-card-icon{color:var(--section-color);background:color-mix(in srgb,var(--section-color) 9%,#fff);border-color:color-mix(in srgb,var(--section-color) 28%,#fff)}
.accessibility-section .accessibility-card .info-bullets li::marker{color:var(--section-color)}
.accessibility-card.accessibility-warning{position:relative;border:3px solid #a40000;border-left-width:6px;background:#fff6f5;box-shadow:0 5px 14px rgba(130,0,0,.09);padding-top:17px}
.accessibility-urgent-label{display:inline-flex;align-items:center;justify-content:center;margin:0 0 10px;padding:5px 9px;border-radius:5px;background:#a40000;color:#fff;font-size:.72rem;font-weight:950;line-height:1;letter-spacing:.09em}
.accessibility-card.accessibility-warning .info-card-heading{align-items:center;margin-bottom:10px}
.accessibility-card.accessibility-warning .info-card-icon{width:46px;height:46px;flex-basis:46px;border-radius:12px;background:#a40000;color:#fff;border-color:#a40000}
.accessibility-card.accessibility-warning .info-card-icon .ui-icon-svg{width:26px;height:26px}
.accessibility-card.accessibility-warning h3{font-size:1.08rem;line-height:1.22;color:#790000}
.accessibility-card.accessibility-warning .info-bullets li::marker{color:#a40000}
.accessibility-link-stack{margin-top:12px}.accessibility-link-row:first-child{border-top:1px solid #e5e5e5}.accessibility-link-row{font-size:.9rem}

/* Full-screen accessibility map viewer. This intentionally does not reuse
   the audio-tour player or numbered stop controls. */
.accessibility-map-overlay{
  position:absolute;z-index:240;inset:0;background:#070707;color:#fff;
}
.accessibility-map-shell{position:absolute;inset:0;display:flex;flex-direction:column;background:#070707}
.accessibility-map-head{
  flex:0 0 auto;min-height:64px;padding:calc(10px + var(--safe-top)) max(12px,var(--safe-right)) 10px max(14px,var(--safe-left));
  display:flex;align-items:center;gap:12px;background:#171513;border-bottom:1px solid rgba(212,175,55,.42)
}
.accessibility-map-head>div{flex:1;min-width:0}
.accessibility-map-head strong{display:block;color:#fffaf2;font-size:1rem;line-height:1.25}
.accessibility-map-head span{display:block;margin-top:2px;color:#c9c1b5;font-size:.68rem;line-height:1.35}
.accessibility-map-head button{
  flex:0 0 44px;width:44px;height:44px;border:1px solid #5a5044;border-radius:12px;
  background:#25211d;color:#fff;font-size:28px;line-height:1
}
.accessibility-map-viewport{
  position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;
  overflow:hidden;touch-action:none;overscroll-behavior:contain;user-select:none;-webkit-user-select:none;background:#050505
}
.accessibility-map-stage{
  position:relative;display:inline-block;flex:0 0 auto;line-height:0;transform-origin:center center;
  will-change:width,height,transform;touch-action:none
}
.accessibility-map-stage img{
  display:block;width:auto;height:auto;max-width:calc(100vw - 12px);max-height:calc(100dvh - 160px);
  object-fit:contain;pointer-events:none;-webkit-user-drag:none;box-shadow:0 8px 30px rgba(0,0,0,.55)
}
.accessibility-map-stage.is-zoomed{cursor:grab}
.accessibility-map-loading{
  position:absolute;z-index:5;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  background:#050505;color:#fff;transition:opacity .2s ease,visibility .2s ease
}
.accessibility-map-loading.is-ready{opacity:0;visibility:hidden;pointer-events:none}
.accessibility-map-loading.has-error .oracle-loading-spinner{display:none}
.accessibility-map-toolbar{
  position:absolute;z-index:7;right:max(12px,var(--safe-right));bottom:calc(42px + var(--safe-bottom));
  display:flex;align-items:center;gap:6px;padding:6px;border:1px solid rgba(212,175,55,.55);
  border-radius:14px;background:rgba(10,10,10,.9);box-shadow:0 8px 26px rgba(0,0,0,.4)
}
.accessibility-map-toolbar button{
  min-width:44px;height:44px;padding:0 12px;border:1px solid #4a443c;border-radius:10px;
  background:#211d19;color:#fff;font-weight:900;font-size:18px
}
.accessibility-map-toolbar button[data-access-map-action="reset"]{font-size:11px;letter-spacing:.02em}
.accessibility-map-help{
  position:absolute;z-index:6;left:max(12px,var(--safe-left));bottom:calc(10px + var(--safe-bottom));
  max-width:min(62vw,420px);padding:7px 10px;border-radius:9px;background:rgba(0,0,0,.78);
  color:#eee;font-size:10px;line-height:1.35
}

@media(max-width:520px){
  .accessibility-hero{padding:15px;gap:11px}
  .accessibility-hero-icon{width:43px;height:43px;flex-basis:43px}
  .accessibility-map-toolbar{right:10px}
  .accessibility-map-help{left:10px;max-width:55vw}
}
@media(prefers-reduced-motion:reduce){
  .accessibility-map-loading{transition:none}
}

/* v1.2.8 — slimmer audio controls; speed selector removed */
.audio-dock .audio-play{display:flex;align-items:center;justify-content:center}
.audio-play-symbol{display:block;width:0;height:0;margin-left:3px;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:13px solid currentColor}
.audio-pause-symbol{display:flex;align-items:center;justify-content:center;gap:5px;width:18px;height:20px}
.audio-pause-symbol i{display:block;width:5px;height:18px;border-radius:1px;background:currentColor}
.player-details{padding:0 0 5px}
.audio-controls.audio-controls-compact{display:grid;grid-template-columns:42px minmax(90px,1fr) auto 42px 38px;align-items:center;gap:6px;flex-wrap:nowrap}
.audio-controls.audio-controls-compact button{width:100%;min-width:0;min-height:36px;height:36px;padding:3px 5px;border-radius:8px;font-size:12px}
.audio-controls.audio-controls-compact .audio-range{width:100%;min-width:0;min-height:20px;margin:0}
.audio-controls.audio-controls-compact .audio-time{display:flex;align-items:center;gap:3px;white-space:nowrap;font-size:10px;color:#ddd}
.audio-time-separator{opacity:.55}
.audio-controls .audio-restart{font-size:18px!important;line-height:1}
.audio-controls.audio-controls-compact:not(.has-restart){grid-template-columns:42px minmax(90px,1fr) auto 42px}
.audio-journey-note{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:2px 12px;margin-top:7px;padding:7px 2px 1px;border-top:1px solid rgba(212,175,55,.23);color:#dfd9cc;font-size:12px;line-height:1.35}
.audio-journey-note button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:2px 0;border:0;background:transparent;color:var(--gold-soft);font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.audio-journey-note button:hover{color:#fff}
.audio-journey-note button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
@media(max-width:430px){
  .audio-controls.audio-controls-compact{grid-template-columns:38px minmax(70px,1fr) auto 38px 34px;gap:4px}
  .audio-controls.audio-controls-compact:not(.has-restart){grid-template-columns:38px minmax(70px,1fr) auto 38px}
  .audio-controls.audio-controls-compact button{min-height:34px;height:34px;padding:2px 4px}
  .audio-controls.audio-controls-compact .audio-time{font-size:9px}
}


/* v1.2.13 — premium map uses the true available body height; production offline verification uses saved media */
/* v1.2.10 — explicit offline readiness check */
.offline-file-status{margin:0 0 12px;padding:14px 15px;border:1px solid #d8d8d8;border-radius:12px;background:#f7f7f7;color:#222}
.offline-file-status strong{display:block;font-size:16px;line-height:1.35}
.offline-file-status span{display:block;margin-top:5px;font-size:13px;line-height:1.5;color:#4e4e4e}
.offline-file-status.is-ready{border-color:#76a98d;background:#f2faf5}
.offline-file-status.is-ready strong{color:#17643e}
.offline-file-status.is-error{border-color:#c98c8c;background:#fff6f6}
.offline-file-status.is-error strong{color:#8a0000}
.offline-file-status.is-checking{border-color:#c9ad62;background:#fffaf0}
.offline-file-status.is-checking strong{color:#6b5315}
.offline-file-explainer{margin:0 0 12px;color:#555;font-size:13px;line-height:1.5}
.offline-file-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.offline-file-actions .saved-button{width:100%;margin:0}
.offline-file-actions .saved-button:disabled{opacity:.55;cursor:wait}
@media(max-width:520px){.offline-file-actions{grid-template-columns:1fr}}

/* v1.2.13 — integrated Path / Accessibility map toggle beside the audio player. */
.map-bottom-rail{
  position:absolute;
  z-index:66;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:min(668px,calc(100% - var(--safe-left) - var(--safe-right) - 12px));
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:8px;
  padding:0 0 var(--safe-bottom);
  pointer-events:none;
}
.map-bottom-rail .audio-dock{
  position:relative;
  left:auto;
  bottom:auto;
  transform:none;
  flex:1 1 auto;
  width:auto;
  max-width:600px;
  min-width:0;
  padding:0 8px 0;
  pointer-events:auto;
}
.map-mode-toggle{
  pointer-events:auto;
  flex:0 0 48px;
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid rgba(212,175,55,.75);
  border-radius:12px;
  background:rgba(0,0,0,.94);
  color:var(--gold-soft);
  box-shadow:0 -3px 12px #0005;
  -webkit-tap-highlight-color:transparent;
}
.map-mode-toggle .ui-icon-svg{width:25px;height:25px}
.map-mode-toggle:not(:disabled):hover,.map-mode-toggle:not(:disabled):focus-visible{background:#151515;color:#fff;border-color:var(--gold)}
.map-mode-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}
.map-mode-toggle.is-accessibility{background:#17643e;border-color:#d4af37;color:#fff}
.map-mode-toggle:disabled{opacity:.45;cursor:wait}
/* v1.3.7 — accessibility maps use the same visible numbered stop overlays
   as the regular path maps. Accessibility-specific coordinates are retained. */
.accessibility-map-mode .map-stage img{box-shadow:0 8px 28px rgba(0,0,0,.45)}
@media(orientation:portrait) and (max-width:1000px){
  .map-bottom-rail{width:calc(100% - var(--safe-left) - var(--safe-right) - 8px);gap:6px}
  .map-bottom-rail .audio-dock{width:auto}
  .map-mode-toggle{flex-basis:46px;width:46px;height:46px}
}



/* =========================================================
   v1.3.7 — in-app review flow
   ========================================================= */
.drawer-item-review-ready{
  position:relative;
  border-color:rgba(185,138,39,.78);
  background:linear-gradient(135deg,#fffaf0,#f7ecd8);
  box-shadow:0 0 0 0 rgba(185,138,39,.28);
  animation:review-menu-pulse 1.9s ease-in-out infinite;
}
.drawer-item-review-ready .drawer-icon{
  color:#fff;
  background:var(--red);
  border-color:var(--red);
}
.drawer-item-review-ready .drawer-item-copy strong{color:var(--red)}
@keyframes review-menu-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(185,138,39,.18)}
  50%{box-shadow:0 0 0 7px rgba(185,138,39,.10)}
}
.review-sheet .sheet-head{background:#fffaf2;border-bottom-color:#decda6}

.review-panel{max-width:640px;margin:0 auto;padding:2px 0 18px}
.review-intro{margin:0 0 20px;font:700 1.12rem/1.45 Georgia,'Times New Roman',serif;color:var(--info-ink)}
.review-rating-fieldset{margin:0 0 20px;padding:0;border:0}
.review-rating-fieldset legend,.review-field>span{display:block;margin:0 0 8px;color:#3f3933;font-size:.82rem;font-weight:800;line-height:1.35}
.review-adaptive-prompt{
  margin:-2px 0 16px;padding:12px 14px;border:1px solid #d8c79d;border-left:4px solid var(--gold);
  border-radius:10px;background:#fffaf2;color:#403a34;font-size:.9rem;font-weight:700;line-height:1.5;
}
.review-adaptive-prompt[hidden]{display:none}
.review-required{
  display:inline-block;margin-left:6px;padding:2px 6px;border-radius:6px;background:#f4e7e5;
  color:var(--red);font-size:.7rem;font-style:normal;font-weight:900;letter-spacing:.03em;text-transform:uppercase;
}
.review-stars{display:flex;gap:7px;align-items:center}
.review-star{
  width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;
  padding:0;border:1px solid #d7c59b;border-radius:10px;background:#fff;color:#b8aa8a;
  font-size:31px;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.review-star.is-selected{color:#b98a27;background:#fff8df;border-color:#b98a27}
.review-star:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.review-field{display:block;margin:0 0 17px}
.review-field textarea,.review-field input{
  display:block;width:100%;box-sizing:border-box;border:1px solid #cbc6bd;border-radius:10px;
  background:#fff;color:#211d19;font:500 16px/1.45 inherit;padding:12px 13px;
}
.review-field textarea{resize:vertical;min-height:132px}
.review-field textarea:focus,.review-field input:focus{outline:2px solid #b98a27;outline-offset:1px;border-color:#b98a27}
.review-publish{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;margin:2px 0 18px;color:#504a43;font-size:.86rem;line-height:1.5}
.review-publish input{width:20px;height:20px;margin:1px 0 0}
.review-error{min-height:20px;margin:0 0 8px;color:#8a0000;font-size:.8rem;font-weight:800}
.review-submit{
  width:100%;min-height:50px;padding:12px 16px;border:1px solid #b98a27;border-radius:10px;
  background:var(--red);color:#fff;font-weight:900;letter-spacing:.03em;cursor:pointer;
}
.review-submit:disabled{opacity:.7;cursor:wait}
.review-thanks{max-width:540px;margin:16px auto;padding:28px 22px;border:1px solid #d8c79d;border-radius:16px;background:#fffaf2;text-align:center}
.review-thanks-icon{display:flex;width:54px;height:54px;margin:0 auto 14px;align-items:center;justify-content:center;border-radius:50%;background:#238153;color:#fff}
.review-thanks-icon .ui-icon-svg{width:28px;height:28px}
.review-thanks strong{display:block;color:#211d19;font:700 1.12rem/1.45 Georgia,'Times New Roman',serif}
.review-share-panel{margin:22px -4px -4px;padding:20px 14px 4px;border-top:1px solid #e2d5b7;text-align:center}
.review-share-title{margin-bottom:7px!important;font-size:1.02rem!important}
.review-share-panel p{max-width:430px;margin:0 auto 16px;color:#5b534a;font-size:.9rem;line-height:1.5}
.review-share-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.review-share-button{min-width:0;min-height:72px;padding:9px 5px;border:1px solid #d8c79d;border-radius:12px;background:#fff;color:#332e29;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font:800 .72rem/1.15 inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.review-share-button svg{width:24px;height:24px;display:block;fill:currentColor}
.review-share-button:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.review-share-whatsapp{color:#168c47}
.review-share-facebook{color:#2851a3}
.review-share-instagram{color:#9d2f75}
.review-share-email{color:#8a0000}
.review-share-status{min-height:18px;margin:10px 0 0;color:#5b534a;font-size:.76rem;font-weight:700;line-height:1.35}
@media(max-width:420px){
  .review-star{width:44px;height:44px;font-size:28px}
  .review-stars{gap:5px}
  .review-share-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .review-share-button{min-height:64px}
}
@media(prefers-reduced-motion:reduce){
  .drawer-item-review-ready{animation:none}
}

/* =========================================================
   v1.3.3 — responsive tour orientation + accessibility icon consistency
   ========================================================= */
/* The Oracle now follows the device orientation instead of forcing landscape. */

/* In portrait, size the tour map by the available HEIGHT rather than by the
   narrow phone width. The map fills the screen vertically and may extend past
   the left/right edges; the existing map gesture layer allows horizontal pan. */
@media (orientation:portrait) and (max-width:1000px){
  .premium-map-screen .map-stage img{
    width:auto;
    height:calc(100dvh - var(--header-h) - var(--safe-top) - var(--map-player-reserve) - 4px);
    max-width:none;
    max-height:none;
  }
}

/* v1.3.3 — orientation guidance appears only in portrait and occupies
   its own centered header column, so it never sits beneath the route toggle. */
@media (max-width:560px){
  .tour-top-controls{gap:6px}
  .landscape-tip{font-size:14px;padding:7px 9px}
  .route-switch button{min-width:50px;padding:0 8px}
}
@media (max-width:390px){
  .landscape-tip{font-size:13px}
  .route-switch button{min-width:47px;padding:0 6px;font-size:11px}
}


/* v1.4.7 — exact uploaded PNG icons + grid-centered offer title */
.free-route-chip{display:flex;align-items:center;gap:5px;white-space:nowrap}.free-route-chip>span{color:var(--gold-soft);font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.free-route-toggle{background:rgba(0,0,0,.94);border-color:var(--gold-soft);color:var(--gold-soft);font-variant-numeric:tabular-nums}
.free-route-toggle:hover,.free-route-toggle:focus-visible{background:#151515!important;color:#fff!important}
.free-route-number{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:17px;font-weight:950;line-height:1;letter-spacing:-.03em}
/* Unlock offer: equal side columns keep the title centered independently of ×. */
.sheet-open .debug-panel{visibility:hidden}
.offer-sheet.sheet-backdrop{align-items:center;padding:max(12px,var(--safe-top)) max(12px,var(--safe-right)) max(12px,var(--safe-bottom)) max(12px,var(--safe-left));background:rgba(8,13,15,.76)}
.offer-sheet .content-sheet{width:min(100%,720px);height:auto;max-height:100%;padding-bottom:0;border:1px solid #e4d7bd;border-radius:24px;background:#fffdf8;box-shadow:0 24px 80px #0008}
.offer-sheet .sheet-handle{display:none}
.offer-sheet .sheet-head{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;padding:18px 16px;border-bottom:1px solid #d4af3766;background:#000}
.offer-sheet .sheet-head h2{grid-column:2;grid-row:1;text-align:center;font-size:clamp(20px,3.6vw,27px);line-height:1.2;color:var(--gold);letter-spacing:-.025em}
.offer-sheet .sheet-head button{grid-column:3;grid-row:1;background:#1c1c1c;border:1px solid #d4af3780;border-radius:50%;color:var(--gold-soft)}
.offer-sheet .sheet-head button:hover{background:#302a1c}
.offer-sheet .sheet-head button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.offer-sheet .sheet-body{padding:22px 24px 24px}
.purchase-offer{padding:0;text-align:center}
.purchase-offer-journey{display:flex;align-items:center;justify-content:center;gap:22px;margin:0 auto 16px}
.purchase-journey-image{display:block;width:68px;height:68px;object-fit:contain}
.purchase-journey-arrow{display:flex;align-items:center;justify-content:center;color:#8a713a}
.purchase-journey-arrow .ui-icon-svg{width:28px;height:28px}
.purchase-offer>p{max-width:540px;margin:0 auto 20px;color:#504a40;font-size:15px;line-height:1.6;font-weight:400}
.purchase-offer>.purchase-choice-label{margin-bottom:10px;color:#726249;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.purchase-tier-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.purchase-tier{width:100%;min-width:0;min-height:100px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;border:1px solid #ffffff24;border-radius:15px;text-decoration:none;text-align:left;font-family:inherit;color:#fff;box-shadow:0 5px 12px #25160618;transition:background .18s ease,box-shadow .18s ease}
.purchase-tier:only-child{grid-column:1/-1}
.purchase-tier-copy{display:block;min-width:0}
.purchase-tier strong{display:block;font-size:16px;line-height:1.35;color:#fff}
.purchase-tier b{display:flex;align-items:center;justify-content:center;width:90px;min-height:54px;padding-left:12px;border-left:1px solid #ffffff70;font-size:21px;font-weight:800;line-height:1.25;text-align:center;color:#fff}
.purchase-tier-primary{background:#8a0000}
.purchase-tier-secondary{background:#18513e}
.purchase-tier-primary:hover{background:#710000}
.purchase-tier-secondary:hover{background:#113e2e}
.purchase-tier:hover{box-shadow:0 7px 18px #25160630}
.purchase-tier:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.purchase-offer-meta{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:22px}
.purchase-guarantee{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;padding:17px 20px;border:1px solid #d1ae56;border-radius:16px;background:#fff;box-shadow:inset 0 1px 0 #fff;color:#49380f}
.purchase-guarantee-seal{display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;border-radius:50%;background:#49380f;color:#fff1c4}
.purchase-guarantee-seal .ui-icon-svg{width:29px;height:29px;stroke-width:1.8}
.purchase-guarantee strong{font-size:clamp(19px,3.8vw,24px);font-weight:800;line-height:1.2;text-align:left;letter-spacing:-.025em}
.purchase-secure{display:flex;align-items:center;justify-content:center;gap:7px;color:#655c4f;font-size:11px;line-height:1.45}
.purchase-secure .ui-icon-svg{width:15px;height:15px}
.map-marker.is-locked,.drawer-item.is-locked{cursor:pointer}
@media(max-width:560px){
  .offer-sheet .sheet-head{padding:16px 12px;gap:5px}
  .offer-sheet .sheet-body{padding:18px 16px 20px}
  .purchase-tier-stack{grid-template-columns:minmax(0,1fr);gap:10px}
  .purchase-tier{min-height:76px;padding:12px 16px}
  .purchase-tier b{width:94px;min-height:44px;font-size:20px}
  .purchase-offer>p{font-size:14px;margin-bottom:16px}
  .purchase-journey-image{width:56px;height:56px}
  .purchase-offer-journey{margin-bottom:12px;gap:18px}
  .purchase-offer-meta{margin-top:18px;gap:12px}
  .purchase-guarantee{padding:14px 12px;gap:12px}
}
@media(max-height:500px){
  .offer-sheet .sheet-head{padding-block:10px}
  .purchase-offer-journey{display:none}
}
@media(prefers-reduced-motion:reduce){.purchase-tier{transition:none}}

/* v1.4.11: keep the refund copy inside the existing white guarantee card. */
.purchase-guarantee-copy{min-width:0;text-align:left}
.purchase-guarantee-copy strong{display:block}
.purchase-guarantee-copy .purchase-refund{margin:7px 0 0;color:#484238;font-size:14px;font-weight:400;line-height:1.5}
