/* 로컬다이브 / Localdive — 언어 학습 앱처럼 '한 화면 한 질문 + 두툼한 보기 + 아래 결과 판 + 도장 찍는 결과 화면'(11/12 개편).
   색은 브랜드 4개뿐: 종이·먹·인주(빨강: 도장·소수파)·솔잎(초록: 다수파·진행). 09-brand.md 비주얼 시스템.
   그라데이션 없음(여권 무늬 줄은 반복 선), 이모지 그림 없음, 글자 15px 이상, 동작 줄이기면 이동·확대 없음. */
:root {
  --paper: #FAF6EE; --sheet: #FFFDF8; --ink: #1F1B16; --ink-2: #5E574D; --line: #D8CFBF; --edge: #C4B9A5; --wash: #EFE8DA; --on-ink: #FAF6EE;
  --seal: #B02E25; --seal-t: #FBE3DE; --seal-e: #7E1F18; --on-seal: #FFFFFF;
  --pine: #2F6B4F; --pine-t: #DDEFE3; --pine-e: #1E4835; --on-pine: #FFFFFF;
  --pp: #F3EBDC; --pp-line: #E6DBC6;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Hiragino Sans", "Pretendard", "Noto Sans KR", "Noto Sans JP", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #16130F; --sheet: #1F1B16; --ink: #EDE6D8; --ink-2: #B3AA9B; --line: #3D362D; --edge: #2B261F; --wash: #2A251F; --on-ink: #16130F;
    --seal: #FF8A7E; --seal-t: #3A1E1A; --seal-e: #B5554B; --on-seal: #1F0F0C;
    --pine: #6FC29A; --pine-t: #17302A; --pine-e: #3F8566; --on-pine: #0E1F17;
    --pp: #221E18; --pp-line: #2E2820; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--font); word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: 3px; }
[hidden] { display: none !important; }
html[lang="ja"] body { word-break: normal; overflow-wrap: break-word; line-break: strict; }
.vv { max-width: 560px; margin: 0 auto; padding: 0 16px 24px; }

/* 맨 위: 여권 표 · 14일 진행 막대 · 날짜 · 소리 */
.vv-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 0; background: var(--paper); }
.vv-mark { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -8px; }
.vv-mark svg, .vv-snd svg { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vv-prog { flex: 1; height: 16px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.vv-prog b { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--pine); box-shadow: inset 0 -4px 0 var(--pine-e); transition: width .4s; position: relative; }
.vv-prog b::after { content: ""; position: absolute; left: 8px; right: 8px; top: 4px; height: 3px; border-radius: 999px; background: var(--on-pine); opacity: .3; }
.vv-dayn { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vv-snd { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer; border-radius: 12px; }
.vv-snd .on { display: none; } .vv-snd.on .on { display: inline; } .vv-snd.on .off { display: none; }
.vv-snd:focus-visible, .vv-mark:focus-visible { outline: 2px solid var(--ink); }
.vv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.vv-brand { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.vv-brand b { color: var(--ink); }
.vv-brand span { margin-left: 4px; padding: 1px 8px; border: 1.5px solid var(--line); border-radius: 999px; }
h1 { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; margin: 14px 0 4px; font-weight: 800; }
.vv-lead { margin: 0; color: var(--ink-2); font-size: 16px; }
h2 { font-size: 19px; margin: 0 0 8px; }

/* 질문: 꼬리표 · 말풍선(장면) · 두툼한 보기 3개 */
.vv-tag { margin: 18px 0 10px; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.vv-tag b { color: var(--ink); }
.vv-from { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border: 1.5px dashed var(--ink-2); border-radius: 8px; font-size: 15px; font-weight: 700; }
.vv-bubble { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: end; margin-bottom: 20px; }
.vv-who { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.vv-scene { position: relative; margin: 0; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; background: var(--sheet);
  font-size: 20px; line-height: 1.45; font-weight: 700; }
.vv-scene::before { content: ""; position: absolute; left: -9px; bottom: 8px; width: 14px; height: 14px; background: var(--sheet); border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: skewY(40deg); }

.vv-tiles { display: grid; gap: 12px; }
.vv-tile { position: relative; overflow: hidden; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; column-gap: 12px; width: 100%; min-height: 64px;
  padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--sheet); color: var(--ink); font: 600 17px/1.4 var(--font); text-align: left;
  box-shadow: 0 4px 0 var(--edge); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .08s, box-shadow .08s, border-color .12s, background-color .12s; }
.vv-tile > * { position: relative; }
.vv-tile i { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--line); border-radius: 8px; font: 800 15px var(--font); font-style: normal; color: var(--ink-2); }
.vv-tile:not(:disabled):active { transform: translateY(4px); box-shadow: 0 0 0 var(--edge); }
@media (hover: hover) { .vv-tile:not(:disabled):hover { background: var(--wash); } }
.vv-tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.vv-tile.sel { border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); background: var(--wash); }
.vv-tile.sel i { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.vv-tile:disabled { cursor: default; }
.vv-lab { display: block; font-style: normal; font-size: 15px; font-weight: 800; }
.vv-lab:empty { display: none; }
.vv-pct { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* 공개: 보기 안에서 비율만큼 칠해진다 */
.vv-fill { position: absolute !important; inset: 0 auto 0 0; width: 0; background: var(--wash); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.vv-tile.done .vv-fill { width: var(--p, 0%); }
.vv-tile.done.top { border-color: var(--pine); box-shadow: 0 4px 0 var(--pine-e); }
.vv-tile.done.top .vv-fill { background: var(--pine-t); }
.vv-tile.done.top i { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.vv-tile.done.top .vv-lab { color: var(--pine); }
.vv-tile.done.wrong { border-color: var(--seal); box-shadow: 0 4px 0 var(--seal-e); }
.vv-tile.done.wrong .vv-fill { background: var(--seal-t); }
.vv-tile.done.wrong i { background: var(--seal); border-color: var(--seal); color: var(--on-seal); }
.vv-tile.done.wrong .vv-lab { color: var(--seal); }
.vv-tile.done.mine:not(.top):not(.wrong) i { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.vv-err, .vv-ended { font-size: 16px; margin: 14px 0 0; font-weight: 700; }
.vv-ended { margin: 14px 0 0; padding: 12px 14px; border: 2px dashed var(--line); border-radius: 14px; }

/* 아래 고정 칸: 확인 버튼 / 올라오는 결과 판 */
.vv-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--paper); border-top: 2px solid var(--line); }
.vv-dock:empty { display: none; }
.vv-dock-in { max-width: 560px; margin: 0 auto; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
.vv-cta { display: block; width: 100%; min-height: 56px; border: 0; border-radius: 14px; background: var(--ink); color: var(--on-ink); font: 800 18px var(--font); letter-spacing: .01em;
  box-shadow: 0 5px 0 color-mix(in srgb, var(--ink) 60%, #000); cursor: pointer; transition: transform .08s, box-shadow .08s; -webkit-tap-highlight-color: transparent; }
.vv-cta:not(:disabled):active { transform: translateY(5px); box-shadow: none; }
.vv-cta:disabled { background: var(--wash); color: var(--ink-2); box-shadow: 0 5px 0 var(--edge); cursor: default; }
.vv-cta.busy { opacity: .7; }
.vv-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.vv-sheet { border-top: 0; border-radius: 20px 20px 0 0; }
.vv-sheet.hit { background: var(--pine-t); } .vv-sheet.miss { background: var(--seal-t); } .vv-sheet.none, .vv-sheet.minor { background: var(--wash); }
.vv-sheet.up { animation: up .32s cubic-bezier(.2, .9, .3, 1.15) both; }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.vv-sh-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.vv-sh-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); }
.vv-sh-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--paper); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.hit .vv-sh-ic { background: var(--pine); } .hit .vv-sh-ic svg { stroke: var(--on-pine); }
.miss .vv-sh-ic { background: var(--seal); } .miss .vv-sh-ic svg { stroke: var(--on-seal); }
.vv-sh-t { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 800; }
.hit .vv-sh-t { color: var(--pine); } .miss .vv-sh-t { color: var(--seal); }
.vv-sh-meta { margin: 2px 0 0 52px; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.vv-why { margin: 12px 0 14px; font-size: 16px; line-height: 1.5; }
.vv-why b { margin-right: 4px; }
.hit .vv-cta { background: var(--pine); color: var(--on-pine); box-shadow: 0 5px 0 var(--pine-e); }
.miss .vv-cta { background: var(--seal); color: var(--on-seal); box-shadow: 0 5px 0 var(--seal-e); }
.vv-sh-sub { margin: 12px 0 0; font-size: 15px; text-align: center; }
.vv-sh-sub a { font-weight: 700; }
.vv-msg { font-size: 15px; margin: 10px 0 0; color: var(--ink-2); text-align: center; }

/* 손님 결과 화면 */
.vv-r { padding-top: 8px; }
.vv-r-h { font-size: 24px; line-height: 1.3; font-weight: 800; margin: 10px 0 14px; outline: none; }
/* 여권 한 쪽: 위 머리줄 · 보안 무늬 줄 · 지난 도장들 · 오늘 도장 */
.vv-pp { position: relative; aspect-ratio: 4 / 3; border: 2px solid var(--line); border-radius: 4px 14px 14px 4px; background-color: var(--pp);
  background-image: repeating-linear-gradient(-28deg, transparent 0 11px, var(--pp-line) 11px 12px); box-shadow: inset 10px 0 0 -6px var(--line); overflow: hidden; }
.vv-pp-top { position: absolute; left: 14px; right: 14px; top: 10px; display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: var(--ink-2); z-index: 1; }
.vv-old { position: absolute; width: 26%; transform: rotate(var(--r)); opacity: .55; }
.vv-old .vv-st.entry { width: 115%; }
.vv-st { display: block; width: 100%; height: auto; }
.vv-st.visa circle { stroke: var(--seal); } .vv-st.visa text { fill: var(--seal); font-family: var(--font); }
.vv-st.entry rect { stroke: var(--ink-2); } .vv-st.entry text { fill: var(--ink-2); font-family: var(--font); }
.vv-today { position: absolute; left: 68%; top: 56%; width: 50%; transform: translate(-50%, -50%) rotate(-10deg); z-index: 2; }
.vv-today.entry { width: 54%; }
.vv-today .vv-st { filter: drop-shadow(0 0 0 transparent); }
.vv-today.slam { animation: slam .44s cubic-bezier(.3, 1.3, .5, 1) both; }
@keyframes slam { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-24deg) scale(2.3); } 55% { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(.9); }
  75% { transform: translate(-50%, -50%) rotate(-10deg) scale(1.04); } 100% { transform: translate(-50%, -50%) rotate(-10deg) scale(1); } }
.vv-pp.slam-on { animation: thump .44s both; }
@keyframes thump { 0%, 52% { transform: none; } 60% { transform: translateY(4px) scale(.985); } 80% { transform: translateY(-1px); } 100% { transform: none; } }
.vv-pp.slam-on::after { content: ""; position: absolute; left: 68%; top: 56%; width: 50%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink); opacity: 0; transform: translate(-50%, -50%);
  animation: ring .5s .24s ease-out both; }
@keyframes ring { from { opacity: .35; transform: translate(-50%, -50%) scale(.9); } to { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }

/* 점수: 큰 숫자 하나(서울 일치 %) + 서울에 온 날(구멍 뚫린 표) */
.vv-score { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; margin-top: 16px; }
.vv-match, .vv-stub { position: relative; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--sheet); box-shadow: 0 4px 0 var(--edge); }
.vv-match b { display: block; font-size: 48px; line-height: 1; font-weight: 900; letter-spacing: -0.02em; color: var(--pine); font-variant-numeric: tabular-nums; }
.vv-match span, .vv-stub span { display: block; margin-top: 6px; font-size: 15px; font-weight: 700; }
.vv-stub { border-style: dashed; border-radius: 6px; }
.vv-stub b { display: block; font-size: 32px; line-height: 1.1; font-weight: 900; font-variant-numeric: tabular-nums; }
.vv-stub i { display: grid; grid-template-columns: repeat(7, 10px); gap: 5px; margin-top: 10px; }
.vv-stub u { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); }
.vv-stub u.p { background: var(--ink); box-shadow: none; }

.vv-sec { margin: 30px 0 10px; font-size: 19px; font-weight: 800; }
/* 14일 길: 두 줄 뱀 모양, 지난 날은 도장, 오늘은 빛남 */
.vv-path { position: relative; aspect-ratio: 350 / 210; margin-bottom: 8px; }
.vv-path svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vv-path polyline { fill: none; stroke: var(--line); stroke-width: 4; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.vv-node { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; text-decoration: none;
  font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--sheet); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--edge); }
.vv-node svg { width: 24px; height: 24px; fill: none; stroke: var(--on-seal); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.vv-node.hit { color: var(--seal); border: 3px solid var(--seal); box-shadow: inset 0 0 0 3px var(--sheet), inset 0 0 0 4.5px var(--seal); transform: rotate(-12deg); font-size: 17px; }
.vv-node.seen { background: var(--ink); border-color: var(--ink); color: var(--on-ink); box-shadow: 0 3px 0 color-mix(in srgb, var(--ink) 60%, #000); }
.vv-node.skip { border-style: dashed; color: var(--ink-2); box-shadow: none; }
.vv-node.future { color: var(--ink-2); opacity: .55; box-shadow: none; background: var(--wash); border-color: var(--wash); }
.vv-node.now { width: 52px; height: 52px; margin: -26px 0 0 -26px; outline: 4px solid var(--pine); outline-offset: 3px; }
.vv-node.now.seen, .vv-node.now.hit { transform: none; }
.vv-node.now.hit span { transform: rotate(-12deg); }
.vv-node.cur:not(.now) { outline: 3px solid var(--ink); outline-offset: 2px; }
.vv-now { position: absolute; top: 100%; margin-top: 8px; padding: 0 8px; border-radius: 999px; background: var(--pine); color: var(--on-pine); font-size: 15px; white-space: nowrap; }
.vv-node:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .vv-node.now { animation: glow 1.4s ease-out 2; } }
@keyframes glow { 0% { outline-offset: 3px; outline-color: var(--pine); } 100% { outline-offset: 12px; outline-color: transparent; } }

/* 공유: 종이 영수증 한 장(아래 톱니) */
.vv-slip { padding: 16px 18px 26px; background: var(--sheet); border: 2px solid var(--line); border-bottom: 0;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.vv-slip pre { margin: 0; font: 800 18px/1.5 var(--font); white-space: pre-wrap; font-variant-numeric: tabular-nums; }
.vv-r .vv-cta { margin-top: 14px; }
.vv-btn { display: block; width: 100%; min-height: 52px; margin-top: 14px; border: 2px solid var(--line); border-radius: 14px; background: transparent; color: var(--ink);
  font: 800 17px var(--font); box-shadow: 0 4px 0 var(--edge); cursor: pointer; }
.vv-btn:active { transform: translateY(4px); box-shadow: none; }
.vv-btn:disabled { opacity: .5; }
.vv-again { text-align: center; margin: 14px 0 0; }
.vv-link { min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--ink); font: 700 16px var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* 한국어판: 지난 질문 */
.vv-past { margin-top: 28px; }
.vv-past h2 { font-size: 17px; }
.vv-past div { display: flex; flex-wrap: wrap; gap: 10px; }
.vv-past a { min-width: 52px; min-height: 44px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 800;
  font-variant-numeric: tabular-nums; box-shadow: 0 3px 0 var(--edge); background: var(--sheet); }

.vv-foot { margin-top: 40px; padding-top: 16px; border-top: 2px solid var(--line); font-size: 15px; color: var(--ink-2); }
.vv-foot p { margin: 0 0 6px; }
.vv-foot nav { display: flex; gap: 16px; margin-bottom: 10px; }
.vv-foot nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.vv-foot nav a[aria-current] { color: var(--ink); font-weight: 800; text-decoration: underline; }

@media (min-width: 768px) { h1 { font-size: 26px; } .vv-scene { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .vv-tile, .vv-cta, .vv-fill, .vv-prog b { transition: none; }
  .vv-sheet.up, .vv-today.slam, .vv-pp.slam-on, .vv-pp.slam-on::after { animation: none; }
  .vv-tile:not(:disabled):active, .vv-cta:not(:disabled):active { transform: none; }
}

/* ---------- '내 답 맞혀 봐'(localdive-quiz.js) — 같은 부품(두툼한 타일·아래 판·도장)을 다시 쓴다 ---------- */
.vv-brand-top { flex: 1; font-size: 17px; font-weight: 800; }
.vv-steps[hidden] + .vv-brand-top { flex: 1; }
.vq-on .vv-brand-top { display: none; }
.vq-head { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 14px; }
.vq-back { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer; }
.vq-back svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.vq-back:focus-visible { outline: 3px solid var(--ink); }
.vq-h { font-size: 26px; line-height: 1.3; font-weight: 800; margin: 4px 0 4px; outline: none; letter-spacing: -0.01em; }
.vq-big { font-size: 28px; margin: 6px 0 18px; }
.vq-kicker { margin: 10px 0 0; font-size: 17px; font-weight: 800; }
/* 장소 타일 2열 × 3줄 */
.vq-places { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vq-place { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 112px; padding: 14px; border: 2px solid var(--line); border-radius: 16px;
  background: var(--sheet); color: var(--ink); font: 800 20px/1.25 var(--font); text-align: left; box-shadow: 0 4px 0 var(--edge); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .08s, box-shadow .08s; }
.vq-place:active { transform: translateY(4px); box-shadow: 0 0 0 var(--edge); }
.vq-place:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { .vq-place:hover { background: var(--wash); } }
.vq-pi { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vq-suggest { margin: 20px 0 0; font-size: 15px; text-align: center; }
.vq-suggest a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink-2); }
/* 장면 카드: 옆으로 넘김 */
.vq-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
.vq-cards::-webkit-scrollbar { display: none; }
.vq-cards:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.vq-card { flex: 0 0 calc(100% - 28px); scroll-snap-align: center; display: flex; flex-direction: column; min-height: 260px; padding: 18px; border: 2px solid var(--line); border-radius: 16px;
  background: var(--sheet); box-shadow: 0 4px 0 var(--edge); }
.vq-card-tag { align-self: flex-start; margin: 0 0 14px; padding: 2px 10px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.vq-card-s { flex: 1; margin: 0; font-size: 22px; line-height: 1.45; font-weight: 700; }
.vq-card-n { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.vq-dots { display: flex; justify-content: center; gap: 8px; margin: 6px 0 0; }
.vq-dots b { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.vq-dots b.on { background: var(--ink); }
/* 내 답 도장(인주) — 타일 오른쪽에 '쾅' */
.vq-stamp { position: absolute !important; right: 8px; top: 50%; width: 58px; height: 58px; margin-top: -29px; pointer-events: none; opacity: 0; transform: rotate(-12deg); }
.vq-stamp.on { opacity: 1; }
.vq-stamp svg { width: 100%; height: 100%; }
.vq-seal circle { stroke: var(--seal); } .vq-seal text { fill: var(--seal); font-family: var(--font); }
.vq-stamp.slam { animation: vqslam .25s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes vqslam { 0% { opacity: 0; transform: rotate(-24deg) scale(1.9); } 70% { opacity: 1; transform: rotate(-11deg) scale(.92); } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
.vv-tile .vv-t { padding-right: 4px; }
.vv-tile.sel .vv-t, .vv-tile.done .vv-t { padding-right: 56px; }
/* 동물 도장(고무 도장 음각: 인주·솔잎·먹 바탕에 얼굴이 종이색으로 빠짐) */
.vq-an { width: 44px; height: 44px; flex: none; color: var(--ink); --vq-k: var(--sheet); }
.vq-an.vq-ink-r { color: var(--seal); } .vq-an.vq-ink-g { color: var(--pine); }
.vq-an .i { fill: currentColor; } .vq-an .is { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.vq-an .k { fill: var(--vq-k); } .vq-an .ks { fill: none; stroke: var(--vq-k); stroke-linecap: round; stroke-linejoin: round; }
.vq-an .k.is { stroke: currentColor; }
.vq-an.sm { width: 32px; height: 32px; vertical-align: middle; margin-right: 8px; }
.vq-fig { display: inline-flex; flex: none; flex-direction: column; align-items: center; gap: 4px; }
.vq-fig .vq-an { width: 100%; height: auto; }
.vq-fig b { font-size: 15px; font-weight: 800; line-height: 1.2; color: var(--ink); white-space: nowrap; }
/* 보내기 판 */
.vq-send .vv-dock-in { padding-top: 16px; }
.vq-send .vv-sh-t { font-size: 22px; margin-bottom: 10px; }
.vq-slip { display: flex; align-items: center; gap: 12px; padding: 12px 14px 20px; background: var(--sheet); border: 2px solid var(--line); border-bottom: 0;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.vq-slip > div { flex: 1; min-width: 0; }
.vq-slip p { margin: 0; }
.vq-slip-k { font-size: 15px; font-weight: 800; letter-spacing: .02em; color: var(--ink-2); }
.vq-slip-f { font-size: 15px; font-weight: 700; margin-top: 2px !important; }
.vq-slip-s { font-size: 17px; font-weight: 700; margin-top: 6px !important; line-height: 1.4; }
.vq-slip-g { font-size: 16px; font-weight: 800; margin-top: 6px !important; }
.vq-slip-st { width: 68px; transform: rotate(5deg); }
.vq-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 0; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.vq-seg { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.vq-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 999px; background: var(--sheet); color: var(--ink);
  font: 700 15px var(--font); cursor: pointer; box-shadow: 0 2px 0 var(--edge); }
.vq-chip.on { border-color: var(--ink); background: var(--ink); color: var(--on-ink); box-shadow: none; }
.vq-chip:disabled { cursor: default; box-shadow: none; }
.vq-chip:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.vq-send .vv-cta { margin-top: 14px; }
/* 신고 칩 */
.vq-rep { margin: 16px 0 0; text-align: center; }
.vq-rep .vv-link { font-size: 15px; color: var(--ink-2); }
.vq-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* 받은 사람 */
.vq-from { display: flex; align-items: center; gap: 14px; margin: 12px 0 14px; }
.vq-from p { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.vq-from-st { width: 56px; transform: rotate(-5deg); }
.vq-from-st .vq-an { --vq-k: var(--paper); }
.vq-mystamp { display: flex; align-items: center; margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.vq-end { margin-top: 24px; }
.vv-a { display: grid; place-items: center; text-decoration: none; margin-top: 16px; }
/* 만든 사람 결과 */
.vq-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vq-rows li { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--sheet); font-size: 20px; }
.vq-rows li b { font-weight: 800; }
.vq-res { font-size: 17px; font-weight: 800; }
.vq-rows li.ok .vq-res { color: var(--pine); } .vq-rows li.no .vq-res { color: var(--ink-2); }
.vq-let { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 2px solid var(--line); font-size: 15px; font-weight: 800; }
.vq-rows li.ok .vq-let { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.vq-rows .vq-explain { grid-column: 2 / -1; justify-self: start; }
.vq-empty svg { display: block; width: 120px; margin: 0 auto 8px; fill: none; stroke: var(--line); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.vq-mini { margin: 18px 0 0; padding: 14px 16px; border: 2px dashed var(--line); border-radius: 14px; }
.vq-mini p { margin: 0; }
.vq-mini .vq-card-tag { margin-bottom: 8px; }
.vq-mini-s { font-size: 17px; font-weight: 700; line-height: 1.45; }
.vq-mini-p { margin-top: 8px !important; font-size: 16px; font-weight: 800; }
.vq-bars { display: grid; gap: 8px; }
.vq-bar { display: grid; grid-template-columns: 24px 1fr 52px; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vq-bar span { height: 18px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.vq-bar i { display: block; height: 100%; background: var(--ink-2); border-radius: 999px; }
.vq-bar.me i { background: var(--pine); }
.vq-bar em { font-style: normal; text-align: right; }
.vq-note { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); }
.vq-c .vv-cta { margin-top: 18px; }
.vq-others { margin: 0; padding-left: 20px; font-size: 16px; }
.vq-others a { display: inline-block; min-height: 44px; padding: 8px 0; }
/* 오늘의 질문 위 '내 문제 · 새 답 n' 배지 */
.vq-badge { display: flex; width: max-content; align-items: center; min-height: 44px; margin: 10px 0 0; padding: 0 12px; border: 2px solid var(--ink); border-radius: 999px; font-size: 15px; font-weight: 800; text-decoration: none; color: var(--ink); vertical-align: middle; }
.vq-badge.new { background: var(--ink); color: var(--on-ink); }
/* 지난 장면 풀이·FAQ(검색·AI 답변용, 가벼운 글) */
.vv-arch h2, .vv-faq h2 { font-size: 17px; font-weight: 800; color: var(--ink); }
.vv-arch ul, .vv-arch-l { list-style: none; margin: 0 0 16px; padding: 0; }
.vv-arch li a, .vv-arch-l li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 16px; }
.vv-faq { margin: 0 0 16px; }
.vv-faq h3 { font-size: 16px; margin: 12px 0 2px; color: var(--ink); }
.vv-faq p { font-size: 15px; }
.vv-mail { white-space: nowrap; }
.vv-art-pg h1 { font-size: 24px; margin: 6px 0 14px; }
.vv-art-pg h2 { font-size: 19px; margin: 26px 0 8px; }
.vv-short { font-size: 18px; line-height: 1.55; padding: 14px 16px; border-left: 4px solid var(--pine); background: var(--sheet); border-radius: 0 12px 12px 0; }
.vv-olist { margin: 0; padding-left: 24px; font-size: 17px; line-height: 1.6; }
#ld-tally p { font-size: 17px; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .vq-stamp.slam { animation: none; }
  .vq-place, .vq-place:active { transition: none; transform: none; }
}

.vq-on .vv-foot { display: none; }
.vq-mini .vq-card-tag { display: inline-block; }
