/* 북 워킹 모바일 웹 — 기획 리뷰 문서(book_walking.html)의 톤을 따른다:
   Crisp White(#FFFFFF) + Cobalt(#2563EB/#1E3A8A) + Teal(#0F766E), 머리선(hairline) 구분, 0px 이미지 모서리, 숫자는 JetBrains Mono */
:root {
  --paper: #FFFFFF; --ink: #111317; --ink2: #272C35; --mute: #4B5563; --hair: #DCE1E7; --soft: #F3F6FA;
  --accent: #2563EB; --accent-text: #1E3A8A; --teal: #0F766E; --teal-text: #115E59; --warn: #B45309; --bad: #991B1B;
  --sans: 'Plus Jakarta Sans', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --tabbar: 62px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: rgba(37,99,235,.12); overscroll-behavior-y: contain; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--accent-text); text-underline-offset: 3px; }
h1, h2, h3 { letter-spacing: -0.015em; line-height: 1.3; text-wrap: balance; }
h2 { font-size: 21px; margin: 0 0 12px; }
h3 { font-size: 16px; margin: 0 0 6px; }
em { font-style: normal; color: var(--mute); font-size: 12px; font-weight: 400; margin-left: 4px; }
.muted { color: var(--mute); font-size: 14px; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); border: 1px solid var(--hair); background: #fff; padding: 10px 12px; border-radius: 0; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.primary { background: var(--accent-text); color: #fff; border: 0; padding: 12px 18px; font-weight: 700; }
.primary:disabled { opacity: .55; }
.primary.block, .block { width: 100%; }
.ghost { background: #fff; color: var(--accent-text); border: 1px solid var(--hair); padding: 8px 12px; font-weight: 600; }
.small { font-size: 13px; padding: 6px 10px; white-space: nowrap; }
.row { display: flex; gap: 8px; align-items: flex-end; }
.row > .field { margin-bottom: 0; }
.plan-form > .row { margin-bottom: 14px; }
.diary-form .row { margin-bottom: 14px; }
#btnLocate { height: 45px; }
.grow { flex: 1; }
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink2); margin-bottom: 6px; }
.msg { color: var(--bad); font-size: 14px; min-height: 1.2em; }

/* 로그인 */
.login-view { min-height: 100vh; display: grid; place-items: start center; padding: 48px 22px; }
.login-card { width: 100%; max-width: 420px; }
.eyebrow { font-family: var(--mono); font-size: 12px; color: var(--accent-text); letter-spacing: .04em; margin: 0 0 10px; }
.login-card h1 { font-size: 30px; font-weight: 800; margin: 0 0 12px; border-top: 2px solid var(--ink); padding-top: 16px; }
.deck { color: var(--ink2); margin: 0 0 24px; }
.remember { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--mute); margin: -4px 0 14px; }
.remember input { width: auto; }
.login-card .primary { width: 100%; }
.signup { display: block; margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-weight: 700; text-decoration: none; }
.server-line { font-family: var(--mono); font-size: 11px; color: var(--mute); margin-top: 12px; word-break: break-all; }
dialog { border: 1px solid var(--hair); padding: 22px; max-width: 380px; width: calc(100% - 32px); }
dialog::backdrop { background: rgba(17, 19, 23, .45); }

/* 앱 셸 */
.app { max-width: 640px; margin: 0 auto; padding-bottom: calc(var(--tabbar) + 24px + env(safe-area-inset-bottom)); }
.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--hair); backdrop-filter: blur(6px); }
.brand { display: flex; gap: 10px; align-items: center; }
.brand b { display: block; font-size: 17px; line-height: 1.1; }
.brand small { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.top-right { display: flex; gap: 8px; align-items: center; }
.timer { font-family: var(--mono); font-size: 13px; color: var(--accent-text); }
.timer.warn { color: var(--warn); } .timer.crit { color: var(--bad); }
main { padding: 18px 16px; }
.tab { display: none; } .tab.active { display: block; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--hair); }
.tabbar button { background: none; border: 0; font-size: 12px; color: var(--mute); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.tabbar button span { font-size: 18px; }
.tabbar button.active { color: var(--accent-text); font-weight: 700; box-shadow: inset 0 2px 0 var(--accent); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar) + 16px); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 14px; font-size: 14px; z-index: 9; max-width: 90%; }

/* 칩 */
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chip { flex: none; border: 1px solid var(--hair); background: #fff; padding: 7px 11px; font-size: 14px; color: var(--ink2); }
.chip[aria-checked="true"] { background: var(--accent-text); border-color: var(--accent-text); color: #fff; font-weight: 700; }
.plan-form { border-top: 2px solid var(--ink); padding-top: 14px; }

/* 결과 */
.result { margin-top: 28px; }
.loading { padding: 28px 0; color: var(--mute); border-top: 1px solid var(--hair); }
.loading b { color: var(--accent-text); font-family: var(--mono); }
.metric-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--hair); padding: 14px 0; margin-bottom: 18px; }
.metric-strip.small { margin-bottom: 14px; }
.metric { padding: 0 10px; border-left: 1px solid var(--hair); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric-num { font-family: var(--mono); font-size: 26px; font-weight: 500; line-height: 1.1; color: var(--accent-text); white-space: nowrap; }
.metric-num.go { color: var(--teal-text); } .metric-num.caution { color: var(--warn); } .metric-num.indoor { color: var(--bad); }
.metric-label { font-size: 12px; color: var(--mute); line-height: 1.4; margin-top: 4px; }
.card-lines { font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--accent-text); border-left: 3px solid var(--accent); padding-left: 14px; margin: 0 0 18px; }
.card-lines p { margin: 0 0 2px; }
.sec { border-top: 1px solid var(--hair); padding-top: 16px; margin-top: 20px; }
.sec h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sec h3 small { font-weight: 400; font-size: 12px; color: var(--mute); }
.reasons { margin: 6px 0 0; padding-left: 18px; color: var(--ink2); font-size: 14px; }
.reasons li { margin-bottom: 4px; }
.hours { display: flex; overflow-x: auto; border: 1px solid var(--hair); margin-top: 10px; }
.hour { flex: none; width: 56px; text-align: center; padding: 6px 0; border-left: 1px solid var(--hair); font-size: 12px; }
.hour:first-child { border-left: 0; }
.hour b { display: block; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.hour .pop { color: var(--accent); font-family: var(--mono); }
.course { padding: 12px 0; border-bottom: 1px solid var(--hair); }
.course:last-child { border-bottom: 0; }
.course .meta { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.course p { font-size: 14px; color: var(--ink2); margin: 6px 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 6px; border: 1px solid currentColor; margin-right: 4px; }
.tag.go { color: var(--teal-text); } .tag.caution { color: var(--warn); } .tag.indoor { color: var(--bad); }
.links a { font-size: 13px; margin-right: 12px; }
.book { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.book:last-child { border-bottom: 0; }
.book img { width: 76px; height: 108px; object-fit: cover; border-radius: 0; border: 1px solid var(--hair); background: var(--soft); }
.book .t { font-weight: 700; line-height: 1.35; }
.book .a { font-size: 13px; color: var(--mute); }
.book .i { font-size: 13px; color: var(--ink2); margin: 6px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.book .acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.book .acts a, .book .acts button { font-size: 13px; }
.book-grid .book { grid-template-columns: 64px 1fr; }
.book-grid .book img { width: 64px; height: 92px; }
.places { list-style: none; padding: 0; margin: 0; }
.places li { padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.places li:last-child { border-bottom: 0; }
.places .d { font-family: var(--mono); font-size: 12px; color: var(--mute); white-space: nowrap; }
.audio { background: var(--soft); border-top: 2px solid var(--accent); padding: 14px; margin-top: 20px; }
.audio p.script { white-space: pre-line; font-size: 15px; color: var(--ink2); margin: 10px 0; }
.audio audio { width: 100%; margin-top: 6px; }
.sources { font-size: 12px; color: var(--mute); margin-top: 22px; border-top: 1px solid var(--hair); padding-top: 10px; }
.sources span { display: inline-block; margin-right: 10px; }
.sources .bad { color: var(--bad); }
.attribution { font-size: 12px; color: var(--mute); margin-top: 14px; }
.filters { margin: 10px 0; } .filters label { font-size: 13px; color: var(--mute); display: flex; gap: 6px; align-items: center; } .filters select { width: auto; padding: 6px 8px; }
#searchForm { margin-bottom: 8px; }
.diary-form { border-top: 2px solid var(--ink); padding-top: 14px; }
.diary-form .row .field { flex: 1; }
.diary-list { list-style: none; padding: 0; margin: 20px 0 0; }
.diary-list li { border-top: 1px solid var(--hair); padding: 12px 0; }
.diary-list .when { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.empty { color: var(--mute); font-size: 14px; padding: 18px 0; border-top: 1px solid var(--hair); }
@media (min-width: 700px) { main { padding: 28px 24px; } .card-lines { font-size: 20px; } }

/* ---- 모바일 최적화(v0.1.1): 390px 기준, 손가락 터치 44px, iOS 자동 확대 방지(입력 16px) ---- */
.top { padding-top: max(10px, env(safe-area-inset-top)); }
.chip, .ghost, .primary, .tabbar button { min-height: 44px; }
.chip { display: inline-flex; align-items: center; }
.links { display: flex; flex-wrap: wrap; gap: 4px 0; }
.links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px 0 0; }
.places li a { display: inline-block; padding: 4px 0; }
.book .acts a { min-height: 40px; display: inline-flex; align-items: center; }
input, select, textarea { font-size: 16px; }
@media (max-width: 480px) {
  main { padding: 14px 14px; }
  h2 { font-size: 19px; }
  .metric { padding: 0 8px; }
  .metric-num { font-size: 22px; }
  .metric-label { font-size: 11.5px; }
  .card-lines { font-size: 16px; padding-left: 12px; }
  .chip { padding: 6px 10px; font-size: 14px; }
  .course .meta { font-size: 11.5px; line-height: 1.5; }
  .hour { width: 52px; }
  .plan-form > button.primary { position: sticky; bottom: calc(var(--tabbar) + 8px + env(safe-area-inset-bottom)); z-index: 3; box-shadow: 0 6px 16px rgba(17,19,23,.18); }
}

.admin-link { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }

/* ---- v0.1.3: 기록·의견·오늘의 추천·자주 걷는 곳·설정(frontend-go-fishing 기능을 북 워킹 톤으로) ---- */
.icon-btn { background: #fff; border: 1px solid var(--hair); min-width: 44px; min-height: 44px; font-size: 18px; line-height: 1; padding: 0; }
.top-right { gap: 6px; }
.notes { margin: 18px 0 0; border-top: 1px solid var(--hair); padding-top: 10px; font-size: 13px; color: var(--mute); }
.notes summary { cursor: pointer; font-weight: 700; color: var(--ink2); min-height: 32px; }
.notes ul { padding-left: 18px; margin: 8px 0 0; } .notes li { margin-bottom: 6px; }
.pre { white-space: pre-line; } .small-text { font-size: 12.5px; }
dialog .row.end { justify-content: flex-end; margin-top: 14px; } .row.between { justify-content: space-between; align-items: center; } .row.between h2 { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.link-as-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; }
.today-tip { margin: 12px 16px 0; border-top: 2px solid var(--accent); background: var(--soft); padding: 12px 14px; }
.today-tip-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--accent-text); }
.today-tip-head button { background: none; border: 0; font-size: 16px; min-width: 40px; min-height: 40px; color: var(--mute); }
.today-tip p { margin: 6px 0; font-size: 14.5px; color: var(--ink2); }
.today-tip-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ai-lock { margin: 12px 16px 0; padding: 14px; border: 1px solid #FCA5A5; background: #FEF2F2; } .ai-lock h2 { font-size: 16px; margin: 0 0 4px; color: var(--bad); } .ai-lock p { margin: 0; font-size: 14px; }
.history .hist-day { border-top: 1px solid var(--hair); padding: 4px 0; } .hist-day summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; cursor: pointer; font-size: 15px; }
.hist-item { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--hair); }
.hist-item img { width: 48px; height: 68px; object-fit: cover; border: 1px solid var(--hair); }
.hist-item .acts { display: flex; gap: 8px; margin-top: 6px; }
.opinion-form { border-top: 2px solid var(--ink); padding-top: 14px; }
.stars { display: flex; gap: 4px; } .star { background: none; border: 0; font-size: 30px; line-height: 1; min-width: 44px; min-height: 44px; color: #CBD5E1; } .star.on { color: #F59E0B; }
#placesDialog .places li { align-items: center; }
.tabbar { grid-template-columns: repeat(5, 1fr); } .tabbar button { font-size: 11.5px; }
@media (max-width: 380px) { .brand small { display: none; } .top-right .ghost { padding: 8px 9px; } }
/* 헤더 한 줄 유지(390px): 버튼 글자 줄바꿈 금지, 부제 숨김 */
.top { gap: 8px; padding-left: 12px; padding-right: 12px; }
.top-right .ghost, .admin-link { white-space: nowrap; padding: 8px 10px; font-size: 13px; }
.top-right .icon-btn { min-width: 40px; }
@media (max-width: 480px) { .brand small { display: none; } .brand b { font-size: 16px; } .brand img { width: 26px; height: 26px; } .timer { font-size: 12px; } .top-right { gap: 4px; } .top-right .icon-btn { min-width: 38px; font-size: 16px; } }

/* 목적지 상세: 작은 화면에서도 입력·조회 결과를 한 열로 읽는다. */
#destinationDialog { max-width: 560px; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; overflow-wrap: anywhere; }
.dest-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dest-head .eyebrow { margin-bottom: 3px; }
.dest-head button { flex: none; }
.dest-open { margin: 4px 8px 4px 0; min-height: 44px; }
#destInfo { padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
#destInfo p, #destResult p { margin: 6px 0; }
#destCar { min-width: 0; margin: 0 0 14px; padding: 12px; border: 1px solid var(--hair); }
#destCar legend { font-weight: 700; }
.dest-inputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
#destResult section { margin-top: 16px; border-top: 1px solid var(--hair); padding-top: 12px; }
#destResult ul { list-style: none; padding: 0; margin: 0; }
#destResult li { margin: 10px 0; }
#destResult small { display: block; color: var(--mute); }
@media (max-width: 390px) { #destinationDialog { padding: 16px; } .dest-inputs { grid-template-columns: 1fr; } }

/* ==== 디자인 리프레시 v0.2.0 (Canva 시안): 숲 초록 + 따뜻한 종이색, 둥근 카드, 큰 글씨, 모든 연령 ====
   색: 배경 #F7F5EF · 카드 #FFF · 주색 숲 초록 #2F6B4F · 글자 #1F2A24 · 날씨 하늘 #3B82C4 · 주의 앰버 #B7791F · 실내 #B4443A */
:root {
  --paper: #F7F5EF; --card: #FFFFFF; --ink: #1F2A24; --ink2: #34403A; --mute: #5F6B64; --hair: #E4E0D6; --soft: #EEF4EF;
  --accent: #2F6B4F; --accent-text: #24553F; --accent-soft: #E6F0E9; --sky: #3B82C4; --sky-soft: #EAF3FB;
  --teal: #2F6B4F; --teal-text: #24553F; --warn: #A86A12; --bad: #B4443A; --sun: #F2C14E;
  --sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif; --mono: 'Noto Sans KR', -apple-system, sans-serif;
  --r: 16px; --r-sm: 12px; --shadow: 0 1px 2px rgba(31,42,36,.05), 0 4px 14px rgba(31,42,36,.06);
}
html, body { background: var(--paper); color: var(--ink); }
h2 { font-weight: 800; }
input, select, textarea { border-radius: var(--r-sm); border-color: var(--hair); background: #fff; min-height: 48px; }
textarea { min-height: 72px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.primary { background: var(--accent); border-radius: var(--r-sm); min-height: 52px; font-size: 16px; letter-spacing: -.01em; }
.primary:active { background: var(--accent-text); }
.primary.small { min-height: 44px; font-size: 14px; }
.ghost { border-radius: var(--r-sm); color: var(--accent-text); border-color: var(--hair); }
.ghost:active { background: var(--accent-soft); }
.field > span { color: var(--ink); font-size: 14px; }
dialog { border: 0; border-radius: 20px; box-shadow: 0 20px 50px rgba(31,42,36,.25); background: #fff; }
dialog::backdrop { background: rgba(31,42,36,.45); }

/* 로그인 */
.login-view { padding: 28px 18px 40px; }
.login-card { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; overflow: hidden; }
.login-hero { display: block; width: calc(100% + 44px); height: 150px; margin: -22px -22px 20px; object-fit: cover; }
.eyebrow { font-family: var(--sans); font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.login-card h1 { border-top: 0; padding-top: 0; font-size: 27px; line-height: 1.35; }
.deck { color: var(--mute); font-size: 15px; }
.signup { border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 14px 16px; text-align: center; color: var(--accent-text); background: var(--accent-soft); }
.notes { border-top: 0; }
.server-line { text-align: center; }

/* 앱 셸 */
.top { background: rgba(247,245,239,.94); border-bottom: 1px solid var(--hair); }
.brand img { border-radius: 8px; }
.brand b { font-weight: 800; color: var(--ink); }
.icon-btn { border-radius: 12px; border-color: var(--hair); display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); }
.icon-btn svg, .tabbar svg, .sec-ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.timer { background: var(--accent-soft); color: var(--accent-text); padding: 4px 8px; border-radius: 999px; font-weight: 700; }
.timer.warn { background: #FBF0DC; } .timer.crit { background: #F8E3E0; }
.tabbar { background: #fff; border-top: 1px solid var(--hair); box-shadow: 0 -4px 16px rgba(31,42,36,.05); }
.tabbar button { color: var(--mute); font-size: 12px; gap: 3px; }
.tabbar button span { display: inline-flex; height: 24px; align-items: center; }
.tabbar button.active { color: var(--accent); box-shadow: none; font-weight: 800; }
.tabbar button.active span { background: var(--accent-soft); border-radius: 999px; padding: 0 14px; }
.toast { border-radius: 999px; padding: 10px 18px; background: var(--ink); }

/* 칩 */
.chip { border-radius: 999px; border-color: var(--hair); background: #fff; color: var(--ink2); padding: 8px 14px; font-size: 15px; }
.chip[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }

/* 카드 공통: 폼·결과 섹션을 흰 카드로 */
.plan-form, .diary-form, .opinion-form { border-top: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 16px; }
.plan-form h2 { font-size: 20px; }
.result { margin-top: 18px; }
.loading { border-top: 0; background: var(--card); border-radius: var(--r); padding: 22px 16px; text-align: center; }
.loading b { font-family: var(--sans); color: var(--accent); }
.sec { border-top: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; margin-top: 14px; }
.sec h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.sec h3 small { font-size: 12.5px; }
details.sec summary { font-weight: 700; min-height: 32px; cursor: pointer; }

/* 걷기 지수·날씨 요약 */
.metric-strip { border: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 8px; margin-bottom: 14px; }
.metric { text-align: center; border-left-color: var(--hair); padding: 0 6px; }
.metric:first-child { padding-left: 6px; }
.metric-num { font-family: var(--sans); font-weight: 800; color: var(--ink); }
.metric:first-child .metric-num { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 5px solid currentColor; font-size: 22px; }
.metric-num.go { color: var(--accent); } .metric-num.caution { color: var(--warn); } .metric-num.indoor { color: var(--bad); }
.metric-label { font-size: 13px; }
.card-lines { border-left: 0; background: var(--accent-soft); border-radius: var(--r); padding: 14px 16px; color: var(--accent-text); font-size: 16.5px; }
.reasons { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 16px 12px 32px; margin: 0 0 14px; }
.hours { border: 0; gap: 8px; padding: 2px 2px 6px; margin: 0 0 4px; scrollbar-width: none; }
.hour { border: 0; background: var(--sky-soft); border-radius: 14px; width: 60px; padding: 8px 0; color: var(--ink2); }
.hour b { font-family: var(--sans); font-size: 15px; font-weight: 800; margin: 2px 0; }
.hour .pop { font-family: var(--sans); color: var(--sky); font-weight: 700; }

/* 코스·책·장소 */
.course { border-bottom-color: var(--hair); }
.course b { font-size: 16.5px; }
.course .meta { font-family: var(--sans); font-size: 13px; }
.tag { border-radius: 999px; padding: 2px 8px; border: 0; }
.tag.go { background: var(--accent-soft); } .tag.caution { background: #FBF0DC; } .tag.indoor { background: #F8E3E0; }
.links a { color: var(--accent-text); font-weight: 600; }
.book { border-bottom-color: var(--hair); }
.book img, .hist-item img { border-radius: 8px; border-color: var(--hair); box-shadow: 0 2px 8px rgba(31,42,36,.12); }
.book .t { font-size: 16px; }
.book-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.book-grid .book { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px; border: 0; }
.places li { border-bottom-color: var(--hair); }
.places .d { font-family: var(--sans); font-weight: 700; color: var(--accent-text); }
.audio { background: linear-gradient(135deg, #2F6B4F, #3F8463); color: #fff; border-top: 0; border-radius: var(--r); padding: 18px 16px; margin-top: 14px; box-shadow: var(--shadow); }
.audio h3, .audio .muted, .audio p.script { color: #fff; }
.audio .muted { opacity: .85; }
.audio .primary { background: #fff; color: var(--accent-text); }
.audio p.script { background: rgba(255,255,255,.12); border-radius: var(--r-sm); padding: 12px; }
.sources { border-top: 0; text-align: left; padding: 6px 4px; }

/* 오늘의 북 워킹 말풍선·잠금 */
.today-tip { border-top: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); border-left: 5px solid var(--sun); }
.today-tip-head { color: var(--accent-text); }
.ai-lock { border-radius: var(--r); }

/* 일기·기록·의견 */
#diaryStats { margin-bottom: 14px; }
#diaryStats .metric:first-child .metric-num { width: auto; height: auto; border: 0; display: block; font-size: 26px; }
.diary-list li { background: var(--card); border-radius: var(--r); border-top: 0; box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 10px; }
.diary-list .when { font-family: var(--sans); }
.empty { border-top: 0; background: var(--card); border-radius: var(--r); padding: 22px 16px; text-align: center; }
.history .hist-day { background: var(--card); border-radius: var(--r); border-top: 0; box-shadow: var(--shadow); padding: 4px 14px; margin-bottom: 10px; }
.filters select { border-radius: 10px; min-height: 40px; }
@media (max-width: 480px) {
  .metric-num { font-size: 20px; }
  .metric:first-child .metric-num { width: 58px; height: 58px; font-size: 20px; }
  .card-lines { font-size: 15.5px; }
  .plan-form > button.primary { box-shadow: 0 8px 20px rgba(47,107,79,.28); }
}
.result { scroll-margin-top: 72px; }
/* 가입 신청 화면(register.html) */
#requestForm label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
#requestForm label input { margin-top: 6px; font-weight: 400; }
#requestForm button[type=submit], .registration-dialog button[type=submit] { width: 100%; min-height: 52px; border: 0; border-radius: var(--r-sm); background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; margin-top: 6px; }
#requestForm button:disabled { opacity: .55; }
.back-to-login { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 8px; font-weight: 600; }
/* 자주 걷는 곳: 주소 찾기 → 선택 → 저장 (v0.2.2, 어디물어 출발지 추가와 같은 절차) */
#placesDialog { max-height: 90vh; max-height: 90dvh; overflow-y: auto; }
.place-form { margin: 6px 0 14px; }
.place-form .field { margin-bottom: 6px; }
.place-form .row { align-items: stretch; }
.place-form .row .ghost { min-height: 48px; white-space: nowrap; }
.place-form button:disabled { opacity: .45; cursor: not-allowed; }
.place-steps { font-size: 12.5px; color: var(--mute); margin: 6px 0 0; }
.postcode-wrap { margin-top: 10px; border: 1px solid var(--hair); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.postcode-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 700; }
.postcode-head button { min-height: 36px; padding: 4px 12px; border-radius: 10px; border: 1px solid var(--hair); background: #fff; color: var(--ink); }
.postcode-box { height: min(440px, 58dvh); }
.place-picked { margin-top: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--accent-soft); display: flex; flex-direction: column; gap: 2px; }
.place-picked span { font-size: 12px; color: var(--accent-text); } .place-picked b { font-size: 15px; }
#placeAdd { margin-top: 10px; }
/* 출발지 칩 한 줄 통합 v0.3.0: [◎ 현재 위치] [자주 걷는 곳…] [＋ 주소로 추가] — 입력칸·현재 위치·저장 버튼을 하나로 */
.origin-field > span em { font-size: 12px; }
.chip.gps { color: var(--accent-text); font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chip.gps[aria-checked="true"] { color: #fff; }
.chip.add { border-style: dashed; color: var(--accent-text); font-weight: 700; background: #fff; }
.chip:disabled { opacity: .5; }
.origin-now { margin: 10px 2px 0; font-size: 14px; color: var(--ink2); }
.origin-now b { color: var(--accent-text); }
.origin-now.empty { color: var(--warn); font-weight: 700; }
.place-acts { display: flex; gap: 8px; margin-top: 10px; }
.place-acts .ghost { flex: 1; min-height: 52px; }
.place-acts .primary { flex: 1.6; }
#placeAdd { margin-top: 0; }
/* 만들기 전 안내 팝업 · AI 맞춤 안내 v0.3.1 */
#askDialog { max-width: 400px; max-height: 90dvh; overflow-y: auto; }
#askDialog h2 { font-size: 19px; margin: 0 0 8px; }
.ask-msg { font-size: 15px; line-height: 1.65; color: var(--ink2); margin: 0 0 14px; }
.ask-msg b { color: var(--accent-text); }
.ask-box { margin: 0 0 14px; }
.ask-label { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.ask-skip { margin: 4px 0 12px; }
.ask-acts { display: flex; gap: 8px; }
.ask-acts .ghost { flex: 1; min-height: 52px; }
.ask-acts .primary { flex: 1.5; }
.auto-note { background: #FFF8E6; border-radius: var(--r-sm); padding: 10px 14px; font-size: 14px; color: #7A5A12; margin: 0 0 12px; line-height: 1.55; }
.top-right .ghost, .admin-link { font-weight: 700; line-height: 1; }
/* 검수 보정 v0.3.1: 입력칸 옆 버튼 높이 통일, 일기 통계 숫자 통일, 별점 톤 */
#searchForm { align-items: stretch; } #searchForm .ghost { min-height: 48px; padding: 0 16px; }
#diaryStats .metric-num, #diaryStats .metric:first-child .metric-num { display: block; width: auto; height: auto; border: 0; font-size: 24px; color: var(--accent-text); }
.star { color: #DDD8CC; } .star.on { color: #F2B33D; }
.filters select { min-height: 44px; }
/* 입력칸 지우기(ⓧ) v0.3.5 — 어디물어와 같은 방식 */
.clearable { position: relative; display: block; }
.clearable input { width: 100%; box-sizing: border-box; padding-right: 44px; }
.clear-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; min-height: 0; padding: 0; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; box-shadow: none; }
.clear-btn svg circle { fill: #cbd5e1; } .clear-btn svg path { stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.clear-btn:hover svg circle, .clear-btn:focus-visible svg circle { fill: #64748b; } .clear-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.clear-btn[hidden] { display: none; }
/* 일기 날짜·별점 겹침 수정 v0.3.6: iOS 사파리 날짜 칸은 고유 최소 너비가 있어 flex 칸을 넘친다 → 최소 너비 0, 기본 모양 해제 */
.row > .field { min-width: 0; }
.diary-form .row { align-items: flex-start; }
.diary-form .row .field { flex: 1 1 0; }
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; box-sizing: border-box; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.diary-form .row input, .diary-form .row select { height: 48px; min-height: 48px; }
.diary-form .row select { -webkit-appearance: none; appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='16' viewBox='0 0 12 16'%3E%3Cpath d='M2 6l4-4 4 4M2 10l4 4 4-4' fill='none' stroke='%23333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
/* 오늘의 걷기 날씨 카드 v0.3.7 — 캔바 시안: 흰 카드 하나에 상태 칩·팁·시간별 예보, 예보 칸은 카드 너비를 고르게 채움 */
.wx-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; margin: 0 0 14px; }
.wx-card h3 { font-size: 17px; font-weight: 800; margin: 0 0 12px; }
.wx-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.wx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.3; background: var(--accent-soft); color: var(--accent-text); }
.wx-chip svg { width: 18px; height: 18px; flex: none; }
.wx-chip svg circle { fill: currentColor; } .wx-chip svg path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wx-chip.caution { background: #FDF3E3; color: #92400E; } .wx-chip.indoor { background: #FBE9E7; color: #991B1B; }
.wx-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 100%; }
.wx-tips li { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; color: var(--mute); line-height: 1.45; }
.wx-tips svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #8A8F7E; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.wx-hours { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(68px, 1fr); overflow-x: auto; scrollbar-width: none; margin: 12px -4px 0; padding: 0 4px; }
.wx-hours::-webkit-scrollbar { display: none; }
.wx-hour { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 14px; text-align: center; }
.wx-hour + .wx-hour::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; border-left: 1px solid var(--hair); }
.wx-hour.now { background: var(--accent-soft); } .wx-hour.now + .wx-hour::before { display: none; }
.wx-hour .t { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.wx-hour b { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.wx-hour .sky { font-size: 13px; color: var(--ink2); }
.wx-hour .pop { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--sky); }
.wx-hour .pop svg { width: 12px; height: 12px; fill: var(--sky); }
.wx-ico { width: 30px; height: 30px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wx-ico .i-sun { fill: #F4B92E; } .wx-ico .i-ray { stroke: #F4B92E; stroke-width: 1.8; }
.wx-ico .i-moon { fill: #F2D27A; } .wx-ico .i-cloud { fill: #DCE3EA; stroke: #A9B6C3; stroke-width: 1.2; }
.wx-ico .i-drop { stroke: var(--sky); stroke-width: 1.8; } .wx-ico .i-snow { stroke: #7FA7CF; stroke-width: 3; }
/* 하단 메뉴 아래 비침 수정 v0.3.8: iOS 사파리가 주소창·도구막대를 접을 때 고정 하단 메뉴가 화면 끝보다 위에 머물러 그 아래로 본문이 비친다
   → 메뉴 흰 배경을 화면 아래쪽으로 길게 늘여 틈을 덮는다(메뉴 위치·크기는 그대로) */
.tabbar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: #fff; pointer-events: none; }
/* 책 카드 버튼 v0.3.9: '예스24' 링크도 버튼 모양으로, 세 버튼 높이·모양 통일 */
.book .acts a.yes24 { text-decoration: none; justify-content: center; min-height: 40px; }
.book .acts .ghost.small { min-height: 40px; padding: 6px 14px; display: inline-flex; align-items: center; justify-content: center; }
/* 상황 선택 v0.3.10: 12개를 가로 2개 × 세로 6줄, 칸 너비·간격 동일 */
.chips.sit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chips.sit-grid .chip { width: 100%; min-width: 0; justify-content: flex-start; gap: 6px; padding: 8px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 출발지 고르기 재설계 v0.3.12 — 위계: ① 선택 결과 배너 ② 현재 위치(주 버튼) ③ 자주 걷는 곳(2칸 타일) ④ 저장·추가(글자 버튼) */
.o-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.o-ico .fill { fill: currentColor; stroke: none; } .o-ico .on-fill { stroke: #fff; stroke-width: 2.2; } .o-ico .hole { fill: #fff; stroke: none; }
.origin-now { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); }
.origin-now .o-ico { width: 28px; height: 28px; }
.origin-now span { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
.origin-now small { font-size: 12.5px; color: var(--mute); font-weight: 600; }
.origin-now b { font-size: 18px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.origin-now.empty { background: #FDF3E3; color: var(--warn); } .origin-now.empty b { color: var(--warn); font-size: 16px; }
.origin-picker { display: block; }
.origin-gps { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border: 1.5px solid var(--accent); border-radius: var(--r-sm); background: #fff; color: var(--accent); text-align: left; }
.origin-gps > span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.origin-gps b { font-size: 16px; font-weight: 800; color: var(--accent-text); }
.origin-gps small { font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.origin-gps[aria-checked="true"] { background: var(--accent); color: #fff; } .origin-gps[aria-checked="true"] b, .origin-gps[aria-checked="true"] small { color: #fff; }
.origin-gps[aria-checked="true"] .o-ico .fill { fill: #fff; } .origin-gps[aria-checked="true"] .o-ico .on-fill { stroke: var(--accent); }
.origin-gps[aria-busy="true"] .o-ico { animation: o-spin 1.2s linear infinite; }
@keyframes o-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .origin-gps[aria-busy="true"] .o-ico { animation: none; } }
.origin-sub { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 2px 8px; font-size: 13px; font-weight: 700; color: var(--mute); }
.origin-sub em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.origin-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.origin-tile { position: relative; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--hair); border-radius: var(--r-sm); background: #fff; color: var(--mute); text-align: left; font-size: 15px; }
.origin-tile span { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.origin-tile .o-ico { width: 20px; height: 20px; }
.origin-tile[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.origin-tile[aria-checked="true"] span { color: var(--accent-text); font-weight: 800; }
.origin-tag { margin-left: auto; flex: none; font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent-text); background: #fff; border-radius: 999px; padding: 2px 7px; }
.origin-empty { grid-column: 1 / -1; margin: 0; padding: 12px; border: 1px dashed var(--hair); border-radius: var(--r-sm); font-size: 13.5px; color: var(--mute); text-align: center; }
.origin-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hair); }
.origin-link { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 2px; border: 0; background: none; color: var(--accent-text); font-size: 14px; font-weight: 700; }
.origin-link .o-ico { width: 18px; height: 18px; }
.origin-link:disabled { opacity: .5; }
/* 메인 입력 폼 재설계 v0.3.13 — 단계 번호 · 구획선 · 칸 격자로 읽는 순서를 분명하게 */
.plan-form { counter-reset: step; }
.plan-form h2 { margin-bottom: 4px; }
.plan-lead { margin: 0 0 18px; font-size: 14px; color: var(--mute); line-height: 1.5; }
.plan-form > .field { counter-increment: step; margin: 0; }
.plan-form > .field + .field { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hair); }
.plan-form > .field > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 12px; font-size: 16px; font-weight: 800; color: var(--ink); }
.plan-form > .field > span::before { content: counter(step); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; }
.plan-form > .field > span em { flex-basis: 100%; padding-left: 32px; font-style: normal; font-size: 13px; font-weight: 500; color: var(--mute); }
.plan-form .opt { font-size: 11.5px; font-weight: 700; color: var(--mute); background: var(--soft); border-radius: 999px; padding: 2px 8px; }
.plan-form > button.primary { margin-top: 22px; min-height: 54px; font-size: 17px; font-weight: 800; border-radius: var(--r-sm); }
/* 날짜: 5칸, 요일·날짜 두 줄 */
.chips.date-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; overflow: visible; }
.chip.two { flex-direction: column; justify-content: center; gap: 2px; min-height: 58px; padding: 6px 2px; border-radius: var(--r-sm); width: 100%; }
.chip.two .chip-main { font-size: 15px; font-weight: 800; color: var(--ink); }
.chip.two .chip-sub { font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip.two[aria-checked="true"] .chip-main, .chip.two[aria-checked="true"] .chip-sub { color: #fff; }
/* 상황: 2칸 격자(이모지 + 이름) */
.chips.sit-grid .chip { border-radius: var(--r-sm); min-height: 48px; }
.chip-emo { flex: none; font-size: 18px; line-height: 1; }
/* 누구와: 4칸, 이모지 위·이름 아래 */
.chips.who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; overflow: visible; }
.chips.who-grid .chip { width: 100%; flex-direction: column; justify-content: center; gap: 4px; min-height: 66px; padding: 8px 2px; border-radius: var(--r-sm); font-size: 14px; }
.chips.who-grid .chip-emo { font-size: 22px; }
.plan-form textarea { min-height: 76px; border-radius: var(--r-sm); line-height: 1.5; }
/* 제목·버튼 구분 v0.3.14 — 제목은 배경 없는 글자, 고르는 버튼은 회색 바탕·그림자로 '누르는 것'처럼 */
.plan-form > .field > span { font-size: 17px; letter-spacing: -0.2px; }
.plan-form > .field > span::before { width: 22px; height: 22px; background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); font-size: 12px; }
.origin-now { background: transparent; border-radius: 0; border-left: 4px solid var(--accent); padding: 4px 0 4px 12px; margin-bottom: 14px; }
.origin-now.empty { background: transparent; border-left-color: var(--warn); }
.plan-form .chip, .plan-form .origin-tile { background: #F4F3EE; border-color: transparent; box-shadow: 0 1px 0 rgba(31,42,36,.10), 0 1px 3px rgba(31,42,36,.06); }
.plan-form .chip:active, .plan-form .origin-tile:active { transform: translateY(1px); box-shadow: none; }
.plan-form .chip[aria-checked="true"] { background: var(--accent); border-color: var(--accent); box-shadow: 0 2px 8px rgba(47,107,79,.30); }
.plan-form .origin-tile[aria-checked="true"] { background: var(--accent-soft); border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.origin-gps { box-shadow: 0 1px 3px rgba(31,42,36,.08); }
.origin-sub { margin-top: 18px; }
/* ===== 디자인 통일 v0.4.0 (캔바 '북 워킹 UI 디자인 시스템': 관리자 화면 admin.css 와 같은 색·모서리·버튼) ===== */
:root { --warn: #B45309; --bad: #991B1B; --info: #3B82C4; }
.primary { min-height: 52px; border-radius: var(--r-sm); font-weight: 800; }
.primary.small { min-height: 44px; }
.ghost { border-radius: var(--r-sm); font-weight: 700; }
.ghost.danger, .danger.ghost { color: var(--bad); border-color: #E8B4AE; }
h2 { font-size: 22px; letter-spacing: -0.3px; } h3 { font-size: 17px; }
.muted, .hint { color: var(--mute); }
/* 로그인 화면 재설계 v0.4.1 — 캔바 시안·디자인 시스템: 짧고 굵은 헤드라인, 기능 칩, 초록 체크박스, 안내/오류 구분 */
.login-card { padding: 22px 22px 26px; }
.login-card .eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; margin: 0 0 8px; }
.login-card h1.login-title { font-size: 40px; font-weight: 900; line-height: 1.18; letter-spacing: -1.2px; margin: 0 0 12px; color: var(--ink); }
.login-title em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 62%, var(--accent-soft) 62%); padding: 0 2px; }
.login-card .deck { font-size: 16px; color: var(--ink2); line-height: 1.55; margin: 0 0 14px; }
.login-feats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.login-feats li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 14px; font-weight: 700; }
.login-feats span { font-size: 16px; line-height: 1; }
#loginForm .field > span { font-size: 15px; font-weight: 800; }
.remember { margin: 2px 0 18px; font-size: 15px; color: var(--ink2); gap: 10px; }
.remember input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--accent); }
#loginBtn { font-size: 18px; }
.msg:empty { display: none; }
.msg { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600; background: #FBE9E7; color: var(--bad); }
.msg[data-kind="info"] { background: var(--accent-soft); color: var(--accent-text); }
.signup { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 10px; border: 1.5px solid var(--accent); border-radius: var(--r-sm); background: #fff; color: var(--accent-text); font-weight: 800; text-decoration: none; }
.login-card .notes { margin-top: 16px; font-size: 14px; color: var(--mute); }
.login-card .notes summary { font-weight: 700; color: var(--ink2); min-height: 40px; display: flex; align-items: center; cursor: pointer; }
.login-card h1.login-title em { display: inline; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
.login-feats { flex-wrap: nowrap; gap: 6px; } .login-feats li { padding: 7px 10px; font-size: 13.5px; white-space: nowrap; gap: 5px; }
.login-card .notes { border-top: 1px solid var(--hair); padding-top: 6px; }
body { word-break: keep-all; overflow-wrap: anywhere; } /* 한국어는 낱말 단위로 줄바꿈(글자 하나만 다음 줄로 넘어가지 않게) */
/* 로그인 v0.4.3 — 설명·칩을 빼고 헤드라인 → 입력으로 바로, 수채화 그림, 큰 글자·넉넉한 간격 */
.login-card { padding: 0 24px 28px; }
.login-hero { width: calc(100% + 48px); height: 190px; margin: 0 -24px 22px; object-fit: cover; object-position: center 60%; border-radius: 24px 24px 0 0; }
.login-card h1.login-title { font-size: 42px; margin: 0 0 26px; }
#loginForm .field { margin-bottom: 18px; }
#loginForm .field > span { font-size: 16px; margin-bottom: 8px; }
#loginForm input { min-height: 54px; font-size: 17px; }
.login-hero { object-position: 25% 60%; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
/* v0.4.6 로그인 배너: 처음의 단순한 평면 그림(언덕·산책길·나무·해·펼친 책)으로 되돌림 — 흐림 처리 없이 또렷하게 */
.login-hero { height: 170px; object-position: center; -webkit-mask-image: none; mask-image: none; }
/* 지도·길찾기 링크를 버튼으로 v0.4.7 — '목적지 상세'와 같은 모양(흰 바탕·테두리·12px 모서리) */
.links { gap: 8px; align-items: center; }
.links a, .dest-links a.link-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; margin: 0; border: 1px solid var(--hair); border-radius: var(--r-sm); background: #fff; color: var(--accent-text); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 1px 0 rgba(31,42,36,.06); }
.links a:active, .dest-links a.link-btn:active { background: var(--accent-soft); }
.links .ghost { min-height: 44px; }
.dest-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.links > * { margin: 0 !important; } .links .ghost { font-size: 14px; padding: 0 14px; }
/* 코스 버튼 v0.4.8: 3칸 격자로 모든 버튼 같은 너비·같은 간격 */
.course .links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.course .links > * { width: 100%; min-width: 0; padding: 0 6px !important; white-space: nowrap; justify-content: center; }
/* 말풍선 통일 v0.4.10 — 버튼 아래 말풍선과 화면 아래 토스트를 같은 디자인(흰 바탕·12px 모서리·그림자·색 아이콘)으로 */
.bubble { position: relative; display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.5; box-shadow: 0 6px 18px rgba(31,42,36,.16); max-width: 100%; }
.bubble::before { content: ""; position: absolute; top: -7px; left: 26px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.bubble-ico { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--warn); color: #fff; font-size: 13px; font-weight: 900; margin-top: 1px; }
.bubble.info .bubble-ico { background: var(--accent); }
.bubble.error .bubble-ico { background: var(--bad); }
.toast { border-radius: var(--r-sm); padding: 12px 16px; background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 8px 24px rgba(31,42,36,.22); border-left: 5px solid var(--accent); max-width: min(92%, 420px); }
.brand { text-decoration: none; color: inherit; border-radius: var(--r-sm); -webkit-tap-highlight-color: transparent; } .brand:active { opacity: .7; } .brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* 비밀번호 보기 v0.4.15 — [입력][ⓧ 지우기][👁 보기]: 보기는 맨 오른쪽 고정, 지우기는 글자가 있을 때만 그 왼쪽 */
.clearable.has-eye input { padding-right: 88px; }
.clearable.has-eye .clear-btn { right: 46px; }
.eye-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--mute); cursor: pointer; min-height: 0; padding: 0; }
.eye-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eye-btn .eye-off, .eye-btn[aria-pressed="true"] .eye-on { display: none; }
.eye-btn[aria-pressed="true"] .eye-off { display: block; }
.eye-btn[aria-pressed="true"] { color: var(--accent); }
@media (hover: hover) { .eye-btn:hover { color: var(--accent); background: var(--accent-soft); } } /* 터치 화면은 누른 뒤 배경이 남지 않게 */
.eye-btn:focus-visible { color: var(--accent); background: var(--accent-soft); }
.eye-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* v0.4.20 남은 AI 사용량 표시·소진 잠금·입력창 지우기 (go-fishing v1.20.0) */
.token-left { margin: 8px 2px 0; font-size: 13px; font-weight: 600; color: var(--mute); text-align: center; }
.token-left.warn, .token-tag.warn { color: var(--warn); }
.token-tag { display: block; text-align: right; font-size: 11.5px; line-height: 1.3; color: var(--mute); margin: 0 0 6px; white-space: nowrap; }
.plan-form.token-empty textarea { opacity: .6; cursor: not-allowed; }
.plan-form.token-empty #btnPlan { opacity: .45; cursor: not-allowed; }
.clearable.area textarea { width: 100%; box-sizing: border-box; padding-right: 44px; }
.clearable.area .clear-btn { top: 8px; transform: none; }
#searchForm .clearable { min-width: 0; }

/* v0.4.21 추천 버튼을 누를 수 있는 버튼으로: 채운 배경·아이콘·화살표·눌림 효과, 새 추천 강조, 처음 사용자 안내 (go-fishing v1.21.0) */
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.actions .actions-hint, .tap-hint { flex: 0 0 100%; font-size: 12.5px; font-weight: 700; color: var(--accent-text); padding: 0 2px 2px; }
button.act { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px 8px 10px; border-radius: 14px; border: 1.5px solid var(--accent); background: var(--accent-soft); color: var(--accent-text); font-size: 14.5px; font-weight: 700; line-height: 1.3; text-align: left; box-shadow: 0 2px 6px rgba(47,107,79,.15); transition: transform .12s, box-shadow .12s, background .12s; -webkit-tap-highlight-color: transparent; cursor: pointer; }
button.act.small { min-height: 40px; padding: 6px 10px 6px 8px; font-size: 13.5px; }
button.act .act-ico { font-size: 14px; line-height: 1; }
button.act .act-go { font-size: 20px; line-height: 1; margin-left: 2px; color: var(--accent); font-weight: 700; }
@media (hover: hover) { button.act:hover { background: #d6e8dc; box-shadow: 0 4px 12px rgba(47,107,79,.22); } }
button.act:active { transform: scale(.96); box-shadow: 0 1px 3px rgba(47,107,79,.2); }
button.act:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.actions.fresh button.act { animation: actGlow 1.6s ease-in-out 2; }
.actions.used button.act:not(.picked) { opacity: .55; box-shadow: none; }
button.act.picked { background: var(--accent); border-color: transparent; color: #fff; }
button.act.picked .act-go { color: #fff; }
button.act:disabled, button.act.locked { opacity: .45; box-shadow: none; cursor: not-allowed; }
@keyframes actGlow { 0%, 100% { box-shadow: 0 2px 6px rgba(47,107,79,.15); } 50% { box-shadow: 0 0 0 4px rgba(242,193,78,.45), 0 2px 10px rgba(47,107,79,.3); } }
@media (prefers-reduced-motion: reduce) { .actions.fresh button.act { animation: none; } button.act { transition: none; } }
.today-tip-actions .act { flex: 1 1 auto; }

/* v0.4.22 누를 수 있는 카드·행·링크 공통 표시(오늘 결과·책·기록·빈 화면) (go-fishing v1.22.0) */
.sec .tap-hint { margin: -2px 2px 8px; font-weight: 600; font-size: 12px; }
.places a.ext { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.places a.ext::after { content: ' ↗'; font-size: 11px; display: inline-block; margin-left: 2px; text-decoration: none; }
.places .act.dest-open { margin-top: 6px; }
.places a.link-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border: 1.5px solid var(--accent); border-radius: var(--r-sm); background: #fff; color: var(--accent-text); font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; align-self: center; }
.places a.link-btn:active, .links a:active { transform: scale(.97); }
.links a b, .yes24 b, .link-btn b { font-size: 12px; margin-left: 3px; color: var(--accent); }
.links a span[aria-hidden], .link-btn span[aria-hidden] { margin-right: 4px; }
button.act.act-primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(47,107,79,.25); }
button.act.act-primary .act-go { color: #fff; }
.empty-go { justify-content: center; margin: 4px 0 12px; }
@media (prefers-reduced-motion: reduce) { .places a.link-btn:active, .links a:active { transform: none; } }
