:root {
  --ink: #111820;
  --ink-soft: #56626e;
  --blue: #1769d2;
  --blue-dark: #0f55ad;
  --blue-pale: #eaf3fc;
  --coral: #ee5b43;
  --fog: #f3f7fa;
  --white: #ffffff;
  --line: #d8e0e7;
  --line-strong: #bec9d3;
  --success-bg: #f3f8f0;
  --success-line: #c9ddbd;
  --shadow-sm: 0 4px 14px rgba(30, 54, 78, 0.1);
  --shadow-lg: 0 24px 64px rgba(30, 54, 78, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans KR", "Noto Sans JP", "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "AppleMyungjo", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif KR", "Noto Serif JP", Georgia, serif;
}

* { box-sizing: border-box; }
html { width: 100%; overflow-x: clip; color: var(--ink); background: var(--fog); scroll-behavior: smooth; }
body { width: 100%; margin: 0; overflow-x: clip; font-family: var(--sans); background: var(--fog); -webkit-font-smoothing: antialiased; }
body:has(.drawer-backdrop:not([hidden])), body:has(.modal-backdrop:not([hidden])) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.app-shell {
  width: min(1480px, calc(100% - 32px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(30, 54, 78, 0.08);
}

.app-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 15px 28px 15px 34px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand-lockup { display: flex; align-items: baseline; gap: 22px; min-width: 0; }
.brand-lockup h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(29px, 2.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 1;
  white-space: nowrap;
}
.brand-lockup p { margin: 0; color: var(--ink-soft); font-size: 14px; letter-spacing: 0.04em; }

.beta-status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 13px; white-space: nowrap; }
.beta-status i, .live-dot, .rolling-freshness i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

.language-control { display: inline-flex; }
.language-control select {
  min-width: 82px;
  min-height: 44px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.language-control select:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 105, 210, 0.1); outline: 0; }

.destination-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.destination-trigger:hover, .destination-trigger:focus-visible { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 105, 210, 0.1); outline: 0; }
.destination-trigger svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.destination-trigger .chevron { width: 16px; height: 16px; margin-left: 2px; }

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
  min-height: 610px;
  border-bottom: 1px solid var(--line);
}
.experience-grid:has(.city-sheet:not([hidden])) { grid-template-columns: minmax(430px, 0.92fr) minmax(500px, 1.08fr); }

.map-section { display: flex; min-width: 0; flex-direction: column; background: var(--fog); }
.map-guide {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(190, 201, 211, 0.7);
  background: rgba(255, 255, 255, 0.54);
}
.map-guide svg { width: 23px; height: 23px; fill: none; stroke: #607080; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.map-guide p { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }

.map-stage {
  position: relative;
  flex: 1;
  min-height: 476px;
  overflow: hidden;
  background-color: #edf5fb;
  background-image: url("assets/world-map.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  isolation: isolate;
}
.map-stage::after { position: absolute; inset: 0; z-index: -1; border: 1px solid rgba(255, 255, 255, 0.55); content: ""; pointer-events: none; }

.map-pin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  transform: translate(-50%, -50%);
}
.map-pin::before { position: absolute; inset: -14px; content: ""; }
.map-pin strong {
  padding: 6px 9px;
  border: 1px solid rgba(190, 201, 211, 0.82);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.pin-dot, .city-pin-dot {
  display: block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
.city-pin-ring { position: absolute; z-index: -1; left: -12px; width: 34px; height: 34px; border: 1px solid rgba(23, 105, 210, 0.35); border-radius: 50%; background: rgba(23, 105, 210, 0.1); opacity: 0; transform: scale(0.8); transition: opacity 160ms ease, transform 160ms ease; }
.map-pin:hover strong, .map-pin:focus-visible strong { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.map-pin:focus-visible { outline: 0; }
.map-pin.selected strong { border-color: var(--blue); color: var(--white); background: var(--blue); }
.map-pin.selected .pin-dot, .map-pin.selected .city-pin-dot { width: 14px; height: 14px; border-width: 4px; box-shadow: 0 0 0 2px var(--blue); }
.map-pin.selected .city-pin-ring { opacity: 1; transform: scale(1); }

.pin-los-angeles { top: 49%; left: 14%; }
.pin-new-york { top: 40%; left: 24%; }
.pin-london { top: 31%; left: 47%; }
.pin-paris { top: 39%; left: 49%; }
.pin-seoul { top: 44%; left: 84%; }
.pin-tokyo { top: 49%; left: 89%; }
.pin-bangkok { top: 59%; left: 79%; }
.pin-singapore { top: 69%; left: 80%; }
.pin-honolulu { top: 56%; left: 11%; }
.pin-sydney { top: 76%; left: 88%; }

.map-return {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 12px 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 700;
}
.map-return svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.map-hint { display: flex; align-items: center; min-height: 58px; margin: 0; padding: 0 32px; border-top: 1px solid rgba(190, 201, 211, 0.72); color: var(--ink-soft); background: rgba(255, 255, 255, 0.72); font-size: 12px; }

.rolling-section { display: flex; min-width: 0; flex-direction: column; border-left: 1px solid var(--line); background: var(--white); }
.rolling-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; padding: 0 28px; border-bottom: 1px solid var(--line); }
.rolling-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(21px, 1.7vw, 28px); font-weight: 600; letter-spacing: -0.05em; }
.rolling-status { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 11px; white-space: nowrap; }
.status-mobile { display: none; }
.live-dot { display: inline-block; flex: 0 0 auto; }

.rolling-card { position: relative; display: grid; flex: 1; min-height: 476px; overflow: hidden; background: var(--ink); }
.rolling-photo-wrap, .rolling-copy { grid-area: 1 / 1; }
.rolling-photo-wrap { min-width: 0; min-height: 0; }
.rolling-photo-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rolling-photo-wrap.is-placeholder { display: grid; place-items: center; background: #edf5fb; }
.rolling-photo-wrap.is-placeholder img { object-fit: contain; opacity: 0.78; }
.rolling-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 34px 34px 30px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(7, 20, 32, 0.64), rgba(7, 20, 32, 0.12));
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}
.rolling-card.is-placeholder { background: #edf5fb; }
.rolling-card.is-placeholder .rolling-copy { color: var(--ink); background: rgba(255, 255, 255, 0.8); text-shadow: none; }
.rolling-card.is-placeholder .source-badge { border-color: var(--line-strong); color: var(--blue); background: var(--blue-pale); }
.rolling-meta { display: flex; flex-direction: column; align-items: flex-start; }
.rolling-meta > strong { font-family: var(--serif); font-size: clamp(34px, 3vw, 46px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.rolling-meta > span:not(.rolling-freshness, .observation-line) { margin-top: 8px; font-size: 14px; font-weight: 700; }
.observation-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.rolling-freshness { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; }
.observation-line .rolling-freshness { margin-top: 0; }
.rolling-freshness i { display: block; }
.source-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 999px; color: inherit; background: rgba(17, 24, 32, 0.42); font-size: 9px; font-weight: 800; letter-spacing: 0.04em; line-height: 1; }
.rolling-forecast { margin-top: 26px; }
.rolling-forecast > span { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.rolling-temp { display: block; font-family: var(--serif); font-size: clamp(68px, 6vw, 92px); font-weight: 400; letter-spacing: -0.08em; line-height: 0.9; }
.rolling-outfit { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.rolling-outfit svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.rolling-outfit strong { font-size: 24px; font-weight: 700; }
.rolling-copy > p { max-width: 90%; margin: auto 0 0; font-family: var(--serif); font-size: clamp(18px, 1.75vw, 25px); font-weight: 600; letter-spacing: 0.01em; line-height: 1.5; }
.rolling-progress { display: flex; justify-content: center; gap: 8px; min-height: 58px; align-items: center; border-top: 1px solid var(--line); }
.rolling-dots { min-width: 46px; color: var(--ink-soft); font-size: 10px; font-variant-numeric: tabular-nums; text-align: center; }
.rolling-control { min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--white); font-size: 18px; font-weight: 700; }
.rolling-control:hover, .rolling-control:focus-visible { border-color: var(--blue); color: var(--blue); outline: 0; }
.rolling-control:disabled { cursor: default; opacity: 0.42; }
.rolling-toggle { min-width: 76px; font-size: 10px; }

.recent-cities { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; min-height: 88px; padding: 12px 30px; border-bottom: 1px solid var(--line); background: var(--white); }
.recent-cities > strong { font-size: 12px; white-space: nowrap; }
.recent-city-list { display: grid; grid-template-columns: repeat(5, minmax(100px, 1fr)); gap: 10px; }
.recent-cities button { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 6px; border: 0; border-radius: 8px; color: var(--ink); background: transparent; text-align: left; transition: background 160ms ease; }
.recent-cities button:hover, .recent-cities button:focus-visible { background: var(--blue-pale); outline: 0; }
.recent-cities img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 5px; object-fit: cover; }
.recent-cities span { display: flex; min-width: 0; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; }
.recent-cities small { color: var(--ink-soft); font-size: 10px; font-weight: 500; }

.city-sheet { grid-column: 2; min-width: 0; max-height: 760px; overflow-y: auto; border-left: 1px solid var(--line); background: var(--white); padding: 26px 30px 34px; scrollbar-color: #c5ced7 transparent; scrollbar-width: thin; }
.sheet-handle { display: none; }
.back-to-world { display: inline-flex; min-height: 44px; align-items: center; gap: 4px; margin: -8px 0 10px; padding: 0 8px; border: 0; color: var(--blue); background: transparent; font-size: 12px; font-weight: 700; }
.back-to-world svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.city-sheet-head { display: grid; grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr); gap: 24px; align-items: start; }
.city-overview { min-width: 0; }
.city-location { margin: 2px 0 12px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.city-overview h2 { margin: 0; font-family: var(--serif); font-size: 42px; font-weight: 600; letter-spacing: -0.08em; line-height: 1; }
.freshness { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 13px 0 20px; color: var(--ink-soft); font-size: 12px; }
.freshness .source-badge { border-color: var(--line-strong); color: var(--blue); background: var(--blue-pale); }
.fresh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.feels-block { padding-top: 14px; border-top: 1px solid var(--line); }
.feels-block span { color: var(--ink-soft); font-size: 11px; }
.feels-block strong { display: block; margin-top: 8px; font-family: var(--serif); font-size: 52px; font-weight: 400; letter-spacing: -0.08em; line-height: 0.9; }
.feels-block p { margin: 8px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
.city-hero-photo { min-width: 0; margin: 0; }
.city-hero-photo img { display: block; width: 100%; aspect-ratio: 1.42; border-radius: 12px; object-fit: cover; }
.city-hero-photo.is-placeholder img { object-fit: contain; padding: 10px; background: #edf5fb; opacity: 0.82; }
.city-hero-photo figcaption { margin-top: 9px; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }

.forecast-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.forecast-strip > div { min-width: 0; }
.forecast-strip span, .forecast-strip small { display: block; color: var(--ink-soft); font-size: 10px; }
.forecast-strip strong { display: block; margin: 4px 0; font-size: 13px; }
.forecast-refresh { min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--blue); background: var(--white); font-size: 11px; font-weight: 700; }
.forecast-refresh:hover, .forecast-refresh:focus-visible { border-color: var(--blue); outline: 0; }

.city-facts { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.fact-item + .fact-item { padding-left: 20px; border-left: 1px solid var(--line); }
.fact-label { display: block; color: var(--ink-soft); font-size: 11px; }
.fact-item strong { display: block; margin-top: 8px; font-family: var(--serif); font-size: 27px; font-weight: 600; }
.fact-item small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 10px; line-height: 1.5; white-space: pre-line; }
.outfit-fact { position: relative; padding-left: 54px !important; }
.outfit-mark { position: absolute; top: 0; left: 20px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #bfd4ed; border-radius: 50%; color: var(--blue); background: var(--blue-pale); }
.outfit-fact strong { font-family: var(--sans); font-size: 18px; }

.history-section { padding-top: 20px; }
.history-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.history-heading h3 { margin: 0; font-family: var(--serif); font-size: 23px; letter-spacing: -0.05em; }
.sort-button { min-height: 44px; padding: 0 6px; border: 0; color: var(--ink-soft); background: transparent; font-size: 11px; }
.history-timeline { position: relative; display: flex; justify-content: space-between; margin: 22px 0 12px; padding-top: 12px; border-top: 1px solid var(--line-strong); color: var(--ink-soft); font-size: 10px; }
.timeline-current { position: absolute; top: -17px; left: 0; padding: 5px 8px; border-radius: 5px; color: var(--white); background: var(--ink); font-size: 9px; font-weight: 700; }
.history-rail { display: flex; gap: 10px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: thin; }
.history-card { flex: 0 0 154px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.history-card img, .history-no-photo { display: block; width: 100%; height: 128px; object-fit: cover; }
.history-no-photo { display: grid; place-items: center; color: var(--ink-soft); background: var(--fog); font-family: var(--serif); }
.history-card-body { padding: 10px 10px 13px; }
.history-card-topline { display: flex; justify-content: space-between; gap: 8px; }
.history-card-time { padding: 4px 6px; color: var(--white); background: var(--ink); font-size: 9px; }
.history-source { padding-top: 3px; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: 0.08em; }
.history-card p { min-height: 38px; margin: 9px 0 0; font-family: var(--serif); font-size: 13px; line-height: 1.4; }
.history-card-meta { display: flex; align-items: center; gap: 5px; margin-top: 9px; color: var(--ink-soft); font-size: 9px; }
.history-avatar { width: 20px; height: 20px; border-radius: 50%; background-position: center; background-size: cover; }
.avatar-river { background-image: url("assets/tokyo-riverside.png"); }
.avatar-temple { background-image: url("assets/tokyo-temple.png"); }
.avatar-sunset { background-image: url("assets/tokyo-sunset.png"); }
.record-area { display: block; margin-top: 7px; color: var(--ink-soft); font-size: 9px; font-weight: 700; }
.history-card-actions { margin-top: 8px; }
.history-card-actions button { min-width: 44px; min-height: 44px; margin: -8px 0 -12px -8px; padding: 8px; border: 0; color: var(--ink-soft); background: transparent; font-size: 9px; text-align: left; text-decoration: underline; }
.live-observation { border-color: rgba(238, 91, 67, 0.45); }
.history-state { display: grid; min-width: 100%; min-height: 132px; place-items: center; padding: 20px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--ink-soft); background: var(--fog); font-size: 11px; line-height: 1.7; text-align: center; }
.history-state.is-error { border-color: #efc3bb; color: #9a3727; background: #fff6f4; }

.post-cta { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; margin-top: 18px; padding: 0 16px; border: 1px solid #cbd3da; border-radius: 10px; color: var(--ink-soft); background: #f1f3f5; font-size: 13px; font-weight: 700; }
.post-cta:disabled { cursor: not-allowed; }
.camera-mark { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; }
.cta-arrow { margin-left: auto; }
.contribution-status { margin: 7px 0 0; color: var(--ink-soft); font-size: 10px; text-align: center; }
.safe-share { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; margin-top: 14px; padding: 14px; border: 1px solid var(--success-line); border-radius: 11px; background: var(--success-bg); }
.safe-share-mark { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--success-line); border-radius: 8px; color: #46623c; }
.safe-share-kicker { margin: 0 0 3px; color: #52674b; font-size: 8px; font-weight: 800; letter-spacing: 0.12em; }
.safe-share h3 { margin: 0; font-size: 12px; }
.safe-share-copy > p:last-child { margin: 5px 0 0; color: #52674b; font-size: 10px; line-height: 1.55; }
.safe-share-points { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 7px 12px; margin: 2px 0 0; padding: 10px 0 0; border-top: 1px solid #d7e5d0; list-style: none; }
.safe-share-points li { display: inline-flex; align-items: center; gap: 4px; color: #52674b; font-size: 9px; font-weight: 700; }
.safe-share-points span { display: inline-grid; place-items: center; width: 14px; height: 14px; border: 1px solid #c8dbc0; border-radius: 50%; }
.safe-share-links { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 12px; margin: 0; font-size: 9px; }
.safe-share-links a { color: #46623c; }

.drawer-backdrop, .modal-backdrop { position: fixed; z-index: 30; inset: 0; background: rgba(17, 24, 32, 0.38); }
.destination-drawer, .post-modal { position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%); overflow-y: auto; padding: 46px 32px 36px; background: var(--white); box-shadow: var(--shadow-lg); }
.drawer-close, .modal-close { position: absolute; top: 13px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); font-size: 21px; }
.modal-close:disabled { cursor: wait; opacity: 0.45; }
.section-kicker { margin: 0 0 10px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: 0.14em; }
.destination-drawer h2, .post-modal h2 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: -0.06em; line-height: 1.1; }
.destination-drawer > p:not(.section-kicker), .modal-copy { margin: 11px 0 24px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.destination-group + .destination-group { margin-top: 24px; }
.destination-group h3 { margin: 0 0 10px; color: var(--ink-soft); font-size: 11px; }
.destination-region + .destination-region { margin-top: 18px; }
.destination-region h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.destination-region h4::after { flex: 1; height: 1px; background: var(--line); content: ""; }
.destination-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.destination-grid button { display: flex; min-height: 70px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); text-align: left; }
.destination-grid button:hover, .destination-grid button:focus-visible { border-color: var(--blue); background: var(--blue-pale); outline: 0; }
.destination-grid strong { font-size: 14px; }
.destination-grid small { color: var(--ink-soft); font-size: 10px; }

.post-modal { width: min(470px, 100%); }
.report-modal { width: min(420px, 100%); }
.post-modal h2 em { color: var(--blue); font-style: normal; }
.post-modal form { display: grid; min-width: 0; gap: 8px; }
.post-modal form > * { min-width: 0; }
.post-modal label { margin-top: 8px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.post-modal label span { font-weight: 400; }
.post-modal select, .post-modal textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--white); }
.post-modal textarea { min-height: 88px; resize: vertical; }
.visually-hidden, .visually-hidden-file { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.photo-picker { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; margin-top: 0 !important; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink) !important; background: var(--white); cursor: pointer; }
.photo-picker > span { flex: 0 0 auto; color: var(--blue); font-weight: 700 !important; }
.photo-picker small { min-width: 0; overflow: hidden; color: var(--ink-soft); font-size: 9px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.visually-hidden-file:focus-visible + .photo-picker { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 105, 210, 0.1); outline: 0; }
.photo-preview { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }
.photo-preview img { display: block; width: 100%; max-height: 170px; object-fit: cover; }
.area-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.nearby-area { padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); background: var(--white); font-size: 10px; font-weight: 700; }
.area-status, .privacy-note { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.location-assurance { margin: 8px 0 2px; padding: 10px; border-left: 2px solid #7ba56a; color: #52674b; background: var(--success-bg); font-size: 10px; line-height: 1.5; }
.consent-control { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px !important; color: var(--ink) !important; font-size: 10px !important; font-weight: 500 !important; line-height: 1.5; }
.consent-control input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.turnstile-control { max-width: 100%; margin: 12px 0 3px; overflow: hidden; }
.turnstile-control small { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 10px; }
.form-error { margin: 0; color: #b33a25; font-size: 11px; font-weight: 700; }
.modal-submit { min-height: 48px; margin-top: 8px; border: 0; border-radius: 9px; color: var(--white); background: var(--blue); font-size: 13px; font-weight: 700; }
.modal-submit:disabled { cursor: not-allowed; opacity: 0.62; }
.submit-success { display: grid; gap: 8px; padding-top: 24px; }
.submit-success span { color: var(--ink-soft); font-size: 12px; }
.success-close { min-height: 48px; margin-top: 12px; border: 0; border-radius: 9px; color: var(--white); background: var(--blue); font-weight: 700; }

.service-about {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px 52px;
  padding: 46px 34px 38px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
}
.service-about-lead { padding-right: 48px; border-right: 1px solid var(--line); }
.service-about-lead .section-kicker { margin: 0 0 14px; color: var(--blue); }
.service-about-lead h2 { margin: 0; font-family: var(--serif); font-size: clamp(31px, 3vw, 43px); font-weight: 600; letter-spacing: -0.055em; line-height: 1.22; }
.service-about-lead h2 em { color: var(--blue); font-style: normal; }
.service-about-lead > p:last-child { max-width: 560px; margin: 19px 0 0; color: #3f4c58; font-size: 12px; line-height: 1.85; }
.service-about-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: center; margin: 0; padding: 0; list-style: none; }
.service-about-step { min-width: 0; min-height: 150px; padding: 4px 22px; border-left: 1px solid var(--line); }
.service-about-step:first-child { padding-left: 0; border-left: 0; }
.service-about-step:last-child { padding-right: 0; }
.service-about-step > span { display: block; margin-bottom: 34px; color: var(--blue); font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.service-about-step strong { display: block; font-size: 16px; }
.service-about-step p { margin: 10px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.service-about-assurance { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: #52674b; font-size: 10px; line-height: 1.6; }
.service-about-assurance > span:first-child { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; border: 1px solid #a8c49c; border-radius: 50%; color: #4d7442; background: var(--success-bg); font-weight: 700; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding: 16px 30px; color: var(--ink-soft); background: var(--white); font-size: 10px; }
.site-footer p { margin: 0; font-weight: 700; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.site-footer a { color: var(--ink-soft); }
.app-status { position: fixed; z-index: 60; right: 18px; bottom: 18px; max-width: min(380px, calc(100% - 36px)); margin: 0; padding: 13px 16px; border: 1px solid #b9d6aa; border-radius: 10px; color: #36532d; background: #f4faef; box-shadow: var(--shadow-lg); font-size: 11px; font-weight: 700; line-height: 1.5; }
.app-status.is-error { border-color: #efc3bb; color: #8f3022; background: #fff6f4; }

.policy-page { min-height: 100vh; padding: 24px; background: var(--fog); }
.policy-shell { width: min(760px, 100%); margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm); }
.policy-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.policy-header a { color: var(--ink); font-family: var(--serif); font-size: 25px; font-weight: 700; text-decoration: none; }
.policy-header span { color: var(--ink-soft); font-size: 10px; }
.policy-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.policy-header .language-control select { min-height: 44px; }
.policy-content { padding: 34px 28px 42px; }
.policy-content h1 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(30px, 6vw, 44px); letter-spacing: -0.05em; }
.policy-lead { margin: 0 0 30px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.policy-content section + section { margin-top: 28px; }
.policy-content h2 { margin: 0 0 10px; font-size: 17px; }
.policy-content p, .policy-content li { color: #394652; font-size: 12px; line-height: 1.85; }
.policy-content ul { padding-left: 20px; }
.policy-content a { color: var(--blue); }
.policy-updated { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft) !important; font-size: 10px !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 860px) {
  .app-shell { width: 100%; min-height: 100vh; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .app-header { grid-template-columns: 1fr auto auto; gap: 8px; min-height: 92px; padding: 15px 18px 14px; }
  .brand-lockup { display: block; }
  .brand-lockup h1 { font-size: 30px; }
  .brand-lockup p { margin-top: 8px; font-size: 11px; }
  .beta-status { display: none; }
  .language-control select { min-width: 72px; min-height: 46px; padding-right: 22px; padding-left: 8px; font-size: 11px; }
  .destination-trigger { min-height: 46px; padding: 0 11px; font-size: 12px; }
  .destination-trigger svg { width: 17px; height: 17px; }

  .experience-grid, .experience-grid:has(.city-sheet:not([hidden])) { display: block; min-height: 0; }
  .map-section { min-height: 378px; }
  .map-guide { min-height: 54px; padding: 0 18px; }
  .map-guide svg { width: 20px; height: 20px; }
  .map-guide p { font-size: 13px; }
  .map-stage { flex: none; min-height: 276px; background-size: auto 100%; }
  .map-hint { min-height: 48px; padding: 0 18px; font-size: 10px; }

  .map-pin { min-width: 44px; min-height: 44px; justify-content: center; gap: 4px; }
  .map-pin::before { inset: -18px; }
  .map-pin strong { padding: 5px 6px; border-radius: 6px; font-size: 9px; }
  .pin-dot, .city-pin-dot { width: 9px; height: 9px; }
  .map-pin.selected .pin-dot, .map-pin.selected .city-pin-dot { width: 13px; height: 13px; }
  .pin-los-angeles { top: 50%; left: 14%; }
  .pin-new-york { top: 40%; left: 25%; }
  .pin-london { top: 31%; left: 47%; }
  .pin-paris { top: 41%; left: 49%; }
  .pin-seoul { top: 44%; left: 82%; }
  .pin-tokyo { top: 50%; left: 87%; }
  .pin-bangkok { top: 60%; left: 76%; }
  .pin-singapore { top: 70%; left: 77%; }
  .pin-honolulu { top: 58%; left: 10%; }
  .pin-sydney { top: 76%; left: 86%; }
  .map-return { top: 10px; left: 12px; min-height: 44px; }

  .rolling-section { min-height: 332px; border-top: 1px solid var(--line); border-left: 0; }
  .rolling-heading { min-height: 58px; padding: 0 18px; }
  .rolling-heading h2 { font-size: 21px; }
  .rolling-status { font-size: 10px; }
  .status-desktop { display: none; }
  .status-mobile { display: inline; }
  .rolling-card { grid-template-columns: minmax(0, 58%) minmax(0, 42%); flex: none; min-height: 238px; margin: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
  .rolling-photo-wrap { grid-area: 1 / 1; }
  .rolling-photo-wrap img { min-height: 238px; }
  .rolling-copy { grid-area: 1 / 2; padding: 16px 14px; color: var(--ink); background: var(--white); text-shadow: none; }
  .rolling-meta > strong { font-size: 27px; }
  .rolling-meta > span:not(.rolling-freshness, .observation-line) { margin-top: 5px; color: var(--ink-soft); font-size: 10px; }
  .observation-line { gap: 5px; margin-top: 7px; }
  .rolling-freshness { margin-top: 7px; color: var(--ink-soft); font-size: 10px; }
  .source-badge { min-height: 20px; padding: 0 6px; border-color: var(--line-strong); color: var(--blue); background: var(--blue-pale); font-size: 8px; text-shadow: none; }
  .rolling-forecast { margin-top: 16px; }
  .rolling-forecast > span { color: var(--ink-soft); text-shadow: none; }
  .rolling-temp { font-size: 54px; }
  .rolling-outfit { gap: 7px; margin-top: 14px; color: var(--blue); }
  .rolling-outfit svg { width: 24px; height: 24px; }
  .rolling-outfit strong { font-size: 14px; }
  .rolling-copy > p { max-width: none; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 11px; font-weight: 500; line-height: 1.5; }
  .rolling-progress { min-height: 54px; border-top: 0; }

  .recent-cities { display: none; }
  .city-sheet { max-height: none; padding: 24px 18px 34px; border-top: 1px solid var(--line); border-left: 0; }
  .city-sheet-head { grid-template-columns: 0.8fr 1.2fr; gap: 16px; }
  .city-overview h2 { font-size: 36px; }
  .feels-block strong { font-size: 46px; }
  .city-hero-photo img { aspect-ratio: 1.25; }
  .history-rail { margin-right: -18px; padding-right: 18px; }

  .destination-drawer, .post-modal { top: auto; left: 0; width: 100%; max-height: min(88vh, 760px); padding: 34px 18px 28px; border-radius: 18px 18px 0 0; }
  .destination-drawer h2, .post-modal h2 { font-size: 30px; }
  .service-about { grid-template-columns: 1fr; gap: 24px; padding: 32px 18px 28px; }
  .service-about-lead { padding-right: 0; border-right: 0; }
  .service-about-lead h2 { font-size: 30px; }
  .service-about-lead > p:last-child { margin-top: 14px; font-size: 11px; line-height: 1.75; }
  .service-about-steps { grid-template-columns: 1fr; }
  .service-about-step, .service-about-step:first-child, .service-about-step:last-child { display: grid; grid-template-columns: 38px minmax(0, 1fr); min-height: 0; gap: 3px 12px; padding: 14px 0; border-top: 1px solid var(--line); border-left: 0; }
  .service-about-step > span { grid-row: 1 / 3; margin: 2px 0 0; }
  .service-about-step p { margin: 2px 0 0; }
  .service-about-assurance { padding-top: 16px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 18px; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .policy-page { padding: 0; }
  .policy-shell { border: 0; border-radius: 0; }
  .policy-header { gap: 12px; padding: 18px; }
  .policy-header a { font-size: 21px; }
  .policy-header-actions > span { display: none; }
  .policy-content { padding: 28px 18px 36px; }
  .map-pin strong { font-size: 8px; }
  .map-pin:not(.selected) strong { display: none; }
  .map-pin.pin-tokyo strong, .map-pin.pin-seoul strong, .map-pin.pin-honolulu strong { display: block; }
  .map-pin.pin-tokyo, .map-pin.pin-seoul { flex-direction: row-reverse; }
  .pin-los-angeles { top: 50%; left: 12%; }
  .pin-new-york { top: 35%; left: 26%; }
  .pin-london { top: 18%; left: 42%; }
  .pin-paris { top: 43%; left: 50%; }
  .pin-seoul { top: 21%; left: 72%; }
  .pin-tokyo { top: 45%; left: 88%; }
  .pin-bangkok { top: 65%; left: 65%; }
  .pin-singapore { top: 82%; left: 73%; }
  .pin-honolulu { top: 69%; left: 9%; }
  .pin-sydney { top: 84%; left: 90%; }
  .city-sheet-head { grid-template-columns: 112px minmax(0, 1fr); }
  .city-overview h2 { font-size: 32px; }
  .feels-block strong { font-size: 42px; }
  .city-facts { gap: 14px; }
  .fact-item + .fact-item { padding-left: 14px; }
  .outfit-fact { padding-left: 44px !important; }
  .outfit-mark { left: 12px; }
  .area-row { grid-template-columns: 1fr; }
  .nearby-area { min-height: 44px; }
}

@media (max-width: 355px) {
  .app-header { padding-right: 12px; padding-left: 12px; }
  .brand-lockup h1 { font-size: 27px; }
  .brand-lockup p { font-size: 9px; }
  .language-control select { min-width: 64px; width: 64px; padding-right: 18px; padding-left: 6px; font-size: 10px; }
  .destination-trigger { min-width: 46px; gap: 0; justify-content: center; padding: 0 9px; }
  .destination-trigger > span, .destination-trigger .chevron { display: none; }
  .destination-trigger .chevron { display: none; }
  .rolling-card { grid-template-columns: 54% 46%; margin: 0 10px; }
  .rolling-copy { padding: 13px 10px; }
  .rolling-meta > strong { overflow-wrap: anywhere; font-size: 22px; }
  .rolling-meta > span:not(.rolling-freshness, .observation-line) { overflow-wrap: anywhere; }
  .rolling-temp { font-size: 48px; }
  .rolling-outfit strong { font-size: 12px; }
  .city-sheet-head { grid-template-columns: 1fr; }
  .city-overview h2 { overflow-wrap: anywhere; }
  .city-hero-photo img { max-height: 220px; }
  .rolling-toggle { min-width: 68px; padding: 0 8px; }
  .policy-page { padding: 0; }
  .policy-shell { border: 0; border-radius: 0; }
  .policy-header, .policy-content { padding-right: 18px; padding-left: 18px; }
}
