/* Source artwork stays proportional. No selectors alter the location popup. */
/* The live workspace extends behind the transparent lower edge of the header. */
@media(min-width:821px){
  :root{--header-overlap:2.65vw}
}
.place-row{position:relative;flex:0 0 auto;width:100%}.place-favorite{position:absolute;right:8%;bottom:8%;z-index:5;width:24px;height:24px;border:0;border-radius:50%;color:#176140;background:#fff6ba;font-size:18px;line-height:1;padding:0;cursor:pointer}.place-favorite[aria-pressed=true]{color:#073f2d;background:#ffdc00}.item-visual.illustration{object-fit:contain;padding:7px;background:#dcebc8}.filter{isolation:isolate}
:root{--paper:#fffbea;--ink:#073f2d;--sun:#ffdc00;--sidebar-width:clamp(320px,25vw,396px)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body{background:#fffbea url('./web/paper.png');color:var(--ink)}
.app{min-height:560px}
.topbar{position:relative;display:block;width:100%;height:auto;aspect-ratio:1586/110;flex:0 0 auto;padding:0;border:0;background:transparent;z-index:700;isolation:isolate}
.topbar-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;z-index:-1}
.topbar .brand{position:absolute;left:.6%;top:10%;width:26%;height:77%;display:block;opacity:0}
.header-explore{position:absolute;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;text-decoration:none;cursor:pointer}
.header-explore{left:28.8%;top:11%;width:12.3%;height:65%}


.topbar-right{position:absolute;left:54.2%;right:25.2%;top:20%;height:45%;display:flex;justify-content:center;gap:9px}
.topbar .topnote{display:none}
.global-count{border:0;background:transparent;padding:0;font-size:10px;white-space:nowrap}.count-dot{display:none}
.home-link,.language-toggle{min-height:28px;height:30px;padding:0 7px;border:1px solid #073f2d;background:#fffbea;border-radius:5px;font-size:10px;box-shadow:2px 2px 0 #ffdc00}
.workspace{grid-template-columns:var(--sidebar-width) minmax(0,1fr);margin-top:-8px;isolation:isolate}
.sidebar{position:relative;display:flex;flex-direction:column;overflow:hidden;background:transparent;border:0;z-index:510;padding-top:7px;pointer-events:none}
.intro{padding:6px 13px 0;border:0;background:transparent;flex:none}
.intro-art{display:block;width:100%;height:auto;aspect-ratio:365/129}
.intro .eyebrow,.intro h1,.intro-copy,.topic-chip{display:none}
.sidebar-search{position:relative;margin:5px 13px 0;height:34px;flex:none;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.65);border-radius:10px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);pointer-events:auto}
.sidebar-search input{position:absolute;inset:0;width:100%;height:100%;border:0;outline:0;box-shadow:none;background:transparent;color:#073f2d;padding:0 14px;font-family:inherit;font-size:12px;line-height:1.4;border-radius:inherit}
.sidebar-search:focus-within{filter:drop-shadow(0 0 2px #009b4d)}
.list-head{padding:7px 17px 0;align-items:center;flex:none}.list-title{font-size:10px}.list-count{font-size:10px}.filters{padding:4px 12px 8px;gap:4px;flex:none;overflow-x:auto;align-items:center;scrollbar-width:thin}
.filter,.filter.active{position:relative;width:116px;height:54px;flex:0 0 116px;border:0;padding:8px 7px 11px;background:transparent url('./web/filter-frame.png') center/116px 54px no-repeat;color:#073f2d;border-radius:0;font-size:11px;font-weight:900;box-shadow:none;white-space:normal;line-height:1.2}
.filter::before{content:'';position:absolute;inset:7px 6px 9px;background:#fffbea url('./web/paper.png');z-index:-1;border-radius:7px}
.filter.active{background-image:url('./web/filter-frame-active.png');background-size:100% 100%}.filter.active::before{background:#ffdc00;bottom:10px}
.filter:hover{transform:translateY(-1px);filter:brightness(1.02)}
.place-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding:0 12px 8px;gap:9px;scrollbar-width:thin;scrollbar-color:#8da78d transparent}
.place-item,.place-item.active,.place-item:hover{position:relative;display:block;flex:none;width:100%;aspect-ratio:367/160;padding:0;border:0;border-radius:0;overflow:visible;color:#073f2d;background:transparent;box-shadow:none;transform:none;isolation:isolate;text-align:left}
.place-item::before{content:'';position:absolute;inset:0;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.7);border-radius:16px;box-shadow:0 5px 20px rgba(18,61,42,.08);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);z-index:-2;transition:background .18s,border-color .18s}
.place-item::after{content:none}
.place-item.active::before{background:rgba(255,255,255,.85);border-color:rgba(0,155,77,.65)}
.place-item:hover::before{background:rgba(255,255,255,.88)}
.item-visual{position:absolute;left:3.8%;top:8%;width:37%;height:84%;border-radius:9px;object-fit:cover;background:#d5e6c3}
.item-visual[hidden]{display:none}.item-photo-status{display:flex;align-items:center;justify-content:center;padding:10px;color:#526554;font-size:11px;text-align:center}
.item-number{position:absolute;left:27.3%;top:7.2%;width:11.6%;height:auto;aspect-ratio:1;border:3px solid #fffdf0;border-radius:50%;color:#fff;background:#008b49;font-size:clamp(12px,1.4vw,21px);font-weight:950;z-index:4}.place-item.active .item-number{color:#073f2d;background:#ffdc00}
.item-copy{position:absolute;left:44%;right:7%;top:12%;bottom:11%;display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0}.item-title{font-size:clamp(12px,1.05vw,16px);font-weight:950;line-height:1.25;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.item-meta{font-size:11px;line-height:1.5;white-space:normal;color:#526554;margin:0}.item-category{display:inline-block;align-self:flex-start;padding:2px 4px;background:#fff1a2;font-size:9px;font-weight:800;line-height:1.4;color:#164833}.item-arrow{position:absolute;right:3%;top:41%;color:#073f2d;font-size:27px;line-height:1;transform:none!important}.empty-places{padding:20px 12px;font-size:13px}
.sidebar-note{display:none}.sidebar-footer{display:block;width:100%;height:auto;aspect-ratio:393/101;object-fit:contain;flex:none;pointer-events:none}
.map-wrap{background:#dce3dc}.map-label{top:16px;left:18px;background:#fffbea url('./web/paper.png');border:2px solid #073f2d;border-radius:12px 8px 13px 7px;box-shadow:3px 3px 0 #ffdc00;backdrop-filter:none}.map-label-icon{background:#009b4d}.map-label strong{font-size:11px}
.token-button,.world-home{border:2px solid #073f2d;background:#fffbea url('./web/paper.png');box-shadow:2px 3px 0 #ffdc00;border-radius:8px 5px 9px 5px;backdrop-filter:none;font-size:10px;right:17px}.token-button{top:18px}.world-home{top:60px}
.map-legend{left:18px;bottom:34px;width:230px;aspect-ratio:400/139;padding:20px;display:flex;align-items:center;justify-content:center;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;isolation:isolate}.map-legend::before{content:'';position:absolute;inset:2px 3px;background:#fffbea url('./web/paper.png');border-radius:12px;z-index:-2}.map-legend::after{content:'';position:absolute;inset:0;background:url('./web/legend-frame.png') center/100% 100%;z-index:-1;pointer-events:none}.legend-item{font-size:12px}.legend-dot{background:#009b4d;box-shadow:0 0 0 3px #ffdc00}
.map-note{right:92px;bottom:12px;max-width:270px;background:#fffbea;color:#164833;backdrop-filter:none}.map-navigation{position:absolute;bottom:60px;right:17px;z-index:550;display:flex;flex-direction:column;gap:9px;align-items:center}.map-compass{width:67px;height:69px;border:0;border-radius:0;background:url('./web/compass.png') center/contain no-repeat;padding:0;cursor:pointer}.map-zoom{position:relative;width:58px;aspect-ratio:64/105;background:url('./transparent/zoom.png') center/contain no-repeat}.map-zoom button{position:absolute;left:0;width:100%;height:50%;padding:0;border:0;background:transparent;border-radius:0;cursor:pointer}.map-zoom button:first-child{top:0}.map-zoom button:last-child{bottom:0}.map-navigation button:hover{filter:drop-shadow(0 2px 2px #ffdc00)}
.cesium-viewer .cesium-viewer-toolbar{top:84px;left:18px}.cesium-viewer .cesium-geocoder-input{border:2px solid #164833;background:#fffbea;box-shadow:2px 2px 0 #ffdc00;border-radius:8px}.token-card{border:3px solid #164833;border-radius:14px;background:#fffbea url('./web/paper.png');box-shadow:7px 8px 0 #ffdc00}.token-submit{background:#009b4d}
:lang(en) .intro-art{display:none}:lang(en) .intro h1{display:block;margin:15px 0 12px;font-size:30px;font-weight:950;line-height:1.05}:lang(en) .filter{font-size:10px}
@media(min-width:1700px){.topbar-right{gap:14px}.global-count{font-size:12px}.home-link,.language-toggle{font-size:12px}.item-meta{font-size:12px}}
@media(max-width:1100px) and (min-width:821px){.global-count{display:none}.topbar-right{gap:6px}.home-link{font-size:8px;padding:0 4px}.language-toggle{min-width:30px;font-size:9px}.map-label{max-width:220px}.map-label span{font-size:8px}.token-button{top:81px}.world-home{top:122px}}
@media(max-width:820px){.app{min-height:650px}.topbar{height:70px;aspect-ratio:auto;background:#fffbea url('./web/paper.png')}.topbar-art{width:1010px;height:70px;max-width:none;object-fit:fill;left:0}.topbar .brand{width:264px;left:5px}.header-explore{display:none}.topbar-right{left:auto;right:10px;top:18px;height:32px}.home-link,.global-count{display:none}.language-toggle{height:32px;min-width:48px}.workspace{display:flex;flex-direction:column-reverse;margin-top:0}.map-wrap{flex:1 1 auto;min-height:300px}.sidebar{flex:0 0 270px;border-right:0;border-top:3px solid #164833;display:grid;grid-template-columns:230px minmax(0,1fr);grid-template-rows:90px 60px 44px 65px;gap:0;padding-top:0;overflow:hidden}.intro{grid-column:1;grid-row:1;padding:4px 10px}.intro-art{width:210px}.sidebar-search{grid-column:1;grid-row:2;margin:2px 8px;width:214px}.list-head{grid-column:1;grid-row:3;padding:0 12px}.filters{grid-column:1;grid-row:4;padding:0 7px}.place-list{grid-column:2;grid-row:1/5;padding:8px;display:flex;gap:8px}.place-item,.place-item.active,.place-item:hover{aspect-ratio:367/160;min-height:140px;max-height:160px;min-width:290px}.item-title{font-size:13px}.item-number{font-size:16px}.sidebar-footer{display:none}.map-label{top:12px;left:10px;padding:7px 8px}.map-label span{display:none}.token-button{right:10px;top:12px;font-size:8px}.world-home{right:10px;top:50px;font-size:8px}.cesium-viewer .cesium-viewer-toolbar{top:59px;left:10px}.map-navigation{bottom:37px;right:10px;gap:4px}.map-compass{width:48px;height:49px}.map-zoom{width:44px}.map-legend{width:170px;bottom:23px;left:10px;padding:12px}.legend-item{font-size:10px}.map-note{display:none}:lang(en) .intro h1{font-size:24px;margin:8px 0}}
@media(max-width:480px){.topbar{height:58px}.topbar-art{width:836px;height:58px}.topbar .brand{width:219px}.topbar-right{top:12px}.language-toggle{min-width:42px}.sidebar{flex-basis:255px;grid-template-columns:158px minmax(0,1fr);grid-template-rows:72px 42px 40px 90px}.intro-art{width:142px}.sidebar-search{width:145px}.sidebar-search input{font-size:9px}.filters{align-content:flex-start;align-items:flex-start;flex-wrap:wrap;overflow-y:auto;gap:2px}.filter,.filter.active{width:68px;height:36px;flex-basis:68px;background-size:100% 100%;font-size:8px;padding:4px 3px 7px}.filter::before{inset:5px 4px 7px}.item-meta{font-size:10px}.place-item,.place-item.active,.place-item:hover{min-width:280px}.map-label{max-width:170px}.map-label strong{font-size:9px}.map-label-icon{width:22px;height:22px}.cesium-viewer .cesium-geocoder-input{max-width:150px}:lang(en) .intro h1{font-size:19px}}
.item-arrow{width:19px;height:29px;font-size:0;background:transparent url('./transparent/list-arrow.svg') center/contain no-repeat}
.mobile-brand-art,.mobile-edge-art{display:none}
.filter,.filter.active{background-size:contain}
.filter.active{width:90px;flex-basis:90px}
@media(max-width:820px){.place-row{min-width:290px}.place-item{width:100%}}
@media(max-width:480px){.filter.active{width:60px;flex-basis:60px}.place-row{min-width:280px}}
@media(max-width:820px){.topbar-art{display:none}.mobile-brand-art{display:block;position:absolute;left:7px;top:8px;width:calc(100% - 142px);max-width:310px;height:auto}.mobile-edge-art{display:block;position:absolute;bottom:0;left:0;width:100%;height:auto;pointer-events:none}.topbar .brand{width:calc(100% - 142px);max-width:310px}.place-list{overflow-x:auto}.sidebar-search input{font-family:inherit}.filter.active{background-color:transparent}}

/* Match the transparent artwork: map pixels, rather than the page's paper,
   occupy the space beneath the irregular header rule. */
@media(min-width:821px){
  .workspace{margin-top:calc(-1 * var(--header-overlap))}
  .sidebar{padding-top:calc(var(--header-overlap) - 1px)}
  .map-label{top:calc(var(--header-overlap) + 8px)}
  .token-button{top:calc(var(--header-overlap) + 10px)}
  .world-home{top:calc(var(--header-overlap) + 52px)}
  .cesium-viewer .cesium-viewer-toolbar{top:calc(var(--header-overlap) + 76px)}
}
@media(min-width:821px) and (max-width:1100px){
  .token-button{top:calc(var(--header-overlap) + 73px)}
  .world-home{top:calc(var(--header-overlap) + 114px)}
}

/* Scalable header lettering and a vector contour avoid pixel-sized edges. */
.topbar-art,.mobile-brand-art{pointer-events:none;overflow:hidden}
@media(max-width:820px){
  .mobile-brand-art{width:calc(100% - 90px);max-width:310px;height:calc(100% - 12px);top:6px}
  .topbar .brand{width:calc(100% - 90px);max-width:310px}
}
.mobile-brand-art{object-fit:contain;object-position:left center}

/* Give the readable card the full map area while it is open on narrow screens.
   Closing the card restores the case list automatically. */
@media(max-width:820px){
  .app.has-location-popup .sidebar{display:none}
  .app.has-location-popup .map-wrap{flex:1 1 auto;min-height:0}
}
.map-wrap{overflow:clip}
.map-credits{position:absolute;z-index:600;left:0;bottom:0;max-width:calc(100% - 74px);padding:1px 4px;background:transparent;color:#164833;font:9px/1.4 Arial,sans-serif}
.map-credits a{color:inherit}

/* Clip overscan without creating a scrollable parent for focused controls. */
.app{overflow:clip}
.map-credits{width:calc(100% - 74px);max-width:none;min-height:20px;padding:0 4px}
.map-credits .cesium-widget-credits{position:static!important;display:flex;align-items:center;gap:4px;width:auto!important;background:transparent;font-size:8px;line-height:1.2}
.map-credits .cesium-credit-logoContainer{display:inline-flex;flex-shrink:0}
.map-credits .cesium-credit-textContainer{display:inline}

/* Live header stickers replace the baked banner; its lower edge fades into the map. */
:root{--header-overlap:24px}
.topbar{display:grid;grid-template-columns:minmax(300px,1.2fr) minmax(240px,1fr) auto;align-items:center;gap:22px;height:clamp(104px,7.5vw,144px);aspect-ratio:auto;padding:10px 22px 28px;border:0;background:transparent;isolation:isolate}
.topbar::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,#fffbea 0%,#fffbea 66%,rgba(255,251,234,.9) 78%,rgba(255,251,234,0) 100%)}
.topbar-brand{display:flex;align-items:center;gap:8px;min-width:0;text-decoration:none;color:#073f2d}
.header-bridge-sticker{display:block;width:clamp(100px,11vw,210px);height:auto;flex:none;transform:rotate(-4deg);filter:drop-shadow(2px 3px 1px #123d2a25)}
.header-brand-copy{display:flex;flex-direction:column;gap:3px;white-space:nowrap}
.header-brand-copy strong{font-size:clamp(22px,2.15vw,42px);font-weight:950;line-height:1.1;letter-spacing:-.04em}
.header-brand-copy small{font-size:clamp(8px,.85vw,16px);font-weight:900;letter-spacing:.025em}
.header-slogan-sticker{display:flex;align-items:center;justify-content:center;gap:10px;justify-self:center;max-width:100%;padding:9px 15px;color:#073f2d;background:#fffdf0;border:2px solid #073f2d;border-radius:9px 15px 8px 12px;outline:4px solid white;box-shadow:3px 5px 0 #123d2a20;transform:rotate(-3deg);font-family:KaiTi,STKaiti,serif;font-size:clamp(16px,1.4vw,27px);font-weight:900;white-space:nowrap}
.slogan-spark{color:#ffcc00;font-size:1.5em;line-height:1}.slogan-leaf{color:#009b4d;font-size:1.5em;line-height:1}
.topbar .topbar-right{position:static;display:flex;align-items:center;justify-content:flex-end;gap:12px;height:auto;min-width:0}
.topbar .global-count,.topbar .home-link,.topbar .language-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:34px;height:auto;padding:7px 10px;border:2px solid #073f2d;outline:3px solid white;border-radius:8px 5px 9px 6px;background:#fffdf0;color:#073f2d;box-shadow:2px 4px 0 #123d2a25;font-size:clamp(10px,.75vw,14px);font-weight:900;line-height:1.2;white-space:nowrap}
.topbar .global-count{transform:rotate(-3deg);background:#dcebc8}.topbar .home-link{transform:rotate(2deg);background:#ffdc00;gap:5px}.topbar .language-toggle{transform:rotate(-3deg);min-width:40px;cursor:pointer}
.topbar .home-link:hover,.topbar .language-toggle:hover{background:#fff1a2;filter:brightness(1.03)}
:lang(en) .header-brand-copy strong{font-size:clamp(17px,1.5vw,30px)}
:lang(en) .header-slogan-sticker{font-size:clamp(13px,1.05vw,20px)}
@media(min-width:821px) and (max-width:1150px){.topbar{grid-template-columns:minmax(260px,1fr) minmax(230px,1fr) auto;gap:14px;padding-left:12px;padding-right:12px}.header-bridge-sticker{width:95px}.topbar .topbar-right{gap:9px}.topbar .global-count,.topbar .home-link,.topbar .language-toggle{padding:6px;font-size:9px}.header-slogan-sticker{gap:5px;padding:7px 9px;font-size:16px}}
@media(max-width:820px){
  .topbar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:8px 12px;height:124px;padding:8px 13px 25px}
  .header-bridge-sticker{width:72px}.header-brand-copy strong{font-size:21px}.header-brand-copy small{font-size:8px}.topbar-brand{gap:6px}
  .header-slogan-sticker{grid-row:2;grid-column:1/-1;justify-self:center;padding:4px 13px;gap:8px;font-size:17px;transform:rotate(-2deg)}
  .topbar .topbar-right{grid-row:1;grid-column:2;gap:9px}.topbar .global-count{display:none}.topbar .home-link,.topbar .language-toggle{font-size:10px;min-height:30px;padding:5px 7px;min-width:32px}
  .workspace{margin-top:-20px}.map-label{top:30px}.token-button{top:30px}.world-home{top:68px}.cesium-viewer .cesium-viewer-toolbar{top:78px}
}
@media(max-width:480px){.header-bridge-sticker{width:58px}.header-brand-copy strong{font-size:17px}.header-brand-copy small{font-size:6px}.topbar{padding-left:9px;padding-right:9px;gap:7px}.topbar .home-link,.topbar .language-toggle{font-size:9px;padding:5px}.topbar .topbar-right{gap:7px}.header-slogan-sticker{font-size:16px}}
:lang(en) .intro-art{display:block;aspect-ratio:auto}
:lang(en) .intro h1{display:none}
@media(min-width:821px){
  .sidebar-footer{position:absolute;left:0;bottom:0;display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;transform:translateY(7.46%);z-index:6;pointer-events:none;user-select:none}
  .place-list{padding-bottom:58px}
}

/* Transparent forest navigation and a full-page map backdrop. */
:root{--header-overlap:0px;--nav-height:76px}
.app{position:relative;min-height:0}
.topbar{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;height:var(--nav-height);padding:12px 28px 12px 12px;background:transparent;pointer-events:none}
.topbar::before{content:none}
.topbar-brand{gap:8px;padding:6px 14px;border:0;border-radius:999px;background:rgba(250,245,233,.65);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#123d2a;pointer-events:auto}
.header-bridge-sticker{width:60px;transform:none;filter:none}
.header-brand-copy strong{font-size:24px;font-weight:650;letter-spacing:-.035em}
.header-brand-copy small{font-size:8px;font-weight:500;letter-spacing:.1em}
.topbar .topbar-right{position:static;gap:10px;pointer-events:auto}
.topbar .home-link,.topbar .language-toggle{display:inline-flex;gap:8px;min-height:36px;padding:8px 18px;border:1px solid rgba(18,61,42,.18);outline:0;border-radius:999px;color:#123d2a;background:rgba(250,245,233,.65);box-shadow:none;transform:none;font-size:11px;font-weight:500;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:background .18s,border-color .18s}
.topbar .language-toggle{min-width:48px;padding-inline:14px;border-color:transparent;background:rgba(18,61,42,.92);color:#fffbea}
.topbar-brand,.topbar .home-link{background:rgba(250,245,233,.35);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.topbar-brand:hover,.topbar .home-link:hover{background:rgba(250,245,233,.45);border-color:rgba(18,61,42,.4)}
.topbar .language-toggle:hover{background:#1e5139;transform:none;filter:none}
.topbar a:focus-visible,.topbar button:focus-visible{outline:2px solid #009b4d;outline-offset:4px}
.workspace{position:relative;display:block;margin-top:0;flex:1;min-height:0}
.map-wrap{position:absolute;inset:0;background:#e6f0e3}
.map-view-distance{padding:5px 9px;border:1px solid rgba(18,61,42,.18);border-radius:999px;background:#fffbea;color:#123d2a;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}
.sidebar{position:absolute;left:0;top:var(--nav-height);bottom:0;width:var(--sidebar-width);z-index:600;padding-top:0}
.map-label{top:calc(var(--nav-height) + 12px);left:calc(var(--sidebar-width) + 18px)}
.map-legend{left:calc(var(--sidebar-width) + 18px)}
.token-button{top:calc(var(--nav-height) + 12px)}
.world-home{top:calc(var(--nav-height) + 54px)}
.cesium-viewer .cesium-viewer-toolbar{top:calc(var(--nav-height) + 82px);left:calc(var(--sidebar-width) + 18px)}
:lang(en) .header-brand-copy strong{font-size:22px}
@media(min-width:821px) and (max-width:1100px){.token-button{top:calc(var(--nav-height) + 74px)}.world-home{top:calc(var(--nav-height) + 116px)}}
@media(max-width:820px){
  :root{--nav-height:68px}
  .topbar{grid-template-rows:none;padding:10px 16px 10px 8px;gap:12px}
  .header-bridge-sticker{width:48px}.header-brand-copy strong{font-size:20px}.header-brand-copy small{font-size:7px;letter-spacing:.04em}
  .topbar .topbar-right{gap:8px}.topbar .home-link,.topbar .language-toggle{min-height:34px;padding:7px 12px;font-size:10px}
  .sidebar{top:auto;bottom:0;width:100%;height:270px;padding-top:0}
  .map-label,.map-legend{left:10px}.map-legend{bottom:293px}.map-navigation{bottom:307px}.cesium-viewer .cesium-viewer-toolbar{left:10px}
}
@media(max-width:480px){
  .topbar{padding-inline:8px 10px;gap:8px}.header-bridge-sticker{width:38px}.header-brand-copy strong{font-size:17px}.header-brand-copy small{font-size:6px}
  .topbar-brand{padding:6px 10px}
  :lang(en) .header-brand-copy strong{font-size:14px}
  .topbar .topbar-right{gap:6px}.topbar .home-link,.topbar .language-toggle{padding-inline:10px;font-size:9px}.topbar .language-toggle{min-width:36px}
  .sidebar{height:255px}.map-legend{bottom:278px}.map-navigation{bottom:292px}
}

/* Individual controls float over the map; the sidebar itself has no surface. */
.sidebar{background:transparent;border:0;box-shadow:none}
.sidebar .intro,.sidebar .list-head,.sidebar .filters,.sidebar .place-list{background:transparent}
.floating-heading{margin:8px 0 12px;max-width:290px;color:#123d2a;font-size:clamp(23px,2.2vw,34px);font-weight:650;line-height:1.25;letter-spacing:-.04em;text-wrap:balance;-webkit-text-stroke:3px white;paint-order:stroke fill;text-shadow:0 1px 8px rgba(255,255,255,.7)}
.sidebar .intro h1{display:none}
.list-head{color:#123d2a;text-shadow:0 1px 5px rgba(255,255,255,.85)}
.filters,.place-list{pointer-events:auto}
.sidebar-footer{display:none}
.place-list{padding-bottom:16px}
.map-wrap::before{display:none}
@media(max-width:820px){.floating-heading{margin:5px 0;font-size:24px;max-width:210px}}
@media(max-width:480px){.floating-heading{font-size:19px;max-width:142px}}

/* The all-places filter stays pinned while arrows page through other categories. */
@media(min-width:821px){
  .sidebar{border-right:0}
  .map-wrap::before{content:none}
}
.filters{display:grid;grid-template-columns:100px 24px minmax(0,1fr) 24px;align-items:center;gap:5px;overflow:hidden;padding:4px 12px 8px;scrollbar-width:none}
.filters>.filter,.filters>.filter.active{width:100%;min-width:0;flex-basis:auto;background-size:100% 100%}
.filter-options{min-width:0;overflow:hidden}
.filter-options .filter,.filter-options .filter.active{display:block;width:100%;min-width:0;background-size:100% 100%;padding-left:5px;padding-right:5px;font-size:11px}
.filter-options .filter[hidden]{display:none}
.filter-page-arrow{display:grid;place-items:center;width:24px;height:34px;padding:0;border:1px solid rgba(18,61,42,.18);border-radius:7px;background:rgba(255,255,255,.72);color:#073f2d;box-shadow:none;font-size:26px;line-height:1;cursor:pointer;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.filter-page-arrow:hover:not(:disabled){background:#ffed84}.filter-page-arrow:disabled{opacity:.35;cursor:default;box-shadow:none}
.filter-page-arrow:focus-visible,.filters .filter:focus-visible{outline:2px solid #009b4d;outline-offset:-3px}
@media(max-width:820px){
  .filters{grid-template-columns:22px minmax(0,1fr) 22px;grid-template-rows:30px 30px;align-content:start;gap:4px 5px;padding:0 8px;overflow:hidden}
  .filters>.filter,.filters>.filter.active{grid-column:1/-1;grid-row:1;height:30px;padding:4px 5px 6px;font-size:10px}
  #filter-prev{grid-row:2;grid-column:1}#filter-next{grid-row:2;grid-column:3}.filter-options{grid-row:2;grid-column:2}
  .filter-page-arrow{width:22px;height:28px;font-size:22px}.filter-options .filter,.filter-options .filter.active{height:30px;font-size:9px;padding:3px 4px 5px}
}
.filters .filter,.filters .filter.active{background:rgba(255,255,255,.72);border:1px solid rgba(18,61,42,.15);border-radius:12px;box-shadow:none;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);padding:6px;font-weight:600}
.filters .filter::before{content:none}
.filters .filter.active{background:rgba(18,61,42,.9);border-color:transparent;color:#fffbea}
.filters .filter:hover{transform:none;background:rgba(255,255,255,.9)}
.filters .filter.active:hover{background:#1e5139}

/* The map needs no title badge or single-item legend. */
.map-label,.map-legend{display:none}

/* Keep the map visible through these floating controls and their icons. */
.world-home,.world-home:hover,.world-home:active{
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.map-compass{
  background:transparent url('./transparent/compass.svg') center/contain no-repeat;
}

.place-favorite{display:grid;place-items:center}
.place-favorite svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.place-favorite[aria-pressed=true] svg{fill:currentColor}

/* A shared, light white surface behind the case heading and filters. */
.sidebar .list-head{
  margin:0 12px;
  padding:7px 5px 0;
  background:rgba(255,255,255,.22);
  border-radius:14px 14px 0 0;
}
.sidebar .filters{
  margin:8px 12px 0;
  padding:4px 0 8px;
  background:rgba(255,255,255,.22);
  border-radius:14px;
}
@media(max-width:820px){
  .sidebar .list-head{margin-inline:8px;padding:0 4px}
  .sidebar .filters{margin-inline:8px;padding:0}
}
@media(max-width:820px){
  .sidebar{grid-template-rows:90px 40px minmax(0,1fr)}
  .sidebar .filters{grid-row:3;align-self:start;margin-top:4px}
  .sidebar .place-list{grid-row:1/4}
}
