.live-box{padding:16px;border:1px solid #c6e2d9;border-radius:12px;background:#f1faf6;margin:18px 0}.live-title{display:flex;align-items:center;justify-content:space-between}.live-row{display:flex;flex-wrap:wrap;gap:5px 12px;padding:10px 0;border-top:1px solid #dbece6;font-size:13px}.live-row span{color:#50666d}.live-row strong{width:100%}.live-box .button{margin-top:10px}.subscription-item{padding:14px;border:1px solid #d8e8e2;border-radius:12px;margin:10px 0}.subscription-item p{font-size:13px;color:#61777e}.subscribe-place{margin:10px 0 4px;color:#067e7a;font-size:13px}.event-description{border:1px solid #e7ecee;border-radius:10px;padding:12px;margin:14px 0}.event-description summary{cursor:pointer;font-weight:600;font-size:14px;min-height:28px}.mobile-dock{display:none}.detail-head{position:sticky;top:0;background:#fff;z-index:3}#dialogBody select{min-height:44px;width:100%;max-width:100%;border:1px solid #cedfdf;border-radius:9px;padding:10px;background:white;color:#18303a}.detail-actions{flex-wrap:wrap}#deleteAccountButton{margin-top:10px}pre{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:680px){
 html,body{height:100%;overflow:hidden}.app-header{height:64px;padding:0 12px}.app-header .site-brand-logo{width:150px}.app-header .main-nav{display:none}.app-header #createButton{display:none}.header-actions{gap:4px}#authButton{max-width:112px;min-height:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button{min-width:44px;min-height:44px}
 .workspace{height:calc(100dvh - 128px - env(safe-area-inset-bottom));display:flex;flex-direction:column;overflow:hidden}.map-area{order:0;position:relative;inset:auto;visibility:visible;pointer-events:auto;display:block!important;flex:0 0 40%;height:40%;min-height:180px;width:100%}.sidebar{order:1;display:flex;flex:1;min-height:0;width:100%;border-top:1px solid #dce6e3}.sidebar-top{padding:10px 14px 0;flex-shrink:0}.sidebar-top>.eyebrow,.sidebar-top>h1,.sidebar-top>p{display:none}.sidebar-top .mobile-shortcuts{display:flex;gap:14px;margin-top:4px}.mobile-shortcuts .text-button{min-height:32px;font-size:12px}.search-form{height:44px}.search-form input{font-size:16px}.subscribe-place{margin:4px 0;min-height:32px;font-size:12px}.list-tabs{margin-top:0}.list-tabs button{min-height:40px}.list-summary{padding:7px 0}.sidebar-footer{display:flex;gap:12px;padding:6px 14px;flex-shrink:0;font-size:10px}.sidebar-footer>span,.sidebar-footer #aboutButton{display:none}.snap-list{overflow:auto;overscroll-behavior:contain;padding:0 12px 12px}.snap-card{padding:14px;margin-bottom:10px}.snap-card h2{font-size:17px;line-height:1.35}.card-bottom{flex-wrap:wrap;gap:6px}
 .mobile-map .map-area{flex:1;height:auto}.mobile-map .sidebar{display:none}.map-top{top:8px;left:8px;right:8px}.category-bar{max-width:100%;overflow-x:auto;padding:4px;flex-wrap:nowrap;scrollbar-width:none}.category{min-height:38px;flex-shrink:0;font-size:12px}.map-controls{top:65px;right:10px;bottom:auto}.map-control{width:44px;height:44px}.map-bottom{bottom:4px;left:6px;right:6px}.map-caption{font-size:10px;padding:6px}.map-caption .divider,.map-caption>span:last-child{display:none}.leaflet-control-zoom{margin:0 8px 0 0!important}.leaflet-control-zoom a{width:42px!important;height:42px!important;line-height:42px!important}.leaflet-bottom.leaflet-right{bottom:28px}.leaflet-control-attribution{max-width:75vw;font-size:9px}
 .mobile-dock{display:flex;position:fixed;bottom:0;left:0;right:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:10px;background:#fff;border-top:1px solid #dae5e3;z-index:1200;height:calc(64px + env(safe-area-inset-bottom))}.mobile-dock>.button{flex:1;min-width:0;min-height:46px;padding:10px 8px;font-size:13px}.mobile-dock #mobileToggle{display:flex;position:static;inset:auto;transform:none;margin:0;background:#e6f4ef;color:#12665d;box-shadow:none;border-color:#d0e8df}
 .detail-panel{position:absolute;inset:auto 0 0;width:100%;height:74%;max-height:none;border-radius:18px 18px 0 0;box-shadow:0 -8px 35px #16313c30;z-index:1000;overflow-y:auto;overscroll-behavior:contain}.detail-content{padding:16px}.detail-content>h2{font-size:23px}.detail-head{padding:8px 14px;min-height:48px}.detail-open .leaflet-control-zoom{display:none}.reply-section{padding:16px}.detail-actions .button.primary{flex:1;min-height:46px}.live-box{margin:12px 0;padding:12px}.event-description .description{font-size:14px}.pick-banner{top:62px;left:8px;right:8px;font-size:13px;padding:8px}.toast{bottom:calc(76px + env(safe-area-inset-bottom));font-size:13px;max-width:calc(100vw - 24px)}
 dialog{width:calc(100vw - 16px);max-width:none;max-height:calc(100dvh - 24px);border-radius:16px;margin:auto;padding:0}.dialog-header{position:sticky;top:0;background:white;z-index:5;padding:12px 16px}.dialog-header h2{font-size:20px}#dialogBody{padding:18px 16px}input,textarea,select{font-size:16px!important}.form-row{grid-template-columns:1fr 1fr;gap:10px}.profile-links .button{min-height:44px}.stats-row{gap:6px}
}
@media(max-width:360px){.app-header .site-brand-logo{width:130px}.form-row{grid-template-columns:1fr}.community-label{font-size:9px}.card-top{flex-wrap:wrap;gap:4px}}
@media(max-height:500px) and (max-width:900px){dialog{max-height:95dvh}.detail-panel{height:90%}}

.discovery-tools{display:flex;align-items:center;gap:10px}#mobileReply{display:none}
@media(max-width:680px){.discovery-tools{gap:12px}.sidebar-top .mobile-shortcuts{margin:0;gap:10px}.mobile-shortcuts .text-button{font-size:12px;gap:4px;white-space:nowrap}.mobile-shortcuts svg{width:16px;height:16px}.subscribe-place{font-size:12px;margin:0;min-height:36px;white-space:nowrap}.detail-open:not(.detail-expired) #mobileCreate{display:none}.detail-open:not(.detail-expired) #mobileReply{display:flex}}
@media(max-width:360px){.map-area{flex-basis:34%;height:34%;min-height:160px}.list-summary{padding:3px 0}.list-summary .text-button{min-height:32px}.snap-card{padding:12px}.snap-card h2{font-size:16px}}

/* Launch polish: consistent focus, status hierarchy and keyboard-sized viewports. */
:focus-visible{outline:3px solid #067e7a;outline-offset:3px}
button:disabled{cursor:wait;opacity:.65}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
.freshness{padding:8px 0 12px;border-bottom:1px solid #c6e2d9;margin-bottom:12px}
.freshness-status{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.5;color:#14594e}
.freshness-status svg{width:20px;height:20px;flex-shrink:0}
.live-title{font-size:16px}.live-box .field-hint{line-height:1.5;color:#50646b}
#clearSearch{flex-shrink:0}.search-form input{min-width:0}
.search-results{max-height:35dvh;overflow:auto;overscroll-behavior:contain}
.place-result{min-height:44px;text-align:left}
#dialogBody{overflow-wrap:anywhere}.dialog-header{gap:12px}.dialog-header h2{min-width:0}#closeDialog{flex-shrink:0}
.form-error{line-height:1.5}.field-hint{color:#546a73}
@media(max-width:680px){.mobile-shortcuts .text-button,.subscribe-place{min-height:44px}.sidebar-footer a{display:inline-flex;align-items:center;min-height:32px}.sidebar-footer #aboutButton{display:inline-flex;align-items:center;font-size:11px;min-height:32px}.sidebar-footer{gap:10px;justify-content:space-between}.freshness .button{min-height:44px}.search-form{gap:0}.detail-panel{scroll-padding-top:64px}}
@media(max-width:680px) and (max-height:600px){.workspace{overflow:auto}.map-area{min-height:140px;flex-basis:140px}.sidebar{min-height:230px}.detail-panel{position:fixed;top:64px;bottom:64px;height:auto}.map-top .category{min-height:36px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Replies first; compact secondary actions and unmistakable archive state. */
.answer-main{display:flex;width:100%;min-height:52px;margin:18px 0 10px;justify-content:center;font-size:16px;line-height:1.35;gap:10px}.answer-main svg{flex-shrink:0;width:22px;height:22px}
.quick-updates{margin:0 0 16px}.quick-update-buttons{display:flex;gap:8px;flex-wrap:wrap}.quick-update-buttons .button{flex:1;min-height:44px;padding:9px 8px;font-size:12px;gap:5px;background:#f5f8f8;border:1px solid #dce5e5;color:#38565d;box-shadow:none;white-space:nowrap}.quick-update-buttons svg{width:16px;height:16px;flex-shrink:0}.quick-updates .freshness-status{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;margin:8px 0;font-size:12px}.quick-updates .freshness-status .text-button{font-size:12px;min-height:32px}.quick-status{margin-top:8px;font-size:13px}.quick-status summary{cursor:pointer;min-height:36px;display:list-item;line-height:36px;color:#50646b}
.list-tabs{display:flex;gap:6px;border-bottom:0;padding:5px;background:#f2f5f5;border-radius:12px;margin-bottom:4px}.list-tabs button{flex:1;min-height:44px;padding:8px 6px;border:0!important;border-radius:8px;font-size:13px;color:#53666d;white-space:nowrap}.list-tabs button::after{display:none!important}.list-tabs button[data-mode="live"]{font-weight:800;color:#99400f}.list-tabs button.active{background:#183a43;color:white;box-shadow:0 2px 6px #16313c18}.list-tabs button[data-mode="live"].active{background:#b9470d;color:white}.now-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:6px;vertical-align:middle}.list-tabs button[data-mode="archive"].active{background:#655479;color:white}
.archive-notice{display:flex;flex-direction:column;gap:5px;margin:10px 0 6px;padding:12px;border-radius:10px;border:1px solid #d5c7e2;background:#f5f0fa;color:#4f3c63;font-size:12px}.archive-notice strong{font-size:14px}.archive-notice .button{min-height:40px;margin-top:5px;font-size:13px}.archive-notice[hidden]{display:none}
@media(max-width:680px){.answer-main{font-size:15px;min-height:52px}.quick-update-buttons .button{font-size:12px}.list-tabs{margin-top:3px}.list-tabs button{min-height:44px}.view-archive .map-area{flex-basis:25%;height:25%;min-height:140px}.archive-notice{padding:9px;margin:6px 0 3px;gap:3px}.archive-notice>span{display:none}.archive-notice .button{min-height:40px;margin:3px 0 0}.view-archive.mobile-map .map-area{flex:1;height:auto}}
/* Personal archive and one place-management entry, touch-friendly controls. */
.mine-period{display:grid;gap:6px;font-size:12px;margin:12px 0;color:#53666d}.mine-period[hidden]{display:none}.mine-period select{width:100%;min-height:44px;border:1px solid #cddbdc;border-radius:9px;padding:8px;background:#fff;color:#183a43}
.place-card{display:grid;gap:8px;padding:16px 0;border-bottom:1px solid #dce5e5}.place-name{justify-content:flex-start;text-align:left;font-size:17px;font-weight:700;min-height:44px}.place-name svg:last-child{margin-left:auto}.place-notify{justify-content:flex-start;min-height:44px}.place-card small{color:#53666d}.place-remove{justify-self:end;min-height:44px}.saved-place-list{margin-bottom:22px}#placeOptions{display:grid;gap:16px}#placeOptions[hidden]{display:none}.list-tabs button{min-height:46px}.detail-head{position:sticky;top:0;background:#fff;z-index:3}.detail-content .answer-main{width:100%}
@media(max-width:680px){.discovery-tools{flex-wrap:wrap;gap:4px 12px}.subscribe-place{min-height:44px}.sidebar-top h1{font-size:26px;line-height:1.1}.sidebar-top>p{margin:8px 0 12px}.sidebar-top .webcam-discovery{min-height:36px}.detail-open .map-area{height:100%;flex:1}.detail-open .sidebar{display:none}.detail-panel{height:calc(100% - 24px);max-height:calc(100% - 24px)}.mine-period{margin:6px 0}.mine-period select{font-size:16px}.icon-button{min-width:44px;min-height:44px}.place-card .button{white-space:normal;text-align:left}dialog{max-height:calc(100dvh - 16px);overflow-y:auto}.dialog-header{position:sticky;top:0}.mobile-dock{gap:8px}.category{min-height:44px}.map-top{right:8px}.detail-open .map-top{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
