
/* Layout: an app with four tabs on a bottom bar. 홈 is a few calm cards under one loud one, the next round
   on a mown fairway (tennis: a hard court); the course list keeps its 7-day tee sheet on its own tab;
   a course opens as a bottom sheet. */
:root {
  /* One hue per sport: golf is fairway green, tennis court blue (further down). Whatever needs telling apart —
     pressed or not, the five status faces, index grades, warnings — is that hue at another strength, never a second
     colour. --h holds the hue's RGB channels so a rule can write rgb(var(--h) / 0.12). */
  --h: 23 80 58; --on-h: #FFFFFF; --sport: rgb(var(--h));
  --hue: rgb(var(--h)); --hue-74: rgb(var(--h) / 0.74); --hue-50: rgb(var(--h) / 0.5); --hue-32: rgb(var(--h) / 0.32);
  --hue-18: rgb(var(--h) / 0.18); --hue-12: rgb(var(--h) / 0.12); --hue-8: rgb(var(--h) / 0.08); --hue-5: rgb(var(--h) / 0.05);
  --bg: #F3F5F1; --surface: #FFFFFF; --surface-2: #F4F7F5; --title: var(--hue); --tabbar: rgba(255, 255, 255, 0.9);
  --ink: #101913; --ink-2: #3F4C44; --muted: #66736B; --line: #D9E0DB; --line-2: #BCC7BF;
  --brand: var(--hue); --brand-ink: var(--on-h);
  --stripe: rgb(255 255 255 / 0.045);
  --star: var(--hue); --rain: var(--hue); --rain-bg: var(--hue-8);
  --good: var(--hue); --warn: var(--hue); --serious: var(--hue); --critical: var(--hue);
  --good-bg: var(--hue-12); --warn-bg: var(--hue-8); --serious-bg: var(--hue-12); --critical-bg: var(--hue-8);
  /* the weather icons wear the sky's own colours (SY 2026-10-31: the one-hue page read flat) — the only colours
     outside the sport's hue; deeper on white, lighter on the hue page and in the dark */
  --wx-sun: #E39A00; --wx-cloud: #7E8E86; --wx-rain: #2A7BD5; --wx-snow: #3E9BDB; --wx-bolt: #D98A00;
  --focus: var(--hue); --scrim: rgba(6, 16, 10, 0.48); --shadow: 0 18px 48px rgba(6, 24, 14, 0.22);
  --font-display: "Do Hyeon", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --font-body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --h: 116 198 157; --on-h: #08130D;
    --wx-sun: #FFD24D; --wx-cloud: #DCE4DF; --wx-rain: #86C8FF; --wx-snow: #D8EEFF; --wx-bolt: #FFD24D;
    --bg: #0B100D; --surface: #131A16; --surface-2: #18211C; --title: #E7EDE9; --tabbar: rgba(19, 26, 22, 0.9);
    --ink: #E7EDE9; --ink-2: #B2BEB6; --muted: #84918A; --line: #232E28; --line-2: #36443C;
    --scrim: rgba(0, 0, 0, 0.6); --shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html.locked, html.locked body { overflow: hidden; }
/* side insets: the notch in landscape, the iPhone Duo's status pill on the right edge (iOS reports it as a right inset) */
:root { --pad-l: calc(16px + env(safe-area-inset-left, 0px)); --pad-r: calc(16px + env(safe-area-inset-right, 0px)); }
body {
  margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh;
  font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; word-break: keep-all;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.ic { width: 1em; height: 1em; flex: none; }
.ic.i-sun, .ic.i-cloud-sun, .ic.i-sunset { color: var(--wx-sun); }
.ic.i-cloud, .ic.i-cloud-fog { color: var(--wx-cloud); }
.ic.i-cloud-rain, .ic.i-cloud-drizzle, .ic.i-umbrella, .ic.i-droplet, .ic.i-droplets { color: var(--wx-rain); }
.ic.i-cloud-snow { color: var(--wx-snow); }
.ic.i-cloud-lightning { color: var(--wx-bolt); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* warnings get stronger as they get worse */
.t-good { --tone: var(--hue-32); --tone-bg: var(--hue-5); }
.t-rainy { --tone: var(--hue-50); --tone-bg: var(--hue-8); }
.t-warn { --tone: var(--hue-74); --tone-bg: var(--hue-12); }
.t-serious, .t-critical { --tone: var(--hue); --tone-bg: var(--hue-18); }
.t-unknown { --tone: var(--muted); --tone-bg: transparent; }

/* Status, best to worst, as a feedback-face row in the sport's hue: solid while play is on, fading as it is not,
   the way a closed shop is greyed out. The face's mouth says which. 정보 없음 is an outlined face with ?? eyes. */
.t-open    { --tone: var(--hue);    --tone-bg: rgb(var(--h) / 0.2); }
.t-delayed { --tone: var(--hue-74); --tone-bg: rgb(var(--h) / 0.15); }
.t-closed  { --tone: var(--hue-50); --tone-bg: rgb(var(--h) / 0.11); }
.t-partial { --tone: var(--hue-32); --tone-bg: rgb(var(--h) / 0.08); }
.t-cancel  { --tone: var(--hue-18); --tone-bg: rgb(var(--h) / 0.06); }
.t-open, .t-delayed, .t-closed, .t-partial, .t-cancel { --tone-ink: var(--hue); }
.face { width: 1.25em; height: 1.25em; flex: none; display: inline-block; --face-ink: var(--ink); }
.face .fc { fill: var(--face); }
.face .fr { fill: var(--surface); stroke: var(--face-ring); stroke-width: 1.5; }
.face .fi { fill: none; stroke: var(--face-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.face .fd { fill: var(--face-ink); }
.f-open    { --face: var(--hue);    --face-ink: var(--on-h); }
.f-delayed { --face: var(--hue-74); --face-ink: var(--on-h); }
.f-closed  { --face: var(--hue-50); }
.f-partial { --face: var(--hue-32); }
.f-cancel  { --face: var(--hue-18); }
.f-unknown { --face-ring: var(--hue-50); --face-ink: var(--ink-2); }
@media (prefers-color-scheme: dark) {
  .f-closed { --face-ink: var(--on-h); }
  .f-partial, .f-cancel { --face-ink: var(--hue); }
}

.app { max-width: calc(720px + env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px)); margin: 0 auto; padding-inline: var(--pad-l) var(--pad-r); padding-block: 0 calc(104px + env(safe-area-inset-bottom, 0px)); }

/* top bar: the name on 홈, the tab's name elsewhere; search and notifications on the right */
.topbar { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.tb-row { display: flex; align-items: center; gap: 10px; min-height: 56px; }
.brand-text { flex: 1; min-width: 0; }
/* the name is the logo (web/brand/wordmark.svg, inline): 칠까 solid, 말까 faded the way a place that is not open fades,
   the short tick on top of ㅊ in the accent — ball yellow on the hue page and in the dark (camping: ember), the letters'
   own colour on a light page. The glyphs stand where the Do Hyeon text stood (0.784 of the font size, a hair below the top). */
.logo { margin: 0; font-size: 2.125rem; line-height: 1; color: var(--title); }
.logo-svg { display: block; box-sizing: content-box; height: 0.784em; width: auto; padding: 0.037em 0 0.179em; }
.logo-svg .lg-ink { fill: var(--logo-ink, var(--title)); }
.logo-svg .lg-fade { fill: var(--logo-fade); }
.logo-svg .lg-tick { fill: var(--logo-tick, var(--logo-ink, var(--title))); }
:root { --logo-fade: #6B8F80; }
html[data-sport="tennis"] { --logo-fade: #6588B5; }
html[data-sport="camp"] { --logo-fade: #AD7B62; }
@media (prefers-color-scheme: dark) {
  :root { --logo-fade: #5A7264; --logo-tick: #DDF06A; }
  html[data-sport="tennis"] { --logo-fade: #5C6C84; }
  html[data-sport="camp"] { --logo-fade: #7B6656; --logo-tick: #E8A06C; }
}
@media not all and (prefers-color-scheme: dark) {
  html.canvas .app { --logo-fade: rgb(255 255 255 / 0.52); --logo-tick: #DDF06A; }
  html.canvas[data-sport="camp"] .app { --logo-tick: #E8A06C; }
}
.tagline { margin: 6px 0 0; font-size: 0.875rem; color: var(--muted); }
.tb-title { flex: 1; min-width: 0; margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; color: var(--title); }
.tb-btns { flex: none; display: flex; align-items: center; gap: 2px; margin-right: -8px; }
.tb-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--title); font-size: 25px; }
.bdot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--critical); box-shadow: 0 0 0 2px var(--bg); }
.install { display: inline-flex; align-items: center; gap: 5px; height: 32px; margin-right: 4px; padding: 0 12px; border-radius: 999px; background: var(--hue-8); border: 0; color: var(--hue); font-size: 0.8125rem; font-weight: 700; white-space: nowrap; }
.install .ic { font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: var(--good); white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--hue); animation: pulse 2.6s ease-in-out infinite; }
.live.off { color: var(--muted); font-weight: 500; }
.live.off i { background: var(--line-2); animation: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* 골프 | 테니스 */
.sport-sw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 14px; padding: 4px; border-radius: 16px; background: var(--hue-8); }
.sport-sw button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 4px; border-radius: 12px; color: var(--ink-2); font-weight: 700; font-size: 0.9375rem; white-space: nowrap; }
.sport-sw button .ic { font-size: 17px; }
.sport-sw button b { font-weight: 500; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sport-sw button[aria-pressed="true"] { background: var(--hue); color: var(--on-h); }
.sport-sw button[aria-pressed="true"] b { color: inherit; opacity: 0.74; }

.view { padding-top: 16px; }
#vHome, #vReport, #vMe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }

/* list tab: the 7-day band and the regions stay on top while the list scrolls */
.stick { position: sticky; top: 0; z-index: 20; margin-inline: calc(-1 * var(--pad-l)) calc(-1 * var(--pad-r)); background: var(--bg); }
.days-band { padding: 8px var(--pad-r) 0 var(--pad-l); }
.days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.days::-webkit-scrollbar, .regions::-webkit-scrollbar { display: none; }
.day { flex: 1 0 50px; min-width: 50px; display: grid; justify-items: center; gap: 1px; padding: 7px 2px 6px; border-radius: 14px; background: var(--surface); color: var(--ink); }
.day .dw { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.day.sat .dw, .day.sun .dw { color: var(--hue); font-weight: 700; }
.day .dn { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.05; }
.day .dr { min-height: 15px; display: inline-flex; align-items: center; gap: 2px; font-size: 0.6875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.day .dr .ic { font-size: 11px; }
.day[aria-pressed="true"] { background: var(--hue); color: var(--on-h); }
.day[aria-pressed="true"] .dw, .day[aria-pressed="true"] .dr { color: inherit; opacity: 0.74; }

.regions-band { padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.regions { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid transparent; background: var(--hue-8); font-size: 0.875rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chip b { font-family: var(--font-data); font-weight: 500; font-size: 0.75rem; color: var(--muted); }
.chip .ic { color: var(--star); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chip[aria-pressed="true"] b, .chip[aria-pressed="true"] .ic { color: inherit; }

.tools { padding-top: 14px; display: flex; gap: 8px; align-items: center; }
.tools .search { flex: 1; min-width: 0; }
.map-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; }
.map-btn .ic { font-size: 18px; }
.map-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
/* the map view (Kakao Maps) takes the list's place: the board's faces above it still filter the pins */
.mapv { position: relative; margin-top: 12px; }
.map { width: 100%; height: 60dvh; min-height: 320px; border-radius: 16px; overflow: hidden; background: var(--hue-8); }
.map-float { position: absolute; right: 12px; top: 12px; display: grid; gap: 8px; z-index: 2; }
.map-float .icon-btn { background: var(--surface); box-shadow: var(--shadow); }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; border-radius: 16px; background: var(--hue-8); color: var(--muted); }
.map-empty p { margin: 0 0 10px; max-width: 28ch; }
.map-note { margin: 8px 0 0; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.map-note a { color: inherit; }
body.searching .mapv { display: none; }
.search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; color: var(--muted); font-size: 18px; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search:focus-within { border-color: var(--focus); }

.notice { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); font-size: 0.875rem; color: var(--ink-2); }
.notice .ic { font-size: 18px; margin-top: 2px; color: var(--muted); }
.notice.alert { border-color: var(--critical); background: var(--critical-bg); color: var(--ink); }
.notice.alert .ic { color: var(--critical); }

.board { margin-top: 18px; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.board-title { margin: 0; font-size: 1.0625rem; font-weight: 700; text-wrap: balance; }
.board-title span { margin-left: 6px; font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.sort { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 8px; background: var(--hue-8); font-size: 0.8125rem; color: var(--ink-2); }
.tallies { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.tally { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 10px 2px 8px; border-radius: 12px; background: var(--surface); border: 1px solid transparent; text-align: center; }
.tally .face { width: 100%; max-width: 44px; height: auto; aspect-ratio: 1 / 1; margin-bottom: 3px; }
.tally .t-l { max-width: 100%; font-size: 0.75rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tally b { font-family: var(--font-data); font-weight: 500; font-size: 1.0625rem; line-height: 1.2; color: var(--ink); }
.tally.zero b { color: var(--muted); }
.tally.zero .t-l { color: var(--muted); }
.tally[aria-pressed="true"] { background: var(--hue-8); border-color: var(--hue); box-shadow: inset 0 0 0 1px var(--hue); }
.risk-tally { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 6px; padding: 9px 12px; border-radius: 12px; background: var(--surface); border: 1px solid transparent; font-size: 0.8125rem; color: var(--ink-2); text-align: left; }
.risk-tally .ic { font-size: 17px; color: var(--warn); }
.risk-tally span { flex: 1; min-width: 0; }
.risk-tally b { font-family: var(--font-data); font-weight: 500; font-size: 1rem; color: var(--ink); }
.risk-tally.zero b, .risk-tally.zero .ic { color: var(--muted); }
.risk-tally[aria-pressed="true"] { background: var(--warn-bg); border-color: var(--warn); box-shadow: inset 0 0 0 1px var(--warn); }
.board-note { margin: 10px 2px 0; font-size: 0.8125rem; color: var(--muted); }

.list { margin-top: 18px; display: grid; gap: 20px; }
.group-h { margin: 0 2px 8px; display: flex; align-items: baseline; gap: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0.03em; }
.group-h b { font-family: var(--font-data); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.rows { background: var(--surface); border-radius: 14px; overflow: hidden; }
.row { display: flex; align-items: stretch; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.fav { flex: none; width: 44px; display: grid; place-items: center; color: var(--line-2); font-size: 18px; }
.fav[aria-pressed="true"] { color: var(--star); }
.fav[aria-pressed="true"] .ic, .fav-btn[aria-pressed="true"] .ic { fill: currentColor; }
.row-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 0; text-align: left; }
.row-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.name { font-size: 1rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 7px; font-size: 0.8125rem; color: var(--muted); }
.meta .wx { display: inline-flex; align-items: center; gap: 3px; color: var(--ink-2); }
.meta .wx .ic { font-size: 15px; }
.meta .flag { color: var(--ink-2); }
.meta .nowrain { color: var(--rain); font-weight: 600; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.row-side { flex: none; max-width: 56%; display: flex; align-items: center; gap: 10px; text-align: right; }
.row-side > .face { width: 42px; height: 42px; }
.side-text { display: grid; justify-items: end; gap: 3px; min-width: 0; }
.st-name { font-size: 0.875rem; font-weight: 700; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--tone-bg); color: var(--ink); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.badge .ic { font-size: 15px; color: var(--tone); }
.badge .face { width: 28px; height: 28px; }
.badge.t-unknown { padding-right: 0; color: var(--muted); font-weight: 500; }
.src { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.src.official { background: var(--brand); color: var(--brand-ink); }
.src.crowd { border: 1px solid var(--line-2); color: var(--ink-2); }
.src.kma { background: var(--hue); color: var(--on-h); }
.side-top { display: inline-flex; align-items: center; gap: 5px; }
.upd { display: inline-flex; align-items: center; gap: 3px; font-size: 0.75rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.upd .ic { font-size: 12px; }
.upd.recent { color: var(--good); font-weight: 600; }
.upd .mixed { color: var(--hue); font-weight: 700; }
.thumbs { display: inline-flex; align-items: center; gap: 2px; }
.thumbs .ic { font-size: 12px; }
/* most places have no news on most days: their ?? face stays quiet */
.row-side > .face.f-unknown { --face-ring: var(--line); --face-ink: var(--line-2); }
.upd.big { margin: 0; font-size: 0.8125rem; white-space: normal; }
.upd.big .ic { font-size: 14px; }
.row.flash { animation: flash 2.6s ease-out; }
@keyframes flash { 0%, 30% { background: var(--good-bg); } 100% { background: transparent; } }
.risk { display: inline-flex; align-items: center; gap: 3px; padding: 0 7px; height: 22px; border-radius: 6px; border: 1px solid var(--tone); color: var(--ink); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.risk .ic { font-size: 13px; color: var(--hue); }
.risk.t-serious, .risk.t-critical { background: var(--hue); border-color: var(--hue); color: var(--on-h); }
.risk.t-serious .ic, .risk.t-critical .ic { color: inherit; }
.risk.big { height: 30px; padding: 0 10px; font-size: 0.875rem; border-radius: 8px; }
.risk.big .ic { font-size: 16px; }
.alert-chip { display: inline-flex; align-items: center; gap: 3px; padding: 0 7px; height: 22px; border-radius: 6px; background: var(--hue); color: var(--on-h); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.alert-chip .ic { font-size: 13px; }

.empty { display: grid; justify-items: center; gap: 8px; padding: 32px 20px; text-align: center; color: var(--muted); background: var(--surface); border-radius: 14px; }
.empty .ic { font-size: 26px; }
.empty .face { width: 56px; height: 56px; }
.empty p { margin: 0; max-width: 30ch; }
.ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 18px; border-radius: 12px; background: var(--hue-8); font-weight: 600; color: var(--ink-2); }
.ghost.sm { height: 36px; padding: 0 14px; font-size: 0.875rem; }

.foot { margin-top: 32px; display: grid; gap: 8px; font-size: 0.75rem; color: var(--muted); }
.foot p { margin: 0; max-width: 62ch; }
.foot .link-btn { justify-self: start; }

.sheet-wrap { position: fixed; inset: 0; z-index: 50; }
.scrim { position: absolute; inset: 0; background: var(--scrim); animation: fade 0.18s ease-out; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92%; overflow-y: auto; overscroll-behavior: none; background: var(--surface); border-radius: 20px 20px 0 0; box-shadow: var(--shadow); outline: none; padding: 10px var(--pad-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--pad-l); animation: rise 0.26s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sheet::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 0 auto 12px; }
@media (min-width: 760px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100% - 48px)); max-height: 86%; border-radius: 20px; padding-top: 20px; animation: pop 0.2s ease-out; }
  .sheet::before { display: none; }
}
@keyframes rise { from { transform: translateY(28px); opacity: 0.5; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: translate(-50%, -47%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet, .scrim, .live i, .row.flash { animation: none; } }

.sh-head { display: flex; align-items: flex-start; gap: 8px; }
.sh-title { flex: 1; min-width: 0; }
.sh-loc { margin: 0; display: flex; align-items: center; gap: 4px; font-size: 0.8125rem; color: var(--muted); }
.sh-name { margin: 4px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
.sh-aka { margin: 4px 0 0; font-size: 0.8125rem; color: var(--muted); }
.icon-btn { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--ink-2); font-size: 20px; background: var(--hue-8); }
.icon-btn:disabled { opacity: 0.35; }
.fav-btn[aria-pressed="true"] { color: var(--star); }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.cbtn { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 56px; padding: 8px 12px; border-radius: 14px; background: var(--hue-12); color: var(--hue); text-decoration: none; }
.cbtn.call { background: var(--brand); color: var(--brand-ink); }
.cbtn .ic { font-size: 20px; }
.cbtn > span { display: grid; min-width: 0; }
.cbtn b { font-size: 0.9375rem; font-weight: 700; line-height: 1.25; }
.cbtn small { font-family: var(--font-data); font-size: 0.75rem; line-height: 1.3; opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.datebar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding: 5px; border-radius: 14px; background: var(--hue-5); }
.datebar .icon-btn { width: 38px; height: 38px; background: transparent; }
.datebar .dl { font-weight: 600; font-size: 0.9375rem; }
.datebar .dl.sat, .datebar .dl.sun { color: var(--hue); }

.now { margin-top: 12px; padding: 16px; border-radius: 16px; background: var(--hue-5); }
.eyebrow { margin: 0 0 10px; display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.badge.big { font-size: 1.125rem; padding: 5px 16px 5px 5px; gap: 9px; }
.badge.big .ic { font-size: 21px; }
.now-empty { margin: 0; font-size: 1.0625rem; font-weight: 600; }
.now-main { display: flex; align-items: center; gap: 14px; }
.now-main > .face { width: 64px; height: 64px; }
.now-text { display: grid; gap: 5px; min-width: 0; }
.now-label { margin: 0; font-size: 1.3125rem; font-weight: 700; line-height: 1.3; }
.now-label.muted { color: var(--ink-2); }
.now-main .now-sub { margin: 0; }
.now-sub { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 0.875rem; color: var(--ink-2); }
.now-sub .ic { font-size: 15px; }
.mixed-note { margin: 10px 0 0; display: flex; gap: 6px; align-items: flex-start; font-size: 0.8125rem; color: var(--ink-2); }
.mixed-note .ic { font-size: 16px; color: var(--serious); margin-top: 2px; }
/* 비 언제 그쳐요 — one line under the status, in the sport's colour (the same words a caddie would answer with) */
.rain-note { margin: 12px 0 0; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--rain-bg); color: var(--ink); font-size: 0.9375rem; font-weight: 700; line-height: 1.35; }
.rain-note .ic { font-size: 18px; color: var(--rain); margin-top: 1px; flex: none; }
.rain-note small { display: block; margin-top: 2px; font-size: 0.75rem; font-weight: 500; color: var(--ink-2); }
.pp .rain-note { margin-top: 10px; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; height: 50px; margin-top: 14px; border-radius: 13px; background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 1rem; }
.cta .ic { font-size: 18px; }
.cta:disabled { background: var(--line); color: var(--muted); }
.cta.alt { background: var(--hue-12); color: var(--hue); margin-top: 8px; }
.cta-why { margin: 8px 0 0; font-size: 0.8125rem; color: var(--muted); text-align: center; }

.rep-form { margin-top: 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: 16px; }
.rep-form.official { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.form-h { margin: 0 0 12px; font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.opts { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt.on { background: var(--hue-8); border-color: var(--hue); box-shadow: inset 0 0 0 1px var(--hue); }
.opt:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.opts.faces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.opts.faces .opt { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 10px 2px 9px; text-align: center; }
.opts.faces .face { width: 100%; max-width: 52px; height: auto; aspect-ratio: 1 / 1; transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease; }
.opts.faces .opt.on .face { transform: scale(1.08); }
.opts.faces.picked .opt:not(.on) .opt-name { color: var(--muted); }
.opt-name { font-size: 0.8125rem; font-weight: 600; line-height: 1.25; }
.opt-desc { margin: 10px 2px 0; min-height: 1.5em; font-size: 0.875rem; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .opts.faces .face { transition: none; } }
.bus { border: 0; padding: 0; margin: 14px 0 0; }
.bus legend { padding: 0; margin-bottom: 8px; font-size: 0.875rem; font-weight: 600; }
.bus legend small, .note small { font-weight: 400; color: var(--muted); }
.bu-row { display: flex; flex-wrap: wrap; gap: 6px; }
.bu-chip { position: relative; }
.bu-chip input { position: absolute; opacity: 0; pointer-events: none; }
.bu-chip span { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--hue-8); font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.bu-chip span small { font-weight: 400; color: var(--muted); }
.bu-chip input:checked + span { background: var(--brand); color: var(--brand-ink); }
.bu-chip input:checked + span small { color: inherit; }
.bu-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.note { display: grid; gap: 8px; margin-top: 14px; font-size: 0.875rem; font-weight: 600; }
.note input, .note select { height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; min-width: 0; }
.note input:focus, .note select:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.form-foot { display: flex; gap: 8px; margin: 8px 0 0; font-size: 0.75rem; color: var(--muted); }
.form-foot .cnt { font-family: var(--font-data); flex: none; }
.form-actions { display: flex; gap: 8px; margin-top: 14px; }
.form-actions .cta { margin-top: 0; flex: 1; }

.sec-h { margin: 26px 0 10px; display: flex; align-items: baseline; gap: 6px; font-size: 0.9375rem; font-weight: 700; }
.sec-h span { font-family: var(--font-data); font-weight: 500; font-size: 0.8125rem; color: var(--muted); }
.sec-h span.t { font-family: var(--font-body); font-weight: 400; }
.sec-sub { margin: -4px 0 10px; font-size: 0.8125rem; color: var(--muted); }
.rep-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rep-list.official { border-color: var(--brand); }
.rep { padding: 13px 14px; border-top: 1px solid var(--line); }
.rep:first-child { border-top: 0; }
.rep-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tag { padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); font-size: 0.6875rem; font-weight: 600; color: var(--ink-2); }
.rep-note { margin: 8px 0 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.rep-foot { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 0.8125rem; color: var(--muted); flex-wrap: wrap; }
.rep-foot .when { margin-right: auto; }
.rep-foot a { color: var(--brand); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.thumb { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px 0 5px; border-radius: 999px; background: var(--hue-8); font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.thumb .face { width: 30px; height: 30px; }
.thumb b { font-family: var(--font-data); font-weight: 500; }
.thumb[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.thumb:disabled { opacity: 0.6; }
.link-btn { padding: 8px 2px; font-size: 0.8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.link-btn.danger { color: var(--critical); }
.flag-done { font-size: 0.75rem; color: var(--muted); }
.flag-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; padding: 10px; border-radius: 12px; background: var(--hue-5); }
.flag-pick > span { width: 100%; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.tag.warn { border-color: var(--serious); color: var(--serious); }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; height: 44px; margin-top: 8px; border-radius: 13px; background: var(--hue-8); color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; }
.share-btn .ic { font-size: 17px; }
.cta-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.cta-row .share-btn { margin-top: 0; }
.legal { font-size: 0.75rem; }
.legal a { color: var(--muted); }
.seo { padding: 16px 4px; color: var(--ink-2); font-size: 0.875rem; }
.seo h2 { margin: 0 0 6px; font-size: 1.125rem; color: var(--ink); }
.seo ul { padding-left: 18px; }
.seo a { color: var(--brand); }

.wx-alert { margin: 0 0 12px; display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--critical-bg); border: 1px solid var(--critical); font-size: 0.875rem; }
.wx-alert .ic { font-size: 18px; color: var(--critical); margin-top: 1px; }
.now-wx { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--hue-5); font-size: 0.875rem; }
.now-wx b { font-family: var(--font-data); font-weight: 500; }
.now-wx .ic { font-size: 16px; color: var(--ink-2); }
.now-wx .when { margin-left: auto; font-size: 0.75rem; color: var(--muted); }
.risk-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.why { font-size: 0.875rem; color: var(--ink-2); }
.wx-note { margin: 8px 0 0; display: flex; gap: 6px; align-items: flex-start; font-size: 0.8125rem; color: var(--ink-2); }
.wx-note .ic { font-size: 15px; margin-top: 2px; color: var(--muted); }
.chart { margin: 16px 0 0; }
.chart figcaption { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 20px; font-size: 0.8125rem; color: var(--ink-2); }
.readout { font-family: var(--font-data); color: var(--ink); white-space: nowrap; }
.plot { position: relative; height: 104px; }
.gridline { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.ytick { position: absolute; transform: translateY(-3px); font-family: var(--font-data); font-size: 0.6875rem; color: var(--muted); }
.bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px; align-items: end; border-bottom: 1px solid var(--line-2); touch-action: pan-y; }
.bar-col { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: crosshair; }
.bar { width: 100%; max-width: 24px; background: var(--hue-50); border-radius: 4px 4px 0 0; }
.bar.zero { height: 0 !important; }
.bar-col.hl { background: var(--rain-bg); border-radius: 4px 4px 0 0; }
.bar-col.hl .bar { background: var(--hue); }
.cap { position: absolute; left: 50%; transform: translate(-50%, -3px); font-family: var(--font-data); font-size: 0.6875rem; color: var(--ink); white-space: nowrap; }
.xaxis, .buaxis { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px; }
.xaxis { margin-top: 5px; }
.xaxis span { grid-row: 1; text-align: center; font-family: var(--font-data); font-size: 0.6875rem; color: var(--muted); white-space: nowrap; }
.buaxis { margin-top: 6px; }
.bu-br { grid-row: 1; margin: 0 1px; padding-top: 3px; border-top: 2px solid var(--line-2); text-align: center; font-size: 0.6875rem; font-weight: 600; color: var(--ink-2); }
.card3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card3 > div { display: grid; gap: 1px; padding: 10px 12px; border-left: 1px solid var(--line); }
.card3 > div:first-child { border-left: 0; }
.card3 .k { font-size: 0.75rem; color: var(--muted); }
.card3 .v { font-family: var(--font-data); font-size: 1.0625rem; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 14px 0 0; }
.facts div { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 7px; border-bottom: 1px solid var(--line); font-size: 0.875rem; min-width: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-family: var(--font-data); white-space: nowrap; }
.table-toggle { margin-top: 10px; }
.hour-wrap { margin-top: 8px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.hour-table { border-collapse: collapse; font-family: var(--font-data); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.hour-table th, .hour-table td { padding: 6px 9px; text-align: center; white-space: nowrap; border-left: 1px solid var(--line); }
.hour-table th { color: var(--muted); font-weight: 500; }
.hour-table tr + tr td { border-top: 1px solid var(--line); }
.hour-table th:first-child, .hour-table td:first-child { border-left: 0; font-family: var(--font-body); color: var(--muted); text-align: left; }
.srcline { margin: 16px 0 0; font-size: 0.75rem; color: var(--muted); }
.wx-credit { margin: 14px 2px 0; font-size: 0.6875rem; color: var(--muted); }
.wx-credit a { color: inherit; }
.srcline .stale { color: var(--serious); font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ext { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--hue-8); font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.ext .ic { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }
.admin-box { margin-top: 22px; padding: 14px; border-radius: 14px; border: 1px dashed var(--line-2); display: grid; gap: 8px; font-size: 0.875rem; }
.admin-box h3 { margin: 0; font-size: 0.875rem; }
.admin-box > button { justify-self: start; }
.code-out { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.code-out code { font-family: var(--font-data); font-size: 1rem; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); user-select: all; }
.code-panel { display: grid; gap: 12px; margin-top: 6px; }
.code-panel h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.code-panel p { margin: 0; color: var(--ink-2); font-size: 0.9rem; }
.code-panel a { color: var(--brand); font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 0.875rem; box-shadow: var(--shadow); }

/* ---------- growth features: my rounds, round index, policies, reviews, levels, course posts, promos ---------- */

/* 라운드 지수: grades run like the faces, solid to faint */
.ixc-5 { --ix-c: var(--hue);    --ix-bg: rgb(var(--h) / 0.2); }
.ixc-4 { --ix-c: var(--hue-74); --ix-bg: rgb(var(--h) / 0.15); }
.ixc-3 { --ix-c: var(--hue-50); --ix-bg: rgb(var(--h) / 0.11); }
.ixc-2 { --ix-c: var(--hue-32); --ix-bg: rgb(var(--h) / 0.08); }
.ixc-1 { --ix-c: var(--hue-18); --ix-bg: rgb(var(--h) / 0.06); }
.ixc-1, .ixc-2, .ixc-3, .ixc-4, .ixc-5 { --ix-ink: var(--hue); }
.ix { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; background: var(--ix-bg); color: var(--ix-ink); font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ring { --v: 0; width: 56px; height: 56px; flex: none; border-radius: 50%; background: conic-gradient(var(--ix-c) calc(var(--v) * 1%), var(--line) 0); display: grid; place-items: center; }
.ring b { width: 44px; height: 44px; border-radius: 50%; background: var(--ring-in, var(--surface)); display: grid; place-items: center; font-family: var(--font-data); font-size: 1.125rem; font-weight: 500; color: var(--ink); }
.ixcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ixcard { display: grid; justify-items: center; align-content: start; gap: 3px; min-width: 0; padding: 12px 6px 10px; border-radius: 14px; background: var(--hue-5); text-align: center; }
.ixcard.past { opacity: 0.45; }
.ixcard.mine { box-shadow: inset 0 0 0 2px var(--brand); }
.ixcard-h { font-size: 0.8125rem; font-weight: 700; }
.ixcard-h small { font-weight: 400; color: var(--muted); }
.ixcard .ring { margin: 4px 0 2px; }
.ixcard-l { font-size: 0.875rem; font-weight: 700; }
.ixcard-w { max-width: 100%; font-size: 0.75rem; color: var(--ink-2); overflow-wrap: anywhere; }
.ix-foot { margin: 10px 2px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 0.8125rem; color: var(--ink-2); }
.ix-foot .ic { font-size: 15px; color: var(--muted); }

/* best courses strip */
.best { margin-top: 18px; }
.best-h { margin: 0 2px 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 0.9375rem; font-weight: 700; }
.best-h .ic { font-size: 16px; color: var(--star); }
.best-h span { font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.best-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-snap-type: x proximity; }
.best-row::-webkit-scrollbar { display: none; }
.best-card { flex: 0 0 auto; width: 156px; display: grid; gap: 4px; padding: 11px 12px; border-radius: 14px; background: var(--surface); text-align: left; scroll-snap-align: start; }
.best-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.best-bu { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.best-name { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.best-why { font-size: 0.75rem; color: var(--muted); }

/* saved rounds (마이) */
.up-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px 12px 14px; border-radius: 14px; background: var(--hue-8); text-align: left; }
.up-card > .face { width: 38px; height: 38px; }
.up-card > .ic { margin-left: auto; font-size: 18px; color: var(--muted); }
.up-text { display: grid; gap: 1px; min-width: 0; }
.up-when { font-size: 0.75rem; font-weight: 700; color: var(--brand); }
.up-name { font-weight: 700; overflow-wrap: anywhere; }
.up-meta { font-size: 0.8125rem; color: var(--muted); }
.up-list { display: grid; gap: 8px; }

/* chips on rows */
.deal-chip { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px; border-radius: 6px; background: var(--hue-12); color: var(--hue); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.deal-chip .ic { font-size: 12px; }
.lv { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 0.6875rem; font-weight: 700; white-space: nowrap; }
.lv .ic { font-size: 12px; }
.lv-3 { border-color: var(--hue-32); color: var(--ink); }
.lv-4 { border-color: var(--hue-74); color: var(--ink); }
.lv-5 { border-color: var(--hue); color: var(--ink); background: var(--hue-12); }
.lv.king { background: var(--hue); border-color: var(--hue); color: var(--on-h); }

/* round card panel */
.rc-when { margin: 6px 0 0; font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.rc-ix { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.rc-ix-l { margin: 0; font-weight: 700; }
.rc-why { margin: 2px 0 0; font-size: 0.8125rem; color: var(--ink-2); }
.kv { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 0.875rem; color: var(--ink-2); }
.rc-sun, .rc-dl, .dl-line { margin: 10px 0 0; display: flex; align-items: flex-start; gap: 6px; font-size: 0.875rem; color: var(--ink-2); }
.rc-sun .ic, .rc-dl .ic, .dl-line .ic { font-size: 16px; margin-top: 2px; color: var(--muted); flex: none; }
.dl-line { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--hue-5); color: var(--ink); }
.votes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.vote { display: grid; justify-items: center; gap: 2px; padding: 11px 4px; border-radius: 12px; background: var(--hue-8); font-weight: 600; font-size: 0.875rem; }
.vote b { font-family: var(--font-data); font-weight: 500; font-size: 1.25rem; }
.vote[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.toggle { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--hue-5); text-align: left; }
.toggle > .ic { font-size: 20px; color: var(--brand); flex: none; }
.toggle > span:not(.sw) { display: grid; gap: 1px; min-width: 0; }
.toggle small { font-size: 0.75rem; color: var(--muted); }
.toggle .sw { margin-left: auto; width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; transition: background 0.15s; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
.toggle[aria-pressed="true"] { background: var(--hue-12); }
.toggle[aria-pressed="true"] .sw { background: var(--brand); }
.toggle[aria-pressed="true"] .sw::after { transform: translateX(18px); }
.rc-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 18px; }
.rc-foot .link-btn { display: inline-flex; align-items: center; gap: 4px; }
@media (prefers-reduced-motion: reduce) { .toggle .sw, .toggle .sw::after { transition: none; } }

/* my page */
.push-card { margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--hue-5); display: grid; gap: 6px; }
.push-card.on { box-shadow: inset 0 0 0 1.5px var(--brand); }
.pc-t { margin: 0; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.pc-t .ic { font-size: 18px; color: var(--brand); }
.pc-s { margin: 0; font-size: 0.8125rem; color: var(--ink-2); }
.pc-a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.push-card .cta { margin-top: 6px; }
.pick-search { margin-bottom: 8px; }
.pick-results { display: grid; gap: 6px; }
.pick-item, .pick-sel { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; background: var(--hue-5); text-align: left; }
.pick-item span, .pick-sel span { font-size: 0.8125rem; color: var(--muted); }
.pick-sel { border-color: var(--brand); }
.pick-sel .link-btn { margin-left: auto; padding: 0; }
.mystat { display: grid; gap: 8px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.lv-big { display: flex; flex-wrap: wrap; gap: 6px; }
.lv-big .lv { height: 26px; font-size: 0.8125rem; padding: 0 10px; }
.prog { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.staff-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.staff-stats > div { display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.staff-stats .k { font-size: 0.6875rem; color: var(--muted); }
.staff-stats b { font-family: var(--font-data); font-weight: 500; font-size: 1.0625rem; }

/* course posts */
.notice-card { margin-top: 12px; padding: 13px 14px; border-radius: 14px; background: var(--hue-8); }
.notice-card .eyebrow { margin-bottom: 6px; }
.nc-title { margin: 0; font-weight: 700; }
.nc-body { margin: 4px 0 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.nc-foot { margin: 6px 0 0; font-size: 0.75rem; color: var(--muted); }
.nc-foot a { color: var(--brand); font-weight: 600; }
.deals { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.deals li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.deals li:first-child { border-top: 0; }
.deals li.on { background: var(--rain-bg); }
.deal-when { font-size: 0.8125rem; color: var(--ink-2); white-space: nowrap; }
.deal-main { flex: 1; min-width: 140px; display: grid; gap: 1px; }
.deal-title { font-weight: 700; }
.deal-body { font-size: 0.8125rem; color: var(--ink-2); overflow-wrap: anywhere; }
.deal-price { font-family: var(--font-data); font-weight: 500; color: var(--ink); }

/* policies */
.pol { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.pol > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 0.875rem; }
.pol > div:first-child { border-top: 0; }
.pol dt { color: var(--muted); font-weight: 600; }
.pol dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.pol-src { margin: 8px 2px 0; font-size: 0.75rem; color: var(--muted); }
.pol-src a { color: var(--brand); }
.std { margin-top: 10px; border-radius: 12px; background: var(--hue-5); }
.std > .pol { margin: 0 8px; }
.std > .pol-src { margin: 8px 12px 12px; }
.std summary { padding: 10px 12px; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.std ul { margin: 0; padding: 0 14px 4px 30px; font-size: 0.8125rem; color: var(--ink-2); display: grid; gap: 4px; }
.std .pol-src { margin: 6px 14px 10px; }
.pol-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.pol-actions .ghost .ic { font-size: 14px; }
textarea.ta { min-height: 76px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; resize: vertical; }
textarea.ta:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }

/* reviews */
.rsum { display: grid; gap: 7px; margin-bottom: 8px; }
.rbar { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 4px 10px; font-size: 0.8125rem; }
.rbar > span:first-child { font-weight: 600; color: var(--ink-2); }
.bar2 { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; display: flex; }
.bar2 i { display: block; height: 100%; }
.rbar-l { grid-column: 2; font-size: 0.75rem; color: var(--muted); }
.rchips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.rev-when { font-size: 0.8125rem; font-weight: 600; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-o { position: relative; }
.seg-o input { position: absolute; opacity: 0; pointer-events: none; }
.seg-o span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--hue-8); font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.seg-o input:checked + span { background: var(--brand); color: var(--brand-ink); }
.seg-o input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.rv-f { border: 0; padding: 0; margin: 14px 0 0; }
.rv-f legend { padding: 0; margin-bottom: 8px; font-size: 0.875rem; font-weight: 600; }

/* staff tools */
.staff-box { gap: 10px; }
.staff-box h3 { display: flex; align-items: center; gap: 6px; }
.staff-box h3 small { font-weight: 400; color: var(--muted); }
.staff-box h4 { margin: 4px 0 0; font-size: 0.8125rem; }
.staff-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.staff-actions .ic { font-size: 14px; }
.spark { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); align-items: end; gap: 3px; height: 44px; padding: 0 2px; border-bottom: 1px solid var(--line-2); }
.spark i { display: block; border-radius: 3px 3px 0 0; background: var(--brand); opacity: 0.8; min-height: 2px; }
.sg { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sg li { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 0.8125rem; }
.sg li > span { min-width: 0; overflow-wrap: anywhere; }
.sg .link-btn { flex: none; padding: 0; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.adm-table th, .adm-table td { padding: 4px 6px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
.adm-table th:first-child, .adm-table td:first-child { text-align: left; }
.adm-table th { color: var(--muted); font-weight: 600; border-top: 0; }
.adm-wrap { overflow-x: auto; }
.promo-list { display: grid; gap: 6px; }
.promo-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 0.8125rem; }
.promo-row.off { opacity: 0.55; }
.promo-row > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.chk-row { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.875rem; font-weight: 400; }
.chk-row label { display: inline-flex; align-items: center; gap: 5px; }
.warn-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); font-size: 0.8125rem; color: var(--ink); }

/* promos: always labelled, never above the status */
.promo-wrap { margin-top: 4px; }
.promo-ds { margin: 0 2px 6px; font-size: 0.6875rem; color: var(--muted); }
.promo { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--line-2); text-decoration: none; color: inherit; }
.promo .ad { flex: none; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-2); font-size: 0.6875rem; font-weight: 700; color: var(--muted); }
.promo-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.promo-text span { font-size: 0.8125rem; color: var(--ink-2); }
.promo-cta { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; font-weight: 700; color: var(--brand); }
.promo-cta .ic { font-size: 13px; }
#shPromo:not(:empty) { margin-top: 18px; }

/* my courses on the main page */
.mine { margin-top: 14px; }
.mine-h { margin: 0 2px 8px; display: flex; align-items: center; gap: 6px; font-size: 0.9375rem; font-weight: 700; }
.mine-h .ic { font-size: 16px; color: var(--star); }
.mine-h span { font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.mine-h .link-btn { margin-left: auto; padding: 0; font-size: 0.8125rem; }
.mine-list { display: grid; gap: 6px; }
.mine-card { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 14px; background: var(--surface); text-align: left; }
.mine-card > .face { width: 32px; height: 32px; }
.mine-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.mine-name { font-weight: 700; overflow-wrap: anywhere; }
.mine-st { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 5px; font-size: 0.8125rem; color: var(--ink-2); }
.mine-side { display: grid; justify-items: end; gap: 3px; flex: none; }
.mine-side small { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.mine-hint { margin: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line-2); font-size: 0.8125rem; color: var(--ink-2); }
.mine-hint .ic { color: var(--star); font-size: 16px; flex: none; }

/* one-tap on-site report */
.quick { margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--surface); }
.quick-h { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-weight: 700; }
.quick-h .ic { color: var(--brand); font-size: 17px; }
.quick-h small { flex-basis: 100%; font-weight: 500; font-size: 0.75rem; color: var(--muted); }
.quick-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.quick-b { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 12px; border-radius: 12px; background: var(--hue-8); color: var(--ink); font-weight: 700; text-align: left; }
.quick-b .face { width: 28px; height: 28px; }
.quick-b:disabled { opacity: 0.6; }
.quick.done { display: flex; align-items: center; gap: 10px; }
.quick.done > .face { width: 34px; height: 34px; }
.quick-text { display: grid; gap: 1px; flex: 1; min-width: 0; }
.quick-text small { font-size: 0.75rem; color: var(--muted); }
.quick .link-btn { flex: none; padding: 0; }

/* tee-time strip */
.tee-box { margin-top: 16px; }
.tee-box .sec-h { margin-top: 0; }
.tee-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tee-chips::-webkit-scrollbar { display: none; }
.chip-h { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--hue-8); color: var(--ink-2); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.chip-h[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.tee-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.tee-h { display: grid; justify-items: center; gap: 3px; padding: 10px 2px; border-radius: 12px; background: var(--hue-5); font-size: 0.75rem; color: var(--ink-2); text-align: center; }
.tee-h.first { box-shadow: inset 0 0 0 2px var(--brand); }
.tee-h .th { font-weight: 700; color: var(--ink); }
.tee-h .ic { font-size: 22px; color: var(--ink-2); }
.tee-h b { font-family: var(--font-data); font-weight: 500; font-size: 1rem; color: var(--ink); }
.tee-h .wet { color: var(--rain); font-weight: 700; }
.tee-h.past { opacity: 0.45; }

/* nearby alternatives */
.alts .sec-sub { margin-top: 6px; }
.alt-list { display: grid; gap: 6px; }
.alt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--hue-5); text-align: left; }
.alt > .face { width: 28px; height: 28px; }
.alt-text { display: grid; gap: 1px; flex: 1; min-width: 0; }
.alt-name { font-weight: 700; overflow-wrap: anywhere; }
.alt-meta { font-size: 0.8125rem; color: var(--muted); }
.alt .ix { flex: none; }

/* admin KPIs */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.kpi { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.kpi .k { font-size: 0.75rem; color: var(--muted); }
.kpi b { font-family: var(--font-data); font-weight: 500; font-size: 1.125rem; }
.kpi small { font-size: 0.6875rem; color: var(--muted); }
.kpi-note { margin: 6px 0 0; font-size: 0.6875rem; color: var(--muted); }

/* tennis: best time of the day, hourly index chart, three-hour strip */
.tx-best { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--hue-5); }
.tx-best .rc-ix-l { margin: 0; }
.ixchart figcaption { display: grid; gap: 2px; margin-bottom: 12px; }
.ixchart .readout { white-space: normal; font-family: var(--font-body); font-weight: 600; }
.ixchart .plot { height: 88px; }
.ixchart .bar { background: var(--ix-c); }
.ixchart .bar-col.past .bar { opacity: 0.35; }
.ixchart .bar-col.hl { background: var(--surface-2); }
.ixchart .bar-col.hl .bar { background: color-mix(in srgb, var(--ix-c) 75%, var(--ink)); }
.tee-strip.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Tennis: the same rules in court blue. html[data-sport] is set by the app, and already in the HTML of the
   tennis pages. */
html[data-sport="tennis"] {
  --h: 42 91 153;
  --bg: #EEF2F7; --surface-2: #F3F6FA; --ink: #0F1722; --ink-2: #3E4856; --muted: #65707F; --line: #D7DEE8; --line-2: #B9C5D4;
  --tabbar: rgba(255, 255, 255, 0.9);
}
@media (prefers-color-scheme: dark) {
  html[data-sport="tennis"] {
    --h: 133 176 238; --on-h: #0A1322;
    --bg: #0B0F15; --surface: #121821; --surface-2: #17202B; --ink: #E6ECF4; --ink-2: #B3BFCD; --muted: #8592A4; --line: #222C39; --line-2: #354355;
    --title: #E6ECF4; --tabbar: rgba(18, 24, 33, 0.9);
  }
}
/* Camping: the same rules in the brown of a campfire at dusk (the pages are about the night, not the day). */
html[data-sport="camp"] {
  --h: 140 70 36;
  --bg: #F7F2EC; --surface-2: #F6F0E9; --ink: #1A1410; --ink-2: #4A3F37; --muted: #7A6C61; --line: #E4D9CE; --line-2: #CDBBAC;
  --tabbar: rgba(255, 255, 255, 0.9);
}
@media (prefers-color-scheme: dark) {
  html[data-sport="camp"] {
    --h: 232 160 108; --on-h: #1A100A;
    --bg: #110D0A; --surface: #1A1410; --surface-2: #221B16; --ink: #F1E9E1; --ink-2: #CDBFB3; --muted: #9D8E81; --line: #2E2520; --line-2: #46392F;
    --title: #F1E9E1; --tabbar: rgba(26, 20, 16, 0.9);
  }
}
/* the night strip: seven three-hour steps from check-in to the next morning */
.tee-strip.n7 { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tee-strip.n7 .tee-h { padding: 8px 1px; font-size: 0.6875rem; gap: 2px; }
.tee-strip.n7 .tee-h .ic { font-size: 18px; }
.tee-strip.n7 .tee-h b { font-size: 0.875rem; }
.tee-strip.n7 .tee-h.next .th { color: var(--muted); }
.tee-strip.n7 .tee-h.night { background: var(--hue-8); }


/* search: results start right under the box */
.search-sum { margin: 0 2px; display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--ink-2); }
.search-sum .ic { font-size: 15px; color: var(--muted); flex: none; }
.search-sum b { color: var(--ink); }
.search-sum .link-btn { margin-left: auto; padding: 4px 2px; flex: none; }
body.searching .list { margin-top: 12px; gap: 14px; min-height: 85vh; }
.tee-h { align-content: start; }
.tee-h .ix { margin-top: 2px; }
.pol + .links { margin-top: 10px; }

/* ---------- 홈: in light mode the sport's hue is the whole page and everything on it is white through it, the way
   a weather app's sky carries its forecast. Inside .app the colour words flip: --h turns white and the hue moves to
   --on-h, so every component keeps its rules. Dark mode keeps its dark page with a glow of the hue on top. ---------- */
@media not all and (prefers-color-scheme: dark) {
  html.canvas, html.canvas body { background-color: var(--sport); }
  html.canvas body { background-image: radial-gradient(130% 50% at 50% 0%, rgb(255 255 255 / 0.12), transparent 72%); background-repeat: no-repeat; }
  html.canvas:not([data-sport="tennis"]):not([data-sport="camp"]) body {   /* golf: the page is a mown fairway */
    background-image: radial-gradient(130% 50% at 50% 0%, rgb(255 255 255 / 0.12), transparent 72%), repeating-linear-gradient(90deg, transparent 0 44px, var(--stripe) 44px 88px);
    background-repeat: no-repeat, repeat;
  }
  html.canvas .app {
    --h: 255 255 255; --on-h: var(--sport);
    --hue: rgb(var(--h)); --hue-74: rgb(var(--h) / 0.74); --hue-50: rgb(var(--h) / 0.5); --hue-32: rgb(var(--h) / 0.32);
    --hue-18: rgb(var(--h) / 0.18); --hue-12: rgb(var(--h) / 0.12); --hue-8: rgb(var(--h) / 0.08); --hue-5: rgb(var(--h) / 0.05);
    --bg: var(--sport); --surface: rgb(255 255 255 / 0.12); --surface-2: rgb(255 255 255 / 0.08);
    --ink: #FFFFFF; --ink-2: rgb(255 255 255 / 0.88); --muted: rgb(255 255 255 / 0.78);
    --line: rgb(255 255 255 / 0.16); --line-2: rgb(255 255 255 / 0.34);
    --title: #FFFFFF; --brand: #FFFFFF; --brand-ink: var(--sport); --focus: #FFFFFF;
    --star: #FFFFFF; --rain: #FFFFFF; --rain-bg: rgb(255 255 255 / 0.08);
    --wx-sun: #FFD24D; --wx-cloud: #E6ECE8; --wx-rain: #8FD0FF; --wx-snow: #DDF2FF; --wx-bolt: #FFD24D;
    --good: #FFFFFF; --warn: #FFFFFF; --serious: #FFFFFF; --critical: #FFFFFF;
    --good-bg: rgb(255 255 255 / 0.12); --warn-bg: rgb(255 255 255 / 0.08); --serious-bg: rgb(255 255 255 / 0.12); --critical-bg: rgb(255 255 255 / 0.1);
    color: var(--ink);
  }
  html.canvas .app .f-closed { --face-ink: var(--on-h); }
}
@media (prefers-color-scheme: dark) {
  html.canvas body { background-image: radial-gradient(130% 46% at 50% 0%, rgb(var(--h) / 0.16), transparent 72%); background-repeat: no-repeat; }
}
/* ---------- 홈 배경 그림 (SY 2026-10-31): 골프는 그린과 깃발, 테니스는 위에서 본 코트 선(US 오픈의 파란 하드코트처럼),
   캠핑은 작은 텐트·모닥불·마시멜로와 별 — 구석에 작게, 조금 비스듬히, 흰 선 16%만(종목 색 규칙 안, 글을 가리지 않게) ---------- */
@media not all and (prefers-color-scheme: dark) {
  html.canvas:not([data-sport="tennis"]):not([data-sport="camp"]) body {
    background-image: radial-gradient(130% 50% at 50% 0%, rgb(255 255 255 / 0.12), transparent 72%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 844'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.16)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='rotate(-12 390 0)'%3E%3Cpath d='M240 180 c40-80 130-110 230-100'/%3E%3Cpath d='M268 198 c34-54 100-80 180-74' stroke-dasharray='1 9'/%3E%3Cline x1='352' y1='150' x2='352' y2='-20'/%3E%3Cpath d='M352 -10l62 24-62 24z' fill='rgba(255,255,255,0.16)' fill-opacity='.5'/%3E%3Ccircle cx='352' cy='150' r='4' fill='rgba(255,255,255,0.16)'/%3E%3C/g%3E%3Cg transform='rotate(8 0 844)'%3E%3Cpath d='M-30 760 c60-40 150-40 220 0' stroke-dasharray='1 9'/%3E%3Cpath d='M-40 790 c70-54 180-54 260 0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), repeating-linear-gradient(90deg, transparent 0 44px, var(--stripe) 44px 88px);
    background-size: auto, 100% auto, auto; background-position: 0 0, 0 0, 0 0; background-repeat: no-repeat, no-repeat, repeat;
  }
  html.canvas[data-sport="tennis"] body {
    background-image: radial-gradient(130% 50% at 50% 0%, rgb(255 255 255 / 0.12), transparent 72%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 844'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.16)' stroke-width='3' stroke-linecap='round' transform='rotate(9 390 0)'%3E%3Cpath d='M262 70 L420 70'/%3E%3Cpath d='M262 70 L262 300'/%3E%3Cpath d='M300 70 L300 300'/%3E%3Cpath d='M262 214 L420 214'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.16)' stroke-width='3' stroke-linecap='round' transform='rotate(9 0 844)'%3E%3Cpath d='M-40 700 L120 700'/%3E%3Cpath d='M60 700 L60 900'/%3E%3C/g%3E%3C/svg%3E");
    background-size: auto, 100% auto; background-position: 0 0, 0 0; background-repeat: no-repeat;
  }
  html.canvas[data-sport="camp"] body {
    background-image: radial-gradient(130% 50% at 50% 0%, rgb(255 255 255 / 0.12), transparent 72%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 844'%3E%3Cdefs%3E%3ClinearGradient id='m0' gradientUnits='userSpaceOnUse' x1='210' y1='142' x2='380' y2='30'%3E%3Cstop offset='0' stop-color='rgb(255,255,255)' stop-opacity='1'/%3E%3Cstop offset='.35' stop-color='rgb(255,255,255)' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='rgb(255,255,255)' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='m1' gradientUnits='userSpaceOnUse' x1='210' y1='175' x2='330' y2='95'%3E%3Cstop offset='0' stop-color='rgb(255,255,255)' stop-opacity='1'/%3E%3Cstop offset='.35' stop-color='rgb(255,255,255)' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='rgb(255,255,255)' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='m2' gradientUnits='userSpaceOnUse' x1='290' y1='216' x2='390' y2='150'%3E%3Cstop offset='0' stop-color='rgb(255,255,255)' stop-opacity='1'/%3E%3Cstop offset='.35' stop-color='rgb(255,255,255)' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='rgb(255,255,255)' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='m3' gradientUnits='userSpaceOnUse' x1='160' y1='80' x2='250' y2='20'%3E%3Cstop offset='0' stop-color='rgb(255,255,255)' stop-opacity='1'/%3E%3Cstop offset='.35' stop-color='rgb(255,255,255)' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='rgb(255,255,255)' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='rotate(-8 390 300)'%3E%3Cpath d='M212 430 L350 160 L488 430 Z'/%3E%3Cpath d='M350 160 L350 430'/%3E%3Cpath d='M310 430 L350 310 L390 430 Z' fill='rgba(255,255,255,0.18)' fill-opacity='.22'/%3E%3Cpath d='M350 310 L376 430' stroke-width='2.5'/%3E%3Cpath d='M266 322 L220 300 M434 322 L480 300'/%3E%3Cpath d='M212 298 l-10 16 M488 298 l10 16'/%3E%3Cpath d='M350 160 l-24-30 M350 160 l24-30'/%3E%3C/g%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.65)' stroke='none'%3E%3Cpath d='M70 102 Q70 110 78 110 Q70 110 70 118 Q70 110 62 110 Q70 110 70 102Z'/%3E%3Cpath d='M130 55 Q130 60 135 60 Q130 60 130 65 Q130 60 125 60 Q130 60 130 55Z'/%3E%3Cpath d='M40 175.5 Q40 180 44.5 180 Q40 180 40 184.5 Q40 180 35.5 180 Q40 180 40 175.5Z'/%3E%3Cpath d='M180 114.5 Q180 120 185.5 120 Q180 120 180 125.5 Q180 120 174.5 120 Q180 120 180 114.5Z'/%3E%3Cpath d='M110 216.5 Q110 220 113.5 220 Q110 220 110 223.5 Q110 220 106.5 220 Q110 220 110 216.5Z'/%3E%3Cpath d='M230 46 Q230 50 234 50 Q230 50 230 54 Q230 50 226 50 Q230 50 230 46Z'/%3E%3Cpath d='M300 86.5 Q300 90 303.5 90 Q300 90 300 93.5 Q300 90 296.5 90 Q300 90 300 86.5Z'/%3E%3Cpath d='M160 187 Q160 190 163 190 Q160 190 160 193 Q160 190 157 190 Q160 190 160 187Z'/%3E%3Cpath d='M260 147 Q260 150 263 150 Q260 150 260 153 Q260 150 257 150 Q260 150 260 147Z'/%3E%3Cpath d='M360 55.5 Q360 60 364.5 60 Q360 60 360 64.5 Q360 60 355.5 60 Q360 60 360 55.5Z'/%3E%3Cpath d='M330 187 Q330 190 333 190 Q330 190 330 193 Q330 190 327 190 Q330 190 330 187Z'/%3E%3C/g%3E%3Cpath d='M210 142 L380 30' stroke='url(%23m0)' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='210' cy='142' r='2.7' fill='rgba(255,255,255,0.65)'/%3E%3Cpath d='M210 175 L330 95' stroke='url(%23m1)' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='210' cy='175' r='2.16' fill='rgba(255,255,255,0.65)'/%3E%3Cpath d='M290 216 L390 150' stroke='url(%23m2)' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='290' cy='216' r='2.3400000000000003' fill='rgba(255,255,255,0.65)'/%3E%3Cpath d='M160 80 L250 20' stroke='url(%23m3)' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='160' cy='80' r='1.8' fill='rgba(255,255,255,0.65)'/%3E%3C/svg%3E");
    background-size: auto, 100% auto; background-position: 0 0, 0 0; background-repeat: no-repeat;
  }
}
@media (prefers-color-scheme: dark) {
  html.canvas:not([data-sport="tennis"]):not([data-sport="camp"]) body {
    background-image: radial-gradient(130% 46% at 50% 0%, rgb(var(--h) / 0.16), transparent 72%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 844'%3E%3Cg fill='none' stroke='rgba(116,198,157,0.16)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='rotate(-12 390 0)'%3E%3Cpath d='M240 180 c40-80 130-110 230-100'/%3E%3Cpath d='M268 198 c34-54 100-80 180-74' stroke-dasharray='1 9'/%3E%3Cline x1='352' y1='150' x2='352' y2='-20'/%3E%3Cpath d='M352 -10l62 24-62 24z' fill='rgba(116,198,157,0.16)' fill-opacity='.5'/%3E%3Ccircle cx='352' cy='150' r='4' fill='rgba(116,198,157,0.16)'/%3E%3C/g%3E%3Cg transform='rotate(8 0 844)'%3E%3Cpath d='M-30 760 c60-40 150-40 220 0' stroke-dasharray='1 9'/%3E%3Cpath d='M-40 790 c70-54 180-54 260 0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); background-size: auto, 100% auto; background-repeat: no-repeat;
  }
  html.canvas[data-sport="tennis"] body {
    background-image: radial-gradient(130% 46% at 50% 0%, rgb(var(--h) / 0.16), transparent 72%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 844'%3E%3Cg fill='none' stroke='rgba(133,176,238,0.16)' stroke-width='3' stroke-linecap='round' transform='rotate(9 390 0)'%3E%3Cpath d='M262 70 L420 70'/%3E%3Cpath d='M262 70 L262 300'/%3E%3Cpath d='M300 70 L300 300'/%3E%3Cpath d='M262 214 L420 214'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(133,176,238,0.16)' stroke-width='3' stroke-linecap='round' transform='rotate(9 0 844)'%3E%3Cpath d='M-40 700 L120 700'/%3E%3Cpath d='M60 700 L60 900'/%3E%3C/g%3E%3C/svg%3E"); background-size: auto, 100% auto; background-repeat: no-repeat;
  }
  html.canvas[data-sport="camp"] body {
    background-image: radial-gradient(130% 46% at 50% 0%, rgb(var(--h) / 0.16), transparent 72%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 844'%3E%3Cdefs%3E%3ClinearGradient id='m0' gradientUnits='userSpaceOnUse' x1='210' y1='142' x2='380' y2='30'%3E%3Cstop offset='0' stop-color='rgb(255,244,200)' stop-opacity='1'/%3E%3Cstop offset='.35' stop-color='rgb(255,244,200)' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='rgb(255,244,200)' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='m1' gradientUnits='userSpaceOnUse' x1='210' y1='175' x2='330' y2='95'%3E%3Cstop offset='0' stop-color='rgb(255,244,200)' stop-opacity='1'/%3E%3Cstop offset='.35' stop-color='rgb(255,244,200)' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='rgb(255,244,200)' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='m2' gradientUnits='userSpaceOnUse' x1='290' y1='216' x2='390' y2='150'%3E%3Cstop offset='0' stop-color='rgb(255,244,200)' stop-opacity='1'/%3E%3Cstop offset='.35' stop-color='rgb(255,244,200)' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='rgb(255,244,200)' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='m3' gradientUnits='userSpaceOnUse' x1='160' y1='80' x2='250' y2='20'%3E%3Cstop offset='0' stop-color='rgb(255,244,200)' stop-opacity='1'/%3E%3Cstop offset='.35' stop-color='rgb(255,244,200)' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='rgb(255,244,200)' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='rgba(230,170,120,0.26)' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='rotate(-8 390 300)'%3E%3Cpath d='M212 430 L350 160 L488 430 Z'/%3E%3Cpath d='M350 160 L350 430'/%3E%3Cpath d='M310 430 L350 310 L390 430 Z' fill='rgba(230,170,120,0.26)' fill-opacity='.22'/%3E%3Cpath d='M350 310 L376 430' stroke-width='2.5'/%3E%3Cpath d='M266 322 L220 300 M434 322 L480 300'/%3E%3Cpath d='M212 298 l-10 16 M488 298 l10 16'/%3E%3Cpath d='M350 160 l-24-30 M350 160 l24-30'/%3E%3C/g%3E%3C/g%3E%3Cg fill='rgba(255,244,200,0.95)' stroke='none'%3E%3Cpath d='M70 102 Q70 110 78 110 Q70 110 70 118 Q70 110 62 110 Q70 110 70 102Z'/%3E%3Cpath d='M130 55 Q130 60 135 60 Q130 60 130 65 Q130 60 125 60 Q130 60 130 55Z'/%3E%3Cpath d='M40 175.5 Q40 180 44.5 180 Q40 180 40 184.5 Q40 180 35.5 180 Q40 180 40 175.5Z'/%3E%3Cpath d='M180 114.5 Q180 120 185.5 120 Q180 120 180 125.5 Q180 120 174.5 120 Q180 120 180 114.5Z'/%3E%3Cpath d='M110 216.5 Q110 220 113.5 220 Q110 220 110 223.5 Q110 220 106.5 220 Q110 220 110 216.5Z'/%3E%3Cpath d='M230 46 Q230 50 234 50 Q230 50 230 54 Q230 50 226 50 Q230 50 230 46Z'/%3E%3Cpath d='M300 86.5 Q300 90 303.5 90 Q300 90 300 93.5 Q300 90 296.5 90 Q300 90 300 86.5Z'/%3E%3Cpath d='M160 187 Q160 190 163 190 Q160 190 160 193 Q160 190 157 190 Q160 190 160 187Z'/%3E%3Cpath d='M260 147 Q260 150 263 150 Q260 150 260 153 Q260 150 257 150 Q260 150 260 147Z'/%3E%3Cpath d='M360 55.5 Q360 60 364.5 60 Q360 60 360 64.5 Q360 60 355.5 60 Q360 60 360 55.5Z'/%3E%3Cpath d='M330 187 Q330 190 333 190 Q330 190 330 193 Q330 190 327 190 Q330 190 330 187Z'/%3E%3C/g%3E%3Cpath d='M210 142 L380 30' stroke='url(%23m0)' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='210' cy='142' r='2.7' fill='rgba(255,244,200,0.95)'/%3E%3Cpath d='M210 175 L330 95' stroke='url(%23m1)' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='210' cy='175' r='2.16' fill='rgba(255,244,200,0.95)'/%3E%3Cpath d='M290 216 L390 150' stroke='url(%23m2)' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='290' cy='216' r='2.3400000000000003' fill='rgba(255,244,200,0.95)'/%3E%3Cpath d='M160 80 L250 20' stroke='url(%23m3)' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='160' cy='80' r='1.8' fill='rgba(255,244,200,0.95)'/%3E%3C/svg%3E"); background-size: auto, 100% auto; background-repeat: no-repeat;
  }
}
#vHome .notice { margin-top: 0; }
#vHome .best { margin-top: 4px; }
.places { position: relative; }
.pp-top { position: relative; display: flex; align-items: center; justify-content: center; min-height: 30px; }
.pp-dots { display: flex; gap: 6px; }
.pp-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--hue-32); transition: width 0.2s ease; }
.pp-dots i.on { width: 18px; background: var(--hue); }
.pp-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--pad-l)) calc(-1 * var(--pad-r)); }
.pp-track::-webkit-scrollbar { display: none; }
.pp { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; display: flex; flex-direction: column; align-items: center; padding: 2px var(--pad-r) 2px var(--pad-l); text-align: center; }
.pp-why { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--hue-12); color: var(--ink); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.pp-why .ic { font-size: 15px; }
.pp-why .ic + .ic, .pp-why .ic:last-child:not(:first-child) { margin-right: -5px; opacity: 0.8; }
.pp-main { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 8px; }
.pp-name { font-family: var(--font-display); font-weight: 400; font-size: 2.125rem; line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
.pp-main > .face { width: 92px; height: 92px; margin-top: 12px; }
.pp-status { margin: 8px 0 0; font-size: 1.4375rem; font-weight: 700; line-height: 1.25; }
.pp-src { margin-top: 4px; font-size: 0.875rem; color: var(--muted); }
.pp-temp { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; }
.pp-temp .ic { font-size: 60px; stroke-width: 1.6; }
.pp-temp b { font-size: 4rem; font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pp-cond { margin-top: 6px; font-size: 1.125rem; font-weight: 600; }
.pp-vibe { margin: 14px 0 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.4; text-wrap: balance; }
.pp-wx { margin: 6px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 0; font-size: 0.9375rem; color: var(--ink-2); }
.pp-wx > span { display: inline-flex; align-items: center; gap: 4px; }
.pp-wx > span + span::before { content: "·"; margin: 0 7px; color: var(--muted); }
.pp-wx .ic { font-size: 17px; }
.pp-note { margin: 8px 0 0; font-size: 0.875rem; color: var(--muted); }
.pp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 16px; }
.tile { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 66px; padding: 10px 14px; border-radius: 18px; background: var(--hue-12); color: var(--ink); text-align: left; }
.tile > .ic { flex: none; font-size: 30px; }
.tile-t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.tile-k { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.tile-v { font-size: 1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-bar { height: 4px; margin-top: 5px; border-radius: 2px; background: var(--hue-18); overflow: hidden; }
.tile-bar i { display: block; height: 100%; border-radius: 2px; background: var(--hue); }
.pp-empty > .face { width: 88px; height: 88px; margin-top: 18px; }
.pp-empty .pp-status { font-size: 1.25rem; }

/* the hours of the place-day: temperatures as bubbles at their height; a line under the hours that matter */
.hourly { padding: 14px 0 10px; border-radius: 22px; background: var(--hue-8); }
.hourly-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 16px 8px; font-size: 0.9375rem; font-weight: 700; }
.hourly-h small { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.hr-row { position: relative; display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 8px 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent); mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent); }
.hr-row::-webkit-scrollbar { display: none; }
.hr-col { position: relative; flex: 0 0 50px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 8px; }
.hr-t { font-size: 0.75rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.hr-col > .ic { font-size: 22px; }
.hr-p { min-height: 15px; font-size: 0.6875rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hr-plot { position: relative; width: 100%; height: 66px; }
.hr-b { position: absolute; left: 50%; transform: translateX(-50%); min-width: 38px; height: 24px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--hr-bg, var(--hue-12)); font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ixb-5 { --hr-bg: var(--hue-50); } .ixb-4 { --hr-bg: var(--hue-32); } .ixb-3 { --hr-bg: var(--hue-18); } .ixb-2 { --hr-bg: var(--hue-12); } .ixb-1 { --hr-bg: var(--hue-8); }
.hr-col.play::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--hue); }
.hr-col.play.first::after { left: 8px; border-radius: 2px 0 0 2px; }
.hr-col.play.last::after { right: 8px; border-radius: 0 2px 2px 0; }
.hr-col.past { opacity: 0.45; }
.hr-wait { margin: 0; padding: 0 16px 6px; font-size: 0.875rem; color: var(--muted); }

/* 준비물 sheet */
.fav-on .ic { color: var(--hue); fill: currentColor; }
.gear { margin-top: 14px; }
.gear-main { display: flex; gap: 10px; }
.gear-it { flex: 1; min-width: 0; display: grid; justify-items: center; gap: 8px; padding: 20px 8px 16px; border-radius: 18px; background: var(--hue-8); }
.gear-it .ic { font-size: 56px; stroke-width: 1.6; color: var(--hue); }
.gear-it b { font-size: 1rem; }
.gear-ex { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gear-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--hue-8); font-size: 0.875rem; font-weight: 600; }
.gear-chip .ic { font-size: 16px; color: var(--hue); }
.gear-pref { display: flex; gap: 6px; margin-top: 16px; }
.gear-pref .chip-h { flex: 1; height: 38px; }
.gear .tee-box { margin-top: 20px; }

.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 5px; border-radius: 999px; background: var(--tone-bg); color: var(--tone-ink); font-size: 0.875rem; font-weight: 700; white-space: nowrap; }
.pill .face { width: 22px; height: 22px; }
.pill.t-unknown { background: var(--surface-2); color: var(--muted); font-weight: 600; }
/* a report nobody else has confirmed yet: the same face and words inside a dashed line (strength already means
   the status), so one person cannot paint a place red */
.face.soft { outline: 1.5px dashed var(--hue-50); outline-offset: 1px; border-radius: 50%; }
.pill.soft { background: transparent; outline: 1.5px dashed var(--hue-50); outline-offset: -1.5px; }
.pill.soft.t-unknown { outline: 0; }
.side-text.soft .st-name { color: var(--muted); }
.tag.ok { border-color: var(--good); color: var(--good); }
.quick-text .q-more { display: block; margin-top: 2px; }

.card { padding: 20px; border-radius: 22px; background: var(--surface); }
.card-h { display: flex; align-items: center; gap: 10px; }
.card-h h2 { flex: 1; min-width: 0; margin: 0; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.card-h .link-btn { flex: none; padding: 4px 0; }
.card-sub { margin: 6px 0 0; font-size: 0.875rem; color: var(--muted); }
.card-n { flex: none; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hs-list { margin-top: 6px; }
.hs-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 0; border-top: 1px solid var(--line); text-align: left; }
.hs-row:first-child { border-top: 0; }
.hs-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.hs-name { display: flex; align-items: center; gap: 5px; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.hs-name .ic { flex: none; font-size: 15px; color: var(--star); fill: currentColor; }
.hs-sub { font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hs-empty { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--hue-5); font-size: 0.875rem; color: var(--ink-2); }
.hs-empty .face { width: 36px; height: 36px; }
.hs-empty p { margin: 0; }
.hs-empty b { color: var(--ink); font-weight: 600; }
.hs-hint { margin: 12px 0 0; display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--muted); }
.hs-hint .ic { flex: none; color: var(--star); }
.hs-all { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 46px; margin-top: 14px; border-radius: 14px; background: var(--hue-8); color: var(--ink-2); font-size: 0.9375rem; font-weight: 600; }
.hs-all .ic { font-size: 17px; }

.qk-title { margin: 0; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.qk-place { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 1.1875rem; font-weight: 700; overflow-wrap: anywhere; }
.qk-place .ic { flex: none; font-size: 18px; color: var(--brand); }
.qk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.qk-btn { display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 94px; padding: 12px 8px; border-radius: 18px; background: var(--qk-bg); color: var(--qk-ink); font-size: 1rem; font-weight: 700; }
.qk-btn .ic { font-size: 27px; }
.qk-btn:disabled { opacity: 0.6; }
.qk-btn { --qk-ink: var(--hue); }
.qk-btn.go { --qk-bg: var(--hue-12); }
.qk-btn.wait, .qk-btn.wet { --qk-bg: var(--hue-5); }
.qk-more { display: inline-flex; align-items: center; gap: 2px; margin-top: 12px; padding: 4px 0; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.qk-more .ic { font-size: 16px; }
.card .quick { margin-top: 14px; padding: 0; border: 0; background: none; }
.card .quick.done { padding: 12px 14px; border-radius: 16px; background: var(--hue-5); }

/* ---------- 현장 소식 ---------- */
#vReport .pick-search { margin: 14px 0 8px; }
.pick-label { margin: 6px 2px 2px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }

/* 내 주변: places sorted by distance from the phone (the position never leaves the phone) */
.near-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; background: var(--hue-12); color: var(--hue); font-weight: 700; }
.near-btn .ic { font-size: 18px; }
.near-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--hue-5); font-size: 0.875rem; color: var(--ink-2); }
.near-note .ic { flex: none; font-size: 18px; color: var(--muted); }
.near-note span { flex: 1; min-width: 0; }
.near-note .link-btn { flex: none; padding: 0; }
.near-note.asking .ic { color: var(--brand); animation: pulse 1.2s ease-in-out infinite; }
.near-item { align-items: center; flex-wrap: wrap; }
.near-item b { min-width: 0; }
.pick-item.near-item .near-d { margin-left: auto; padding-left: 8px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.near-item.here { border-color: var(--hue-50); background: var(--hue-8); }
.here-tag { order: -1; flex-basis: 100%; display: flex; align-items: center; gap: 4px; font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--brand); }
.here-tag .ic { font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .near-note.asking .ic { animation: none; } }
.feed { margin-top: 6px; }
.feed-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; border-top: 1px solid var(--line); text-align: left; }
.feed-row:first-child { border-top: 0; }
.feed-row > .face { width: 34px; height: 34px; }
.feed-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.feed-name { font-weight: 700; overflow-wrap: anywhere; }
.feed-what { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 0.8125rem; color: var(--ink-2); overflow-wrap: anywhere; }
.feed-side { flex: none; display: grid; justify-items: end; gap: 3px; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.feed-v { display: inline-flex; align-items: center; gap: 3px; }
.feed-v .ic { font-size: 12px; }
.lv-line { display: flex; align-items: center; gap: 10px; width: 100%; padding: 15px 18px; border-radius: 18px; background: var(--surface); text-align: left; font-size: 0.875rem; color: var(--ink-2); }
.lv-line > .ic { flex: none; font-size: 18px; color: var(--star); }
.lv-line .go { margin-left: auto; color: var(--muted); }
.lv-line b { color: var(--ink); }

/* ---------- 마이 ---------- */
#vMe .card > .sec-h:first-child { margin-top: 0; }
#vMe .push-card { margin-top: 0; padding: 18px 20px; border-radius: 22px; border: 0; background: var(--surface); }
#vMe .push-card.on { box-shadow: inset 0 0 0 1.5px var(--brand); }
#vMe .mystat { padding: 0; border: 0; background: none; }
#vMe .up-list { margin-top: 12px; }
#vMe .cta { margin-top: 14px; }
.me-sub { margin: 14px 0 8px; display: flex; align-items: baseline; gap: 6px; font-size: 0.875rem; font-weight: 700; color: var(--ink-2); }
.me-sub span { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.me-links { padding-block: 6px; }
.me-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 600; text-decoration: none; color: inherit; }
.me-link:first-child { border-top: 0; }
.me-link > .ic { flex: none; font-size: 20px; color: var(--ink-2); }
.me-link .go { margin-left: auto; font-size: 18px; color: var(--muted); }
.me-foot { display: grid; gap: 8px; padding: 0 4px; font-size: 0.75rem; color: var(--muted); }
.me-foot p { margin: 0; max-width: 62ch; }
.pick-form { margin-top: 14px; }

/* plan cards: invite the people you play with */
.invite { margin-top: 12px; padding: 16px; border-radius: 18px; background: var(--hue-8); display: grid; gap: 6px; }
.iv-t { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 1rem; font-weight: 700; }
.iv-t .ic { flex: none; font-size: 18px; color: var(--brand); }
.iv-s { margin: 0; font-size: 0.875rem; color: var(--ink-2); }
.invite .cta { margin-top: 8px; }
.invite .share-btn { margin-top: 2px; text-decoration: none; }
.iv-n { margin: 2px 0 0; font-size: 0.8125rem; color: var(--muted); }
.alert-bar { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 14px; background: var(--warn-bg); font-size: 0.875rem; color: var(--ink); }
.alert-bar .ic { flex: none; font-size: 17px; }
.alert-bar span { flex: 1; min-width: 0; }
.alert-bar .ghost.sm { flex: none; }

/* ---------- bottom tab bar ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); background: var(--tabbar); border-top: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); }
.tabbar-in { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tab { display: grid; justify-items: center; align-content: center; gap: 4px; height: 62px; color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.tab .ic { font-size: 25px; stroke-width: 1.9; }
.tab[aria-current="page"] { color: var(--hue); }
.tab[aria-current="page"] .ic { stroke-width: 2.3; }
