/* 외부 글꼴을 쓰지 않습니다. 빠르고, 이용자 정보가 제3자에게 가지 않습니다. */
:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --surface: #fffefb;
  --sunken: #efede6;
  --ink: #15171c;
  --ink-2: #474b54;
  --ink-3: #62666f;
  --line: #dedbd1;
  --accent: #1f3fd0;
  --accent-ink: #ffffff;
  --accent-soft: #e6eafb;
  --danger: #b3261e;
  --danger-soft: #fbe9e7;
  --caution: #805300;
  --caution-soft: #fbf0d9;
  --safe: #0f6b3f;
  --safe-soft: #e2f2e8;
  --none: #4f545d;
  --none-soft: #ebeae5;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(21 23 28 / 6%), 0 8px 24px rgb(21 23 28 / 6%);
  --font: system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #101216;
    --surface: #181b21;
    --sunken: #22262e;
    --ink: #eef0f3;
    --ink-2: #bcc1ca;
    --ink-3: #9aa0ac;
    --line: #2e333c;
    --accent: #9db1ff;
    --accent-ink: #0d1330;
    --accent-soft: #1f2748;
    --danger: #ff9c92;
    --danger-soft: #3a1c1b;
    --caution: #f2c265;
    --caution-soft: #33280f;
    --safe: #74d9a5;
    --safe-soft: #12301f;
    --none: #bcc1ca;
    --none-soft: #262a32;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101216;
  --surface: #181b21;
  --sunken: #22262e;
  --ink: #eef0f3;
  --ink-2: #bcc1ca;
  --ink-3: #9aa0ac;
  --line: #2e333c;
  --accent: #9db1ff;
  --accent-ink: #0d1330;
  --accent-soft: #1f2748;
  --danger: #ff9c92;
  --danger-soft: #3a1c1b;
  --caution: #f2c265;
  --caution-soft: #33280f;
  --safe: #74d9a5;
  --safe-soft: #12301f;
  --none: #bcc1ca;
  --none-soft: #262a32;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; }
h2 { font-size: 1.125rem; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
.muted { color: var(--ink-3); font-weight: 400; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.section { margin-top: 40px; }
.section > h2 { margin-bottom: 14px; font-size: 1.25rem; }
.eyebrow { font-size: 0.875rem; font-weight: 600; color: var(--ink-3); }

/* 상단 */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.top__grow { flex: 1; }
.logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.logo .icon { color: var(--accent); }
.top__nav { display: flex; gap: 4px; }
.top__nav a { padding: 8px 10px; border-radius: 8px; color: var(--ink-2); font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.top__nav a:hover { background: var(--sunken); }
.top__nav a[aria-current="page"] { color: var(--accent); }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); cursor: pointer; }
.iconbtn:hover { background: var(--sunken); }
.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }
:root[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block; }
  :root:not([data-theme="light"]) .only-light { display: none; }
}

/* 검색 */
.search { display: flex; width: 100%; background: var(--surface); border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search input { flex: 1; min-width: 0; padding: 16px 20px; border: 0; outline: 0; background: none; font-size: 1.375rem; font-weight: 700; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.search input::placeholder { color: var(--ink-3); font-weight: 500; letter-spacing: -0.01em; }
.search button { display: inline-flex; align-items: center; gap: 6px; padding: 0 24px; border: 0; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 1.0625rem; cursor: pointer; }
.search button:hover { background: var(--accent); color: var(--accent-ink); }
.search--compact { flex: 1; max-width: 300px; border-width: 1px; border-color: var(--line); border-radius: 10px; }
.search--compact input { padding: 8px 12px; font-size: 0.9375rem; font-weight: 600; }
.search--compact button { padding: 0 12px; background: none; color: var(--ink-2); }

/* 첫 화면 */
.hero { padding: 56px 0 36px; }
.hero__in { max-width: 680px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { margin: 10px 0 24px; color: var(--ink-2); font-size: 1.0625rem; }
.kakao-channel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0 0 16px; padding: 10px 18px; border-radius: 10px; background: #fee500; color: #191919; font-size: 0.9375rem; font-weight: 700; text-decoration: none; }
.kakao-channel:hover { background: #f1d900; color: #191919; }
.kakao-channel__icon { display: inline-grid; place-items: center; width: 23px; height: 20px; border-radius: 50%; background: #191919; color: #fee500; font-size: 0.75rem; line-height: 1; }
.promise { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 16px; font-size: 0.875rem; color: var(--ink-2); }
.promise li { display: inline-flex; align-items: center; gap: 5px; }
.promise .icon { color: var(--safe); }
.hero__stats { margin-top: 14px; font-size: 0.875rem; color: var(--ink-3); }
.hero__stats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.recent { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.recent a { padding: 4px 10px; border-radius: 999px; background: var(--sunken); color: var(--ink-2); font-size: 0.8125rem; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }

/* 패널 */
.columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.panel { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.panel > h2 { margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.panel > p + p { margin-top: 8px; }
.panel > .btn { margin-top: 12px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.panel__head h2 { display: flex; align-items: center; gap: 8px; }
.panel__head a { font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.panel--cta { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.panel--cta .btn { background: var(--accent-ink); color: var(--accent); }
.empty { padding: 24px 8px; text-align: center; color: var(--ink-3); }
.empty .btn { margin-top: 12px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* 실시간 목록 */
.live__item { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 2px 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.live__item:first-child { border-top: 0; }
.live__item.is-new { animation: slidein 0.35s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } }
.live__num { font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
a.live__num:hover { color: var(--accent); }
.live__item time { justify-self: end; font-size: 0.8125rem; color: var(--ink-3); white-space: nowrap; }
.live__item p { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.tag { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 6px; background: var(--none-soft); color: var(--none); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.tag--danger { background: var(--danger-soft); color: var(--danger); }
.tag--caution { background: var(--caution-soft); color: var(--caution); }
.tag--official { background: var(--safe-soft); color: var(--safe); }

.numlist li + li { border-top: 1px solid var(--line); }
.numrow { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 12px 4px; color: inherit; text-decoration: none; }
.numrow:hover .numrow__num { color: var(--accent); }
.numrow__num { font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.numrow__meta { grid-column: 1 / -1; font-size: 0.875rem; color: var(--ink-3); }
.numlist--tight .numrow { padding: 9px 0; }
.numlist:empty::after { content: '아직 비어 있어요.'; display: block; padding: 18px 0; text-align: center; color: var(--ink-3); }
.numitem { display: flex; align-items: center; gap: 8px; padding: 10px 0; }
.numitem a { flex: 1; min-width: 0; font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }

.typegrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.typegrid a { display: block; height: 100%; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; }
.typegrid a:hover { border-color: var(--accent); }
.typegrid strong { display: block; font-size: 0.9375rem; }
.typegrid span { font-size: 0.8125rem; color: var(--ink-3); }
.guidegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.guidegrid--one { grid-template-columns: 1fr; }
.guidecard { display: block; height: 100%; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; }
.guidecard:hover { border-color: var(--accent); }
.guidecard strong { display: block; margin-bottom: 2px; }
.guidecard span { font-size: 0.875rem; color: var(--ink-2); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1px solid transparent; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 0.9375rem; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--sunken); color: var(--ink); }
.btn--ghost.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.btn--wide { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: progress; }
.linkbtn { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 4px; border: 0; background: none; color: var(--ink-2); font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.linkbtn:hover { color: var(--accent); }
.linkbtn.is-on { color: var(--accent); }
.linkbtn--quiet { color: var(--ink-3); font-weight: 400; }

/* 번호 페이지 */
.numpage { display: grid; gap: 16px; padding-top: 20px; }
.verdict { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.verdict__band { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 12px 24px; font-size: 0.9375rem; }
.verdict__band strong { font-size: 1.0625rem; }
.verdict--danger .verdict__band { background: var(--danger-soft); color: var(--danger); }
.verdict--caution .verdict__band { background: var(--caution-soft); color: var(--caution); }
.verdict--official .verdict__band { background: var(--safe-soft); color: var(--safe); }
.verdict--low .verdict__band, .verdict--none .verdict__band { background: var(--none-soft); color: var(--none); }
.verdict__body { padding: 20px 24px 24px; }
.verdict__num { margin: 2px 0 12px; font-size: clamp(2rem, 7vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; }
.official { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 12px; color: var(--safe); }
.official span { color: var(--ink-2); font-size: 0.9375rem; }
.meter { height: 8px; border-radius: 4px; background: var(--sunken); overflow: hidden; max-width: 420px; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--ink-2); }
.verdict--danger .meter i { background: var(--danger); }
.verdict--caution .meter i { background: var(--caution); }
.meter__cap { margin-top: 5px; font-size: 0.875rem; color: var(--ink-2); }
.verdict__summary { margin-top: 14px; max-width: 68ch; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts div { padding: 10px 14px; background: var(--surface); }
.facts dt { font-size: 0.8125rem; color: var(--ink-3); }
.facts dd { font-weight: 700; }
.verdict__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.live-note { margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); }
.live-note .linkbtn { color: var(--accent); }
.numcols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }

.bars li { display: grid; grid-template-columns: 120px 1fr 44px; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.9375rem; }
.bars__track { height: 8px; border-radius: 4px; background: var(--sunken); overflow: hidden; }
.bars__track i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.bars__n { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.review { padding: 14px 0; border-top: 1px solid var(--line); }
.reviews:first-child .review:first-child { border-top: 0; padding-top: 4px; }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.review__head time { font-size: 0.8125rem; color: var(--ink-3); }
.review p { white-space: pre-wrap; }
.review__foot { display: flex; justify-content: space-between; margin-top: 6px; }
.advice { display: grid; gap: 8px; }
.advice li { padding-left: 16px; position: relative; font-size: 0.9375rem; }
.advice li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.callist a { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; color: inherit; text-decoration: none; }
.callist li + li { border-top: 1px solid var(--line); }
.callist b { font-size: 1.125rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.callist span { font-size: 0.875rem; color: var(--ink-2); }
.callist--wide b { min-width: 104px; }
.fine { font-size: 0.8125rem; color: var(--ink-3); }

/* 모바일 하단 도크 */
.dock { display: none; position: fixed; inset: auto 0 0 0; z-index: 25; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.dock button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 56px; padding: 7px 0 5px; border: 0; background: none; color: var(--ink-2); font-size: 0.75rem; font-weight: 600; cursor: pointer; }
.dock button:first-child { color: var(--danger); }
.dock button.is-on { color: var(--accent); }

/* 폼 */
.field { display: grid; gap: 6px; }
.field > label, .field > legend { font-weight: 700; font-size: 0.9375rem; }
.field > legend { margin-bottom: 8px; }
.field input, .field textarea, .field select, .inline-form input:not([type="checkbox"]), .linkcheck input {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.field textarea { resize: vertical; }
.report { display: grid; gap: 16px; }
.report__head { display: flex; align-items: center; justify-content: space-between; }
.report__head h2 { font-size: 1.25rem; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: block; height: 100%; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); }
.chip b { display: block; font-size: 0.9375rem; line-height: 1.3; }
.chip small { font-size: 0.75rem; color: var(--ink-3); }
.chip:hover span { border-color: var(--ink-3); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip--safe input:checked + span { border-color: var(--safe); background: var(--safe-soft); box-shadow: inset 0 0 0 1px var(--safe); }
.hint { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 0.8125rem; color: var(--ink-3); }
.panel .hint { margin-top: 8px; }
.hint__count { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.form-msg { min-height: 1.2em; font-size: 0.875rem; font-weight: 600; color: var(--safe); }
.form-msg:empty { display: none; }
.form-msg.is-error { color: var(--danger); }
.check { display: flex; align-items: flex-start; gap: 7px; font-size: 0.8125rem; color: var(--ink-2); }
.check input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.switch { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.switch input { width: 20px; height: 20px; }
.inline-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.inline-form .check, .inline-form .form-msg { grid-column: 1 / -1; }
.linkcheck label { display: block; margin-bottom: 6px; font-weight: 700; }
.linkresult:empty { display: none; }
.linkresult { margin-top: 14px; padding: 14px; border-radius: 12px; }
.linkresult h3 { display: flex; align-items: center; gap: 6px; font-size: 1.0625rem; }
.linkresult ul { margin-top: 6px; display: grid; gap: 2px; font-size: 0.9375rem; color: var(--ink); }
.linkresult p { margin-top: 4px; font-size: 0.9375rem; color: var(--ink); }
.linkresult--danger { background: var(--danger-soft); }
.linkresult--danger h3 { color: var(--danger); }
.linkresult--caution { background: var(--caution-soft); }
.linkresult--caution h3 { color: var(--caution); }
.linkresult--clear { background: var(--none-soft); }

.sheet { width: min(560px, 100%); max-height: min(92vh, 760px); padding: 20px; border: 0; border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgb(0 0 0 / 30%); }
.sheet::backdrop { background: rgb(10 12 16 / 55%); }
.report__done { display: grid; gap: 12px; padding: 12px 0; }
.report__done[hidden] { display: none; }
.report__thanks { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 700; color: var(--safe); }

/* 본문 글 */
.pagehead { padding: 28px 0 18px; }
.pagehead h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; }
.pagehead p { margin-top: 6px; color: var(--ink-2); }
.narrow .panel + .panel { margin-top: 12px; }
.prose { font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { margin: 32px 0 10px; font-size: 1.3125rem; }
.prose h3 { margin: 20px 0 6px; font-size: 1.0625rem; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 10px 0; padding-left: 22px; display: grid; gap: 6px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose code { padding: 1px 5px; border-radius: 4px; background: var(--sunken); font-size: 0.9em; }
.table { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; }
.table table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.table th, .table td { padding: 9px 12px; text-align: left; vertical-align: top; }
.table th { background: var(--sunken); white-space: nowrap; }
.table tr + tr td, .table tbody tr td { border-top: 1px solid var(--line); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }

/* 광고: 자리를 미리 잡아 화면이 밀리지 않게 합니다 */
.ad { min-height: 120px; }
.ad__tag { display: block; margin-bottom: 2px; font-size: 0.6875rem; color: var(--ink-3); }
.home-ad { padding-top: 24px; padding-bottom: 32px; }

.coupon-wrap { max-width: 600px; padding-top: 48px; padding-bottom: 48px; }
.coupon-panel { padding: clamp(20px, 5vw, 36px); }
.coupon-panel h1 { margin-top: 6px; font-size: clamp(1.6rem, 5vw, 2rem); }
.coupon-intro { margin-top: 12px; color: var(--ink-2); }
.coupon-form { display: grid; gap: 8px; margin-top: 24px; }
.coupon-form label { font-weight: 700; }
.coupon-form input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.coupon-form button { margin-top: 4px; }
.coupon-result { margin-top: 20px; padding: 14px; border-radius: 10px; }
.coupon-result--ok { background: var(--safe-soft); color: var(--safe); }
.coupon-result--error { background: var(--danger-soft); color: var(--danger); }
.coupon-note { margin-top: 18px; color: var(--ink-2); font-size: 0.875rem; }
.coupon-home { margin-top: 20px; }

/* 하단 */
.foot { margin-top: 56px; padding: 36px 0 28px; border-top: 1px solid var(--line); background: var(--surface); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; }
.foot__sub { max-width: 460px; }
.foot__sub p { font-size: 0.875rem; color: var(--ink-2); }
.foot__sub form { margin-top: 10px; }
.foot__links { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 28px; align-content: start; font-size: 0.875rem; }
.foot__links a { color: var(--ink-2); text-decoration: none; }
.foot__links a:hover { color: var(--accent); }
.foot__note { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--ink-3); }

.toast { position: fixed; left: 50%; bottom: 84px; z-index: 40; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 0.9375rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.toast.is-on { opacity: 1; }
dialog .toast { top: 16px; bottom: auto; }

@media (max-width: 960px) {
  .columns, .numcols { grid-template-columns: minmax(0, 1fr); }
  .typegrid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .top__in { flex-wrap: wrap; gap: 4px 8px; padding-block: 6px; }
  .top__in .logo { flex: 1; }
  .top__nav { order: 5; width: 100%; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  .top__nav a { padding: 6px 8px; font-size: 0.875rem; }
  .search--compact { order: 4; max-width: none; flex-basis: 100%; }
  .hero { padding: 32px 0 24px; }
  .search input { padding: 14px 16px; font-size: 1.1875rem; }
  .search button { padding: 0 18px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .verdict__band { padding-inline: 16px; }
  .verdict__body { padding: 16px; }
  .verdict__actions { display: none; }
  .dock { display: flex; }
  body:has(.dock) .foot { padding-bottom: 96px; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .chip span { padding: 8px 10px; }
  .chip small { display: none; }
  .report { gap: 12px; }
  .typegrid { grid-template-columns: repeat(2, 1fr); }
  .guidegrid { grid-template-columns: 1fr; }
  .bars li { grid-template-columns: 96px 1fr 40px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .sheet { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 90vh; border-radius: 18px 18px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .toast { bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (forced-colors: active) {
  .meter i, .bars__track i { background: Highlight; forced-color-adjust: none; }
}

@media print {
  .top, .foot, .dock, .ad, .verdict__actions { display: none; }
}
