:root{color-scheme:light;--blue:#4565f5;--ink:#19243a;--muted:#7c879b;--line:#e9edf4;font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;color:var(--ink);background:#fff;font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums}*{box-sizing:border-box}body{margin:0;letter-spacing:-.025em}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:#fff;border:1px solid var(--line);border-radius:8px;min-height:44px;padding:8px 12px}button:hover{background:#f4f6fb}button:disabled{opacity:.55;cursor:wait}a{color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #92a8ff;outline-offset:2px}[hidden]{display:none!important}h1,h2,p{margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:absolute;top:-70px;left:14px;background:#fff;z-index:30;padding:10px}.skip:focus{top:8px}.public-app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.public-header{height:66px;flex:none;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 25px;gap:12px}.public-brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;white-space:nowrap}.public-brand strong{font-size:20px;font-weight:800;letter-spacing:-.04em}.brand-icon{width:29px;height:29px;background:var(--blue);color:#fff;border-radius:9px;display:grid;place-items:center;font-size:22px;font-weight:750}.public-brand small{margin-left:10px;color:var(--muted);font-size:12px}.header-actions{display:flex;align-items:center;gap:15px}.quiet-button{background:transparent;border:0;font-size:12px;color:var(--muted);padding:5px 0}.admin-link{font-size:12px;color:#8a94a5;text-decoration:none;min-height:44px;display:flex;align-items:center}.public-workspace{flex:1;min-height:0;position:relative;display:grid;grid-template-columns:385px minmax(0,1fr)}.public-panel{display:flex;flex-direction:column;background:#fff;border-right:1px solid #dfe5ef;min-height:0;min-width:0;z-index:4}.public-search{padding:20px 22px 15px;background:#fff;z-index:9}#station-search-form{position:relative}.search-box{height:50px;border:2px solid var(--blue);border-radius:11px;display:flex;align-items:center;gap:10px;padding:0 5px 0 13px;background:#fff}.search-box svg{width:19px;height:19px;flex:none;fill:none;stroke:var(--blue);stroke-width:2}.search-box input{width:100%;min-width:0;border:0;outline:0;font-size:17px;font-weight:650;color:#27334a;background:transparent;padding:8px 0}.search-box button{border:0;white-space:nowrap;color:var(--blue);font-size:12px;min-height:40px;padding:6px 10px}.scope-controls{display:flex;align-items:center;gap:7px;margin-top:13px}.scope-controls>button,.zone-control select{font-size:12px;border:1px solid #e0e6f1;border-radius:8px;min-height:42px;background:#fff;padding:8px 10px;white-space:nowrap;color:#40516c;max-width:142px}.scope-controls [aria-pressed=true]#station-scope{background:#edf1ff;border-color:#e3e9ff;color:var(--blue);font-weight:750}.scope-controls #boundary-toggle[aria-pressed=false]{color:#929bad;background:#f4f6f9}.zone-control{min-width:0}.zone-control select{width:100%;text-overflow:ellipsis;padding-right:20px}.search-results:not(:empty){position:absolute;top:calc(100% + 7px);left:0;right:0;background:#fff;padding:7px;border:1px solid #dce3ee;border-radius:11px;box-shadow:0 12px 30px #2639541a;max-height:300px;overflow:auto;z-index:20}.search-results button{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;text-align:left;gap:10px}.search-results small{font-size:11px;color:var(--muted)}.search-results p{font-size:12px;padding:14px}.results-heading{padding:3px 22px 15px;border-bottom:1px solid var(--line)}.results-heading h1{font-size:23px;font-weight:780;line-height:1.4;letter-spacing:-.055em}.result-context{margin-top:7px;display:flex;align-items:center;gap:8px;justify-content:space-between}#station-state{font-size:11px;color:#8d96a6}#station-state.published:before{content:'';display:inline-block;width:6px;height:6px;background:#2aaf83;border-radius:100%;margin-right:5px}#refresh{min-height:30px;font-size:11px}#load-state{font-size:10px;color:#8c96a8;line-height:1.6;margin-top:3px;overflow-wrap:anywhere}#load-state.error{color:#a34046}.public-list{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#d9dfeb transparent}.public-place{display:flex;gap:12px;align-items:flex-start;position:relative;width:100%;border:0;border-bottom:1px solid #edf0f6;border-radius:0;padding:20px 22px 18px;text-align:left;background:#fff}.public-place[aria-pressed=true]{background:#f1f4ff;box-shadow:inset 3px 0 var(--blue)}.public-place:hover{background:#f7f9ff}.rank-number{width:25px;flex:none;font-weight:780;font-size:19px;line-height:1.4;text-align:center;color:#8291ad}.public-place:first-child .rank-number{color:var(--blue)}.place-description{flex:1;min-width:0}.place-description strong{display:block;font-size:16px;font-weight:760;line-height:1.45;overflow-wrap:anywhere}.place-address{display:block;font-size:10px;line-height:1.5;color:#8691a4;margin-top:7px;overflow-wrap:anywhere}.place-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:10px;line-height:1.5;color:#8b96a8}.zone-pill{display:inline-block;font-size:10px;padding:2px 6px;background:#f0f3f7;color:#66758d;border-radius:4px;white-space:nowrap}.place-score{color:var(--blue);font-size:24px;font-weight:800;letter-spacing:-.045em;line-height:1.1;white-space:nowrap;padding-top:2px;min-width:68px;text-align:right}.place-score>small{font-size:13px}.place-score>span{display:block;color:#909bad;font-size:10px;letter-spacing:-.02em;font-weight:500;margin-top:8px}.public-list-note{padding:11px 20px;font-size:10px;line-height:1.65;color:#8b96a8;border-top:1px solid var(--line);background:#fff;flex:none}.public-list-note button{border:0;padding:0;min-height:28px;font-size:10px;color:#7889a5;text-decoration:underline}.public-empty{padding:35px 25px;line-height:1.8}.public-empty h2{font-size:20px;line-height:1.5;font-weight:730;margin-bottom:13px}.public-empty p{font-size:13px;color:var(--muted);margin:10px 0 18px}.public-empty button{color:var(--blue);font-size:13px}.empty-icon{display:block;color:#adb8cd;font-size:35px;margin-bottom:20px}.public-map{min-height:0;min-width:0;position:relative;overflow:hidden;background:#f4f6fa}.map-canvas{position:absolute;inset:0;overflow:hidden;display:flex;min-width:0;min-height:0}.map-background{position:absolute;inset:0}.map-frame{display:block;width:100%;height:100%;flex:1;touch-action:none;overflow:hidden;background:#f5f7fa}.map-canvas>.map-frame{position:relative}.map-frame.provider-overlay{position:absolute;left:0;top:0;background:transparent;pointer-events:none}.provider-overlay .map-zone,.provider-overlay .candidate,.provider-overlay .cluster{pointer-events:auto}.map-zone{fill:#ccd7ff;fill-opacity:.2;stroke:none;cursor:pointer;fill-rule:evenodd}.map-zone.chosen{fill:#8da5ff;fill-opacity:.32}.zone-divider{fill:none;stroke:#647c9e;stroke-width:1.5;stroke-opacity:.85;pointer-events:none;vector-effect:non-scaling-stroke}.zone-divider.chosen{stroke:var(--blue);stroke-width:3}.territory{fill:none;stroke:#385371;stroke-width:2;pointer-events:none;vector-effect:non-scaling-stroke}.reference-circle{display:none}.road-edge{fill:none;stroke:#dfe4ec;stroke-width:7;stroke-linecap:round}.road-edge.major{stroke:#ded9c4;stroke-width:15}.road{fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round}.road.major{stroke:#fff4d5;stroke-width:12}.road-label{font-size:11px;fill:#8995a7;paint-order:stroke;stroke:#fff;stroke-width:4;pointer-events:none}.zone-map-label{fill:#506787;font-size:13px;font-weight:700;pointer-events:none;paint-order:stroke;stroke:#f9fbff;stroke-width:4}.station-dot{fill:#2ead87;stroke:white;stroke-width:2;pointer-events:none}.station-name{font-size:14px;fill:#344e70;font-weight:750;paint-order:stroke;stroke:#fff;stroke-width:4;pointer-events:none}.candidate{fill:#5272f4;stroke:#fff;stroke-width:3;cursor:pointer;filter:drop-shadow(0 2px 2px #25446c26)}.candidate.chosen{fill:#243b9d;stroke:#fff;stroke-width:4}.marker-label{fill:#fff;text-anchor:middle;font-size:14px;font-weight:800;pointer-events:none}.cluster circle{fill:var(--blue);stroke:white;stroke-width:2}.cluster text{fill:#fff;text-anchor:middle;font-size:12px;pointer-events:none}.hide-boundaries .map-zone{fill:transparent}.hide-boundaries .zone-divider,.hide-boundaries .territory,.hide-boundaries .zone-map-label{display:none}.map-top{position:absolute;z-index:2;top:20px;left:20px;max-width:calc(100% - 94px);pointer-events:none}#map-scope{display:inline-block;background:#ffffffed;border:1px solid #e2e8f0;border-radius:8px;padding:10px 13px;font-size:12px;color:#53627c;box-shadow:0 4px 18px #243f6010}.map-controls{position:absolute;z-index:2;right:20px;top:20px;display:flex;flex-direction:column;background:#fff;box-shadow:0 5px 20px #1d3c6215;border:1px solid #dfe6f0;border-radius:10px;overflow:hidden}.map-controls button{border:0;border-radius:0;width:43px;height:43px;min-height:43px;font-size:22px;padding:0}.map-controls button+button{border-top:1px solid #edf0f5}.map-controls #reset-map{height:35px;min-height:35px;font-size:10px}.map-information{position:absolute;left:14px;bottom:34px;z-index:2;background:#fffffff2;border-radius:6px;display:flex;align-items:center;gap:6px;padding:7px 10px;font-size:9px;color:#77869e;max-width:calc(100% - 28px);flex-wrap:wrap;pointer-events:none}.legend-line{display:inline-block;width:15px;height:2px;background:#637b9b}.map-credit{position:absolute;left:14px;bottom:7px;padding:2px 4px;border-radius:3px;background:#ffffffcf;font-size:8px;color:#8794a7;z-index:2;pointer-events:none}.background-active .map-credit{left:125px}.map-empty{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:#8d98aa;background:#f4f7fb}.public-detail{position:absolute;z-index:7;left:403px;bottom:22px;width:350px;max-height:calc(100% - 40px);overflow:auto;background:#fff;border:1px solid #dfe6f0;box-shadow:0 14px 45px #233e6524;border-radius:16px;padding:24px}.public-detail #close-detail{position:absolute;right:11px;top:10px;border:0;font-size:24px;color:#929fb3;width:40px;padding:0}.detail-rank{font-size:12px;color:var(--blue);font-weight:700;margin:6px 20px 10px 0}.public-detail h2{font-size:24px;font-weight:780;line-height:1.4;letter-spacing:-.045em;padding-right:9px}.detail-address{font-size:12px;color:#7d8a9e;line-height:1.7;margin-top:8px;overflow-wrap:anywhere}.detail-score{background:#f1f5ff;border-radius:11px;padding:18px;margin:21px 0 15px}.detail-score>p:first-child{font-size:11px;color:#6e7f9d;margin-bottom:9px}.detail-score strong{font-size:39px;color:var(--blue);line-height:1.15;font-weight:800;letter-spacing:-.04em}.detail-score strong span{font-size:22px}.detail-counts{font-size:11px;color:#617592;margin-top:10px}.detail-source,.detail-limitation{font-size:10px;color:#8995a8;line-height:1.7}.detail-limitation{margin-top:7px}.naver-link{display:flex;align-items:center;justify-content:center;min-height:47px;padding:10px 16px;background:var(--blue);color:#fff;border-radius:10px;text-decoration:none;font-size:13px;font-weight:700;margin-top:18px}.sheet-toggle,.detail-grip{display:none}dialog{border:1px solid #dce3ef;border-radius:18px;padding:30px;width:min(92vw,550px);max-height:86dvh;overflow:auto;color:var(--ink);box-shadow:0 18px 60px #1d315c2b}dialog::backdrop{background:#182b4f55}dialog h2{font-size:23px;margin:5px 35px 18px 0}dialog p,dialog li{font-size:13px;color:#78879e;line-height:1.9;margin:12px 0}#method-close{position:absolute;top:12px;right:12px;border:0;font-size:24px;width:40px;padding:0}
@media(max-width:1050px) and (min-width:721px){.public-workspace{grid-template-columns:340px minmax(0,1fr)}.public-detail{left:354px;width:min(340px,calc(100% - 369px))}.public-search{padding:18px 17px 14px}.results-heading{padding-left:17px;padding-right:17px}.results-heading h1{font-size:21px}.public-place{padding:18px 15px;gap:8px}.place-description strong{font-size:14px}.scope-controls{gap:5px}.scope-controls>button,.zone-control select{padding:8px;font-size:11px}.public-brand small{display:none}}
@media(max-width:720px){body{--sheet-height:38dvh;--search-height:112px}body[data-sheet=expanded]{--sheet-height:calc(100dvh - 192px - env(safe-area-inset-top))}body[data-sheet=mini]{--sheet-height:115px}body[data-detail=true]{--sheet-height:min(440px,56dvh)}.public-header{height:calc(58px + env(safe-area-inset-top));padding:0 16px;padding-top:env(safe-area-inset-top);gap:5px}.brand-icon{width:24px;height:24px;font-size:18px;border-radius:7px}.public-brand{gap:7px}.public-brand strong{font-size:17px}.public-brand small{display:none}.header-actions{gap:12px}.header-actions .quiet-button{font-size:10px}.admin-link{font-size:10px}.public-workspace{display:block;isolation:isolate}.public-search{position:absolute;left:0;right:0;top:0;padding:9px 14px 11px;background:linear-gradient(#fff 93%,#ffffff00);height:var(--search-height);z-index:11}.search-box{height:45px;padding-left:12px;gap:9px}.search-box input{font-size:16px}.search-box button{font-size:11px;min-height:38px;padding:6px 8px}.scope-controls{margin-top:8px;gap:7px}.scope-controls>button,.zone-control select{min-height:38px;padding:7px 11px;border-radius:18px;font-size:11px;max-width:150px}.public-panel{position:static;display:contents;border:0}.public-panel:after{content:'';position:absolute;left:0;right:0;bottom:0;height:var(--sheet-height);border-radius:23px 23px 0 0;background:#fff;box-shadow:0 -7px 26px #2c466f1c;z-index:5;pointer-events:none}.sheet-toggle{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;position:absolute;left:0;right:0;top:calc(100% - var(--sheet-height));z-index:8;height:30px;min-height:30px;border:0;border-radius:23px 23px 0 0;background:white;padding:6px 12px 0;touch-action:none;font-size:9px;color:#91a0b7}.sheet-grip,.detail-grip{height:4px;width:35px;background:#dbe1eb;border-radius:5px}.results-heading{position:absolute;left:0;right:0;top:calc(100% - var(--sheet-height) + 30px);height:80px;z-index:6;padding:8px 18px 9px;background:white}.results-heading h1{font-size:19px;line-height:1.25;letter-spacing:-.05em}.result-context{margin-top:2px}#station-state{font-size:10px}#refresh{font-size:10px;min-height:22px}#load-state{font-size:9px;line-height:1.4;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.public-list{position:absolute;left:0;right:0;top:calc(100% - var(--sheet-height) + 110px);bottom:calc(40px + env(safe-area-inset-bottom));z-index:6;background:white}.public-list-note{position:absolute;left:0;right:0;bottom:0;z-index:7;min-height:40px;font-size:8px;padding:6px 13px calc(6px + env(safe-area-inset-bottom));background:#fffffff7;line-height:1.5}.public-list-note button{font-size:8px;min-height:18px}.public-place{padding:15px 16px 14px;gap:8px}.rank-number{font-size:17px;width:22px}.place-description strong{font-size:14px;line-height:1.4}.place-address{font-size:10px;margin-top:5px}.place-meta{font-size:9px;margin-top:6px;gap:6px}.zone-pill{font-size:9px}.place-score{font-size:22px;min-width:64px}.place-score>small{font-size:12px}.place-score>span{font-size:9px;margin-top:7px}.public-map{position:absolute;top:var(--search-height);left:0;right:0;bottom:var(--sheet-height);min-height:20px}.map-top{left:12px;top:10px;max-width:calc(100% - 72px)}#map-scope{font-size:9px;padding:6px 9px}.map-controls{right:12px;top:10px}.map-controls button{width:35px;height:36px;min-height:36px;font-size:20px}.map-controls #reset-map{height:30px;min-height:30px;font-size:8px}.map-information{left:7px;bottom:24px;max-width:calc(100% - 14px);padding:3px 6px;font-size:8px;gap:4px}.map-credit{left:6px;bottom:3px;font-size:6px;max-width:calc(100% - 12px)}.background-active .map-credit{left:110px;font-size:6px}.public-detail{left:0;right:0;bottom:0;width:100%;height:var(--sheet-height);max-height:none;border:0;border-radius:23px 23px 0 0;padding:10px 22px calc(22px + env(safe-area-inset-bottom));z-index:10;box-shadow:0 -6px 25px #243e651a;overflow-y:auto}.detail-grip{display:block;margin:0 auto 17px}.public-detail #close-detail{top:22px;right:11px}.detail-rank{font-size:11px;margin:0 32px 9px 0}.public-detail h2{font-size:24px}.detail-address{font-size:11px;margin-top:6px}.detail-score{margin:15px 0 11px;padding:16px}.detail-score strong{font-size:35px}.detail-counts{font-size:11px;margin-top:7px}.detail-source,.detail-limitation{font-size:9px;line-height:1.6}.naver-link{min-height:45px;margin-top:14px;font-size:13px}body[data-detail=true] .sheet-toggle,body[data-detail=true] .results-heading,body[data-detail=true] .public-list,body[data-detail=true] .public-list-note{visibility:hidden}body[data-sheet=mini]:not([data-detail=true]) .public-list,body[data-sheet=mini]:not([data-detail=true]) .public-list-note{display:none}body[data-sheet=mini]:not([data-detail=true]) .results-heading{border-radius:0 0 0 0;height:80px}.public-empty{padding:20px 22px}.public-empty h2{font-size:18px}.public-empty p{font-size:12px}.empty-icon{font-size:27px;margin-bottom:10px}}
@media(max-width:360px){.public-header{padding:0 12px}.header-actions{gap:8px}.header-actions .quiet-button{font-size:9px}.public-brand strong{font-size:16px}.public-search{padding-left:11px;padding-right:11px}.scope-controls{gap:5px}.scope-controls>button,.zone-control select{font-size:10px;padding-left:9px;padding-right:9px;max-width:130px}.public-place{padding-left:12px;padding-right:12px;gap:6px}.place-score{font-size:20px;min-width:58px}.public-detail{padding-left:18px;padding-right:18px}.public-detail h2{font-size:22px}}
.results-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.results-title-row h1{min-width:0}
@media(min-width:721px){.results-title-row{justify-content:flex-start}}
.mobile-scope-control{display:none}
.platform-ratings{display:grid;gap:3px;margin-top:7px;font-size:12px;line-height:1.45;color:#63748d}
.external-rating-detail{padding:16px 0;margin-bottom:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.external-rating-detail h3{margin:0;font-size:13px}
.external-rating-detail .platform-ratings{font-size:13px;margin:10px 0}
.external-rating-detail p{font-size:10px;color:#78879e;line-height:1.7;margin-top:7px}
.kakao-link{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line);border-radius:8px;margin-top:12px;text-decoration:none;font-size:12px;color:var(--ink)}
/* Mobile: prioritize the readable list; the map can still be expanded. */
@media(max-width:720px){
 body{--public-header-height:calc(50px + env(safe-area-inset-top));--search-height:56px;--map-height:clamp(140px,23dvh,205px);--heading-height:50px;--note-height:36px}
 body,body[data-sheet=expanded],body[data-sheet=mini]{--sheet-height:calc(100dvh - var(--public-header-height) - var(--search-height) - var(--map-height))}
 body[data-sheet=expanded]{--map-height:68px}
 body[data-sheet=mini]{--map-height:calc(100dvh - var(--public-header-height) - var(--search-height) - 62px - env(safe-area-inset-bottom))}
 body[data-detail=true]{--sheet-height:min(520px,72dvh)}
 body:has(#load-state.error){--heading-height:86px}
 .public-header{height:var(--public-header-height);padding:env(safe-area-inset-top) 14px 0}
 .public-search{height:var(--search-height);padding:6px 12px;background:#fff}
 .search-box{height:44px}
 .scope-controls{display:none}
 .public-panel:after{border-radius:15px 15px 0 0}
 .sheet-toggle{position:static;display:flex;flex:none;width:40px;min-height:44px;height:44px;border:0;border-radius:6px;padding:0;font-size:25px;color:#526681;box-shadow:none;touch-action:manipulation}
 .sheet-grip{display:none}
 .results-heading{top:calc(100% - var(--sheet-height));height:var(--heading-height);padding:3px 14px;border-radius:15px 15px 0 0;touch-action:pan-x;user-select:none}
 .results-heading:before{content:'';position:absolute;top:3px;left:calc(50% - 15px);width:30px;height:3px;border-radius:3px;background:#dbe1eb;pointer-events:none}
 .results-title-row{height:44px;gap:6px}
 .results-heading h1{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
 .mobile-scope-control{display:block;flex:none;max-width:106px}
 .mobile-scope-control select{font:inherit;font-size:13px;min-height:44px;max-width:106px;padding:5px 4px;background:#fff;color:#435570;border:0;border-radius:6px}
 .header-actions{gap:8px}
 #refresh{display:flex;align-items:center;justify-content:center;min-width:28px;min-height:40px;font-size:21px;padding:0 2px;color:#7c8da7}
 #refresh>span,.result-context{display:none}
 #load-state:not(.error){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 #load-state.error{display:block;font-size:12px;white-space:normal;line-height:1.5;max-height:36px;overflow:auto;margin:0}
 .public-list{top:calc(100% - var(--sheet-height) + var(--heading-height));bottom:calc(var(--note-height) + env(safe-area-inset-bottom))}
 .public-place{padding:12px 14px;gap:9px}
 .rank-number{font-size:21px;width:23px}
 .place-description strong{font-size:18px;line-height:1.4}
 .place-address{font-size:12px;line-height:1.5;margin-top:6px;color:#748299}
 .place-meta{font-size:12px;line-height:1.5;margin-top:6px;gap:6px;color:#748299}
 .zone-pill{font-size:11px;padding:2px 5px}
 .place-score{font-size:28px;min-width:79px;padding-top:2px}
 .place-score>small{font-size:14px}
 .place-score>span{font-size:11px;margin-top:7px;color:#748299}
 .public-list-note{display:flex;align-items:center;justify-content:center;gap:5px;height:calc(var(--note-height) + env(safe-area-inset-bottom));min-height:0;padding:3px 10px calc(3px + env(safe-area-inset-bottom));font-size:10px;line-height:1.4}
 .public-list-note button{font-size:10px;min-height:28px;white-space:nowrap;flex:none}
 body[data-sheet=expanded] .map-controls,body[data-sheet=expanded] .map-information,body[data-sheet=expanded] .map-credit{display:none}
 body[data-sheet=mini]:not([data-detail=true]) .results-heading{height:var(--heading-height)}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Public home-screen entry stays within the existing compact header. */
.header-actions .install-button{border:1px solid #dce3ff;background:#f1f4ff;color:var(--blue);border-radius:10px;padding:8px 11px;font-size:12px;font-weight:700;white-space:nowrap;min-height:36px}.dialog-close{position:absolute;right:12px;top:12px;border:0;font-size:24px;width:40px;padding:0}.install-mark{display:inline-grid;place-items:center;background:var(--blue);color:#fff;width:44px;height:44px;border-radius:13px;font-size:32px;font-weight:700}.install-steps{padding-left:24px}.install-steps li{padding-left:5px;margin:16px 0}.install-steps strong,.install-steps span{display:block}.install-steps strong{font-size:15px;color:var(--ink)}.install-steps span{font-size:13px;margin-top:4px}.install-done{width:100%;border:0;background:var(--blue);color:#fff;font-weight:700;padding:13px;min-height:44px}.install-note{font-size:12px!important}
@media(max-width:720px){.header-actions .method-label{display:none}.header-actions .quiet-button{min-width:28px;font-size:15px}.header-actions .install-button{font-size:11px;padding:7px 9px}.header-actions{gap:6px}.public-header .public-brand{gap:6px}}

.available-station{width:100%;padding:24px;text-align:left;border:0;border-bottom:1px solid #e5e9f2;background:white;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.available-station strong{display:block;font-size:22px;color:#192331}.available-station small{display:block;margin-top:8px;color:#65718a}.available-station b{color:#4561f4}.available-station:hover{background:#f5f7ff}body[data-home=true] .scope-controls,body[data-home=true] .mobile-scope-control{visibility:hidden}body[data-home=true] .map-empty{display:block}body[data-home=true] .public-map{background:#f2f5fb}

/* Independent map link keeps the restaurant selection button accessible. */
.public-place-card{position:relative}
.public-place-card .place-score{min-width:94px}
.google-map-link{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:4px 7px;font-size:11px;font-weight:650;white-space:nowrap;text-decoration:none;color:#35445e;background:#fff}
.public-place-card>.google-map-link{position:absolute;right:15px;bottom:8px;width:94px}
.google-map-link:hover{background:#edf2ff;border-color:#ccd7fc}
.google-map-detail{font-size:14px;min-height:48px;margin-top:12px}
.google-map-note{font-size:11px;line-height:1.6;color:#748299;margin:7px 0 16px}
@media(max-width:360px){.public-place-card>.google-map-link{right:12px;width:87px;font-size:10px}.public-place-card .place-score{min-width:87px}}

/* Nearby station labels navigate the public view without rebuilding the map. */
.map-station-link{cursor:pointer;outline:none;pointer-events:auto}
.map-station-link .station-hit{fill:transparent;stroke:none;pointer-events:all}
.map-station-link .station-name{font-size:14px;stroke:none;fill:#284764}
.map-station-link .station-arrow{font-size:20px;fill:#647c9e;pointer-events:none}
.map-station-link:hover .station-dot,.map-station-link:focus-visible .station-dot{fill:#4565f5;stroke:#fff;stroke-width:2}
#whole-station{display:none}
@media(max-width:720px){#whole-station{display:block;flex:none;min-height:44px;padding:6px;font-size:12px;border:0;color:var(--blue)}}

/* Approved compact ranking: one inline detail panel, shared by rows and pins. */
.rank-column-heading{padding:12px 49px 5px 18px;text-align:right;font-size:12px;color:#778399}
.public-place-card{border-bottom:1px solid #e5e9f1}
.public-place{display:grid;grid-template-columns:24px minmax(0,1fr) auto 16px;align-items:start;gap:9px;padding:17px 14px 18px;border-bottom:0}
.public-place[aria-pressed=true]{background:#fff;box-shadow:none}
.public-place:hover{background:#f8f9ff}
.public-place .rank-number{color:var(--blue);font-size:23px;width:auto;line-height:1.3}
.place-description strong{font-size:18px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.place-meta{margin-top:7px;gap:6px;font-size:11px;color:#778299}
.zone-pill,.sample-pill{padding:2px 6px;background:#f2f3f8;color:#728099;border-radius:5px;font-size:11px}
.public-place-card .place-score{min-width:0;font-size:29px;line-height:1.2;padding:0;letter-spacing:-.045em}
.place-score>small{font-size:16px}
.place-chevron{width:16px;height:20px;fill:none;stroke:#3e5379;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-top:6px}
.public-place[aria-expanded=true] .place-chevron{transform:rotate(180deg)}
.public-place-card>.inline-detail{position:static;left:auto;right:auto;bottom:auto;width:auto;height:auto;max-height:none;overflow:visible;margin:0 14px 17px;padding:15px;border:0;border-radius:12px;background:#f3f3ff;box-shadow:none}
.inline-detail .detail-grip{display:none}
.inline-detail .detail-address{display:flex;align-items:flex-start;gap:10px;color:#59677f;font-size:13px;line-height:1.65;margin:0;padding:0 0 13px;border-bottom:1px solid #dfe2f1}
.detail-address>span{font-size:21px;line-height:1;flex:none;padding-top:2px;color:#485976}
.accordion-ratings{display:grid;gap:9px;padding:14px 0;border-bottom:1px solid #dfe2f1}
.platform-row{display:flex;align-items:center;gap:9px;font-size:13px;color:#55627c;line-height:1.6;overflow-wrap:anywhere}
.platform-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;border-radius:6px;font-size:19px;font-weight:850;line-height:1;letter-spacing:0}
.platform-mark.naver{background:#04c75a;color:white}
.platform-mark.kakao{background:#ffe345;color:#252d43;font-size:16px}
.platform-mark.google{background:transparent;color:#4285f4;font-size:24px}
.map-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding-top:14px}
.map-links>a,.map-link-unavailable{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:44px;height:auto;margin:0;padding:7px 4px;background:#fff;border:1px solid #dce1ed;border-radius:8px;text-decoration:none;color:var(--blue);font-size:13px;font-weight:650;white-space:nowrap}
.map-links>a:hover{background:#edf1ff;border-color:#b8c7f5}
.map-link-unavailable{color:#8d95a6;flex-wrap:wrap;font-size:11px;gap:3px}
.map-link-unavailable small{font-weight:400;font-size:10px}
.map-links .platform-mark{width:20px;height:21px;font-size:16px;border-radius:4px}
.map-links .platform-mark.google{font-size:22px}
.detail-evidence{font-size:10px;color:#77839a;margin-top:10px;line-height:1.6}
.detail-evidence summary{cursor:pointer;min-height:28px;display:list-item;width:fit-content;padding:5px 0}
.detail-evidence p{margin:5px 0;overflow-wrap:anywhere}
@media(max-width:720px){
 .public-place{padding:17px 15px;grid-template-columns:25px minmax(0,1fr) auto 16px;gap:9px}
 .place-description strong{font-size:18px}
 .public-place .rank-number{font-size:24px}
 .public-place-card .place-score{font-size:30px}
 .place-score>small{font-size:16px}
 .place-meta,.zone-pill,.sample-pill{font-size:11px}
 .public-place-card>.inline-detail{margin:0 15px 18px;padding:15px}
 .rank-column-heading{padding-top:10px;font-size:11px}
}
@media(max-width:360px){
 .public-place{padding-left:11px;padding-right:11px;grid-template-columns:21px minmax(0,1fr) auto 14px;gap:6px}
 .place-description strong{font-size:17px}
 .public-place-card .place-score{font-size:26px}
 .place-meta{gap:4px}
 .zone-pill,.sample-pill{font-size:10px;padding:2px 4px}
 .public-place-card>.inline-detail{margin-left:11px;margin-right:11px;padding:12px}
 .map-links{gap:5px}
 .map-links>a{font-size:11px;gap:4px}
}
/* One layout for all languages; original Korean remains accessible beneath names. */
.korean-original{display:block;font-weight:400;font-size:11px;line-height:1.4;color:#8490a3;margin-top:3px;letter-spacing:0}
.place-description strong .localized-primary{display:block;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.place-description strong:has(.localized-primary){display:block;-webkit-line-clamp:unset;overflow:visible}
.place-description strong .korean-original{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.results-heading h1 .korean-original{font-size:10px;margin-top:1px}
.address-text{flex:1;min-width:0;overflow-wrap:anywhere}.detail-address #copy-address{flex:none;max-width:90px;font-size:10px;padding:4px 6px;color:var(--blue);border:0;background:transparent;line-height:1.4;min-height:44px;text-align:left}
.copy-status{font-size:11px;color:#4d6689}.copy-status:empty{display:none}
.language-button{display:flex;align-items:center;gap:5px;border-radius:9px;white-space:nowrap;font-size:12px;padding:4px 9px}
.utility-menu{position:relative}.utility-menu>summary{min-width:36px;min-height:44px;display:grid;place-items:center;cursor:pointer;font-size:21px;list-style:none}.utility-menu>summary::-webkit-details-marker{display:none}
.utility-actions{display:none;position:absolute;right:0;top:44px;background:white;border:1px solid var(--line);box-shadow:0 8px 24px #26395418;border-radius:12px;padding:8px;min-width:180px;z-index:50}.utility-menu[open] .utility-actions{display:grid}.utility-actions>button{text-align:left;padding:9px 12px;min-height:44px;width:100%}
#language-dialog{max-width:min(420px,calc(100vw - 28px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:18px;color:var(--ink)}
#language-dialog h2{font-size:21px;padding-right:22px;margin-bottom:14px}#language-dialog p{font-size:11px;line-height:1.6;color:#7b869c;margin-top:12px}
#language-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}#language-options button{text-align:left;display:flex;align-items:center;justify-content:space-between;gap:8px}#language-options [aria-pressed=true]{background:#edf1ff;border-color:var(--blue);color:var(--blue)}
.public-header .header-actions{gap:6px}.search-box:has(input:placeholder-shown) input{font-size:14px}
@media(max-width:720px){.public-brand small{display:none}.public-header{padding-left:14px;padding-right:12px;gap:6px}.public-brand{gap:6px;min-width:0}.public-brand strong{font-size:17px;overflow:hidden;text-overflow:ellipsis}.public-header .header-actions{flex:none}.public-brand .brand-icon{flex:none}.public-list-note{font-size:9px;padding:7px 15px}.results-heading h1{font-size:20px}.results-title-row{gap:6px}.mobile-scope-control select{max-width:105px;font-size:12px}.public-search{padding-top:10px}.map-top{max-width:calc(100% - 80px)}#map-scope{overflow-wrap:anywhere}}
@media(max-width:360px){.public-brand strong{font-size:14px}.language-button{font-size:11px;padding:4px 6px}.public-place .place-score{font-size:25px}.public-place{grid-template-columns:20px minmax(0,1fr) auto 12px;gap:5px}.place-description strong{font-size:16px}.korean-original{font-size:10px}.mobile-scope-control select{max-width:85px}.detail-address #copy-address{max-width:65px;font-size:9px}}

/* Device-local shortlist: one header entry and independent row bookmarks. */
.saved-open{position:relative;display:grid;place-items:center;width:38px;height:40px;min-height:40px;padding:7px;border:0;background:transparent;color:#52637d;flex:none}
.saved-open svg,.save-place svg{width:20px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}
#saved-count{position:absolute;right:0;top:0;background:var(--blue);color:white;font-size:9px;line-height:15px;min-width:15px;border-radius:10px;padding:0 3px}
.save-place{position:absolute;right:3px;top:54px;width:40px;height:40px;min-height:40px;padding:9px;border:0;color:#8792a6;background:transparent;z-index:1}
.save-place[aria-pressed=true]{color:var(--blue)}.save-place[aria-pressed=true] svg{fill:#e6eaff}
.public-place{min-height:108px}.public-place .place-meta{padding-right:21px}.place-cuisine{display:block;margin-top:3px;color:#6d7c93;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.place-cuisine small{display:block;color:#919aab;font-size:10px}
.original-name{font-size:11px;color:#687b96;overflow-wrap:anywhere;line-height:1.6;margin-bottom:8px}
#saved-dialog{width:min(92vw,540px);padding:24px}#saved-dialog>p{font-size:12px;line-height:1.6;margin-top:0}.saved-card{position:relative;border-bottom:1px solid #e6eaf2;padding-right:38px}.saved-target{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;width:100%;border:0;background:transparent;padding:16px 0;color:var(--ink);overflow-wrap:anywhere}.saved-target strong{font-size:17px}.saved-target>span,.saved-target>small{font-size:12px;color:#718097}.saved-target .saved-current{color:var(--blue);margin-top:4px}.saved-remove{position:absolute;right:-3px;top:10px;width:40px;min-height:44px;border:0;padding:0;font-size:24px;color:#78879e}#saved-empty{padding:24px 0}#saved-empty h3{font-size:17px}
@media(max-width:360px){.public-header .header-actions{gap:5px}.saved-open{width:30px;padding:4px}.public-place{min-height:108px}.place-cuisine{font-size:11px}}

.save-status:empty{display:none}.save-status{position:fixed;z-index:40;left:50%;transform:translateX(-50%);bottom:calc(25px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px);width:max-content;padding:12px 16px;background:#263650;color:#fff;border-radius:10px;font-size:13px;line-height:1.5;box-shadow:0 4px 18px #26365030;pointer-events:none}

/* Approved walking-bowl brand. Basemap tiles and provider controls stay native. */
:root{--blue:#242824;--ink:#242824;--muted:#72766e;--line:#e7e8e1;--cream:#faf9f4;--lime:#d7ec8a;background:var(--cream)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[role=button]:focus-visible{outline:3px solid #718c27;outline-offset:3px}
button:hover{background:#f2f4e9}a{color:var(--ink)}
.public-header{height:82px;padding:0 26px;gap:24px;background:var(--cream);display:grid;grid-template-columns:220px minmax(220px,460px) auto;justify-content:space-between}
.public-brand{min-width:0}.brand-lockup{width:198px;height:66px;object-fit:contain;display:block}
.public-header .header-actions{justify-content:flex-end;gap:12px}
#desktop-search{min-width:0}#desktop-search .search-box{height:48px;border:1px solid #dfe2d6;background:white;border-radius:24px}
.search-box{border:1px solid #dfe2d6;border-radius:14px}.search-box input{color:var(--ink)}.search-box svg{stroke:var(--ink)}
#desktop-search .search-box input{font-size:15px}.search-results{border-color:var(--line)!important}
.saved-open{display:flex;gap:7px;width:auto;color:var(--ink)}.saved-open-label{font-size:12px;white-space:nowrap}#saved-count{background:var(--lime);color:var(--ink);right:-6px;top:-2px}
.language-button{border:0;background:transparent;color:var(--ink)}
.public-workspace{grid-template-columns:clamp(370px,34vw,520px) minmax(0,1fr)}
.public-panel{background:var(--cream);border-color:var(--line)}.public-search{padding:10px 20px 12px;background:var(--cream)}
.scope-controls{margin:0;gap:8px}.scope-controls>button,.zone-control select{border-color:var(--line);border-radius:22px;color:var(--ink);max-width:170px}
.scope-controls [aria-pressed=true]#station-scope{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.results-heading{padding:8px 20px 14px;border-color:var(--line);background:var(--cream)}.results-heading h1{font-size:26px;color:var(--ink)}
#station-state,#load-state{color:var(--muted)}#load-state.error{color:#9b3d31}
.public-list{padding:10px 12px 20px;scrollbar-color:#d4d9c8 transparent}
.rank-column-heading{padding:0 10px 8px;color:var(--muted);font-size:11px}
.public-place-card{margin-bottom:10px;background:white;border:1px solid var(--line);border-radius:16px;position:relative;overflow:hidden}
.public-place{background:transparent;padding:16px 12px;min-height:108px;grid-template-columns:34px minmax(0,1fr) auto 14px;gap:9px}
.public-place:hover,.public-place[aria-pressed=true]{background:#fcfdf6;box-shadow:none}
.public-place .rank-number{display:grid;place-items:center;background:#f0f1ec;color:var(--ink);height:40px;width:34px;border-radius:10px;font-size:21px;line-height:1}
.public-place-card:has(.public-place[aria-pressed=true]){border-color:#bed47f}
.public-place-card:first-of-type .rank-number,.public-place[aria-pressed=true] .rank-number{background:var(--lime);color:var(--ink)}
.place-description strong{font-size:18px;color:var(--ink)}.public-place-card .place-score{font-size:27px;color:var(--ink);letter-spacing:-.045em}.place-score>small{font-size:16px}
.place-chevron{stroke:var(--ink)}.place-meta,.place-cuisine,.original-name{color:var(--muted)}
.zone-pill,.sample-pill{background:#f0f1ed;color:#62685b;border-radius:10px;font-size:10px;line-height:1.6;padding:2px 6px}
.save-place{top:57px;right:7px;color:#72766e}.save-place[aria-pressed=true]{color:#526c15}.save-place[aria-pressed=true] svg{fill:var(--lime)}
.public-place-card>.inline-detail{margin:0 10px 12px;padding:13px;background:#f7f8f2;border-radius:12px}
.detail-address>span,.inline-detail .detail-address,.platform-row{color:#555c51}.inline-detail .detail-address{border-color:var(--line)}
.accordion-ratings{border-color:var(--line);gap:8px;padding:12px 0}.map-links>a{color:var(--ink);border-color:#dfe3d6}.map-links>a:hover{background:#f0f5e3;border-color:#b9cb8d}
.detail-evidence,.detail-source,.detail-limitation,.korean-original,.place-cuisine small{color:#73796d}
.public-list-note{background:var(--cream);border-color:var(--line);color:#70766a}.public-list-note button{color:var(--ink)}
.map-zone{fill:#d7ec8a;fill-opacity:.12}.map-zone.chosen{fill:#c8e573;fill-opacity:.2}.zone-divider{stroke:#9eae76;stroke-width:1.5}.zone-divider.chosen{stroke:#657b32}.zone-map-label{fill:#5f7334;stroke:#fafcf5}.territory{stroke:#788967}.legend-line{background:#788967}
.candidate{fill:#30362f}.candidate.chosen{fill:var(--lime);stroke:#6a812d}.candidate.rank-pin{stroke-width:1.5;filter:drop-shadow(0 2px 3px #27331c33)}.candidate.rank-pin.chosen{stroke-width:2.5}.marker-label{font-size:16px}.rank-pin.chosen+.marker-label{fill:#242824}
.cluster circle{fill:#30362f}.map-top #map-scope{background:#fffffff2;color:var(--ink);border-color:var(--line);border-radius:20px}.map-controls{border-color:var(--line)}.map-controls button{color:var(--ink)}
.map-information{color:#606954;background:#fffffff2}.map-credit{color:#536147}.available-station strong{color:var(--ink)}.available-station b{color:#586e24}.available-station:hover{background:#f2f6e8}
#mobile-navigation,#map-detail-summary{display:none}
.utility-actions,dialog{border-color:var(--line);color:var(--ink)}dialog p,dialog li{color:#68705f}dialog::backdrop{background:#24282455}
#language-options [aria-pressed=true]{background:var(--lime);color:var(--ink);border-color:var(--lime)}
.header-actions .install-button,.install-mark{background:var(--lime);color:var(--ink);border-color:var(--lime)}
#saved-dialog{background:var(--cream);width:min(94vw,600px);padding:26px}#saved-title{font-size:25px}.saved-card{padding:0 42px 0 16px;border:1px solid var(--line);border-radius:15px;background:white;margin-top:12px}.saved-target .saved-current{color:#526c24}.saved-target strong{color:var(--ink)}.saved-remove{right:4px}.saved-target>span,.saved-target>small{color:var(--muted)}
.save-status{background:#30362f;bottom:24px}
@media(min-width:721px) and (max-width:1050px){.public-header{grid-template-columns:170px minmax(200px,1fr) auto;gap:12px;padding:0 16px}.brand-lockup{width:160px;height:54px}.saved-open-label{display:none}.public-header .header-actions{gap:6px}.public-workspace{grid-template-columns:360px minmax(0,1fr)}.public-place{gap:6px;grid-template-columns:30px minmax(0,1fr) auto 12px}.public-place .rank-number{width:30px}.public-place-card .place-score{font-size:25px}}
@media(max-width:720px){
 .public-app{height:100dvh}.public-header{display:flex;justify-content:space-between;height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;gap:8px;flex-shrink:0}
 .brand-lockup{width:158px;height:54px}.public-header .header-actions{gap:3px}.saved-open{width:30px;padding:4px}.saved-open-label{display:none}.language-button{font-size:12px;padding:4px 6px}.utility-menu>summary{min-width:28px}
 #desktop-search{display:none}.public-workspace{display:block;flex:1;min-height:0;isolation:isolate;--search-height:60px;--heading-height:66px}
 .public-search{position:absolute;left:0;right:0;top:0;height:60px;padding:8px 12px;background:var(--cream);z-index:12}.search-box{height:44px;border-width:1px;border-radius:14px}.search-box input{font-size:15px}.search-box button{font-size:11px}
 .public-panel{display:contents}.public-panel:after{display:none}.scope-controls{display:none}
 .results-heading{position:absolute;top:60px;left:0;right:0;height:var(--heading-height);padding:5px 14px;background:var(--cream);border-radius:0;z-index:9;border-bottom:1px solid var(--line)}
 .results-heading:before{display:none}.results-title-row{height:48px;align-items:center;gap:6px}.results-heading h1{font-size:22px;white-space:normal;line-height:1.3}.mobile-scope-control select{color:var(--ink);background:transparent;max-width:100px}
 .sheet-toggle{font-size:20px;width:30px;min-height:44px;color:var(--ink)}
 .public-list{position:absolute;left:0;right:0;top:126px;bottom:38px;padding:10px 10px 20px;background:var(--cream);z-index:6}
 .public-list-note{position:absolute;left:0;right:0;bottom:0;height:38px;padding:4px 9px;font-size:9px;background:var(--cream);z-index:7}
 .public-place{padding:15px 10px;grid-template-columns:32px minmax(0,1fr) auto 12px;gap:7px;min-height:107px}.public-place .rank-number{width:32px;height:39px;font-size:21px}.public-place-card .place-score{font-size:27px}.place-description strong{font-size:18px}.place-meta{gap:4px;margin-top:6px}.zone-pill,.sample-pill{font-size:10px;padding:2px 5px}.save-place{top:56px;right:4px}.public-place .place-meta{padding-right:12px}
 .public-place-card>.inline-detail{margin:0 9px 12px;padding:12px}.map-links{gap:5px}.map-links>a{font-size:12px}
 .public-map{position:absolute;left:0;right:0;top:126px;bottom:0;min-height:0;visibility:hidden;pointer-events:none}
 body[data-view=map] .public-map{visibility:visible;pointer-events:auto}
 body[data-view=map] .public-list,body[data-view=map] .public-list-note{visibility:hidden;pointer-events:none}
 .map-top{top:10px;left:10px}.map-controls{top:10px;right:10px}.map-controls button{width:38px;min-height:38px;height:38px}
 .map-information{bottom:27px;font-size:8px;max-width:calc(100% - 12px)}.map-credit{bottom:4px}
 body[data-view=map] .public-map>.inline-detail{position:absolute;left:8px;right:8px;bottom:52px;top:auto;width:auto;height:auto;max-height:45dvh;overflow-y:auto;margin:0;padding:20px 15px 14px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 3px 24px #24282420;z-index:10}
 body[data-view=map] .public-map #detail-title{position:static;width:auto;height:auto;clip:auto;white-space:normal;overflow:visible;font-size:20px;margin:0;padding-right:30px}
 body[data-view=map] .public-map #detail-rank{display:none}body[data-view=map] .public-map #close-detail{top:4px;right:4px;font-size:25px;width:40px;height:40px;background:transparent;color:#73796d}
 body[data-view=map] #map-detail-summary{display:grid;grid-template-columns:1fr auto;position:relative;padding:7px 38px 12px 0;gap:3px;align-items:end}
 .map-summary-score{display:flex;flex-direction:column}.map-summary-score small{font-size:10px;color:var(--muted)}.map-summary-score strong{font-size:30px;line-height:1.2;color:var(--ink)}.map-summary-meta{grid-column:1/-1;font-size:11px;color:#72786c}.map-save{position:absolute;right:-4px;top:5px;background:transparent;border:0;padding:8px;width:40px;min-height:40px}
 .map-save svg{width:20px;height:24px;fill:none;stroke:var(--ink);stroke-width:1.7}.map-save[aria-pressed=true] svg{fill:var(--lime)}
 .public-map .inline-detail .detail-address{font-size:11px;padding-bottom:9px}.public-map .inline-detail .accordion-ratings{display:none}.public-map .inline-detail .map-links{padding-top:10px}.public-map .inline-detail .detail-evidence{margin-top:5px}
 #mobile-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:18px;flex-shrink:0;padding:7px 28px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff5;z-index:15}
 #mobile-navigation button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;background:transparent;border:0;border-radius:18px;padding:6px 3px;min-height:52px;font-size:11px;line-height:1.3;color:#686f61}
 #mobile-navigation button[aria-current=page]{background:var(--lime);color:var(--ink)}#mobile-navigation svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 #saved-dialog{max-width:100%;width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);margin:8px 0;padding:30px 18px;border-radius:22px}#saved-title{margin-top:10px;font-size:25px}#saved-empty{padding:45px 0}
 .save-status{bottom:calc(80px + env(safe-area-inset-bottom))}
 body:not([data-home=true]):has(#load-state.error) .public-workspace{--heading-height:94px}body:not([data-home=true]):has(#load-state.error) .public-list,body:not([data-home=true]):has(#load-state.error) .public-map{top:154px}
 #load-state.error{position:static;display:block;height:auto;max-height:38px;margin:0;font-size:12px;line-height:1.5;white-space:normal;overflow:auto}
 body[data-sheet=expanded] .map-controls,body[data-sheet=expanded] .map-information,body[data-sheet=expanded] .map-credit{display:revert}
 body[data-sheet=mini]:not([data-detail=true]) .public-list,body[data-sheet=mini]:not([data-detail=true]) .public-list-note{display:block}
 body[data-sheet=mini]:not([data-detail=true]) .results-heading{height:var(--heading-height)}
}
@media(max-width:360px){.brand-lockup{width:134px;height:46px}.public-header{padding-left:10px;padding-right:8px}.language-button{font-size:11px;padding:4px}.public-place{grid-template-columns:28px minmax(0,1fr) auto 12px;gap:5px;padding:14px 7px}.public-place .rank-number{width:28px;height:36px;font-size:19px}.place-description strong{font-size:16px}.public-place-card .place-score{font-size:25px}.public-place .place-meta{padding-right:0}.zone-pill,.sample-pill{font-size:9px}.save-place{right:0;top:60px}.mobile-scope-control select{font-size:11px;max-width:85px}.results-heading h1{font-size:20px}.map-links>a{font-size:11px}}

/* Short viewports reserve actual visible map room above the scrollable card. */
@media(max-width:720px){
 body[data-view=discover] .public-map,body[data-view=discover] .public-map *{visibility:hidden!important}
 body[data-view=map] .public-map>.inline-detail{bottom:44px;max-height:min(45dvh,calc(100% - 118px))}
}
@media(max-width:720px) and (max-height:500px){
 .public-header{height:calc(50px + env(safe-area-inset-top))}.brand-lockup{height:44px;width:134px}
 .public-search{height:50px;padding-top:3px;padding-bottom:3px}.results-heading{top:50px;--heading-height:44px;height:44px;padding-top:0;padding-bottom:0}.results-title-row{height:44px}.results-heading h1{font-size:18px}
 .public-list,.public-map{top:94px}.public-list-note{height:30px}.public-list{bottom:30px}
 #mobile-navigation{padding-top:3px;padding-bottom:3px}#mobile-navigation button{min-height:46px;padding-top:3px;padding-bottom:3px}
 body:has(#load-state.error) .results-heading{height:74px}body:not([data-home=true]):has(#load-state.error) .public-list,body:not([data-home=true]):has(#load-state.error) .public-map{top:124px}
}

.brand-lockup{max-width:100%}.station-name{fill:var(--ink)}

/* One map screen: the sheet occupies layout space, including the device safe area. */
.public-sheet{display:flex;flex-direction:column;flex:1;min-height:0}
.station-area{fill:#dce3d2;fill-opacity:.12;stroke:#8c9c79;stroke-width:1.2;stroke-dasharray:5 4;cursor:pointer;fill-rule:evenodd}
.station-area:focus-visible{outline:none;stroke:#526b24;stroke-width:3;fill-opacity:.28}
.provider-overlay .station-area{pointer-events:none}
@media(max-width:720px){
 body[data-layout=unified] .public-workspace{display:flex;flex-direction:column;overflow:hidden;--sheet-heading:78px}
 body[data-layout=unified] .public-panel{display:contents}
 body[data-layout=unified] .public-search{position:relative;order:0;top:auto;left:auto;right:auto;flex:0 0 60px;height:60px}
 body[data-layout=unified] .public-map{position:relative;order:1;top:auto;bottom:auto;left:auto;right:auto;flex:1 1 0;min-height:100px;visibility:visible!important;pointer-events:auto}
 body[data-layout=unified] .public-map *{visibility:visible}
 body[data-layout=unified] .public-sheet{position:relative;order:2;flex:0 0 auto;min-height:0;height:calc(var(--sheet-heading) + env(safe-area-inset-bottom));max-height:calc(100% - 160px);background:#fff;border-radius:22px 22px 0 0;box-shadow:0 -3px 18px #24282412;z-index:13;padding-bottom:env(safe-area-inset-bottom);overflow:hidden}
 body[data-layout=unified] .results-heading{position:relative;top:auto;left:auto;right:auto;height:auto;min-height:0;flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:14px 12px 8px;border-radius:22px 22px 0 0;background:#fff;touch-action:none;border-bottom:0}
 body[data-layout=unified] .results-heading:before{display:block;content:"";position:absolute;top:7px;left:calc(50% - 17px);width:34px;height:4px;border-radius:4px;background:#d3d7cb}
 body[data-layout=unified] .results-title-row{height:48px}
 body[data-layout=unified] .results-heading h1{font-size:22px}
 body[data-layout=unified] .public-list{position:relative;top:auto;bottom:auto;left:auto;right:auto;flex:1;min-height:0;visibility:visible;pointer-events:auto;overflow-y:auto;background:var(--cream)}
 body[data-layout=unified] .public-list-note{position:relative;left:auto;right:auto;bottom:auto;height:auto;min-height:32px;flex:none;visibility:visible;pointer-events:auto;background:#fff}
 body[data-layout=unified][data-sheet=mini] .public-list,body[data-layout=unified][data-sheet=mini] .public-list-note{display:none}
 body[data-layout=unified][data-sheet=expanded] .public-sheet{height:min(60dvh,calc(100% - 160px))}
 body[data-layout=unified][data-detail=true] .public-sheet{height:auto;max-height:calc(100% - 160px);overflow-y:auto}
 body[data-layout=unified][data-detail=true] .public-sheet>.results-heading,body[data-layout=unified][data-detail=true] .public-sheet>.public-list,body[data-layout=unified][data-detail=true] .public-sheet>.public-list-note{display:none}
 body[data-layout=unified] .public-sheet>.inline-detail{position:relative;top:auto;bottom:auto;left:auto;right:auto;width:100%;height:auto;max-height:none;min-height:0;flex:none;overflow:visible;padding:22px 18px 16px;margin:0;background:#fff;border:0;border-radius:22px 22px 0 0;box-shadow:none}
 body[data-layout=unified] .public-sheet #detail-title{position:static;clip:auto;width:auto;height:auto;overflow:visible;white-space:normal;font-size:20px;padding-right:32px;margin:0}
 body[data-layout=unified] .public-sheet #detail-rank{display:none}
 body[data-layout=unified] .public-sheet #close-detail{position:absolute;top:6px;right:8px;width:40px;height:40px;font-size:25px;background:transparent;color:#73796d}
 body[data-layout=unified] #map-detail-summary{display:grid;grid-template-columns:1fr auto;position:relative;padding:8px 38px 12px 0;gap:3px;align-items:end}
 body[data-layout=unified] .public-sheet .detail-address{font-size:12px;padding-bottom:10px}
 body[data-layout=unified] .public-sheet .accordion-ratings{display:none}
 body[data-layout=unified] .public-sheet .map-links{padding-top:10px}
 body[data-layout=unified] .public-sheet .detail-evidence{margin-top:6px}
 body[data-layout=unified] .map-information{bottom:27px}
 body[data-layout=unified] .map-credit{bottom:4px}
 body[data-layout=unified] .save-status{bottom:16px}
 body[data-layout=unified]:has(#load-state.error) .results-heading{height:auto;min-height:100px}
 body[data-layout=unified] #load-state.error{max-height:35px}
}
@media(max-width:720px) and (max-height:500px){
 body[data-layout=unified] .public-search{height:50px;flex-basis:50px}
 body[data-layout=unified] .public-workspace{--sheet-heading:64px}
 body[data-layout=unified] .public-map{min-height:80px}
 body[data-layout=unified] .public-sheet,body[data-layout=unified][data-detail=true] .public-sheet{max-height:calc(100% - 130px)}
 body[data-layout=unified][data-sheet=expanded] .public-sheet{height:calc(100% - 130px)}
 body[data-layout=unified] .results-heading{padding-top:10px}
 body[data-layout=unified] .results-heading h1{font-size:18px}
}

/* Native map clicks resolve the selected station and neighboring territories. */
.public-map .provider-overlay .map-zone{pointer-events:none}

/* Station headings may wrap in localized mobile layouts. */
@media(max-width:720px){
 body[data-layout=unified] .results-title-row{height:auto;min-height:44px;flex:1 0 100%}
 body[data-layout=unified] .results-heading{height:auto;min-height:0}
 body[data-layout=unified][data-sheet=mini] .public-sheet,body[data-layout=unified][data-sheet=mini] .results-heading{height:auto}
}

/* Expanded utility menus need readable labels, including on compact headers. */
.utility-actions{min-width:220px;max-width:calc(100vw - 32px)}
.utility-actions>button{font-size:14px;color:var(--ink);white-space:normal;overflow-wrap:anywhere}
.utility-actions #refresh{color:var(--ink);justify-content:flex-start;gap:8px;font-size:14px;padding:9px 12px;min-height:44px}
.utility-actions #refresh>span,.utility-actions .method-label{display:inline}

/* Category rankings share one verified survey and independent server ranks. */
.ranking-kind-tabs{display:flex;gap:6px;margin:8px 0 2px;padding:3px;background:#eef0e8;border-radius:24px;max-width:100%;width:fit-content}
.ranking-kind-tabs button{min-height:40px;border:0;border-radius:20px;padding:8px 18px;background:transparent;font-weight:650;font-size:14px;white-space:normal}
.ranking-kind-tabs [aria-selected=true]{background:var(--lime,#dce9b1);color:var(--ink);box-shadow:0 1px 3px #19243a12}
@media(max-width:720px){body[data-layout=unified][data-ranking-mode=split] .public-workspace{--sheet-heading:130px}.ranking-kind-tabs{margin-top:4px}.ranking-kind-tabs button{padding:8px 16px;font-size:13px}}

/* Keep publication limits visible beside the station category tabs. */
@media(max-width:720px){
 body[data-layout=unified][data-publication-mode=verified_subset] .result-context{display:block}
}

/* Small readability and touch refinements; retain the map/list and inline-detail layout. */
#station-state{font-size:13px;font-weight:550;line-height:1.55;color:#59624f}
.public-place{position:relative}
.public-place .place-cuisine{margin-top:5px}
.public-place .place-meta{margin-top:8px}
.sample-pill{color:#535b49}
.place-disclosure{position:absolute;top:8px;right:0;width:44px;height:44px;display:grid;place-items:center;justify-items:end;padding-right:6px;box-sizing:border-box}
.place-disclosure .place-chevron{width:18px;height:18px;margin:0;stroke-width:2.2}
.public-place-card:has(.public-place[aria-pressed=true]){border-color:#8d9e58}
.candidate.rank-pin.chosen{stroke-width:3}
.platform-row{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:start;gap:10px}
.platform-copy{display:grid;grid-template-columns:4em minmax(0,1fr);column-gap:8px;align-items:baseline;min-width:0}
.platform-name{font-size:inherit;font-weight:600}
.platform-value{min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){
 body[data-layout=unified] .result-context{display:block;margin:0;flex:1 1 120px;min-width:0}
 body[data-layout=unified] .ranking-kind-tabs{margin:0;flex:0 1 auto}
 body[data-layout=unified] .ranking-kind-tabs button{padding-left:12px;padding-right:12px}
 body[data-layout=unified] .public-list{padding-top:4px}
 body[data-layout=unified] .rank-column-heading{font-size:10px;line-height:1.4;padding-bottom:2px}
 body[data-layout=unified] #load-state.error{flex-basis:100%;width:100%}
 body[data-layout=unified] .sheet-toggle{width:44px;min-width:44px;height:44px;min-height:44px}
 .save-place{width:44px;height:44px;min-height:44px;padding:11px}
}

/* Platform facts belong to their expanded map buttons. */
.map-links>a,.map-links>.map-link-unavailable{flex-direction:column;flex-wrap:nowrap;gap:2px;padding:6px 4px;white-space:normal}
.map-link-title{display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;font-size:12px}
.map-link-facts{display:block;min-width:0;max-width:100%;color:#59624f;font-size:10px;font-weight:400;line-height:14px;text-align:center;overflow-wrap:anywhere;letter-spacing:0}
.map-link-search{font-size:10px;line-height:13px;font-weight:400;color:#59624f}
.map-link-score{font-size:11px;font-weight:600}.map-link-count{white-space:nowrap}

.detail-menu{border-top:1px solid var(--line);margin-top:10px;padding-top:10px;font-size:12px;color:#59624f}
.detail-menu summary{cursor:pointer;min-height:32px;display:list-item}
.detail-menu ul{padding-left:18px;margin:8px 0;line-height:1.7}
.detail-menu p{font-size:11px;line-height:1.6}
.menu-conditions{display:block;white-space:pre-line;font-size:11px;line-height:1.6}

.detail-menu{min-width:0;overflow-wrap:anywhere}

/* Mobile list disclosure stays in its card; only map pins open the detail sheet. */
@media(max-width:720px){
 .public-place-card>.inline-detail.links-only{margin:0 12px 12px;padding:0;background:transparent;border-radius:0}
 .public-place-card>.links-only #detail-title,.public-place-card>.links-only #detail-rank,.public-place-card>.links-only #map-detail-summary,.public-place-card>.links-only .detail-grip{display:none}
 .public-place-card>.links-only .map-links{margin:0;padding-top:10px;border-top:1px solid var(--line)}
 .public-place-card>.links-only .map-links>a,.public-place-card>.links-only .map-link-unavailable{min-height:44px}
}

/* Keep qualification next to the ranking it describes. */

/* Public help remains operable on short touch screens and restores its opener. */
#method-dialog #method-close,#install-dialog #install-close{position:sticky;top:0;right:auto;float:right;z-index:2;min-width:44px;min-height:44px;width:44px;height:44px;background:var(--cream,#fff);border-radius:10px}
 .map-controls #reset-map{width:auto;min-width:64px;height:44px;min-height:44px;padding:6px 10px;font-size:12px;line-height:1.3;white-space:nowrap}



/* Approved station explorer. All overrides are home-only. */
#home-intro,.home-overview{display:none}
#public-back{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #d7dcd3;border-radius:50%;background:transparent;color:var(--green,#264e3b)}
#public-back svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#public-back[hidden]{display:none}
#home-search-slot form{width:100%;position:relative}
#home-search-slot #search-button{font-size:12px;white-space:nowrap}
#home-search-slot .search-results{z-index:80;max-height:320px;overflow:auto}
body[data-home=true] #desktop-search,body[data-home=true] .public-search,body[data-home=true] .results-heading,body[data-home=true] .public-list-note{display:none!important}
.home-station-directory input{width:100%;box-sizing:border-box;border:1px solid #cdd7bf;border-radius:10px;background:#fff;padding:12px;margin:4px 0 14px;font:inherit;min-height:44px}
.home-station-directory .available-station,#home-nearby .available-station{padding:16px 12px;border:1px solid #dce2d3;border-radius:11px;background:#fffef9;margin-bottom:8px;min-height:65px}
.home-station-directory .available-station strong,#home-nearby .available-station strong{font-size:16px}
.home-station-directory .available-station b,#home-nearby .available-station b{font-size:11px;color:#526b32;white-space:nowrap}
.home-station-directory .available-station small,#home-nearby .available-station small{font-size:11px;line-height:1.6}
.home-no-match,.home-all-ready{font-size:13px;color:#727d6a;line-height:1.8;padding:16px 0}
#home-nearby h2{margin:4px 0 8px;font-size:15px;color:#354b36;letter-spacing:-.3px}
#home-nearby{padding:20px 18px;border-top:1px solid #e0e6d7}
#home-nearby>p{font-size:12px;line-height:1.7;color:#75806c;margin-bottom:14px}
body[data-home=true] .map-canvas{position:absolute;inset:0}
body[data-home=true] #map,body[data-home=true] #map-background,body[data-home=true] .map-top,body[data-home=true] .map-information,body[data-home=true] .map-credit,body[data-home=true] #map-empty{display:none!important}
.home-overview header>div{display:flex;flex-direction:column;gap:6px}
.home-overview label[hidden]{display:none!important}
.home-overview input{accent-color:#526c32;width:17px;height:17px;flex:none}
#home-overview-map{display:block;width:100%;flex:1;min-height:0;touch-action:none;outline-offset:-4px}
.home-map-viewport{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none}
.home-map-viewport>#home-overview-map{height:100%}
.home-map-viewport>#home-map-background{display:none}
.home-overview.is-native #home-map-background{display:block;position:absolute;inset:0;overflow:clip!important}
.home-overview.is-native #home-overview-map{position:absolute;background:transparent;pointer-events:none}
.home-overview.is-native .home-station-pin{pointer-events:auto}
.home-overview.is-native .home-seoul-shape path{fill:#173d3209;stroke:#173d3250;pointer-events:none}
.home-overview.is-native[data-layer=stations] .home-seoul-shape{display:none}
.home-overview.is-native .home-map-viewport{background:#edf2e8}
.home-district.is-empty circle:not(.home-pin-target){fill:#a8b0a6}
.home-district[aria-disabled=true]{cursor:default}
.home-overview .home-district[aria-disabled=true]{pointer-events:none}
.home-district-leaders{fill:none;stroke:#173d3255;stroke-width:1;pointer-events:none}
.home-district[aria-disabled=true] text{fill:#f6f7f2}
.home-district.is-ready circle:not(.home-pin-target){fill:#173d32}
.home-district[aria-disabled=false]:hover circle:not(.home-pin-target),.home-district:focus circle:not(.home-pin-target){fill:#f16e58;stroke:#fffef8}
.home-seoul-shape path{fill:#e2e9d7;stroke:#fffef8;stroke-width:1.3;fill-rule:evenodd;vector-effect:non-scaling-stroke}
.home-seoul-shape path:nth-child(3n){fill:#d8e3ca}
.home-seoul-shape path:nth-child(5n){fill:#e8eeda}
.home-station-pin{cursor:pointer;outline:none}
.home-station-pin circle{fill:#9ba78e;stroke:#fffef8;stroke-width:2.5}
.home-station-pin .home-pin-target{fill:transparent;stroke:none}
.home-station-pin.is-ready circle:not(.home-pin-target){fill:#35553e}
.home-station-pin text{font:600 10px -apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;fill:#29402e;stroke:#f7f9ef;stroke-width:3px;paint-order:stroke;pointer-events:none}
.home-cluster text{fill:#fff;stroke:none;font-size:13px}
.home-station-pin:focus circle:not(.home-pin-target){stroke:#c2d36d;stroke-width:5}
.home-map-notice{position:absolute;left:10%;right:10%;top:45%;text-align:center;font-size:13px;color:#69775c;pointer-events:none}
body[data-home=true] .map-controls button{background:#fffef9;color:#3b5235;border-color:#dce3d2;min-height:40px}
#home-intro #load-state:not(.error){display:none}
#home-intro #load-state.error{display:block;color:#a34035;font-size:12px;line-height:1.6;margin:12px 0 0}
@media(max-width:720px){body[data-home=false][data-layout=unified] .public-place{min-height:72px;padding:10px 10px;row-gap:4px}body[data-home=false][data-layout=unified] .public-place-card{margin-bottom:6px}}

#map-choice-dialog{width:min(420px,calc(100vw - 32px));max-height:80dvh;box-sizing:border-box;overflow:auto}
.map-choice-list{display:grid;gap:8px}.map-choice-list button{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;width:100%;padding:12px;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--cream,#fffef9)}
.map-choice-list button>span{min-width:0;overflow-wrap:anywhere}.map-choice-list b{white-space:nowrap}
.full-detail-open{display:block;width:100%;min-height:44px;margin-top:6px;text-align:center;font-size:12px;white-space:normal;color:var(--green,#264e3b)}

/* Approved compact B: keep the metric meaning with its value and return height to the map. */
.public-place-card>.public-place{min-height:72px;padding:10px;gap:6px;grid-template-columns:32px minmax(0,1fr) auto 32px}
.public-place-card .place-score>.place-score-value{display:block;margin:0;color:inherit;font:inherit;line-height:1.1}
.place-score-value>small{font-size:16px}
.public-place[aria-expanded=false] .place-cuisine{display:none}
.public-place .place-cuisine{margin-top:3px;font-size:11px;line-height:14px}
.public-place-card>.save-place{top:26px;right:0;width:44px;height:44px;min-height:44px;padding:11px}
.map-links .platform-mark{width:16px;height:17px;font-size:13px}
.map-links .platform-mark.google{font-size:18px}
@media(max-width:720px){
 body[data-layout=unified] .results-heading{gap:2px 6px;padding:6px 10px 0}
 body[data-layout=unified] .results-heading:before{top:4px}
 body[data-layout=unified] .results-heading h1{font-size:20px}
 body[data-layout=unified] .ranking-kind-tabs{padding:0}
 body[data-layout=unified] .ranking-kind-tabs button{padding-top:6px;padding-bottom:6px}
 body[data-layout=unified] .public-list{padding-top:2px}
 body[data-layout=unified] .public-list-note{min-height:24px;padding:2px 8px;font-size:9px;line-height:14px}
 .public-place-card{margin-bottom:6px}
 .public-place-card>.inline-detail.links-only{margin:0 8px 8px}
 .public-place-card>.links-only .map-links{padding-top:6px}
 .place-disclosure{top:2px}
}
@media(max-width:720px) and (min-height:501px){
 body[data-layout=unified][data-home=false][data-sheet=expanded]:not([data-detail=true]) .public-sheet{height:min(41dvh,calc(100% - 160px))}
}

/* Three compact mobile summaries share one row with independent save controls. */
@media(max-width:720px) and (max-height:500px){
 body[data-layout=unified][data-home=false]:is([data-sheet=expanded],[data-detail=true]) .public-map{flex:0 0 0;min-height:0;overflow:hidden}
 body[data-layout=unified][data-home=false]:is([data-sheet=expanded],[data-detail=true]) .public-sheet{flex:1 1 0;height:auto;max-height:none}
}
@media(max-width:720px){
 body[data-home=false][data-layout=unified] .public-place-card{display:grid;grid-template-columns:minmax(0,1fr) 44px 32px}
 body[data-home=false][data-layout=unified] .public-place-card>.public-place{grid-column:1 / -1;grid-row:1;min-height:56px;padding:4px 6px;gap:5px;align-items:center;grid-template-columns:28px minmax(0,1fr) auto 76px}
 body[data-home=false][data-layout=unified] .public-place-card>.save-place{position:relative;grid-column:2;grid-row:1;align-self:center;justify-self:center;top:auto;right:auto;margin:0}
 body[data-home=false][data-layout=unified] .public-place-card>.inline-detail{grid-column:1 / -1;grid-row:2}
 body[data-home=false][data-layout=unified] .public-place .place-disclosure{top:50%;width:32px;transform:translateY(-50%)}
 body[data-home=false][data-layout=unified] .public-place .rank-number{width:28px;height:32px;font-size:20px}
 body[data-home=false][data-layout=unified] .public-place .place-description strong{font-size:17px;line-height:1.3}
}
@media(max-width:720px){
 body[data-home=false][data-layout=unified] #public-list{padding-top:0}
}
@media(max-width:720px) and (max-height:820px){
 body[data-home=false][data-layout=unified] .public-place-card>.public-place{min-height:48px;padding-top:2px;padding-bottom:2px}
}

/* Editorial ranking: one quiet list, one metric explanation beneath the survey count. */
#selected-station{font-size:24px;font-weight:650;letter-spacing:-.03em}
#public-list>.public-place-card{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;margin-bottom:0}
#public-list>.public-place-card:first-of-type{background:#fafbf4}
#public-list .public-place{align-items:center}
#public-list .place-description strong{font-weight:650;letter-spacing:-.025em}
#public-list .place-score{align-self:center;font-size:24px;font-weight:550;letter-spacing:-.03em}
#public-list .place-score-value>small{font-size:15px;font-weight:500}
#public-list .rank-number{background:transparent;border-radius:0;box-shadow:none;font-size:22px;font-weight:500;color:#85897e}
#public-list>.public-place-card:first-of-type .rank-number{background:transparent;color:#748637}
.results-heading .result-context{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;text-align:right;gap:1px}
#station-state{max-width:100%;font-size:12px;font-weight:400}
#repeat-column-label{display:block;max-width:100%;font-size:9px;font-weight:400;line-height:11px;color:#7a7e73;text-align:right;white-space:normal;overflow-wrap:anywhere}

/* Approved full-map home: floating search and a compact station panel. */
body[data-home=true][data-layout=unified] .public-workspace{position:relative;display:block;flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:0;overflow:hidden;--home-panel-height:calc(164px + env(safe-area-inset-bottom))}
body[data-home=true][data-layout=unified] .public-panel{display:contents}
body[data-home=true][data-layout=unified] #home-intro{position:absolute;z-index:18;top:12px;left:12px;right:12px;display:flex;align-items:center;gap:8px;margin:0;padding:0;background:transparent}
body[data-home=true] #home-intro>h1,body[data-home=true] #home-intro>p:not(#load-state){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-home=true] #home-search-slot{flex:1;min-width:0}
body[data-home=true] #home-search-slot .search-box{height:48px;min-height:48px;border:1px solid #b8c1af;background:#fffefb;box-shadow:0 3px 15px #24382012}
body[data-home=true] #home-search-slot input{font-size:16px}
body[data-home=true] #home-intro #public-back{flex:none;margin:0}
body[data-home=true] #home-intro #load-state.error{position:absolute;top:calc(100% + 4px);left:0;right:0;margin:0;padding:8px 10px;border-radius:10px;background:#fffefb;max-height:80px;overflow:auto}
body[data-home=true][data-layout=unified] .public-search{display:none}
body[data-home=true][data-layout=unified] .public-map{position:absolute;inset:0;width:100%;height:100%;min-height:0;flex:none;margin:0;border:0;border-radius:0;background:#edf1e7;box-shadow:none;isolation:isolate}
body[data-home=true] .home-overview{position:absolute;inset:0;display:block;padding:0;border:0;border-radius:0;background:transparent}
body[data-home=true] .home-map-viewport{position:absolute;top:0;left:0;right:0;bottom:calc(var(--home-panel-height) + 20px);height:auto;min-height:0}
body[data-home=true] .home-overview>header{position:absolute;z-index:6;top:72px;left:12px;right:12px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:0;pointer-events:none}
body[data-home=true] .home-overview header>div{min-width:0;flex:1}
body[data-home=true] .home-overview header strong{display:none}
body[data-home=true] .home-overview header small{display:block;max-width:230px;margin:0;padding:8px 10px;border-radius:20px;background:#fffefbe8;color:#506044;font-size:11px;line-height:1.5}
body[data-home=true] .home-overview header label{max-width:160px;min-height:44px;margin:0;padding:6px 10px;gap:5px;border:1px solid #cfd7c6;border-radius:12px;background:#fffefbf2;pointer-events:auto;font-size:11px;line-height:1.4}
body[data-home=true] .home-overview header input{flex:none;width:16px;height:16px}
body[data-home=true]:has(#home-intro #load-state.error) .home-overview>header{visibility:hidden}
body[data-home=true] .home-overview-credit{position:absolute;bottom:calc(var(--home-panel-height) + 3px);left:10px;right:10px;padding:0;font-size:8px;line-height:12px;background:#edf1e7c9}
body[data-home=true] .home-map-notice{z-index:5;top:150px;left:18px;right:18px;padding:8px;border-radius:10px;background:#fffefbdc;font-size:12px}
body[data-home=true] .home-map-notice:empty{display:none}
body[data-home=true] .map-controls{z-index:7;top:auto;left:auto;right:12px;bottom:calc(var(--home-panel-height) + 54px);height:44px;display:flex;flex-direction:row;gap:0;background:#fffefb;border-radius:12px;box-shadow:0 2px 12px #24382016}
body[data-home=true] .map-controls button{width:44px;min-width:44px;height:44px;min-height:44px;font-size:20px}
body[data-home=true] .map-controls #reset-map{width:auto;min-width:68px;min-height:44px;font-size:11px;padding:0 9px}
body[data-home=true][data-layout=unified] .public-sheet{position:absolute;z-index:13;left:0;right:0;bottom:0;top:auto;display:flex;flex-direction:column;flex:none;width:100%;height:var(--home-panel-height)!important;max-height:none!important;margin:0;padding:10px 12px calc(6px + env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;background:#fffefb;box-shadow:0 -3px 18px #26331b12;overflow:hidden}
body[data-home=true][data-layout=unified] .public-sheet:before{content:"";position:absolute;top:5px;left:calc(50% - 16px);width:32px;height:3px;border-radius:4px;background:#d4d8cc}
body[data-home=true][data-layout=unified] .public-list{display:block!important;position:relative;top:auto;bottom:auto;left:auto;right:auto;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0;background:transparent;visibility:visible!important;pointer-events:auto}
body[data-home=true] .home-quick-stations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:0}
body[data-home=true] .home-quick-heading{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px}
body[data-home=true] .home-quick-heading h2{margin:0;font-size:16px;font-weight:650}
body[data-home=true] .home-quick-heading .home-open-all{width:auto;min-height:38px;margin:0;padding:5px 0;border:0;border-radius:0;background:transparent;font-size:12px;white-space:normal;text-align:right}
body[data-home=true] .home-quick-stations .available-station{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;min-height:44px;padding:7px 1px;border:0;border-bottom:1px solid #e4e7de;border-radius:0;background:transparent;text-align:left}
body[data-home=true] .home-quick-stations .available-station strong{font-size:15px;font-weight:600;line-height:1.35}
body[data-home=true] .home-quick-stations .available-station small{display:none}
body[data-home=true] .home-quick-stations .available-station b{font-size:0}
body[data-home=true] .home-quick-stations .available-station b:after{content:"›";font-size:22px;font-weight:400}
body[data-home=true] .home-station-directory h2{margin:5px 0 8px;font-size:16px}
body[data-home=true] .home-station-directory input{margin-bottom:8px;padding:8px 10px}
body[data-home=true] .home-station-directory .available-station{border:0;border-bottom:1px solid #e2e6da;border-radius:0;margin-bottom:0;min-height:60px;background:transparent}
body[data-home=true]:not([data-home-view=home]) .public-workspace{--home-panel-height:min(56dvh,calc(100% - 240px))}
body[data-home=true]:has(#retry-home) .public-workspace{--home-panel-height:210px}
@media(min-width:721px){
 body[data-home=true][data-layout=unified] #home-intro{right:auto;width:min(430px,calc(100% - 24px))}
 body[data-home=true] .home-overview>header{right:auto;width:min(430px,calc(100% - 24px))}
 body[data-home=true][data-layout=unified] .public-sheet{right:auto;left:12px;bottom:12px;width:430px;border-radius:20px}
 body[data-home=true] .home-map-viewport{bottom:20px}
 body[data-home=true] .home-overview-credit{bottom:3px}
 body[data-home=true] .map-controls{bottom:108px}
}
@media(max-width:720px) and (max-height:620px){
 body[data-home=true][data-layout=unified] .public-workspace{--home-panel-height:calc(154px + env(safe-area-inset-bottom))}
 body[data-home=true]:not([data-home-view=home]) .public-workspace{--home-panel-height:min(58dvh,calc(100% - 240px))}
}

body[data-home=true] .home-station-directory-heading{display:flex;align-items:center;gap:10px;margin:3px 0 8px}
body[data-home=true] .home-station-directory-heading h2{flex:1;margin:0}

@media(max-width:720px) and (max-height:620px){
 body[data-home=true][data-layout=unified] #home-intro{right:68px}
 body[data-home=true] .home-overview>header{top:14px;left:auto;right:12px;width:44px}
 body[data-home=true] .home-overview header>div{display:none}
 body[data-home=true] .home-overview header label{display:flex;align-items:center;justify-content:center;width:44px;height:44px;max-width:44px;padding:0;min-height:44px}
 body[data-home=true] .home-overview header label span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 body[data-home=true] .home-overview header input{width:18px;height:18px;margin:0}
}

@media(max-width:720px) and (max-height:620px){body[data-home=true] .map-controls{bottom:calc(var(--home-panel-height) + 44px)}}

/* On portrait station views the search floats over the map, as on the home view. */
@media(max-width:720px) and (min-height:501px){
 body[data-layout=unified][data-home=false] .public-search{position:absolute;top:12px;left:12px;right:12px;height:auto;padding:0;background:transparent;z-index:20}
 body[data-layout=unified][data-home=false] .public-search .search-box{height:48px;border-radius:14px;background:#fffefb;box-shadow:0 3px 16px #2438201a}
 body[data-layout=unified][data-home=false] .public-search input{font-size:16px}
 body[data-layout=unified][data-home=false] .public-search .search-results{max-height:min(320px,calc(100dvh - 210px));overflow-y:auto}
 body[data-layout=unified][data-home=false] .map-top,body[data-layout=unified][data-home=false] .map-controls{top:72px}
 body[data-layout=unified][data-home=false][data-sheet=expanded]:not([data-detail=true]) .public-sheet{height:min(calc(41dvh + 56px),calc(100% - 160px))}
}

/* Region and line station discovery, approved mobile concept. */
body[data-home=true][data-layout=unified] .public-workspace{--home-panel-height:min(calc(352px + env(safe-area-inset-bottom)),calc(48dvh + env(safe-area-inset-bottom)),calc(100% - 160px))}
body[data-home=true]:not([data-home-view=home]) .public-workspace{--home-panel-height:min(calc(55dvh + env(safe-area-inset-bottom)),calc(100% - 160px))}
body[data-home=true] .map-controls{bottom:calc(var(--home-panel-height) + 30px)}
.home-browser{min-width:0}.home-browser button{color:var(--ink)}
#home-browser-tabs{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:3px;margin:2px 0 12px;border:1px solid #dce2d3;border-radius:24px;background:#fffefb}
#home-browser-tabs button{min-height:38px;border:0;border-radius:22px;background:transparent;font-size:14px;font-weight:650;padding:6px 12px;overflow-wrap:anywhere}
#home-browser-tabs button[aria-selected=true]{background:var(--lime,#d8ed99);color:#27351e}
.home-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;margin:0 0 8px}
.home-directory-heading h2{font-size:18px;line-height:1.3;letter-spacing:-.04em}
.home-directory-heading>button{min-height:36px;flex:none;border:0;padding:4px 0;background:transparent;font-size:11px;max-width:95px}
.home-province-chips{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 10px}
.home-province-chips button{border:1px solid #d9dfd0;border-radius:20px;min-height:36px;padding:6px 15px;background:transparent;font-size:13px}
.home-province-chips [aria-pressed=true]{background:#617329;border-color:#617329;color:#fff}
.home-region-grid,.home-line-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.home-region-grid>button{display:flex;justify-content:space-between;align-items:center;text-align:left;min-height:61px;padding:8px 11px;border:1px solid #dce2d3;border-radius:11px;background:#fffefb;gap:5px}
.home-region-grid>button>span:first-child{min-width:0}.home-region-grid strong,.home-line-grid strong{display:block;font-size:15px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.home-region-grid small,.home-line-grid small{display:block;font-size:10px;color:#76816b;line-height:1.4;margin-top:4px;overflow-wrap:anywhere}
.home-region-grid>button>span:last-child{font-size:22px;color:#617329}
.home-line-grid>button{min-height:65px;border:1px solid #dce2d3;border-left:4px solid var(--route-color,#617329);border-radius:11px;padding:9px 10px;text-align:left;background:#fffefb}
.home-directory-message{padding:14px 2px;font-size:13px;line-height:1.7;color:#68755c}
.home-directory-message button,.home-no-match button{margin-top:12px;min-height:44px}
.home-directory-breadcrumb{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.4;min-width:0;margin-top:0}
.home-directory-breadcrumb>button{width:36px;min-height:36px;padding:0;border:0;background:transparent;font-size:25px;flex:none}
.home-directory-breadcrumb>span{min-width:0;overflow-wrap:anywhere}.home-directory-breadcrumb small{margin-left:auto;font-size:10px;color:#718061;max-width:120px;text-align:right}
body[data-home=true] .home-station-directory-heading{margin:2px 0 5px;min-height:36px}
body[data-home=true] .home-station-directory-heading h2{font-size:18px;line-height:1.3}
body[data-home=true] .home-station-directory input{font-size:16px;min-height:42px;margin:2px 0 8px}
body[data-home=true] .home-station-directory .available-station{padding:10px 4px;min-height:56px}
.home-route-note{margin:1px 0 6px;color:#78846d;font-size:10px;line-height:1.5}
.home-route-list{position:relative;padding-left:16px;border-left:2px solid var(--route-color,#a50b38);margin:0 4px 14px 9px}
.home-route-list h3{position:relative;margin:0 0 5px -16px;padding:2px 0 5px 0;background:#fffefb;color:#718061;font-size:11px;font-weight:500;line-height:1.5}
.home-route-list .available-station{position:relative}.home-route-list .available-station:before{content:"";position:absolute;left:-22px;top:24px;width:10px;height:10px;border:2px solid var(--route-color,#a50b38);border-radius:50%;background:#fffefb}
.home-route-gap{background:#fffefb;font-size:20px;line-height:22px;color:#849074;padding:0 4px}
.home-selection-shape{fill:#c9e69544;stroke:#748f36;stroke-width:2;pointer-events:none;vector-effect:non-scaling-stroke}
.home-route-guide{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;opacity:.8}
.home-overview-credit a{color:inherit}
@media(min-width:721px){body[data-home=true][data-layout=unified] .public-workspace{--home-panel-height:min(440px,calc(100% - 180px))}.home-line-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px) and (max-height:500px) and (min-width:500px){
 body[data-home=true][data-layout=unified] .public-workspace,body[data-home=true]:not([data-home-view=home]) .public-workspace{--home-panel-height:min(calc(46dvh + env(safe-area-inset-bottom)),calc(100% - 120px))}
 body[data-home=true][data-layout=unified] #home-intro{right:190px}
 body[data-home=true] .map-controls{bottom:calc(var(--home-panel-height) + 6px)}
 #home-browser-tabs{margin-bottom:6px}#home-browser-tabs button{min-height:32px;padding:3px 10px;font-size:12px}
 .home-directory-heading h2,body[data-home=true] .home-station-directory-heading h2{font-size:15px}
 .home-region-grid>button,.home-line-grid>button{min-height:48px}.home-region-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* Keep the first region reachable above the home indicator on narrow phones. */
@media(max-width:360px) and (min-height:501px){
 body[data-home=true][data-home-view=home] #home-browser-tabs{margin-bottom:6px}
 body[data-home=true][data-home-view=home] .home-directory-heading{margin-bottom:4px}
 body[data-home=true][data-home-view=home] .home-directory-heading h2{font-size:16px;line-height:1.2}
 body[data-home=true][data-home-view=home] .home-province-chips{margin-bottom:6px}
 body[data-home=true][data-home-view=home] .home-region-grid>button{min-height:48px;padding:6px 10px}
}

/* First-visit guide: compact enough for small phones, scrollable with large text. */
#welcome-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:0;border-radius:26px;padding:30px 26px 26px;background:#fcf9f3;color:#18291d;text-align:center;box-shadow:0 24px 90px #10241540}
#welcome-dialog::backdrop{background:#12201588}
.welcome-close{position:absolute;top:10px;right:12px;width:44px;height:44px;border:0;background:transparent;font-size:32px;cursor:pointer;color:inherit}
.welcome-art{display:block;width:190px;height:100px;margin:0 auto 14px;color:#285536}
.welcome-badge{display:inline-block;border-radius:30px;background:#426b3c;color:white;padding:7px 17px;font-size:14px;font-weight:700}
#welcome-title{font-size:clamp(25px,6vw,35px);line-height:1.2;letter-spacing:-.025em;margin:19px 0 25px;text-wrap:balance}
.welcome-steps{counter-reset:welcome;list-style:none;text-align:left;padding:0;margin:0 0 22px;display:grid;gap:10px}
.welcome-steps li{position:relative;padding:16px 14px 16px 52px;border-radius:17px;background:#efeee4;overflow-wrap:anywhere}
.welcome-steps li::before{counter-increment:welcome;content:counter(welcome);position:absolute;left:14px;top:18px;display:grid;place-items:center;width:27px;height:27px;background:#d7e2c6;color:#285536;border-radius:50%;font-weight:800}
.welcome-steps strong{font-size:17px;line-height:1.3}.welcome-steps p{margin:4px 0 0;color:#4b554d;font-size:14px;line-height:1.45}
.welcome-explore{width:100%;min-height:52px;padding:13px 18px;border:0;border-radius:15px;background:#204f32;color:white;font-size:18px;font-weight:750;cursor:pointer}
#welcome-dialog button:focus-visible{outline:3px solid #9ebc70;outline-offset:3px}
@media(max-height:650px){.welcome-art{height:65px;margin-bottom:6px}#welcome-title{margin:12px 0 16px}#welcome-dialog{padding:23px 20px 20px}.welcome-steps li{padding-top:12px;padding-bottom:12px}}

/* Keep source attribution available without a permanent strip over the map. */
body[data-home=true] .home-overview>header{display:none}
body[data-home=true] .home-overview-credit{left:10px;right:auto;bottom:calc(var(--home-panel-height) + 4px);padding:0;background:transparent;font-size:10px;line-height:1.4;z-index:7}
.home-overview-credit summary{cursor:pointer;list-style:none;background:#fffefbe8;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:16px}
.home-overview-credit summary::-webkit-details-marker{display:none}
.home-overview-credit small{display:block;max-width:280px;padding:6px;background:#fffefbf2;border-radius:6px}
@media (min-width: 900px){body[data-home=true] .home-overview-credit{left:auto;right:12px;bottom:45px}}

/* Keep the romanized brand compact and long station titles on one line. */
.public-brand{position:relative;flex-direction:column;gap:0;justify-content:center}
.public-brand .brand-lockup{height:48px}
.public-brand .brand-english{display:block;margin:-7px 0 0 32px;font-size:9px;line-height:1;letter-spacing:.03em;color:#343b30}
.station-title-text{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
@media(max-width:720px){.public-brand .brand-lockup{height:39px}.public-brand .brand-english{display:block;margin-top:-6px;margin-left:26px;font-size:8px}}

/* Balance long restaurant names across at most two lines. */
#public-list .place-description strong .localized-primary{white-space:normal;overflow-wrap:anywhere;word-break:normal;text-wrap:balance}
#public-list .place-description strong:not(:has(.localized-primary)){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;text-wrap:balance}
