@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css");

@font-face {
  font-family: "NEXON Lv2 Gothic";
  src: url("./assets/fonts/NEXON-Lv2-Gothic-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7AF, U+D7B0-D7FF, U+3000-303F;
}

/* Final QA polish: clear status cards and smoother detail typography. */
.signal-status strong {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--crowd-color) !important;
}

.signal-status span {
  color: rgba(28, 38, 31, 0.68) !important;
}

.detail-card,
.detail-card button,
.detail-card a,
.detail-card p,
.detail-card span,
.detail-card small,
.detail-card strong {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0 !important;
}

.detail-card {
  font-weight: 400 !important;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.detail-card h2,
.detail-hero h2,
.detail-reason-panel h2,
.timeline-title h2 {
  font-weight: 600 !important;
  line-height: 1.24 !important;
}

.detail-card strong,
.detail-tile strong,
.detail-quick-summary > strong,
.nearby-kakao-item strong {
  font-weight: 600 !important;
}

.detail-card p,
.detail-card span,
.detail-card small,
.detail-tile span,
.detail-reason-panel p,
.nearby-kakao-item p {
  font-weight: 400 !important;
  line-height: 1.48 !important;
}

.detail-map-tabs button {
  font-weight: 500 !important;
  line-height: 1.18 !important;
}

@font-face {
  font-family: "NEXON Lv2 Gothic";
  src: url("./assets/fonts/NEXON-Lv2-Gothic-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7AF, U+D7B0-D7FF, U+3000-303F;
}

@font-face {
  font-family: "NEXON Lv2 Gothic";
  src: url("./assets/fonts/NEXON-Lv2-Gothic-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7AF, U+D7B0-D7FF, U+3000-303F;
}

@font-face {
  font-family: "NEXON Lv2 Gothic";
  src: url("./assets/fonts/NEXON-Lv2-Gothic-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7AF, U+D7B0-D7FF, U+3000-303F;
}

:root {
  color-scheme: light;
  --ink: #1c261f;
  --muted: #66716a;
  --line: rgba(28, 38, 31, 0.12);
  --surface: #ffffff;
  --panel: #ffffff;
  --teal: #fceaa2;
  --teal-dark: #1c261f;
  --coral: #1c261f;
  --amber: #fceaa2;
  --blue: #1c261f;
  --aqua: #fceaa2;
  --panel-glass: rgba(255, 255, 255, 0.94);
  --green-soft: #fff7cc;
  --amber-soft: #fff7cc;
  --coral-soft: #fff7cc;
  --accent: #fceaa2;
  --accent-strong: #f6d85b;
  --shadow: 0 24px 58px rgba(28, 38, 31, 0.1);
  --soft-shadow: 0 13px 28px rgba(28, 38, 31, 0.07);
  --app-font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --brand-font: "NEXON Lv2 Gothic", "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-family: var(--app-font);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: var(--ink);
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: #ffffff;
  opacity: 1;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.splash-screen.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.splash-gap {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 58%, rgba(252, 234, 162, 0.94) 0 32%, rgba(252, 234, 162, 0.68) 47%, transparent 68%),
    #ffffff;
  box-shadow: none;
  clip-path: none;
  animation: none;
  transform-origin: center;
}

.splash-screen.is-animating .splash-gap {
  animation: none;
}

.splash-gap::before,
.splash-gap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: calc(50% - 13px);
  background: #ffffff;
  box-shadow: 0 0 44px rgba(22, 34, 31, 0.1);
  animation: none;
}

.splash-screen.is-animating .splash-gap::before,
.splash-screen.is-animating .splash-gap::after {
  animation: splash-wall-open 1300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash-gap::before {
  left: 0;
  border-radius: 0;
}

.splash-gap::after {
  right: 0;
  border-radius: 0;
}

.splash-sky {
  display: none;
  position: absolute;
  inset: 0 0 36%;
  background: #aee4ff;
}

.splash-meadow {
  display: none;
  position: absolute;
  inset: 58% 0 0;
  background: #62c96f;
}

.splash-sun {
  position: absolute;
  right: 36px;
  top: 40px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #ffd75d;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
}

.splash-cloud {
  position: absolute;
  width: 74px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(59, 130, 246, 0.08);
}

.splash-cloud::before,
.splash-cloud::after {
  content: "";
  position: absolute;
  bottom: 9px;
  border-radius: 999px;
  background: #ffffff;
}

.splash-cloud::before {
  left: 12px;
  width: 30px;
  height: 30px;
}

.splash-cloud::after {
  right: 13px;
  width: 24px;
  height: 24px;
}

.cloud-one {
  left: 32px;
  top: 66px;
}

.cloud-two {
  right: 42px;
  top: 116px;
  transform: scale(0.72);
  opacity: 0.84;
}

.flower {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 -9px 0 #ffffff,
    0 9px 0 #ffffff,
    -9px 0 0 #ffffff,
    9px 0 0 #ffffff,
    0 0 0 5px #f59e0b;
}

.flower::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  width: 3px;
  height: 42px;
  border-radius: 999px;
  background: #178f47;
}

.f1 {
  left: 38px;
  bottom: 56px;
  transform: scale(0.72);
}

.f2 {
  left: 92px;
  bottom: 40px;
  transform: scale(0.9);
}

.f3 {
  right: 84px;
  bottom: 62px;
  transform: scale(0.66);
}

.f4 {
  right: 42px;
  bottom: 34px;
  transform: scale(0.82);
}

.f5 {
  left: 148px;
  bottom: 78px;
  transform: scale(0.56);
}

.splash-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(340px, calc(100vw - 48px));
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  transform: translate(-50%, -50%);
  animation: splash-copy-rise 1650ms ease forwards;
}

.splash-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: none;
  object-fit: cover;
}

.splash-copy span {
  color: rgba(28, 38, 31, 0.64);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
}

.splash-copy strong {
  color: var(--ink);
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

@keyframes splash-wall-open {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(var(--wall-shift, 0));
  }
}

.splash-gap::before {
  --wall-shift: -112%;
}

.splash-gap::after {
  --wall-shift: 112%;
}

@keyframes splash-copy-rise {
  0% {
    opacity: 0.15;
    transform: translate(-50%, calc(-50% + 10px));
  }

  34%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #ffffff;
  position: relative;
}

.phone-frame {
  width: min(430px, 100%);
  height: min(900px, calc(100vh - 96px));
  min-height: min(720px, calc(100vh - 96px));
  background: #ffffff;
  border: 1px solid rgba(22, 34, 31, 0.07);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow-y: auto;
  scrollbar-width: thin;
  display: block;
  padding-bottom: 92px;
}

html.has-ui-overlay,
body.has-ui-overlay {
  overscroll-behavior: none;
}

body.has-ui-overlay .phone-frame {
  overflow: hidden;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 22px 10px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-app-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: none;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 27px;
  font-weight: 950;
  line-height: 1.05;
}

h2 {
  margin-bottom: 0;
  font-size: 18px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(22, 34, 31, 0.08);
  background: #ffffff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 10px 26px rgba(22, 34, 31, 0.08);
}

.settings-button {
  background: #ffffff;
  color: #1c261f;
  border: 1px solid rgba(22, 34, 31, 0.08);
  box-shadow: 0 10px 26px rgba(22, 34, 31, 0.08);
}

.settings-gear-icon {
  width: 23px;
  height: 23px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-button:hover {
  transform: translateY(-1px);
}

.search-panel {
  margin: 0 14px 14px;
  padding: 12px;
  border: 1px solid rgba(22, 34, 31, 0.07);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  background: #f8faf9;
  border: 1px solid rgba(22, 34, 31, 0.07);
  border-radius: 16px;
}

.field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.field select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.mode-tabs,
.content-tabs {
  display: grid;
  gap: 8px;
}

.mode-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 10px;
  padding: 4px;
  border-radius: 18px;
  background: rgba(22, 34, 31, 0.05);
}

.mode-tab,
.content-tab {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 14px;
  font-weight: 900;
  font-size: 13px;
}

.mode-tab.is-active,
.content-tab.is-active {
  color: white;
  background: #111827;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.18);
}

body.has-locked-filters .control-grid,
body.has-locked-filters .mode-tabs {
  opacity: 0.48;
}

body.has-locked-filters .field,
body.has-locked-filters .mode-tab {
  box-shadow: none;
}

.field select:disabled,
.mode-tab:disabled,
#locateButton:disabled {
  cursor: not-allowed;
}

.mode-tab:disabled {
  pointer-events: none;
}

.insight-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 18px 12px;
}

.data-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  margin: 0 18px 14px;
  padding: 13px 14px;
  border: 1px solid rgba(22, 34, 31, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(22, 34, 31, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.data-note[hidden] {
  display: none;
}

.data-note-main {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.data-note-sub {
  grid-column: 1 / -1;
  color: #64706c;
  font-size: 11px;
  font-weight: 750;
}

.data-note-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f3f5f4;
  color: #56625e;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
}

.data-note-pill.is-live {
  background: #eaf8ef;
  color: #12805c;
}

.recommend-rule-note {
  display: inline;
  margin-top: 0;
  color: inherit;
}

.habit-panel {
  margin: 0 18px 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: #ffffff;
  display: grid;
  gap: 12px;
}

.habit-panel span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.habit-panel h2 {
  margin: 4px 0;
  font-size: 17px;
}

.habit-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.habit-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.habit-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: var(--teal-dark);
  color: white;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
}

.habit-actions button:disabled {
  background: var(--green-soft);
  color: var(--teal-dark);
  cursor: default;
}

.habit-actions span {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
}

.insight-strip article {
  min-height: 66px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  align-content: center;
}

.metric-value {
  font-size: 20px;
  font-weight: 900;
}

.metric-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.map-panel {
  height: 282px;
  margin: 0 12px 14px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  background: #dfe8df;
  border: 1px solid rgba(22, 34, 31, 0.12);
  box-shadow: 0 22px 54px rgba(22, 34, 31, 0.18);
  isolation: isolate;
}

.map-status {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 12px;
  z-index: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.map-status span,
.map-status button {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(22, 34, 31, 0.11);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(22, 34, 31, 0.14);
  backdrop-filter: blur(14px);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.map-status span {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  min-width: 0;
}

.map-status button {
  padding: 0 12px;
  pointer-events: auto;
  white-space: nowrap;
}

.map-tools {
  display: flex;
  gap: 6px;
  pointer-events: auto;
}

.map-tools button {
  min-width: 36px;
  padding: 0 10px;
}

.map-tools button.needs-location {
  border-color: rgba(232, 93, 79, 0.3);
  background: #fff1ef;
  color: #b42318;
}

.map-panel::after {
  content: attr(data-map-hint);
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 760;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(22, 34, 31, 0.12);
  pointer-events: none;
}

.map-data-legend {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 790;
  display: grid;
  gap: 4px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(22, 34, 31, 0.13);
  pointer-events: none;
}

.map-data-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.map-data-legend i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 1.5px solid #1c261f;
  border-radius: 50%;
  background: #fceaa2;
}

.map-data-legend .is-none i {
  border-style: dashed;
  background: #ffffff;
}

.map-data-legend b {
  color: #48534d;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.crowd-live-filter {
  min-height: 42px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ffffff;
  color: #34413a;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(22, 34, 31, 0.08);
}

.map-crowd-controls {
  margin: -4px 12px 12px;
  position: relative;
  z-index: 2;
}

.crowd-live-filter input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: #1c261f;
}

.crowd-live-filter b {
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}

.crowd-live-filter.is-active {
  background: #fceaa2;
  color: #1c261f;
}

.real-map {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.leaflet-container {
  font-family: inherit;
  overflow: hidden;
  position: relative;
  outline: 0;
  touch-action: pan-x pan-y;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-tile {
  width: 256px;
  height: 256px;
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-control-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-control {
  pointer-events: auto;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 6px;
}

.leaflet-right .leaflet-control {
  margin-right: 8px;
}

.leaflet-popup {
  position: absolute;
  text-align: center;
  margin-bottom: 20px;
}

.leaflet-popup-content-wrapper {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(22, 34, 31, 0.2);
  padding: 8px;
}

.leaflet-popup-content {
  margin: 0;
}

.leaflet-popup-tip-container {
  display: none;
}

.leaflet-control-attribution {
  font-size: 9px;
}

.map-pin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 12px;
  font-weight: 900;
  border: 3px solid white;
  box-shadow: 0 8px 22px rgba(22, 34, 31, 0.2);
}

.user-pin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  border: 4px solid white;
  box-shadow: 0 0 0 6px rgba(70, 100, 217, 0.22), 0 8px 22px rgba(22, 34, 31, 0.24);
}

.map-pin.good {
  background: var(--teal);
}

.map-pin.watch {
  background: var(--amber);
}

.map-pin.busy {
  background: var(--coral);
}

.map-pin.focus {
  background: var(--blue);
}

.detail-place-pin {
  width: 132px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
}

.detail-place-pin span {
  max-width: 116px;
  min-height: 21px;
  display: block;
  padding: 4px 8px 3px;
  border: 0 !important;
  border-radius: 999px;
  overflow: hidden;
  background: #1c261f !important;
  box-shadow: 0 8px 18px rgba(22, 34, 31, 0.18);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-place-pin i {
  width: 18px;
  height: 18px;
  margin-top: 0;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #1c261f;
  box-shadow:
    0 0 0 3px #fceaa2,
    0 10px 24px rgba(28, 38, 31, 0.24);
}

.mobility-map-pin {
  width: 30px;
  height: 30px;
  padding: 0;
  appearance: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  border: 3px solid white;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(22, 34, 31, 0.22);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.mobility-map-pin.good {
  background: var(--teal);
}

.mobility-map-pin.watch {
  background: var(--amber);
}

.mobility-map-pin.busy {
  background: var(--coral);
}

.mobility-map-pin.food {
  background: var(--coral);
}

.mobility-map-pin.cafe {
  background: var(--amber);
}

.mobility-map-pin.attraction {
  background: #7c3aed;
}

.mobility-map-pin.convenience {
  background: #059669;
}

.mobility-map-pin.nursing {
  background: #db2777;
}

.mobility-map-pin.toilet {
  background: #2563eb;
}

.mobility-map-pin.station {
  background: #fceaa2;
  color: #1c261f;
}

.map-popup {
  min-width: 156px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  text-align: left;
}

.map-popup:not(:has(.map-popup-badge)) {
  grid-template-columns: 1fr;
}

.map-popup-title {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.map-popup-title-button {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.map-popup-title-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-place-popup {
  position: relative;
  min-width: 138px;
  max-width: 210px;
  padding: 10px 12px 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 250, 0.9)),
    rgba(255, 255, 255, 0.92);
  box-shadow:
    0 16px 34px rgba(22, 34, 31, 0.2),
    0 2px 8px rgba(22, 34, 31, 0.08);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.map-place-popup-button {
  width: max-content;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  font: inherit;
  cursor: pointer;
}

.map-place-popup-button:active,
.map-place-popup-button:focus-visible {
  outline: 3px solid rgba(252, 234, 162, 0.92);
  outline-offset: 2px;
}

.map-place-popup::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.94);
  transform: translateX(-50%) rotate(45deg);
}

.map-place-popup .map-popup-title {
  margin-bottom: 4px;
  font-size: 14px;
}

.map-place-popup span:not(.map-popup-badge) {
  color: #5c6965;
  font-size: 11px;
}

.map-popup-layer,
.map-popup-layer * {
  pointer-events: auto;
}

.map-popup-layer {
  z-index: 1200;
}

.map-inline-popup {
  position: fixed;
  width: max-content;
  max-width: min(230px, calc(100% - 24px));
  transform: translate(-50%, calc(-100% - 14px));
}

.map-popup a.map-popup-title::after {
  content: "↗";
  margin-left: 4px;
  color: var(--blue);
  font-size: 10px;
  vertical-align: 1px;
}

.map-popup span:not(.map-popup-badge) {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.map-popup-badge {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

.map-popup-badge.food {
  background: var(--coral);
}

.map-popup-badge.cafe {
  background: var(--amber);
}

.map-popup-badge.attraction {
  background: #7c3aed;
}

.map-popup-badge.convenience {
  background: #059669;
}

.map-popup-badge.nursing {
  background: #db2777;
}

.map-popup-badge.toilet {
  background: #2563eb;
}

.content-tabs {
  grid-template-columns: repeat(4, 1fr);
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 900;
  width: min(430px, 100vw);
  margin: 0;
  padding: 7px 7px calc(7px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  border: 1px solid rgba(22, 34, 31, 0.08);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(22, 34, 31, 0.16);
}

body.has-native-admob {
  --native-admob-banner-height: 64px;
  --native-tabbar-height: 72px;
  --native-admob-banner-gap: 14px;
}

body.has-native-admob .phone-frame {
  padding-bottom: calc(var(--native-admob-banner-height) + var(--native-tabbar-height) + 30px + env(safe-area-inset-bottom, 0px));
}

body.has-native-admob .content-tabs {
  bottom: 0;
}

body.has-native-admob .detail-actions {
  bottom: calc(14px + var(--native-tabbar-height) + env(safe-area-inset-bottom, 0px));
}

body.has-native-admob.has-admob-suppressed .detail-actions {
  bottom: calc(6px + env(safe-area-inset-bottom, 0px));
}

body.has-native-admob.has-admob-banner-suppressed .detail-actions {
  bottom: calc(6px + env(safe-area-inset-bottom, 0px));
}

body.has-native-admob .detail-card {
  padding-bottom: calc(142px + var(--native-tabbar-height));
}

body.has-native-admob.has-admob-suppressed .detail-card {
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

body.has-native-admob.has-admob-banner-suppressed .detail-card {
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

body.has-native-admob .view {
  padding-bottom: 8px;
}

body.has-native-admob .rank-pager {
  margin-bottom: 0;
}

body.has-admob-suppressed .ad-card:not(.detail-pane .ad-card) {
  opacity: 0.28;
  filter: blur(1.5px) saturate(0.65);
  pointer-events: none;
}

body.has-admob-suppressed .inline-banner-slot:not(.detail-pane .inline-banner-slot) {
  opacity: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.content-tab {
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  display: grid;
  gap: 3px;
  place-items: center;
  align-content: center;
}

.content-tab::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background: center / contain no-repeat;
  opacity: 0;
}

.content-tab[data-view="allPlaces"]::before {
  display: block;
  opacity: 1;
  background-image: url("./assets/3d-all.svg");
}

.content-tab[data-view="recommend"]::before {
  opacity: 1;
  background-image: url("./assets/3d-thumb.svg");
}

.content-tab[data-view="savedPlaces"]::before {
  display: block;
  opacity: 1;
  background-image: url("./assets/3d-heart.svg");
}

.content-tab[data-view="route"]::before {
  display: block;
  opacity: 1;
  background-image: url("./assets/3d-route.svg");
}

.content-tab[data-view="alerts"]::before {
  display: block;
  opacity: 1;
  background-image: url("./assets/3d-bell.svg");
}

.content-tab.is-active::before {
  filter: saturate(1.08);
}

.view {
  display: none;
  padding: 0 12px 24px;
}

.view.is-active {
  display: block;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 2px 2px 12px;
}

.section-heading h2 {
  font-size: 19px;
  font-weight: 950;
}

.section-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

#recommendView .section-heading {
  align-items: center;
  margin: 4px 18px 8px;
}

#recommendView .section-heading h2 {
  font-size: 22px;
  letter-spacing: 0;
}

#recommendView .section-heading span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5f7f6;
  color: #64706c;
  font-size: 11px;
}

.share-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 18px 12px;
  padding: 12px 13px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(252, 234, 162, 0.62), rgba(255, 255, 255, 0.96) 56%),
    #ffffff;
  border: 1px solid rgba(22, 34, 31, 0.07);
  box-shadow: 0 12px 28px rgba(22, 34, 31, 0.06);
}

.share-teaser strong,
.share-teaser span {
  display: block;
  min-width: 0;
}

.share-teaser strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.25;
}

.share-teaser span {
  margin-top: 3px;
  color: #67736e;
  font-size: 12px;
  font-weight: 430;
  line-height: 1.35;
}

.share-teaser button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 13px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(22, 34, 31, 0.12);
}

.place-list,
.route-list,
.alert-list {
  display: grid;
  gap: 12px;
}

.rank-pager {
  display: grid;
  grid-template-columns: minmax(82px, auto) 1fr minmax(82px, auto);
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.rank-pager button {
  min-height: 38px;
  border: 1px solid rgba(22, 34, 31, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.rank-pager button:disabled {
  cursor: default;
  opacity: 0.42;
}

.rank-pager span {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.place-card,
.route-card,
.alert-card,
.ad-card {
  background: #ffffff;
  border: 1px solid rgba(22, 34, 31, 0.07);
  border-radius: 24px;
  padding: 15px;
  box-shadow:
    0 16px 34px rgba(22, 34, 31, 0.08),
    0 2px 7px rgba(22, 34, 31, 0.04);
}

.place-card {
  display: grid;
  position: relative;
  gap: 11px;
  overflow: hidden;
  --crowd-color: #d59b22;
}

.place-card.is-map-focused,
.route-card.is-map-focused {
  outline: 3px solid rgba(252, 234, 162, 0.94);
  outline-offset: 3px;
  box-shadow:
    0 20px 42px rgba(246, 216, 91, 0.24),
    0 6px 16px rgba(22, 34, 31, 0.06);
}

.place-card.crowd-open,
.signal-status.crowd-open,
.score-badge.crowd-open {
  --crowd-color: #16a34a;
}

.place-card.crowd-busy,
.signal-status.crowd-busy,
.score-badge.crowd-busy {
  --crowd-color: #d97706;
}

.place-card.crowd-packed,
.signal-status.crowd-packed,
.score-badge.crowd-packed {
  --crowd-color: #111827;
}

.place-card.crowd-normal,
.signal-status.crowd-normal,
.score-badge.crowd-normal {
  --crowd-color: #d59b22;
}

.place-card.crowd-no-data,
.signal-status.crowd-no-data,
.score-badge.crowd-no-data {
  --crowd-color: #9aa39e;
}

.place-card::before {
  display: none;
}

.place-card.crowd-open,
.place-card.crowd-normal,
.place-card.crowd-busy,
.place-card.crowd-packed {
  box-shadow:
    0 16px 34px rgba(22, 34, 31, 0.08),
    0 2px 7px rgba(22, 34, 31, 0.04),
    0 0 0 1px color-mix(in srgb, var(--crowd-color) 12%, transparent);
}

.place-data-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.crowd-coverage-badge,
.festival-period-badge {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 7px;
  background: #f6f7f6;
  color: #5d6862;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.crowd-coverage-badge i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1px solid #1c261f;
  border-radius: 50%;
}

.crowd-coverage-badge.is-live {
  background: #fff7cf;
  color: #5a4a00;
}

.crowd-coverage-badge.is-live i {
  background: #f6d85b;
}

.crowd-coverage-badge.is-none i {
  border-style: dashed;
  background: #ffffff;
}

.festival-period-badge {
  background: #eef5ff;
  color: #315780;
}

.timeline.is-unavailable {
  padding-bottom: 14px;
}

.timeline-unavailable-copy {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f5f6f5;
  color: #66716b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.map-pin.crowd-data-live {
  background: #fceaa2 !important;
  border-style: solid !important;
}

.map-pin.crowd-data-none {
  background: #ffffff !important;
  border-style: dashed !important;
  color: #1c261f !important;
  box-shadow: 0 8px 18px rgba(28, 38, 31, 0.16) !important;
}

@media (max-width: 380px) {
  .map-data-legend b {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.loading-card {
  color: var(--muted);
}

.empty-card {
  color: var(--muted);
  line-height: 1.45;
}

.empty-state-card {
  margin: 0 18px 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #ffffff;
  color: var(--muted);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  line-height: 1.45;
}

.empty-state-card strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 6px;
}

.empty-state-card p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.data-note .live-loading-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.34);
  animation: live-pulse 1.25s ease-out infinite;
  vertical-align: 1px;
}

.live-loading-card {
  overflow: hidden;
  position: relative;
  background: var(--panel);
}

.live-loading-card::after,
.skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: skeleton-sweep 1.7s ease-in-out infinite;
}

.loading-hero {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.loading-hero strong {
  color: var(--ink);
  font-size: 15px;
}

.loading-hero p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.loading-radar {
  width: 42px;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 2px solid rgba(15, 118, 110, 0.18);
  background:
    radial-gradient(circle at center, var(--teal) 0 4px, transparent 5px),
    conic-gradient(from 0deg, rgba(15, 118, 110, 0.24), transparent 58%);
  animation: radar-spin 1.6s linear infinite;
}

.loading-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.loading-steps span {
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
}

.skeleton-stack,
.skeleton-card {
  display: grid;
  gap: 8px;
}

.skeleton-stack span,
.skeleton-card span {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
}

.skeleton-stack span:nth-child(2),
.skeleton-card span:nth-child(2) {
  width: 72%;
}

.skeleton-stack span:nth-child(3),
.skeleton-card span:nth-child(3) {
  width: 54%;
}

.skeleton-card {
  min-height: 112px;
  position: relative;
  overflow: hidden;
}

@keyframes live-pulse {
  100% {
    box-shadow: 0 0 0 8px rgba(15, 118, 110, 0);
  }
}

@keyframes radar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes skeleton-sweep {
  55%,
  100% {
    transform: translateX(100%);
  }
}

.radar-panel {
  margin: 0 18px 14px;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 18px;
  background: var(--panel);
}

.radar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.radar-head span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.radar-head strong {
  color: var(--ink);
  font-size: 14px;
  text-align: right;
}

.radar-grid {
  display: grid;
  gap: 8px;
}

.radar-card {
  display: grid;
  grid-template-columns: minmax(68px, auto) 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.radar-card > span {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
}

.radar-card strong {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
}

.radar-card p {
  grid-column: 2 / 3;
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.radar-card button {
  grid-column: 3;
  grid-row: 1 / span 2;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.radar-card.is-loading {
  grid-template-columns: 1fr;
}

.radar-card.is-loading span {
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
}

.radar-card.is-loading span:last-child {
  width: 62%;
}

.ad-card,
.sponsor-card,
.affiliate-card {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 6px;
  margin: 10px 0 14px;
  color: var(--muted);
  background: #ffffff;
  border-style: dashed;
  position: relative;
  z-index: 1;
}

.ad-card span,
.sponsor-card span,
.affiliate-card span {
  font-size: 10px;
  font-weight: 900;
  color: var(--blue);
}

.ad-card strong,
.sponsor-card strong,
.affiliate-card strong {
  color: var(--ink);
  font-size: 14px;
}

.ad-card p,
.sponsor-card p,
.affiliate-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.google-test-ad {
  min-height: 92px;
  align-content: stretch;
  gap: 10px;
  border-style: solid;
  border-color: rgba(28, 38, 31, 0.08);
  background:
    linear-gradient(135deg, rgba(252, 234, 162, 0.34), rgba(255, 255, 255, 0) 52%),
    #ffffff;
}

.inline-banner-slot {
  display: block;
  min-height: 112px;
  height: 112px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  contain: layout paint;
  isolation: isolate;
}

.inline-banner-slot > span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.kakao-adfit-card {
  display: block;
  min-height: 236px;
  padding: 12px;
  overflow: hidden;
  border-style: solid;
  contain: layout paint;
  isolation: isolate;
}

.kakao-adfit-card > span {
  display: block;
  margin-bottom: 7px;
  color: #69736d;
  font-size: 10px;
  font-weight: 600;
}

.kakao-adfit-card .kakao_ad_area {
  max-width: 100%;
  margin: 0 auto;
}

.google-test-ad-body {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.google-test-ad-body i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #ffffff;
  color: #4285f4;
  box-shadow:
    0 10px 20px rgba(28, 38, 31, 0.08),
    inset 0 0 0 1px rgba(28, 38, 31, 0.08);
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}

.google-test-ad-body strong {
  display: block;
  font-size: 14px;
}

.google-test-ad-body p {
  margin-top: 2px;
  color: var(--muted);
}

.custom-ad,
.sponsor-card,
.affiliate-card {
  text-decoration: none;
}

.custom-ad em,
.sponsor-card em,
.affiliate-card em {
  color: var(--teal);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.sponsor-card {
  background: #ffffff;
  border-color: rgba(213, 155, 34, 0.35);
  border-style: solid;
}

.affiliate-card {
  margin-top: 16px;
  background: #ffffff;
  border-color: rgba(70, 100, 217, 0.22);
  border-style: solid;
}

.place-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.place-head-copy {
  min-width: 0;
}

.place-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
}

.place-photo {
  width: 52px;
  height: 52px;
  position: relative;
  border-radius: 18px;
  background: #eef4f1 var(--place-photo) center / cover no-repeat;
  box-shadow: 0 12px 22px rgba(22, 34, 31, 0.16);
  flex: 0 0 auto;
  overflow: hidden;
}

.place-detail-trigger {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(252, 234, 162, 0.36);
}

.place-detail-trigger:focus-visible {
  outline: 2px solid rgba(28, 38, 31, 0.86);
  outline-offset: 3px;
}

.place-photo::before,
.signal-icon::before,
.signal-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.place-photo::before {
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.26));
}

.place-photo[data-photo-fallback="true"]::before {
  background: #eef2ef;
}

.place-photo-pending {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  place-items: center;
  padding: 6px;
  color: #59645d;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.place-photo[data-photo-fallback="true"] .place-photo-pending {
  display: grid;
}

.place-category-icon {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 24px;
  height: 24px;
  border: 2px solid white;
  border-radius: 10px;
  background: #12a594;
  box-shadow: 0 7px 12px rgba(22, 34, 31, 0.2);
}

.place-category-icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.82);
}

.place-icon-history {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.94) 0 8px, transparent 9px),
    linear-gradient(145deg, #fff1ce, #e3a62b 52%, #9a5d08 100%);
}

.place-icon-park {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.94) 0 8px, transparent 9px),
    linear-gradient(145deg, #dcf7df, #51bd74 52%, #207946 100%);
}

.place-icon-cafe,
.place-icon-food,
.place-icon-market {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.94) 0 8px, transparent 9px),
    linear-gradient(145deg, #ffe5df, #f0836f 52%, #ba3f2f 100%);
  box-shadow:
    inset -10px -10px 18px rgba(186, 63, 47, 0.16),
    inset 8px 8px 16px rgba(255, 255, 255, 0.72),
    0 12px 22px rgba(232, 93, 79, 0.2);
}

.place-icon-art,
.place-icon-culture {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.94) 0 8px, transparent 9px),
    linear-gradient(145deg, #e7e9ff, #7887f0 52%, #3f50bd 100%);
  box-shadow:
    inset -10px -10px 18px rgba(70, 100, 217, 0.16),
    inset 8px 8px 16px rgba(255, 255, 255, 0.72),
    0 12px 22px rgba(70, 100, 217, 0.2);
}

.place-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.place-title-button {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.place-title-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
  border-radius: 8px;
}

.place-title-button:hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.route-title-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.route-title-button:hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.place-title-line h3 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.place-korean-name {
  margin: 2px 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.place-rank-badge {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #111827;
  color: white;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(15, 118, 110, 0.22);
}

.place-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.place-rating-pill {
  width: fit-content;
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff8dc;
  color: #8a5a00;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(213, 155, 34, 0.18);
}

.place-rating-pill span {
  color: #f5b400;
  font-size: 12px;
}

.place-accessibility-pill {
  width: fit-content;
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f8f5e8;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.08);
}

.place-accessibility-pill span {
  font-size: 12px;
  line-height: 1;
}

.score-badge {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #eaf8ef;
  color: #10853d;
  font-weight: 900;
  font-size: 20px;
  box-shadow:
    inset 0 0 0 1px rgba(16, 133, 61, 0.1),
    0 10px 20px rgba(16, 133, 61, 0.1);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.score-badge:hover,
.score-badge[aria-expanded="true"] {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(16, 133, 61, 0.16),
    0 14px 26px rgba(16, 133, 61, 0.16);
}

.score-badge.mid {
  background: #fff7df;
  color: #b46b00;
  box-shadow:
    inset 0 0 0 1px rgba(180, 107, 0, 0.12),
    0 10px 20px rgba(180, 107, 0, 0.09);
}

.score-badge.low {
  background: #fff0f0;
  color: #dc2626;
  box-shadow:
    inset 0 0 0 1px rgba(220, 38, 38, 0.1),
    0 10px 20px rgba(220, 38, 38, 0.08);
}

.score-badge.high {
  background: #eaf8ef;
  color: #10853d;
}

.score-breakdown-panel {
  display: grid;
  gap: 10px;
  margin-top: -2px;
  padding: 12px;
  border: 1px solid rgba(22, 34, 31, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(22, 34, 31, 0.08);
}

.score-breakdown-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}

.score-breakdown-head strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.score-breakdown-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.score-breakdown-head > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #eef8f1;
  color: #10853d;
  font-size: 17px;
  font-weight: 950;
}

.score-breakdown-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 38, 31, 0.06);
  color: #1c261f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.score-breakdown-close:active {
  transform: translateY(1px);
}

.score-breakdown-list {
  display: grid;
  gap: 8px;
}

.score-breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.score-breakdown-row div {
  min-width: 0;
}

.score-breakdown-row strong,
.score-breakdown-row small,
.score-breakdown-row span {
  display: block;
}

.score-breakdown-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-breakdown-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.score-breakdown-row span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.score-breakdown-row i {
  grid-column: 1 / -1;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal) var(--score-width), #edf1eb var(--score-width));
}

.score-breakdown-row.is-adjustment span {
  color: #8a5a00;
}

.score-breakdown-row.is-adjustment i {
  background: linear-gradient(90deg, var(--amber) var(--score-width), #f5ead0 var(--score-width));
}

.signals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.signal {
  min-height: 72px;
  border-radius: 16px;
  background: #fbfcfb;
  border: 1px solid rgba(22, 34, 31, 0.06);
  padding: 10px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
}

.signal.place-detail-trigger {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.signal.place-detail-trigger:active {
  transform: scale(0.985);
}

.signal-no-icon {
  grid-template-columns: 38px 1fr;
}

.mobility-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 13px;
  background: #ffffff;
  box-shadow:
    0 8px 16px rgba(22, 34, 31, 0.08),
    inset 0 0 0 1px rgba(22, 34, 31, 0.06);
  overflow: hidden;
}

.bike-soft-logo {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.98) 0 26%, transparent 27%),
    linear-gradient(145deg, #e7f7ff 0%, #ffffff 54%, #eef7f0 100%);
}

.bike-soft-glyph {
  position: relative;
  width: 31px;
  height: 23px;
  display: block;
}

.bike-soft-glyph::before,
.bike-soft-glyph::after {
  content: "";
  position: absolute;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border: 3px solid #1c261f;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 2px #7dd3fc,
    0 5px 10px rgba(28, 38, 31, 0.1);
}

.bike-soft-glyph::before {
  left: 0;
}

.bike-soft-glyph::after {
  right: 0;
  box-shadow:
    inset 0 0 0 2px #86efac,
    0 5px 10px rgba(28, 38, 31, 0.1);
}

.bike-soft-logo::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 14px;
  width: 19px;
  height: 13px;
  border-left: 3px solid #1c261f;
  border-bottom: 3px solid #1c261f;
  border-right: 3px solid #1c261f;
  transform: skewX(-22deg);
  border-radius: 2px;
}

.bike-soft-logo::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 8px;
  width: 16px;
  height: 13px;
  border-top: 3px solid #1c261f;
  border-right: 3px solid #1c261f;
  transform: rotate(-8deg);
  border-radius: 2px;
}

.parking-logo {
  color: white;
  background: #2563eb;
  font-size: 16px;
  font-weight: 950;
}

.car-logo {
  background:
    linear-gradient(180deg, #e0f2fe 0%, #ffffff 56%, #dbeafe 100%);
  color: #1d4ed8;
  font-size: 23px;
  line-height: 1;
  text-shadow: 0 4px 9px rgba(29, 78, 216, 0.18);
}

.signal-status {
  border-color: color-mix(in srgb, var(--crowd-color) 22%, white);
  background: color-mix(in srgb, var(--crowd-color) 8%, white);
}

.signal-status strong,
.signal-status .signal-icon {
  color: var(--crowd-color);
}

.signal-weather-card,
.signal-air-card,
.signal-mobility-card {
  --signal-tone: #d59b22;
  border-color: color-mix(in srgb, var(--signal-tone) 22%, white);
  background: color-mix(in srgb, var(--signal-tone) 8%, white);
}

.signal-weather-card strong,
.signal-air-card strong,
.signal-mobility-card strong {
  color: var(--signal-tone);
}

.signal-weather-card.weather-good,
.signal-air-card.air-good,
.signal-mobility-card.mobility-good {
  --signal-tone: #16a34a;
}

.signal-weather-card.weather-normal,
.signal-air-card.air-normal,
.signal-mobility-card.mobility-normal {
  --signal-tone: #d97706;
}

.signal-weather-card.weather-bad,
.signal-air-card.air-bad,
.signal-mobility-card.mobility-bad {
  --signal-tone: #ef4444;
}

.signal-mobility-card.mobility-good .mobility-logo {
  box-shadow:
    inset 0 0 0 1px rgba(22, 163, 74, 0.12),
    0 8px 16px rgba(22, 163, 74, 0.16);
}

.signal-mobility-card.mobility-normal .mobility-logo {
  box-shadow:
    inset 0 0 0 1px rgba(217, 119, 6, 0.14),
    0 8px 16px rgba(217, 119, 6, 0.14);
}

.signal-mobility-card.mobility-bad .mobility-logo {
  box-shadow:
    inset 0 0 0 1px rgba(239, 68, 68, 0.14),
    0 8px 16px rgba(239, 68, 68, 0.14);
}

.signal-status .signal-crowd {
  background: var(--crowd-color);
  box-shadow:
    inset -7px -7px 12px rgba(0, 0, 0, 0.13),
    inset 6px 6px 10px rgba(255, 255, 255, 0.34),
    0 8px 14px color-mix(in srgb, var(--crowd-color) 22%, transparent);
}

.signal-status .signal-crowd {
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.36) 0 6px, transparent 7px),
    linear-gradient(145deg, color-mix(in srgb, var(--crowd-color) 74%, white), var(--crowd-color));
}

.signal-status .signal-crowd::before {
  position: static;
  width: auto;
  height: auto;
  color: #ffffff;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.16));
}

.signal-status .signal-crowd::after {
  display: none;
}

.signal-status.crowd-open .signal-crowd::before {
  content: "🙂";
}

.signal-status.crowd-normal .signal-crowd::before {
  content: "🚶";
}

.signal-status.crowd-busy .signal-crowd::before {
  content: "👥";
}

.signal-status.crowd-packed .signal-crowd::before {
  content: "!";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 950;
}

.signal div {
  min-width: 0;
}

.signal-icon {
  width: 34px;
  height: 34px;
  position: relative;
  border-radius: 13px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.96) 0 5px, transparent 6px),
    linear-gradient(145deg, #f5f7fb, #c9d3e0 54%, #7d8a99 100%);
  box-shadow:
    inset -7px -7px 12px rgba(22, 34, 31, 0.1),
    inset 6px 6px 10px rgba(255, 255, 255, 0.7),
    0 8px 14px rgba(22, 34, 31, 0.12);
}

.signal-icon::before {
  left: 10px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.78);
}

.signal-icon::after {
  right: 7px;
  bottom: 7px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.signal-weather {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.96) 0 5px, transparent 6px),
    linear-gradient(145deg, #fff2c8, #f0b63b 54%, #c27213 100%);
  box-shadow:
    inset -7px -7px 12px rgba(194, 114, 19, 0.16),
    inset 6px 6px 10px rgba(255, 255, 255, 0.7),
    0 8px 14px rgba(213, 155, 34, 0.2);
}

.signal-sun::before {
  content: "";
  left: 9px;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #fff4ad;
  box-shadow: 0 0 0 4px rgba(255, 244, 173, 0.28);
}

.signal-cloud {
  background:
    radial-gradient(circle at 28% 44%, #ffffff 0 8px, transparent 9px),
    radial-gradient(circle at 54% 36%, #ffffff 0 10px, transparent 11px),
    linear-gradient(145deg, #eef3f7, #a9b9c6 54%, #667788 100%);
}

.signal-cloud::before {
  left: 9px;
  top: 16px;
  width: 18px;
  height: 9px;
  border-radius: 999px;
  background: #ffffff;
}

.signal-cloud::after {
  display: none;
}

.signal-rain {
  background:
    radial-gradient(circle at 32% 34%, #ffffff 0 8px, transparent 9px),
    linear-gradient(145deg, #dff3ff, #5daee9 54%, #2765c8 100%);
}

.signal-rain::before {
  left: 10px;
  top: 10px;
  width: 16px;
  height: 11px;
  border-radius: 999px;
  background: #ffffff;
}

.signal-rain::after {
  right: 10px;
  bottom: 6px;
  width: 5px;
  height: 10px;
  border-radius: 999px;
  background: #d9f1ff;
  transform: rotate(18deg);
}

.signal-snow {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.96) 0 5px, transparent 6px),
    linear-gradient(145deg, #f4fbff, #b7dcf6 54%, #6fa3d8 100%);
}

.signal-snow::before {
  content: "＊";
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  background: transparent;
  font-size: 18px;
  font-weight: 900;
}

.signal-fog {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.96) 0 5px, transparent 6px),
    linear-gradient(145deg, #f0f4f2, #bccac5 54%, #768680 100%);
}

.signal-weather {
  overflow: hidden;
  background:
    linear-gradient(180deg, #7dd3fc 0%, #bae6fd 58%, #f8fafc 100%);
}

.signal-weather::before,
.signal-weather::after {
  content: "";
  position: absolute;
  display: block;
}

.signal-sun {
  background:
    linear-gradient(180deg, #69c9ff 0%, #bdefff 62%, #fff7d6 100%);
}

.signal-sun::before {
  left: 8px;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #ffd43b;
  box-shadow:
    0 0 0 4px rgba(255, 212, 59, 0.28),
    0 6px 13px rgba(245, 158, 11, 0.28);
}

.signal-sun::after {
  right: 5px;
  bottom: 7px;
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    -8px 2px 0 -2px rgba(255, 255, 255, 0.78),
    0 5px 12px rgba(14, 116, 144, 0.08);
}

.signal-cloud {
  background:
    linear-gradient(180deg, #a8d8ff 0%, #dbeafe 62%, #f8fafc 100%);
}

.signal-cloud::before {
  left: 7px;
  top: 16px;
  width: 21px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    5px -5px 0 1px #ffffff,
    -2px -3px 0 1px rgba(255, 255, 255, 0.96),
    0 7px 12px rgba(71, 85, 105, 0.18);
}

.signal-cloud::after {
  right: 6px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 214, 102, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 214, 102, 0.18);
}

.signal-rain {
  background:
    linear-gradient(180deg, #7897c8 0%, #b8d9f5 58%, #e0f2fe 100%);
}

.signal-rain::before {
  left: 7px;
  top: 10px;
  width: 22px;
  height: 10px;
  border-radius: 999px;
  background: #eef6ff;
  box-shadow:
    6px -4px 0 1px #f8fbff,
    -2px -2px 0 1px #dbeafe,
    0 6px 12px rgba(30, 41, 59, 0.18);
}

.signal-rain::after {
  left: 10px;
  top: 24px;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: #2563eb;
  transform: rotate(16deg);
  box-shadow:
    8px -1px 0 #38bdf8,
    16px -2px 0 #2563eb;
}

.signal-snow {
  background:
    linear-gradient(180deg, #c7e8ff 0%, #eef8ff 58%, #ffffff 100%);
}

.signal-snow::before {
  content: "✦";
  inset: 1px 0 0;
  display: grid;
  place-items: center;
  color: #60a5fa;
  background: transparent;
  font-size: 18px;
  font-weight: 900;
  text-shadow:
    -8px 5px 0 rgba(96, 165, 250, 0.45),
    8px -5px 0 rgba(96, 165, 250, 0.42);
}

.signal-snow::after {
  display: none;
}

.signal-fog {
  background:
    linear-gradient(180deg, #dbeafe 0%, #eef2f7 58%, #f8fafc 100%);
}

.signal-fog::before {
  left: 6px;
  top: 13px;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.58);
  box-shadow:
    4px 7px 0 rgba(100, 116, 139, 0.42),
    -2px 14px 0 rgba(100, 116, 139, 0.28);
}

.signal-fog::after {
  display: none;
}

.signal-air {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.96) 0 5px, transparent 6px),
    linear-gradient(145deg, #dff3ff, #67a7ee 54%, #345bd6 100%);
  box-shadow:
    inset -7px -7px 12px rgba(52, 91, 214, 0.16),
    inset 6px 6px 10px rgba(255, 255, 255, 0.7),
    0 8px 14px rgba(70, 100, 217, 0.18);
}

.signal-air {
  overflow: hidden;
  background:
    linear-gradient(180deg, #dff7ff 0%, #f8fafc 60%, #ecfdf5 100%);
}

.signal-air::before,
.signal-air::after {
  content: "";
  position: absolute;
  display: block;
}

.signal-air.air-good::before {
  left: 6px;
  top: 9px;
  width: 21px;
  height: 4px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow:
    6px 8px 0 #86efac,
    -2px 16px 0 rgba(34, 197, 94, 0.55);
}

.signal-air.air-good::after {
  right: 6px;
  bottom: 7px;
  width: 12px;
  height: 16px;
  border-radius: 999px 999px 999px 2px;
  background: #16a34a;
  transform: rotate(38deg);
  box-shadow: 0 6px 11px rgba(22, 163, 74, 0.2);
}

.signal-air.air-normal {
  background:
    linear-gradient(180deg, #e0f2fe 0%, #f8fafc 58%, #fef3c7 100%);
}

.signal-air.air-normal::before {
  left: 6px;
  top: 12px;
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: #60a5fa;
  box-shadow:
    5px 8px 0 rgba(148, 163, 184, 0.74),
    -1px 16px 0 rgba(245, 158, 11, 0.46);
}

.signal-air.air-normal::after {
  right: 8px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow:
    -8px 13px 0 rgba(148, 163, 184, 0.6),
    0 19px 0 rgba(96, 165, 250, 0.42);
}

.signal-air.air-bad {
  background:
    linear-gradient(180deg, #cbd5e1 0%, #e2e8f0 52%, #fde2d7 100%);
}

.signal-air.air-bad::before {
  left: 5px;
  top: 10px;
  width: 24px;
  height: 5px;
  border-radius: 999px;
  background: #64748b;
  box-shadow:
    2px 8px 0 rgba(100, 116, 139, 0.72),
    -1px 16px 0 rgba(239, 68, 68, 0.5);
}

.signal-air.air-bad::after {
  right: 6px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow:
    -10px 12px 0 rgba(100, 116, 139, 0.64),
    1px 20px 0 rgba(239, 68, 68, 0.36);
}

.signal-mobility {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.96) 0 5px, transparent 6px),
    linear-gradient(145deg, #efe6ff, #9a78f0 54%, #6641c8 100%);
  box-shadow:
    inset -7px -7px 12px rgba(102, 65, 200, 0.16),
    inset 6px 6px 10px rgba(255, 255, 255, 0.7),
    0 8px 14px rgba(102, 65, 200, 0.18);
}

.signal-bike {
  background: #ffffff url("./assets/3d-bike.svg") center / 42px 32px no-repeat;
  border-radius: 12px;
  box-shadow: 0 8px 14px rgba(0, 166, 90, 0.16);
}

.signal-bike::before {
  display: none;
}

.signal-bike::after {
  display: none;
}

.signal-parking {
  background: #2563eb;
}

.signal-parking::before {
  content: "P";
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  background: transparent;
  font-size: 16px;
  font-weight: 950;
}

.signal strong {
  font-size: 12px;
  line-height: 1.2;
  display: block;
  margin-bottom: 2px;
}

.signal span {
  font-size: 11px;
  color: #5f6e68;
  font-weight: 700;
  line-height: 1.25;
}

.signal .dust-lines {
  display: grid;
  gap: 1px;
}

.signal .dust-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  line-height: 1.28;
}

.signal .dust-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal .dust-value {
  flex: 0 0 auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.nowrap {
  white-space: nowrap;
}

.dust-detail span {
  line-height: 1.45;
}

.mobility-preview,
.mobility-section {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: #fbfcfb;
  border: 1px solid rgba(22, 34, 31, 0.08);
}

.mobility-preview {
  gap: 7px;
  padding: 10px 11px;
  background: rgba(248, 251, 248, 0.88);
}

.mobility-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.mobility-title strong,
.mobility-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}

.mobility-title span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.mobility-list {
  display: grid;
  gap: 8px;
}

.mobility-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 14px;
  row-gap: 6px;
  align-items: center;
  min-width: 0;
  padding-right: 6px;
}

.mobility-row.has-label {
  grid-template-columns: 30px minmax(0, 1fr) max-content;
}

.mobility-label {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fceaa2;
  color: #1c261f;
  font-size: 12px;
  font-weight: 900;
}

.mobility-label.good {
  background: #fceaa2;
}

.mobility-label.watch {
  background: #f6d85b;
}

.mobility-label.busy {
  background: #f3b4a8;
}

.mobility-row div {
  min-width: 0;
}

.mobility-row strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobility-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.mobility-row .mobility-label {
  color: #1c261f;
  font-size: 12px;
  font-weight: 900;
}

.mobility-row em {
  min-width: 62px;
  margin-left: 8px;
  padding: 4px 8px;
  display: grid;
  justify-items: center;
  color: #1c261f;
  background: rgba(252, 234, 162, 0.52);
  border-radius: 999px;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.mobility-row em.watch {
  color: #805500;
}

.mobility-row em.busy {
  color: #1c261f;
}

.mobility-row small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.mobility-section {
  margin-top: 16px;
}

.mobility-map-section {
  margin-top: 16px;
}

.mobility-map-section h2 {
  margin-bottom: 8px;
}

.detail-mobility-map {
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #dfe8df;
}

.detail-map-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0;
}

.detail-map-tabs button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.detail-map-tabs button.is-active {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: white;
}

.nearby-kakao-section {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
}

.mobility-section + .ad-card,
.nearby-kakao-section + .ad-card {
  margin-top: 18px;
}

.nearby-kakao-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.nearby-kakao-title span {
  display: block;
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.nearby-kakao-title h2 {
  margin: 0;
}

.nearby-tourist-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.nearby-kakao-list {
  display: grid;
  gap: 10px;
}

.nearby-kakao-group {
  display: grid;
  gap: 8px;
}

.nearby-kakao-group h3 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.nearby-kakao-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8faf6;
}

.nearby-place-label {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.nearby-place-label.food {
  background: var(--coral);
}

.nearby-place-label.cafe {
  background: var(--amber);
}

.nearby-place-label.attraction {
  background: #7c3aed;
}

.nearby-place-label.convenience {
  background: #059669;
}

.nearby-place-label.nursing {
  background: #db2777;
}

.nearby-place-label.toilet {
  background: #2563eb;
}

.nearby-place-label.station {
  background: #fceaa2;
  color: #1c261f;
}

.nearby-kakao-item div {
  min-width: 0;
}

.nearby-kakao-item strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nearby-kakao-item p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.nearby-tourist-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.nearby-tourist-badges span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eef3f0;
  color: #53625d;
  font-size: 10px;
  font-weight: 900;
}

.nearby-place-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: 54px;
}

.nearby-place-actions em {
  grid-column: 1 / -1;
  justify-self: end;
  color: var(--teal-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.nearby-place-actions a {
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.nearby-place-actions a:only-of-type {
  grid-column: 1 / -1;
}

.nearby-kakao-more-cta {
  min-height: 42px;
  margin-top: 2px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf0;
  color: var(--ink);
  text-decoration: none;
}

.nearby-kakao-more-cta span {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.nearby-kakao-more-cta strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.nearby-kakao-loading,
.nearby-kakao-empty {
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: #fbfcf8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.detail-actions {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  width: min(394px, calc(100vw - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(22, 34, 31, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(22, 34, 31, 0.18);
  backdrop-filter: blur(16px);
  touch-action: none;
}

.detail-actions.is-two-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-actions.has-four-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.primary-button,
.ghost-button {
  min-height: 42px;
  border-radius: 15px;
  font-weight: 900;
}

.primary-button {
  border: 0;
  background: #111827;
  color: white;
  box-shadow: 0 10px 22px rgba(11, 79, 74, 0.2);
}

.primary-button.is-watching {
  background: #8b5f00;
}

.ghost-button {
  border: 1px solid rgba(22, 34, 31, 0.09);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding-inline: 12px;
}

.ghost-button.is-saved {
  border-color: rgba(15, 118, 110, 0.24);
  background: var(--green-soft);
  color: var(--teal-dark);
}

.ghost-button.is-watching {
  border-color: rgba(213, 155, 34, 0.34);
  background: #fff6df;
  color: #8b5f00;
}

.detail-link-button {
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  min-width: 0;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.action-button {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  text-align: center;
  white-space: normal;
}

.detail-actions .action-button,
.detail-actions .detail-link-button {
  min-height: 44px;
  width: 100%;
  min-width: 0;
  padding-inline: 9px;
  font-size: 13px;
  white-space: normal;
  overflow: hidden;
  touch-action: manipulation;
}

.card-actions .action-button {
  padding-inline: 10px;
}

.action-button::before {
  content: "";
  width: 28px;
  height: 28px;
  position: relative;
  display: inline-block;
  border-radius: 0;
  background: center / contain no-repeat;
  box-shadow: none;
}

.action-detail::before {
  background-image: url("./assets/3d-search.svg");
}

.action-alert::before {
  background-image: url("./assets/3d-bell.svg");
}

.action-share::before {
  background-image: url("./assets/3d-share.svg");
}

.action-save::before {
  background-image: url("./assets/3d-heart.svg");
}

.directions-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border: 0;
  border-top: 1px solid rgba(28, 38, 31, 0.08);
  border-radius: 0;
  background: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
}

.visit-confidence-panel,
.alert-condition-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(22, 34, 31, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 34, 31, 0.04);
}

.visit-confidence-panel h2,
.alert-condition-panel h2 {
  margin: 0 0 5px;
  font-size: 16px;
}

.visit-confidence-panel p,
.alert-condition-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.visit-confidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.visit-confidence-chip,
.visit-confidence-grid span,
.alert-condition-panel > span {
  min-width: 0;
  display: block;
  padding: 10px;
  appearance: none;
  text-align: left;
  text-decoration: none;
  border-radius: 14px;
  background: #f8faf6;
  border: 1px solid var(--line);
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.visit-confidence-chip:hover,
.visit-confidence-chip:focus-visible {
  background: #fff8d6;
  border-color: rgba(28, 38, 31, 0.18);
}

.visit-confidence-grid i {
  float: left;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-right: 8px;
  border-radius: 10px;
  background: #eef3f0;
  font-style: normal;
  font-size: 16px;
}

.visit-confidence-grid small,
.visit-confidence-grid strong,
.alert-condition-panel small,
.alert-condition-panel strong {
  display: block;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.visit-confidence-grid small,
.alert-condition-panel small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.visit-confidence-grid strong,
.alert-condition-panel strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.alert-condition-panel {
  border-color: rgba(213, 155, 34, 0.22);
  background: #fffdf7;
}

.alert-condition-panel.is-on {
  border-color: rgba(15, 118, 110, 0.24);
  background: #f7fffb;
}

.directions-panel h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
}

.directions-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.directions-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.directions-metrics article {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(28, 38, 31, 0.08);
  border-radius: 14px;
  background: #fffdf3;
  box-shadow: 0 8px 18px rgba(28, 38, 31, 0.04);
}

.directions-metrics strong {
  display: block;
  color: var(--ink);
  font-size: clamp(11px, 0.78rem, 13px);
  font-weight: 650;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.directions-metrics span {
  min-width: 0;
  color: var(--muted);
  font-size: clamp(10px, 0.7rem, 11px);
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.directions-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.directions-actions.is-korean {
  grid-template-columns: 1fr;
}

.directions-actions.has-google {
  grid-template-columns: 1fr 1fr;
}

.directions-actions.has-google .is-primary {
  grid-column: 1 / -1;
  background: var(--teal-dark);
  color: white;
  border-color: var(--teal-dark);
}

.directions-actions a {
  min-height: 36px;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(28, 38, 31, 0.1);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font-size: clamp(10px, 0.76rem, 12px);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 18px rgba(28, 38, 31, 0.04);
}

.directions-note {
  margin-top: -2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hours-popup-backdrop {
  position: sticky;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 45;
  display: grid;
  place-items: center;
  margin-top: 16px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(28, 38, 31, 0.16);
  backdrop-filter: blur(8px);
}

.hours-popup {
  position: relative;
  width: min(100%, 360px);
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(28, 38, 31, 0.18);
}

.hours-popup > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.hours-popup h2,
.hours-popup p {
  margin: 0;
}

.hours-popup h2 {
  padding-right: 34px;
  font-size: 17px;
  font-weight: 750;
}

.hours-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #f4f6f2;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.hours-popup-list {
  display: grid;
  gap: 8px;
}

.hours-popup-list article {
  padding: 10px 11px;
  border-radius: 14px;
  background: #fffdf3;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.07);
}

.hours-popup-list strong,
.hours-popup small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.hours-popup-list p {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  word-break: keep-all;
}

.route-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.route-overview {
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 18px;
  background: var(--panel);
}

.route-overview strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.route-overview p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.route-card h3,
.alert-card h3 {
  margin-bottom: 4px;
  font-size: 15px;
}

.route-card p,
.alert-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.route-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.route-actions button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.alert-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.alert-intro {
  grid-template-columns: 1fr;
  background: var(--panel);
}

.alert-actions {
  display: grid;
  gap: 6px;
}

.alert-actions button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.alert-actions button:first-child {
  border-color: rgba(15, 118, 110, 0.24);
  background: var(--green-soft);
  color: var(--teal-dark);
}

.watched-alert p strong {
  color: var(--teal-dark);
}

.toggle {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(15, 118, 110, 0.25);
  position: relative;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
}

.detail-pane {
  position: fixed;
  inset: 0;
  background: rgba(22, 34, 31, 0.24);
  display: none;
  place-items: end center;
  padding: 22px;
  z-index: 5000;
  overscroll-behavior: contain;
  touch-action: none;
}

.detail-pane.is-open {
  display: grid;
}

.settings-pane {
  position: fixed;
  inset: 0;
  background: rgba(22, 34, 31, 0.24);
  display: none;
  place-items: end center;
  padding: 22px;
  z-index: 6000;
}

.settings-pane.is-open {
  display: grid;
}

.policy-pane {
  position: fixed;
  inset: 0;
  background: rgba(22, 34, 31, 0.28);
  display: none;
  place-items: end center;
  padding: 22px;
  z-index: 7000;
}

.policy-pane.is-open {
  display: grid;
}

.app-update-pane {
  position: fixed;
  inset: 0;
  background: rgba(22, 34, 31, 0.34);
  display: none;
  place-items: center;
  padding: 24px;
  z-index: 7600;
}

.app-update-pane.is-open {
  display: grid;
}

.app-update-card {
  width: min(430px, 100%);
  max-height: min(86vh, 640px);
  overflow: auto;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 12px;
  color: var(--ink);
}

.app-update-eyebrow {
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fceaa2;
  color: #1c261f;
  font-size: 12px;
  font-weight: 800;
}

.app-update-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.25;
}

.app-update-card p {
  margin: 0;
  color: #526057;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.55;
}

.app-update-card .app-update-version {
  color: #738078;
  font-size: 12px;
}

.app-update-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
  margin-top: 4px;
}

.app-update-pane.is-required .app-update-actions {
  grid-template-columns: 1fr;
}

.app-update-pane.is-required #appUpdateLater {
  display: none;
}

.share-pane {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(22, 34, 31, 0.32);
  z-index: 7550;
}

.share-pane.is-open {
  display: grid;
}

.share-sheet {
  width: min(430px, 100%);
  max-height: min(88vh, 740px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.share-head span {
  display: block;
  margin-bottom: 5px;
  color: #69756f;
  font-size: 12px;
  font-weight: 560;
}

.share-head h2 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 820;
  line-height: 1.22;
}

.close-share {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  position: relative;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
  box-shadow: 0 8px 18px rgba(22, 34, 31, 0.08);
}

.close-share span {
  display: none;
}

.close-share::before,
.close-share::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #1c261f;
}

.close-share::before {
  transform: rotate(45deg);
}

.close-share::after {
  transform: rotate(-45deg);
}

.share-preview-card {
  min-height: 0;
  overflow: auto;
  border-radius: 22px;
  background: #f7f6f1;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.04);
}

.share-card-inner {
  margin: 12px;
  padding: 18px;
  display: grid;
  gap: 14px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(28, 38, 31, 0.1);
}

.share-card-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.share-card-brand > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "logo title"
    "logo meta";
  column-gap: 10px;
  align-items: center;
}

.share-card-logo-wrap {
  grid-area: logo;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: none;
}

.share-card-logo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-card-brand strong {
  grid-area: title;
  min-width: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.share-card-brand > div > span:not(.share-card-logo-wrap) {
  grid-area: meta;
  display: block;
  margin-top: 3px;
  color: #69756f;
  font-size: 12px;
  font-weight: 470;
}

.share-card-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fceaa2;
  background: #1c261f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.share-card-art {
  position: relative;
  height: 128px;
  overflow: hidden;
  border-radius: 20px;
  background: #edf6f1;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.07);
}

.share-card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-card-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 880;
  line-height: 1.18;
}

.share-card-title p {
  margin: 7px 0 0;
  color: #56635d;
  font-size: 13px;
  font-weight: 430;
  line-height: 1.45;
}

.share-card-list {
  display: grid;
  gap: 8px;
}

.share-card-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(22, 34, 31, 0.06);
  box-shadow: 0 8px 20px rgba(28, 38, 31, 0.06);
}

.share-card-rank {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fceaa2;
  color: var(--ink);
  font-size: 13px;
  font-weight: 860;
}

.share-card-row strong,
.share-card-row span {
  display: block;
  min-width: 0;
}

.share-card-row strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.25;
}

.share-card-row span {
  margin-top: 3px;
  color: #6b7771;
  font-size: 12px;
  font-weight: 430;
  line-height: 1.35;
}

.share-card-row .share-card-rank {
  display: grid;
  place-items: center;
  margin-top: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 860;
  line-height: 1;
}

.share-card-score {
  min-width: 44px;
  padding: 8px 8px;
  border-radius: 14px;
  text-align: center;
  color: #10853d;
  background: #eaf8ef;
  font-size: 15px;
  font-weight: 900;
  box-shadow:
    inset 0 0 0 1px rgba(16, 133, 61, 0.14),
    0 8px 18px rgba(16, 133, 61, 0.09);
}

.share-card-row .share-card-score {
  margin-top: 0;
  color: #10853d;
  line-height: 1.2;
}

.share-card-score.mid {
  color: #b46b00;
  background: #fff4d6;
  box-shadow:
    inset 0 0 0 1px rgba(180, 107, 0, 0.14),
    0 8px 18px rgba(180, 107, 0, 0.08);
}

.share-card-row .share-card-score.mid {
  color: #b46b00;
}

.share-card-score.low {
  color: #dc2626;
  background: #fff0f0;
  box-shadow:
    inset 0 0 0 1px rgba(220, 38, 38, 0.14),
    0 8px 18px rgba(220, 38, 38, 0.08);
}

.share-card-row .share-card-score.low {
  color: #dc2626;
}

.share-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 10px;
  color: #6d7772;
  font-size: 12px;
  font-weight: 520;
}

.share-actions {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
}

.share-actions button {
  min-height: 44px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 820;
}

.policy-card {
  width: min(430px, 100%);
  height: min(760px, calc(100vh - 44px));
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.policy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.policy-head strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.policy-document {
  overflow-y: auto;
  padding: 18px;
  background: #f6f8f7;
}

.policy-document article {
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 31, 27, 0.08);
}

.policy-document h1 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 21px;
}

.policy-document h2 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 15px;
}

.policy-document p,
.policy-document li {
  color: #43504b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.policy-document a {
  color: var(--teal-dark);
  font-weight: 900;
}

.settings-card {
  width: min(430px, 100%);
  max-height: min(760px, calc(100dvh - 44px));
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 16px;
  color: #1c261f;
  font-weight: 400;
  line-height: 1.45;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.settings-field {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8faf6;
}

.settings-field span,
.settings-info h3,
.settings-legal h3 {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}

.settings-field select {
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  font-weight: 700;
  line-height: 1.35;
}

.settings-info,
.settings-legal {
  display: grid;
  gap: 8px;
}

.government-data-notice {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #fff8d8;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.1);
}

.government-data-notice strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.government-data-notice p {
  margin: 0;
  color: #52605a;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.45;
}

.settings-update-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fff8d9;
  box-shadow: 0 10px 28px rgba(28, 38, 31, 0.08);
}

.settings-update-card[hidden] {
  display: none !important;
}

.settings-update-card div {
  display: grid;
  gap: 4px;
}

.settings-update-card strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.settings-update-card span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
}

.settings-update-card button {
  min-height: 38px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(28, 38, 31, 0.12);
}

.settings-consent {
  display: grid;
  gap: 8px;
  font-weight: 400;
}

.consent-summary {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #1c261f;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0 14px;
  box-shadow: 0 8px 24px rgba(28, 38, 31, 0.07);
}

.consent-summary-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #f8f6ef;
  color: #526057;
  font-size: 0.86rem;
  transition: transform 0.18s ease;
}

.settings-consent.is-open .consent-summary-icon {
  transform: rotate(180deg);
}

.consent-body {
  display: grid;
  gap: 9px;
}

.consent-body[hidden] {
  display: none;
}

.consent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 15px 13px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 38, 31, 0.07);
}

.consent-row > div:first-child {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.consent-row strong {
  color: #1c261f;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.32;
}

.consent-row span {
  color: #62706a;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.56;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 2px;
}

.consent-actions em {
  display: none;
}

.consent-actions button,
.location-consent-buttons button {
  width: 58px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: #ecefeb;
  color: #1c261f;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0 10px;
  box-shadow: none;
}

.location-consent-buttons button {
  width: auto;
}

.consent-actions button.is-on,
#locationConsentAccept {
  background: #fceaa2;
  color: #1c261f;
}

.consent-actions button.is-off {
  background: #f0f2ee;
  color: #6a746e;
}

.location-consent-pane {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(28, 38, 31, 0.32);
}

.location-consent-pane.is-open {
  display: flex;
}

.location-consent-card {
  width: min(360px, 100%);
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  color: #1c261f;
  box-shadow: 0 24px 70px rgba(28, 38, 31, 0.22);
}

.location-consent-card strong {
  font-size: 1.02rem;
  font-weight: 760;
  line-height: 1.25;
}

.location-consent-card p {
  margin: 0;
  color: #4f5f57;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

.location-consent-buttons {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
}

.settings-info p,
.settings-legal a {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.35;
}

.settings-info a,
.settings-legal a {
  color: var(--teal-dark);
  text-decoration: none;
}

.settings-legal a {
  align-items: center;
  min-height: 34px;
  padding: 9px 11px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.auth-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(70, 100, 217, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
  box-shadow: 0 12px 26px rgba(70, 100, 217, 0.08);
}

.auth-card.needs-attention {
  animation: auth-attention 1.1s ease;
}

.auth-card span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
}

.auth-card h3 {
  margin: 4px 0;
  color: var(--ink);
  font-size: 17px;
}

.auth-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.auth-user {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(70, 100, 217, 0.12);
}

.auth-user strong {
  color: var(--ink);
  font-size: 14px;
}

.auth-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.auth-actions button,
.auth-logout {
  min-height: 40px;
  border: 1px solid rgba(22, 34, 31, 0.08);
  border-radius: 13px;
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.auth-actions button[data-login-provider="kakao"] {
  background: #fee500;
}

.auth-actions button[data-login-provider="apple"] {
  background: #111827;
  color: #ffffff;
}

.auth-logout {
  background: #f8fafc;
  color: var(--muted);
}

@keyframes auth-attention {
  0%,
  100% {
    box-shadow: 0 12px 26px rgba(70, 100, 217, 0.08);
    transform: translateY(0);
  }

  35% {
    box-shadow: 0 0 0 4px rgba(70, 100, 217, 0.15), 0 18px 34px rgba(70, 100, 217, 0.18);
    transform: translateY(-2px);
  }
}

.premium-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  color: white;
  background: #111827;
}

.premium-card span {
  color: #bce9db;
  font-size: 11px;
  font-weight: 900;
}

.premium-card h3 {
  margin: 4px 0;
}

.premium-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.premium-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.premium-button {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: white;
  color: var(--teal-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.premium-button.is-disabled {
  opacity: 0.72;
  pointer-events: none;
}

.exit-button {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.exit-message {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.detail-card {
  width: min(430px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow-y: auto;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px 18px 142px;
  position: relative;
}

.close-detail {
  position: sticky;
  right: 16px;
  top: 12px;
  margin-left: auto;
  margin-bottom: -44px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
}

.detail-hero {
  min-height: 180px;
  border-radius: 18px;
  padding: 18px;
  color: white;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(22, 34, 31, 0.04), rgba(22, 34, 31, 0.8)),
    var(--hero);
  background-size: cover;
  background-position: center;
}

.detail-hero h2 {
  max-width: 280px;
  font-size: 26px;
}

.detail-hero .place-korean-name {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.detail-hero p {
  margin-bottom: 0;
  font-weight: 800;
}

.detail-quick-summary {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(22, 34, 31, 0.08);
  border-radius: 18px;
  background: #f8faf7;
}

.detail-quick-summary > strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.detail-score-inline {
  min-width: 34px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(213, 155, 34, 0.18);
}

.detail-quick-summary > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.detail-quick-summary > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
  gap: 6px;
  overflow: visible;
  padding-bottom: 0;
}

.detail-quick-summary em {
  min-width: 0;
  max-width: none;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 14px;
  background: white;
  border: 1px solid rgba(22, 34, 31, 0.07);
  font-style: normal;
}

.detail-quick-summary b,
.detail-quick-summary small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: keep-all;
}

.detail-quick-summary b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.detail-quick-summary > strong .detail-score-inline {
  overflow: visible;
  white-space: nowrap;
}

.detail-quick-summary small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.detail-reason-panel {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    0 12px 26px rgba(22, 34, 31, 0.07),
    inset 0 0 0 1px rgba(22, 34, 31, 0.06);
}

.detail-reason-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.detail-reason-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
  word-break: keep-all;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.detail-tile {
  background: #f4f7f3;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}

.detail-tile strong {
  display: block;
  margin-bottom: 4px;
}

.station-tile strong {
  line-height: 1.25;
}

.detail-tile span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.timeline {
  margin-top: 16px;
}

.timeline-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.timeline-title h2 {
  margin: 0;
}

.timeline-title span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.bar-row {
  display: grid;
  grid-template-columns: 52px 1fr 44px;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: #edf1eb;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.review-section {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-head span,
.review-list h3 {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.review-head h2 {
  margin: 3px 0 0;
  font-size: 18px;
}

.review-head > strong {
  min-width: 72px;
  padding: 9px 10px;
  border-radius: 14px;
  background: #fff8dc;
  color: #8a5a00;
  text-align: center;
  font-size: 16px;
}

.review-trust-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.review-trust-signals span {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8faf6;
}

.review-trust-signals small,
.review-trust-signals strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-trust-signals small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.review-trust-signals strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 950;
}

.review-form {
  display: grid;
  gap: 10px;
}

.review-form > label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.review-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.review-stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-stars span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f4f7f3;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.review-stars input:checked + span,
.review-stars label:has(input:checked) ~ label span {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
  color: #ffffff;
  box-shadow:
    0 8px 16px rgba(245, 158, 11, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.review-stars label:hover span,
.review-stars label:hover ~ label span {
  border-color: rgba(245, 158, 11, 0.65);
  background: #fff3c4;
  color: #9a5b00;
}

.review-stars input:focus-visible + span {
  outline: 3px solid rgba(245, 158, 11, 0.24);
  outline-offset: 2px;
}

.review-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  outline: 0;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  background: #f8faf6;
}

.review-form textarea:focus {
  border-color: rgba(15, 118, 110, 0.42);
  background: #ffffff;
}

.review-form textarea.has-blocked-word {
  border-color: rgba(232, 93, 79, 0.58);
  background: #fff5f3;
}

.review-warning {
  margin: -4px 0 0;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.review-form button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.review-form.is-locked,
.review-comment-form.is-locked {
  position: relative;
}

.review-form.is-locked textarea,
.review-comment-form.is-locked input {
  cursor: pointer;
  background: #f8fafc;
}

.review-list {
  display: grid;
  gap: 8px;
}

.review-list h3,
.review-empty,
.review-item p {
  margin: 0;
}

.review-item {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  background: #f8faf6;
  border: 1px solid var(--line);
}

.review-item .review-meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.review-meta-row span {
  flex: 1;
  min-width: 0;
}

.review-like-button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(28, 38, 31, 0.12);
  border-radius: 999px;
  padding: 4px 8px;
  background: #ffffff;
  color: #44504a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(28, 38, 31, 0.08);
}

.review-like-button span {
  color: inherit;
  font-size: 14px;
  line-height: 1;
}

.review-like-button em {
  color: inherit;
  font-style: normal;
  font-weight: 800;
}

.review-like-button.is-liked {
  border-color: #f6d85b;
  background: #fceaa2;
  color: #1c261f;
  box-shadow: 0 8px 18px rgba(246, 216, 91, 0.24);
}

.review-item strong {
  color: #8a5a00;
}

.review-item span,
.review-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.review-item p {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.review-translation,
.review-comment-translation {
  display: grid;
  gap: 5px;
}

.review-translation > p,
.review-comment-translation > p {
  margin: 0;
}

.review-translation small,
.review-comment-translation small {
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
}

.review-translation small span,
.review-comment-translation small span {
  display: inline-grid;
  min-height: 20px;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
}

.review-translation.is-pending,
.review-comment-translation.is-pending {
  opacity: 0.92;
}

.review-translation details,
.review-comment-translation details {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.review-translation summary,
.review-comment-translation summary {
  width: max-content;
  cursor: pointer;
}

.review-translate-button {
  width: max-content;
  min-height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #fceaa2;
  color: #1c261f;
  box-shadow: 0 5px 14px rgba(28, 38, 31, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.review-translate-button:disabled {
  opacity: 0.65;
}

.review-translation details p,
.review-comment-translation details p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.review-comments {
  display: grid;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(22, 34, 31, 0.07);
}

.review-comments > strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.review-comment {
  display: grid;
  gap: 3px;
  padding: 8px 9px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(22, 34, 31, 0.07);
}

.review-comment .review-like-button {
  justify-self: start;
  min-height: 26px;
  padding: 3px 7px;
  font-size: 11px;
}

.review-comment span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.review-delete-button {
  border: 0;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(28, 38, 31, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.review-delete-button:active {
  transform: translateY(1px);
}

.review-delete-button.is-comment {
  justify-self: start;
  margin-top: -1px;
}

.review-comment p {
  margin: 0;
}

.review-comment-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.review-pager {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.review-pager button {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  background: #ffffff;
  color: #1c261f;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(28, 38, 31, 0.08);
}

.review-pager button:disabled {
  opacity: 0.42;
}

.review-pager span {
  min-width: 0;
  color: #44504a;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.review-comment-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 10px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  outline: 0;
}

.review-comment-form input:focus {
  border-color: rgba(15, 118, 110, 0.42);
}

.review-comment-form input.has-blocked-word {
  border-color: rgba(232, 93, 79, 0.58);
  background: #fff5f3;
}

.review-comment-form button {
  min-width: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.review-comment-form button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.review-comment-form .review-warning {
  grid-column: 1 / -1;
  margin: -2px 0 0;
}

.review-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 8000;
  transform: translateX(-50%);
  padding: 11px 14px;
  border-radius: 999px;
  background: #111827;
  color: white;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.22);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 560px) {
  .app-shell {
    padding: 0;
    background: var(--surface);
  }

  .phone-frame {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    padding-top: env(safe-area-inset-top, 0px);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .detail-pane,
  .settings-pane,
  .policy-pane,
  .share-pane,
  .location-consent-pane {
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .content-tabs {
    bottom: 0;
    width: 100vw;
  }

  .detail-pane {
    padding: 0;
  }

  .settings-pane {
    padding: 0;
  }

  .detail-card {
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
  }

  .settings-card {
    border-radius: 24px 24px 0 0;
    max-height: calc(100dvh - 12px);
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .control-grid {
    grid-template-columns: 1fr;
  }

  .place-head {
    grid-template-columns: auto 1fr;
  }

  .place-card .score-badge,
  .score-badge {
    grid-column: 1 / -1;
    width: 100%;
    height: 40px;
  }

  .directions-actions {
    grid-template-columns: 1fr;
  }

  .directions-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Editorial white/yellow visual refresh */
html,
body,
button,
input,
select,
textarea {
  font-family: var(--app-font);
  letter-spacing: 0;
  line-height: 1.32;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
.app-shell,
.phone-frame {
  background: #ffffff;
}

.phone-frame {
  border: 0;
  box-shadow: 0 26px 70px rgba(28, 38, 31, 0.09);
}

.top-bar,
.search-panel,
.data-note,
.habit-panel,
.map-panel,
.place-card,
.empty-state-card,
.detail-card,
.settings-card,
.policy-card,
.auth-card,
.premium-card,
.review-card,
.directions-panel,
.visit-confidence,
.alert-condition-panel,
.nearby-kakao-section,
.affiliate-card,
.score-breakdown,
.route-card,
.alert-card,
.saved-summary,
.live-loading-card {
  border: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(28, 38, 31, 0.07) !important;
}

.top-bar,
.search-panel,
.data-note,
.habit-panel,
.map-panel,
.place-card,
.empty-state-card,
.auth-card,
.premium-card,
.review-card,
.directions-panel,
.visit-confidence,
.alert-condition-panel,
.nearby-kakao-section,
.affiliate-card,
.score-breakdown,
.route-card,
.alert-card,
.saved-summary {
  border-radius: 26px;
}

.settings-card,
.detail-card,
.policy-card {
  border-radius: 30px;
}

.top-bar h1,
.section-heading h2,
.place-title-line,
.place-title-line h3,
.detail-hero h2,
.settings-head h2,
.policy-head strong {
  color: #1c261f;
  font-weight: 950;
  line-height: 1.08;
}

.top-bar p,
.section-heading span,
.place-meta,
.data-note-sub,
.signal span,
.settings-info p,
.settings-legal a,
.review-item span,
.review-empty {
  color: #66716a;
}

.field,
.mode-tab,
.content-tab,
.rank-pager button,
.rank-pager span,
.data-note-pill,
.nearby-tourist-badges span,
.detail-map-tabs button,
.chip,
.place-category-icon,
.transport-chip,
.score-chip,
.review-translation small span,
.review-comment-translation small span {
  border: 0 !important;
  background: #ffffff !important;
  color: #1c261f !important;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.14) !important;
}

.mode-tab.is-active,
.content-tab.is-active,
.detail-map-tabs button.is-active,
.data-note-pill.is-live,
.primary-button,
.action-button.is-saved,
.action-button.is-watching,
.rank-badge,
.score-badge,
.premium-button,
.exit-button,
.review-form button,
.review-comment-form button {
  border: 0 !important;
  background: #fceaa2 !important;
  color: #1c261f !important;
  box-shadow: 0 12px 26px rgba(246, 216, 91, 0.28) !important;
}

.ghost-button,
.detail-link-button,
.nearby-place-actions a,
.settings-legal a,
.auth-actions button,
.auth-logout,
.icon-button,
.map-tools button,
.place-actions button {
  border: 0 !important;
  background: #ffffff !important;
  color: #1c261f !important;
  box-shadow:
    inset 0 0 0 1px rgba(28, 38, 31, 0.12),
    0 10px 24px rgba(28, 38, 31, 0.06) !important;
}

.search-panel,
.settings-field,
.policy-document,
.review-comment,
.review-comment-form input,
.review-form textarea,
.review-form input {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.1) !important;
}

.content-tabs {
  border: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 -16px 42px rgba(28, 38, 31, 0.1) !important;
}

.content-tab::before,
.action-button::before {
  filter: saturate(0.75) contrast(1.04);
}

.map-status,
.updated-at,
#updatedAt,
.nearby-kakao-title span,
.habit-panel span,
.auth-card span,
.premium-card span,
.review-translation small,
.review-comment-translation small {
  color: #1c261f !important;
}

.place-card::before,
.place-card::after,
.live-loading-card::before,
.auth-card,
.premium-card {
  background-image: none !important;
}

.signal,
.signal-status,
.signal-weather-card,
.signal-air-card,
.signal-mobility-card,
.detail-tile,
.detail-quick-summary,
.directions-metric,
.nearby-kakao-item,
.mobility-list article {
  border: 0 !important;
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.1) !important;
}

.signal.good,
.signal.normal,
.signal.watch,
.signal.busy,
.signal-weather-card.weather-good,
.signal-weather-card.weather-normal,
.signal-weather-card.weather-bad,
.signal-air-card.air-good,
.signal-air-card.air-normal,
.signal-air-card.air-bad,
.signal-mobility-card.mobility-good,
.signal-mobility-card.mobility-normal,
.signal-mobility-card.mobility-bad {
  background: #ffffff !important;
  color: #1c261f !important;
}

.signal-icon,
.signal-weather,
.signal-air,
.signal-bike,
.place-photo-badge,
.nearby-place-label,
.mobility-map-pin,
.map-popup-badge {
  background-color: #fceaa2 !important;
  color: #1c261f !important;
  box-shadow: 0 10px 22px rgba(246, 216, 91, 0.24) !important;
}

.score-badge,
.rank-badge {
  min-width: 42px;
  border-radius: 999px;
}

.map-panel {
  overflow: hidden;
}

.map,
.detail-mobility-map {
  border: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.08) !important;
}

.detail-hero {
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(28, 38, 31, 0.12);
}

.detail-hero h2,
.detail-hero p,
.detail-hero .place-korean-name {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(28, 38, 31, 0.32);
}

.close-detail,
.close-settings,
.close-policy {
  background: #ffffff !important;
  color: #1c261f !important;
}

@media (max-width: 560px) {
  .phone-frame {
    box-shadow: none;
  }

  .detail-card,
  .settings-card,
  .policy-card {
    border-radius: 30px 30px 0 0;
  }
}

/* Map readability should stay in the app's yellow/charcoal tone. */
.map-pin {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(28, 38, 31, 0.82) !important;
  background: #fceaa2 !important;
  color: #1c261f !important;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.76),
    0 10px 22px rgba(28, 38, 31, 0.2) !important;
  text-shadow: none !important;
}

.map-pin.good,
.map-pin.watch,
.map-pin.busy,
.map-pin.focus {
  background: #1c261f !important;
}

.map-pin.focus {
  width: 38px;
  height: 38px;
  border-color: #1c261f !important;
  background: #f6d85b !important;
  box-shadow:
    0 0 0 4px rgba(252, 234, 162, 0.74),
    0 12px 28px rgba(28, 38, 31, 0.26) !important;
}

.user-pin {
  width: 24px;
  height: 24px;
  border: 5px solid #fceaa2 !important;
  background: #1c261f !important;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.86),
    0 10px 24px rgba(28, 38, 31, 0.24) !important;
}

.map-place-popup,
.leaflet-popup-content-wrapper {
  border: 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 18px 40px rgba(28, 38, 31, 0.24) !important;
}

.map-place-popup::after {
  border: 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 4px 4px 10px rgba(28, 38, 31, 0.08);
}

.map-popup-title,
.map-popup-title-button {
  color: #1c261f !important;
  font-weight: 950;
}

.map-popup span:not(.map-popup-badge),
.map-place-popup span:not(.map-popup-badge) {
  color: #44504a !important;
  font-weight: 800;
}

.detail-place-pin span,
.detail-place-pin i,
.mobility-map-pin,
.map-popup-badge {
  border-color: #fceaa2 !important;
  background: #1c261f !important;
  color: #ffffff !important;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(28, 38, 31, 0.28) !important;
}

/* Final typography and marker contrast tuning */
body {
  font-weight: 500;
}

p,
li,
span,
small,
em,
select,
input,
textarea {
  font-weight: 500;
}

.top-bar p,
.place-meta,
.data-note-sub,
.signal span,
.detail-tile span,
.directions-metric span,
.nearby-kakao-item p,
.review-item span,
.review-empty,
.settings-info p,
.settings-legal a,
.nearby-tourist-note,
.route-card p,
.alert-card p {
  font-weight: 500 !important;
}

.field span,
.section-heading span,
.data-note-pill,
.mode-tab,
.content-tab,
.rank-pager button,
.rank-pager span,
.place-rating-pill,
.nearby-tourist-badges span,
.detail-map-tabs button,
.nearby-place-actions a,
.detail-link-button,
.ghost-button,
.action-button {
  font-weight: 650 !important;
}

.top-bar h1,
.section-heading h2,
.place-title-line h3,
.detail-hero h2,
.settings-head h2,
.policy-head strong,
.data-note-main,
.score-badge,
.signal strong,
.nearby-kakao-item strong {
  font-weight: 700 !important;
}

.place-rank-badge {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fceaa2 !important;
  color: #1c261f !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(246, 216, 91, 0.28) !important;
}

.map-pin {
  border-color: #fceaa2 !important;
  box-shadow: 0 12px 26px rgba(28, 38, 31, 0.34) !important;
}

.map-pin.focus {
  border-color: #fceaa2 !important;
  box-shadow: 0 14px 30px rgba(28, 38, 31, 0.38) !important;
}

.user-pin {
  border-color: #fceaa2 !important;
  box-shadow: 0 12px 26px rgba(28, 38, 31, 0.34) !important;
}

.detail-place-pin span,
.detail-place-pin i,
.mobility-map-pin,
.map-popup-badge {
  box-shadow: 0 10px 24px rgba(28, 38, 31, 0.3) !important;
}

/* Accessibility: keep the UI usable with large phone fonts and longer languages. */
.phone-frame {
  font-size: 1rem;
}

.phone-frame *,
.policy-document * {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

html[lang="en"] .phone-frame *,
html[lang="es"] .phone-frame *,
html[lang="en"] .policy-document *,
html[lang="es"] .policy-document * {
  hyphens: auto;
  word-break: normal;
}

button,
select,
input,
textarea,
.field,
.place-card,
.detail-card,
.settings-card,
.policy-card,
.signal,
.nearby-kakao-item {
  min-width: 0;
}

.control-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  align-content: start;
  min-height: 62px;
}

.field span {
  line-height: 1.15;
}

.field select {
  min-height: 28px;
  line-height: 1.18;
  white-space: normal;
  text-overflow: ellipsis;
}

.mode-tab,
.content-tab,
.rank-pager button,
.detail-map-tabs button,
.action-button,
.detail-link-button,
.nearby-place-actions a {
  height: auto;
  white-space: normal !important;
  line-height: 1.18;
}

.mode-tab {
  min-height: 42px;
  padding: 7px 8px;
}

.content-tab {
  min-height: 62px;
  padding: 7px 5px 8px;
}

.content-tab::before {
  flex: 0 0 auto;
}

.data-note,
.rank-pager {
  grid-template-columns: minmax(0, 1fr);
}

.data-note-pill {
  justify-self: start;
  white-space: normal;
}

.rank-pager {
  gap: 7px;
}

@media (min-width: 390px) {
  .rank-pager {
    grid-template-columns: minmax(82px, auto) minmax(0, 1fr) minmax(82px, auto);
  }
}

.place-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
}

.place-title-line {
  align-items: flex-start;
}

.place-title-line h3 {
  display: -webkit-box;
  max-height: none;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.place-korean-name,
.place-meta,
.nearby-kakao-item p,
.review-item p,
.detail-tile span,
.signal span {
  line-height: 1.32;
}

.place-rank-badge {
  flex: 0 0 auto;
}

.score-badge {
  width: clamp(52px, 3.8em, 70px);
  height: auto;
  min-height: clamp(52px, 3.8em, 70px);
  font-size: clamp(1.05rem, 1.18em, 1.35rem);
  line-height: 1;
}

.signals {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.signal {
  min-height: auto;
  align-items: start;
  grid-template-columns: 36px minmax(0, 1fr);
}

.signal strong {
  line-height: 1.15;
}

.signal-icon,
.mobility-logo {
  flex: 0 0 auto;
}

.card-actions {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
}

.action-button {
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 48px;
  padding-block: 8px;
}

.action-button::before {
  flex: 0 0 28px;
}

.detail-actions {
  align-items: stretch;
}

.detail-actions .action-button,
.detail-actions .detail-link-button {
  min-height: 48px;
  padding-block: 8px;
}

.nearby-kakao-title {
  align-items: flex-start;
}

.nearby-kakao-title h2 {
  line-height: 1.14;
}

.nearby-place-actions {
  flex-wrap: wrap;
}

.settings-card,
.policy-card,
.detail-card {
  max-width: min(430px, 100%);
}

@media (max-width: 390px) {
  .control-grid {
    grid-template-columns: 1fr;
  }

  .mode-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .place-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .score-badge {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
  }

  .card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .card-actions .action-detail {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) and (min-resolution: 1dppx) {
  .detail-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Radius polish: flatter header, less bubbly shapes. */
.top-bar {
  margin: 0;
  padding: 26px 22px 12px;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.top-bar h1 {
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 transparent;
}

.top-bar .brand-lockup {
  align-items: center !important;
  gap: 10px !important;
}

.top-bar .header-app-icon {
  width: 34px !important;
  height: 34px !important;
}

.top-bar p {
  margin-bottom: 5px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: #66716a !important;
}

.top-bar .icon-button {
  border-radius: 14px !important;
}

.top-bar .settings-button {
  background: #ffffff !important;
  color: #1c261f !important;
  border: 1px solid rgba(22, 34, 31, 0.08) !important;
  box-shadow: 0 10px 26px rgba(22, 34, 31, 0.08) !important;
}

.top-bar .settings-gear-icon {
  width: 23px;
  height: 23px;
}

.field span {
  font-weight: 500 !important;
}

.field select {
  font-weight: 500 !important;
}

.mode-tab {
  font-weight: 600 !important;
}

.search-panel,
.map-panel,
.place-card,
.data-note,
.empty-state-card,
.habit-panel,
.auth-card,
.premium-card,
.review-card,
.directions-panel,
.visit-confidence,
.alert-condition-panel,
.nearby-kakao-section,
.affiliate-card,
.score-breakdown,
.route-card,
.alert-card,
.saved-summary,
.live-loading-card {
  border-radius: 18px !important;
}

.settings-card,
.detail-card,
.policy-card {
  border-radius: 22px !important;
}

.field,
.mode-tabs,
.mode-tab,
.detail-map-tabs button,
.rank-pager button,
.signal,
.detail-tile,
.directions-metric,
.nearby-kakao-item,
.review-comment,
.review-comment-form input,
.review-form textarea,
.review-form input,
.ghost-button,
.primary-button,
.detail-link-button,
.action-button {
  border-radius: 12px !important;
}

.content-tabs {
  border-radius: 18px 18px 0 0 !important;
}

.content-tab {
  border-radius: 13px !important;
}

.rank-pager {
  grid-template-columns: minmax(74px, auto) minmax(0, 1fr) minmax(74px, auto) !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 14px 2px 0 !important;
  padding: 8px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 26px rgba(28, 38, 31, 0.08) !important;
}

.rank-pager span {
  display: grid !important;
  place-items: center !important;
  min-height: 38px !important;
  padding: 0 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1c261f !important;
  font-weight: 650 !important;
}

.rank-pager button {
  min-height: 38px !important;
  padding: 0 10px !important;
  font-weight: 650 !important;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.1) !important;
}

.rank-pager button:not(:disabled):last-child {
  background: #fceaa2 !important;
  box-shadow: 0 8px 18px rgba(246, 216, 91, 0.26) !important;
}

.detail-hero,
.detail-mobility-map {
  border-radius: 18px !important;
}

.score-badge {
  border-radius: 16px !important;
}

/* UI typography smoothing: keep Pretendard for UI text and avoid synthetic heavy weights. */
html,
body,
button,
input,
select,
textarea {
  font-synthesis: none;
  font-synthesis-weight: none;
}

body,
p,
li,
span,
small,
em,
select,
input,
textarea,
.place-meta,
.decision-reason,
.data-note-sub,
.signal span,
.detail-tile span,
.directions-metric span,
.nearby-kakao-item p,
.review-item span,
.review-empty,
.settings-info p,
.settings-legal a,
.nearby-tourist-note,
.route-card p,
.alert-card p {
  font-weight: 400 !important;
}

.field span,
.section-heading span,
.data-note-pill,
.mode-tab,
.content-tab,
.rank-pager button,
.rank-pager span,
.place-rating-pill,
.nearby-tourist-badges span,
.detail-map-tabs button,
.nearby-place-actions a,
.detail-link-button,
.ghost-button,
.action-button,
.primary-button,
.field select {
  font-weight: 500 !important;
}

.top-bar h1,
.section-heading h2,
.place-title-line h3,
.detail-hero h2,
.settings-head h2,
.policy-head strong,
.data-note-main,
.score-badge,
.place-rank-badge {
  font-weight: 700 !important;
}

.signal strong,
.nearby-kakao-item strong {
  font-weight: 500 !important;
}

.section-heading h2 {
  font-size: 18px !important;
  line-height: 1.26 !important;
  letter-spacing: 0 !important;
}

#recommendView .section-heading h2 {
  font-size: 20px !important;
}

.section-heading span {
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.data-note-main {
  font-size: 14px !important;
  line-height: 1.32 !important;
}

.data-note-sub,
.decision-reason,
.place-meta {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.place-title-line h3 {
  font-size: 17px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.place-rank-badge {
  font-size: 12px !important;
}

.score-badge {
  font-size: 18px !important;
  line-height: 1 !important;
}

.signal strong {
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.signal span {
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.card-actions .action-button,
.detail-actions .action-button,
.primary-button,
.ghost-button {
  font-size: 13px !important;
  line-height: 1.22 !important;
}

.card-actions {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) !important;
  gap: 7px !important;
  align-items: center !important;
}

.card-actions .action-button {
  min-height: 38px !important;
  padding: 6px 9px !important;
  border-radius: 12px !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  gap: 5px !important;
  white-space: normal !important;
  line-height: 1.2 !important;
}

.card-actions .action-button::before {
  width: 22px !important;
  height: 22px !important;
  flex-basis: 22px !important;
}

.card-actions .action-detail {
  min-height: 40px !important;
}

.detail-actions .action-button,
.detail-actions .detail-link-button {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  padding-block: 6px !important;
  border-radius: 12px !important;
  white-space: normal !important;
}

.map-pin,
.map-pin.good,
.map-pin.watch,
.map-pin.busy {
  background: #fceaa2 !important;
  color: #1c261f !important;
  border: 2px solid rgba(28, 38, 31, 0.82) !important;
  text-shadow: none !important;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.78),
    0 10px 22px rgba(28, 38, 31, 0.2) !important;
}

.map-pin.focus {
  background: #f6d85b !important;
  color: #1c261f !important;
  border-color: #1c261f !important;
  box-shadow:
    0 0 0 4px rgba(252, 234, 162, 0.74),
    0 12px 28px rgba(28, 38, 31, 0.26) !important;
}

.mobility-map-pin {
  background: #fff3b6 !important;
  color: #1c261f !important;
  border-color: rgba(28, 38, 31, 0.34) !important;
  text-shadow: none !important;
}

.mobility-map-pin.walkrun {
  background: #fceaa2 !important;
  color: #1c261f !important;
  border-color: rgba(28, 38, 31, 0.34) !important;
  box-shadow: 0 10px 22px rgba(246, 216, 91, 0.28) !important;
}

.walkrun-route-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.walkrun-route-step {
  min-width: 0;
  padding: 9px 8px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.1);
}

.walkrun-route-step .mobility-label {
  background: #fceaa2;
  color: #1c261f;
  box-shadow: inset 0 0 0 1px rgba(28, 38, 31, 0.12);
}

.walkrun-route-step strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600 !important;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.walkrun-route-step small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400 !important;
  line-height: 1.25;
  white-space: normal;
}

.map-popup-badge {
  background: #fceaa2 !important;
  color: #1c261f !important;
}

.place-rank-badge,
.data-note-pill,
.place-rating-pill,
.nearby-tourist-badges span,
.nearby-place-label,
.map-pin,
.user-pin,
.mobility-map-pin,
.map-popup-badge {
  border-radius: 999px !important;
}

@media (max-width: 560px) {
  .detail-card,
  .settings-card,
  .policy-card {
    border-radius: 22px 22px 0 0 !important;
  }
}

/* Main card signal icons: cleaner line-style set to match the detail map tone. */
.signal-icon,
.mobility-logo {
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
  background: #fffdf3 !important;
  color: #1c261f !important;
  box-shadow:
    inset 0 0 0 1px rgba(28, 38, 31, 0.1),
    0 10px 22px rgba(28, 38, 31, 0.08) !important;
  overflow: hidden;
}

.signal-icon::before,
.signal-icon::after,
.mobility-logo::before,
.mobility-logo::after,
.bike-soft-glyph::before,
.bike-soft-glyph::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
}

.signal-status .signal-crowd,
.signal-weather-card .signal-weather,
.signal-air-card .signal-air,
.signal-mobility-card .mobility-logo {
  --icon-tone: var(--signal-tone, #1c261f);
}

.signal-status .signal-crowd {
  --icon-tone: var(--crowd-color);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.85) 0 5px, transparent 6px),
    color-mix(in srgb, var(--crowd-color) 12%, white) !important;
}

.signal-status.crowd-open .signal-crowd::before {
  left: 9px !important;
  top: 7px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 33% 38%, #1c261f 0 1.6px, transparent 2px),
    radial-gradient(circle at 67% 38%, #1c261f 0 1.6px, transparent 2px),
    var(--crowd-color) !important;
  box-shadow: 0 6px 12px color-mix(in srgb, var(--crowd-color) 24%, transparent) !important;
}

.signal-status.crowd-open .signal-crowd::after {
  left: 14px !important;
  top: 16px !important;
  width: 8px !important;
  height: 5px !important;
  border: 2px solid #ffffff !important;
  border-top: 0 !important;
  border-radius: 0 0 999px 999px !important;
  background: transparent !important;
}

.signal-status.crowd-normal .signal-crowd::before {
  left: 15px !important;
  top: 7px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: var(--crowd-color) !important;
  box-shadow: 0 6px 12px color-mix(in srgb, var(--crowd-color) 24%, transparent) !important;
}

.signal-status.crowd-normal .signal-crowd::after {
  left: 12px !important;
  top: 17px !important;
  width: 14px !important;
  height: 12px !important;
  border-left: 3px solid var(--crowd-color) !important;
  border-bottom: 3px solid var(--crowd-color) !important;
  border-radius: 0 0 0 9px !important;
  background: transparent !important;
  transform: rotate(-14deg) !important;
  box-shadow: 7px 4px 0 -4px var(--crowd-color) !important;
}

.signal-status.crowd-busy .signal-crowd::before {
  left: 14px !important;
  top: 8px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: var(--crowd-color) !important;
  box-shadow:
    -9px 3px 0 -1px color-mix(in srgb, var(--crowd-color) 82%, white),
    9px 3px 0 -1px color-mix(in srgb, var(--crowd-color) 72%, white) !important;
}

.signal-status.crowd-busy .signal-crowd::after {
  left: 7px !important;
  top: 20px !important;
  width: 22px !important;
  height: 9px !important;
  border-radius: 999px 999px 4px 4px !important;
  background: var(--crowd-color) !important;
  box-shadow:
    -6px 2px 0 -2px color-mix(in srgb, var(--crowd-color) 72%, white),
    6px 2px 0 -2px color-mix(in srgb, var(--crowd-color) 72%, white) !important;
}

.signal-status.crowd-packed .signal-crowd::before {
  inset: 8px !important;
  width: auto !important;
  height: auto !important;
  border-radius: 999px !important;
  border: 2px solid var(--crowd-color) !important;
  background: transparent !important;
}

.signal-status.crowd-packed .signal-crowd::after {
  content: "!" !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: var(--crowd-color) !important;
  background: transparent !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

.signal-weather {
  background: linear-gradient(180deg, #eff8ff 0%, #ffffff 62%, #fff7d8 100%) !important;
}

.signal-sun::before {
  left: 8px !important;
  top: 7px !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 999px !important;
  background: #f5b400 !important;
  box-shadow:
    0 0 0 4px rgba(245, 180, 0, 0.16),
    0 6px 12px rgba(245, 180, 0, 0.16) !important;
}

.signal-sun::after,
.signal-cloud::before,
.signal-rain::before {
  left: 8px !important;
  top: 18px !important;
  width: 22px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow:
    5px -5px 0 1px #ffffff,
    -2px -3px 0 1px rgba(255, 255, 255, 0.96),
    0 7px 12px rgba(28, 38, 31, 0.1) !important;
}

.signal-cloud {
  background: linear-gradient(180deg, #e9f2fb 0%, #ffffff 60%, #f6f8fb 100%) !important;
}

.signal-cloud::after {
  display: none !important;
}

.signal-rain {
  background: linear-gradient(180deg, #e7f0ff 0%, #ffffff 58%, #eef7ff 100%) !important;
}

.signal-rain::after {
  left: 10px !important;
  top: 27px !important;
  width: 3px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: #2563eb !important;
  transform: rotate(16deg) !important;
  box-shadow:
    8px -1px 0 #38bdf8,
    16px -2px 0 #2563eb !important;
}

.signal-snow::before {
  content: "✦" !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #3b82f6 !important;
  background: transparent !important;
  font-size: 18px !important;
  text-shadow:
    -8px 5px 0 rgba(59, 130, 246, 0.28),
    8px -5px 0 rgba(59, 130, 246, 0.24) !important;
}

.signal-fog::before {
  left: 7px !important;
  top: 12px !important;
  width: 22px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: #94a3b8 !important;
  box-shadow:
    2px 8px 0 rgba(148, 163, 184, 0.72),
    -1px 16px 0 rgba(148, 163, 184, 0.42) !important;
}

.signal-air {
  background: linear-gradient(180deg, #f7fffb 0%, #ffffff 58%, #f9f3d6 100%) !important;
}

.signal-air.air-good::before,
.signal-air.air-normal::before,
.signal-air.air-bad::before {
  left: 7px !important;
  top: 11px !important;
  width: 22px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: var(--signal-tone) !important;
  box-shadow:
    4px 8px 0 color-mix(in srgb, var(--signal-tone) 42%, white),
    -2px 16px 0 color-mix(in srgb, var(--signal-tone) 28%, white) !important;
}

.signal-air.air-good::after,
.signal-air.air-normal::after,
.signal-air.air-bad::after {
  right: 7px !important;
  top: 7px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--signal-tone) 78%, white) !important;
  box-shadow: 0 12px 0 -2px color-mix(in srgb, var(--signal-tone) 46%, white) !important;
}

.bike-soft-logo {
  position: relative !important;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9) 0 5px, transparent 6px),
    linear-gradient(180deg, #ffffff 0%, #f7fffb 100%) !important;
}

.bike-soft-glyph {
  position: absolute !important;
  left: 5px !important;
  top: 7px !important;
  width: 26px !important;
  height: 22px !important;
}

.bike-soft-glyph::before,
.bike-soft-glyph::after {
  bottom: 0 !important;
  width: 10px !important;
  height: 10px !important;
  border: 2px solid #1c261f !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: inset 0 0 0 2px #54d991 !important;
}

.bike-soft-glyph::before {
  left: 0 !important;
}

.bike-soft-glyph::after {
  right: 0 !important;
}

.bike-soft-logo::before {
  left: 10px !important;
  top: 15px !important;
  width: 16px !important;
  height: 9px !important;
  border-left: 2px solid #1c261f !important;
  border-bottom: 2px solid #1c261f !important;
  border-right: 2px solid #1c261f !important;
  border-top: 0 !important;
  border-radius: 2px !important;
  background: transparent !important;
  transform: skewX(-22deg) !important;
  box-shadow: none !important;
}

.bike-soft-logo::after {
  left: 15px !important;
  top: 8px !important;
  width: 14px !important;
  height: 11px !important;
  border-top: 2px solid #1c261f !important;
  border-right: 2px solid #1c261f !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  border-radius: 2px !important;
  background: transparent !important;
  transform: rotate(-8deg) !important;
  box-shadow: none !important;
}

.car-logo {
  position: relative !important;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9) 0 5px, transparent 6px),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%) !important;
}

.car-logo::before {
  left: 8px !important;
  top: 14px !important;
  width: 21px !important;
  height: 10px !important;
  border-radius: 7px 7px 4px 4px !important;
  background: #1c261f !important;
  box-shadow: inset 4px -5px 0 #5aa7ff !important;
}

.car-logo::after {
  left: 10px !important;
  top: 23px !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: 12px 0 0 #ffffff !important;
}

/* Replace fragile CSS-drawn signal shapes with clear SVG icons. */
.place-card .signal-icon,
.place-card .mobility-logo {
  background-color: #ffffff !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 38px 38px !important;
  border-radius: 14px !important;
  box-shadow:
    inset 0 0 0 1px rgba(28, 38, 31, 0.04),
    0 8px 18px rgba(28, 38, 31, 0.08) !important;
}

.place-card .signal-icon::before,
.place-card .signal-icon::after,
.place-card .mobility-logo::before,
.place-card .mobility-logo::after,
.place-card .bike-soft-glyph,
.place-card .bike-soft-glyph::before,
.place-card .bike-soft-glyph::after {
  display: none !important;
}

.place-card .crowd-open .signal-crowd {
  background-image: url("./assets/signal-smile.svg") !important;
}

.place-card .crowd-normal .signal-crowd {
  background-image: url("./assets/signal-walk.svg") !important;
}

.place-card .crowd-busy .signal-crowd {
  background-image: url("./assets/signal-crowd.svg") !important;
}

.place-card .crowd-packed .signal-crowd {
  background-image: url("./assets/signal-alert.svg") !important;
}

.place-card .signal-sun {
  background-image: url("./assets/signal-sun.svg") !important;
}

.place-card .signal-cloud,
.place-card .signal-fog,
.place-card .signal-snow {
  background-image: url("./assets/signal-cloud.svg") !important;
}

.place-card .signal-rain {
  background-image: url("./assets/signal-rain.svg") !important;
}

.place-card .signal-air.air-good {
  background-image: url("./assets/signal-air-good.svg") !important;
}

.place-card .signal-air.air-normal {
  background-image: url("./assets/signal-air-normal.svg") !important;
}

.place-card .signal-air.air-bad {
  background-image: url("./assets/signal-air-bad.svg") !important;
}

.place-card .bike-soft-logo {
  background-image: url("./assets/signal-bike.svg") !important;
  background-size: 38px 38px !important;
}

.place-card .car-logo {
  background-image: url("./assets/signal-car.svg") !important;
  text-shadow: none !important;
}

/* Settings polish: the exit action should feel like a small utility, not a primary CTA. */
.settings-card .exit-button {
  justify-self: start;
  min-height: 34px !important;
  width: auto !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  background: #ffffff !important;
  color: #1c261f !important;
  box-shadow:
    inset 0 0 0 1px rgba(28, 38, 31, 0.14),
    0 8px 18px rgba(28, 38, 31, 0.06) !important;
}

.settings-card .exit-message {
  margin: -2px 0 0;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 400 !important;
}

/* Native phone layout: keep the main controls compact instead of stacking. */
@media (max-width: 430px) {
  .search-panel {
    padding-inline: 14px !important;
  }

  .control-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .field {
    min-height: 58px !important;
    padding: 9px 8px !important;
    border-radius: 14px !important;
  }

  .field span {
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

  .field select {
    min-width: 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .mode-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 5px !important;
    padding: 3px !important;
  }

  .mode-tab {
    min-height: 36px !important;
    padding: 6px 4px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  .place-head {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 10px !important;
  }

  .score-badge {
    grid-column: auto !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    font-size: 16px !important;
  }

  .card-actions {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .card-actions .action-detail {
    grid-column: auto !important;
  }

  .card-actions .action-button {
    min-height: 36px !important;
    padding: 6px 6px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    gap: 4px !important;
  }

  .card-actions .action-button::before {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px !important;
  }
}

/* Pretendard readability pass: apply the UI font everywhere except the app logo text. */
html,
body,
.app-shell,
.phone-frame,
.settings-card,
.detail-card,
.policy-card,
button,
input,
select,
textarea,
p,
span,
small,
strong,
em,
li,
a,
h2,
h3,
label {
  font-family: var(--app-font) !important;
  letter-spacing: 0 !important;
  font-synthesis: none;
  font-synthesis-weight: none;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.top-bar h1,
.splash-copy strong {
  font-family: var(--brand-font) !important;
  font-synthesis: none;
  font-synthesis-weight: none;
  letter-spacing: 0 !important;
}

.top-bar h1 {
  font-weight: 700 !important;
}

.splash-copy strong {
  font-weight: 700 !important;
}

html[lang="ja"] {
  --app-font: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

html[lang="zh"] {
  --app-font: "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

html[lang="ja"] .phone-frame,
html[lang="zh"] .phone-frame,
html[lang="ja"] .settings-card,
html[lang="zh"] .settings-card,
html[lang="ja"] .detail-card,
html[lang="zh"] .detail-card,
html[lang="ja"] .policy-card,
html[lang="zh"] .policy-card {
  font-synthesis: none !important;
  font-synthesis-weight: none !important;
  font-variant-east-asian: proportional-width;
}

html[lang="ja"] .phone-frame :where(h1, h2, h3, strong, b, button, .score, .rank-number, .place-title, .section-title),
html[lang="zh"] .phone-frame :where(h1, h2, h3, strong, b, button, .score, .rank-number, .place-title, .section-title),
html[lang="ja"] .settings-card :where(h1, h2, h3, strong, b, button),
html[lang="zh"] .settings-card :where(h1, h2, h3, strong, b, button),
html[lang="ja"] .detail-card :where(h1, h2, h3, strong, b, button),
html[lang="zh"] .detail-card :where(h1, h2, h3, strong, b, button) {
  font-weight: 700 !important;
}

/* Region picker: the region list is long, so open it as an in-card scroll list. */
.field:has(#regionSelect),
.field.is-region-select-open {
  position: relative;
}

.field.is-region-select-open {
  z-index: 35;
  overflow: visible;
}

#regionSelect.region-select-open {
  position: absolute !important;
  left: 8px !important;
  right: 8px !important;
  top: 28px !important;
  width: calc(100% - 16px) !important;
  max-height: min(260px, 54vh) !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 8px !important;
  border: 1px solid rgba(28, 38, 31, 0.12) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #1c261f !important;
  box-shadow: 0 18px 34px rgba(28, 38, 31, 0.18) !important;
  z-index: 40 !important;
}

#regionSelect.region-select-open option {
  min-height: 32px;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: normal;
}

/* Native AdMob layout guard: keep ads stable and clear of the bottom tabs. */
body.has-native-admob .phone-frame {
  padding-bottom: calc(232px + env(safe-area-inset-bottom, 0px)) !important;
}

body.has-native-admob.has-admob-suppressed .phone-frame {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
}

body.has-native-admob.has-admob-banner-suppressed .phone-frame {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
}

body.has-native-admob .content-tabs {
  bottom: 0 !important;
}

body.has-native-admob.has-admob-suppressed .content-tabs {
  bottom: 0 !important;
}

body.has-native-admob.has-admob-suppressed .detail-actions {
  bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important;
}

body.has-native-admob.has-admob-banner-suppressed .detail-actions {
  bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important;
}

body.has-native-admob.has-admob-suppressed .detail-card {
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
}

body.has-native-admob.has-admob-banner-suppressed .detail-card {
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
}

body.has-native-admob .view {
  padding-bottom: 8px !important;
}

body.has-native-admob .rank-pager {
  margin-bottom: 0 !important;
}

.place-list > .ad-card,
.route-list > .ad-card,
.alert-list > .ad-card,
.detail-card .ad-card {
  margin: 34px 0 38px !important;
}

.inline-banner-slot {
  display: block !important;
  min-height: 112px !important;
  height: 112px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
  contain: layout paint !important;
  isolation: isolate !important;
  transform: translateZ(0) !important;
}

.place-list > .inline-banner-slot,
.route-list > .inline-banner-slot,
.alert-list > .inline-banner-slot,
.detail-card .inline-banner-slot {
  margin: 18px 0 20px !important;
}

body.has-admob-suppressed .inline-banner-slot:not(.detail-pane .inline-banner-slot) {
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
}

