:root {
  --ink: #111113;
  --sub: #505057;
  --mute: #8a8a92;
  --dim: #a9a9b0;
  --faint: #c4c4ca;
  --line: #e8e8ec;
  --soft: #f3f3f5;
  --bg: #ffffff;
  --page: #f6f6f7;
  --accent: #e5484d;
  --accent-soft: #fdecec;
  --ok: #1f9d55;
  --radius: 14px;
  --tabbar-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ja: "Noto Sans JP", "Hiragino Sans", "Pretendard Variable", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
.ja { font-family: var(--ja); }

#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 24px);
  position: relative;
}
.boot { padding: 120px 24px; text-align: center; color: var(--mute); }

/* ---------- 하단 탭 ---------- */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 100%; max-width: 480px;
  height: calc(var(--tabbar-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line);
  z-index: 50;
}
.tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--dim); font-size: 11px; font-weight: 500; }
.tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar button.on { color: var(--ink); font-weight: 700; }
.tabbar button.on svg { stroke-width: 2.2; }

/* ---------- 공통 ---------- */
.sec { padding: 20px 20px 24px; background: var(--bg); }
.sec + .sec { border-top: 8px solid var(--soft); }
.sec-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sec-h h2 { font-size: 18px; margin: 0; font-weight: 700; letter-spacing: -0.2px; }
.sec-h .aside { color: var(--mute); font-size: 13px; }
.page-h { padding: calc(var(--safe-t) + 18px) 20px 6px; }
.page-h h1 { font-size: 24px; margin: 0; letter-spacing: -0.4px; }
.page-h p { margin: 4px 0 0; color: var(--mute); font-size: 14px; }
.eyebrow { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--sub); font-weight: 600; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 6px; vertical-align: 1px; }
.eyebrow .dot.gray { background: var(--faint); }
.muted { color: var(--mute); }
.small { font-size: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.row { display: flex; gap: 8px; }
.row > .btn { flex: 1; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 100px; background: var(--soft); font-size: 13px; font-weight: 500; color: var(--sub); white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.card + .card { margin-top: 10px; }
.kv { display: grid; grid-template-columns: 76px 1fr; gap: 8px 12px; font-size: 14px; }
.kv dt { color: var(--mute); font-size: 13px; padding-top: 1px; }
.kv dd { margin: 0; font-weight: 500; }
.empty { padding: 32px 0; text-align: center; color: var(--mute); font-size: 14px; }

/* ---------- 홈: 지도 ---------- */
.map { position: relative; height: 300px; background: #e8e8e8; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .shield { position: absolute; inset: 0; z-index: 2; }
.map.live .shield { display: none; }
.map .top { position: absolute; top: calc(var(--safe-t) + 12px); left: 12px; right: 12px; z-index: 3; }
.map .days .chip { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 6px rgba(0, 0, 0, .14); color: var(--sub); }
.map .days .chip.on { background: var(--ink); color: #fff; }
.map .bottom { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; pointer-events: none; }
.map .bottom > * { pointer-events: auto; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .96); border-radius: 100px; padding: 3px; box-shadow: 0 1px 6px rgba(0, 0, 0, .14); }
.seg button { height: 28px; padding: 0 11px; border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--mute); }
.seg button.on { background: var(--ink); color: #fff; }
.gmaps { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 100px; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .18); font-size: 13px; font-weight: 700; text-decoration: none; color: var(--ink); }
.gmaps svg { width: 16px; height: 16px; }
.map .hint { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; background: rgba(17, 17, 19, .72); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 100px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.map.flash .hint { opacity: 1; }
.map .done-live { position: absolute; top: calc(var(--safe-t) + 52px); right: 12px; z-index: 3; display: none; }
.map.live .done-live { display: inline-flex; }

/* ---------- 홈: 지금 가는 곳 ---------- */
.now-title { margin: 10px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -0.6px; line-height: 1.25; }
.now-sub { margin-top: 3px; color: var(--mute); font-size: 14px; }
.now-time { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.now-time .sep { color: var(--faint); font-weight: 400; }
.banner { margin-top: 12px; border-radius: 12px; padding: 12px 14px; background: var(--accent-soft); color: #9f1d22; font-size: 14px; }
.banner.calm { background: var(--soft); color: var(--sub); }
.banner .row { margin-top: 10px; }
.banner .btn { height: 36px; font-size: 13px; border-color: transparent; background: #fff; color: var(--ink); }
.must { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.must .chip { height: auto; padding: 6px 10px; border-radius: 10px; flex-direction: column; align-items: flex-start; white-space: normal; }
.must .chip b { font-family: var(--ja); font-weight: 600; color: var(--ink); font-size: 13px; }
.memo { margin-top: 12px; background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #333; white-space: pre-wrap; }
.memo .lbl { display: block; font-size: 12px; color: var(--mute); font-weight: 600; margin-bottom: 2px; }
.score { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #b45309; }
.actions { margin-top: 16px; }
.links { margin-top: 10px; display: flex; gap: 14px; font-size: 13px; color: var(--sub); }
.links button, .links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }

/* ---------- 홈: 타임라인 ---------- */
.tl { margin: 0 -8px; }
.tl-row { display: grid; grid-template-columns: 46px 18px 1fr; column-gap: 10px; padding: 0 12px; border-radius: 14px; cursor: pointer; }
.tl-row .t { padding-top: 13px; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--dim); font-weight: 500; }
.tl-row .rail { display: flex; flex-direction: column; align-items: center; }
.tl-row .rail .up { width: 2px; height: 18px; background: var(--line); }
.tl-row .rail .dn { width: 2px; flex: 1; background: var(--line); }
.tl-row:first-child .rail .up { background: transparent; }
.tl-row.last .rail .dn { background: transparent; }
.tl-row .rail .pt { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--faint); background: #fff; flex: none; }
.tl-row .c { padding: 11px 0 12px; min-width: 0; }
.tl-row .c .n { font-size: 15px; color: var(--dim); font-weight: 500; line-height: 22px; }
.tl-row .c .s { font-size: 13px; color: var(--faint); margin-top: 1px; }
.tl-row .c .mv { margin-top: 8px; font-size: 12px; color: var(--faint); display: flex; gap: 6px; align-items: center; }
.tl-row .c .mv svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.tl-row.done .c .n { text-decoration: line-through; text-decoration-color: var(--faint); }
.tl-row.done .rail .pt { background: var(--faint); border-color: var(--faint); }
.tl-row.cur { background: var(--soft); }
.tl-row.cur .t { color: var(--ink); font-weight: 700; padding-top: 15px; }
.tl-row.cur .rail .up { height: 19px; }
.tl-row.cur .rail .pt { width: 15px; height: 15px; border: 3px solid #fff; background: var(--accent); box-shadow: 0 0 0 1.5px var(--accent); }
.tl-row.cur .c { padding: 13px 0 14px; }
.tl-row.cur .c .n { color: var(--ink); font-weight: 800; font-size: 16px; }
.tl-row.cur .c .s { color: var(--sub); }
.tl-row.cur .c .mv { color: var(--mute); }
.tl-row.sel:not(.cur) { background: #fafafa; }
.tl-row.sel:not(.cur) .c .n { color: var(--sub); font-weight: 600; }
.badge { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 100px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; margin-left: 6px; vertical-align: 2px; }
.badge.gray { background: var(--soft); color: var(--mute); }
.badge.ink { background: var(--ink); }

/* ---------- 일본어 ---------- */
.place-strip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 14px; }
.place-strip b { font-size: 15px; }
.phr { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: start; }
.phr:last-child { border-bottom: 0; }
.phr .jp { font-family: var(--ja); font-size: 19px; font-weight: 500; line-height: 1.45; letter-spacing: .2px; }
.phr .rd { font-size: 13px; color: var(--sub); }
.phr .ko { font-size: 13px; color: var(--mute); }
.phr .ops { grid-row: 1 / span 3; grid-column: 2; display: flex; flex-direction: column; gap: 6px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.group-h { margin: 22px 0 2px; font-size: 13px; font-weight: 700; color: var(--mute); letter-spacing: .3px; }

.big { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; flex-direction: column; justify-content: center; padding: 32px 24px calc(32px + var(--safe-b)); }
.big .jp { font-family: var(--ja); font-size: 40px; font-weight: 700; line-height: 1.35; }
.big .ko { margin-top: 18px; font-size: 16px; color: var(--mute); }
.big .close { position: absolute; top: calc(var(--safe-t) + 14px); right: 16px; }

/* ---------- 정보 ---------- */
.hero-title { font-size: 26px; font-weight: 800; margin: 6px 0 0; letter-spacing: -0.6px; }
.hero-ja { font-family: var(--ja); color: var(--mute); font-size: 15px; margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.prose { font-size: 15px; line-height: 1.7; color: #26262a; }
.prose p { margin: 0 0 10px; }
.tips { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.65; color: #26262a; }
.tips li + li { margin-top: 4px; }
.plist .pi { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.plist .pi:last-child { border-bottom: 0; }
.plist .pi .nm { font-weight: 600; }
.plist .pi .mt { font-size: 12px; color: var(--mute); }
.search { width: 100%; height: 42px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; background: var(--soft); }
.trip-basic .card h3 { margin: 0 0 8px; font-size: 15px; }
.trip-basic .card p { margin: 0; font-size: 14px; color: #333; }
.steps { margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; }
.steps li { padding: 6px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; }
.steps li:last-child { border-bottom: 0; }

/* ---------- 수정 ---------- */
.nl textarea { width: 100%; min-height: 84px; resize: vertical; border-radius: 12px; border: 1px solid var(--line); padding: 12px 14px; background: var(--soft); font-size: 15px; }
.nl .chips { margin: 10px 0 12px; }
.ops-list { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; }
.ops-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.ops-list li.err { color: var(--accent); }
.shift-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.shift-grid .btn { height: 40px; padding: 0; font-size: 14px; }
.ed-item { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.ed-item.done { opacity: .55; }
.ed-top { display: flex; align-items: center; gap: 8px; }
.ed-top input[type=time] { border: 1px solid var(--line); border-radius: 8px; height: 34px; padding: 0 6px; background: #fff; width: 96px; }
.ed-top .nm { flex: 1; font-weight: 600; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-more { margin-top: 10px; display: grid; gap: 8px; }
.ed-more label { font-size: 12px; color: var(--mute); display: grid; gap: 4px; }
.ed-more input, .ed-more textarea, .ed-more select, .field { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; width: 100%; }
.ed-more .row .btn { height: 36px; font-size: 13px; }
.hist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.who { display: flex; gap: 6px; }

/* ---------- 잠금 화면 ---------- */
.gate { padding: 120px 28px; }
.gate h1 { font-size: 26px; margin: 0 0 6px; }
.gate p { color: var(--mute); margin: 0 0 22px; }
.gate input { width: 100%; height: 52px; border-radius: 12px; border: 1px solid var(--line); padding: 0 16px; font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.gate .btn { width: 100%; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); background: rgba(17, 17, 19, .92); color: #fff; font-size: 14px; padding: 10px 16px; border-radius: 100px; z-index: 120; max-width: calc(100% - 32px); }
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .35); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 18px 18px 0 0; padding: 18px 20px calc(20px + var(--safe-b)); max-height: 86vh; overflow: auto; }
.sheet h3 { margin: 0 0 12px; font-size: 17px; }

/* ---------- v3: 이동 중 화면 ---------- */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: calc(var(--safe-t) + 8px) 12px 8px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .days { flex: 1; min-width: 0; }
.topbar .chip { height: 32px; }
.home-btn { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border-radius: 100px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.home-btn svg { width: 15px; height: 15px; }
#lmap { position: absolute; inset: 0; display: none; z-index: 1; background: #eef0f1; }
.map.leaf #lmap { display: block; }
.map.leaf iframe, .map.leaf .shield, .map.leaf .hint, .map.leaf .done-live { display: none !important; }
.map .bottom { z-index: 500; }
.lpin { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font: 700 12px/22px Pretendard, sans-serif; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); transform: translate(-1px, -1px); white-space: nowrap; }
.lpin.on { background: var(--accent); border-color: #fff; color: #fff; transform: scale(1.18); }
.lpin.done { opacity: .5; }
.leaflet-container { font-family: inherit; }

.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--soft); color: var(--sub); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag.ink { background: var(--ink); color: #fff; }
.tag.ok { background: #e8f6ee; color: #18794e; }
.tag.warn { background: var(--accent-soft); color: #b42318; }
.tag.accent { background: var(--accent); color: #fff; }
.ph { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tl-row .ph { margin-top: 8px; }
.tl-row .ph .tag { height: 22px; font-size: 11px; }

.tl-row .rail .pt { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--faint); background: #fff; color: var(--dim); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.tl-row .rail .up { height: 12px; }
.tl-row.cur .rail .pt { width: 24px; height: 24px; border: 0; background: var(--accent); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--accent); }
.tl-row.cur .rail .up { height: 12px; }
.tl-row.done .rail .pt { background: var(--faint); border-color: var(--faint); color: #fff; }
.tl-row .rail { width: 24px; }
.tl { --railw: 24px; }
.tl-row, .tl-leg { grid-template-columns: 46px 24px 1fr; }
.tl-leg { display: grid; column-gap: 10px; padding: 0 12px; }
.tl-leg .rail { display: flex; flex-direction: column; align-items: center; }
.tl-leg .rail .dn { width: 2px; flex: 1; background: var(--line); }
.tl-leg > div:last-child { padding: 2px 0 8px; min-width: 0; }

.leg { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.leg.big { border-color: var(--ink); }
.leg-h { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; width: 100%; text-align: left; padding: 9px 12px; }
.leg-chips { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: var(--ink); }
.leg-chips .ln { margin-right: 2px; }
.leg-chips .arrow { color: var(--faint); }
.leg-chips .mi svg { width: 16px; height: 16px; stroke: var(--sub); fill: none; stroke-width: 2; }
.chev { grid-column: 2; grid-row: 1; font-size: 12px; color: var(--mute); align-self: center; }
.leg-s { grid-column: 1 / span 2; font-size: 13px; color: var(--sub); line-height: 1.45; }
.leg-t { grid-column: 1 / span 2; font-size: 12px; color: var(--mute); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.leg.big .leg-s { font-size: 14px; color: var(--ink); }
.line { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 50%; border: 3px solid var(--c); color: var(--ink); background: #fff; font: 800 11px/1 Inter, Pretendard, sans-serif; }
.leg-d { border-top: 1px solid var(--line); padding: 10px 12px 12px; display: grid; gap: 8px; background: #fbfbfc; }
.ride { display: grid; gap: 6px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.ride:last-of-type { border-bottom: 0; }
.ride-h { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 8px; font-size: 14px; align-items: baseline; }
.step .k { font-size: 12px; color: var(--mute); font-weight: 600; }
.step.dir span:last-child { font-size: 15px; }
.step.exit b { color: var(--accent); }
.st { font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; text-align: left; }
.step.dir .st { font-family: var(--ja); font-size: 17px; }
.no { display: inline-block; font: 700 11px/18px Inter, sans-serif; padding: 0 5px; border-radius: 4px; background: var(--soft); color: var(--sub); }
.stale { font-size: 13px; color: #b42318; background: var(--accent-soft); padding: 8px 10px; border-radius: 8px; }
.leg-d .btn.sm { justify-self: start; }
.leg-d .btn svg { width: 14px; height: 14px; }

.food-day { padding: 18px 20px 6px; font-size: 13px; font-weight: 800; color: var(--accent); background: var(--bg); }
.food-slot { padding-left: 0; padding-right: 0; }
.food-slot .sec-h { padding: 0 20px; }
.food-slot .sec-h h2 { font-size: 16px; }
.fscroll { display: flex; gap: 10px; overflow-x: auto; padding: 2px 20px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fscroll::-webkit-scrollbar { display: none; }
.fcard { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.fcard.chosen { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.fc-h { display: flex; justify-content: space-between; align-items: center; }
.fc-n { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.fc-j { font-size: 13px; color: var(--mute); }
.fc-m { font-size: 12px; color: var(--mute); }
.fc-c { font-size: 13px; color: var(--sub); background: var(--soft); border-radius: 8px; padding: 6px 8px; }
.pc { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.5; }
.pc li { padding-left: 18px; position: relative; }
.pc.pro li::before { content: '+'; position: absolute; left: 2px; color: #18794e; font-weight: 800; }
.pc.con li::before { content: '−'; position: absolute; left: 2px; color: #b42318; font-weight: 800; }
.kv.sm { grid-template-columns: 40px 1fr; font-size: 12px; gap: 4px 8px; margin: 4px 0; }
.kv.sm dt { font-size: 11px; }
.kv.sm dd { font-weight: 500; }
.fc-l { display: flex; gap: 12px; font-size: 13px; font-weight: 600; margin-top: 2px; }
.fc-l a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.fc-nv { font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcard .btn.sm { margin-top: 4px; }
.btn.ghost { border-color: transparent; background: var(--soft); }
.field-l { display: grid; gap: 6px; font-size: 13px; color: var(--sub); font-weight: 600; }
.now .group-h { margin-top: 16px; margin-bottom: 8px; }
