/* ---- 색과 크기 ----
   역 시계: 흰 시계판, 먹색 눈금과 숫자, 빨강 하나. 빨강(--signal)은 초침·오픈·바뀐 값에만, 초록은 정확·검증에만 쓴다.
   버튼은 손가락으로 누르기 쉽게 최소 44px, 한 화면의 주 버튼은 하나만 진하게(primary). */
:root {
  --bg: #f2f3f5;
  --card: #ffffff;
  --text: #111214;
  --muted: #50555c;
  --line: #d9dce0;
  --accent: #111214;
  --accent-text: #ffffff;
  --accent-soft: #e8eaed;
  --data: #111214;
  --data-soft: #e3e6ea;
  --answer: #111214;
  --colon-op: .5;
  --link: #111214;
  --signal: #d7261e;
  --fast: #b4530a;
  --slow: #1d5fbf;
  --same: #17803d;
  --warn-bg: #fbf0e2;
  --face: #ffffff;
  --tick-off: #cdd1d6;
  --hand: #d7261e;
  --radius: 8px;
  --tap: 44px;
  --digits: "Clock Digits", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
/* 어두운 화면: 기기 설정을 따르고, 헤더 버튼으로 고르면 <html data-theme>가 우선한다. 아래 두 곳은 같은 값이어야 한다. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c0e;
    --card: #16181b;
    --text: #eceef0;
    --muted: #a2a8b0;
    --line: #2a2e33;
    --accent: #eceef0;
    --accent-text: #0b0c0e;
    --accent-soft: #24272c;
    --data: #eceef0;
    --data-soft: #2a2e33;
    --answer: #f4f5f6;
    --colon-op: .45;
    --link: #eceef0;
    --signal: #ff5a4d;
    --fast: #ff9a4d;
    --slow: #7ab6ff;
    --same: #5bd38a;
    --warn-bg: #2a2116;
    --face: #000;
    --tick-off: #3a3f45;
    --hand: #d7261e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0c0e;
  --card: #16181b;
  --text: #eceef0;
  --muted: #a2a8b0;
  --line: #2a2e33;
  --accent: #eceef0;
  --accent-text: #0b0c0e;
  --accent-soft: #24272c;
  --data: #eceef0;
  --data-soft: #2a2e33;
  --answer: #f4f5f6;
  --colon-op: .45;
  --link: #eceef0;
  --signal: #ff5a4d;
  --fast: #ff9a4d;
  --slow: #7ab6ff;
  --same: #5bd38a;
  --warn-bg: #2a2116;
  --face: #000;
  --tick-off: #3a3f45;
  --hand: #d7261e;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }
/* 시계 숫자: Barlow SemiBold에서 숫자·기호만 잘라 낸 글꼴(3KB). 늦게 오면 이번엔 기본 글꼴로 두어 숫자가 바뀌며 밀리지 않게 한다. */
@font-face { font-family: "Clock Digits"; src: url(/fonts/clock-digits.woff) format("woff"); font-weight: 100 900; font-display: optional; unicode-range: U+20, U+2B, U+2D, U+2E, U+30-3A, U+68, U+6D, U+73, U+B1, U+2212; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 20px 16px 72px; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
/* 링크 색이 글자색과 같아서 글 속 링크는 밑줄로 알린다 */
main p a, main li a, main dd a, .sub a, .trust-how, .site-footer p a { text-decoration: underline; }
::selection { background: color-mix(in srgb, var(--signal) 22%, transparent); }
h1 { font-size: 24px; line-height: 1.25; margin: 8px 0 6px; letter-spacing: -.3px; }
h1, h2, .ans-label, .verdict { text-wrap: pretty; } /* 줄 끝에 한두 글자만 남지 않게 */
h2 { font-size: 15px; margin: 0 0 12px; color: var(--muted); font-weight: 650; }
p { margin: 8px 0; }
.sub { color: var(--muted); font-size: 14px; }
.lead { color: var(--muted); margin: 0 0 16px; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---- 상단 메뉴 ---- */
nav.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 4px; padding: 8px max(12px, calc((100% - 760px) / 2 + 12px));
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
nav.top a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 6px;
  color: var(--muted); font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap;
}
nav.top a.active { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); border-radius: 0; }
nav.top .spacer { flex: 1; }
.langbar {
  /* 메뉴 아래 문서 흐름에 둔다 (데스크톱은 상단 메뉴 밑, 휴대폰은 로고 줄 밑). 떠 있게 하면 메뉴를 가렸다.
     나타날 때 아래가 한 줄 밀리지만, 브라우저 언어와 다른 페이지를 처음 연 사람에게만 한 번 보인다. */
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px;
  background: var(--accent-soft); font-size: 14px;
}
.langbar a { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; }
.langbar a svg.ico { width: 16px; height: 16px; }
.langbar button { display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--muted); min-width: var(--tap); min-height: 40px; cursor: pointer; }

/* ---- 카드 ---- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin-top: 14px;
}
.card.hero { padding: 22px 20px; }
.note { background: var(--warn-bg); border-radius: 6px; padding: 10px 12px; font-size: 14px; margin-top: 12px; }
.note.alert { display: flex; gap: 10px; align-items: flex-start; }
.note svg.ico { width: 18px; height: 18px; margin-top: 2px; color: var(--fast); }

/* ---- 버튼: primary(주) / secondary(보조) / ghost(가벼운) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: var(--tap); padding: 0 16px; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 650; line-height: 1; white-space: nowrap;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  transition: transform .06s ease, background-color .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: default; transform: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.star.on svg.ico { fill: currentColor; }
.btn.on { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--text); }
.btn.lg { min-height: 56px; font-size: 18px; padding: 0 24px; border-radius: var(--radius); }
.btn.icon { padding: 0; width: var(--tap); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---- 오픈 결과 묻기: 떠 있는 카드라 나타나도 페이지가 밀리지 않는다 (CLS) ---- */
.outcome {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 45;
  width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 120px); overflow-y: auto;
  padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.18); /* taste-skill-ignore: floating card */
}
.outcome[hidden] { display: none; }
.oc-q { font-weight: 700; padding-right: 40px; }
.oc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.oc-btns .btn { flex: 1 1 auto; padding: 0 12px; }
.oc-btns .btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.oc-close { position: absolute; top: 4px; right: 4px; display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border: 0; background: none; color: var(--muted); cursor: pointer; }
.oc-stats:empty { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* 펼침 메뉴 (캘린더 선택 등) */
details.menu { position: relative; }
details.menu > summary { list-style: none; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu[open] > summary { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--text); }
details.menu .menu-list {
  position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.14); /* taste-skill-ignore: floating menu */
}
details.menu .menu-list button {
  display: flex; width: 100%; min-height: var(--tap); align-items: center; padding: 0 12px; border: 0; border-radius: 8px;
  background: none; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; text-align: left;
}
details.menu .menu-list button:hover { background: var(--accent-soft); }

/* ---- 입력 ---- */
.hostform { display: flex; gap: 8px; }
.hostform input {
  flex: 1; min-width: 0; min-height: 56px; font: inherit; font-size: 17px; padding: 0 16px; border-radius: var(--radius);
  border: 2px solid var(--line); background: var(--card); color: var(--text);
}
.hostform input:focus { border-color: var(--accent); outline: none; }
input[type=date], input[type=time], select {
  font: inherit; min-height: var(--tap); padding: 0 10px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); max-width: 100%;
}
/* 드롭다운: 브라우저 기본 화살표는 테두리에 붙어서, 안쪽으로 들인 화살표를 직접 그린다 (밝은·어두운 화면 모두 보이는 중간 회색) */
select {
  -webkit-appearance: none; appearance: none; padding: 0 42px 0 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238a919b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
/* 날짜·시각 칸 (common.js의 datePicker, timePicker): 기본 칸처럼 보이게 테두리를 바깥 상자에 그린다 */
.dpick, .tpick {
  display: inline-flex; align-items: center; min-height: var(--tap); border-radius: 6px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); max-width: 100%; font-variant-numeric: tabular-nums;
}
.dpick { position: relative; padding: 0 12px; cursor: pointer; white-space: nowrap; overflow: hidden; }
/* 진짜 날짜 칸은 투명하게 위에 덮어서, 누르면 기기의 달력이 열린다 */
.dpick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; min-height: 0; }
.dpick:focus-within, .tpick:focus-within { border-color: var(--accent); }
.tpick { padding: 0 6px; gap: 0; }
.tpick select { min-height: 0; height: calc(var(--tap) - 2px); border: 0; background: none; padding: 0 4px; text-align: center; text-align-last: center; font-size: 16px; }
.tpick select:focus { outline: none; }
.tpick .colon { color: var(--muted); opacity: 1; }
/* 숫자 칸: 위아래 화살표(스피너)가 오른쪽 자리를 차지해서 숫자가 왼쪽으로 밀리므로 없앤다 */
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }

/* ---- 칩(추천 주소) ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 15px; text-decoration: none;
}
.chips a:hover { border-color: var(--accent); }

/* ---- 서버 시계 ---- */
.big-clock, .ans-time, .countdown, .bigtimer, .city-time, .howto .press, .stats b, .verify-answer .big, .vplate b, .unit input, .setgrid input, table.laps td { font-family: var(--digits); }
.big-clock { font-size: clamp(40px, 10vw, 60px); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; white-space: nowrap; }
/* 시각 숫자 사이 콜론: 밝은 화면에서는 진한 글자라 같은 투명도로도 더 튀어서 더 흐리게 둔다 */
.colon { opacity: var(--colon-op); margin: 0 .03em; font-weight: 600; }
/* 밀리초 앞 소수점: 밀리초 글자색이 아니라 콜론과 같은 색(시계 숫자색을 흐리게) */
.ms .sep { color: var(--clock-c, var(--text)); opacity: var(--colon-op); }
.big-clock .ms, .ans-time .ms { font-size: .5em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.big-clock .ampm, .ans-time .ampm { font-size: .32em; color: var(--muted); font-weight: 650; margin-left: 8px; letter-spacing: 0; }
.verdict { font-size: 20px; font-weight: 750; line-height: 1.35; }
/* 빠름·느림·정확은 카드 제목 색으로만 알린다 (굵은 옆줄은 쓰지 않는다) */
.fast { color: var(--fast); } .slow { color: var(--slow); } .same { color: var(--same); }
.countdown { font-size: clamp(32px, 9vw, 44px); font-weight: 750; font-variant-numeric: tabular-nums; margin: 4px 0 0; }
.countdown.soon { color: var(--fast); }
.howto { display: grid; gap: 10px; }
.howto .opt { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.howto .opt.rec { border: 2px solid var(--text); background: var(--card); }
.howto .label { font-size: 13px; color: var(--muted); }
.howto .press { font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
.stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.stats b { display: block; font-size: 16px; color: var(--text); font-variant-numeric: tabular-nums; }
/* 측정 기록 그래프 */
.hist-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-top: 12px; }
.hist-head h2 { margin: 0; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 6px; background: var(--bg); }
.seg button {
  min-height: 34px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; background: none; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--muted);
}
.seg button[aria-pressed="true"] { background: var(--card); border-color: var(--line); color: var(--text); }
.seg a {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none;
}
.seg a[aria-current="page"] { background: var(--card); border-color: var(--line); color: var(--text); }
/* 타이머 ↔ 뽀모도로 전환: 넓은 화면은 위 메뉴에 둘 다 있어서 휴대폰에서만 보인다 */
.modeswitch { display: none; }
@media (max-width: 600px) { .modeswitch { display: flex; width: fit-content; margin: 0 auto 12px; } }
svg.chart { width: 100%; height: 200px; display: block; margin-top: 10px; overflow: visible; }
svg.chart .grid { stroke: var(--line); stroke-width: 1; }
svg.chart .zero { stroke: var(--muted); stroke-width: 1.5; }
svg.chart .ax { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
svg.chart .pt, svg.chart .bar { fill: var(--data); }
svg.chart .err { stroke: var(--data); stroke-opacity: .3; stroke-width: 3; }
.tzgrid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; align-items: center; }
details.more > summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; font-weight: 650; color: var(--muted); }
.title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* ---- 사이트 페이지: "언제 누를까"가 가장 크다 ---- */
.card.answer { padding: 20px; }
.answer .datetime { margin-top: 8px; max-width: 460px; }
.answer .datetime .dpick, .answer .datetime .tpick { font-size: 16px; }
.ans-label { margin-top: 22px; font-size: 15px; font-weight: 650; color: var(--muted); }
.ans-time { --clock-c: var(--answer); color: var(--answer); font-size: clamp(40px, 14vw, 104px); font-weight: 600; line-height: 1.02; letter-spacing: -.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ans-time .ms { color: color-mix(in srgb, var(--answer) 60%, var(--muted)); }
.ans-sub { color: var(--muted); font-size: 14px; margin-top: 4px; min-height: 2.9em; } /* 측정이 오면 "계산할 필요가 없습니다"가 긴 안내 문장으로 바뀐다. 두 줄 자리를 미리 잡는다 */
/* 나중에 채워지는 한 줄짜리 안내는 자리를 미리 잡아 둔다 (채워질 때 아래가 밀리지 않게) */
#targetTitle, #clockLabel, #stdLabel, #ntp { min-height: 1.45em; }
.ans-updated { margin-top: 10px; font-size: 15px; font-weight: 650; color: var(--signal); }
.ans-time.changed { animation: changed 1.6s ease-out; }
@keyframes changed { 0%, 30% { color: var(--signal); } 100% { color: var(--answer); } }

/* 검증 목록: 이 사이트만의 차별점. 정답 바로 아래에 둔다 */
.trust-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; margin-top: 18px; }
.trust-label { font-size: 14px; font-weight: 650; }
.trust-how { font-size: 13px; font-weight: 600; white-space: nowrap; }
.trust { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.trust li { position: relative; padding-left: 18px; }
.trust li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--same); }
.trust li.warn::before { background: var(--fast); }
.trust li.watch::before { background: var(--text); }
@keyframes live { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .ans-time.changed { animation: none; } }
.live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.live .big-clock { font-size: clamp(26px, 6.2vw, 42px); }
.live .countdown { font-size: clamp(26px, 6.2vw, 42px); margin: 0; letter-spacing: -.02em; }
.answer .actions { margin-top: 20px; }

/* ---- 사이트 카드 목록 ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.site {
  position: relative; display: block; color: inherit; text-decoration: none !important;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 44px 10px 14px; line-height: 1.4;
}
.site:hover { border-color: var(--accent); }
.site .name { font-weight: 700; }
.site .sub { font-size: 13px; }
.hostline { display: flex; gap: 6px; min-width: 0; }
.hostline .h { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hostline .e { flex: none; font-variant-numeric: tabular-nums; }
.hostline .e::before { content: '·'; margin-right: 6px; }
.site .del {
  position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer;
}
.site .del, .city .del { display: inline-flex; align-items: center; justify-content: center; }
.site .del svg.ico, .city .del svg.ico { width: 18px; height: 18px; }
.site .del:hover { background: var(--warn-bg); color: var(--fast); }
.cat-title { margin: 26px 0 10px; font-size: 15px; color: var(--muted); font-weight: 650; }

/* ---- 타이머 / 스톱워치 ---- */
.stage { position: relative; text-align: center; padding: 34px 20px 24px; }
.stage .fs { position: absolute; top: 10px; right: 10px; }
/* 가로로 눕힌 휴대폰처럼 낮은 화면에서도 위아래가 잘리지 않게 글자 크기를 높이에도 맞춘다 */
.stage:fullscreen { display: flex; flex-direction: column; justify-content: safe center; overflow-y: auto; padding: 16px; border: 0; border-radius: 0; }
.stage:fullscreen .bigtimer { font-size: min(22vw, 45vh); }
.stage.pomo:fullscreen .bigtimer { font-size: min(22vw, 34vh); }
.bigtimer { font-size: clamp(68px, 21vw, 156px); font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
/* 스톱워치는 자리가 더 많아서(00:00.00) 조금 작게 */
.bigtimer.sw { font-size: clamp(52px, 15vw, 128px); }
.stage:fullscreen .bigtimer.sw { font-size: min(16vw, 40vh); }
.stage.done .bigtimer { color: var(--fast); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.progress { height: 6px; background: var(--line); border-radius: 3px; margin: 20px auto 8px; max-width: 520px; overflow: hidden; }
.progress div { height: 100%; width: 0; background: var(--data); }
/* 아이폰 시계 앱처럼 왼쪽 보조, 오른쪽 주 버튼. 주 버튼이 더 넓다. */
.controls { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; max-width: 420px; margin: 18px auto 0; }
.unitrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 420px; }
.unit { display: grid; gap: 4px; text-align: center; font-size: 13px; color: var(--muted); }
.unit input {
  width: 100%; min-height: 56px; padding: 0; font: inherit; font-size: 24px; font-weight: 650; text-align: center;
  border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 14px; }
.presets a {
  display: flex; align-items: center; justify-content: center; min-height: var(--tap); border-radius: 6px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none !important;
}
.presets a:hover { border-color: var(--accent); }
.presets a.cur { background: var(--accent-soft); border-color: var(--text); color: var(--text); }
/* 뽀모도로: 단계 선택, 이번 바퀴 진행 점, 휴식 중에는 초록 */
.pomo-seg { margin-bottom: 22px; max-width: 100%; }
/* 전체화면은 세로 flex라 그냥 두면 가로로 꽉 차게 늘어난다 */
.stage:fullscreen .pomo-seg { align-self: center; }
/* 넓은 화면: 단계 선택을 전체화면 버튼과 같은 줄 높이에 둔다 */
@media (min-width: 481px) { .stage.pomo { padding-top: 10px; } }
.pomo-seg button { padding: 0 10px; }
.stage.rest .progress div { background: var(--same); }
.dots { display: flex; justify-content: center; gap: 8px; margin: 16px 0 8px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); }
.dots span.on { background: var(--accent); border-color: var(--accent); }
.dots span.cur { border-color: var(--accent); }
.controls.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); max-width: 520px; }
.controls.three .btn { padding-inline: 8px; min-width: 0; }
.setgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.setgrid input {
  width: 100%; min-height: 52px; padding: 0; font: inherit; font-size: 22px; font-weight: 650; text-align: center; font-variant-numeric: tabular-nums;
  border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.check { display: flex; align-items: center; gap: 10px; min-height: var(--tap); margin: 14px 0 10px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
@media (max-width: 600px) { .setgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
table.laps { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.laps th, table.laps td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: right; }
table.laps th { font-size: 13px; color: var(--muted); font-weight: 600; }
table.laps th:first-child, table.laps td:first-child { text-align: left; color: var(--muted); }
/* 전체화면 스톱워치: 랩이 생기면 시계를 줄이고, 남는 높이에 랩 표를 둔다. 넘치면 표 안에서만 스크롤 (최신 랩이 맨 위) */
.fslaps { display: none; }
.stage:fullscreen.has-laps .fslaps { display: block; flex: 0 1 auto; min-height: 0; overflow-y: auto; width: min(560px, 100%); margin: 20px auto 0; }
.stage:fullscreen.has-laps .bigtimer.sw { font-size: min(13vw, 24vh); }
.fslaps thead th { position: sticky; top: 0; background: var(--card); }

@media (max-width: 480px) {
  nav.top { gap: 0; padding: 6px 8px; }
  nav.top a { padding: 0 10px; font-size: 14px; }
  .card { padding: 16px; }
  .stage { padding-top: 48px; } /* 전체화면 버튼과 숫자가 겹치지 않게 */
  .actions .btn, .actions details.menu { flex: 1 1 auto; }
  .actions details.menu > summary { width: 100%; }
}


/* ---- 세계 시계 ---- */
.card.cities { padding: 4px 0; }
.city { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 52px 14px 20px; border-bottom: 1px solid var(--line); }
.city:last-child { border-bottom: 0; }
.city.me { background: var(--accent-soft); border-radius: var(--radius) var(--radius) 0 0; padding-right: 20px; }
.city-main { flex: 1; min-width: 0; }
.city-name { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.daynight { display: inline-flex; color: var(--muted); }
.daynight svg.ico { width: 18px; height: 18px; }
.city-time { font-size: clamp(24px, 6vw, 32px); font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.city-time .ampm { font-size: .5em; color: var(--muted); margin-left: 4px; }
.city .del {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer;
}
.city .del:hover { background: var(--warn-bg); color: var(--fast); }

/* ---- 페이지 아래 설명 글 ---- */
.info { margin-top: 28px; }
.info h2 { font-size: 18px; color: var(--text); margin: 18px 0 8px; }
.info h2:first-child { margin-top: 0; }
.info p, .info li, .info dd { color: var(--muted); }
.info ol, .info ul { padding-left: 22px; margin: 8px 0; }
.info li { margin: 4px 0; }
.info dt { font-weight: 650; margin-top: 10px; }
.info dd { margin: 2px 0 0; }
table.record { width: 100%; border-collapse: collapse; font-size: 14px; margin: 4px 0 18px; font-variant-numeric: tabular-nums; }
table.record th, table.record td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: left; }
table.record th { font-size: 13px; color: var(--muted); font-weight: 600; }
table.record td:last-child, table.record th:last-child { text-align: right; }

/* ---- 공통 다듬기 ---- */
/* 한국어는 단어 중간에서 줄바꿈하지 않는다 ("느\n립니다" 방지) */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }
.lbl-short { display: none; }
nav.top .ico { display: none; }
nav.top .lbl-tab { display: none; }
nav.top svg.ico { display: none; }
/* 아이콘: 한 가지 선 굵기 · 둥근 끝 (icons.svg) */
svg.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.ico { width: 18px; height: 18px; }
.row.datetime .dpick, .row.datetime .tpick { flex: 1 1 120px; min-width: 0; }
details.more > summary { list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ''; width: 7px; height: 7px; margin: 0 4px 4px auto; border: solid currentColor; border-width: 0 1.75px 1.75px 0; transform: rotate(45deg); transition: transform .2s ease; }
details.more[open] > summary::after { transform: rotate(225deg); margin-bottom: -4px; }

/* ---- 휴대폰: 메뉴는 아래 탭바, 목록은 한 묶음, 버튼은 아이콘+짧은 이름 ---- */
@media (max-width: 600px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .outcome { bottom: calc(74px + env(safe-area-inset-bottom)); }
  main { padding-top: 4px; } /* 맨 위 브랜드 줄 아래 */
  h1 { font-size: 22px; }

  /* 엄지가 닿는 아래쪽 탭바 */
  nav.top {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 20;
    justify-content: space-around; gap: 0; overflow: visible;
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); border-bottom: 0;
  }
  nav.top .spacer { display: none; }
  nav.top a {
    flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 3px;
    min-height: 54px; padding: 4px 2px; border: 0; border-radius: 8px;
    font-size: 10.5px; font-weight: 600; white-space: nowrap; letter-spacing: -.01em;
  }
  nav.top a span:last-child { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  nav.top svg.ico { display: block; width: 22px; height: 22px; }
  nav.top .lbl-long { display: none; }
  nav.top .lbl-tab { display: block; }
  nav.top a.active, nav.top a.m-active { background: none; color: var(--text); box-shadow: none; }
  nav.top a.nav-desk { display: none; }
  nav.top a.m-active svg.ico, nav.top a.active svg.ico { box-sizing: content-box; background: var(--accent-soft); border-radius: 999px; padding: 3px 14px; }

  /* 주소 입력 아래 추천 칩은 옆으로 넘겨 보기 */
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .chips::-webkit-scrollbar { display: none; }
  .chips a { flex: none; }

  /* 사이트 목록: 카드 여러 장 대신 한 묶음 목록 (아이폰 설정 화면처럼) */
  .grid { gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .grid .site { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 10px 48px 10px 16px; }
  .grid .site:last-child { border-bottom: 0; }
  .site .del { top: 50%; transform: translateY(-50%); }

  /* 사이트 페이지 */
  .btn.star { width: var(--tap); padding: 0; flex: none; }
  .btn.star .lbl-long { display: none; }
  .btn.star svg.ico { width: 22px; height: 22px; }
  .verdict { font-size: 18px; }
  .live { grid-template-columns: 1fr; }
  .live .big-clock, .live .countdown { font-size: clamp(30px, 9vw, 40px); }
  .howto .press { font-size: 20px; }
  .tzgrid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tzgrid select { margin-bottom: 8px; }

  /* 알림음 · 캘린더 · 공유: 같은 크기 세 칸, 아이콘 위에 짧은 이름 */
  .actions.tool { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .actions.tool .btn, .actions.tool details.menu > summary {
    width: 100%; flex-direction: column; gap: 5px; min-height: 64px; padding: 6px 4px;
    font-size: 13px; white-space: normal; text-align: center;
  }
  .actions.tool .lbl-long { display: none; }
  .actions.tool .lbl-short { display: inline; }
  .actions.tool svg.ico { width: 22px; height: 22px; }
  .actions:not(.tool) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  /* 날짜·시간 칸 나란히 (휴대폰 날짜 칸은 최소 폭이 있어 그리드로 나눈다) */
  .row.datetime { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; } /* 시간 칸은 초까지 보여서 조금 넓게 */
  .row.datetime .dpick, .row.datetime .tpick { width: 100%; font-size: 16px; justify-content: center; } /* 16px 미만이면 아이폰이 누를 때 화면을 확대한다 */
  details.menu .menu-list { left: 50%; transform: translateX(-50%); }

  .city { padding-left: 16px; }
}
/* 언어 탭: 이모지 대신 "가" / "A" 글자 아이콘 */
nav.top span.ico.glyph {
  min-width: 24px; height: 24px; padding: 0 3px; display: none; align-items: center; justify-content: center;
  border: 1.6px solid currentColor; border-radius: 6px; font-size: 13px; font-weight: 800; line-height: 1;
}
@media (max-width: 600px) { nav.top span.ico.glyph { display: inline-flex; } }

/* ---- 하단 (소개 · 의견 · 개인정보처리방침 · 이용약관) ---- */
/* 왼쪽 로고·저작권, 오른쪽 링크 한 줄, 그 아래 고지 한 줄 (휴대폰에서는 링크가 줄바꿈되는 작은 묶음) */
.site-footer { max-width: 760px; margin: 8px auto 0; padding: 20px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.ft-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; }
.site-footer .ft-brand { font-size: 13px; font-weight: 600; color: var(--muted); gap: 8px; }
.site-footer .ft-brand .logo { width: 20px; height: 20px; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 16px; }
.ft-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) {
  .ft-row { flex-direction: column; align-items: flex-start; }
  .ft-links { justify-content: flex-start; gap: 0 14px; }
  .ft-links a { min-height: 36px; }
}

/* ---- 문서 페이지 · 의견 보내기 ---- */
.doc { margin-top: 0; }
.doc h1 { font-size: 24px; margin: 0 0 8px; color: var(--text); }
.doc .doc-lead { font-size: 17px; color: var(--text); }
.guide-list { padding-left: 0; list-style: none; }
.guide-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.guide-list li:last-child { border-bottom: 0; }
.guide-list a { font-weight: 650; }
.guide-link { margin: 12px 0 0; font-size: 14px; }
/* 측정 방법 그림 (업다운 게임: 단계마다 범위 막대가 반으로) */
.fig-wrap { margin: 16px 0 20px; }
.fig { display: block; width: 100%; max-width: 460px; height: auto; }
.fig .guide { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 3 4; opacity: .7; }
.fig .bar { fill: var(--data-soft); }
.fig .bar.final { fill: var(--data); }
.fig .more { fill: var(--muted); }
.fig text { font-size: 13px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.fig .n1 { fill: var(--text); font-weight: 650; }
.fig .w { fill: var(--text); font-size: 12px; font-weight: 600; }
.fig .acc { fill: var(--data); font-weight: 650; }
.fig .big { fill: var(--data); font-size: 16px; font-weight: 750; }
.feedback { display: grid; gap: 16px; }
.feedback textarea, .feedback input, .feedback select {
  width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 6px;
  border: 1px solid var(--line); background-color: var(--bg); color: var(--text);
}
.feedback select { padding-right: 42px; }
.feedback textarea { resize: vertical; min-height: 140px; }
.feedback .btn { justify-self: start; }

/* ---- 언어 메뉴 (데스크톱: 오른쪽 위 펼침, 휴대폰: 아래 탭바에서 위로 펼침) ---- */
details.langmenu { position: relative; }
details.langmenu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: 6px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap;
}
details.langmenu > summary::-webkit-details-marker { display: none; }
details.langmenu[open] > summary { color: var(--text); }
.langmenu-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 170px; display: grid; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.14); /* taste-skill-ignore: floating menu */
}
nav.top .langmenu-list a { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border: 0; border-radius: 8px; color: var(--text); font-size: 15px; font-weight: 500; }
nav.top .langmenu-list a:hover { background: var(--accent-soft); text-decoration: none; }
nav.top .langmenu-list a[aria-current] { color: var(--text); font-weight: 650; }
@media (max-width: 600px) {
  details.langmenu { flex: 1 1 0; min-width: 0; display: flex; }
  details.langmenu > summary {
    flex: 1; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; min-height: 54px; padding: 4px 2px;
    border: 0; border-radius: 8px; font-size: 11px; font-weight: 600;
  }
  details.langmenu > summary span:last-child { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .langmenu-list { top: auto; bottom: calc(100% + 8px); right: 4px; }
  nav.top .langmenu-list a { flex: none; flex-direction: row; justify-content: flex-start; min-height: 46px; padding: 0 14px; font-size: 15px; }
}

/* ---- 밝은/어두운 화면 버튼: 지금 밝으면 달, 어두우면 해 ---- */
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; padding: 0; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted);
}
.theme-btn:hover { color: var(--text); }
.theme-btn .tico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: none; }
}
nav.top .theme-btn { margin-right: 4px; }
header.mtop .theme-btn { margin-left: auto; }
@media (max-width: 600px) { nav.top .theme-btn { display: none; } }

/* ---- 브랜드: 데스크톱은 메뉴바 왼쪽, 휴대폰은 맨 위 (메뉴는 아래 탭바) ---- */
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 750; font-size: 16px; letter-spacing: -.02em; text-decoration: none !important; white-space: nowrap; }
.brand .logo { width: 24px; height: 24px; flex: none; }
nav.top a.brand { padding: 0 12px 0 4px; margin-right: 4px; color: var(--text); font-weight: 750; font-size: 16px; }
header.mtop { display: none; }
@media (max-width: 600px) {
  nav.top a.brand { display: none; }
  header.mtop { display: flex; align-items: center; height: 48px; padding: 0 16px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  /* 태블릿 폭: 긴 메뉴 이름(스페인어 등)이 넘치지 않게 로고만 남기고 간격을 줄인다 */
  nav.top a.brand span { display: none; }
  nav.top { gap: 2px; }
  nav.top a { padding: 0 6px; font-size: 14px; }
  details.langmenu > summary { padding: 0 10px; }
  nav.top .lbl-long { display: none; }
  nav.top .lbl-tab { display: inline; }
}
/* 스페인어 메뉴 이름은 데스크톱에서도 길어서 짧은 이름을 쓴다 */
@media (min-width: 601px) {
  html[lang="es"] nav.top .lbl-long { display: none; }
  html[lang="es"] nav.top .lbl-tab { display: inline; }
}

/* ---- 측정 다이얼 (역 시계): 지난 1시간 동안 잰 분의 눈금만 진하다. 빨간 초침은 지금 이 순간. ---- */
.clockrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; }
.dial { margin: 0; display: grid; justify-items: center; gap: 6px; }
.dial svg { display: block; width: clamp(64px, 19vw, 112px); height: auto; overflow: visible; }
.dial .face { fill: var(--face); stroke: var(--text); stroke-width: 2; }
.dial .off { stroke: var(--tick-off); stroke-width: 1.6; }
.dial .on { stroke: var(--text); stroke-width: 3.2; }
.dial .mh { stroke: var(--text); stroke-width: 4.5; }
.dial .sh { fill: var(--hand); stroke: var(--hand); stroke-width: 1.6; }
.dial .sh circle { stroke: none; }
.dial .cap { fill: var(--text); }
.dial figcaption { font-size: 12px; line-height: 1.3; color: var(--muted); text-align: center; min-height: 2.6em; max-width: 8.5em; text-wrap: balance; }
.ans-row { margin-top: 18px; }
.ans-row .ans-label { margin-top: 0; }
.ans-row .ans-time { font-size: clamp(34px, 10vw, 92px); }
/* 휴대폰: 누를 시각은 다이얼 옆이 아니라 아래 한 줄을 통째로 쓴다. 화면에서 가장 큰 글자로 남아야 LCP도 첫 그림에서 끝난다 */
@media (max-width: 600px) {
  .ans-row { grid-template-areas: "label dial" "time time"; align-items: center; row-gap: 2px; }
  .ans-row .ans-main { display: contents; }
  .ans-row .ans-label { grid-area: label; }
  .ans-row .dial { grid-area: dial; }
  .ans-row .ans-time { grid-area: time; font-size: clamp(40px, 14vw, 104px); }
}

/* 떠 있는 시계 버튼: 지원하는 브라우저(크롬·엣지 데스크톱)에서만. html.pip은 그리기 전에 붙는다 */
.pip-only { display: none !important; }
html.pip .pip-only { display: inline-flex !important; }
#pipBtn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--text); }
@media (max-width: 600px) { html.pip .actions.tool { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 떠 있는 시계 창 안: 왼쪽 다이얼, 오른쪽 숫자. 창 크기(vw·vh)에 맞춰 같이 커진다.
   창이 600px보다 좁아 휴대폰용 규칙(아래 탭바 여백 등)이 걸리므로 body 여백은 여기서 다시 정한다 */
.pipbody { margin: 0; padding: 0 !important; background: var(--card); overflow: hidden; }
.pipwin { height: 100vh; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 min(5vw, 28px); padding: 0 min(5vw, 28px); }
.pip-dial svg { width: min(30vw, 72vh); }
.pip-dial figcaption { font-size: min(2.8vw, 5.5vh, 12px); min-height: 0; max-width: min(30vw, 72vh); }
.pip-info { min-width: 0; }
.pip-name { font-weight: 750; font-size: min(3.6vw, 7.5vh); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: min(1.5vh, 6px); }
.pipbody .sub { font-size: min(2.9vw, 6vh); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pip-now { font-size: min(7.8vw, 19vh); line-height: 1.05; letter-spacing: -.01em; }
.pip-row { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: min(3vw, 16px); margin-top: min(2.5vh, 10px); padding-top: min(2.5vh, 10px); border-top: 1px solid var(--line); }
.pip-v { font-family: var(--digits); font-size: min(3.8vw, 9vh); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pip-v .ampm { font-size: .6em; margin-left: 3px; color: var(--muted); }
.pip-v.soon { color: var(--fast); }
.pip-v.changed { color: var(--signal); }

/* 소개·측정 방법 맨 위의 "하는 일" 세 줄 */
.does { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 12px 0 20px; background: var(--bg); }
.does h2 { margin-top: 0 !important; }
.does ul { margin: 0; padding-left: 20px; }
.does li { margin: 6px 0; }

/* 검증 서버의 사이트 페이지: 일부러 틀어 둔 서버라고 맨 위에서 밝힌다 */
.checknote { border: 1px solid var(--text); }
.checknote p { margin: 4px 0 0; font-size: 15px; }
.checknote .cn-h { margin: 0; font-size: 17px; font-weight: 750; }
/* 공개 검증 판: 홈과 사이트 페이지 첫 화면, /verify로 간다 */
.vplate {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; margin-top: 16px;
  padding: 10px 12px; border: 1px solid var(--text); border-radius: var(--radius); background: var(--card); color: var(--text); text-decoration: none !important;
}
.vplate:hover { background: var(--accent-soft); }
.vplate .seal { width: 24px; height: 24px; color: var(--same); stroke-width: 2; }
.vplate b { font-size: 26px; font-weight: 600; line-height: 1; color: var(--same); white-space: nowrap; }
.vplate .vp-t { display: block; font-size: 14px; font-weight: 650; line-height: 1.35; text-wrap: balance; }
.vplate .vp-s { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.vplate .chev { color: var(--muted); }
.card.verify-answer { padding: 18px 20px; margin: 12px 0 14px; display: grid; gap: 8px; justify-items: start; }
.verify-answer .big { font-size: clamp(32px, 8vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--data); }
@media (max-width: 480px) {
  /* 휴대폰: 검증 판의 글자 칸을 넓힌다 (초록 숫자가 이미 신호라 도장 아이콘은 뺀다) */
  .vplate { gap: 2px 8px; padding: 10px; }
  .vplate .seal { width: 18px; height: 18px; }
  .dial figcaption { max-width: 7em; }
  .clockrow { column-gap: 12px; }
  .vplate b { font-size: 22px; }
  .row.datetime .dpick { justify-content: flex-start; }
}

/* 값이 크게 오가는 사이트: 시각 하나로 안내하지 않으니 멈춘 시각, 흐르는 시계, 알림음, 떠 있는 시계를 뺀다 */
#measured.ranged .ans-time, #measured.ranged .live, #measured.ranged #clockLabel, #measured.ranged #userLine, #measured.ranged #beep, #measured.ranged #pipBtn { display: none; }
