/* Production presentation layer. Legacy IDs, renderers, maps and API contracts stay intact.
   Loaded last deliberately: the older layout adapters contain high-specificity !important rules. */
:root{
  --ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-6:24px;--ui-space-8:32px;
  --ui-radius:8px;--ui-radius-panel:12px;--ui-radius-sheet:16px;
  --hm-ink:#233a40;--hm-ink-strong:#102d33;--hm-muted:#5a7075;
  --hm-paper:#f5f7f7;--hm-surface:#fff;--hm-line:#dce5e4;--hm-line-soft:#edf1f0;
  --hm-accent:#087c69;--hm-accent-deep:#066353;--hm-accent-soft:#edf7f3;
  --hm-header-h:64px;--hm-nav-h:48px;--hm-left:368px;--hm-right:272px;
}
html{scroll-padding-top:160px}
body{line-height:1.5;font-size:14px}
body .app{min-width:0!important;width:100%!important}
body .app [hidden]{display:none!important}
body .app button{touch-action:manipulation;cursor:pointer}
body .app button:focus-visible,body .app a:focus-visible,body .app input:focus-visible{outline:3px solid #1877c9!important;outline-offset:3px!important}
body .app .top{height:64px!important;min-height:64px!important;grid-template-columns:192px minmax(0,1fr) auto!important;gap:24px!important;padding:8px 24px!important;background:#fff!important;backdrop-filter:none!important}
body .app .brand{font-size:17px!important;grid-template-columns:36px 1fr!important;gap:4px 8px!important}
body .app .brand::before{width:36px!important;height:36px!important;border-radius:8px!important;box-shadow:none!important}
body .app .brand::after{left:7px!important;top:2px!important;font-size:28px!important}
body .app .brand small{margin-top:4px!important;font-size:9px!important;color:var(--hm-muted)!important}
body .app .search-shell{max-width:720px!important;min-width:0!important}
body .app .search{height:48px!important;border:1px solid #a9bfba!important;border-radius:8px!important;grid-template-columns:32px minmax(0,1fr) auto!important;padding:0 0 0 8px!important}
body .app .search:focus-within{border-color:var(--hm-accent)!important;box-shadow:0 0 0 2px #087c6920!important}
body .app .search input{height:44px!important;font-size:16px!important;font-weight:500!important;padding:0 8px!important}
body .app .search button{height:44px!important;min-height:44px!important;min-width:64px!important;margin:0 2px 0 0!important;padding:0 16px!important;font-size:14px!important;border-radius:8px!important;font-weight:700!important}
body .app .actions{gap:8px!important}
body .app .ghost{height:44px!important;min-height:44px!important;min-width:44px!important;padding:0 12px!important;border-radius:8px!important;font-size:13px!important}
body .app .status{padding:0!important;border:0!important;border-radius:0!important;font-size:12px!important;background:none!important}
body .app .status i{box-shadow:none!important}
body .app .kakao-search-results{top:52px!important;border-radius:12px!important;max-height:min(60dvh,480px)!important;overflow-y:auto!important}
body .app .kakao-search-results button{min-height:52px!important;text-align:left!important;white-space:normal!important}
body .app .nav{height:48px!important;min-height:48px!important;top:64px!important;padding:0 24px!important;grid-template-columns:repeat(6,minmax(0,1fr))!important}
body .app .nav button{height:48px!important;min-height:44px!important;align-items:center!important;justify-content:center!important;padding:8px 12px!important;margin:0!important;border:0!important;white-space:nowrap!important;background:#fff!important;border-radius:0!important}
body .app .nav button .eyebrow,body .app .nav button small{display:none!important}
body .app .nav button strong{font-size:14px!important;line-height:1.5!important;font-weight:650!important}
body .app .nav button.active{background:var(--hm-accent-soft)!important}
body .app .nav button.active::after{left:12px!important;right:12px!important;height:3px!important}
body .app .screen:not(.active){display:none!important}
body .app .screen.active{height:calc(100dvh - 112px)!important;min-height:520px!important}
body .app #screen-local.active{grid-template-columns:var(--hm-left) minmax(0,1fr) var(--hm-right)!important}
body .app #screen-korea.active,body .app #screen-world.active,body .app #screen-moon.active,body .app #screen-detail.active,body .app #screen-compare.active{grid-template-columns:352px minmax(0,1fr)!important}
body .app .rail-inner,body .app .local-right-inner{padding:24px 16px 32px!important}
body .app .rail-inner h1,body .app .local-right-inner h2{font-size:22px!important;line-height:1.4!important;letter-spacing:-.035em!important;overflow-wrap:anywhere!important}
body .app .sub,body .app .tiny,body .app .weather-note,body .app .capture{font-size:13px!important;line-height:1.65!important}
body .app .source,body .app .data-stamp{font-size:11px!important;line-height:1.6!important;color:var(--hm-muted)!important;overflow-wrap:anywhere!important}
body .app #screen-local #mobileLocalDashboard .mld-point-head{align-items:flex-start!important;gap:12px!important;padding:0 0 16px!important;margin:0!important;min-width:0!important;text-align:left!important}
body .app #screen-local #mobileLocalDashboard .mld-point-head>div:first-child{min-width:0!important;flex:1!important;text-align:left!important}
body .app #screen-local #mobileLocalDashboard #locName{font-size:22px!important;line-height:1.4!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;max-width:none!important}
body .app #screen-local #mobileLocalDashboard .eyebrow-text{font-size:11px!important;line-height:1.5!important;font-weight:650!important;color:var(--hm-muted)!important}
body .app #screen-local #mobileLocalDashboard .v8-head-actions{position:static!important;inset:auto!important;flex-shrink:0!important;gap:8px!important}
body .app #screen-local #mobileLocalDashboard .v8-head-actions button{height:44px!important;min-height:44px!important;min-width:44px!important;border-radius:8px!important;font-size:13px!important;box-shadow:none!important}
body .app #screen-local #mobileLocalDashboard .v8-weather-hero{padding:24px 0 16px!important;margin:0!important;border-bottom:1px solid var(--hm-line)!important}
body .app #screen-local #mobileLocalDashboard .point-current{display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:center!important;justify-content:flex-start!important;min-height:0!important;height:auto!important}
body .app #screen-local #mobileLocalDashboard .point-weather-icon{width:56px!important;min-width:56px!important;height:56px!important}
body .app #screen-local #mobileLocalDashboard .v8-weather-art{width:56px!important;height:56px!important;filter:none!important}
body .app #screen-local #mobileLocalDashboard #temp{font-size:52px!important;font-weight:750!important;line-height:1.1!important;letter-spacing:-.05em!important;font-variant-numeric:tabular-nums!important}
body .app #screen-local #mobileLocalDashboard .v8-current-copy{flex:1!important;min-width:64px!important}
body .app #screen-local #mobileLocalDashboard #heroCondition{font-size:14px!important;font-weight:650!important;overflow-wrap:anywhere!important}
body .app #screen-local #mobileLocalDashboard #feels,body .app #screen-local #mobileLocalDashboard #ydayDiff{font-size:12px!important;line-height:1.5!important;color:var(--hm-muted)!important}
body .app #screen-local #mobileLocalDashboard .point-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;margin:16px 0!important}
body .app #screen-local #mobileLocalDashboard .point-metrics .metric{display:block!important;min-height:64px!important;padding:8px 12px!important;border:0!important;border-radius:0!important;border-left:1px solid var(--hm-line)!important;background:transparent!important;box-shadow:none!important;text-align:left!important}
body .app #screen-local #mobileLocalDashboard .point-metrics .metric:nth-child(odd){border-left:0!important;padding-left:0!important}
body .app #screen-local #mobileLocalDashboard .point-metrics .metric span{font-size:12px!important;color:var(--hm-muted)!important}
body .app #screen-local #mobileLocalDashboard .point-metrics .metric b{font-size:16px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere!important;margin-top:4px!important;font-weight:650!important}
body .app #screen-local #mobileLocalDashboard .mld-mood{font-size:13px!important;line-height:1.65!important;font-weight:500!important;padding:12px!important;border-radius:8px!important;background:var(--hm-accent-soft)!important;margin:0 0 8px!important;text-align:left!important}
body .app #screen-local #mobileLocalDashboard .mld-alert-slot{font-size:12px!important;line-height:1.5!important;border:0!important;padding:4px 0!important;background:none!important;border-radius:0!important}
body .app #screen-local #mobileLocalDashboard .mld-alert-slot.has-alert{padding:12px!important;background:#fff4ef!important;color:#923d2c!important;border-left:3px solid #b34a35!important;border-radius:8px!important}
body .app #screen-local #mobileLocalDashboard .mld-weather-source{font-size:11px!important;line-height:1.6!important;color:var(--hm-muted)!important;margin:8px 0 0!important;text-align:left!important}
/* Related data forms one section; inner metrics do not become another set of cards. */
body .app #screen-local #mobileLocalDashboard .nowcast,body .app #screen-local #mobileLocalDashboard .mld-point-card,body .app #screen-local #mobileLocalDashboard .mld-secondary,body .app #screen-local #mobileLocalDashboard .v8-favorites{border:0!important;border-bottom:1px solid var(--hm-line)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:24px 0!important;margin:0!important;overflow:hidden!important}
body .app #screen-local #mobileLocalDashboard h3{font-size:16px!important;font-weight:650!important;line-height:1.5!important;margin:0 0 12px!important;text-align:left!important;color:var(--hm-ink-strong)!important}
body .app #screen-local #mobileLocalDashboard .mld-astro-card-section>h3::after{content:none!important}
body .app #screen-local #mobileLocalDashboard .nowcast-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:center!important;gap:0 8px!important;padding:0 0 12px!important;border:0!important}
body .app #screen-local #mobileLocalDashboard .nowcast-head strong{grid-column:1!important;font-size:16px!important;line-height:1.5!important;font-weight:650!important}
body .app #screen-local #mobileLocalDashboard .nowcast-head span{grid-column:1!important;grid-row:2!important;font-size:11px!important;color:var(--hm-muted)!important;white-space:normal!important}
body .app #screen-local #mobileLocalDashboard #openLocalDetail.v8-hour-more{grid-column:2!important;grid-row:1/3!important;width:auto!important;min-width:64px!important;min-height:44px!important;height:44px!important;margin:0!important;padding:0 12px!important;font-size:13px!important;font-weight:650!important;background:#fff!important;color:var(--hm-accent-deep)!important;border:1px solid var(--hm-line)!important;border-radius:8px!important;box-shadow:none!important;flex:none!important}
body .app #screen-local #mobileLocalDashboard .nowcast-strip{display:block!important;padding:0!important;background:#fff!important;overflow-x:auto!important;overflow-y:hidden!important;max-width:100%!important;scrollbar-width:thin!important;border-radius:8px!important;border:1px solid var(--hm-line)!important}
body .app #screen-local #mobileLocalDashboard .nowcast-strip>.hm-hscroll{width:max-content!important;min-width:100%!important;max-width:none!important;overflow:visible!important;padding:0!important;margin:0!important}
body .app .hm-hscroll{max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;scrollbar-width:thin!important}
body .app .hm-table{font-size:13px!important}
body .app .hm-table th,body .app .hm-table td{padding:8px!important;line-height:1.5!important}
body .app .hm-table .c-item{background:#f4f7f6!important;color:var(--hm-muted)!important}
body .app #screen-local #mobileLocalDashboard .hm-table.hm-hourly{width:max-content!important;min-width:100%!important;margin:0!important}
body .app #screen-local #mobileLocalDashboard .hm-table.hm-hourly td,body .app #screen-local #mobileLocalDashboard .hm-table.hm-hourly th{min-width:72px!important;font-size:12px!important;padding:8px!important}
body .app #screen-local #mobileLocalDashboard .air-rings{gap:8px!important}
body .app #screen-local #mobileLocalDashboard .aq-ring{min-width:0!important;padding:12px 4px!important;border:0!important;background:#f5f7f7!important;border-radius:8px!important;box-shadow:none!important}
body .app #screen-local #mobileLocalDashboard .aq-grade{font-size:12px!important;font-weight:650!important;border-radius:8px!important;padding:4px 8px!important}
body .app #screen-local #mobileLocalDashboard .aq-ring>div{box-shadow:none!important}
body .app #screen-local #mobileLocalDashboard .pillbox{background:transparent!important;border:0!important;border-radius:0!important;padding:8px!important}
body .app #screen-local #mobileLocalDashboard .pillbox span{font-size:12px!important;color:var(--hm-muted)!important}
body .app #screen-local #mobileLocalDashboard .pillbox b{font-size:18px!important;font-weight:650!important;line-height:1.5!important}
body .app #screen-local #mobileLocalDashboard .v8-astro-tide-grid{display:block!important}
body .app #screen-local #mobileLocalDashboard .v8-quick-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:16px 0 0!important}
body .app #screen-local #mobileLocalDashboard .v8-quick-actions button{min-height:48px!important;display:flex!important;padding:0 12px!important;gap:8px!important;border:1px solid var(--hm-line)!important;border-radius:8px!important;box-shadow:none!important;background:#fff!important;color:var(--hm-ink)!important}
body .app #screen-local #mobileLocalDashboard .v8-quick-actions b{font-size:13px!important;color:var(--hm-ink)!important}
body .app #screen-local #mobileLocalDashboard .v8-quick-actions>button>span{display:none!important}
body .app #screen-local #mobileLocalDashboard .v8-favorites{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important}
body .app #screen-local #mobileLocalDashboard .favorite-chips{display:flex!important;flex:1 1 100%!important;gap:8px!important;overflow-x:auto!important;min-width:0!important;max-width:100%!important}
body .app .favorite-chips button,body .app .save-fav,body .app .windy-tabs button,body .app .layer-grid button,body .app .quick button{min-height:44px!important;padding:8px 12px!important;font-size:13px!important;border-radius:8px!important}
body .app #screen-local #mobileLocalDashboard .favorite-chips button,body .app #screen-local #mobileLocalDashboard .save-fav,body .app #screen-local #mobileLocalDashboard .windy-tabs button{min-height:44px!important;min-width:44px!important;padding:8px 12px!important;font-size:13px!important;border-radius:8px!important}
body .app #screen-local #mobileLocalDashboard #mldCompareMount,body .app #screen-local #mobileLocalDashboard #mldAlertsMount,body .app #screen-local #mobileLocalDashboard #mldCaptureMount{display:block!important}
body .app #screen-local #mobileLocalDashboard .windy-tabs{display:flex!important;justify-content:flex-start!important;gap:4px!important;overflow-x:auto!important;padding:8px 0!important}
body .app #screen-local #mobileLocalDashboard .windy-tabs button{flex:0 0 auto!important}
body .app #screen-local #mobileLocalDashboard .windy-mini{border-radius:8px!important}
body .app #screen-local #mobileLocalDashboard .windy-mini iframe{height:240px!important}
body .app #screen-local #mobileLocalDashboard .current-provider-grid{display:grid!important;grid-template-columns:1fr!important;min-width:0!important;gap:0!important}
body .app #screen-local #mobileLocalDashboard .current-provider{min-height:0!important;padding:12px 0!important;border:0!important;border-bottom:1px solid var(--hm-line-soft)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;text-align:left!important}
body .app #screen-local #mobileLocalDashboard .current-provider:last-child{border-bottom:0!important}
body .app .rank{border:0!important;border-bottom:1px solid var(--hm-line-soft)!important;border-radius:0!important;min-height:44px!important;padding:8px 0!important;grid-template-columns:24px minmax(0,1fr) auto!important;background:transparent!important}
body .app .rank b{font-size:13px!important;font-weight:500!important;white-space:normal!important;overflow-wrap:anywhere!important}
body .app .rank em{font-size:12px!important}
body .app .rank strong{font-size:16px!important;font-weight:650!important}
body .app .ranking{gap:0!important}
body .app .local-rank-tabs{gap:4px!important}
body .app .local-rank-tabs button{min-height:44px!important;padding:8px!important;font-size:12px!important;border-radius:8px!important}
body .app #localRankTabs button{min-height:44px!important;min-width:44px!important;padding:8px!important;font-size:12px!important;border-radius:8px!important}
body .app #screen-local #localKoreaRank .rank,body .app #screen-local #localKoreaRankM .rank{border:0!important;border-bottom:1px solid var(--hm-line-soft)!important;border-radius:0!important;min-height:44px!important;padding:8px 0!important;background:transparent!important}
body .app .map-title{max-width:280px!important;padding:12px 16px!important;top:16px!important;left:16px!important;border-radius:12px!important;box-shadow:0 4px 16px #102d3314!important}
body .app .map-title span{font-size:10px!important}
body .app .map-title strong{font-size:18px!important}
body .app .map-title small{font-size:11px!important;white-space:normal!important;color:var(--hm-muted)!important}
body .app .map-timebar{padding:4px!important;gap:4px!important;border-radius:12px!important;box-shadow:0 4px 16px #102d3314!important}
body .app .map-timebar button{min-width:44px!important;min-height:44px!important;padding:8px!important;font-size:12px!important;border-radius:8px!important}
body .app .map-timebar>span{font-size:11px!important}
body .app .weather-panel{border:1px solid var(--hm-line)!important;border-radius:12px!important;box-shadow:none!important;padding:16px!important}
body .app .weather-panel h3{font-size:16px!important;line-height:1.5!important}
body .app .detail-weather{min-width:0!important;background:var(--hm-paper)!important;padding:24px!important}
body .app .detail-head h2{font-size:24px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
body .app .detail-head p{font-size:13px!important}
body .app .detail-grid{gap:16px!important;min-width:0!important}
body .app .detail-grid>div{min-width:0!important}
body .app .point-content{overflow-y:auto!important;padding:16px!important}
body .app .point-head h2{font-size:20px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important}
body .app .point-actions button,body .app .point-close,body .app .kakao-five-close,body .app .point-head button,body .app .compare-remove,body .app #backLocal,body .app .compare-map-dock button{min-width:44px!important;min-height:44px!important}
body .app .mobile-handle,body .app .dock-handle{height:44px!important;min-height:44px!important;min-width:44px!important;width:100%!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border-radius:0!important}
body .app .mobile-handle::before{content:""!important;width:32px!important;height:4px!important;border-radius:8px!important;background:#b5c7c2!important}
body .app #pointSheet{border-radius:16px!important;box-shadow:0 8px 32px #102d3326!important}
body .app #pointSheet .info-block{padding:24px 0!important;margin:0!important;border:0!important;border-top:1px solid var(--hm-line)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body .app #pointSheet .point-head,body .app #pointSheet .point-actions{padding:16px!important;gap:8px!important}
body .app #pointSheet .point-head>button,body .app #pointSheet .point-actions button{border-radius:8px!important}
body .app #screen-local #mobileLocalDashboard #v8MapToggle{min-width:64px!important;white-space:nowrap!important;flex:none!important}
body .app .toast{max-width:calc(100% - 32px)!important;border-radius:12px!important;font-size:14px!important;line-height:1.5!important;white-space:normal!important;text-align:center!important;padding:12px 16px!important}
@media(min-width:1600px){:root{--hm-left:400px;--hm-right:304px}}
@media(min-width:981px){body .app .mobile-handle{display:none!important}}
@media(min-width:981px) and (max-width:1199px){
  :root{--hm-left:320px;--hm-right:224px}
  body .app .top{grid-template-columns:176px minmax(0,1fr) auto!important;gap:16px!important;padding-inline:16px!important}
  body .app .status{display:none!important}
  body .app #screen-local #mobileLocalDashboard #locName{font-size:20px!important}
}
@media(max-width:980px){
  :root{--hm-header-h:112px;--hm-nav-h:48px}
  html,body{height:auto!important;min-height:100%!important;overflow-y:auto!important}
  body .app .top{height:112px!important;min-height:112px!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:44px 48px!important;gap:4px 8px!important;padding:8px 16px!important;position:sticky!important;top:0!important}
  body .app .brand{grid-column:1!important;grid-row:1!important;font-size:16px!important}
  body .app .actions{grid-column:2!important;grid-row:1!important}
  body .app .ghost span{display:inline!important}
  body .app .status{display:none!important}
  body .app .search-shell{grid-column:1/3!important;grid-row:2!important;max-width:none!important}
  body .app .nav{top:112px!important;display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;padding:0 8px!important;scrollbar-width:none!important}
  body .app .nav button{flex:0 0 auto!important;min-width:96px!important;padding:8px 12px!important}
  body .app .nav button strong{font-size:13px!important}
  body .app .screen.active{min-height:0!important;height:calc(100dvh - 160px)!important}
  body .app #screen-local.active{height:calc(100dvh - 160px)!important;min-height:360px!important}
  body .app #screen-local.active>.rail{transform:none!important;max-width:none!important;border-radius:16px!important}
  body .app #screen-local.active.rail-collapsed>.rail{position:absolute!important;height:96px!important;max-height:96px!important;left:8px!important;right:8px!important;bottom:8px!important;top:auto!important;width:auto!important}
  body .app #screen-local.active.rail-collapsed .mobile-handle{display:none!important}
  body .app #screen-local.active.rail-collapsed .local-mobile-peek{padding:12px 16px!important;height:96px!important}
  body .app #screen-local .peek-primary b{font-size:28px!important}
  body .app #screen-local .peek-primary strong{font-size:13px!important}
  body .app #screen-local .peek-official{font-size:10px!important;border:0!important;background:none!important}
  body .app #screen-local .peek-stations{font-size:10px!important;line-height:1.6!important}
  body .app #screen-local .map-timebar{left:8px!important;right:8px!important;bottom:116px!important;max-width:none!important;justify-content:center!important;overflow-x:auto!important;transform:none!important}
  body .app #screen-local .map-timebar>span{display:none!important}
  body.hm-v8-local-mobile .app #screen-local.active{height:auto!important;max-height:none!important;min-height:calc(100dvh - 160px)!important;display:block!important;overflow:visible!important;background:#fff!important}
  body.hm-v8-local-mobile .app #screen-local.active>.maparea{display:none!important}
  body.hm-v8-local-mobile .app #screen-local.active>.rail{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:#fff!important;transform:none!important}
  body.hm-v8-local-mobile .app #screen-local.active>.rail>.rail-inner{height:auto!important;max-height:none!important;overflow:visible!important;padding:24px 16px 32px!important;background:#fff!important}
  body.hm-v8-local-mobile .app #screen-local .mobile-handle,body.hm-v8-local-mobile .app #screen-local .local-mobile-peek{display:none!important}
  body .app #screen-local #mobileLocalDashboard .v8-head-actions button{height:44px!important}
  body .app #screen-local #mobileLocalDashboard .v8-astro-tide-grid{display:block!important}
  body .app #screen-local #mobileLocalDashboard .sun-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body .app #screen-local #mobileLocalDashboard .v8-astro-tide-grid .mld-point-card{height:auto!important;padding:24px 0!important;margin:0!important}
  body .app #screen-local #mobileLocalDashboard .sun-row .pillbox{min-height:64px!important;text-align:left!important;background:#f5f7f7!important;border-radius:8px!important}
  body .app #screen-local #mobileLocalDashboard .tide-events{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;min-width:0!important;gap:8px!important}
  body .app #screen-local #mobileLocalDashboard .tide-events>div{min-width:0!important;padding:8px!important;border-radius:8px!important;white-space:normal!important}
  body .app #screen-local #mobileLocalDashboard .v8-live-preview>h3{padding:0!important}
  body .app #screen-local #mobileLocalDashboard #providerCurrent{overflow:visible!important}
  body .app #screen-korea.active,body .app #screen-world.active,body .app #screen-moon.active{display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:480px!important}
  body .app #screen-korea>.rail,body .app #screen-world>.rail,body .app #screen-moon>.rail{position:relative!important;inset:auto!important;transform:none!important;border-radius:0!important;height:auto!important;max-height:45%!important;flex:0 0 auto!important;box-shadow:none!important}
  body .app #screen-korea.rail-collapsed>.rail,body .app #screen-world.rail-collapsed>.rail,body .app #screen-moon.rail-collapsed>.rail{height:112px!important;max-height:112px!important;overflow:hidden!important}
  body .app #screen-korea .rail-inner,body .app #screen-world .rail-inner,body .app #screen-moon .rail-inner{padding:8px 16px 16px!important;max-height:calc(45dvh - 32px)!important}
  body .app #screen-korea .rail-inner h1,body .app #screen-world .rail-inner h1,body .app #screen-moon .rail-inner h1{font-size:20px!important}
  body .app #screen-korea .maparea,body .app #screen-world .maparea,body .app #screen-moon .moon-stage{height:auto!important;min-height:300px!important;flex:1 1 auto!important}
  body .app #screen-detail.active{height:auto!important;min-height:calc(100dvh - 160px)!important;display:block!important;overflow:visible!important}
  body .app #screen-detail>.rail{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;border-radius:0!important;box-shadow:none!important}
  body .app #screen-detail .rail-inner{height:auto!important;max-height:none!important;overflow:visible!important;padding:24px 16px!important}
  body .app #screen-detail .mobile-handle{display:none!important}
  body .app .detail-weather{height:auto!important;overflow:visible!important;padding:16px!important}
  body .app .detail-grid{grid-template-columns:1fr!important}
  body .app .detail-head h2{font-size:22px!important}
  body .app #screen-compare.active{display:flex!important;flex-direction:column!important;height:calc(100dvh - 160px)!important;min-height:640px!important}
  body .app #screen-compare>.rail{position:relative!important;inset:auto!important;transform:none!important;max-height:272px!important;flex:0 0 auto!important;width:100%!important;border-radius:0!important;box-shadow:none!important}
  body .app #screen-compare .rail-inner{max-height:272px!important;height:auto!important;padding:16px!important}
  body .app #screen-compare>.maparea{min-height:360px!important;flex:1 1 auto!important}
  body .app #pointSheet{position:absolute!important;left:8px!important;right:8px!important;top:auto!important;bottom:8px!important;max-height:calc(100% - 24px)!important;width:auto!important;z-index:1200!important}
  body .app .compare-map-dock{border-radius:12px!important;max-height:50%!important}
  body .app .weather-five-grid{grid-template-columns:1fr!important}
}
@media(min-width:600px) and (max-width:980px){
  body.hm-v8-local-mobile .app #screen-local.active>.rail>.rail-inner{max-width:720px!important;margin:0 auto!important;padding:24px 32px 32px!important}
  body .app #screen-local #mobileLocalDashboard .point-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body .app #screen-local #mobileLocalDashboard .point-metrics .metric:nth-child(odd){border-left:1px solid var(--hm-line)!important;padding-left:12px!important}
  body .app #screen-local #mobileLocalDashboard .point-metrics .metric:first-child{border-left:0!important;padding-left:0!important}
}
@media(prefers-reduced-motion:reduce){body .app *,body .app *::before,body .app *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
