:root {
  color-scheme: light;
  --paper:#f8f5eb;
  --ink:#24372f;
  --muted:#57645b;
  --forest:#193b32;
  --line:#ddd9ca;
  --rust:#a8452a;
  --gold:#f0d69a;
  --serif:"PT Serif", Georgia, serif;
  --sans:"Golos Text", system-ui, sans-serif;
  --shadow:0 8px 28px #2b3d2b26, 0 1px 3px #26392f1a;
}
*, *::before, *::after { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; color:var(--ink); background:#e9e6d3; font:14px/1.45 var(--sans); }
button, input { font:inherit; }
button { color:inherit; cursor:pointer; }
button, a { -webkit-tap-highlight-color:transparent; }
a { color:inherit; }
:focus-visible { outline:2px solid #b74e2e; outline-offset:3px; }
p, h1, h2, figure { margin:0; }
.masthead {
  position:relative; z-index:8; height:72px; display:flex; align-items:center;
  justify-content:space-between; gap:18px; padding:0 24px; color:#f8f4e7; background:var(--forest);
}
.wordmark { text-decoration:none; display:flex; align-items:center; gap:12px; font:700 27px/.98 var(--serif); min-width:172px; }
.wordmark small { display:block; margin-top:7px; color:#d1cfb9; font:600 8px/1 var(--sans); letter-spacing:.16em; }
.brand-icon { position:relative; width:36px; height:36px; border:1px solid #a7ab8e; border-radius:50%; display:block; overflow:hidden; }
.brand-icon::after { content:""; position:absolute; width:5px; height:5px; border-radius:50%; background:#f0d69a; top:7px; left:21px; }
.brand-icon i, .brand-icon b { position:absolute; width:22px; height:22px; border-left:1.5px solid #f0d69a; border-top:1.5px solid #f0d69a; top:17px; left:7px; transform:rotate(45deg); }
.brand-icon b { width:17px; height:17px; left:21px; top:20px; }
.navigation, .head-end { display:flex; align-items:center; gap:5px; }
.masthead button {
  border:1px solid transparent; border-radius:5px; background:transparent; min-height:42px;
  display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:0 13px; white-space:nowrap;
}
.masthead button:hover, .masthead button[aria-expanded="true"], .masthead button[aria-pressed="true"] { background:#ffffff15; }
.masthead button[aria-expanded="true"], .masthead button[aria-pressed="true"] { color:var(--gold); }
.masthead :focus-visible { outline-color:var(--gold); }
kbd { border:1px solid #ffffff33; border-radius:3px; color:#d5d6c6; padding:0 5px; font-size:11px; }
.head-end { gap:17px; }
.clock { display:flex; align-items:center; gap:6px; white-space:nowrap; font-size:12px; font-variant-numeric:tabular-nums; }
.clock i { width:6px; height:6px; border-radius:50%; background:#d6d48c; margin-right:3px; }
.clock span { color:#c7cebf; }
.masthead .share { border-color:#ffffff3d; font-size:12px; }
.share b { color:var(--gold); font-size:16px; font-weight:400; }
.icon { display:inline-block; position:relative; width:16px; height:16px; flex:none; }
.search-icon::before { content:""; position:absolute; width:11px; height:11px; border:1.5px solid currentColor; border-radius:50%; }
.search-icon::after { content:""; position:absolute; width:7px; height:1.5px; background:currentColor; top:11px; left:8px; transform:rotate(45deg); }
.pin-icon::before, .mini-pin::before { content:""; position:absolute; width:11px; height:11px; top:2px; left:2px; border:1.5px solid currentColor; border-radius:50% 50% 50% 0; transform:rotate(-45deg); }
.pin-icon::after { content:""; position:absolute; width:3px; height:3px; top:6px; left:6px; background:currentColor; border-radius:50%; }
.layers-icon::before, .layers-icon::after { content:""; position:absolute; top:2px; left:3px; width:10px; height:10px; border:1.5px solid currentColor; transform:rotate(45deg) skew(-10deg,-10deg); }
.layers-icon::after { top:6px; border-left:0; border-top:0; }
.tour-icon { border:1.5px solid currentColor; border-radius:50%; }
.tour-icon::before { content:""; position:absolute; left:5px; top:3px; border-left:5px solid currentColor; border-top:4px solid transparent; border-bottom:4px solid transparent; }

.workspace { display:flex; height:calc(100dvh - 72px); min-height:340px; }
.guide {
  width:346px; flex:none; overflow:auto; padding:27px 25px 17px;
  border-right:1px solid #c3beab; background:var(--paper); position:relative; z-index:3;
}
.eyebrow { display:flex; align-items:center; gap:7px; color:var(--rust); text-transform:uppercase; font-size:10px; font-weight:700; letter-spacing:.13em; }
.mini-pin { width:13px; height:13px; position:relative; }
.mini-pin::before { width:8px; height:8px; }
h1 { font:700 clamp(39px,4vw,49px)/.98 var(--serif); letter-spacing:-.065em; margin-top:13px; }
.intro { font-size:14px; color:var(--muted); margin-top:13px; max-width:265px; }
.panorama { margin-top:21px; position:relative; border-radius:5px; overflow:hidden; background:#a6b6a0; }
.panorama img { display:block; width:100%; height:136px; object-fit:cover; object-position:center 54%; }
.panorama figcaption { position:absolute; inset:auto 0 0; padding:13px 10px 7px; color:white; font-size:11px; background:linear-gradient(transparent,#162e27eb); }
.guide-places { margin-top:24px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; }
.section-heading h2 { font:700 25px/1.05 var(--serif); letter-spacing:-.045em; }
#place-count { font-size:12px; font-variant-numeric:tabular-nums; color:var(--muted); }
.categories { display:flex; flex-wrap:wrap; gap:6px; margin:14px 0 8px; }
.category { min-height:36px; padding:3px 9px; border:1px solid var(--line); border-radius:30px; background:transparent; font-size:11px; }
.category:hover { border-color:#9f9a82; }
.category[aria-pressed="true"] { background:#e8eddf; color:var(--forest); border-color:#c1ccb7; font-weight:700; }
.place-row {
  width:100%; padding:9px 1px; min-height:58px; display:grid; align-items:center; grid-template-columns:34px minmax(0,1fr) 18px;
  gap:9px; text-align:left; border:0; border-bottom:1px solid var(--line); background:transparent;
}
.place-row:hover, .place-row[aria-pressed="true"] { color:var(--rust); background:#e8e1c84a; }
.place-name, .place-kind { display:block; }
.place-name { font-size:13px; line-height:1.22; }
.place-kind { color:var(--muted); font-size:11px; margin-top:3px; }
.place-icon { display:grid; place-items:center; width:34px; height:34px; border:1px solid #dfd0b9; border-radius:50%; background:#f1e5d1; color:#86452d; font:19px/1 Georgia,serif; }
.place-icon[data-kind="nature"] { background:#e5eade; border-color:#ccd7c4; color:#3b634b; }
.place-icon[data-kind="city"] { background:#eee9d4; border-color:#ded6b9; color:#6c5d33; }
.row-arrow { color:#5e6e5e; text-align:right; }
.about-link { display:block; margin-top:14px; padding:8px 0; border:0; background:none; font-size:12px; color:var(--muted); }
.about-link:hover { color:var(--rust); }
.about-link span { margin-left:5px; }
.map { position:relative; min-width:0; flex:1; isolation:isolate; overflow:hidden; background:#eae7d2; }
#atlas { position:absolute; width:100%; height:100%; inset:0; cursor:grab; touch-action:none; outline-offset:-3px; }
#atlas.dragging { cursor:grabbing; }
.markers { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.marker {
  display:flex; align-items:center; position:absolute; transform:translate(-17px,-17px); gap:4px;
  pointer-events:auto; border:0; background:none; padding:0 6px 0 0; white-space:nowrap; z-index:1;
}
.marker:hover, .marker[aria-pressed="true"], .marker:focus-visible { z-index:3; }
.marker-symbol {
  width:34px; height:34px; display:grid; place-items:center; border:2px solid #faf4e7; border-radius:50%;
  background:var(--rust); color:#fff8e9; font:18px/1 Georgia,serif; box-shadow:0 2px 5px #253a2c50;
}
.marker[data-kind="nature"] .marker-symbol { background:#376549; }
.marker[data-kind="city"] .marker-symbol { background:#786331; }
.marker[aria-pressed="true"] .marker-symbol { box-shadow:0 0 0 3px #2a4d3d,0 2px 5px #253a2c50; }
.marker-name { background:#fcf8edee; padding:5px 7px; border-radius:3px; color:#263e32; font-size:11px; font-weight:700; box-shadow:0 1px 3px #223a241c; }
.marker[data-compact="true"] .marker-name, .markers.hide-labels .marker-name { display:none; }
.marker[data-compact="true"]:hover .marker-name, .marker[data-compact="true"]:focus-visible .marker-name { display:block; }
.map-heading {
  position:absolute; top:18px; left:18px; display:flex; align-items:center; gap:7px; pointer-events:none;
  background:#f8f5eae8; color:#3e5246; border:1px solid #c8cbbb; padding:7px 10px; border-radius:4px; font-size:11px;
}
.map-heading span:first-child { height:5px; width:5px; border-radius:50%; background:#567960; }
.map-tools { position:absolute; top:18px; right:18px; display:grid; gap:9px; }
.map-tools button { display:grid; place-items:center; height:44px; width:44px; border:0; background:var(--paper); }
.map-tools button:hover { background:#ede8d6; }
.map-tools button:disabled { color:#878a7f; cursor:default; }
.compass, .zoom { border-radius:5px; box-shadow:var(--shadow); }
.compass { padding:4px 0 7px; }
.compass small { font:700 10px/1 var(--sans); }
.compass i { position:relative; width:0; height:0; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:11px solid var(--rust); }
.compass i::after { content:""; position:absolute; top:11px; left:-5px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:6px solid #85947e; }
.zoom button { font-size:25px; line-height:1; }
.zoom button:first-child { border-radius:5px 5px 0 0; border-bottom:1px solid var(--line); }
.zoom button:last-child { border-radius:0 0 5px 5px; }
.scale { position:absolute; bottom:29px; left:18px; color:#31463a; font-size:10px; font-weight:700; text-shadow:0 0 4px #faf7e8; pointer-events:none; }
.scale i { display:block; height:6px; border:1px solid currentColor; border-top:0; margin-top:3px; }
.overview {
  position:absolute; bottom:32px; right:18px; padding:3px; line-height:0; border:0; border-radius:5px;
  background:var(--paper); box-shadow:var(--shadow); overflow:hidden; cursor:crosshair;
}
.overview canvas { display:block; width:152px; height:100px; border-radius:3px; }
.overview span { position:absolute; left:7px; bottom:7px; padding:3px 5px; border-radius:3px; line-height:1; font-size:10px; background:#f8f5ebed; }
.credits { position:absolute; right:10px; bottom:6px; display:flex; gap:4px; background:#f8f5e9d9; border-radius:3px; padding:2px 5px; font-size:10px; }
.map-status { position:absolute; top:50%; left:50%; translate:-50% -50%; padding:10px 13px; background:var(--paper); border-radius:5px; box-shadow:var(--shadow); z-index:4; }
.popup, .detail, dialog { background:var(--paper); border:1px solid #d1cbb9; border-radius:8px; box-shadow:var(--shadow); }
.popup { position:absolute; z-index:5; top:18px; left:18px; width:min(350px,calc(100% - 88px)); padding:16px; }
.popup h2, .popup > label { display:block; font:700 21px/1.15 var(--serif); margin-bottom:10px; }
.popup input[type="search"], .popup input[type="url"] { display:block; width:100%; min-height:42px; padding:7px 9px; color:var(--ink); background:#fffdf6; border:1px solid #b9b7a7; border-radius:4px; font-size:14px; }
.results { max-height:min(300px,44dvh); overflow:auto; }
.results p { color:var(--muted); margin-top:9px; }
.results button { display:block; width:100%; text-align:left; padding:8px 2px; min-height:44px; border:0; border-bottom:1px solid var(--line); background:none; }
.results button:hover { color:var(--rust); }
.results small { display:block; color:var(--muted); }
.layers-panel { width:min(257px,calc(100% - 88px)); }
.layers-panel > label { display:flex; min-height:43px; align-items:center; gap:8px; margin:0; border-top:1px solid var(--line); font:14px var(--sans); cursor:pointer; }
.layers-panel input { width:16px; height:16px; margin:0; accent-color:var(--forest); }
.layers-panel small { margin-left:auto; color:var(--muted); }
.share-panel { left:auto; right:73px; }
.solid-button { min-height:42px; background:var(--forest); color:var(--paper); border:0; border-radius:4px; padding:0 11px; margin-top:8px; }
#share-status { margin-top:4px; font-size:12px; }
.detail { position:absolute; z-index:4; left:18px; bottom:59px; padding:17px; width:min(355px,calc(100% - 36px)); }
.detail h2, dialog h2 { font:700 25px/1.1 var(--serif); margin:6px 27px 8px 0; }
.detail p:not(.eyebrow) { color:var(--muted); }
.detail-links { display:flex; flex-wrap:wrap; margin-top:12px; gap:7px 12px; font-size:12px; color:var(--rust); }
.close { position:absolute; top:5px; right:5px; min-width:44px; min-height:44px; background:transparent; border:0; border-radius:4px; font-size:24px; }
.close:hover { background:#eae7da; }
dialog { padding:22px; width:min(460px,calc(100% - 28px)); }
dialog::backdrop { background:#162d27a0; }
dialog p + p { margin-top:12px; }
dialog a { color:var(--rust); }

@media (max-width: 1050px) {
  .head-end { gap:8px; }
  .clock span { display:none; }
  .guide { width:305px; padding-inline:20px; }
  .masthead { padding-inline:16px; gap:10px; }
  .wordmark { min-width:0; }
  .masthead button { padding-inline:10px; }
  kbd { display:none; }
}
@media (max-width: 770px) {
  .masthead { height:60px; }
  .workspace { height:calc(100dvh - 60px); }
  .head-end .clock, .share span { display:none; }
  .masthead .share { width:42px; padding:0; }
  .guide { position:absolute; inset:60px auto 0 0; width:min(310px,77vw); z-index:6; box-shadow:var(--shadow); }
  .navigation button { padding:0 8px; }
  .overview { display:none; }
}
@media (max-width: 490px) {
  .masthead { gap:4px; padding:0 8px; }
  .wordmark { font-size:21px; gap:5px; }
  .wordmark small, .navigation button span { display:none; }
  .brand-icon { width:29px; height:29px; }
  .brand-icon i { left:3px; top:14px; }
  .brand-icon b { left:15px; top:16px; }
  .brand-icon::after { left:17px; top:5px; }
  .navigation { gap:1px; }
  .navigation button { width:42px; padding:0; }
  .map-tools { top:12px; right:12px; }
  .map-heading, .popup { top:12px; left:12px; }
  .share-panel { left:auto; right:66px; }
  .detail { left:12px; }
}
@media (max-width: 350px) {
  .masthead { padding-inline:6px; }
  .wordmark { font-size:19px; }
  .brand-icon { width:26px; height:26px; }
  .navigation button { width:39px; }
  .masthead .share { width:38px; }
}

/* Keep the illustrated street visible behind the map tools. */
:root { --forest:#263638; }
.masthead {
  position:absolute; inset:12px auto auto 13px; height:57px; gap:13px;
  border-radius:7px; padding-inline:13px; background:#263638f2; box-shadow:var(--shadow);
  border:1px solid #e3dcc04a;
}
.wordmark { min-width:0; font-size:24px; gap:8px; }
.wordmark small { display:none; }
.brand-icon { width:32px; height:32px; }
.head-end .clock { display:none; }
.masthead button { padding-inline:10px; }
.workspace { height:100dvh; }
.guide { position:absolute; inset:81px auto 67px 13px; width:min(346px,calc(100vw - 26px)); border:1px solid #b5ae97; border-radius:7px; box-shadow:var(--shadow); z-index:6; }
.map-heading { top:auto; bottom:94px; left:18px; }
.map-tools { top:15px; right:15px; }
.popup { top:81px; }
.share-panel { left:18px; right:auto; }
.map-modes {
  position:absolute; left:18px; bottom:44px; display:flex; padding:3px; gap:2px; border-radius:6px;
  background:#263638f4; color:#f7ecd5; box-shadow:var(--shadow); border:1px solid #e3dcc049;
}
.map-modes button { min-height:34px; padding:4px 10px; border-radius:4px; border:0; color:inherit; background:none; white-space:nowrap; font-size:12px; }
.map-modes button:hover, .map-modes button[aria-pressed="true"] { color:#f9df9e; background:#ffffff1c; }
.scene-hint { position:absolute; bottom:18px; left:18px; padding:3px 6px; border-radius:3px; background:#f8f5ebdf; color:#334438; font-size:11px; }
.scale { bottom:11px; left:auto; right:19px; }
.credits { right:15px; bottom:30px; }
.overview { bottom:57px; right:15px; }
.detail { bottom:92px; }
#atlas.building-hover { cursor:pointer; }
#atlas.dragging { cursor:grabbing; }
#building-facts { display:grid; grid-template-columns:max-content 1fr; gap:5px 12px; margin:10px 0 0; font-size:12px; }
#building-facts dt { color:var(--muted); }
#building-facts dd { margin:0; }
@media (max-width: 770px) {
  .masthead { inset:8px auto auto 8px; height:49px; padding-inline:8px; gap:6px; }
  .guide { inset:68px auto 83px 8px; max-width:calc(100% - 24px); }
  .map-tools { top:65px; right:9px; }
  .popup { top:64px; }
}
@media (max-width: 490px) {
  .masthead { max-width:calc(100% - 16px); padding-inline:5px; gap:3px; }
  .wordmark { font-size:19px; gap:4px; }
  .brand-icon { width:25px; height:25px; }
  .navigation button,.masthead .share { width:36px; padding:0; }
  .map-heading { top:auto; bottom:89px; left:9px; font-size:10px; }
  .map-modes { left:9px; bottom:40px; }
  .scene-hint { left:9px; bottom:15px; max-width:calc(100% - 19px); }
  .scale { display:none; }
  .credits { right:8px; bottom:3px; font-size:9px; }
  .share-panel { left:12px; right:auto; }
}

.map-heading time { border-left:1px solid #bdbda8; padding-left:6px; font-variant-numeric:tabular-nums; }
.car-model {
  position:absolute; z-index:2; pointer-events:none; background:#263638f4; color:#f7ecd5;
  border-radius:4px; padding:5px 8px; white-space:nowrap; font-size:11px; box-shadow:var(--shadow);
}
@media (max-width: 350px) {
  .map-modes button { padding-inline:6px; }
}
