/* 반계리 은행나무 — 어두운 밤 바탕 위 황금빛 하나로 승부하는 디자인
   레이아웃: 화면을 꽉 채운 나무(히어로) → 유리 질감 타임라인 → 아래로 카드형 섹션 */
:root {
  --bg: #0f0d08;
  --bg-2: #17140d;
  --card: #1d1910;
  --line: rgba(255, 236, 190, 0.1);
  --ink: #f6efdf;
  --muted: #a99e86;
  --gold: #f2c51e;
  --gold-2: #ffdf6e;
  --live: #ff4d3d;
  --glass: rgba(20, 17, 10, 0.55);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
  --serif: "Gowun Batang", "AppleMyungjo", serif;
  --radius: 20px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; word-break: keep-all;
}
a { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ── 상단 내비 ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter-r) 14px var(--gutter-l);
  background: linear-gradient(to bottom, rgba(10, 9, 6, 0.55), rgba(10, 9, 6, 0));
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav { transition: background-color .25s; }
.nav.solid { background: var(--bg); box-shadow: 0 1px 0 var(--line); } /* 타임라인 지나면 불투명 */
.brand { color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.leaf-icon { width: 22px; height: 22px; background: var(--gold); -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; }
.nav nav { display: flex; gap: 4px; }
.nav nav a {
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  background: rgba(0,0,0,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav nav a:hover { background: rgba(0,0,0,.4); }
@media (max-width: 900px), (max-height: 500px) and (orientation: landscape) { .nav :is(nav, .nav-group) > a:not(.nav-live) { display: none; } } /* 휴대폰: 실시간만 보이고 나머지는 ☰ 메뉴에 */

/* ── 히어로 ── */
.hero { position: relative; height: max(640px, min(100svh, 940px)); overflow: hidden; isolation: isolate; }
/* 아이패드 세로처럼 세로로 긴 화면: 히어로를 화면 높이만큼 → 타임라인 바가 더 아래로 */
@media (min-width: 761px) and (orientation: portrait) { .hero { height: max(640px, min(100svh, 1300px)); } }
.view-switch {
  position: absolute; right: var(--gutter-r); top: calc(env(safe-area-inset-top, 0px) + 74px);
  display: flex; gap: 8px; align-items: center;
}
.view-switch[hidden] { display: none; }
.view-switch .mini { background: rgba(16,13,8,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rotate-hint {
  font-size: 13px; font-weight: 700; color: #fff; background: rgba(0,0,0,.28); padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none;
}
.rotate-hint[hidden] { display: none; }
@media (max-width: 760px) { .view-switch { top: auto; bottom: 312px; right: 50%; transform: translateX(50%); } }
#scene2d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
#scene2d[hidden] { display: none; }
#scene[hidden] { display: none; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; touch-action: pan-y; }
.hero::after { /* 아래쪽을 페이지 바탕색으로 자연스럽게 */
  content: ""; position: absolute; inset: auto 0 0 0; height: 34%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(15,13,8,0), var(--bg));
}
.hero-copy {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 96px); left: var(--gutter-l); right: var(--gutter-r);
  max-width: 520px; text-shadow: 0 2px 18px rgba(0, 20, 50, 0.35);
}
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.85); }
.hero h1 {
  margin: 0; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 800; color: #fff;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; font-family: var(--serif); color: var(--gold-2); letter-spacing: -0.02em; transition: color .4s; }
.hero-sub { margin: 14px 0 0; color: rgba(255,255,255,.88); font-size: 16px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 760px) {
  .hero { height: max(720px, 100svh); }
  .hero-copy { top: calc(env(safe-area-inset-top, 0px) + 70px); }
  .hero h1 { font-size: 30px; }
  .hero-sub, .hero-cta { display: none; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 999px; transition: transform .15s, background .15s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: #251b00; box-shadow: 0 8px 24px -8px rgba(242,197,30,.7); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,77,61,.6); animation: rec 1.8s infinite; display: inline-block; }
@keyframes rec { 70% { box-shadow: 0 0 0 8px rgba(255,77,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,61,0); } }
@media (prefers-reduced-motion: reduce) { .rec { animation: none; } }

/* ── 타임라인 독 ── */
.dock {
  position: absolute; left: var(--gutter-l); right: var(--gutter-r); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  max-width: 1080px; margin: 0 auto;
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 16px 18px 12px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.dock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dock-date { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dd { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; min-width: 7.6em; }
.chip { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(242,197,30,.18); color: var(--gold-2); white-space: nowrap; }
.chip-crowd { background: rgba(255,255,255,.1); color: #fff; }
.chip-crowd[data-level="2"] { background: rgba(255,170,60,.25); color: #ffd39a; }
.chip-crowd[data-level="3"] { background: rgba(255,110,60,.3); color: #ffbfa3; }
.chip-crowd[data-level="4"] { background: rgba(255,70,60,.38); color: #ffd0c8; }
.dock-actions { display: flex; gap: 6px; }
.mini { font: inherit; font-size: 13px; font-weight: 700; color: #fff; background: rgba(255,255,255,.12); border: 0; padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.mini:hover { background: rgba(255,255,255,.22); }

.track { position: relative; margin-top: 30px; padding-top: 6px; margin-left: 9.8em; }
.tl-txt { display: inline-flex; align-items: baseline; gap: 1px; } /* "혼잡도(추정)"처럼 한 줄 */
.spin { flex: none; width: 10px; height: 10px; border: 1.6px solid rgba(255,255,255,.25); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
.spin[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.tl-sub { font-size: 9px; font-weight: 600; opacity: .75; } /* "(추정)"은 혼잡도 아래 작게 */
.tl-label { position: absolute; left: -9.8em; width: 9.5em; display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.7); white-space: nowrap; }
.tl-label-leaf { top: 3px; }
.tl-label-crowd { top: 26px; }
.tl-label-wx { top: -22px; }
.track.wx-off .wx-row { display: none; }
.tl-label .leaf-icon { width: 14px; height: 14px; flex: none; }
.tl-label .eye-gap { width: 20px; flex: none; } /* 눈 버튼 자리: 아이콘끼리 세로로 줄 맞춤 */
.tl-label svg { flex: none; }
.bands { position: relative; height: 10px; border-radius: 999px; overflow: hidden; display: flex; }
.bands span { height: 100%; }
.crowd { display: block; width: 100%; height: 28px; margin-top: 4px; }
.records { position: absolute; left: 0; right: 0; top: 0; height: 22px; pointer-events: none; }
.pin {
  position: absolute; top: 4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: #fff; border: 2px solid #2a2210; pointer-events: auto; cursor: pointer; padding: 0;
}
.pin.y2024 { background: transparent; border-color: #fff; }
.pin.forecast { background: var(--gold); border-color: #fff; border-radius: 2px; transform: rotate(45deg); }
/* 설명 문구 속 범례: 타임라인 표식과 같은 모양 */
.lg { display: block; white-space: nowrap; line-height: 1.7; } /* 범례 3개를 한 줄에 하나씩 */
.lg-sub { padding-left: 19px; } /* 잎 색 설명 아래 한 단계 들여쓰기 */
.lg-leaf { display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; }
.lg-pin { display: inline-block; width: 10px; height: 10px; margin: 0 7px 0 2px; /* 잎 아이콘(13px+6px)과 글자 시작 맞춤 */ vertical-align: -1px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 2px solid #2a2210; }
.lg-pin.forecast { background: var(--gold); border-color: #fff; border-radius: 2px; transform: rotate(45deg) scale(.9); }
.pin-tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 220px; white-space: normal; text-align: left;
  background: #fff; color: #1a150a; font-size: 12px; font-weight: 600; line-height: 1.4; padding: 8px 10px; border-radius: 10px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .15s;
}
.pin:focus-visible .pin-tip, .pin.open .pin-tip { opacity: 1; pointer-events: auto; }
@media (hover: hover) { .pin:hover .pin-tip { opacity: 1; pointer-events: auto; } } /* 터치 화면은 마우스 올림(hover)이 남아 말풍선이 안 닫히던 문제 → 마우스 있는 기기만 */
.pin-tip a { color: #7a5600; }
/* 손잡이가 양 끝에서 잘리지 않게: 입력 상자를 좌우로 9px씩 넓히고 손잡이 폭도 18px(가운데 흰 막대만 보임)로 → 손잡이 중심 위치는 막대 날짜와 그대로 일치 */
#tlRange {
  position: absolute; left: -9px; right: -9px; top: 0; width: calc(100% + 18px); height: 50px; margin: 0; background: transparent;
  -webkit-appearance: none; appearance: none; cursor: grab;
}
#tlRange::-webkit-slider-runnable-track { height: 50px; background: transparent; }
#tlRange::-moz-range-track { height: 50px; background: transparent; }
#tlRange::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 50px; border: 0; border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2218%22%20height%3D%2250%22%3E%3Crect%20x%3D%223%22%20y%3D%220.5%22%20width%3D%2212%22%20height%3D%2249%22%20rx%3D%226%22%20fill%3D%22rgba%28242%2C197%2C30%2C.55%29%22/%3E%3Crect%20x%3D%226%22%20y%3D%223.5%22%20width%3D%226%22%20height%3D%2243%22%20rx%3D%223%22%20fill%3D%22%23fff%22/%3E%3C/svg%3E") center / 18px 50px no-repeat;
}
#tlRange::-moz-range-thumb { width: 18px; height: 50px; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2218%22%20height%3D%2250%22%3E%3Crect%20x%3D%223%22%20y%3D%220.5%22%20width%3D%2212%22%20height%3D%2249%22%20rx%3D%226%22%20fill%3D%22rgba%28242%2C197%2C30%2C.55%29%22/%3E%3Crect%20x%3D%226%22%20y%3D%223.5%22%20width%3D%226%22%20height%3D%2243%22%20rx%3D%223%22%20fill%3D%22%23fff%22/%3E%3C/svg%3E") center / 18px 50px no-repeat; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: 6px; font-size: 11px; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.months span { text-align: center; border-left: 1px solid rgba(255,255,255,.15); } /* 달 이름은 칸 가운데 */
.time-row { display: grid; grid-template-columns: 6.3em minmax(0, 1fr) 14.5em auto auto; align-items: center; gap: 10px; margin-top: 12px; }
/* 시각을 움직여도 글자 길이 때문에 막대 너비가 바뀌지 않게 칸 너비 고정 */
#tmLabel { font-variant-numeric: tabular-nums; white-space: nowrap; }
.time-row .chip-sun { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; justify-content: center; text-align: center; font-variant-numeric: tabular-nums; min-width: 0; }
.tm { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 6.4em; }
.tm-track { position: relative; min-width: 0; }
#tmRange {
  width: 100%; height: 14px; margin: 0; border-radius: 999px; -webkit-appearance: none; appearance: none; cursor: grab;
  background: var(--tm-bg, linear-gradient(90deg, #1b2240, #e9a35a 28%, #8fc4f0 50%, #e9a35a 72%, #1b2240));
}
#tmRange::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #ffd75e; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
#tmRange::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #ffd75e; border: 3px solid #fff; }
#tmRange.night::-webkit-slider-thumb { background: #cfd8ff; }
.tm-ticks { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,.55); margin-top: 3px; font-variant-numeric: tabular-nums; }
.chip-sun { background: rgba(255,215,94,.16); color: #ffe39a; }
@media (max-width: 760px) {
  .time-row { grid-template-columns: 6.3em minmax(0, 1fr); }
  .time-row .chip-sun { grid-column: 1 / -1; justify-self: start; }
  .time-row .mini { display: none; }
}
.dock-note { margin: 10px 0 0; font-size: 13px; color: #fff; }
.dock-note .muted { color: rgba(255,255,255,.6); }
@media (max-width: 760px) {
  .dock { padding: 14px 14px 10px; border-radius: 18px; }
  .dd { font-size: 19px; }
  .months span:nth-child(even) { color: transparent; }
  .dock-note .muted { display: none; }
}

/* ── 섹션 공통 ── */
.section { max-width: 1120px; margin: 0 auto; padding-block: 88px 24px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sec-head { max-width: 640px; margin-bottom: 28px; }
.kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--gold); }
.section h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.lead { margin: 12px 0 0; color: var(--muted); font-size: 17px; }

/* ── 실시간 ── */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; } /* 영상은 전체 너비, 목록은 아래 */
@media (max-width: 900px) { .live-grid { grid-template-columns: minmax(0, 1fr); } }
.player-card { min-width: 0; position: relative; }
.notice { display: none; background: rgba(242,197,30,.15); color: var(--gold-2); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 12px; }
.notice.show { display: block; }
.player {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #000; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,.8);
}
video { width: 100%; height: 100%; object-fit: contain; display: block; }
.badge {
  position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.badge[hidden] { display: none; }
.badge .is-live { display: contents; }
.badge .is-loading, .badge.loading .is-live { display: none; }
.badge.loading .is-loading { display: contents; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.spinner { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } .spinner { animation-duration: 2.4s; } }
.overlay {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: #fff; padding: 20px; font-size: 15px; background: rgba(0,0,0,.4); white-space: pre-line;
}
.overlay[hidden] { display: none; }
.marker {
  position: absolute; left: 0; top: 0; pointer-events: none; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 2px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7));
}
.marker[hidden] { display: none; }
.marker .tag { background: var(--gold); color: #2a1f00; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.marker svg { width: 22px; height: 26px; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .marker svg { animation: none; } }
.nomarker { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 8px; }
.nomarker[hidden] { display: none; }
.meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 14px 2px 2px; flex-wrap: wrap; }
.cam-name { font-weight: 800; font-size: 17px; }
.updated { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.hint { color: var(--muted); font-size: 14px; margin: 2px 2px 0; }
.hint[hidden] { display: none; }
.live-side { display: grid; gap: 12px; }
.cams { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cams button {
  width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: var(--card); color: var(--ink); border: 1px solid var(--line);
  padding: 13px 15px; border-radius: 14px; font: inherit; font-size: 15px; cursor: pointer; text-align: left;
}
.cams button:hover { border-color: rgba(242,197,30,.4); }
.cams button[aria-current="true"] { border-color: var(--gold); background: rgba(242,197,30,.08); }
.cams .km { color: var(--muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── 2025 기록 ── */
.record-list { list-style: none; margin: 0 0 0 6px; padding: 0; /* 점 가운데 = 세로 줄 가운데 */ display: grid; gap: 0; border-left: 2px solid rgba(242,197,30,.3); }
.record-list li { position: relative; padding: 4px 0 18px 22px; }
.record-list li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--bg); }
.record-list li.y2024::before { background: var(--bg); border: 2px solid var(--gold); box-sizing: border-box; }
.record-list li.forecast::before { border-radius: 2px; transform: rotate(45deg); background: #fff; }
.record-list .when { font-weight: 800; font-variant-numeric: tabular-nums; }
.record-list .what { color: var(--ink); }
.record-list .src { font-size: 13px; color: var(--muted); }
.record-list .src a { color: inherit; font-weight: 400; text-decoration-color: rgba(169,158,134,.45); } /* 출처는 강조 없이 */
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: minmax(0, 1fr); } }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat-card h3 { margin: 0 0 8px; font-size: 15px; color: var(--muted); font-weight: 700; }
.stat-card .big { margin: 0 0 8px; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.stat-card .big strong { color: var(--gold); }
.bars { display: grid; gap: 10px; margin: 6px 0 12px; }
.bar { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.bar span { color: var(--muted); font-size: 13px; }
.bar i { height: 14px; border-radius: 4px; background: linear-gradient(90deg, #c99a10, var(--gold)); width: calc(var(--v) * 100%); min-width: 6px; }
.bar b { font-size: 15px; }

/* ── 숫자 ── */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-block: 72px 24px; }
.num { padding: 8px 20px 8px 0; border-top: 1px solid var(--line); padding-top: 20px; }
.num b { display: block; font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--gold); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 8px; font-weight: 700; white-space: nowrap; }
.num span span { display: inline; }
.num small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }

/* ── 가이드 ── */
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .guide-grid { grid-template-columns: minmax(0, 1fr); } }
.g-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.g-card h3 { margin: 0 0 6px; font-size: 18px; }
.g-card p { margin: 0; color: #d9cfb9; }
.g-card strong { color: var(--gold-2); }
.g-card .src-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.g-card .src-note a { color: inherit; }
.links { display: flex; gap: 8px; margin-top: 12px !important; flex-wrap: wrap; }
.links a { font-size: 14px; font-weight: 700; text-decoration: none; padding: 7px 12px; border-radius: 999px; background: rgba(242,197,30,.12); }

/* ── Q&A ── */
.qna { display: grid; gap: 10px; } /* 풀 너비 */
.qna details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.qna summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 12px; }
.qna .qi { flex: none; width: 24px; height: 24px; color: var(--gold); }
.qna summary::-webkit-details-marker { display: none; }
.qna summary::after { margin-left: auto; padding-left: 4px; content: "+"; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .2s; }
.qna details[open] summary::after { transform: rotate(45deg); }
.qna details p { margin: 0 0 18px; color: #d9cfb9; }

/* ── 광고 자리 ── */
.ad-slot { max-width: 1120px; margin: 40px auto 0; padding-left: var(--gutter-l); padding-right: var(--gutter-r); min-height: 100px; }
.ad-slot[hidden] { display: none; }

/* ── 푸터 ── */
.footer { max-width: 1120px; margin: 80px auto 0; padding-block: 28px 48px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer p { margin: 0 0 6px; }
.footer a { color: var(--muted); }
.foot-left { display: flex; flex-direction: column; gap: 4px; }
.footer .foot-note { font-size: 12px; opacity: .85; }
.foot-more summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.foot-more summary::-webkit-details-marker { display: none; }
.foot-btn { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.foot-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-1px) rotate(-45deg); transition: transform .2s; } /* 접힘: › */
.foot-more[open] .foot-btn::after { transform: translateY(-3px) rotate(45deg); } /* 펼침: ⌄ */
.foot-more[open] summary { margin-bottom: 12px; }

/* 의견·제안 */
.feedback-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.feedback-card h2 { font-size: clamp(22px, 3vw, 30px) !important; }
.feedback-card p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.feedback-act { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; } /* 버튼과 이메일 주소 가운데 정렬 */
.mail-text { color: var(--muted); font-size: 14px; user-select: all; }
@media (max-width: 560px) { .feedback-card { padding: 22px; } .feedback-act { width: 100%; } .feedback-act .btn { width: 100%; justify-content: center; } }

/* 재생 배속 */
.speed-info { font-variant-numeric: tabular-nums; white-space: nowrap; background: rgba(255,215,94,.16); color: #ffe08a; }
.seg { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 2px; }
.seg button { font: inherit; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.75); background: transparent; border: 0; padding: 5px 9px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #ffd75e; color: #2a1f00; }
@media (max-width: 560px) { .speed-info { font-size: 11px; } }

/* 3D 화면 안내 */
.dock-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px 16px; } /* 범례 옆(오른쪽 아래)에 주의 문구 */
.dock-caution { margin: 6px 0 0; margin-left: auto; text-align: right; font-size: 12px; color: rgba(255,255,255,.72); }
.dock-caution b { color: #ffd75e; margin-right: 4px; }

/* 요일 색: 토 파랑, 일 빨강 */
#tlDate.sat { color: #6fb2ff; }
#tlDate.sun { color: #ff6b6b; }

/* 해 뜸·해 짐 아이콘 */
.sun-ico { width: 15px; height: 15px; vertical-align: -3px; margin: 0 2px 0 4px; }

/* 3D 전체화면 (API가 없는 기기는 화면을 꽉 채우는 방식으로) */
.hero.is-full { position: fixed; left: 0; right: 0; top: 0; height: 100lvh !important; z-index: 1000; }
/* 전체화면 중에도 페이지는 살짝 스크롤 가능 → 사파리 주소창이 작게 접힘 */
body.fs-scroll { overflow: auto; }
body.fs-scroll .nav, body.fs-scroll main > :not(.hero), body.fs-scroll footer, body.fs-scroll .ad-slot { visibility: hidden; }
.hero.is-full .view-switch { top: max(12px, env(safe-area-inset-top)); bottom: auto; }
body.no-scroll { overflow: hidden; }
.hero.is-full .hero-copy { display: none; }
.hero:fullscreen { height: 100vh; }
.hero:fullscreen .hero-copy { display: none; }
body.no-scroll { overflow: hidden; }

/* 절정 D-day 강조 */
.dday { display: inline-block; font-weight: 800; color: #251b00; background: var(--gold); padding: 1px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; box-shadow: 0 4px 14px -4px rgba(242,197,30,.7); }

/* 영상 바깥(위)에서 영상 속 은행나무를 가리키는 화살표 */
.marker .out { display: none; }
/* 영상 바깥 오른쪽 위에서 왼쪽 아래로 → 화살촉이 영상 왼쪽 위 모서리를 가리킴 */

/* 전체화면에서는 광고 숨김 (본문 광고 + AdSense 앵커·자동 광고) */
html.is-fs .ad-slot, html.is-fs ins.adsbygoogle, html.is-fs .google-auto-placed, html.is-fs ins[data-anchor-status], html.is-fs .adsbygoogle-noablate { display: none !important; }

/* 홈 화면에 추가 안내 */
.install-tip { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 2000; width: min(92vw, 420px); background: #fff; color: #1a150a; border-radius: 16px; padding: 14px 16px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); display: flex; gap: 12px; align-items: center; }
.install-tip[hidden] { display: none; }
.install-tip p { margin: 0; font-size: 14px; line-height: 1.5; }
.install-tip .mini { background: #1a150a; color: #fff; flex: none; }

/* 화면 밖 화살표는 영상 바깥(왼쪽 위)에 그림 */
.marker.off { position: absolute; z-index: 3; margin-top: -4px; }
#live .live-grid { margin-top: 64px; } /* 화살표·배지가 위 문구를 가리지 않게 */

/* 히어로 날짜 칸 고정 폭 */
/* 날짜 한 줄, 서브 문구는 그 아랫줄 */
#heroSub .hs-text { display: block; }
#heroSub .hs-date { display: block; margin-top: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .85; }
#heroSub .hs-dday { display: block; margin-top: 6px; }
.speed-info, #speedInfo { font-size: 12px; font-weight: 700; color: #ffe08a; white-space: nowrap; font-variant-numeric: tabular-nums; }

.cams .road { font-size: 12px; color: var(--muted); font-weight: 700; }

/* 전체화면에서는 전체화면 닫기만 */
.hero.is-full #viewToggle, .hero.is-full #installBtn, .hero.is-full #rotateHint { display: none !important; }

/* 상단 메뉴 절정 D-day */
.nav-dday { margin-right: auto; margin-left: 10px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(0,0,0,.28); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.nav-dday b { color: #251b00; background: var(--gold); padding: 1px 7px; border-radius: 999px; margin-left: 2px; }
.nav-dday[hidden] { display: none; }

/* 사람 보이기 토글 (눈 아이콘) */
.eye { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.eye .eye-off { display: none; }
.eye[aria-pressed="false"] { background: transparent; color: rgba(255,255,255,.45); }
.eye[aria-pressed="false"] .eye-off { display: inline; }
.eye[aria-pressed="false"] .eye-open { display: none; } /* 끄면 감은 눈 */

/* 전체화면 버튼: 타임라인 바 오른쪽 위 모서리에 고정 (다른 버튼이 줄바꿈돼도 위치 그대로) */
#fullBtn { position: absolute; top: 12px; right: 14px; z-index: 2; }
.dock-head { padding-right: 104px; }
.dock-actions { flex-wrap: wrap; }

/* 예보 날씨 */
.chip-wx { background: rgba(140,190,255,.16); color: #cfe4ff; }
.wx-row { position: absolute; left: 0; right: 0; top: -19px; height: 14px; pointer-events: none; }
.wx-row span { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px; line-height: 16px; }

/* ── 소원 나뭇잎 ───────────────────────────── */
.nav .nav-leaves { color: #ffd75e; }
.wish-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 2000; max-width: calc(100% - 32px);
  background: rgba(20,16,8,.88); color: #fff; border: 1px solid rgba(255,215,94,.4); border-radius: 999px; padding: 10px 18px; font-size: 14px; pointer-events: none; text-align: center; }
.wish-dlg { border: 0; padding: 0; background: transparent; max-width: min(400px, calc(100% - 32px)); width: 100%; }
.wish-dlg::backdrop { background: rgba(10,8,4,.62); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
/* 종이 엽서 느낌: 미색 종이 + 먹색 글씨, 잡은 잎 색은 작은 잎 표시로만 */
.wish-card { position: relative; margin: 0; padding: 30px 26px 20px; border-radius: 6px; color: #2b241a;
  background: #f6f0e1 linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 40%);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 60px rgba(0,0,0,.5); }
.wish-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(110,90,50,.22); border-radius: 3px; pointer-events: none; }
.wish-leaf { position: absolute; top: 18px; right: 20px; width: 34px; height: 34px; background: var(--leaf, #e8b21e);
  -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; transform: rotate(18deg); }
.wish-kicker { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .14em; color: #8a7a5c; }
.wish-card h2 { margin: 0 0 18px; font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif; font-weight: 700; font-size: 23px; letter-spacing: -0.01em; color: #2b241a; }
.wish-card textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(110,90,50,.4); border-radius: 0; padding: 4px 2px 8px; font: inherit; font-size: 18px; line-height: 1.7;
  resize: none; color: #2b241a; outline: none;
  background: repeating-linear-gradient(transparent 0 calc(1.7em - 1px), rgba(110,90,50,.18) calc(1.7em - 1px) 1.7em); background-attachment: local; }
.wish-card textarea:focus { border-bottom-color: #8a6a1e; }
.wish-card textarea::placeholder { color: #a8987a; }
.wish-meta { text-align: right; font-size: 11.5px; color: #8a7a5c; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.wish-note { font-size: 12.5px; line-height: 1.6; color: #6f6250; margin: 14px 0 0; }
.wish-login { font-size: 12.5px; line-height: 1.6; color: #6f6250; margin: 6px 0 0; }
.wish-login .wish-btn-text { padding: 0; font-size: 12.5px; color: #2b241a; font-weight: 700; }
.wish-err { color: #9a2a00; font-weight: 700; font-size: 13.5px; margin: 8px 0 0; }
.wish-actions { display: flex; gap: 14px; align-items: center; justify-content: flex-end; margin-top: 20px; }
.wish-btn { display: inline-block; border: 1px solid #2b241a; background: #2b241a; color: #f6f0e1; border-radius: 4px; padding: 10px 18px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.wish-btn:hover { background: #3d3324; }
.wish-btn[disabled] { opacity: .6; cursor: default; }
.wish-btn-text { border: 0; background: transparent; color: #6f6250; font: inherit; font-size: 14.5px; cursor: pointer; padding: 10px 4px; text-decoration: underline; text-underline-offset: 3px; }
.wish-done h2 { margin-bottom: 10px; }
.wish-done p { margin: 0; font-size: 15px; color: #4a3f30; }

/* 구글 로그인 버튼 */
.gbtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid #dadce0; background: #fff; color: #1f1f1f;
  font: 600 14px/1 "Roboto", "Pretendard Variable", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.gbtn:hover { background: #f7f8f8; }
.nav .gbtn { height: 32px; font-size: 13px; padding: 0 12px 0 9px; }
.nav-auth { display: inline-flex; align-items: center; }
.nav-auth .nav-me { color: #ffd75e; }
.nav-auth { gap: 10px; }
.nav-logout { border: 0; background: transparent; color: rgba(255,255,255,.7); font: inherit; font-size: 13px; cursor: pointer; padding: 0; }
.nav-logout:hover { color: #fff; }

/* 사용자 아이콘 메뉴 */
.lv-user { position: relative; }
.lv-user-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lv-user-btn:hover, .lv-user-btn[aria-expanded="true"] { background: rgba(255,255,255,.16); }
.lv-user-dot { position: absolute; right: 1px; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: #ffd75e; border: 2px solid #12100b; }
.lv-user-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 200px; background: #1d1a12; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.45); display: grid; gap: 2px; }
.lv-user-menu > button:not(.gbtn) { text-align: left; border: 0; background: transparent; color: #fff; font: inherit; font-size: 14.5px; font-weight: 700; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.lv-user-menu > button:not(.gbtn):hover { background: rgba(255,255,255,.08); }
.lv-user-menu > button.lv-user-lang { display: flex; align-items: center; gap: 8px; color: var(--gold-2); }
.lv-user-menu .gbtn { margin: 4px; justify-content: center; }
.lv-user-who { margin: 4px 12px 6px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.nav .lv-user { margin-left: 4px; }
.nav .lv-user-btn { background: rgba(0,0,0,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255,255,255,.18); width: 34px; height: 34px; }
.nav .lv-user-dot { border-color: #2a2418; }
.brand { white-space: nowrap; }
@media (max-width: 400px) { .nav { gap: 8px; } .nav .lv-user { margin-left: 0; } }
.lv-user-menu[hidden] { display: none; }
.lv-user-note { font-size: 11.5px; line-height: 1.5; max-width: 220px; } .lv-user-note a { color: #ffd75e; }
.lv-user-menu > button.lv-user-danger { color: #ff9b85; font-weight: 600; font-size: 13.5px; }

/* 사진 찍기 */
.photo-btn { display: inline-flex; align-items: center; gap: 6px; }
.photo-btn[hidden] { display: none; }
.photo-dlg { border: 0; padding: 14px; border-radius: 20px; background: #1d1a12; max-width: min(460px, calc(100% - 24px)); width: 100%; }
.photo-dlg::backdrop { background: rgba(0,0,0,.7); }
.photo-dlg img { display: block; width: 100%; height: auto; max-height: 70svh; object-fit: contain; border-radius: 12px; }
.photo-acts { display: flex; gap: 8px; margin-top: 12px; justify-content: center; flex-wrap: wrap; }
.photo-acts[hidden], .photo-acts [hidden] { display: none; }
.photo-frames { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.photo-frames button { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.photo-frames button[aria-pressed="true"] { background: #ffd75e; color: #251b00; border-color: #ffd75e; }
#tlPhase { background: color-mix(in srgb, var(--leaf, #f2c51e) 30%, transparent); color: color-mix(in srgb, var(--leaf, #f2c51e) 55%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--leaf, #f2c51e) 55%, transparent); }
.photo-dlg { max-width: min(760px, calc(100% - 24px)); }
.photo-dlg img, .photo-dlg video, .photo-rec canvas { display: block; width: 100%; height: auto; max-height: 70svh; object-fit: contain; border-radius: 12px; background: #000; }
.photo-dlg [hidden] { display: none !important; }
.photo-rec p { color: rgba(255,255,255,.8); font-size: 14px; margin: 10px 0 0; display: grid; gap: 8px; text-align: center; }
.photo-rec-bar { display: block; height: 4px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.photo-rec-bar i { display: block; height: 100%; width: 0; background: #ffd75e; }
.photo-dlg { max-width: min(420px, calc(100% - 24px)); }
.photo-btn.is-rec { background: rgba(200,30,30,.85) !important; color: #fff; }
.photo-btn.is-rec svg { display: none; }
.photo-btn.is-rec::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: #fff; }

/* 소원 카드 = 낙엽 보기 카드 스타일 (잡은 날의 잎 색) */
.wish-card { border-radius: 28px 28px 28px 8px; padding: 26px 22px 18px; color: #1d1608;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--leaf, #f2c51e) 78%, #fff) 0%, var(--leaf, #f2c51e) 78%); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.wish-card::after { display: none; }
.wish-leaf { background: #1d1608; opacity: .25; }
.wish-kicker { color: rgba(29,22,8,.65); letter-spacing: .08em; }
.wish-card h2.wish-desc { font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.5; color: #1d1608; margin: 0 40px 14px 0; word-break: keep-all; }
.wish-card textarea { background: rgba(255,255,255,.55); border: 0; border-radius: 14px; padding: 12px 14px; font-size: 17px; line-height: 1.6; color: #1d1608; }
.wish-card textarea::placeholder { color: rgba(29,22,8,.45); }
.wish-meta, .wish-note, .wish-login { color: rgba(29,22,8,.7); }
.wish-btn { border: 0; border-radius: 999px; background: #1d1608; color: #ffd75e; padding: 10px 20px; }
.wish-btn:hover { background: #2e2410; }
.wish-btn-text { color: rgba(29,22,8,.7); }
.wish-done h2 { font-family: inherit; color: #1d1608; }
.wish-done p { color: rgba(29,22,8,.8); }
/* 소원 카드 버튼: 검정 대신 크림색 (노란 카드 + 검정 버튼이 메신저 같아 보이지 않게) */
.wish-btn { background: #fffaf0; color: #4a3510; box-shadow: 0 2px 10px rgba(60,40,0,.18); }
.wish-btn:hover { background: #fff; }
.rec-q { color: #fff; font-weight: 700; text-align: center; margin: 6px 0 0; }
.rec-hint { color: rgba(255,255,255,.65); font-size: 13px; text-align: center; margin: 12px 0 0; line-height: 1.5; }
/* 카드 우상단 낙엽: 잡은 낙엽의 원래 색 (카드 바탕도 같은 색이라 크림색 원 위에 얹음) */
.wish-leaf-dot { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: #fffaf0; box-shadow: 0 2px 8px rgba(60,40,0,.18); display: grid; place-items: center; }
.wish-leaf-dot .wish-leaf { position: static; width: 28px; height: 28px; background: var(--leaf, #e8b21e); opacity: 1; filter: saturate(1.15) brightness(.95); }
/* 애플 로그인 버튼 (애플 안내: 검은 바탕 + 흰 로고) */
.abtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 6px; background: #000; color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.lv-user-menu .abtn { margin: 0 4px 4px; }
.abtn-img { padding: 0; background: transparent; height: auto; border-radius: 8px; overflow: hidden; line-height: 0; }
.abtn-img img { display: block; width: 210px; height: 40px; }
.lv-user-menu { width: 240px; } .lv-user-note { max-width: none; } .lv-user-note a { display: inline; }
/* 애플 버튼 = 구글 버튼과 같은 높이·둥근 모양·글자 크기 (색만 애플 안내대로 검정) */
.abtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid #000; background: #000; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.abtn svg { width: 15px; height: 18px; margin-top: -2px; }
.abtn:hover { background: #1a1a1a; }
.nav .abtn { height: 32px; font-size: 13px; padding: 0 12px 0 9px; }
.lv-user-menu .abtn { margin: 4px; justify-content: center; }
.abtn { font: 600 14px/1 "Roboto", "Pretendard Variable", system-ui, sans-serif; white-space: nowrap; } .nav .abtn { font-size: 13px; }
/* 메뉴 안 일반 항목 스타일(.lv-user-menu > button)이 애플 버튼을 덮지 않게 */
.lv-user-menu > button.abtn { display: inline-flex; justify-content: center; text-align: center; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: #000; color: #fff; font: 600 14px/1 "Roboto", "Pretendard Variable", system-ui, sans-serif; margin: 4px; }
.lv-user-menu > button.abtn:hover { background: #1a1a1a; }
.nav .lv-user-menu > button.abtn { height: 32px; font-size: 13px; padding: 0 12px 0 9px; }
/* 우상단 낙엽 원: 흰 원 대신 카드 색에 스며드는 반투명 원 + 잎에 살짝 그림자 */
.wish-leaf-dot { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(255,250,235,.22) 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 2px 6px rgba(60,40,0,.12); }
.wish-leaf-dot .wish-leaf { filter: saturate(1.25) brightness(.9) drop-shadow(0 1px 1.5px rgba(60,40,0,.35)); }
.cp-slot { display: grid; justify-items: stretch; gap: 6px; min-height: 0; }
.cp-slot iframe { max-width: 100%; border: 0; border-radius: 10px; }
.cp-note { margin: 0; font-size: 11.5px; color: rgba(255,255,255,.55); text-align: center; }

/* ── 아이폰 세로(좁은 화면) 정리 ── */
@media (max-width: 520px) {
  .dock { padding: 12px 12px 8px; }
  .dock-head { padding-right: 0; gap: 8px; }
  .dock-head .dd { font-size: 18px; min-width: 0; }
  .dock #fullBtn { top: 10px; right: 10px; padding: 6px 10px; font-size: 12.5px; }
  .dock-date { gap: 6px; padding-right: 92px; }               /* 전체화면 버튼 자리 비움 */
  .dock-date .chip { font-size: 12px; padding: 3px 9px; }
  /* 배속·오늘·절정 예상일: 한 줄로, 넘치면 옆으로 밀어서 */
  .dock-actions { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; -webkit-overflow-scrolling: touch; }
  .dock-actions::-webkit-scrollbar { display: none; }
  .dock-actions > * { flex: none; }
  .dock-actions .mini, .dock-actions .seg button { font-size: 12.5px; }
  /* 타임라인 왼쪽 이름표: 글자 빼고 아이콘(+눈)만 → 막대를 넓게 */
  .track { margin-left: 3.3em; margin-top: 26px; }
  .tl-label { left: -3.3em; width: 3.1em; gap: 3px; }
  .tl-label .tl-txt, .tl-label .spin { display: none; }
  .tl-label .eye-gap { width: 18px; }
  .wx-row span { font-size: 8.5px; }
  .months { font-size: 10px; }
  /* 사진·영상 버튼: 타임라인에 가리지 않게 위쪽 오른편으로 */
  .view-switch { top: calc(env(safe-area-inset-top, 0px) + 196px); bottom: auto; right: var(--gutter-r); left: auto; transform: none; }
  .view-switch .rotate-hint { display: none; }
  .hero h1 { font-size: 27px; }
}
@media (max-width: 420px) {
  .nav { gap: 6px; }
  .brand { font-size: 15px; gap: 6px; }
  .brand .leaf-icon { width: 18px; height: 18px; }
  .nav-dday { font-size: 12px; padding: 3px 7px; }
  .nav nav a { padding: 6px 10px; font-size: 13px; }
  .nav .lv-user-btn { width: 32px; height: 32px; }
}
.cp-slot iframe { width: 100%; }
.cp-note { font-size: 13.5px; color: rgba(255,255,255,.92); text-align: left; line-height: 1.5; }
.cp-ad { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 6px; background: #ffd75e; color: #251b00; font-size: 12px; font-weight: 800; vertical-align: 1px; }
/* 광고 칸: 페이지 배경과 같은 색 (광고 차단으로 비어도 흰 네모가 튀지 않게) */
.cp-slot, .cp-slot iframe { background: var(--bg); color-scheme: dark; }

/* 낙엽 보기 페이지의 의견·제안 영역 */
.lv-main .feedback { padding-block: 48px 8px; padding-inline: 0; }

/* 영상 밖 표시(반계IC): 화살표 대신 은행잎 아이콘을 영상 위쪽 경계에 꽂고(잎자루 끝이 경계에 닿게) 오른쪽에 이름 */
.marker .mk-pin, .marker .mk-label { display: none; }
.marker.off { transform: translate(6px, -100%); margin-top: 0; flex-direction: row; align-items: flex-end; gap: 6px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.marker.off .tag, .marker.off .out, .marker.off .down { display: none !important; }
.marker.off .mk-pin { display: block; width: 30px; height: 36px; }
.marker.off .mk-pin .leaf-icon { display: block; width: 30px; height: 36px; transform: rotate(48deg); transform-origin: 64% 98%; } /* 잎자루 끝을 축으로 시계방향 60° */
.marker.off .mk-label { display: block; margin-left: 24px; color: var(--gold); font-weight: 800; font-size: 14px; white-space: nowrap; margin-bottom: 12px; }

/* 사진 창: 닫기는 오른쪽 위 X */
.photo-dlg { position: relative; padding-top: 50px; }
.dlg-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.dlg-x:hover { background: rgba(255,255,255,.2); }
/* 촬영 모드: 찍히는 9:16 영역 (바깥은 어둡게, 조작은 그대로 통과) */
.cam-box { position: fixed; z-index: 30; pointer-events: none; border: 2px solid rgba(255,255,255,.9); border-radius: 6px; box-shadow: 0 0 0 200vmax rgba(0,0,0,.45); }
.cam-box[hidden] { display: none; }
.cam-bar { position: fixed; z-index: 31; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; }
.cam-bar[hidden] { display: none; }
.cam-tip { font-size: 13px; color: #fff; background: rgba(0,0,0,.55); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.cam-btns { display: flex; gap: 8px; }
.cam-btns .btn-ghost { background: rgba(20,18,12,.85); }
.cam-shutter span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #c62828; margin-right: 6px; box-shadow: 0 0 0 2px #251b00; }
body.cam-on .nav { visibility: hidden; }
.rec-dlg { padding-top: 14px; }
.cam-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cam-bar .cam-frames { margin-top: 0; }
.cam-bar .cam-frames button { background: rgba(20,18,12,.85); }
.cam-bar .cam-frames button[aria-pressed="true"] { background: #ffd75e; }
.cam-shutter.is-stop { background: #c62828 !important; color: #fff; }
.cam-shutter.is-stop span { border-radius: 2px; background: #fff; box-shadow: none; }
/* 가기 전에 알아두기: 제목 앞 아이콘 */
.g-card h3 { display: flex; align-items: center; gap: 8px; }
.g-card .gi { flex: none; width: 22px; height: 22px; color: var(--gold); }
/* 의견·제안 버튼: 번지는 그림자 없이 */
.feedback-act .btn { box-shadow: none; }
.feedback-act .mail-text { color: var(--muted); text-decoration: none; }
.feedback-act .mail-text:hover { text-decoration: underline; }
.cam-bar [hidden] { display: none !important; }
/* reCAPTCHA 배지는 숨기고 대신 푸터에 문구 표시 (Google 허용 방식) */
.grecaptcha-badge { visibility: hidden; }
/* 휴대폰: 은행잎을 영상 왼쪽 끝 쪽으로 (둥근 모서리만큼 살짝 내려 경계에 닿게) */
@media (max-width: 640px) { .marker.off { transform: translate(-9px, -100%); } }

/* 휴대폰(세로·가로): 첫 화면은 나무가 잘 보이게 — 타임라인(독)은 첫 화면 아래쪽에 일부만 보이고, 나머지는 스크롤하면 나옴 */
@media (max-width: 760px), (max-height: 500px) and (orientation: landscape) and (pointer: coarse) {
  .hero:not(.is-full) { height: auto; padding-bottom: 18px; background-size: 100% 100svh !important; background-repeat: no-repeat !important; background-color: var(--bg) !important; }
  .hero:not(.is-full)::after { inset: auto 0 auto 0; top: 78svh; height: 22.5svh; } /* 나무 화면 아래 끝을 페이지 색으로 */
  .hero:not(.is-full) #scene, .hero:not(.is-full) #scene2d { height: 100svh; bottom: auto; }
  .hero:not(.is-full) .dock { position: relative; left: auto; right: auto; bottom: auto; margin: calc(100svh - var(--dock-peek, 190px)) 0 0; border-radius: 0; border-left: 0; border-right: 0; } /* 휴대폰: 타임라인은 화면 좌우 끝까지 꽉 */
  .hero.is-full .dock { border-radius: 0; border-left: 0; border-right: 0; max-width: none; } /* 전체화면도 같은 모양(들어갈 때 튀지 않게) */
}
@media (min-width: 521px) and (max-width: 760px) { .hero:not(.is-full) .view-switch { bottom: auto; top: calc(100svh - 190px); } }
/* 반계IC: 은행나무가 영상 왼쪽 위 끝에 있으므로 그 모서리는 둥글게 자르지 않음 */
.player-card:has(> .marker.off:not([hidden])) .player { border-top-left-radius: 0; }
/* 히든 스테이지(겨울): 소원 카드 아이콘을 눈송이로 */
.wish-dlg.is-snow .wish-leaf { -webkit-mask: none; mask: none; background: none !important; opacity: 1; width: auto; height: auto; font-size: 26px; line-height: 1; color: #7aa6d6; }
.wish-dlg.is-snow .wish-leaf::before { content: "\2744\FE0E"; }

/* 날씨·혼잡도 이름표 = 누르는 토글 버튼 (끄면 흐리게) */
.tl-tog { font: inherit; font-size: 10.5px; font-weight: 700; padding: 1px 7px 1px 5px; line-height: 16px; border-radius: 999px; cursor: pointer; z-index: 3;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.14); color: #fff; }
.tl-tog[aria-pressed="false"] { background: transparent; border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.38); }
.tl-tog:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.tl-label { width: auto; }
.tl-label-wx { top: -25px; } .tl-label-crowd { top: 23px; }
/* 아이폰(좁은 화면): 막대는 풀 너비, 이름표는 각 줄 왼쪽 끝(1~3월은 표시할 게 없어 겹쳐도 됨) 위에, 잎 색은 아이콘+(추정)만 */
@media (max-width: 520px) {
  .track { margin-left: 0 !important; margin-top: 30px; }
  .tl-label { left: 0 !important; z-index: 3; gap: 4px; }
  .tl-label .tl-txt { display: inline-flex !important; }
  .tl-label .tl-leaf-name { display: none !important; }
  .tl-label .spin:not([hidden]) { display: inline-block !important; }
  .tl-label-leaf { top: 4px; height: 14px; padding: 0 6px 0 3px; border-radius: 999px; background: rgba(20,17,10,.72); pointer-events: none; color: rgba(255,255,255,.85); }
  .tl-label-wx { top: -24px; }
  .tl-label-crowd { top: 24px; }
}
.lv-user-menu .lv-user-signed { text-align: right; margin: 6px 10px 2px; font-size: 11.5px; }
/* 올해 예보와 작년 기록: 목록 위 범례 (목록 점 모양과 같게) */
.rec-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -6px 0 18px; font-size: 13px; color: rgba(255,255,255,.75); }
.rec-legend span { display: inline-flex; align-items: center; gap: 7px; }
.rec-legend .muted { color: var(--muted); }
.rec-legend .leaf-icon { width: 14px; height: 14px; }
.rec-legend .rl { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-sizing: border-box; }
.rec-legend .rl.y2024 { background: transparent; border: 2px solid var(--gold); }
.rec-legend .rl.forecast { border-radius: 2px; transform: rotate(45deg); background: #fff; width: 9px; height: 9px; }
/* 아이패드·PC 타임라인: 눈 아이콘이 빠진 만큼 이름표 칸을 줄이고 막대를 왼쪽으로 늘림, 아이콘 세로 줄 맞춤 */
@media (min-width: 521px) {
  .track { margin-left: 7.2em; }
  .tl-label { left: -7.2em; }
  .tl-label-leaf { padding: 0 7px 0 7px; border: 1px solid transparent; line-height: 16px; }
}
/* 휴대폰 상단: 실시간 강조 + 오른쪽 ▾ 메뉴(나머지 이동), 계정 버튼은 메뉴 버튼과 같은 결 */
.nav-more { display: none; position: relative; }
@media (max-width: 900px), (max-height: 500px) and (orientation: landscape) {
  .nav-more { display: block; }
  .nav nav { align-items: center; }
  .nav :is(nav, .nav-group) > a.nav-live { background: var(--gold); color: #251b00; font-weight: 800; }
  .nav-more-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; cursor: pointer;
    background: rgba(0,0,0,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .nav-more-btn[aria-expanded="true"] { background: rgba(0,0,0,.45); }
  .nav-more-menu { min-width: 150px; }
  .nav-more-menu[hidden] { display: none; }
  .nav-more-menu a { display: block !important; color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 700; padding: 10px 12px; border-radius: 10px; background: transparent !important; backdrop-filter: none !important; }
  .nav-more-menu a:hover { background: rgba(255,255,255,.08) !important; }
  .nav-more-menu a.nav-leaves { color: #ffd75e; }
  .nav .lv-user-btn { width: 32px; height: 32px; border: 0; }
}
/* 아이폰: 사진·영상 버튼은 아이콘만, 오른쪽 위(메뉴 바로 아래)에 */
@media (max-width: 520px) {
  .hero:not(.is-full) .view-switch { top: calc(env(safe-area-inset-top, 0px) + 64px) !important; bottom: auto; right: var(--gutter-r); left: auto; transform: none; }
  .view-switch .photo-btn span { display: none; }
  .view-switch .photo-btn { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
  .view-switch .photo-btn svg { width: 18px; height: 18px; }
}
@media (max-width: 380px) {
  .nav { gap: 4px; padding-left: 12px; padding-right: 12px; }
  .brand { font-size: 14px; gap: 4px; }
  .nav-dday { margin-left: 4px; padding: 3px 6px; font-size: 11.5px; }
  .nav nav { gap: 3px; }
  .nav :is(nav, .nav-group) > a.nav-live { padding: 6px 9px; }
  .nav-more-btn, .nav .lv-user-btn { width: 30px; height: 30px; }
}
/* 타임라인: 10~11월 강조 */
.tl-focus { position: absolute; top: -2px; height: 52px; border-radius: 8px; pointer-events: none; z-index: 0;
  background: linear-gradient(to bottom, rgba(242,197,30,.16), rgba(242,197,30,.05)); box-shadow: inset 0 0 0 1px rgba(242,197,30,.28); }
.months span:nth-child(10), .months span:nth-child(11) { color: var(--gold) !important; font-weight: 800; }
/* 날씨·혼잡도 버튼은 같은 너비 */
.tl-tog { justify-content: flex-start; } /* 너비는 혼잡도 버튼 내용에 꼭 맞춰 둘 다 같게 (app.js) */
/* 휴대폰 상단 둥근 버튼: 아이콘을 원 정중앙에 (iOS 사파리 기본 버튼 여백 제거), 실시간과 같은 높이 */
@media (max-width: 900px), (max-height: 500px) and (orientation: landscape) {
  .nav-more-btn, .nav .lv-user-btn { padding: 0; margin: 0; line-height: 0; -webkit-appearance: none; appearance: none; display: grid; place-items: center; box-sizing: border-box; }
  .nav-more-btn svg, .nav .lv-user-btn svg { display: block; margin: 0; }
  .nav :is(nav, .nav-group) > a.nav-live { height: 32px; display: inline-flex; align-items: center; box-sizing: border-box; }
  .nav .lv-user { display: flex; }
}
@media (max-width: 380px) { .nav :is(nav, .nav-group) > a.nav-live { height: 30px; } }
@media (max-width: 900px), (max-height: 500px) and (orientation: landscape) { .nav .lv-user-btn svg { width: 18px; height: 18px; } }
.rec-legend-old { margin: -6px 0 18px; font-size: 13px; color: rgba(255,255,255,.6); } /* 예전 타임라인 범례를 예측 섹션에 */
.cam-line { margin: 0; line-height: 1.5; } .cam-line .cam-src { font-size: 13px; color: var(--muted); margin-left: 6px; } /* CCTV 이름과 출처 문구를 한 줄로 */
.guide-numbers { padding-block: 48px 0; } /* 숫자로 보는 나무: 방문 가이드 안 카드 아래 */

/* 기록 표식 (타임라인 막대 · 예측 목록 · 범례 공통): 예보 = 금색 은행잎 · 실제 기록 = 노란 점+흰 테두리 · 지난 절정 = 흰 은행잎 */
.pin { background: var(--gold); border: 2px solid #fff; }
.pin.y2024 { background: var(--gold); border-color: #fff; }
.pin.forecast, .pin.peak { width: 16px; height: 16px; margin-left: -8px; top: 1px; border: 0; border-radius: 0; transform: none; background: transparent; }
.pin.forecast::before, .pin.peak::before { content: ""; position: absolute; inset: 0; filter: drop-shadow(0 0 1px #2a2210);
  -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; } /* 잎 모양 (말풍선은 가리지 않게 ::before 에만) */
.pin.forecast::before { background: var(--gold); }
.pin.peak::before { background: #fff; }
.record-list li::before { background: var(--gold); border: 2px solid #fff; box-sizing: border-box; }
.record-list li.forecast::before, .record-list li.peak::before { width: 16px; height: 16px; left: -9px; top: 6px; border: 0; border-radius: 0; transform: none; box-shadow: none;
  -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; }
.record-list li.forecast::before { background: var(--gold); }
.record-list li.peak::before { background: #fff; }
.rec-legend .rl { width: 11px; height: 11px; background: var(--gold); border: 2px solid #fff; border-radius: 50%; transform: none; }
.rec-legend .rl.forecast, .rec-legend .rl.peak { width: 15px; height: 15px; border: 0; border-radius: 0; transform: none;
  -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; }
.rec-legend .rl.forecast { background: var(--gold); }
.rec-legend .rl.peak { background: #fff; }
/* 촬영 모드: 메인 화면 문구는 숨겨서 찍히는 모습 그대로 보이게 (타임라인은 조작해야 하므로 남김) */
body.cam-on .hero-copy, body.cam-on .rotate-hint, body.cam-on .install-tip { visibility: hidden; }

/* 잎 표식: 테두리까지 그려 둔 한 장짜리 그림 (예보 = 금색 잎 + 가는 흰 테두리 · 지난 절정 = 흰 잎 + 가는 노란 테두리) */
.pin.forecast::before, .pin.peak::before, .record-list li.forecast::before, .record-list li.peak::before {
  content: ""; position: absolute; inset: auto; filter: none; -webkit-mask: none; mask: none; background: center / contain no-repeat; border: 0; border-radius: 0; transform: none; box-shadow: none; }
.pin.forecast::after, .pin.peak::after, .record-list li.forecast::after, .record-list li.peak::after { content: none; }
.pin.forecast::before, .pin.peak::before { left: -1px; top: -1px; width: 18px; height: 18px; }
.record-list li.forecast::before, .record-list li.peak::before { left: -10px; top: 4px; width: 18px; height: 20px; }
.pin.forecast::before, .record-list li.forecast::before { background-image: url(/img/leaf-forecast.png); }
.pin.peak::before, .record-list li.peak::before { background-image: url(/img/leaf-peak.png); }
.rec-legend .rl.forecast, .rec-legend .rl.peak { position: static; width: 16px; height: 17px; border: 0; border-radius: 0; transform: none; -webkit-mask: none; mask: none; background: center / contain no-repeat !important; }
.rec-legend .rl.forecast { background-image: url(/img/leaf-forecast.png) !important; }
.rec-legend .rl.peak { background-image: url(/img/leaf-peak.png) !important; }
/* 테두리는 가로 타임라인의 '예보' 잎에만. 가로 타임라인의 지난 절정(흰 잎)과 예측 섹션(세로 목록·범례)의 잎은 테두리 없이 잎만 */
.pin.peak::before { background-image: none !important; background-color: #fff !important; left: 0; top: 0; width: 16px; height: 16px; filter: drop-shadow(0 0 1px rgba(42,34,16,.9));
  -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; }
.record-list li.forecast::before, .record-list li.peak::before { background-image: none !important; left: -9px; top: 6px; width: 16px; height: 17px;
  -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; }
.record-list li.forecast::before { background-color: var(--gold) !important; }
.record-list li.peak::before { background-color: #fff !important; }
.rec-legend .rl.forecast, .rec-legend .rl.peak { background-image: none !important; width: 14px; height: 15px;
  -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; }
.rec-legend .rl.forecast { background-color: var(--gold) !important; }
.rec-legend .rl.peak { background-color: #fff !important; }
/* 예측 섹션(세로 목록·범례)의 잎 표식은 테두리 없이 잎만: 예보 = 금색 잎 · 지난 절정 = 흰 잎 */
.record-list li.forecast::before, .record-list li.peak::before { background-image: none !important; left: -9px; top: 6px; width: 16px; height: 17px;
  -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; }
.record-list li.forecast::before { background-color: var(--gold) !important; }
.record-list li.peak::before { background-color: #fff !important; }
.rec-legend .rl.forecast, .rec-legend .rl.peak { background-image: none !important; width: 14px; height: 15px;
  -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; }
.rec-legend .rl.forecast { background-color: var(--gold) !important; }
.rec-legend .rl.peak { background-color: #fff !important; }
/* 예측 세로 타임라인: 연도 구분 */
.record-list li.rec-year { display: flex; align-items: center; gap: 6px; padding: 4px 0 14px 22px; font-size: 15px; font-weight: 800; color: var(--gold); letter-spacing: .02em; }
.record-list li.rec-year::before { content: ""; width: 14px; height: 2px; left: -7px; top: 21px; border: 0; border-radius: 0; background: var(--gold); box-shadow: none; transform: none; -webkit-mask: none; mask: none; }
.record-list li.rec-year { margin-bottom: 10px; }
.record-list li.rec-year:last-child { margin-bottom: 0; }
.record-list li.rec-year::before { width: 16px !important; height: 12px !important; left: -9px !important; top: 9px !important; background: var(--gold) !important; clip-path: polygon(50% 0, 100% 62%, 84% 80%, 50% 38%, 16% 80%, 0 62%); box-shadow: none !important; border-radius: 0 !important; } /* 세로 줄 위 ^ 꺾쇠: 위로 갈수록 최근 */
/* 지금 위치 */
.record-list li.rec-now { padding-bottom: 18px; }
.record-list li.rec-now::before { width: 14px !important; height: 14px !important; left: -8px !important; top: 6px !important; background: #fff !important; border: 3px solid var(--gold) !important; box-sizing: border-box; border-radius: 50% !important; -webkit-mask: none !important; mask: none !important; box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px rgba(242,197,30,.35) !important; animation: recNow 2.2s ease-in-out infinite; }
.record-list li.rec-now .when { color: #fff; }
.record-list li.rec-now .what { color: var(--gold-2); font-weight: 700; }
@keyframes recNow { 50% { box-shadow: 0 0 0 4px var(--bg), 0 0 0 11px rgba(242,197,30,0) ; } }
@media (prefers-reduced-motion: reduce) { .record-list li.rec-now::before { animation: none; } }
/* 같은 날짜에 겹치면 2026 예보 잎이 맨 위, 그다음 지난 절정 잎, 실제 기록 점이 아래 (열린 말풍선은 가장 위) */
.pin { z-index: 1; } .pin.peak { z-index: 2; } .pin.forecast { z-index: 3; }
.pin:focus-visible, .pin.open { z-index: 5; }
@media (hover: hover) { .pin:hover { z-index: 5; } }
.wish-consent { display: block; margin-top: 8px; font-size: 11.5px; opacity: .75; } /* 로그인 버튼 밑 동의 안내 */
/* 동의 안내 속 개인정보처리방침 링크: 강조 없이 밑줄만 */
.lv-user-note a, .wish-consent a { color: inherit !important; font-weight: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* 잡은 시간대에 따라 카드 빛깔: 새벽 = 분홍빛 · 낮 = 그대로 · 노을 = 주황빛 · 밤 = 푸른 어둠 */
.lv-card.tod-dawn, .wish-dlg.tod-dawn .wish-card { background-image: linear-gradient(160deg, rgba(255,160,190,.38), rgba(255,200,170,0) 65%), radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--leaf, #f2c51e) 80%, #fff) 0%, var(--leaf, #f2c51e) 75%); }
.lv-card.tod-sunset, .wish-dlg.tod-sunset .wish-card { background-image: linear-gradient(to top, rgba(240,100,40,.45), rgba(255,170,60,0) 75%), radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--leaf, #f2c51e) 80%, #fff) 0%, var(--leaf, #f2c51e) 75%); }
.lv-card.tod-night, .wish-dlg.tod-night .wish-card { color: #f4efe2; background-image: linear-gradient(180deg, rgba(14,22,58,.72), rgba(20,28,70,.55)), radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--leaf, #f2c51e) 80%, #fff) 0%, var(--leaf, #f2c51e) 75%); }
.wish-dlg.tod-night .wish-card textarea { color: #1d1608; }
/* 아이폰: 서브 문구·1년 보기 버튼 보이기 (실시간 CCTV는 상단 메뉴에 있어 숨김), 전체화면은 아이콘만 */
@media (max-width: 520px) {
  .hero-sub { display: block !important; font-size: 13.5px; margin-top: 10px; max-width: 70%; }
  .hero-sub .hs-date { display: block; margin-top: 2px; opacity: .8; }
  .hero-cta { display: flex !important; margin-top: 12px; }
  .hero-cta a[href="#live"] { display: none; }
  .hero-cta .btn { padding: 8px 14px; font-size: 13.5px; }
  .dock #fullBtn .fs-txt { display: none; }
  .dock #fullBtn { padding: 6px 10px; }
  .dock-date { padding-right: 44px; }
}
/* 아이폰: 날짜는 첫 줄 혼자, 계절·혼잡도·날씨는 둘째 줄에 한 줄로 */
@media (max-width: 520px) {
  .dock-date .dd { flex: 0 0 100%; }
  .dock-date .chip { white-space: nowrap; }
}
/* 그날 날씨는 [날씨] 버튼 안에 (아이폰·아이패드·PC 모두) — 따로 있던 날씨 캡슐은 숨김 */
#tlWx { display: none !important; }
.tl-wxval { margin-left: 5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-wxval[hidden] { display: none; }
.tl-tog[aria-pressed="false"] .tl-wxval { display: none; }
/* 시각 줄: 왼쪽에 [시각 / 해 높이] 두 줄을 붙여 쓰고, 오른쪽에 시간 막대 (아이폰·아이패드·PC 공통) */
.time-row { grid-template-columns: max-content minmax(0, 1fr) auto auto !important; grid-template-rows: auto auto; row-gap: 3px; column-gap: 14px; }
.time-row #tmLabel { grid-column: 1; grid-row: 1; align-self: end; justify-self: center; text-align: center; line-height: 1.1; min-width: 0; }
.time-row .chip-sun { grid-column: 1 !important; grid-row: 2; justify-self: center; align-self: start; font-size: 12px; padding: 2px 9px; }
.time-row .tm-track { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.time-row #tmNow { grid-column: 3; grid-row: 1 / span 2; }
.time-row #tmPlay { grid-column: 4; grid-row: 1 / span 2; }
.dock-caution .cau-br { display: none; }
@media (max-width: 520px) { .dock-caution .cau-br { display: inline; } } /* 아이폰: 문장마다 줄바꿈 */
@media (max-width: 760px) { .time-row { grid-template-columns: max-content minmax(0, 1fr) auto auto !important; column-gap: 8px; } .time-row .tm-track { grid-column: 2 / -1; grid-row: 1; } .time-row .mini { display: inline-flex !important; grid-row: 2 !important; font-size: 12.5px; padding: 5px 10px; white-space: nowrap; } } /* 휴대폰: 시간 막대는 윗줄 끝까지, '지금'·'▶ 하루'는 아랫줄 오른쪽(해 높이 옆) */
/* 아이폰: 날짜·계절·혼잡도·전체화면을 한 줄로 (앞서 두 줄로 나눈 것 되돌림) */
@media (max-width: 520px) {
  .dock-date .dd { flex: none !important; font-size: 17px; }
  .dock-date { flex-wrap: nowrap; gap: 5px; padding-right: 40px; min-width: 0; }
  .dock-date .chip { font-size: 11.5px; padding: 2px 7px; flex: none; }
}
@media (max-width: 370px) { .dock-date .dd { font-size: 15.5px; } .dock-date .chip { font-size: 11px; padding: 2px 6px; } }
/* 아이폰: 타임라인 손잡이(막대)를 맨 위에 — 표식·띠보다 먼저 터치되게 (날씨·혼잡도 버튼만 그 위) */
@media (max-width: 760px) {
  #tlRange { z-index: 10; }
  .track .pin { pointer-events: none; }
  .tl-tog { z-index: 11; }
}
/* 모든 화면: 그날 날씨가 있으면 [날씨] 버튼엔 아이콘·"날씨(예보)" 글자 없이 실제 날씨만, 오른쪽에 작게 (예보)/(현재) — 중복 표기 안 함 */
.tl-tog.has-val > svg, .tl-tog.has-val > .tl-txt { display: none !important; }
.tl-tog.has-val .tl-wxval { margin-left: 0; }
.tl-tog.has-val .tl-wxval::after { content: attr(data-kind); margin-left: 3px; font-size: 9px; font-weight: 600; opacity: .75; }
/* 사진·영상 버튼이 문구 영역(hero-copy)에 가려 탭이 안 먹던 문제: 버튼을 위로, 문구 영역은 글자만(빈 곳은 터치 통과) */
.view-switch { z-index: 5; }
.hero-copy { pointer-events: none; }
.hero-copy a, .hero-copy button { pointer-events: auto; }
/* 타임라인 줄 순서: 잎 색(막대) → 혼잡도 → 날씨 (날씨 줄을 맨 아래로) */
.track { margin-top: 10px !important; }
.wx-row { top: 54px; bottom: auto; }               /* 혼잡도 줄 바로 아래 */
.tl-label-leaf { top: 4px !important; }
.tl-label-crowd { top: 24px !important; }
.tl-label-wx { top: 52px !important; bottom: auto; }
.track .months { margin-top: 24px; line-height: 1.1; } html.page-walk .track .months { margin-top: 3px; } /* 날씨 줄 바로 밑에 거의 붙게(11/1) */
/* 아이폰 전체화면: 타임라인을 실제 보이는 화면 맨 아래에 붙이고, 주의 문구는 빼서 낮게 */
@media (max-width: 760px) {
  .hero.is-full { height: 100dvh !important; }
  .hero.is-full .dock { bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); }
  .hero.is-full .dock-caution { display: none; }
}
/* 아이폰 서브 문구: 낱말 단위로, 두 줄 길이가 비슷하게 끊기도록 */
@media (max-width: 520px) {
  .hero-sub, .hero-sub .hs-text { word-break: keep-all; overflow-wrap: break-word; text-wrap: balance; }
  .hero-sub { max-width: 88%; line-height: 1.5; }
}
/* 주의 문구: 타임라인 상자 바깥 아래로 */
.hero-caution { position: absolute; right: calc(var(--gutter-r) + max(0px, (100% - var(--gutter-l) - var(--gutter-r) - 1080px) / 2)); /* 타임라인(dock, 최대 1080px 가운데) 오른쪽 끝에 맞춤 */ bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); margin: 0; z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
@media (min-width: 761px) { .hero:not(.is-full) .dock { bottom: calc(env(safe-area-inset-bottom, 0px) + 34px); } }
@media (max-width: 760px) { .hero:not(.is-full) .hero-caution { position: static; margin: 10px var(--gutter-r) 0 var(--gutter-l); text-align: right; } }
.hero.is-full .hero-caution { display: none; }
.photo-dlg { padding-top: 14px; } /* 오른쪽 위 X 대신 아래 [닫기] 버튼 */
/* 관심도 */
.nav-more-menu a[hidden], .nav a[hidden] { display: none !important; }
.it-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .it-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.it-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; min-width: 0; }
.it-label { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.it-label small { margin-left: 4px; font-size: 11px; font-weight: 600; opacity: .8; }
.it-val { margin: 6px 0 0; font-size: clamp(26px, 4vw, 36px); font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.it-live { width: 9px; height: 9px; border-radius: 50%; background: #ff5a4a; box-shadow: 0 0 0 4px rgba(255,90,74,.18); animation: itPulse 1.6s ease-in-out infinite; }
@keyframes itPulse { 50% { box-shadow: 0 0 0 7px rgba(255,90,74,0); } }
.it-week { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 10px; }
.it-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; }
.it-bar i { display: block; width: 100%; min-height: 2px; border-radius: 3px 3px 0 0; background: rgba(242,197,30,.55); }
.it-bar:last-child i { background: var(--gold); }
.it-bar small { font-size: 9.5px; color: var(--muted); line-height: 1; }
.it-label small { display: block; margin: 2px 0 0; }

/* 기록 목록 속 2025 절정 사진 (운영자 촬영) */
.record-list li.rec-photo figure { margin: 6px 0 0; max-width: 640px; }
.record-list li.rec-photo img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.record-list li.rec-photo figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.5; word-break: keep-all; }

/* 출처 링크는 강조 없이: 주변 글자색 그대로 + 얇은 밑줄 (예측 기록·통계 카드·가이드·푸터·타임라인 말풍선) */
.record-list .src a, .stat-card .small a, .g-card .src-note a, .foot-more p a, .pin-tip a {
  color: inherit; font-weight: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}
.pin-tip a { color: #6b6250; font-weight: 500; }

/* 축제 안내 */
.g-card p + p.fest-more { margin-top: 8px; }
.qna .fest-list { margin: 6px 0 10px; padding-left: 1.1em; color: #d9cfb9; font-variant-numeric: tabular-nums; }
.qna .fest-list li { margin: 3px 0; }
.qna .src-note { font-size: 13px; color: var(--muted); }
.qna .src-note a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* 아이폰에서만 줄바꿈 */
.m-br { display: none; }
@media (max-width: 520px) { .m-br { display: inline; } }

/* 안개 날씨 그림 (이모지 대신) */
.wx-fog { width: 1.15em; height: 1.15em; vertical-align: -0.2em; display: inline-block; }
.wx-row .wx-fog { width: 1.3em; height: 1.3em; vertical-align: middle; }

/* 화면엔 안 보이고 검색엔진·화면낭독기만 읽는 글 */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ?embed=1 : 다른 페이지 안에 끼워 넣을 때 메인 화면 + 타임라인만 (스크롤 없음) */
html.embed, html.embed body { height: 100%; overflow: hidden; }
html.embed .hero { height: 100vh !important; }
html.embed main > section:not(.hero), html.embed .footer, html.embed .ad-slot, html.embed .install-tip, html.embed #installBtn, html.embed .nav :is(nav, .nav-group) > a, html.embed .nav-more, html.embed #navUser { display: none !important; }

/* 나무에 적힌 소원 (wishes.js) */
.wish-tog[aria-pressed="false"] { opacity: .6; }
.wish-tog[aria-pressed="true"] { color: #ffe9a6; }
.wish-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.wish-item { position: absolute; display: flex; align-items: center; gap: 8px; width: max-content; max-width: 260px; transform: translate(10px, -50%); animation: wishIn .9s ease both; }
.wish-item.flip { flex-direction: row-reverse; transform: translate(calc(-100% - 10px), -50%); }
.wish-item.out { animation: wishOut 1.1s ease forwards; }
.wish-txt { font: 600 13.5px/1.45 var(--sans, sans-serif); color: #fff8e1; text-shadow: 0 1px 6px rgba(0,0,0,.65), 0 0 18px rgba(255,214,102,.35); letter-spacing: -.01em; word-break: keep-all; }
.wish-item.wa::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #ffe58a; box-shadow: 0 0 10px 4px rgba(255,214,102,.75); animation: wishPulse 1.6s ease-in-out infinite; }
.wish-item.wa .wish-txt, .wish-item.wm .wish-txt { background: rgba(20,16,8,.38); padding: 5px 10px; border-radius: 12px; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.wish-item.wb { transform: translate(0, 0); animation: wishRise 14s linear forwards; }
.wish-item.wb .wish-txt { font-size: 14px; }
.wish-item.wm { animation: wishIn .9s ease both; }
.wish-leaf { flex: none; width: 16px; height: 16px; background: radial-gradient(circle at 50% 60%, #fff3b0 0 30%, #ffd34d 55%, transparent 72%); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 14px 5px rgba(255,214,102,.55); animation: wishSpin 2.4s ease-in-out infinite alternate; }
@keyframes wishIn { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
@keyframes wishOut { to { opacity: 0; filter: blur(3px); } }
@keyframes wishPulse { 50% { transform: scale(1.35); opacity: .75; } }
@keyframes wishRise { 0% { opacity: 0; translate: 0 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; translate: 0 calc(var(--rise, 300px) * -1); } }
@keyframes wishDrift { to { translate: 26px 120px; } }
@keyframes wishSpin { from { rotate: -18deg; } to { rotate: 22deg; } }
@media (prefers-reduced-motion: reduce) { .wish-item, .wish-leaf, .wish-item.wa::before { animation-duration: .01s !important; } }
html.embed .wish-tog { display: none; }
body.cam-on .wish-layer, .hero.is-full .wish-layer:empty { display: none; }
/* 나무 뒤로 돌아간 소원: 사라지지 않고 흐리게 가려짐 */
.wish-item > * { opacity: calc(1 - .78 * var(--back, 0)); filter: blur(calc(var(--back, 0) * 1.6px)); transition: opacity .25s linear; }
.wish-item.wa::before { opacity: calc(1 - .78 * var(--back, 0)); }
.official-cam { margin: 8px 2px 0; }
.official-cam { display: flex; align-items: center; gap: 8px; }
.official-cam .oc-ico { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border-radius: 999px; border: 1px solid rgba(242,197,30,.5); color: #f2c51e; font-size: 12px; font-weight: 700; text-decoration: none; line-height: 1.4; }
.official-cam .oc-ico svg { display: block; }
.oc-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 6px rgba(255,59,48,.8); animation: ocBlink 1.2s ease-in-out infinite; }
@keyframes ocBlink { 50% { opacity: .25; } }
/* 상단 계정 메뉴: 낙엽 보기 페이지와 같은 모양 (상단 메뉴 링크·버튼 스타일이 섞이지 않게) */
.nav .lv-user-menu .lv-user-note a { font: inherit; padding: 0; color: inherit; background: none; border-radius: 0; text-decoration: underline; }
.nav .lv-user-menu .gbtn, .nav .lv-user-menu .abtn { font-size: 14px; height: 34px; padding: 0 14px 0 10px; }
/* 나무 소원 글: 낙엽·댓글 보기 창 */
.wc-dlg { border: 0; padding: 0; background: transparent; max-width: min(92vw, 420px); width: 100%; }
.wc-dlg::backdrop { background: rgba(0,0,0,.5); }
.wc-box { position: relative; background: #1d1a12; color: #f6efdf; border-radius: 16px; padding: 20px 18px 16px; display: grid; gap: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.5); max-height: 80vh; overflow: auto; }
.wc-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: rgba(255,255,255,.6); font-size: 24px; line-height: 1; cursor: pointer; padding: 4px; }
.wc-wish { margin: 0 24px 0 0; font-size: 16px; font-weight: 700; line-height: 1.5; color: #fff8e1; }
.wc-meta { margin: -4px 0 4px; font-size: 12.5px; color: rgba(255,248,225,.6); }
.wc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wc-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 14px; line-height: 1.45; }
.wc-list li small { flex: none; color: rgba(255,248,225,.5); font-size: 11.5px; }
.wc-list .wc-empty { background: none; color: rgba(255,248,225,.55); padding: 4px 2px; font-size: 13px; }
.wc-more { justify-self: start; border: 0; background: none; color: #f2c51e; font: inherit; font-size: 13px; cursor: pointer; padding: 0; }
.wc-row { display: flex; gap: 8px; }
.wc-in { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: inherit; }
.wc-ok { flex: none; font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 0; cursor: pointer; background: #f2c51e; color: #2a1f00; }
.wc-err { margin: 0; color: #ff8a7a; font-size: 13px; }
.wc-all { justify-self: end; font-size: 12.5px; color: rgba(255,248,225,.6); }
/* 소원 공개 범위 · 내 잎 링크 */
.wish-vis { display: flex; gap: 14px; justify-content: center; font-size: 13.5px; margin: 2px 0 4px; }
.wish-vis label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.wish-vis small { opacity: .7; }
.wish-share { display: grid; gap: 8px; margin: 4px 0 10px; }
.wish-share input { font: inherit; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(0,0,0,.15); background: rgba(255,255,255,.6); color: inherit; text-align: center; }
.wc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wc-share { border: 1px solid rgba(242,197,30,.5); background: none; color: #f2c51e; font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
/* 혼잡도: 날씨 반영 전엔 숨기고 스피너 */
[data-crowd="wait"] #crowdStrip, [data-crowd="wait"] #tlCrowd { visibility: hidden; }
.wc-x:focus, .wc-x:focus-visible { outline: none; box-shadow: none; } /* 창이 열릴 때 X에 자동 포커스 테두리 안 보이게 */
/* 혼잡도·날씨 캡슐: 페이지가 막 뜬 순간(스크립트 전)에도 같은 너비, 스피너는 둘 다 오른쪽 끝 */
#peopleToggle, #wxToggle { width: 102px !important; min-width: 0; box-sizing: border-box; } /* "☀️ 26°/14° (기록)", "혼잡도(추정)+스피너"가 꼭 맞는 너비로 고정 */
.tl-tog .spin { margin-left: auto; }
/* CCTV 영상만 다시 불러오기 */
.cam-reload { position: absolute; right: 10px; bottom: 10px; z-index: 5; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: .75; transition: opacity .2s, background .2s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 0; }
.cam-reload:hover { opacity: 1; }
.cam-reload.stuck { opacity: 1; background: #f2c51e; color: #2a1f00; border-color: #f2c51e; box-shadow: 0 0 0 4px rgba(242,197,30,.3); }
.cam-reload.spinning svg { animation: spin .8s linear; }
/* 새로고침 버튼: 오른쪽 위 LIVE 옆 (LIVE 와 같은 높이·바탕) */
.cam-reload { top: 12px; right: 12px; bottom: auto; width: 29px; height: 29px; border: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 1; }
.cam-reload svg { width: 15px; height: 15px; }
.player .badge { right: 47px; }
/* 상단 로고: 투명 구슬 은행잎 아이콘 */
.brand .brand-orb { width: 26px; height: 26px; flex: none; display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
@media (max-width: 900px), (max-height: 500px) and (orientation: landscape) { .brand .brand-orb { width: 22px; height: 22px; } }
#tlRange { touch-action: pan-y; } /* 세로 스크롤은 그대로, 가로로 끌면 날짜 이동 */
#tlRange:focus, #tlRange:focus-visible { outline: none; box-shadow: none; } /* 끌 때 노란 테두리 없음 */
/* 날짜 좌우 하루 이동 버튼 */
.dd-nav { display: inline-flex; align-items: center; gap: 2px; }
.dd-nav .dd { min-width: 0; text-align: center; }
.dd-step { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font: 700 18px/1 sans-serif; display: grid; place-items: center; cursor: pointer; padding: 0 0 2px; }
.dd-step:hover { background: rgba(255,255,255,.16); }
.dd-step:focus:not(:focus-visible) { outline: none; }
.dd-nav .dd { min-width: 6.6em; }
@media (max-width: 520px) { .dock-date .dd-nav { flex: 0 0 100%; } .dock-date .dd-nav .dd { flex: none; } }
/* 타임라인: 오늘 = 빨간 세로선 + 위 점 / 절정 예측 = 노란 테두리 기둥 + 위 이름표 */
.tl-today, .tl-peak { position: absolute; top: 0; height: 50px; pointer-events: none; z-index: 4; transform: translateX(-50%); }
.tl-today { width: 2px; background: #ff3b30; border-radius: 1px; }
.tl-today::before { content: ""; position: absolute; left: 50%; top: -5px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 2px rgba(0,0,0,.35); }
.tl-peak { width: 10px; top: -1px; height: 52px; border-radius: 5px; background: rgba(242,197,30,.16); box-shadow: inset 0 0 0 1.5px rgba(242,197,30,.85); }
.tl-peak b { position: absolute; left: 50%; bottom: 100%; margin-bottom: 4px; transform: translateX(-50%); white-space: nowrap; font: 800 10px/1.5 inherit; font-size: 10px; color: #2a1f00; background: #f2c51e; padding: 0 6px; border-radius: 6px; }
/* 아이패드·PC: 이름표를 독 왼쪽 끝에 붙이고 막대를 그만큼 왼쪽으로 늘림 (왼쪽 빈 공간 없앰) */
@media (min-width: 521px) {
  .track { margin-left: 108px !important; }
  .tl-label { left: -108px !important; }
}
#tlRange { z-index: 6; } .tl-today, .tl-peak { z-index: 4; } /* 핸들이 오늘 선·절정 기둥 위에 */
/* 초절정: 은행잎 3장 겹친 아이콘 (세로 목록 + 타임라인 기둥) */
.leaf3 { position: relative; display: inline-block; width: 22px; height: 18px; }
.leaf3 > i { position: absolute; top: 0; width: 13px; height: 14px; background: var(--gold); -webkit-mask: url(/img/leaf.png) center / contain no-repeat; mask: url(/img/leaf.png) center / contain no-repeat; filter: drop-shadow(0 0 1px rgba(42,34,16,.9)); }
.leaf3 > i:nth-child(1) { left: 0; transform: rotate(-28deg); background: #ffd84a; }
.leaf3 > i:nth-child(2) { left: 9px; transform: rotate(26deg); background: #f2a43a; }
.leaf3 > i:nth-child(3) { left: 4px; top: 3px; background: #f2c51e; }
.tl-peak .leaf3 { position: absolute; left: 50%; bottom: 100%; margin: 0 0 18px -11px; }
.record-list li.super::before { content: ""; position: absolute; left: -13px; top: 3px; width: 24px; height: 22px; border: 0; border-radius: 0; box-shadow: none; transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E"); }
.record-list li.super .what { font-weight: 800; color: var(--gold); }
.record-list li.super::before { display: none; }
.record-list li.super .rec-leaf3 { position: absolute; left: -14px; top: 4px; }
.record-list li.super .rec-leaf3 { left: -19px; top: 0; transform: scale(1.35); transform-origin: center; }
/* 오늘 선: 위로 조금 더 길게 (핸들이 덮어도 선과 점이 위로 살짝 보이게) */
.tl-today { top: -7px; height: 57px; }
.tl-today::before { top: -5px; }
.record-list li.super .what { font-weight: 400; color: inherit; }
.record-list li.super .rec-strong { font-weight: 800; color: var(--gold); font-size: 1.08em; }
/* 초절정 예측: 강조 박스 */
.record-list li.super .what { display: block; margin-top: 4px; padding: 10px 12px; border: 1px solid rgba(242,197,30,.5); border-radius: 12px; background: rgba(242,197,30,.1); box-shadow: 0 0 0 3px rgba(242,197,30,.06); }
/* 황금빛 초절정 아이콘: 은은하게 빛나는 효과 */
.record-list li.super .rec-leaf3::before { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,74,.55) 0%, rgba(255,200,40,.22) 45%, transparent 72%); animation: superGlow 2.4s ease-in-out infinite; z-index: -1; }
@keyframes superGlow { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .record-list li.super .rec-leaf3::before { animation: none; } }
.record-list li.super .rec-leaf3::before { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: radial-gradient(circle, rgba(255,226,110,.9) 0%, rgba(255,200,40,.45) 40%, transparent 72%); }
.record-list li.super .rec-leaf3 > i { filter: drop-shadow(0 0 3px rgba(255,214,90,.9)); }
/* 초절정 예측 이름표: 아래 꼬리 (말풍선처럼 기둥을 가리킴) */
.tl-peak b::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -4px; border: 4px solid transparent; border-top-color: #f2c51e; border-bottom: 0; }
/* 초절정 빛: 가운데는 비우고 둘레만 (아이콘이 가려지지 않게) */
.record-list li.super .rec-leaf3::before { background: radial-gradient(circle, transparent 0%, transparent 34%, rgba(255,214,90,.55) 50%, rgba(255,200,40,.2) 62%, transparent 74%); }
.record-list li.super .rec-leaf3 > i { filter: drop-shadow(0 0 1px rgba(42,34,16,.9)); }
/* 손잡이 위 D-day 캡슐 (초절정 예측 이름표와 같은 모양) */
.tl-dday { position: absolute; top: 0; height: 0; pointer-events: none; z-index: 7; transform: translateX(-50%); }
.tl-dday[hidden] { display: none; }
.tl-dday b { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); white-space: nowrap; font-size: 10px; font-weight: 800; line-height: 1.5; color: #fff; background: #ff3b30; padding: 0 6px; border-radius: 6px; }
.tl-dday b::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -4px; border: 4px solid transparent; border-top-color: #ff3b30; border-bottom: 0; }
/* 더블탭 확대 막기 (두 손가락 확대는 그대로 — 접근성) */
html, body, button, a, input, .dock, .track, #scene { touch-action: manipulation; }
#tlRange { touch-action: pan-y; }
#scene { touch-action: none; } /* 3D 나무: 끌기·두 손가락 확대는 나무가 처리 */
.record-list li.super .rec-leaf3 { left: -12px; } /* 세로 줄(레인) 가운데에 맞춤 */
/* 색 맞바꿈: 손잡이 위 D-day = 노란색, 초절정 예측 이름표 = 빨간색 */
.tl-dday b { background: #f2c51e; color: #2a1f00; }
.tl-dday b::after { border-top-color: #f2c51e; }
.tl-peak b { background: #ff3b30; color: #fff; }
.tl-peak b::after { border-top-color: #ff3b30; }
.leaf3 > i:nth-child(3) { background: #e09a10; } /* 가운데(앞) 잎은 진하게 */
.leaf3 > i:nth-child(2) { background: #ffe58a; } /* 오른쪽 잎은 연하게 (왼쪽 밝은 노랑 · 가운데 진함 · 오른쪽 연함) */
/* 7일 넘게 남은 날의 날씨 아이콘: 흐리게 (먼 예보) */
.wx-row span.far { opacity: .35; filter: grayscale(.6); }
/* 먼 예보: 아이콘 자체는 그대로, 그 구간 위에 반투명 막 */
.wx-row span.far { opacity: 1; filter: none; }
.wx-veil { position: absolute; top: -2px; bottom: -2px; background: rgba(28,24,14,.55); border-radius: 4px; pointer-events: none; z-index: 2; }
/* 먼 예보: 막 대신 아이콘마다 흐림(블러), 색은 그대로 */
.wx-veil { display: none; }
.wx-row span.far { opacity: 1; filter: blur(1.2px); }
/* 초절정 예측: AI 활용 표기 */
.rec-ai { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; color: var(--muted, rgba(255,255,255,.6)); }
.rec-ai svg { color: var(--gold); flex: none; }
.wx-row span.far { opacity: 1; filter: saturate(.35) contrast(.7) brightness(1.1); } /* 먼 예보: 흐림·투명 없이 색만 연하게 */
.wx-row span.far { filter: grayscale(.85) contrast(.45) brightness(1.25); } /* 먼 예보: 훨씬 연하게 */
.rec-ai .ai-badge { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px 1px 4px; border-radius: 999px; background: rgba(242,197,30,.14); color: var(--gold); flex: none; }
.rec-ai .ai-badge b { font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.wx-row span.far { filter: saturate(.55) brightness(.5); } /* 먼 예보: 어두운 배경에서 연하게 보이도록 밝기를 낮춤 (투명·블러 없이, 색은 약간 남김) */
.rec-ai .ai-badge { padding: 0; background: none; }
/* 좁은 칸의 월 글자는 칸 밖으로 넘쳐도 칸 폭은 그대로 */
.months span { min-width: 0; overflow: visible; white-space: nowrap; }
/* 상단 ☰ 메뉴: 링크 밑줄 없이 버튼처럼 (계정 메뉴의 개인정보 링크만 밑줄) */
.nav .lv-user-menu .lv-user-note a { text-decoration: underline; }
/* 아이폰: 날짜 줄은 날짜만, 계절·혼잡도 칩은 다음 줄 / 전체화면 버튼은 나무 화면 오른쪽 아래로 */
@media (max-width: 520px) {
  .dock-date { flex-wrap: wrap; row-gap: 6px; padding-right: 44px !important; }
  .dock-date .dd-nav { flex: 0 0 100%; }
}
.nav-more-menu a.nav-leaves { color: #ffd75e !important; }
/* 아이폰: 날짜(‹ ›) · 계절 · 혼잡도 한 줄에 */
@media (max-width: 520px) {
  .dock-date { flex-wrap: nowrap !important; gap: 4px; }
  .dock-date .dd-nav { flex: none !important; gap: 0; }
  .dock-date .dd-nav .dd { min-width: 0; font-size: 15.5px !important; padding: 0 2px; }
  .dock-date .dd-step { width: 22px; height: 22px; font-size: 15px; }
  .dock-date .chip { font-size: 11px; padding: 2px 7px; white-space: nowrap; flex: none; }
}
@media (max-width: 370px) { .dock-date .dd-nav .dd { font-size: 14px !important; } .dock-date .chip { font-size: 10.5px; padding: 2px 5px; } }
/* 공휴일 이름: 날짜 아래 둘째 줄에 작게 */
.dd { line-height: 1.15; }
.dd .dd-hol { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0; opacity: .85; margin-top: 1px; }
/* 공휴일 이름이 붙어도 날짜 위치 그대로: 아래 줄은 자리를 차지하지 않게 */
.dd { position: relative; }
.dd .dd-hol { position: absolute; left: 0; right: 0; top: 100%; margin-top: 1px; text-align: center; white-space: nowrap; pointer-events: none; }
/* 아이폰: 월 칸 (맨 앞 '월' 한 번 표기는 없앰 — 칸마다 'n월'이 이미 보임) */
.months .mo-u { font-style: normal; }
@media (max-width: 760px) {
  .months span:nth-child(even) { color: inherit; }
  .months .mo-u { display: none; }
  .months { position: relative; }
}
/* 아이폰: 소원·사진·영상 버튼 세로로 */
@media (max-width: 520px) {
  .hero:not(.is-full) .view-switch { flex-direction: column; align-items: flex-end; gap: 8px; }
  .view-switch .wish-tog span { display: none; }
  .view-switch .wish-tog { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
}
/* 아이패드·PC도 소원·사진·영상 버튼 세로로 (오른쪽 정렬) */
.hero:not(.is-full) .view-switch { flex-direction: column; align-items: flex-end; gap: 8px; }
.view-switch .rotate-hint { order: 9; }
/* 아이폰 가로: 소원·사진·영상 아이콘만, 오른쪽 위 세로 */
@media (max-height: 500px) and (orientation: landscape) {
  .hero:not(.is-full) .view-switch { top: calc(env(safe-area-inset-top,0px) + 62px); bottom: auto; right: calc(env(safe-area-inset-right,0px) + 16px); left: auto; transform: none; }
  .view-switch .wish-tog span, .view-switch .photo-btn span, .view-switch .rotate-hint { display: none; }
  .view-switch .wish-tog, .view-switch .photo-btn { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
}
/* 아이폰: 날짜 칸 너비 고정 (가장 긴 '12월 22일 (화)' 기준) — 날짜가 바뀌어도 ‹ › 버튼이 흔들리지 않게 */
@media (max-width: 520px) { .dd-nav .dd { width: 7em; min-width: 7em; max-width: 7em; white-space: nowrap; text-align: center; font-variant-numeric: tabular-nums; } }

/* #SNS 메뉴: 인스타 느낌 그라데이션 */
.nav :is(nav, .nav-group) > a.nav-sns, .nav-more-menu a.nav-sns, .lv-headbtns a.nav-sns { background: linear-gradient(45deg, #7b3ff2, #e1306c, #f77737) !important; color: #fff !important; }
.lv-headbtns a.nav-leaves { color: #ffd75e; }
/* 낙엽 페이지 상단 버튼 간격·계정 버튼 크기를 메인·#SNS와 똑같이 (iPad·PC) */
@media (min-width: 641px) { .lv-headbtns { gap: 4px !important; } .lv-headbtns .lv-user { margin-left: 4px; } .lv-head .lv-user-btn { width: 34px; height: 34px; } }
/* 아이폰 ☰ 메뉴: #SNS 캡슐은 글자만 감싸는 폭 */
.nav-more-menu a.nav-sns { display: table !important; width: auto !important; padding: 6px 12px !important; margin: 4px 0 4px 2px; border-radius: 999px; }
/* 아이폰: 낙엽 페이지도 #SNS·나무 보기·낙엽 보기를 ☰ 메뉴로 */
@media (max-width: 900px), (max-height: 500px) and (orientation: landscape) { .lv-headbtns > a { display: none !important; } .lv-headbtns .nav-more { display: block; } .lv-headbtns .nav-more-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; } }
/* ☰ 메뉴: 나무 보기 하위 메뉴(들여쓰기) + #SNS 캡슐 글자 폭 */
.nav-more-menu a.nav-sub { padding: 7px 12px 7px 26px !important; font-size: 13.5px !important; font-weight: 600 !important; color: rgba(255,255,255,.72) !important; }
.lv-headbtns .nav-more-menu a.nav-sns, .nav .nav-more-menu a.nav-sns, .nav-more-menu a.nav-sns { display: table !important; width: auto !important; justify-self: start; align-self: start; }
/* 문의 메일 버튼: 아이콘+주소 한 줄 */
.mailbtn.mail-addr { white-space: nowrap; }
@media (max-width: 400px) { .mailbtn.mail-addr { font-size: 14px; padding-left: 16px; padding-right: 16px; } }

.record-list li.in-fest::after { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 3px; background: #ff5a1f; z-index: 0; }
.record-list li.in-fest::before { z-index: 1; } /* 축제 기간: #sns처럼 세로선 주황 */
.record-list li.rec-fest::before { width: 8px; height: 8px; left: -5px; top: 11px; background: #ff5a1f; }
.record-list li.rec-fest .what { color: #ff7a3d; font-size: 13px; }
.record-list li.rec-fest:first-child::after, .record-list li.rec-fest.fest-end::after { top: 15px; }
.record-list li.rec-fest.fest-start::after { bottom: auto; height: 15px; }
.record-list li.super .rec-leaf3 { z-index: 2; } /* 초절정 나뭇잎 3개는 축제 레인 위 */
.record-list li.forecast::before { transform: rotate(-30deg) !important; } /* 절정 예측 기사 나뭇잎: 반시계 30도 */
.nav .nav-tree, .nav-more-menu a.nav-tree, .lv-headbtns a.nav-tree { color: #ffd75e !important; } /* 나무 보기도 낙엽 보기와 같은 강조색 */
.cp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; flex-direction: column; align-items: center; background: rgba(14,13,10,.96); border-top: 1px solid rgba(255,215,94,.25); padding: 2px 0 calc(2px + env(safe-area-inset-bottom)); }
.cp-sticky .cp-note { margin: 0 0 2px; font-size: 10px; color: rgba(255,255,255,.7); text-align: center; }
.cp-sticky iframe { display: block; max-width: 100%; }
body.cp-sticky-on { padding-bottom: 104px; } /* 고정 배너가 맨 아래 내용을 가리지 않게 */
.cp-sticky[hidden] { display: none !important; }
/* 아이폰: 가운데 고정 핸들 + 끌리는 레인 */
.tl-wrap { position: relative; }
.tl-scroll { padding-top: 26px; margin-top: -26px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.tl-scroll::-webkit-scrollbar { display: none; }
.track.tl-wide { margin-left: 0; }
.track.tl-wide #tlRange { visibility: hidden; pointer-events: none; }
.tl-labels { position: absolute; left: 0; pointer-events: none; z-index: 8; }
.tl-labels .tl-label { pointer-events: auto; }
.tl-center { position: absolute; left: 50%; width: 4px; height: 72px; margin-left: -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1.5px rgba(0,0,0,.45), 0 0 8px rgba(255,215,94,.8); pointer-events: none; z-index: 7; }
.tl-scroll { cursor: grab; } .tl-scroll.grab { cursor: grabbing; user-select: none; }
.tl-labels .tl-label { position: absolute; }
.tl-wrap > .tl-dday.fixed { left: 50% !important; z-index: 9; }
/* 레인을 끝까지 펼친 타임라인: 이름표는 왼쪽 끝 위에 겹쳐 고정, 뒤 레인이 비치지 않게 불투명 */
.tl-labels .tl-label { left: var(--pl, 0px) !important; background: #1c1912 !important; border-color: rgba(255,255,255,.22) !important; opacity: 1 !important; }
.tl-labels .tl-tog[aria-pressed="false"] { background: #1c1912 !important; }
.tl-labels .tl-label-leaf { height: auto !important; padding: 1px 7px 1px 5px !important; line-height: 16px !important; border-radius: 999px !important; border: 1px solid rgba(255,255,255,.22) !important; font-size: 10.5px; top: 1px !important; } /* 잎 색도 다른 캡슐과 같은 라운드 캡슐 */
/* 타임라인 최종 배치(처음부터): 양옆 반 화면 여백 + 넓은 레인, 원래 손잡이는 숨김 */
.tl-scroll { display: flex; align-items: flex-start; }
.tl-scroll::before, .tl-scroll::after { content: ""; flex: 0 0 50%; }
.tl-scroll > .track.tl-wide { flex: none; width: calc(792 * 2.2px); margin-left: 0 !important; margin-right: 0 !important; }
@media (min-width: 521px) { .tl-scroll > .track.tl-wide { width: calc(792 * 3px); } }
.track.tl-wide #tlRange { visibility: hidden; pointer-events: none; }
.tl-labels .tl-label { width: 102px; box-sizing: border-box; }
.months .mo-u { display: inline !important; } /* 레인이 넓어져서 아이폰도 1월·2월로 */
.tl-labels .tl-label .tl-leaf-name { display: inline !important; } /* 아이폰도 "잎 색" 글자 표시 */
/* 시각 막대: 손잡이(해) 가운데 고정, 레인을 끌어 시각 이동 */
.tm-wide #tmRange { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tm-wide { overflow: visible; }
.tm-scroll { display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; padding-top: 3px; }
.tm-scroll::-webkit-scrollbar { display: none; }
.tm-scroll.grab { cursor: grabbing; user-select: none; }
.tm-scroll::before, .tm-scroll::after { content: ""; flex: 0 0 50%; }
.tm-lane { flex: none; position: relative; width: calc(1440 * 0.5px); }
.tm-bar { height: 14px; border-radius: 999px; background: var(--tm-bg, linear-gradient(90deg, #1b2240, #e9a35a 28%, #8fc4f0 50%, #e9a35a 72%, #1b2240)); }
.tm-ticks2 { position: relative; height: 16px; margin-top: 3px; font-size: 10px; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.tm-ticks2 span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.tm-knob { position: absolute; left: 50%; top: 0; width: 26px; height: 26px; margin: -3px 0 0 -13px; border-radius: 50%; background: #ffd75e; border: 3px solid #fff; box-sizing: border-box; box-shadow: 0 2px 8px rgba(0,0,0,.5); pointer-events: none; z-index: 2; }
.tm-wide.night .tm-knob { background: #cfd8ff; }
/* 타임라인 영역: 화면 너비 꽉 채움 */
.hero .dock { left: 0 !important; right: 0 !important; max-width: none !important; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important;
  padding-left: max(18px, env(safe-area-inset-left)) !important; padding-right: max(18px, env(safe-area-inset-right)) !important; }
@media (max-width: 520px) { .hero .dock { padding-left: max(12px, env(safe-area-inset-left)) !important; padding-right: max(12px, env(safe-area-inset-right)) !important; } }
/* 양끝 여백: 가상요소 대신 실제 칸(아이폰 사파리가 끝 여백을 스크롤 범위에 안 넣던 문제) */
.tl-scroll::before, .tl-scroll::after, .tm-scroll::before, .tm-scroll::after { content: none !important; }
.tl-scroll > .sp, .tm-scroll > .sp { flex: none; display: block; width: 50vw; height: 1px; }
/* 나무 위 SNS 게시물 보기 (테스트) */
.post-dlg{border:0;padding:0;background:#1f1d17;border-radius:14px;width:min(420px,94vw);max-height:90vh;overflow:auto}
.post-dlg::backdrop{background:rgba(0,0,0,.6)}
.post-dlg .post-body{padding:12px}
.post-dlg .post-x{position:sticky;top:6px;float:right;margin:6px 6px 0 0;z-index:2;width:32px;height:32px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;font-size:16px}
.post-back{position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:hidden}
.post-pin{position:absolute;left:0;top:0;transform-origin:0 0;visibility:hidden;pointer-events:none;will-change:transform;border-radius:10px;box-shadow:0 6px 24px rgba(0,0,0,.45);background:#fff}
.post-pin .instagram-media{border-radius:10px!important}
.post-pin .yt-card{position:relative;width:480px}.post-pin .yt-card img{display:block;width:100%;border-radius:10px}
.post-pin .yt-play{position:absolute;left:50%;top:50%;width:68px;height:48px;margin:-24px 0 0 -34px;border-radius:12px;background:#ff0033}
.post-pin .yt-play::after{content:"";position:absolute;left:27px;top:14px;border-left:18px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}
@media (max-width:700px){.post-pin{--pin-s:.26}}
.post-pin.hid{opacity:0;pointer-events:none}
.post-front{position:absolute;inset:0;z-index:20;pointer-events:none}
.post-front.on{pointer-events:auto;background:rgba(0,0,0,.35)}
.post-front .post-pin{pointer-events:auto;visibility:visible;box-shadow:0 10px 40px rgba(0,0,0,.6)}
.post-front .igover{position:absolute;z-index:2;display:block;background:transparent;-webkit-tap-highlight-color:rgba(255,215,94,.15)}
.post-pin{position:absolute}

/* 나무 게시물: 따로 그린 배경·그림자·테두리 없음(퍼가기 창 그대로) */
.post-back .post-pin{background:transparent!important;box-shadow:none!important;border-radius:0!important}
.post-back .post-pin iframe.instagram-media{box-shadow:none!important}
.post-back .post-pin{line-height:0}.post-back .post-pin iframe{display:block;margin:0!important}

/* 사진·영상 찍기 버튼 숨김(10/27) — 기능 코드(photo.js)는 그대로 둠. 다시 쓰려면 이 줄만 지우면 됨 */
/* (10/31 테스트: 다시 보임) */

/* 낙엽 보기 메뉴 숨김(10/27) — 페이지(/leaves)는 그대로 */
/* (10/31 테스트: 다시 보임) */

/* 계정(로그인) 버튼 숨김(10/27) — 로그인 코드는 그대로, 관리자는 /admin 에서 로그인 */
/* (10/31 테스트: 다시 보임) */
/* 날짜 줄 버튼(‹ ›, 배속, 오늘, 절정 예상일)이 아래 타임라인 스크롤 영역(위로 26px 올라와 있음)에 덮여 탭이 씹히던 것 → 버튼 줄을 위로. 빈 곳은 그대로 통과 */
.dock-head { position: relative; z-index: 2; pointer-events: none; }
.dock-head > *, .dock-head button, .dock-head a, .dock-head input, .dock-head select, .dock-head [role=button] { pointer-events: auto; }
.dock #fullBtn { z-index: 3; }
/* 터치 기기(아이패드·아이폰): 누른 뒤 '마우스 올림' 밝은 바탕이 남아 켜짐/꺼짐 사이 애매한 단계가 생기던 것 → 터치에선 올림 효과 없음 */
@media (hover: none) { .mini:hover { background: rgba(255,255,255,.12); } .view-switch .mini:hover { background: rgba(16,13,8,.6); } }
/* 3D 화면 길게 누르기: 기본 메뉴·글자 선택·확대경 막음 (게시물 위에서만 우리 메뉴) */
.hero { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.post-menu { position: absolute; z-index: 60; background: rgba(20,17,10,.94); border: 1px solid rgba(255,215,94,.35); border-radius: 12px; padding: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.post-menu[hidden] { display: none; }
.post-menu button { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 700; padding: 9px 12px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.post-menu button:hover { background: rgba(255,255,255,.1); }
.post-menu svg { color: #ffd75e; }
/* 사진 버튼: 아이콘만 */
.wish-tog.icon-only { padding: 5px 8px; }
/* 나무 게시물 공유 동그라미: 카드 오른쪽 바깥(간격 14px), 아래 끝 맞춤 — 그 자리만 둥근 구멍 (wishes.js 92px·14px 와 같게) */
.post-pin .pin-bar { display: flex; justify-content: flex-end; align-items: flex-start; height: 106px; background: transparent; }
.post-pin .pin-share { position: absolute; right: 6px; top: 0; width: 50px; height: 50px; display: grid; place-items: center; color: #111; } /* 공유: 위 흰 칸 오른쪽, 손그림 아이콘(검정) */
.post-pin .pin-share svg { width: 46px; height: 46px; }
.post-pin .pin-ago { position: absolute; left: 1px; right: 1px; top: -49px; border-radius: 12px 12px 0 0; height: 54px; background: #fff no-repeat 0 0 / 326px 50px; pointer-events: none; } /* 카드 위 흰 칸: 'n일전' 손글씨(그림은 wishes.js) + 공유 · 아래로 4px 더 내려 인스타 창 위 끝(흰 부분)을 살짝 덮음 → 이음새 깜박임 없게 */
.hero.is-full .post-pin .pin-bar, .hero.is-full .post-pin .pin-share, .hero.is-full .post-pin .pin-ago { display: none; } /* 전체화면: 공유 숨김 */
.post-toast { position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%); z-index: 70; background: rgba(20,17,10,.92); color: #fff; font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 999px; pointer-events: none; }
.hero.is-full #wishToggle { display: none !important; } /* 전체화면: 사진 켜기/끄기 버튼 숨김 */
.post-back .post-pin iframe { clip-path: inset(1px round 0 0 12px 12px); border-radius: 0 !important; } .hero.is-full .post-back .post-pin iframe { clip-path: inset(1px round 12px); } /* 위 흰 칸과 붙는 위쪽은 각지게(전체화면은 흰 칸이 없어 둥글게) */ /* 인스타 창의 1px 회색 테두리를 잘라 냄 — 작게 줄여 움직일 때 하늘과 맞닿은 좌우 경계선이 깜박이던 것 */
/* 하단 고정 쿠팡 배너 안내: 휴대폰에서도 '광고' 캡슐 바로 옆에 붙여 한 줄로 (좁으면 글자 크기만 줄임) */
.cp-sticky .cp-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; box-sizing: border-box; padding: 0 6px; font-size: min(10px, 2.2vw); letter-spacing: -0.02em; line-height: 1.6; } /* 휴대폰은 ads.js 가 화면 너비에 맞게 글자 크기를 키움 */
.cp-sticky .cp-ad { font-size: 1em; padding: 0 .5em; margin-right: .4em; border-radius: 4px; vertical-align: 0; }
/* 핀 말풍선: 스크롤 칸 안의 것은 숨기고, 화면 위에 떠 있는 한 장(.pin-tip-float)으로 표시 — 위가 잘리지 않게 */
.pin .pin-tip { display: none !important; }
.pin-tip.pin-tip-float { position: fixed; bottom: auto; transform: none; z-index: 950; left: 0; top: 0; }
.pin-tip.pin-tip-float.on { opacity: 1; pointer-events: auto; }
.pin-tip.pin-tip-float::after { content: ""; position: absolute; top: 100%; left: var(--tx, 50%); width: 0; height: 0; margin-left: -7px; border: 7px solid transparent; border-top-color: #fff; border-bottom: 0; } /* 말풍선 꼬리 → 뉴스 핀 */
#speedInfo { display: inline-block; } #speedInfo[hidden] { display: inline-block !important; visibility: hidden; } /* 재생 안 할 때도 '1초 = 25일' 자리는 비워 둠 (버튼 고정) */
/* 상단 '실시간': 넓은 화면은 글자, 휴대폰은 빨간 점 + CCTV 아이콘 */
.nav-live .live-cam { display: none; }
/* 넓은 화면(아이패드·PC): 왼쪽 '● 실시간 CCTV' 버튼처럼 노란 바탕 + 빨간 점으로 강조 */
.nav :is(nav, .nav-group) > a.nav-live { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #251b00; font-weight: 800; }
.nav-live .live-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,77,61,.6); animation: rec 1.8s infinite; } /* 왼쪽 버튼의 빨간 점(.rec)과 같게 */
@media (max-width: 900px), (max-height: 500px) and (orientation: landscape) {
  .nav :is(nav, .nav-group) > a.nav-live { gap: 5px; padding-left: 10px; padding-right: 10px; }
  .nav-live .live-txt { display: none; }
  .nav-live .live-cam { display: block; width: 20px; height: 20px; }
  /* 메인 페이지: #SNS 도 상단에 바로 */
  .nav :is(nav, .nav-group) > a.nav-sns-main { display: inline-flex !important; align-items: center; height: 32px; box-sizing: border-box; padding: 0 11px; border-radius: 999px; font-weight: 800; font-size: 14px; }
}
@media (max-width: 380px) { .nav :is(nav, .nav-group) > a.nav-sns-main { height: 30px; padding: 0 9px; font-size: 13px; } }
/* 메인 휴대폰: 상단에 #SNS 자리를 내려고 D-day 캡슐의 '황금빛'은 뺌 */
@media (max-width: 430px) { body:has(.nav-sns-main, .nav-tree-main) .nav-dday .dd-gold { display: none; } }
/* 배속 버튼: 휴대폰(세로·가로)은 ×1 ×2 ×4 ×25, 아이패드·PC 는 ×8 까지 */
@media (max-width: 600px), (pointer: coarse) and (max-height: 500px) { #speedSeg button[data-s="8"] { display: none; } }
/* 상단 메뉴: 나무 보기 페이지 안의 메뉴(예측·실시간·방문 가이드·Q&A)와 '나무 보기'를 한 덩어리로 묶음 (넓은 화면) */
.nav-group { display: inline-flex; align-items: center; gap: 4px; padding: 3px; margin: -4px 0; /* 묶음 테두리 때문에 상단 줄 높이가 늘지 않게 → #SNS 페이지와 로고 위치 같음 */ border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
@media (max-width: 900px), (max-height: 500px) and (orientation: landscape) { .nav-group { display: contents; } } /* 휴대폰: 묶음 없이 지금처럼 */
.nav nav { align-items: center; } /* 나무 보기 묶음이 생겨도 #SNS 등 다른 버튼은 원래 높이 그대로 (늘어나지 않게) */
/* #SNS 페이지 휴대폰: 상단에 '나무 보기' 버튼 늘 보이게 (메인의 #SNS 버튼과 같은 크기) */
@media (max-width: 900px), (max-height: 500px) and (orientation: landscape) {
  .nav :is(nav, .nav-group) > a.nav-tree-main { display: inline-flex !important; align-items: center; height: 32px; box-sizing: border-box; padding: 0 12px; border-radius: 999px; font-weight: 800; font-size: 14px; white-space: nowrap; background: rgba(20,24,34,.55); border: 1px solid rgba(255,215,94,.35); }
}
@media (max-width: 380px) { .nav :is(nav, .nav-group) > a.nav-tree-main { height: 30px; padding: 0 10px; font-size: 13px; } }
.tl-peak b { pointer-events: auto; cursor: pointer; z-index: 7; } /* 초절정 예측 캡슐: 누르면 그 날짜로 */
.tl-today .today-hit { position: absolute; left: 50%; top: -16px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; pointer-events: auto; cursor: pointer; z-index: 7; } /* 오늘 선 위 동그라미: 누르기 쉬운 넓은 자리 */
/* 축제 정보 표 */
.fest-table { width: 100%; border-collapse: collapse; margin: 10px 0 12px; font-size: 13.5px; line-height: 1.5; color: #e9e0c8; font-variant-numeric: tabular-nums; }
.fest-table caption { text-align: left; font-weight: 800; color: #ffd75e; margin-bottom: 6px; font-size: 13.5px; }
.fest-table th, .fest-table td { padding: 7px 8px; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; vertical-align: top; }
.fest-table thead th { color: rgba(255,255,255,.6); font-weight: 700; font-size: 12px; border-bottom-color: rgba(255,215,94,.35); }
.fest-table tbody td:nth-child(1), .fest-table tbody td:nth-child(2) { white-space: nowrap; }
.fest-table tbody td:nth-child(1) { color: #ffd75e; font-weight: 700; }
.fest-table b { color: #ffd75e; }
.fest-info th { width: 4.8em; white-space: nowrap; color: rgba(255,255,255,.6); font-weight: 700; }
.fest-info td { color: #e9e0c8; white-space: normal !important; font-weight: 400 !important; } .fest-info tbody td:nth-child(2) { color: #e9e0c8; } /* 정보 표는 줄바꿈 허용 */
@media (max-width: 520px) { .fest-table { font-size: 12.5px; } .fest-table th, .fest-table td { padding: 6px 5px; } }

/* CCTV 버튼을 누르면 왼쪽 빨간 점이 바로 로딩 스피너로 바뀌고, 이동이 끝나면 되돌아옴 */
.nav-live.is-loading .live-dot { width: 10px; height: 10px; background: transparent; box-shadow: none; border: 2px solid rgba(37,27,0,.28); border-top-color: #251b00; animation: spin .7s linear infinite; }
@media (prefers-reduced-motion: reduce) { .nav-live.is-loading .live-dot { animation-duration: 2.4s; } }

/* #SNS 버튼: 누르면 '#'이 돌아가는 스피너로 */
.nav-sns .nav-spin { display: inline-block; width: 0.8em; height: 0.8em; margin-right: 3px; vertical-align: -1px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; opacity: .9; animation: spin .7s linear infinite; }

/* 상단 메뉴 터치 영역(테스트): JS가 --hz(위 오른 아래 왼 늘림)·--hzc(색)을 정함 */
header.nav [data-hz] { position: relative; }
header.nav [data-hz]::after { content: ""; position: absolute; inset: var(--hz, 0); pointer-events: auto; } /* 색 표시는 뺌 — 터치 영역만 유지 */

/* 상단 메뉴 롱프레스 방지: iOS 링크 미리보기·글자 선택·확대경이 뜨면서 탭이 씹히는 문제 */
header.nav, header.nav * { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
header.nav a, header.nav button { -webkit-user-drag: none; }
/* 걷기 모드 (10/31 테스트) */
.walk-btn[aria-pressed="true"] { color: #1a1406; background: #ffe066; border-color: #ffe066; }
@media (max-height: 500px) and (orientation: landscape) { .view-switch .walk-btn span { display: none; } }
.walk-hint { position: absolute; left: 16px; right: 64px; margin: 0 auto; top: calc(env(safe-area-inset-top,0px) + 76px); z-index: 6; max-width: 420px; padding: 9px 14px; border-radius: 12px; background: rgba(20,16,8,.72); color: #fff; font-size: 13.5px; line-height: 1.45; text-align: center; pointer-events: none; }
.walk-hint[hidden] { display: none; }
/* (걷기 모드에서도 제목·서브 문구·1년 보기는 그대로 보임 — 10/31) */
.walk-pick { border: 0; border-radius: 18px; padding: 20px 18px 16px; background: #1d1810; color: #fff; text-align: center; max-width: 320px; }
.walk-pick::backdrop { background: rgba(0,0,0,.45); }
.walk-pick .wp-t { margin: 0 0 14px; font-weight: 700; font-size: 16px; }
.walk-pick .wp-row { display: flex; gap: 10px; }
.walk-pick button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 14px; border: 1px solid rgba(255,224,102,.45); background: rgba(255,224,102,.1); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.walk-pick .wp-e { font-size: 40px; line-height: 1; }
.walk-pick .wp-s { margin: 12px 0 0; font-size: 12px; opacity: .7; }
.walk-grab { position: absolute; left: 50%; transform: translateX(-50%); bottom: 200px; z-index: 6; display: flex; align-items: center; gap: 6px; padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(20,16,8,.6); color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.walk-grab[hidden] { display: none; }
.walk-grab .wg-i { font-size: 20px; line-height: 1; }
.walk-grab.near { background: #ffe066; color: #1a1406; border-color: #ffe066; box-shadow: 0 0 0 6px rgba(255,224,102,.3), 0 0 24px rgba(255,224,102,.7); }
.walk-grab.miss { animation: wgMiss .3s; }
@keyframes wgMiss { 25% { transform: translateX(calc(-50% - 6px)); } 75% { transform: translateX(calc(-50% + 6px)); } }
.walk-swap { position: absolute; left: 16px; bottom: 200px; z-index: 6; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(20,16,8,.55); color: #fff; font-size: 17px; cursor: pointer; }
.walk-swap[hidden] { display: none; }
.walk-mv { position: absolute; left: 16px; top: calc(env(safe-area-inset-top,0px) + 70px); z-index: 6; display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(20,16,8,.6); color: #fff; font-size: 13px; font-weight: 600; }
.walk-mv[hidden] { display: none; }
.walk-mv .mv-t { padding: 0 6px; white-space: nowrap; }
.walk-mv button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; }
.walk-mv button:disabled { opacity: .3; cursor: default; }
body.walk-on .walk-hint { top: auto; }
/* 폭 521~760px(작은 태블릿·좁은 창): 걷기·게시물·사진·영상 버튼이 아래 가운데에서 타임라인과 겹치던 것 → 휴대폰처럼 오른쪽 위 세로 줄로 */
@media (min-width: 521px) and (max-width: 760px) { .hero:not(.is-full) .view-switch { top: calc(env(safe-area-inset-top, 0px) + 64px) !important; bottom: auto; right: var(--gutter-r); left: auto; transform: none; } }
.walk-mv { top: auto; }
/* 폭 521~760px(좁은 창·작은 태블릿)에서도 서브 문구·1년 보기 보이기 (전엔 이 폭에서만 숨겨져 있었음) */
@media (min-width: 521px) and (max-width: 760px) {
  .hero-sub { display: block !important; font-size: 14px; margin-top: 10px; max-width: 70%; }
  .hero-sub .hs-date { display: block; margin-top: 2px; opacity: .8; }
  .hero-cta { display: flex !important; margin-top: 12px; }
  .hero-cta a[href="#live"] { display: none; }
  .hero-cta .btn { padding: 8px 14px; font-size: 13.5px; }
}
/* 걷기 모드: 조작을 시작하면 위쪽 글(강원 원주 ~ 1년 보기)을 서서히 숨김 */
.hero-copy { transition: opacity .4s; }
body.walk-on.walk-play .hero-copy { opacity: 0; pointer-events: none; }
/* 멀티버스 고르기 (목록) */
.walk-mv { padding: 0; background: none; }
.walk-mv .mv-open { width: auto; height: auto; display: flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 999px; background: rgba(20,16,8,.6); color: #fff; font: inherit; font-size: 13px; font-weight: 600; }
.walk-mv .mv-open .mv-t { padding: 0; }
.walk-mv .mv-caret { font-size: 11px; opacity: .8; }
.walk-mv .mv-menu { position: absolute; left: 0; bottom: calc(100% + 6px); min-width: 190px; max-height: 240px; overflow-y: auto; padding: 6px; border-radius: 14px; background: rgba(20,16,8,.92); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.walk-mv .mv-menu[hidden] { display: none; }
.walk-mv .mv-item { display: block; width: 100%; height: auto; padding: 9px 10px; border-radius: 9px; background: none; color: #fff; font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.walk-mv .mv-item:hover:not(:disabled) { background: rgba(255,224,102,.15); }
.walk-mv .mv-item:disabled { opacity: .45; cursor: default; }
.walk-mv .mv-item.is-me { opacity: 1; color: #ffe066; }
.walk-mv .mv-wait { opacity: .7; }
.walk-pick .wp-face { width: 96px; height: 96px; margin: -6px 0 -2px; }
/* 잡기 버튼: 오른쪽 아래 (엄지로 누르기 쉽게) */
.walk-grab { left: auto; right: calc(env(safe-area-inset-right, 0px) + 16px); transform: none; }
.walk-grab.miss { animation: wgMiss2 .3s; }
@keyframes wgMiss2 { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
/* ▶ 1년 보기는 왼쪽, 배속·오늘·절정 예측일은 오른쪽에 붙임 (한 줄) */
.dock-actions { flex-wrap: nowrap; width: 100%; align-items: center; }
.dock-actions > * { flex: none; }
.dock-actions .play-year { margin-right: auto; white-space: nowrap; }
/* 넓은 화면: 위 줄의 전체화면 버튼 자리(오른쪽 104px)까지 써서 배속·오늘·절정 예측일을 오른쪽 끝에 맞춤 */
@media (min-width: 521px) { .dock-actions { width: calc(100% + 104px); margin-right: -104px; } }
/* 소원 공개/비공개 토글 (가운데 점이 좌우로) */
.wish-vis { align-items: center; gap: 8px; }
.wish-vis .wv-side { border: 0; background: none; padding: 4px 2px; font: inherit; font-size: 13.5px; color: inherit; opacity: .45; cursor: pointer; transition: opacity .15s; }
.wish-vis .wv-pub { opacity: 1; font-weight: 700; }
.wish-vis.is-priv .wv-pub { opacity: .45; font-weight: 400; }
.wish-vis.is-priv .wv-priv { opacity: 1; font-weight: 700; }
.wish-vis .wv-sw { position: relative; width: 46px; height: 26px; flex: none; padding: 0; border: 0; border-radius: 13px; background: rgba(0,0,0,.18); cursor: pointer; transition: background .2s; }
.wish-vis .wv-sw i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.wish-vis.is-priv .wv-sw { background: var(--leaf, #e0b020); }
.wish-vis.is-priv .wv-sw i { transform: translateX(20px); }
/* 잡기 버튼은 깜박이지 않음 — 대신 잡을 수 있는 잎이 깜박임 (walk.js) */
.walk-grab.near { animation: none; background: rgba(20,16,8,.6); color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
/* ── 메뉴 구성 (10/31 테스트) ── "/" 반계리 은행나무: 3D(걷기) + 타임라인만 · "/3d" 황금빛 초절정: 예측·CCTV·방문 가이드·Q&A */
html.page-walk main > section.section, html.page-walk main > section.feedback, html.page-walk footer.footer { display: none !important; }
html.page-walk .nav nav > .nav-group > a:not(.nav-live), html.page-walk .nav nav > a.nav-leaves { display: none !important; } /* 메인에서도 CCTV 버튼은 항상 보임 */
.nav-more-menu a.nav-main, .nav-more-menu a.nav-3d { font-weight: 700; }
.nav-more-menu a.nav-3d { margin-top: 4px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 10px; }
.nav-more-menu a.nav-leaves { border-top: 1px solid rgba(255,255,255,.1); margin-top: 4px; padding-top: 10px; }
html.page-walk .nav-more-menu a.nav-main, html.page-3d .nav-more-menu a.nav-3d { color: #ffe066; }
/* 걷기 모드에서 사진·영상 촬영: 걷기 화면 그대로, 잡기·멀티버스·안내 버튼만 숨김 */
body.cam-on .walk-grab, body.cam-on .walk-mv, body.cam-on .walk-hint { display: none !important; }
.nav-more-menu a[aria-current="page"] { color: #ffe066; }
/* 모든 페이지 상단 줄 같게 (nav.js) */
.nav-hide { display: none !important; }
.lv-head .lv-headbtns { display: flex; align-items: center; gap: 8px; }
.lv-head a.nav-live { display: inline-flex; align-items: center; gap: 6px; height: 32px; box-sizing: border-box; padding: 0 12px; border-radius: 999px; background: var(--gold); color: #251b00; font-weight: 800; font-size: 14px; text-decoration: none; }
@media (max-width: 900px), (max-height: 500px) and (orientation: landscape) { .lv-head a.nav-live { gap: 5px; padding: 0 10px; } }
@media (max-width: 380px) { .lv-head a.nav-live { height: 30px; } }
.nav nav > .nav-group > a:not(.nav-live) { display: none !important; } /* /3d 도 상단은 CCTV 만 (나머지는 ☰ 안) */
/* (위 규칙보다 우선) 상단 줄: 페이지 이름 버튼은 숨기고, CCTV 버튼은 어느 화면 폭에서도 보이게 */
.nav :is(nav, .nav-group) > a.nav-hide, .lv-headbtns > a.nav-hide { display: none !important; }
.lv-headbtns > a.nav-live { display: inline-flex !important; }
/* '주의 … 더 웅장해요!' 한 줄로 (좁은 화면에서도 글자를 줄여 한 줄) */
.dock-caution { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; letter-spacing: -0.02em; }
.dock-caution .cau-br { display: none !important; }
@media (max-width: 520px) { .dock-caution { font-size: min(12px, 2.55vw); text-align: center; margin-left: auto; margin-right: auto; } }
/* 휴대폰: 재생 안 할 때 '1초 = n일' 빈자리 없애서 1년 보기·배속·오늘·절정 예측일이 한 줄에 다 들어가게 */
@media (max-width: 520px) { #speedInfo[hidden] { display: none !important; } .dock-actions { gap: 5px; } .dock-actions .play-year { padding-left: 9px; padding-right: 9px; } }
/* 소원 창: 구글·애플 로그인 버튼 한 줄 */
.wish-login .wish-login-row { display: flex; flex-wrap: nowrap; gap: 8px; justify-content: center; margin-top: 8px; }
.wish-login .wish-login-row > * { flex: 1 1 0; min-width: 0; margin: 0 !important; white-space: nowrap; justify-content: center; font-size: 14px; padding-left: 10px !important; padding-right: 10px !important; }

/* 10/31: 소원 창 눈송이 아이콘 둘레에 나무 위 소원 점의 노란 빛 번짐(.wish-leaf 공통 규칙)이 묻어 나오던 것 없앰 */
.wish-dlg.is-snow .wish-leaf { box-shadow: none; animation: none; transform: none; border-radius: 0; }

/* 10/31: 내 잎 링크 — 공유하기 / 복사하기 두 버튼 */
.wish-share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wish-share-row .wish-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }

/* 11/1: 보는 범위 3칸 (공개 / 링크 공유 / 나만 보기) — 고른 칸으로 흰 바탕이 미끄러짐 */
.wish-vis3 { --i: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 4px auto 2px; max-width: 320px; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.14); }
.wish-vis3 .wv3-knob { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 999px; background: #fffaf0; box-shadow: 0 1px 4px rgba(60,40,0,.25); transform: translateX(calc(var(--i) * 100%)); transition: transform .22s ease; }
.wish-vis3 button { position: relative; z-index: 1; border: 0; background: none; padding: 7px 4px; font: inherit; font-size: 13.5px; color: inherit; opacity: .6; cursor: pointer; white-space: nowrap; }
.wish-vis3 button[aria-checked="true"] { opacity: 1; font-weight: 800; }
.wish-vis-hint { text-align: center; font-size: 12px; opacity: .75; margin: 2px 0 4px; min-height: 1.2em; }

/* 11/1: 멀티버스 표시가 타임라인 위 가장자리에 반쯤 걸침 → 타임라인보다 앞에 */
.walk-mv { z-index: 30; }

/* 11/1: 멀티버스 목록 열기 화살표 — 크게, 닫힘 > / 열림 ^ */
.walk-mv .mv-caret { width: 16px; height: 16px; font-size: 0; opacity: .95; margin-left: 2px; transition: transform .2s; }
.walk-mv .mv-open[aria-expanded="true"] .mv-caret { transform: rotate(-90deg); }

/* 11/1: 공유 창 (기기 공유 창을 못 쓸 때) */
.share-sheet { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.45); padding: 16px; }
@media (min-width: 600px) { .share-sheet { align-items: center; } }
.share-sheet .ss-card { width: 100%; max-width: 380px; background: #fffaf0; color: #1d1608; border-radius: 20px; padding: 14px 16px 16px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.5); }
.share-sheet .ss-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 16px; }
.share-sheet .ss-x { border: 0; background: none; font-size: 18px; cursor: pointer; color: inherit; padding: 4px 6px; }
.share-sheet .ss-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.share-sheet .ss-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px; border: 0; background: none; font: inherit; font-size: 12px; color: inherit; text-decoration: none; cursor: pointer; border-radius: 12px; }
.share-sheet .ss-item:hover { background: rgba(0,0,0,.05); }
.share-sheet .ss-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #f1e6c4; font-size: 20px; font-weight: 800; }
.share-sheet .ss-url { margin: 10px 0 0; font-size: 11.5px; opacity: .6; word-break: break-all; text-align: center; }

#wishDoneText { white-space: pre-line; }
.wish-dlg .share-sheet { position: fixed; }
/* 11/1: 공유 창 6칸 (카톡·스레드·인스타·문자·메일·링크 복사), 링크는 한 줄 … */
.share-sheet .ss-grid { grid-template-columns: repeat(6, 1fr); gap: 2px; }
.share-sheet .ss-ic { width: 42px; height: 42px; }
.share-sheet .ss-n { font-size: 11.5px; white-space: nowrap; }
.share-sheet .ss-url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; text-align: left; padding: 8px 10px; border-radius: 10px; background: rgba(0,0,0,.05); }
.share-sheet .ss-tip { margin: 8px 0 0; font-size: 12.5px; text-align: center; color: #7a4a00; font-weight: 700; }
@media (max-width: 360px) { .share-sheet .ss-grid { grid-template-columns: repeat(3, 1fr); row-gap: 8px; } }

/* 11/1: 넓은 화면에선 게시물 보기 버튼에 "카드" 글자도 (사진·영상 버튼처럼) */
.wish-tog.has-lbl { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; }

/* 11/1: 소원 창 — 로그인 전 '카드 걸기' 버튼은 꺼진 색으로 */
#wishSubmit[disabled] { background: rgba(29,22,8,.12) !important; color: rgba(29,22,8,.45) !important; border-color: transparent !important; box-shadow: none !important; opacity: 1; cursor: not-allowed; }
/* 소원 창이 휴대폰 한 화면에 다 들어오게 (높이가 낮은 화면에서 여백·글자 줄임) */
.wish-dlg { max-height: calc(100dvh - 16px); overflow: auto; }
@media (max-height: 820px) {
  .wish-card { padding: 18px 18px 14px; }
  .wish-card h2, #wishTitle { font-size: 17px; margin-top: 2px; margin-bottom: 8px; }
  .wish-card textarea { font-size: 16px; line-height: 1.5; padding: 9px 12px; }
  #wishText { height: 72px; }
  .wish-meta { margin: 2px 0 4px; }
  .wish-note { font-size: 12.5px; margin: 6px 0; }
  .wish-vis3 { margin-top: 2px; }
  .wish-vis3 button { padding: 6px 4px; }
  .wish-vis-hint { margin: 2px 0; }
  .wish-login { margin: 6px 0 4px; font-size: 13px; }
  .wish-login-row .wish-btn, .wish-login-row button { padding-top: 8px; padding-bottom: 8px; }
  .wish-actions { margin-top: 8px; }
  .wish-leaf-dot { width: 38px; height: 38px; top: 12px; right: 12px; }
}

/* 11/1: 소원 창이 떠 있는 동안 뒤 화면 스크롤 막기 */
html.dlg-lock, html.dlg-lock body { overflow: hidden; overscroll-behavior: none; }
html.dlg-lock body { position: fixed; left: 0; right: 0; width: 100%; }
.wish-vis3[hidden], .wish-vis-hint[hidden] { display: none !important; }

/* 11/1: 소원 창 — 개인정보 안내를 입력칸 바로 아래에 붙이고(글자 수는 오른쪽), 로그인 안내·버튼은 간격 두기 */
.wish-under { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 3px !important; }
.wish-under .wish-note { margin: 0 !important; }
.wish-under .wish-meta { margin: 2px 0 0 !important; flex: none; }
.wish-vis3 { margin-top: 22px !important; }
.wish-login { margin-top: 22px !important; }
.wish-actions { margin-top: 30px !important; }
@media (max-height: 820px) { .wish-vis3, .wish-login { margin-top: 18px !important; } .wish-actions { margin-top: 24px !important; } }

#wishText { display: block; margin-bottom: 0; } /* (글자 줄 아래 빈틈 없애서 개인정보 안내가 입력칸에 바로 붙게) */

#wishTitle { white-space: pre-line; }

/* 11/1: 메인 홈(아바타 3D)에서는 타임라인 혼잡도 바·이름 숨김 (황금빛 초절정 /3d 에서는 그대로) */
html.page-walk #peopleToggle, html.page-walk #tlCrowd { display: none !important; } /* (혼잡도 칩도 메인 홈에선 숨김) */
html.page-walk #crowdStrip { visibility: hidden !important; height: 22px !important; margin-top: 2px !important; } /* (줄은 비우고 날씨 줄을 그만큼 위로) */
html.page-walk .wx-row { top: 25px !important; }
html.page-walk .tl-label-wx { top: 25px !important; } /* (잎 색 캡슐과 겹치지 않게 한 줄 아래) */

.wish-login .wish-login-msg { display: block; margin-top: 10px; }
.wish-login .wish-consent { display: block; margin-top: 2px; }

/* 11/1: 첫 안내(반짝이는 나뭇잎)는 한 줄로 — 좁은 화면은 글자를 줄여서 */
.wish-toast.is-hint { white-space: nowrap; max-width: none; font-size: clamp(10.5px, 2.95vw, 14px); padding-left: 12px; padding-right: 12px; }

.wish-toast.is-hint { pointer-events: auto; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding-right: 6px; }
.wish-toast.is-hint[hidden] { display: none; }
.wish-toast .wt-x { border: 0; background: rgba(255,255,255,.14); color: #fff; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; line-height: 22px; padding: 0; cursor: pointer; flex: none; }

/* 11/1: 캐릭터를 고른 뒤 3D 준비 중 작은 로딩 표시 */
.walk-wait { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3000; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(20,16,8,.78); color: #fff; font-size: 14px; pointer-events: none; }
.walk-wait[hidden] { display: none; }
.walk-wait i { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,224,102,.3); border-top-color: #ffe066; animation: walkSpin .8s linear infinite; will-change: transform; }
@keyframes walkSpin { to { transform: rotate(360deg); } }

/* 11/1 메인 홈: 배속 표시를 시기 캡슐 오른쪽에 */
html.page-walk .dock-date { position: relative; }
.dock-date #speedInfo { position: absolute; top: 50%; transform: translateY(-50%); min-width: 0 !important; margin: 0; padding: 0; border-radius: 0; background: none; font-size: 12px; white-space: nowrap; pointer-events: none; } /* 캡슐 없이 글자만, 흐름 밖(흔들림 없음) */
.dock-date #speedInfo[hidden] { display: none !important; }
/* 11/1 좁은 화면도 시간·해 높이 | 시간 막대(줄임) | 지금 | ▶ 하루 를 한 줄에 */
@media (max-width: 760px) {
  .time-row { column-gap: 6px !important; }
  .time-row .tm-track { grid-column: 2 !important; grid-row: 1 / span 2 !important; }
  .time-row .mini { grid-row: 1 / span 2 !important; align-self: center; font-size: 12px; padding: 5px 8px; }
  .time-row #tmNow { grid-column: 3 !important; } .time-row #tmPlay { grid-column: 4 !important; }
}
/* 11/1 월 표시와 시간 줄 간격 줄임 */
.time-row { margin-top: 4px !important; }
/* 11/1 메인 홈: 가운데 선택 핸들은 날씨 줄 아래 경계까지만 */
html.page-walk .tl-center { height: 53px; } /* 핵심 구간 노란 박스 아래 경계까지 */
/* 11/1 순서: 시간 | ▶ 하루 | 지금 | 시간 막대 */
.time-row { grid-template-columns: max-content auto auto minmax(0, 1fr) !important; }
.time-row #tmPlay { grid-column: 2 !important; grid-row: 1 / span 2 !important; }
.time-row #tmNow { grid-column: 3 !important; grid-row: 1 / span 2 !important; }
.time-row .tm-track { grid-column: 4 !important; grid-row: 1 / span 2 !important; }
/* 11/1 메인 홈(아바타): 주의 문구 빼고, 휴대폰은 한 화면에 고정(아래로 스크롤 없음) */
html.page-walk .dock-caution { display: none !important; }
@media (max-width: 760px), (max-height: 500px) and (orientation: landscape) and (pointer: coarse) {
  html.page-walk, html.page-walk body { overflow: hidden; overscroll-behavior: none; height: 100%; }
  html.page-walk .hero:not(.is-full) { height: 100svh !important; padding-bottom: 0 !important; }
}
/* 11/1 시간 선택 손잡이: 위 타임라인 가운데 핸들과 같은 흰 세로 막대 */
.tm-knob { width: 4px !important; height: 28px !important; margin: -4px 0 0 -2px !important; border: 0 !important; border-radius: 2px !important; background: #fff !important; box-shadow: 0 0 0 1.5px rgba(0,0,0,.45), 0 0 8px rgba(255,215,94,.8) !important; }
/* 11/1 황금빛 초절정(3D) 페이지도 메인 홈처럼: 줄 간격·월 표시 좁게, 가운데 핸들은 날씨 줄 아래 끝까지 */
html:not(.page-walk) .tl-label-wx { top: 48px !important; }
html:not(.page-walk) .wx-row { top: 50px; }
html:not(.page-walk) .track .months { margin-top: 18px; }
html:not(.page-walk) .tl-center { height: 68px; }
/* 11/1 캐릭터 고르기: 모달 대신 — 뒤 화면은 막(18)으로 가리고, 상단 메뉴(20)는 그 위라 눌림 */
.walk-pick { position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 19; }
.walk-pick-bg { position: fixed; inset: 0; z-index: 18; background: rgba(0,0,0,.45); }
.walk-pick-bg[hidden] { display: none; }
/* 11/1 멀티버스 목록은 한 줄로 (시기까지 들어가 길어짐) */
.walk-mv .mv-menu { width: max-content; max-width: calc(100vw - 32px); }
.walk-mv .mv-item { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.walk-mv .mv-ph { color: color-mix(in srgb, var(--leaf, #f2c51e) 60%, #fff); font-weight: 700; } /* 11/1 시기 색 */
/* 11/1 아이폰 사파리가 아주 넓은 줄(타임라인 월 표시 등)의 글자를 멋대로 키우지 않게 */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.cam-on .wish-toast.is-hint { display: none !important; } /* 11/1 촬영 중엔 첫 안내 숨김(촬영 버튼 가림) */
/* 11/1 촬영 버튼 줄: 프레임 | 촬영(가운데) | 취소 */
.cam-bar .cam-btns { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; width: min(92vw, 420px); }
.cam-bar .cam-btns .cam-frames { justify-self: end; margin: 0; }
.cam-bar .cam-btns [data-a="x"] { justify-self: start; }
.cam-bar .cam-btns .cam-shutter { grid-column: 2; }
/* 11/1 촬영 버튼 줄: 타임라인 위에 작게 */
.cam-bar .cam-btns .btn, .cam-bar .cam-btns .cam-frames button { font-size: 13px; padding: 7px 14px; min-height: 0; height: auto; }
.cam-bar .cam-btns .cam-shutter { padding: 8px 18px; }
/* 11/1 촬영 버튼: 프레임 글자와 겹치지 않게 오른쪽에 세로로 (위→아래: 프레임·촬영·취소), 타임라인 위 */
.cam-bar { left: auto !important; right: 14px; transform: none !important; justify-items: end; }
.cam-bar .cam-btns { display: flex !important; flex-direction: column; align-items: stretch; width: auto !important; gap: 8px; }
.cam-bar .cam-btns .cam-frames { justify-self: auto; display: flex; }
.cam-bar .cam-btns .cam-frames button, .cam-bar .cam-btns .btn { width: 100%; justify-content: center; }
/* 11/1 폭 381~520px(아이폰 390·아이패드 속 스레드 앱 등): 상단 줄이 넘쳐 계정 아이콘이 잘리던 것 → 375px 화면과 같은 크기·간격 */
@media (min-width: 381px) and (max-width: 520px) {
  .nav { gap: 4px !important; padding-left: 12px !important; padding-right: 12px !important; }
  .nav .brand { font-size: 14px; }
  .nav .nav-dday { font-size: 11.5px; padding: 3px 6px; margin-left: 4px !important; }
  .nav nav, .nav .nav-group { gap: 3px !important; }
  .nav .nav-live { padding: 6px 10px; font-size: 13px; }
  .nav .nav-more, .nav .nav-more > button, .nav .lv-user-btn { width: 30px; height: 30px; }
}
@media (max-width: 370px) { .nav { padding-left: 10px !important; padding-right: 8px !important; } .nav .brand, .lv-head .brand { font-size: 13px; } .nav .nav-dday, .lv-head .nav-dday { font-size: 10.5px; padding: 3px 5px; } } /* 11/1 아주 좁은 폰(360) */
/* 11/1 넓은 화면(아이패드·PC)에서도 ☰ 메뉴 보이기 — 상단엔 CCTV만 남겨서 다른 페이지로 갈 길이 없던 것 */
.nav-more, .lv-headbtns .nav-more { display: block; }
.nav nav { align-items: center; }
.nav-more-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; cursor: pointer; padding: 0; background: rgba(0,0,0,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-more-btn[aria-expanded="true"] { background: rgba(0,0,0,.45); }
.nav-more-menu { min-width: 150px; }
.nav-more-menu[hidden] { display: none; }
.nav-more-menu a { display: block !important; color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 700; padding: 10px 12px; border-radius: 10px; background: transparent !important; backdrop-filter: none !important; }
.nav-more-menu a:hover { background: rgba(255,255,255,.08) !important; }
.lv-headbtns > a:not(.nav-live) { display: none !important; }
.lv-headbtns .nav-more-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; }
/* 11/1 넓은 화면: ☰ 안의 메뉴를 상단에 모두 펼침 (nav.js) — [황금빛 초절정 D-n · 예측 · CCTV · 방문 가이드 · Q&A] [카드 보기] [#SNS], ☰·D-n 알약·오른쪽 CCTV 버튼은 숨김 */
.nav-sub3d { display: none; }
@media (min-width: 901px) and (min-height: 501px) {
  .nav-sub3d { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; }
  .nav-sub3d.nav-rest { margin-right: auto; }
  .nav-sub3d:not(.nav-rest) { padding: 3px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); } /* 황금빛 초절정 묶음: 하위 캡슐들을 큰 캡슐이 감쌈 (예전처럼) */
  .nav-sub3d a.nav-wide { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; background: rgba(0,0,0,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } /* 메뉴마다 캡슐 따로 (예전처럼) */
  .nav-sub3d a.nav-wide:hover { background: rgba(0,0,0,.4); }
  .nav-sub3d a.nav-wide-head { color: #fff; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding-left: 9px; } /* 루트 메뉴라 캡슐 없음 */
  .nav-sub3d a.nav-wide-head:hover { background: none; }
  .nav-sub3d a.nav-wide-head b { padding: 1px 7px; border-radius: 999px; background: var(--gold); color: #251b00; font-size: 12.5px; }
  .nav-sub3d a.nav-wide[aria-current="page"] { color: #ffe066; } /* 지금 페이지: 글자 색만 금빛 */
  .nav-sub3d a.nav-wide-head[aria-current="page"] { color: #ffe066; background: none; box-shadow: none; text-shadow: 0 0 10px rgba(255,214,90,.55); } /* (황금빛 초절정은 캡슐 없는 루트: 밝은 금빛 글자만) */
  .nav-sub3d a.nav-wide-sns[aria-current="page"] { color: #ffe066; }
  .nav-sub3d a.nav-wide-live { background: var(--gold); color: #251b00; font-weight: 800; }
  .nav-sub3d a.nav-wide-live:hover { background: var(--gold); filter: brightness(1.05); }
  .nav-sub3d a.nav-wide-sns { background: linear-gradient(45deg, #7b3ff2, #e1306c, #f77737); }
  .lv-head .nav-sub3d a.nav-wide:not(.nav-wide-live):not(.nav-wide-sns):not(.nav-wide-head) { background: rgba(255,255,255,.08); }
  html body header :is(nav, .nav-group, .lv-headbtns) > a.nav-live { display: none !important; }
  html body .nav .nav-group { display: none !important; }
  html body header .nav-dday, html body header .nav-more { display: none !important; }
  .nav-sub3d .live-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: rec 1.8s infinite; }
}
/* 11/1 메인 홈(아바타) 넓은 화면(아이패드·PC)도: 한 화면에 고정, 타임라인을 화면 맨 아래에 붙임 */
@media (min-width: 761px) {
  html.page-walk, html.page-walk body { overflow: hidden; overscroll-behavior: none; height: 100%; }
  html.page-walk .hero:not(.is-full) { position: fixed; inset: 0; height: auto !important; padding-bottom: 0 !important; } /* 화면에 붙임: 아이패드 사파리는 overflow:hidden 이어도 손가락으로 끌면 페이지가 밀려 올라간 채 남음 → 끌어도 그대로 */
  html.page-walk .hero:not(.is-full) .dock { bottom: 0 !important; padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)) !important; border-bottom: 0 !important; } /* 아래 여백: 홈 막대 자리만 */
  html.page-walk .dock-foot:has(#tlDesc:empty) { display: none; } /* (빈 설명 줄 10px 없앰) */
}
/* 11/1 페이지를 옮겨도 상단 메뉴는 그 자리에 그대로 (브라우저 페이지 전환: 크롬·iOS 18.2+ 사파리, 안 되는 곳은 예전처럼) */
@view-transition { navigation: auto; }
header.nav, header.lv-head { view-transition-name: site-nav; }
::view-transition-group(site-nav) { animation: none; }
::view-transition-old(site-nav) { animation: none; opacity: 0; }
::view-transition-new(site-nav) { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
/* 11/1 황금빛 초절정 칸 선택 표시(밑줄): 지금 보고 있는 예측·CCTV·방문 가이드·Q&A */
.nav-sub3d a.nav-wide[aria-current="location"] { color: #ffe066; } /* 선택: 글자 색만 금빛 */
.nav-sub3d a.nav-wide-live[aria-current="location"] { color: #fff; text-shadow: 0 1px 2px rgba(80,50,0,.45); } /* (실시간 CCTV는 금색 캡슐이라 글자를 흰색으로) */
.nav-more-menu a.nav-sub[aria-current="location"] { color: #ffe066; }
/* 11/1 상단 메뉴로 다른 페이지 가는 중: 누른 버튼 살짝 흐리게 (#SNS는 스피너) */
header a.is-going:not(.nav-sns):not(.nav-wide-sns), #navMoreMenu a.is-going { opacity: .6; }
.nav-wide-sns .nav-spin { display: inline-block; width: 0.8em; height: 0.8em; margin-right: 3px; vertical-align: -1px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; opacity: .9; animation: spin .7s linear infinite; }
/* 11/1 지금 페이지가 메인이면 '반계리 은행나무'도 선택 표시 (황금빛 초절정처럼 캡슐 없는 루트: 밝은 금빛 글자 + 은은한 빛) */
header .brand[aria-current="page"] { color: #ffe066; text-shadow: 0 0 10px rgba(255,214,90,.55), 0 1px 8px rgba(0,0,0,.35); }
/* 11/2 메인 오른쪽 위 [카드] [사진] [영상] 캡슐: 글자가 보이는 화면에선 같은 너비 */
@media (min-width: 521px) and (min-height: 501px) {
  .view-switch .wish-tog, .view-switch .photo-btn { min-width: 70px; height: 33px; padding-left: 10px; padding-right: 10px; box-sizing: border-box; justify-content: center; display: inline-flex; align-items: center; }
}
/* 11/2 [나무 한 바퀴] 버튼: 하단 가운데 (타임라인 위 가장자리에 반쯤 걸침 — 멀티버스 표시와 같은 높이) */
.walk-lap { position: absolute; left: 50%; transform: translateX(-50%); z-index: 6; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 0; border-radius: 999px; background: rgba(20,16,8,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.walk-lap[hidden] { display: none; }
.walk-lap[aria-pressed="true"] { color: #ffe066; }
html.page-3d .walk-lap, .hero.is-full .walk-lap { display: none; }
@media (max-width: 420px) { .walk-lap { padding: 8px; } .walk-lap .lap-t { display: none; } } /* 좁은 휴대폰: 멀티버스 표시와 겹치지 않게 아이콘만 */
