:root {
  color-scheme: light;
  --brand-red: #d71920;
  --brand-red-hover: #b9141a;
  --brand-red-soft: #fff1f2;
  --brand-yellow: #ffd54a;
  --brand-yellow-soft: #fff4c2;
  --surface: #ffffff;
  --page-bg: #ffffff;
  --surface-subtle: #f8fafc;
  --text: #1f2937;
  --text-strong: #111827;
  --text-muted: #5b6472;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --focus-ring: #1f2937;
  --radius-card: 16px;
  --radius-control: 12px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .05);
  --shadow-md: 0 2px 4px rgba(17, 24, 39, .05), 0 16px 40px rgba(17, 24, 39, .08);
  --max: 1200px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s7: 32px; --s8: 40px; --s9: 56px; --s10: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand-red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-red-hover); }
h1, h2, h3, h4 { color: var(--text-strong); line-height: 1.32; margin: 0 0 var(--s4); text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.85rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.2em; }
li + li { margin-top: 6px; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--text-strong); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s6); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(160%) blur(8px);
}
.header-in { display: flex; align-items: center; gap: var(--s6); min-height: 72px; }
.brand-img { display: block; height: auto; max-width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-strong); font-weight: 800; font-size: 1.24rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text-strong); }
.brand-mark { width: 36px; height: 36px; flex: 0 0 36px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a, .nav button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px; border: 0; background: none;
  color: var(--text); font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer;
}
.nav a:hover, .nav button:hover, .nav [aria-current="page"] { background: var(--surface-subtle); color: var(--brand-red); }
.nav .nav-cta { background: var(--brand-red); color: #fff; padding: 10px 16px; margin-left: 6px; }
.nav .nav-cta:hover { background: var(--brand-red-hover); color: #fff; }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(760px, 92vw); background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-md); padding: var(--s5); display: none;
}
.mega[data-open="true"] { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px 14px; }
.mega-grid a { padding: 8px 10px; font-size: .92rem; font-weight: 600; border-radius: 8px; color: var(--text); text-decoration: none; display: flex; justify-content: space-between; gap: 8px; }
.mega-grid a:hover { background: var(--brand-red-soft); color: var(--brand-red-hover); }
.mega-grid span { color: var(--text-muted); font-weight: 500; font-size: .82rem; }
.mega-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--border); }
.mega-head strong { font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text-strong); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.saved-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: #fff; color: var(--text); font: inherit; font-size: .9rem; font-weight: 600; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.saved-btn:hover { border-color: var(--brand-red); color: var(--brand-red); }
.mobile-saved { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: var(--s9) 0 var(--s8); background:
  radial-gradient(900px 380px at 82% -10%, rgba(255,213,74,.28), transparent 62%),
  radial-gradient(700px 340px at 8% 0%, rgba(215,25,32,.06), transparent 66%),
  #fff; border-bottom: 1px solid var(--border); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s9); align-items: center; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-yellow-soft); color: #6b4b00; font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: var(--s4); }
.hero .eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-red); }
.hero h1 { margin-bottom: var(--s4); }
.hero h1 .accent { color: var(--brand-red); }
.hero-lead { color: var(--text-muted); font-size: 1.06rem; max-width: 46ch; margin-bottom: var(--s6); }
.hero-stats { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s5); color: var(--text-muted); font-size: .9rem; }
.hero-stats b { color: var(--text-strong); font-weight: 800; font-size: 1.02rem; }
.hero-panel { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-md); padding: var(--s6); }

/* search */
.search { position: relative; }
.search-label { font-weight: 700; font-size: .92rem; color: var(--text-strong); margin-bottom: var(--s2); display: block; }
.search-row { display: flex; gap: var(--s2); }
.search-field { position: relative; flex: 1 1 auto; }
.search input[type="search"] {
  width: 100%; min-height: 56px; padding: 0 46px 0 16px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-control);
  background: #fff; color: var(--text-strong); font: inherit; font-size: 1rem;
}
.search input[type="search"]:focus { border-color: var(--brand-red); outline: 3px solid rgba(215,25,32,.18); outline-offset: 0; }
.search input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--surface-subtle); color: var(--text-muted); cursor: pointer; font-size: 1rem; line-height: 1; }
.search-clear:hover { background: var(--brand-red-soft); color: var(--brand-red); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-control);
  border: 1.5px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: var(--brand-red-hover); color: #fff; }
.btn-secondary { background: var(--brand-yellow); color: #1f2937; }
.btn-secondary:hover { background: #f6c62f; color: #1f2937; }
.btn-ghost { background: #fff; color: var(--brand-red); border-color: var(--brand-red); }
.btn-ghost:hover { background: var(--brand-red-soft); color: var(--brand-red-hover); }
.btn-quiet { background: #fff; color: var(--text); border-color: var(--border); }
.btn-quiet:hover { border-color: var(--border-strong); color: var(--text-strong); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.search-hint { color: var(--text-muted); font-size: .85rem; margin: var(--s3) 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--text); font-size: .88rem; font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--brand-red); color: var(--brand-red); background: var(--brand-red-soft); }
.chip .n { color: var(--text-muted); font-weight: 500; font-size: .8rem; }
.chip[aria-pressed="true"], .chip.is-active { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.chip[aria-pressed="true"] .n, .chip.is-active .n { color: rgba(255,255,255,.8); }

.search-results { margin-top: var(--s4); border-top: 1px dashed var(--border); padding-top: var(--s4); }
.search-status { font-size: .9rem; color: var(--text-muted); margin: 0 0 var(--s3); }
.search-status b { color: var(--text-strong); }
.search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 340px; overflow: auto; }
.search-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-subtle); color: var(--text); text-decoration: none; }
.search-list a:hover { background: var(--brand-red-soft); }
.search-list .meta { color: var(--text-muted); font-size: .84rem; }
.search-empty { background: var(--brand-yellow-soft); border: 1px solid #f2df9a; border-radius: 12px; padding: var(--s4); font-size: .92rem; color: #5c4a07; }


/* ---------- address hub ---------- */
.hub { display: grid; gap: var(--s3); }
.hub-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hub-badge { font-size: .78rem; font-weight: 800; color: #166534; background: #ecfdf3; border: 1px solid #b7ebc6; padding: 3px 10px; border-radius: 999px; }
.hub-title { margin: 0; font-size: 1.35rem; }
.hub-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hub-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: #fff; }
.hub-label { flex: 0 0 62px; font-size: .8rem; font-weight: 800; color: var(--brand-red); }
.hub-val { min-width: 0; display: grid; }
.hub-val b { font-size: .95rem; color: var(--text-strong); overflow-wrap: anywhere; }
.hub-val span { font-size: .78rem; color: var(--text-muted); }
.copy-btn { margin-left: auto; width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--text-muted); cursor: pointer; font-size: .95rem; }
.copy-btn:hover { border-color: var(--brand-yellow); background: var(--brand-yellow-soft); color: #6b5200; }
.copy-btn.copied { background: var(--brand-yellow); border-color: var(--brand-yellow); color: #4a3600; }
.hub-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.hub-actions .btn { flex: 1 1 150px; min-height: 44px; padding: 0 12px; font-size: .9rem; }
.hub-note { margin: 0; font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- search band ---------- */
.search-band { border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); padding: var(--s6); }
.search-band-head { margin-bottom: var(--s4); }
.search-band-head h2 { margin: 0; font-size: 1.3rem; }
.search-band-head p { margin: 4px 0 0; color: var(--text-muted); font-size: .92rem; }

/* ---------- telegram + info cards ---------- */
.tel-banner { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; border-radius: 18px; padding: var(--s5) var(--s6); background: linear-gradient(115deg, #d71920, #8f1116 70%); color: #fff; box-shadow: var(--shadow-sm); }
.tel-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff; }
.tel-copy { display: grid; gap: 2px; }
.tel-kicker { font-size: .72rem; letter-spacing: .12em; font-weight: 800; color: #ffd54a; }
.tel-copy b { font-size: 1.12rem; color: #fff; }
.tel-copy p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.85); }
.tel-banner .btn { margin-left: auto; background: #ffd54a; color: #1f2937; border-color: #ffd54a; }
.tel-banner .btn:hover { background: #f6c62f; color: #1f2937; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.info-card { position: relative; border: 1px solid var(--border); border-radius: 18px; background: #fff; padding: var(--s6); display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); overflow: hidden; }
.info-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.info-badge { font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--brand-red); background: var(--brand-red-soft); border: 1px solid #f7c9cc; padding: 3px 9px; border-radius: 999px; }
.info-card h2 { margin: 0; font-size: 1.25rem; }
.info-card p { margin: 0; color: var(--text-muted); font-size: .92rem; max-width: 42ch; }
.pin-visual { position: relative; height: 120px; margin-top: 6px; display: grid; place-items: center; }
.pin-ring { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1px dashed #f3c2c5; }
.pin-ring::after { content: ''; position: absolute; inset: 18px; border-radius: 50%; border: 1px solid #fae1e2; }
.pin-core { width: 64px; height: 64px; border-radius: 18px; background: var(--brand-yellow-soft); border: 1px solid #f0dc93; display: grid; place-items: center; }
.pin-chip { position: absolute; bottom: 6px; right: 10px; font-size: .72rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; color: var(--text-muted); }
.icon-grid { display: grid; grid-template-columns: repeat(6, 44px); gap: 8px; margin-top: auto; padding-top: 8px; }
.icon-chip { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-subtle); border: 1px solid var(--border); color: var(--brand-red); }
.icon-chip svg { width: 22px; height: 22px; }

/* ---------- sections ---------- */
.section { padding: var(--s9) 0; }
.section.tight { padding: var(--s8) 0; }
.section.alt { background: var(--surface-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); flex-wrap: wrap; }
.sec-head p { margin: 6px 0 0; color: var(--text-muted); max-width: 62ch; }
.sec-head .more { font-weight: 700; font-size: .92rem; text-decoration: none; }
.eyebrow-sm { display: inline-block; color: var(--brand-red); font-weight: 800; font-size: .82rem; letter-spacing: .04em; margin-bottom: 6px; }


/* ---------- image sections ---------- */
.figure-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s4); }
.shot-card { margin: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.shot-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; object-position: top; background: var(--surface-subtle); }
.shot-card figcaption { padding: 12px 14px 14px; font-size: .9rem; color: var(--text-muted); }
.shot-card figcaption b { display: block; color: var(--text-strong); font-size: .98rem; margin-bottom: 2px; }
.cat-shot-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s3); }
.cat-shot { display: block; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); }
.cat-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; object-position: top; background: var(--surface-subtle); }
.cat-shot span { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; font-weight: 700; font-size: .92rem; }
.cat-shot span em { font-style: normal; color: var(--text-muted); font-weight: 600; font-size: .82rem; }
.cat-shot:hover { border-color: #f0b4b7; color: var(--text); }
.diagram { margin: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.diagram img { display: block; width: 100%; height: auto; }
.diagram figcaption { padding: 12px 16px; font-size: .86rem; color: var(--text-muted); border-top: 1px solid var(--border); }
.guide-card.has-thumb { padding: 0; overflow: hidden; gap: 0; }
.guide-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-body { padding: var(--s4) var(--s5) var(--s5); display: flex; flex-direction: column; gap: 8px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: var(--s4); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cat-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.cat-card { display: flex; flex-direction: column; gap: 6px; padding: var(--s5); text-decoration: none; color: var(--text); position: relative; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.cat-card:hover { border-color: #f0b4b7; box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--text); }
.cat-card .top { display: flex; align-items: center; gap: 10px; }
.cat-badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-red-soft); color: var(--brand-red); font-weight: 800; font-size: .95rem; flex: 0 0 34px; }
.cat-card h3 { margin: 0; font-size: 1.02rem; }
.cat-card .count { margin-left: auto; font-size: .78rem; font-weight: 700; color: #7a5a00; background: var(--brand-yellow-soft); border-radius: 999px; padding: 2px 9px; }
.cat-card .card-line { color: var(--text-muted); font-size: .87rem; line-height: 1.55; }
.cat-card .samples { color: var(--text-muted); font-size: .8rem; margin-top: auto; border-top: 1px dashed var(--border); padding-top: 8px; }

.svc-card { display: flex; flex-direction: column; gap: 10px; padding: var(--s5); position: relative; }
.svc-top { display: flex; align-items: flex-start; gap: 10px; }
.svc-fav { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; overflow: hidden; }
.svc-fav img { width: 22px; height: 22px; object-fit: contain; display: block; }
.svc-fav.fallback { background: var(--brand-red-soft); border-color: #f7c9cc; color: var(--brand-red); font-weight: 800; font-size: 1rem; letter-spacing: -.02em; }
.svc-id { min-width: 0; }
.svc-name { margin: 0; font-size: 1.06rem; }
.svc-name a { color: var(--text-strong); text-decoration: none; }
.svc-name a:hover { color: var(--brand-red); text-decoration: underline; }
.svc-domain { font-size: .82rem; color: var(--text-muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.save-btn { margin-left: auto; width: 34px; height: 34px; padding: 0; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--text-muted); cursor: pointer; line-height: 1; font-size: 1rem; }
.save-btn:hover { border-color: var(--brand-yellow); color: #8a6400; background: var(--brand-yellow-soft); }
.save-btn[aria-pressed="true"] { background: var(--brand-yellow); border-color: var(--brand-yellow); color: #4a3600; }
.svc-purpose { margin: 0; font-size: .93rem; color: var(--text); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700; border-radius: 999px; padding: 3px 9px; border: 1px solid var(--border); color: var(--text-muted); background: #fff; }
.badge.ok { background: #ecfdf3; border-color: #b7ebc6; color: #166534; }
.badge.limited { background: var(--brand-yellow-soft); border-color: #f0dc93; color: #6b5200; }
.badge.unknown { background: var(--surface-subtle); border-color: var(--border); color: var(--text-muted); }
.badge.cat { background: var(--brand-red-soft); border-color: #f7c9cc; color: #a41218; }
.svc-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.svc-actions .btn { flex: 1 1 0; }
.ext-note { font-size: .76rem; color: var(--text-muted); }

.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; text-decoration: none; }

/* info band */
.notice-band { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: var(--s5); align-items: center; background: var(--brand-yellow-soft); border: 1px solid #f1dc95; border-radius: var(--radius-card); padding: var(--s6); }
.notice-band h2 { margin-bottom: 6px; font-size: 1.2rem; }
.notice-band p { margin: 0; color: #5c4a07; font-size: .95rem; }
.note-card { background: var(--brand-red-soft); border: 1px solid #f7c9cc; border-radius: var(--radius-card); padding: var(--s5); }
.note-card p:last-child { margin-bottom: 0; }

/* check list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.checklist li::before { content: ''; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--brand-yellow); box-shadow: inset 0 0 0 4px #fff; border: 1px solid #e5c65a; }

/* latest table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
table.data th, table.data td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
table.data thead th { background: var(--surface-subtle); font-size: .82rem; color: var(--text-muted); font-weight: 700; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td b { color: var(--text-strong); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }

/* guides */
.guide-card { padding: var(--s5); display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
.guide-card h3 { margin: 0; font-size: 1.02rem; }
.guide-card p { margin: 0; color: var(--text-muted); font-size: .89rem; }
.guide-card:hover { border-color: #f0b4b7; }
.guide-card .tag { font-size: .76rem; font-weight: 700; color: var(--brand-red); }
.post-card { display: flex; flex-direction: column; gap: 8px; }
.post-date { margin-top: auto; font-size: .8rem; color: var(--text-muted); }
.post h2 { margin-top: var(--s7); }
.post .kicker { display: block; margin-bottom: 6px; }

/* faq */
.faq { display: grid; gap: 10px; }
details.qa { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0; }
details.qa summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: '+'; color: var(--brand-red); font-weight: 800; }
details.qa[open] summary::after { content: '−'; }
details.qa .a { padding: 0 16px 16px; color: var(--text); font-size: .94rem; }
details.qa .a p:last-child { margin-bottom: 0; }

/* CTA */
.cta { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: var(--s6); background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: var(--s7); box-shadow: var(--shadow-sm); }
.cta h2 { margin-bottom: 6px; }
.cta p { margin: 0; color: var(--text-muted); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* footer */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: var(--s8) 0 var(--s6); margin-top: var(--s9); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s6); }
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin: var(--s3) 0 0; max-width: 34ch; }
.footer-col h3 { font-size: .9rem; margin-bottom: 10px; color: var(--text-strong); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: .88rem; }
.footer-col a:hover { color: var(--brand-red); text-decoration: underline; }
.footer-bottom { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; color: var(--text-muted); font-size: .82rem; }
.footer-bottom .dot { color: var(--border-strong); }

/* breadcrumb + page */
.breadcrumb { padding: var(--s5) 0 0; font-size: .84rem; color: var(--text-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li { display: flex; gap: 6px; align-items: center; }
.breadcrumb li + li::before { content: '/'; color: var(--border-strong); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-red); }
.page { padding: var(--s5) 0 var(--s9); }
.page-head { padding: var(--s5) 0 var(--s6); border-bottom: 1px solid var(--border); margin-bottom: var(--s7); }
.page-head h1 { margin-bottom: 10px; }
.page-head .lead { color: var(--text-muted); max-width: 70ch; margin: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.prose { max-width: 76ch; }
.prose h2 { margin-top: var(--s7); }
.prose h3 { margin-top: var(--s6); }
.prose ul li::marker { color: var(--brand-red); }
.callout { background: var(--brand-yellow-soft); border: 1px solid #f1dc95; border-left: 4px solid var(--brand-yellow); border-radius: 12px; padding: var(--s4) var(--s5); margin: var(--s5) 0; }
.callout.red { background: var(--brand-red-soft); border-color: #f7c9cc; border-left-color: var(--brand-red); }
.callout p:last-child { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: var(--s8); align-items: start; }
.aside-card { position: sticky; top: 92px; padding: var(--s5); }
.aside-card h2 { font-size: 1rem; margin-bottom: var(--s3); }
.kv { display: grid; gap: 10px; margin: 0; font-size: .9rem; }
.kv div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--border); padding-bottom: 8px; }
.kv dt { color: var(--text-muted); font-weight: 600; }
.kv dd { margin: 0; text-align: right; color: var(--text-strong); font-weight: 600; }

/* category page */
.cat-hero { background: var(--surface-subtle); border-bottom: 1px solid var(--border); padding: var(--s7) 0; }
.cat-hero .h1-row { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.cat-hero h1 { margin: 0; }
.cat-hero .lead { margin: var(--s3) 0 0; color: var(--text-muted); max-width: 78ch; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 var(--s5); }
.filter-bar input[type="search"], .filter-bar select { min-height: 44px; border: 1.5px solid var(--border-strong); border-radius: 10px; padding: 0 12px; font: inherit; font-size: .92rem; background: #fff; color: var(--text-strong); }
.filter-bar input[type="search"] { flex: 1 1 240px; }
.filter-count { color: var(--text-muted); font-size: .88rem; }
.filter-count b { color: var(--text-strong); }

/* service detail */
.svc-hero { display: flex; gap: var(--s4); align-items: flex-start; flex-wrap: wrap; }
.svc-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-red-soft); color: var(--brand-red); display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; flex: 0 0 56px; overflow: hidden; }
.svc-icon.has-img { background: #fff; border: 1px solid var(--border); }
.svc-icon.has-img img { width: 34px; height: 34px; object-fit: contain; }
.svc-hero h1 { margin: 0 0 6px; }
.svc-hero .host a { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95rem; }
.status-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--s3); }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s3); margin: var(--s6) 0; }
.fact { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: #fff; }
.fact dt { font-size: .8rem; color: var(--text-muted); font-weight: 700; margin-bottom: 4px; }
.fact dd { margin: 0; font-size: .93rem; color: var(--text-strong); font-weight: 600; }
.feature-list { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 26px; font-size: .95rem; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 3px; background: var(--brand-yellow); border: 1px solid #e0bf4d; }
.related { margin-top: var(--s8); }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s3); }

/* check page */
.check-panel { max-width: 720px; border: 1px solid var(--border); border-radius: 18px; padding: var(--s6); box-shadow: var(--shadow-sm); background: #fff; }
.check-row { display: flex; gap: 8px; }
.check-row input { flex: 1 1 auto; min-height: 56px; border: 1.5px solid var(--border-strong); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 1rem; }
.check-row input:focus { border-color: var(--brand-red); outline: 3px solid rgba(215,25,32,.16); }
.result { margin-top: var(--s5); border-radius: 14px; padding: var(--s4) var(--s5); font-size: .95rem; display: none; }
.result:empty { display: none !important; }
.result[data-kind="match"] { display: block; background: #ecfdf3; border: 1px solid #b7ebc6; }
.result[data-kind="alias"] { display: block; background: var(--brand-yellow-soft); border: 1px solid #f1dc95; }
.result[data-kind="similar"] { display: block; background: var(--brand-yellow-soft); border: 1px solid #eccf70; }
.result[data-kind="unknown"] { display: block; background: var(--surface-subtle); border: 1px solid var(--border); }
.result[data-kind="invalid"] { display: block; background: var(--brand-red-soft); border: 1px solid #f7c9cc; }
.result h3 { margin-bottom: 6px; font-size: 1rem; }
.result p { margin: 0 0 6px; }
.result .detail { font-size: .88rem; color: var(--text-muted); }
.verdict-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.verdict-table th, .verdict-table td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; }

/* tools */
.tool-panel { border: 1px solid var(--border); border-radius: 18px; padding: var(--s6); background: #fff; box-shadow: var(--shadow-sm); max-width: 760px; }
.tool-panel label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.tool-panel input[type="text"], .tool-panel input[type="number"], .tool-panel input[type="date"], .tool-panel textarea, .tool-panel select {
  width: 100%; min-height: 46px; border: 1.5px solid var(--border-strong); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: .95rem; background: #fff; color: var(--text-strong);
}
.tool-panel textarea { min-height: 140px; resize: vertical; }
.tool-field + .tool-field { margin-top: var(--s4); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.tool-out { margin-top: var(--s4); background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 12px; padding: var(--s4); font-size: .95rem; min-height: 52px; }
.tool-out b { font-size: 1.15rem; color: var(--brand-red); }
.tool-note { font-size: .84rem; color: var(--text-muted); margin-top: var(--s4); }
.tool-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tool-row > * { flex: 1 1 200px; }
.timer { font-size: 3rem; font-weight: 800; color: var(--brand-red); font-variant-numeric: tabular-nums; text-align: center; margin: var(--s4) 0; }
.todo-list { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: 8px; }
.todo-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.todo-list li.done span { text-decoration: line-through; color: var(--text-muted); }
.todo-list button { margin-left: auto; border: 0; background: none; color: var(--text-muted); cursor: pointer; }
.swatches { display: flex; gap: 10px; align-items: center; }
input[type="color"] { width: 54px; height: 44px; padding: 2px; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff; }
.contrast-preview { margin-top: var(--s4); border-radius: 12px; padding: var(--s5); border: 1px solid var(--border); }

/* saved drawer */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer[data-open="true"] { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(17,24,39,.4); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; padding: var(--s6); box-shadow: var(--shadow-md); overflow: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s4); }
.drawer-head h2 { margin: 0; font-size: 1.1rem; }
.drawer-close { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 9px; background: #fff; cursor: pointer; }
.saved-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.saved-list li { display: flex; gap: 8px; align-items: center; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.saved-list a { color: var(--text-strong); text-decoration: none; font-weight: 600; font-size: .92rem; }
.saved-list small { display: block; color: var(--text-muted); font-size: .78rem; font-weight: 400; }
.saved-list button { margin-left: auto; border: 0; background: none; color: var(--text-muted); cursor: pointer; }

/* misc */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.kicker { font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: var(--brand-red); }
.disclaimer-note { font-size: .84rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: var(--s4); margin-top: var(--s6); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .grid-4, .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .two-col { grid-template-columns: minmax(0,1fr); }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-in { gap: var(--s3); }
  .saved-btn { margin-left: auto; }
  .mobile-saved { display: inline-flex; }
  .nav .saved-btn { display: none; }
  body[data-menu="open"] { overflow: hidden; }
  .nav-toggle { margin-left: 6px; }
  body[data-menu="open"] .nav {
    display: flex; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--border); padding: var(--s4) var(--s5) var(--s5); min-height: calc(100dvh - 72px);
    box-shadow: var(--shadow-md); max-height: calc(100vh - 72px); overflow: auto;
  }
  body[data-menu="open"] .nav a, body[data-menu="open"] .nav button { justify-content: space-between; width: 100%; padding: 12px; }
  body[data-menu="open"] .nav .nav-cta { margin: 6px 0 0; justify-content: center; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 4px 0 8px; }
  .mega-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .hero { padding: var(--s7) 0 var(--s6); }
  .hero-in { grid-template-columns: minmax(0,1fr); gap: var(--s6); }
  .hero-panel { padding: var(--s5); }
  .info-cards { grid-template-columns: minmax(0,1fr); }
  .figure-grid { grid-template-columns: minmax(0,1fr); }
  .cat-shot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cta { grid-template-columns: minmax(0,1fr); }
  .notice-band { grid-template-columns: minmax(0,1fr); }
  .section { padding: var(--s7) 0; }
  .fact-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 var(--s4); }
  h1 { font-size: clamp(1.6rem, 7.6vw, 2rem); }
  .grid-3, .grid-4, .cat-grid, .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cat-grid { gap: 10px; }
  .cat-card { padding: var(--s4); }
  .cat-card .samples { display: none; }
  .search-row { flex-wrap: wrap; }
  .search-row .btn { width: 100%; }
  .hero-stats { gap: var(--s3) var(--s4); font-size: .84rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .btn { min-height: 46px; }
  .check-row { flex-wrap: wrap; }
  .check-row .btn { width: 100%; }
  .timer { font-size: 2.4rem; }
}
@media (max-width: 420px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cat-card .top { flex-wrap: wrap; row-gap: 4px; }
  .cat-card h3 { font-size: .95rem; }
  .cat-card .count { font-size: .72rem; padding: 2px 7px; }
  .cat-badge { width: 30px; height: 30px; flex-basis: 30px; font-size: .88rem; }
  .grid-3, .grid-4, .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .table-wrap { border: 0; background: none; overflow: visible; }
  table.data { min-width: 0; display: block; }
  table.data thead { display: none; }
  table.data tbody { display: grid; gap: 10px; }
  table.data tr { display: block; border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 8px 4px; box-shadow: var(--shadow-sm); }
  table.data td { display: flex; justify-content: space-between; gap: 14px; border: 0; padding: 7px 12px; text-align: right; }
  table.data td::before { content: attr(data-label); color: var(--text-muted); font-size: .8rem; font-weight: 700; flex: 0 0 auto; text-align: left; }
  table.data td:first-child { border-bottom: 1px solid var(--border); margin-bottom: 4px; padding-bottom: 9px; text-align: left; }
  table.data td:first-child::before { display: none; }
  .verdict-table th, .verdict-table td { padding: 8px 10px; }
}

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