*{box-sizing:border-box} :root{font-family:"Helvetica Neue",Arial,sans-serif;color:#193732;background:#f8f9f3;--ink:#173930;--line:#d9ded2;--muted:#60746d}body{margin:0}button,input,a{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #dca029;outline-offset:3px}button{border:0;background:none}header{height:76px;background:#fbfcf7;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 34px;gap:23px}.brand{display:inline-flex;align-items:center;color:#14372f;font-weight:850;letter-spacing:-3px;font-size:39px;text-decoration:none}.brand svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2.3;margin-right:9px;transform:rotate(-17deg)}.dot{color:#82a958}.divider{height:25px;border-left:1px solid #cbd4c6}.headname{font-size:15px;font-weight:550}.spacer{flex:1}button svg,i svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}i{display:inline-flex}.dark,.help,#world,#layers{display:inline-flex;align-items:center;justify-content:center;gap:9px}.dark{background:var(--ink);color:white;border-radius:8px;padding:12px 18px;font-weight:600}.dark:hover{background:#2b5043}.help{font-size:14px}.help:hover{text-decoration:underline}main{display:grid;grid-template-columns:clamp(315px,27.4vw,405px) minmax(0,1fr);height:calc(100dvh - 76px);min-height:520px}aside{display:flex;flex-direction:column;min-height:0;background:#f8f9f2;border-right:1px solid #d0d8c8}#side{padding:clamp(24px,3vw,45px) clamp(20px,2.2vw,36px);overflow-y:auto}.overline,.mono,.tag,.coordinates,.mapmode,.scale,.credit{font:500 12px/1.4 'SFMono-Regular',Consolas,monospace}.overline{display:flex;align-items:center;gap:8px;letter-spacing:1.4px;text-transform:uppercase;font-size:11px;font-weight:700;color:#4e725f}.overline:before{content:"";width:21px;height:2px;background:#5d8469}h1,h2,h3,p{margin:0}h1{font-size:clamp(42px,4.1vw,64px);font-weight:590;letter-spacing:-.061em;line-height:1.00;margin:18px 0 17px}p{font-size:16px;line-height:1.5;color:#53675e}.search{display:flex;align-items:center;gap:9px;margin-top:26px;background:white;border:1px solid #bac7b6;padding:0 12px;height:46px;border-radius:7px}.search input{width:100%;min-width:0;outline:none;border:0;background:none;color:#18392d;font-size:15px}.search:focus-within{border-color:#327650;box-shadow:0 0 0 2px #32765033}.search button{padding:4px;display:flex}.subhead{display:flex;align-items:center;gap:8px;margin:34px 0 13px;font-size:13px;font-weight:675}.places{display:grid;gap:8px}.place{display:flex;align-items:center;text-align:left;gap:12px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fffefa;width:100%}.place:hover{background:#eff3e8;border-color:#9cae98}.place strong{display:block;font-weight:600;font-size:15px}.place small{display:block;margin-top:4px;font-size:12px;color:#6c776e}.place .chev{margin-left:auto;padding-right:5px;color:#738778}.thumb{width:50px;height:45px;flex:none;border-radius:5px;overflow:hidden}.thumb svg{width:100%;height:100%}.explainer{border-top:1px solid var(--line);margin-top:28px;padding-top:19px;display:flex;gap:12px;align-items:center}.explainer i{width:37px;height:37px;align-items:center;justify-content:center;background:#e8eddc;border-radius:8px}.explainer strong{font-size:14px;display:block}.explainer small{font-size:12px;color:#627567}footer{display:flex;align-items:center;gap:8px;padding:15px 24px;margin-top:auto;border-top:1px solid var(--line);font-size:12px;color:#65796c}.live,.mapmode b{width:7px;height:7px;border-radius:50%;background:#89b872}.map{position:relative;overflow:hidden;background:#174c48}canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.maptop,.mapbottom{position:absolute;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.maptop{top:23px}.maptop button,.mapbottom button{pointer-events:auto}#world,#layers,.nav,.settings{background:#f9faf1;color:#244135;border:1px solid #dde3d4;border-radius:7px;box-shadow:0 2px 10px #102c3326}#world,#layers{height:37px;padding:0 12px;font-size:13px;font-weight:600}.mapmode{color:#d0e5cc;background:#173c36cf;padding:6px 9px;border:1px solid #94b89f60;border-radius:4px;letter-spacing:1.4px;font-size:10px;display:flex;gap:7px;align-items:center}.nav{position:absolute;bottom:93px;right:23px;display:grid;overflow:hidden}.nav button{width:37px;height:36px;font-size:23px;display:grid;place-items:center}.nav button+button{border-top:1px solid var(--line)}.nav button:hover,#world:hover,#layers:hover{background:#e1ead9}.mapbottom{bottom:34px}.scale{font-size:10px;color:#e6eddb;text-shadow:0 1px 2px #173c37}.scale b{display:block;width:66px;height:5px;border:1px solid currentColor;border-top:0}.credit{position:absolute;right:5px;bottom:3px;font-size:10px;color:#dbeddd;background:#21473dd9;padding:1px 5px}.settings{position:absolute;bottom:80px;right:70px;padding:16px;width:230px}.settings label{font-size:13px}.settings output{float:right}.settings input{width:100%;accent-color:#275e41}.back{padding:0;color:#476d56;font-size:14px;margin-bottom:28px}.selectedTitle{font-size:36px;overflow-wrap:anywhere}.coordinates{color:#627567}.data{margin:20px 0;padding:15px 0;border-block:1px solid var(--line);display:grid;gap:7px}.data div{display:flex;justify-content:space-between;gap:8px;font-size:14px}.wide{display:flex;width:100%;justify-content:center;margin:11px 0}.field{display:block;font-weight:600;font-size:14px;margin:16px 0}.field input{display:block;margin:6px 0;width:100%;font-weight:400;border:1px solid #b6c4b4;border-radius:6px;padding:8px;background:white}.tileimg{max-width:100%;max-height:180px;border-radius:5px}.secondary{display:block;width:100%;border:1px solid #bbcbb9;border-radius:7px;padding:10px;margin:8px 0}.result{width:100%;padding:10px 5px;border-bottom:1px solid var(--line);text-align:left}.result:hover{background:#e9efdf}dialog{border:1px solid var(--line);border-radius:14px;color:var(--ink);padding:30px;width:min(440px,92vw);background:#fbfcf6;box-shadow:0 20px 90px #142e3160}dialog::backdrop{background:#102d2c88}dialog h2{letter-spacing:-1.2px;font-size:32px;margin:10px 0 18px}dialog p{margin:10px 0}#dismiss{float:right;font-size:26px}#toast:not(:empty){position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#102c26;color:white;border-radius:8px;padding:12px 20px;z-index:10;font-size:14px;max-width:90vw}
@media(max-height:720px) and (min-width:761px){#side{padding-top:24px}.place{padding:6px}.subhead{margin-top:22px}.explainer{margin-top:18px}h1{font-size:45px}}
@media(max-width:760px){header{height:58px;padding:0 15px;gap:12px}.brand{font-size:30px}.brand svg{width:28px;height:28px}.headname{font-size:13px}.help{font-size:0;gap:0}.dark{padding:9px 12px;font-size:14px}main{display:flex;flex-direction:column;height:auto;min-height:0}.map{order:-1;height:44dvh;min-height:250px;max-height:430px}.maptop{top:12px;left:12px;right:12px}.mapbottom{bottom:17px;left:12px;right:12px}.nav{right:12px;bottom:64px}.nav button{width:30px;height:30px}.mapmode{font-size:9px}#side{padding:24px 20px}h1{font-size:40px;margin:9px 0}h1 br{display:none}.search{margin-top:15px}.subhead{margin-top:20px}.settings{bottom:58px;right:50px}footer{padding:14px 20px}.back{margin-bottom:12px}.divider{display:none}}

.cart-head{border:1px solid var(--line);border-radius:7px;padding:9px;font-size:14px;font-weight:600}.cart-list{max-height:45vh;overflow-y:auto}.cart-row,.cart-total{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.cart-row button{text-decoration:underline;color:#53695c;font-size:13px}.cart-total{border:0}.cart-error{color:#984123}.result small{display:block;color:#647869;margin-top:4px}.result strong{font-size:15px}button:disabled{cursor:wait;opacity:.65}@media(max-width:480px){header:has(#cart:not([hidden])) .headname{display:none}}

#google-map{position:absolute;inset:0}
.map:not(.google-active) #google-map{visibility:hidden}
.google-active #canvas,.google-active #credit,.google-active .scale{display:none}
.google-active .mapbottom{bottom:30px;justify-content:flex-end}

.location-control{position:absolute;top:72px;left:24px;max-width:calc(100% - 95px);pointer-events:none}#locate{pointer-events:auto;display:flex;align-items:center;gap:9px;min-height:44px;padding:0 13px;background:#f9faf1;color:#244135;border:1px solid #dde3d4;border-radius:7px;box-shadow:0 2px 10px #102c3326;font-size:14px;font-weight:600}#locate:hover{background:#e1ead9}#locate:disabled{cursor:wait;opacity:.8}#location-status:not(:empty){margin-top:7px;padding:8px 10px;max-width:270px;border-radius:6px;background:#f9faf1;color:#244135;font-size:14px;line-height:1.4;box-shadow:0 2px 10px #102c3326}@media(max-width:760px){.location-control{top:58px;left:12px}#location-status:not(:empty){max-width:230px}}

.name-retry{padding:6px 8px;text-decoration:underline;font-weight:600}
/* Keep map controls visible, above the zoom and fullscreen controls. */
.settings{top:16px;right:16px;bottom:auto;width:220px;padding:14px;z-index:2}
.settings select{display:block;width:100%;margin:5px 0 10px;padding:7px 9px;border:1px solid #b6c4b4;border-radius:5px;background:#fff;color:inherit;font:inherit}
.settings .ownership-toggle{display:flex;gap:7px;align-items:center;margin:8px 0;font-weight:600}
.settings .ownership-toggle input{width:17px;height:17px;margin:0;accent-color:#7950b3}
.ownership-legend{display:flex;flex-wrap:wrap;gap:6px 10px;margin-bottom:12px;font-size:12px}
.ownership-legend[hidden]{display:none}.ownership-legend span{display:flex;align-items:center;gap:4px}
.ownership-legend b{display:inline-block;width:11px;height:11px;border:1.5px solid #526b5c}.available-key{background:transparent}.ownership-legend .owned-key{background:#7950b34d;border-color:#51228b}.ownership-legend .mine-key{background:#137b694d;border-color:#075344}.ownership-legend small{display:block;width:100%;font-size:11px}
.opacity-ends{display:flex;justify-content:space-between;font-size:11px;margin-top:3px}.settings input[type=range]{margin:8px 0 0}
.nav{right:16px;bottom:40px;z-index:2}.nav button{width:40px;height:36px}.location-control{top:16px;left:16px;max-width:calc(100% - 270px);z-index:2}
.map:fullscreen{width:100vw;height:100dvh;max-height:none}.mural-reuse-help{font-size:13px;line-height:1.4;margin:8px 0;color:#53675e}
@media(max-width:760px){.map{height:56dvh;min-height:430px;max-height:none}.settings{top:12px;right:12px;width:178px;padding:11px}.settings label{font-size:12px}.settings select{font-size:13px;padding:6px}.ownership-legend{font-size:11px;gap:6px;margin-bottom:9px}.nav{right:12px;bottom:35px}.nav button{width:38px;height:36px}.location-control{top:12px;left:12px;max-width:calc(100% - 205px)}#locate{font-size:13px;gap:5px;padding:0 9px}#location-status:not(:empty){font-size:12px;padding:7px;max-width:100%}}

/* The longer wondertile wordmark must fit alongside mobile account/cart controls. */
.brand{font-size:32px;letter-spacing:-1.5px}
@media(max-width:760px){header{gap:10px}.brand{font-size:25px;letter-spacing:-1.1px}.brand svg{width:24px;height:24px;margin-right:6px}.headname{display:none}}
@media(max-width:480px){header:has(#cart:not([hidden])) .help,header:has(#cart:not([hidden])) .brand svg{display:none}header:has(#cart:not([hidden])) .brand{font-size:23px}header:has(#cart:not([hidden])) .dark{font-size:13px;padding:9px}header:has(#cart:not([hidden])) .cart-head{font-size:13px;padding:8px}}

/* Home-screen app: keep the last row clear of the iPhone home bar. */
@media(display-mode:standalone){aside footer{padding-bottom:calc(14px + env(safe-area-inset-bottom))}#toast{margin-bottom:env(safe-area-inset-bottom)}}
