:root{color-scheme:dark;--ink:#f7efff;--muted:#c3b3db;--bg:#170e29;--purple:#2a1944;--orange:#ffa34c;--cream:#fffaf3;--dark:#2c1941}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 0,#38203c 0,transparent 45%),var(--bg);color:var(--ink);font:15px/1.5 Inter,system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}button{border:0}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #6cd4ff;outline-offset:3px}button{min-height:46px}h1,h2,h3,.brand{font-family:Nunito,system-ui,sans-serif;font-weight:800}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;margin:9px 0}h2{font-size:27px;line-height:1.2}h3{font-size:23px;line-height:1.2}a{color:inherit}.header{max-width:1360px;margin:auto;padding:23px 36px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:28px;white-space:nowrap}.brand b{color:var(--orange)}.head-actions,.languages{display:flex;align-items:center;gap:8px}.languages{background:#ffffff0c;padding:4px;border:1px solid #ffffff16;border-radius:30px;gap:2px}.languages button{color:var(--muted);background:transparent;border-radius:24px;padding:0 13px;min-height:38px;font-size:13px;font-weight:600}.languages button[aria-pressed=true]{background:var(--cream);color:var(--dark)}.quiet,.secondary{background:#ffffff0d;color:var(--ink);border:1px solid #ffffff28;border-radius:14px;padding:10px 17px;font-weight:600}.quiet:hover,.secondary:hover{background:#ffffff18}.primary{display:inline-flex;justify-content:center;align-items:center;background:linear-gradient(180deg,#ffb663,#ff942f);color:#321705;border:1px solid #ffbd6c;border-radius:16px;min-height:52px;padding:12px 24px;font-weight:600;box-shadow:0 5px 22px #ff8b1720;text-decoration:none;text-align:center}.primary:hover{background:#ffbc76}.primary:active{transform:translateY(1px)}main{max-width:1360px;margin:auto;padding:0 36px}.intro{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:26px 0 24px}.intro p:not(.eyebrow){color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:600;color:#d3b4e6}.explore{height:calc(100dvh - 275px);min-height:450px;max-height:1000px;position:relative;border-radius:28px;overflow:hidden;border:1px solid #ffffff16;isolation:isolate;box-shadow:0 20px 55px #0003}#map{position:absolute;inset:0;z-index:0;background:#221d2d}.leaflet-container{font-family:Inter,system-ui,sans-serif;background:#221d2d}.leaflet-tile{filter:none}.leaflet-control-attribution{font-size:10px!important;background:#1b1129e8!important;color:#c6b7d5!important}.leaflet-control-attribution a{color:#ded4eb}.leaflet-control-zoom{border:1px solid #ffffff25!important;border-radius:12px!important;overflow:hidden}.leaflet-control-zoom a{background:#241a34!important;color:#fff!important;border-color:#ffffff20!important;width:44px!important;height:44px!important;line-height:44px!important}.leaflet-top.leaflet-right{top:135px}.map-top{position:absolute;z-index:500;left:20px;right:20px;top:20px;display:flex;justify-content:space-between;gap:8px;pointer-events:none}.status-pill,.stamps{background:#21132eea;backdrop-filter:blur(12px);border:1px solid #ffffff15;border-radius:30px;padding:11px 15px;font-weight:600;font-size:13px;display:flex;align-items:center;gap:9px;box-shadow:0 3px 12px #0002}.live-dot{width:8px;height:8px;background:var(--orange);border-radius:50%;box-shadow:0 0 12px #ff9c47}.map-tools{position:absolute;z-index:500;top:79px;left:20px;right:20px;display:flex;justify-content:space-between;gap:10px;pointer-events:none}.map-tools>*{pointer-events:auto}.view-switch{display:flex;background:#21132eed;border:1px solid #ffffff25;border-radius:14px;padding:3px}.view-switch button{background:none;color:var(--muted);padding:0 20px;min-height:40px;border-radius:10px;font-size:13px;font-weight:600}.view-switch button[aria-pressed=true]{background:#eee3fa;color:var(--dark)}.locate{background:#21132eef;color:var(--ink);padding:10px 17px;border:1px solid #ffffff25;border-radius:14px;font-size:13px;font-weight:600}.map-notice{position:absolute;z-index:510;top:138px;left:20px;max-width:340px;background:#342644ed;border:1px solid #67506b;border-radius:14px;padding:12px;font-size:13px}.detail{position:absolute;z-index:600;bottom:20px;left:20px;width:370px;max-height:calc(100% - 155px);overflow:auto;background:var(--cream);color:var(--dark);border-radius:24px;box-shadow:0 12px 40px #0005;padding:23px;color-scheme:light}.detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.close{width:44px;min-height:44px;flex-shrink:0;background:#ffffff0a;border:1px solid #ffffff1c;color:inherit;font-size:27px;border-radius:50%;line-height:1}.detail .close{background:#2a164408;border-color:#2a164410}.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:5px 10px;border-radius:30px;background:#e6def0;color:#675375}.badge.open{background:#def3e5;color:#22683d}.detail h2{font-size:25px}.facts{display:flex;flex-wrap:wrap;gap:5px 16px;font-size:15px;margin:10px 0;font-weight:600}.door-code{background:#eee6f7;border-radius:13px;padding:12px;font-size:14px;margin:12px 0;color:#635074;overflow-wrap:anywhere}.door-code strong{display:block;font-size:25px;color:#32203d;letter-spacing:2px}.host-note{font-size:15px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.door-photo{width:100%;max-height:160px;object-fit:cover;border-radius:14px;display:block;margin:12px 0}.detail .primary{width:100%;margin-top:12px}.visited-button{width:100%;background:transparent;color:#635074;font-size:14px;margin-top:7px}.visited-button[aria-pressed=true]{color:#236a3d}.detail h2,.door-row strong{overflow-wrap:anywhere}.list-panel{position:absolute;inset:139px auto 20px 20px;z-index:550;width:390px;overflow:auto;background:#221431f5;border:1px solid #ffffff20;border-radius:23px;padding:20px;box-shadow:0 8px 30px #0003}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.panel-heading h2{font-size:23px}.list-panel .muted{font-size:12px;margin-bottom:12px}.door-row{width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:14px 0;background:transparent;color:var(--ink);border-bottom:1px solid #ffffff12}.door-row img{width:43px;height:48px}.door-row.dim img{filter:grayscale(1);opacity:.55}.door-row strong{display:block;font-size:16px}.door-row small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.door-row .row-arrow{margin-left:auto;color:var(--orange);font-size:23px}.empty{position:absolute;z-index:520;left:50%;top:54%;transform:translate(-50%,-50%);width:340px;max-width:calc(100% - 40px);padding:26px;background:#21132eef;backdrop-filter:blur(12px);border:1px solid #ffffff20;border-radius:24px;text-align:center;box-shadow:0 12px 40px #0004}.empty p{color:var(--muted);margin:10px 0 20px;font-size:14px}.empty h2{font-size:25px}.empty img{margin-bottom:8px}.pumpkin-marker{background:none;border:0}.pumpkin-marker img{width:48px;height:56px;filter:grayscale(.8);opacity:.65}.pumpkin-marker.is-open img{filter:drop-shadow(0 0 9px #ff9e4277);opacity:1}.pumpkin-marker.is-visited:after{content:'✓';position:absolute;bottom:6px;right:-2px;width:21px;height:21px;border-radius:50%;background:#e1f5e2;color:#236438;text-align:center;font-weight:bold;font-size:15px;border:2px solid #2b2040}.you{width:20px;height:20px;border:4px solid white;border-radius:50%;background:#3bb7ec;box-shadow:0 0 0 10px #50c8ff30}footer{min-height:60px;display:flex;align-items:center;justify-content:space-between;color:#bcaacb;font-size:12px;gap:12px}.text-button{background:none;color:inherit;text-decoration:underline;text-underline-offset:4px;padding:8px;font-size:13px}.mobile{display:none}.toast{position:fixed;z-index:2000;right:24px;bottom:24px;max-width:390px;background:var(--cream);color:var(--dark);padding:20px 24px;border:1px solid #ded0e9;border-radius:20px;box-shadow:0 12px 45px #0007;font-size:15px}.toast input{color:var(--dark);background:#eee7f2;width:100%;margin-top:10px}.toast button{color:var(--dark);margin-top:8px}dialog{color:var(--ink);background:linear-gradient(160deg,#25143d,#1d112e);border:1px solid #ffffff20;border-radius:26px;padding:26px;width:480px;max-width:calc(100% - 24px);max-height:calc(100dvh - 36px);overflow:auto;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#0d061cc9;backdrop-filter:blur(6px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-top h2{font-size:26px}.progress{display:flex;gap:6px;margin:12px 0 22px}.progress i{height:4px;flex:1;border-radius:4px;background:#ffffff12}.progress i.active{background:var(--orange)}#form-title{margin-bottom:9px}.muted{color:var(--muted)}#step-description{margin-bottom:22px;font-size:14px}.form-step label:not(.check-row){display:block;font-size:13px;color:#d4c7e4;font-weight:600;margin:16px 0 7px}input,textarea,select{border:1px solid #ffffff25;background:#ffffff08;border-radius:13px;color:var(--ink);padding:12px 13px;width:100%;min-height:48px;font-size:16px;line-height:1.4}input::placeholder,textarea::placeholder{color:#a08eaf}textarea{resize:vertical}select option{background:#2b1b3e}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-col>div{min-width:0}.search-row{display:flex;gap:8px}.search-row input{min-width:0}.search-row button{padding:8px 12px;font-size:12px;flex:0 0 92px}.field-help{font-size:12px;color:#b9a7cd;line-height:1.55;margin:9px 0}.form-error{background:#5a263e;color:#ffe0e2;border:1px solid #a15a74;padding:12px;border-radius:12px;font-size:14px;margin:18px 0 0}#pick-map{height:210px;border-radius:16px;border:1px solid #ffffff22;margin:10px 0}#pick-map .leaflet-top.leaflet-right{top:0}#confirm-pin{font-size:12px;min-height:40px;padding:7px}.full{width:100%}.form-actions{display:flex;gap:12px;padding-top:22px}.form-actions .primary{flex:1}.date-note{background:#ffffff08;border-radius:12px;padding:10px 14px;color:#e6c5a4;font-size:13px}#photo{font-size:13px;padding:12px}#photo::file-selector-button{color:var(--ink);background:#ffffff15;border:0;border-radius:8px;padding:8px;margin-right:10px}#photo-preview img{height:120px;width:100%;object-fit:cover;border-radius:12px}#photo-preview{margin-top:12px}.preview{background:var(--cream);color:var(--dark);border-radius:18px;padding:18px;margin:12px 0}.preview h3{font-size:22px;overflow-wrap:anywhere}.preview p{margin-top:8px;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}.preview img{max-height:120px;object-fit:cover;width:100%;border-radius:10px;margin-top:10px}.check-row{display:flex;gap:12px;align-items:center;font-size:15px;margin-top:20px;cursor:pointer;min-height:44px}.check-row input{width:22px;height:22px;min-height:22px;accent-color:var(--orange);flex-shrink:0}.privacy-note{font-size:12px;color:#c8b8d9;border-top:1px solid #ffffff16;margin-top:18px;padding-top:15px}#search-results button{display:block;width:100%;text-align:left;background:#ffffff0c;color:var(--ink);padding:12px;border-radius:12px;margin:6px 0;font-size:13px}.owner-item{padding:18px 0;border-bottom:1px solid #ffffff18;margin-bottom:14px}.owner-item strong{display:block;overflow-wrap:anywhere}.owner-item p{margin:8px 0;font-size:13px;color:var(--muted)}.danger{background:#512537;color:#ffdfdf;border:1px solid #965268;border-radius:12px;padding:10px 16px}.owner-dialog>.muted{margin:14px 0;font-size:14px}[hidden]{display:none!important}
@media(min-width:1000px){.detail{width:380px}}
@media(max-width:700px){.header{padding:14px 16px 0;gap:8px}.brand{font-size:20px;gap:6px;line-height:1.1}.brand span{display:flex;flex-direction:column;gap:3px}.brand img{width:37px;height:44px}.head-actions{gap:7px}.languages{padding:3px}.languages button{padding:0 10px;min-height:36px;font-size:12px}.quiet{font-size:12px;padding:9px 12px;border-radius:12px;min-height:44px}main{padding:0 12px}.intro{padding:18px 4px 16px;display:block}.eyebrow{font-size:10px;letter-spacing:1.2px}h1{font-size:24px;margin:7px 0}.intro p:not(.eyebrow){font-size:12px;max-width:340px}.desktop{display:none}.mobile{display:inline-flex}.explore{height:calc(100dvh - 275px);min-height:390px;max-height:none;border-radius:22px}.map-top{left:12px;right:12px;top:12px}.status-pill,.stamps{padding:9px 11px;font-size:11px;gap:6px}.map-tools{left:12px;right:12px;top:62px;gap:7px}.view-switch button{padding:0 14px;font-size:12px;min-height:38px}.locate{font-size:11px;padding:8px 11px;max-width:180px}.leaflet-top.leaflet-right{top:117px}.map-notice{top:115px;left:12px;right:65px;max-width:none;font-size:12px;padding:10px}.detail{left:8px;right:8px;bottom:20px;width:auto;max-height:calc(100% - 123px);padding:16px 18px;border-radius:22px}.detail h2{font-size:23px}.detail-head{margin-bottom:4px}.detail .close{width:38px;min-height:38px}.facts{font-size:14px;gap:5px 14px;margin:8px 0}.detail .door-photo{max-height:120px}.door-code{margin:10px 0;padding:10px 12px}.host-note{font-size:14px}.detail .primary{min-height:48px}.visited-button{min-height:44px}.list-panel{inset:115px 8px 20px;width:auto;padding:18px}.empty{padding:20px;width:300px;top:59%}.empty img{width:50px;height:56px}.empty h2{font-size:23px}.empty p{font-size:13px;margin:8px 0 14px}.empty .primary{min-height:48px;font-size:14px}.empty .primary:only-child{width:100%}footer{min-height:75px;padding:10px 4px calc(10px + env(safe-area-inset-bottom));gap:8px}footer>span{display:none}footer .primary{flex:1;font-size:15px;min-height:50px}footer #manage{font-size:12px;max-width:90px}.toast{left:16px;right:16px;bottom:90px;max-width:none;padding:18px;font-size:14px}dialog{padding:22px;max-width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:23px}.host-dialog h2{font-size:28px}#step-description{font-size:13px;margin-bottom:18px}#pick-map{height:185px}.progress{margin-bottom:18px}.form-actions{padding-bottom:4px}.search-row button{flex-basis:85px}input[type=time]{padding-left:9px;padding-right:7px}}
@media(max-width:360px){.header{padding-left:12px;padding-right:12px}.brand{font-size:18px}.brand img{width:30px}.quiet{padding:8px}.head-actions{gap:4px}.languages button{padding:0 8px}h1{font-size:22px}.locate{max-width:150px;font-size:10px}.map-tools{gap:5px}.view-switch button{padding:0 11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.story{display:flex;gap:12px;align-items:flex-start;margin:12px 0}.story .door-photo{width:76px;height:74px;flex-shrink:0;margin:0;object-fit:cover}.story>a{flex-shrink:0}.story .host-note{margin:0;flex:1}.story:has(>.door-photo:only-child) .door-photo{width:100%;height:120px}

.pin-count{position:absolute;right:-3px;top:0;background:#fff3df;color:#40212b;border:2px solid #2b173e;border-radius:50%;min-width:22px;height:22px;font-size:12px;line-height:18px;font-weight:600;text-align:center}.languages button,.view-switch button{min-height:44px}.map-tools{top:79px}@media(max-width:700px){.map-tools{top:62px}.languages button,.view-switch button{min-height:40px}.detail .close{min-height:44px;width:44px}}
/* Keep the reading surface stable and the map visible above it. */
.detail{display:flex;flex-direction:column;overflow:hidden;padding:0;max-height:calc(100% - 155px)}
.detail-scroll{overflow:auto;overscroll-behavior:contain;padding:18px 20px 4px;min-height:0}
.detail-actions{flex-shrink:0;background:var(--cream);padding:4px 20px 12px;border-top:1px solid #2a16440b}
.detail-actions .primary{margin-top:6px;min-height:46px}
.detail-secondary{display:flex;gap:8px}
.detail-secondary .visited-button{flex:1;min-height:44px;line-height:1.25;padding:6px 0;margin:4px 0 0;font-size:12px}
.photo-button{position:relative;flex-shrink:0;padding:0;background:none;border-radius:14px;overflow:hidden;align-self:flex-start}
.photo-button span{position:absolute;bottom:2px;right:4px;background:#20132dcc;color:white;border-radius:5px;padding:0 4px}
.photo-dialog{width:800px;padding:12px;background:#1d112e;overflow:auto}
.photo-dialog .close{position:sticky;top:0;float:right;z-index:1;background:#21132ef5}
#full-photo{display:block;width:100%;height:auto;max-height:80dvh;object-fit:contain}
/* On phones the map and card are in normal page flow. Essential details never
   compete with fixed actions for a small nested scrolling viewport. */
@media(max-width:700px){
 .reading-door .intro{display:none}
 .reading-door .header{padding-bottom:10px}
 .reading-door .explore{height:auto;min-height:0;overflow:visible;border-radius:22px;background:#21172e;--reading-map-height:clamp(112px,20dvh,168px)}
 .reading-door #map{top:100px;bottom:auto;height:var(--reading-map-height);overflow:hidden}
 .reading-door .detail{position:relative;left:auto;right:auto;bottom:auto;margin:calc(100px + var(--reading-map-height)) 0 0;width:100%;height:auto;max-height:none;min-height:0;overflow:visible;border-radius:20px}
 .reading-door .map-top{top:8px}
 .reading-door .map-tools{top:50px}
 .reading-door .leaflet-top.leaflet-right{top:0}
 .reading-door .leaflet-control-zoom a{width:40px!important;height:40px!important;line-height:40px!important}
 .detail-scroll{overflow:visible;padding:10px 14px 0;min-height:auto}
 .detail-actions{padding:3px 14px 8px;border-radius:0 0 20px 20px}
 .detail h2{font-size:21px;line-height:1.2;padding-right:28px}
 .detail .detail-head{min-height:26px;margin-bottom:2px;padding-right:40px}
 .detail .close{position:absolute;right:8px;top:8px}
 .detail .door-code{margin:6px 0;padding:7px 10px}
 .detail .door-code strong{font-size:25px;line-height:1.2}
 .detail .facts{margin:5px 0;font-size:13px;gap:2px 12px}
 .detail .story{margin:8px 0}
 .detail .host-note{font-size:13px}
 .reading-door .map-notice{top:100px}
}

/* Full provider credit remains readable on narrow phones, including load failures. */
.leaflet-control-attribution{max-width:100%;white-space:normal;text-align:right;line-height:1.25!important}
#map,.leaflet-container{background:#fbf3e9}
