@font-face{font-family:Tazik;src:url('/assets/sha256/034c77f1f05ec89421e4a63f0e3a4ca1ecf852cc6d2bf611f126f275728e017d/object.ttf') format('truetype');font-display:swap}
/* Hide browser chrome without disabling touch, wheel or keyboard scrolling. */
*{scrollbar-width:none;-ms-overflow-style:none}
*::-webkit-scrollbar{display:none;width:0;height:0}
:root{--paper:#f3e7cf;--card:#fff6df;--ink:#34382d;--green:#46634f;--line:#b9aa8c;--orange:#bc623d;--muted:#6c705d;--shadow:#d6c5a4;--safe-top:max(env(safe-area-inset-top),var(--tg-content-safe-area-inset-top,0px));color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Tazik,monospace;font-size:13px;line-height:1.7}button,input,a{ -webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a,input{touch-action:manipulation}button{min-height:46px;padding:10px 16px;border:2px solid var(--ink);border-radius:0;background:var(--green);color:var(--card);box-shadow:3px 3px 0 var(--shadow);cursor:pointer;line-height:1.5}button:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--shadow)}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:4px}button.secondary{color:var(--ink);background:var(--card)}button.quiet{border-color:transparent;background:transparent;color:var(--green);box-shadow:none;padding:6px 0}button.danger{color:#97462c;border-color:#97462c;background:transparent;box-shadow:none}a{color:var(--green);text-underline-offset:4px}img{image-rendering:pixelated}.shell{max-width:640px;min-height:100dvh;margin:auto;padding:calc(var(--safe-top) + 18px) 24px calc(env(safe-area-inset-bottom) + 36px)}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.brand{font-size:18px;letter-spacing:1px;white-space:nowrap;color:var(--green);text-decoration:none;display:flex;align-items:center;gap:10px}.close{width:46px;height:46px;padding:12px;background:var(--card);color:var(--ink)}.close svg{width:18px;height:18px;fill:currentColor;shape-rendering:crispEdges}h1{font-size:25px;line-height:1.5;font-weight:400;margin:0 0 10px}h2{font-size:16px;line-height:1.6;font-weight:400;margin:0 0 12px}p{margin:0 0 18px}.subtle{color:var(--muted);font-size:11px;line-height:1.9}.eyebrow{color:var(--orange);text-transform:uppercase;font-size:10px;letter-spacing:1px;margin:0 0 9px}.panel{background:var(--card);border:2px solid var(--line);padding:22px;margin-top:24px;box-shadow:4px 4px 0 var(--shadow)}.avatar-head{display:flex;gap:22px;align-items:center;margin-bottom:22px}.avatar-preview{width:104px;height:104px;flex-shrink:0;border:2px solid var(--line);background:var(--paper);object-fit:contain}.avatar-preview.photo{image-rendering:auto;object-fit:cover}.avatar-head .subtle{margin:0 0 12px}.avatar-head button{font-size:11px;padding:9px 12px}.cats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}.cat{padding:3px;aspect-ratio:1;min-height:0;width:100%;background:var(--paper);border-color:transparent;box-shadow:none;position:relative}.cat img{width:100%;height:100%;object-fit:contain;display:block}.cat[aria-pressed=true]{border-color:var(--green);background:#dce5c8}.cat[aria-pressed=true]:after{content:'✓';position:absolute;right:0;bottom:0;color:var(--card);background:var(--green);font:12px monospace;padding:0 3px}.field{margin-top:24px}label,.field-label{display:block;font-size:12px;margin-bottom:9px}input[type=text]{display:block;background:var(--card);border:2px solid var(--line);border-radius:0;width:100%;padding:13px;color:var(--ink);height:50px;font-size:14px}input::placeholder{color:#7d806e;font-size:11px}input[type=file]{display:none}.languages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.languages button{font-size:11px;padding:10px 3px;background:var(--card);color:var(--ink);border-color:var(--line);box-shadow:none}.languages button[aria-pressed=true]{background:var(--green);color:var(--card);border-color:var(--green)}.wide{width:100%;margin-top:26px}.hint{font-size:10px;color:var(--muted);margin:8px 0 0;line-height:1.9}.error{color:#9e3c27;font-size:11px;margin-top:16px;line-height:1.9}.error:empty{display:none}.loading,.gate{text-align:center;padding:60px 12px}.gate img,.empty img{width:140px;height:140px;object-fit:contain;margin-bottom:14px}.gate h1{font-size:23px}.gate a{display:inline-block;margin-top:10px}.list-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.count{font-size:10px;color:var(--muted);white-space:nowrap}.place{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:20px 0;border-bottom:2px solid var(--shadow)}.place h2{font-size:15px;margin:0 0 7px;overflow-wrap:anywhere}.place p{margin:0;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.place button{font-size:10px;flex-shrink:0;min-height:40px;padding:9px}.place-icon{width:32px;height:32px;margin-top:3px;fill:var(--green);flex-shrink:0}.place-copy{flex:1;min-width:0}.empty{text-align:center;padding:26px 0 8px}.empty h2{font-size:18px}.preset-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.preset-row button{font-size:10px;padding:7px 10px;min-height:36px;box-shadow:none;border-color:var(--line)}.search-row{display:flex;gap:8px}.search-row input{min-width:0}.search-row button{box-shadow:none;font-size:11px;padding:8px 12px}.search-results{display:grid;gap:7px;margin:10px 0}.search-results button{text-align:left;font-size:11px;background:var(--card);color:var(--ink);border-color:var(--line);box-shadow:none}.map-wrap{height:300px;border:2px solid var(--ink);position:relative;margin-top:16px;isolation:isolate}.map{height:100%;background:#dedbc7;z-index:0}.crosshair{position:absolute;left:50%;top:50%;width:28px;height:28px;transform:translate(-50%,-50%);z-index:500;pointer-events:none;filter:drop-shadow(1px 2px 0 #fff)}.crosshair:before,.crosshair:after{content:'';position:absolute;background:var(--orange);border:1px solid #fff}.crosshair:before{width:8px;height:28px;left:10px}.crosshair:after{height:8px;width:28px;top:10px}.map-actions{display:flex;gap:10px;margin-top:12px}.map-actions button{font-size:10px;flex:1}.point-label{font-size:11px;line-height:1.9;margin-top:16px;overflow-wrap:anywhere;background:var(--card);padding:12px;border-left:4px solid var(--green)}.point-label.pending{border-color:var(--orange)}.form-bottom{display:flex;gap:12px;margin-top:24px}.form-bottom button{flex:1}.leaflet-container{font-family:Arial,sans-serif}.leaflet-control-attribution{font-size:9px!important}.leaflet-control-zoom a{border-radius:0!important}.basin-stage{height:calc(100dvh - 150px - var(--safe-top));min-height:300px;display:grid;place-items:center}.basin-stage img{width:min(82vw,400px);height:auto;animation:float 4s ease-in-out infinite}@keyframes float{0%,100%{transform:translateY(-14px)}50%{transform:translateY(14px)}}body[data-page=taziki] header{margin-bottom:0}dialog{background:var(--card);color:var(--ink);border:2px solid var(--ink);box-shadow:6px 6px 0 #263f3250;width:calc(100% - 40px);max-width:440px;padding:26px;font:inherit}dialog::backdrop{background:#263f3260}.dialog-actions{display:flex;gap:12px}.dialog-actions button{flex:1;font-size:11px}dialog p{font-size:12px}#toast{position:fixed;bottom:calc(env(safe-area-inset-bottom) + 18px);left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 40px);padding:12px 18px;background:var(--green);color:var(--card);border:2px solid var(--ink);z-index:2000;font-size:11px;display:none}#toast.visible{display:block}
@media(min-width:800px){.shell{padding-top:34px;max-width:620px}header{margin-bottom:35px}body{background-color:#eadfc7;background-image:linear-gradient(90deg,transparent calc(50% - 350px),var(--paper) calc(50% - 350px),var(--paper) calc(50% + 350px),transparent calc(50% + 350px))}.basin-stage{height:calc(100dvh - 145px)}}
@media(max-width:390px){.shell{padding-left:18px;padding-right:18px}.panel{padding:16px}.cats{gap:6px}.avatar-head{gap:14px}.avatar-preview{width:88px;height:88px}.languages button{font-size:10px}h1{font-size:23px}.place-icon{display:none}.map-actions{flex-direction:column}.dialog-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.basin-stage img{animation:none}}
/* Shared 8px rhythm and fixed control heights across every app screen. */
.shell{padding-left:24px;padding-right:24px}header{position:sticky;top:var(--safe-top);z-index:1100;background:var(--paper);padding:8px 0 16px;margin-bottom:24px}.close{height:48px;width:48px;flex:none;display:grid;place-items:center}h1{font-size:24px;margin-bottom:8px}.panel{padding:24px;margin-top:24px}.avatar-head{display:grid;grid-template-columns:104px minmax(0,1fr);gap:16px;margin-bottom:24px}.avatar-head>div{min-width:0}.avatar-head button{width:100%;font-size:10px;min-height:48px}.avatar-head .subtle{margin-bottom:16px}.avatar-preview{width:104px;height:104px}.cats{gap:8px;margin-top:16px}.field{margin-top:24px}.field-label,label{margin-bottom:8px}.languages{gap:8px}.languages button{min-height:48px}input[type=text]{height:48px;padding:12px}.wide{margin-top:24px;min-height:48px}.search-row{align-items:stretch}.search-row button{height:48px}.map-wrap{height:304px;margin-top:16px}.map-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.map-actions button{min-height:48px;padding:8px;font-size:10px}.form-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-bottom button{min-height:48px;font-size:11px;padding:8px}.place{padding:24px 0;gap:16px}.place button{min-height:48px}.hint{margin-top:8px}.dialog-actions button{min-height:48px}
@media(max-width:390px){.shell{padding-left:16px;padding-right:16px}.panel{padding:16px}.avatar-head{grid-template-columns:88px minmax(0,1fr);gap:16px}.avatar-preview{width:88px;height:88px}.cats{gap:8px}h1{font-size:22px}.map-actions{grid-template-columns:1fr}.form-bottom{gap:8px}.languages button{font-size:10px}.place button{font-size:9px;padding:8px}.count{font-size:9px}}
@media(max-width:767px){
 body{font-size:10px;line-height:1.6}.shell{padding:calc(var(--safe-top) + 12px) 16px calc(env(safe-area-inset-bottom) + 24px)}
 header{padding:4px 0 8px;margin-bottom:16px}.brand{font-size:16px;letter-spacing:1px}.close{width:44px;height:44px;padding:12px}.close svg{width:16px;height:16px}
 h1,.gate h1{font-size:18px;line-height:1.6;margin-bottom:8px}h2{font-size:13px}.eyebrow{font-size:8px;margin-bottom:8px;line-height:1.5}
 .subtle{font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin-bottom:16px}.hint,.place p,.point-label{font:13px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
 .panel{padding:16px;margin-top:16px;box-shadow:3px 3px 0 var(--shadow)}.avatar-head{grid-template-columns:80px minmax(0,1fr);gap:16px;margin-bottom:16px}.avatar-preview{width:80px;height:80px}.avatar-head .subtle{font-size:13px;margin-bottom:8px}.avatar-head button{font-size:9px;min-height:44px;padding:8px}.field-label,label{font-size:10px;margin-bottom:8px;line-height:1.6}.cats{gap:8px;margin-top:8px}.field{margin-top:20px}input[type=text]{font:16px/1.4 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;height:44px;padding:10px 12px}input::placeholder{font:14px system-ui,sans-serif}
 button,.languages button,.wide,.form-bottom button{font-size:9px;min-height:44px;padding:10px 12px}.languages button{padding:8px 2px}.wide{margin-top:20px}.count{font-size:8px}.place{padding:16px 0;gap:12px}.place h2{font-size:12px;margin-bottom:8px}.place button{min-height:44px;font-size:8px;padding:8px}.place-icon{display:block;width:24px;height:24px}.empty{padding:16px 0}.empty img{width:104px;height:104px}.empty h2{font-size:15px}.empty .subtle{max-width:290px;margin:0 auto 16px}.preset-row button{font-size:8px;min-height:36px;padding:7px 10px}
 .map-wrap{height:280px}.map-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.map-actions button{font-size:8px;min-height:44px;padding:8px 6px}.search-row button{height:44px;font-size:9px}.search-results button{font-size:9px}.point-label{padding:10px;margin-top:12px}.form-bottom{margin-top:20px;gap:8px}.error{font:13px/1.5 system-ui,sans-serif}.dialog-actions button{min-height:44px;font-size:9px}dialog h2{font-size:13px}dialog p{font:14px/1.5 system-ui,sans-serif}dialog{padding:20px}#toast{font-size:9px;line-height:1.7}
 .basin-stage{height:calc(100dvh - 100px - var(--safe-top));min-height:260px}.basin-stage img{width:min(78vw,360px)}
}
@media(max-width:340px){.cats{gap:4px}.panel{padding:12px}.avatar-head{gap:12px}.place-icon{display:none}.map-actions{grid-template-columns:1fr}.field-label,label{font-size:9px}.brand{font-size:15px}}
.preview-note{font:12px/1.5 system-ui,sans-serif;color:var(--muted);padding:8px 12px;border-left:3px solid var(--orange);background:var(--card);margin:0 0 16px}
/* Pixel typography everywhere, including supporting copy and editable fields. */
.preview-note{font:9px/1.8 Tazik,monospace}.leaflet-container{font-family:Tazik,monospace}.leaflet-control-attribution{font:7px/1.6 Tazik,monospace!important}.leaflet-control-zoom a{font-family:Tazik,monospace!important}
.cat[aria-pressed=true]:after{content:'';width:4px;height:4px;right:7px;bottom:5px;padding:0;background:var(--green);box-shadow:-3px -3px var(--green),3px -3px var(--green),6px -6px var(--green)}
.crosshair{width:28px;height:28px;filter:none}
.crosshair:before,.crosshair:after{border:0;background:var(--orange);box-shadow:0 0 0 1px #fff9}
.crosshair:before{width:2px;height:28px;left:13px;top:0}
.crosshair:after{width:28px;height:2px;left:0;top:13px}
.map .leaflet-bar{border:2px solid var(--ink);border-radius:0;box-shadow:2px 2px 0 var(--shadow)}
.map .leaflet-control-zoom a{width:40px;height:40px;position:relative;background:var(--card);color:var(--ink);border:0;line-height:40px}
.map .leaflet-control-zoom a:first-child{border-bottom:1px solid var(--line)}
.map .leaflet-control-zoom a:hover,.map-locate:hover{background:var(--paper)}
.map .leaflet-control-zoom a span{display:none}
.map .leaflet-control-zoom a:before,.map .leaflet-control-zoom-in:after{content:'';position:absolute;background:currentColor;left:12px;top:19px;width:16px;height:2px}
.map .leaflet-control-zoom-in:after{left:19px;top:12px;width:2px;height:16px}
.map .leaflet-control-zoom a.leaflet-disabled{color:var(--line);cursor:default}
.map-locate{width:40px;height:40px;min-height:40px!important;padding:10px!important;display:grid;place-items:center;border:0;background:var(--card);color:var(--ink);box-shadow:none}
.map-locate svg{width:20px;height:20px;fill:currentColor;shape-rendering:crispEdges}
.map-locate:active{transform:none;box-shadow:none;background:var(--paper)}
.gps-position{background:#466b83;border:2px solid var(--card);box-shadow:0 0 0 1px #466b83}
.close{width:44px;height:44px;min-height:44px;padding:10px;border:2px solid var(--ink);box-shadow:2px 2px 0 var(--shadow);color:var(--ink)}
.close svg{width:20px;height:20px;display:block}
.place{display:grid;grid-template-columns:32px minmax(0,1fr) auto;column-gap:16px;row-gap:4px}
.place-notifications{grid-column:2/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:10px}
.place .notification-switch{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-width:96px;min-height:44px;padding:0;border:0;background:transparent;color:var(--muted);box-shadow:none;white-space:nowrap}
.notification-switch:active{transform:none}
.switch-track{display:block;position:relative;flex:none;width:36px;height:20px;border:2px solid var(--line);background:var(--card)}
.switch-track:before{content:'';position:absolute;left:3px;top:3px;width:10px;height:10px;background:var(--line)}
.notification-switch[aria-checked=true]{color:var(--green)}
.notification-switch[aria-checked=true] .switch-track{border-color:var(--green);background:var(--green)}
.notification-switch[aria-checked=true] .switch-track:before{left:19px;background:var(--card)}
.notification-switch:disabled{opacity:.65}
@media(max-width:767px){.place{grid-template-columns:24px minmax(0,1fr) auto;column-gap:12px;row-gap:0}.place-notifications{font-size:8px}.place .notification-switch{min-width:80px;gap:8px;font-size:8px}}
@media(max-width:340px){.place{grid-template-columns:minmax(0,1fr) auto}.place-notifications{grid-column:1/-1}}
@media(max-width:767px){
 .subtle{font:9px/1.8 Tazik,monospace}.hint,.place p,.point-label{font:8px/1.9 Tazik,monospace}.avatar-head .subtle{font:9px/1.8 Tazik,monospace}.field-label,label{font-size:9px}
 input[type=text]{font:11px/1.6 Tazik,monospace}input::placeholder{font:9px/1.6 Tazik,monospace}.error{font:9px/1.8 Tazik,monospace}dialog p{font:9px/1.8 Tazik,monospace}.preview-note{font:8px/1.8 Tazik,monospace}
}

.account-embedded .shell>header,.account-embedded #main-menu{display:none}.account-embedded .shell{padding-top:24px}.account-embedded #account-nav{padding-right:48px}.login-gate img{width:220px;height:220px;object-fit:cover;border:2px solid #436854;box-shadow:4px 4px #d3c5a5;image-rendering:pixelated}.login-gate{max-width:520px;margin:auto}.login-gate h1{font-size:20px}.login-gate .subtle,.login-gate #login-status{font:11px/1.8 Tazik,monospace;color:var(--muted)}.login-gate #login-status{margin:20px 0 0;overflow-wrap:anywhere}.login-gate #login-status:empty{display:none}.login-gate #account-login,.login-gate .login-link{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;box-sizing:border-box;padding:12px 16px;font:11px/1.6 Tazik,monospace;background:var(--green);color:var(--card);text-align:center;text-decoration:none;border:2px solid var(--ink);box-shadow:3px 3px 0 var(--shadow);margin:12px 0 0}.login-gate #account-login{margin-top:24px}.login-gate .login-link[hidden]{display:none}.account-logout{margin-top:32px}html,body{scrollbar-width:none}::-webkit-scrollbar{display:none}

/* One compact account shell, shared by profile, rewards and saved places */
.shell{padding-top:calc(var(--safe-top) + 12px)}
.shell>header{position:static;min-height:44px;height:auto;padding:0;margin:0 0 8px}
#main-menu{display:inline-flex;min-height:36px;margin:0 0 8px;padding:6px 0;font-size:9px}
#account-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%;padding:0;margin:0 0 20px;border-bottom:1px solid var(--line)}
#account-nav a{justify-content:center;min-width:0;min-height:44px;padding:8px 3px;font-size:9px;line-height:1.7;text-align:center;overflow-wrap:normal}
#discussion-return{display:inline-block;margin:0 0 12px;font-size:9px}#discussion-return[hidden]{display:none}
.earning-rules{margin-top:16px;background:var(--card);border:1px solid var(--line);padding:14px 16px;font-size:10px;line-height:1.9}
.earning-rules summary{cursor:pointer;color:var(--green)}.earning-rules summary:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
.earning-rules ul{list-style-type:square;margin:16px 0 0;padding-left:18px}.earning-rules li+li{margin-top:12px}
.map-retry{width:100%;margin-top:12px;font-size:9px}.map-retry[hidden]{display:none}
.account-embedded #account-nav{padding-right:48px}
@media(max-width:400px){#account-nav a{font-size:8px;padding:8px 2px}.earning-rules{font-size:8px}}

/* Onboarding remains in one account section until the reader closes the window */
.guided-onboarding header{position:sticky;top:var(--safe-top);z-index:1001;background:var(--paper);margin-bottom:16px;padding:8px 0}
.guided-onboarding .brand{cursor:default}
.guided-onboarding #main-menu{display:none}
.guided-hint{padding:10px 12px;border-left:3px solid var(--orange);background:var(--card);font-size:10px;line-height:1.8;margin:0 0 16px}
.close.close-cue{background:#ffe2a3;border-color:var(--orange);animation:close-cue 2.4s ease-in-out infinite}
@keyframes close-cue{0%,100%{box-shadow:0 0 0 3px #bc623d40,3px 3px 0 var(--shadow)}50%{box-shadow:0 0 0 7px #bc623d18,3px 3px 0 var(--shadow)}}
@media(prefers-reduced-motion:reduce){.close.close-cue{animation:none;box-shadow:0 0 0 4px #bc623d40}}

/* Persistent account close control and readable pixel guidance */
.shell>header{position:sticky;top:var(--safe-top);z-index:1001;background:var(--paper);padding:8px 0;margin-bottom:16px}
#main-menu,#main-menu[hidden]{display:none}
#main-menu:not([hidden]){display:flex;width:100%;justify-content:center;margin:20px 0 0;padding:10px 16px;border:2px solid var(--line);background:var(--card);font-size:10px}
.guided-hint{font-size:8px;line-height:1.9}
.earning-rules summary{list-style:none;display:flex;align-items:center;gap:12px}
.earning-rules summary::-webkit-details-marker{display:none}
.earning-rules summary::before{content:'';width:8px;height:12px;flex:0 0 8px;background:var(--green);clip-path:polygon(0 0,40% 0,40% 20%,70% 20%,70% 40%,100% 40%,100% 60%,70% 60%,70% 80%,40% 80%,40% 100%,0 100%)}
.earning-rules[open] summary::before{transform:rotate(90deg)}
input[aria-invalid=true]{border-color:var(--orange);box-shadow:0 0 0 3px #bc623d35}
.error:not(:empty){padding:10px 12px;border-left:3px solid var(--orange);background:var(--card)}
#collection-actions .channel-link{display:block;margin:12px 0 16px;text-align:center;color:var(--green);font-size:10px;line-height:1.8}
#collection-actions:empty{display:none}
#collection-actions .hint:empty{display:none}
@media(min-width:768px){.guided-hint{font-size:9px}}
html{scroll-padding-top:90px}input,.field,.wardrobe-tabs{scroll-margin-top:90px}
