/* 이거 영어로 뭐예요? 한국 생활 낱말을 영어로: https://obyeollab.com/words/ . Design pass 3 "paper and ink": the OBL-P3 block below is the
   shared kit (copied by kiip_prep/tools/pass3-kit/copy.js, never edited here); everything after it is this service's own. No gradients,
   no emoji icons, no pill badges; motion only on transform and opacity. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
/* @kit-anchor: the OBL-P3 block goes right after this line */
/* === OBL-P3:START v1 sha256:e7c67b5d4eb4c42d (design pass 3 kit; canonical kiip_prep/tools/pass3-kit/pass3.css; do not edit copies, run copy.js) === */
/* Design pass 3 kit, canonical source (docs/design-pass3-2026-10-31.md). tools/pass3-kit/copy.js puts this file, between the
   OBL-P3 markers it adds, into each site's main stylesheet; copies must stay byte-identical (each repo's tests check the hash).
   Everything is opt-in: tokens and Korean typesetting apply under .p3 (class on <html> or <body>), components are p3-* classes.
   No gradients and no @font-face here: Pretendard comes from https://obyeollab.com/fonts/pretendard/ through the boot script
   (font-boot.js, OBL-P3-FONTBOOT) with font-display: optional; the same script defines "Pretendard Fallback", the metric-adjusted
   system face that --font lists right after Pretendard (local() only, nothing to download). Motion only on transform/opacity. */

/* ---- tokens: paper and ink (AA: text 15.8 / 8.7 / 6.0 on the canvas; dark 15.8 / 10.1 / 7.2) ---- */
.p3 {
  --font: "Pretendard Variable", Pretendard, "Pretendard Fallback", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI Variable Text", "Segoe UI", Roboto, "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", "Noto Sans", sans-serif;
  --c-bg: #f6f4ef; --c-surface: #fffdf8; --c-surface-2: #efece4; --c-surface-3: #e6e2d8;
  --c-line: #e2ddd2; --c-line-strong: #857e70;
  --c-text: #1c1a16; --c-text-2: #4a453c; --c-text-3: #625c50;
  --c-ok-soft: #e7f2e9; --c-bad-soft: #f9e8e8;
  --c-tint: #bfcbef;
  --sheet: 0 0 0 1px rgba(28, 26, 22, .06), 0 1px 2px rgba(28, 26, 22, .06);
  --r-sheet: 14px;
  --t-mid: 180ms;
}
@media (prefers-color-scheme: dark) {
  .p3 {
    --c-bg: #151412; --c-surface: #1e1c19; --c-surface-2: #25231f; --c-surface-3: #2f2c27;
    --c-line: #36332d; --c-line-strong: #7f796d;
    --c-text: #f1ede5; --c-text-2: #c6bfb2; --c-text-3: #a8a194;
    --c-ok-soft: #16301f; --c-bad-soft: #371a1d;
    --c-tint: #424963;
    --sheet: 0 0 0 1px var(--c-line);
  }
}
/* illustration tint per service: data-svc on any element (a tile, a section, <body>) */
[data-svc="brand"], [data-svc="tools"] { --c-tint: #bfcbef; } [data-svc="kiip"] { --c-tint: #bfcaeb; } [data-svc="topik"] { --c-tint: #cdc4ef; }
[data-svc="eps"] { --c-tint: #b6d2cc; } [data-svc="life"] { --c-tint: #edc0c5; } [data-svc="drive"] { --c-tint: #e4caae; }
[data-svc="kdrama"] { --c-tint: #dcbfde; } [data-svc="games"] { --c-tint: #edbece; } [data-svc="leadhive"] { --c-tint: #c9cced; }
@media (prefers-color-scheme: dark) {
  [data-svc="brand"], [data-svc="tools"] { --c-tint: #424963; } [data-svc="kiip"] { --c-tint: #414863; } [data-svc="topik"] { --c-tint: #4e4763; }
  [data-svc="eps"] { --c-tint: #335750; } [data-svc="life"] { --c-tint: #664145; } [data-svc="drive"] { --c-tint: #664d2e; }
  [data-svc="kdrama"] { --c-tint: #58455a; } [data-svc="games"] { --c-tint: #663e4c; } [data-svc="leadhive"] { --c-tint: #464863; }
}

/* ---- Korean typesetting: Hangul breaks between words only; a word longer than the line still breaks; scripts without spaces
   break as they need, but Korean inside them (lang="ko" or .p3-ko) keeps whole words. Headings balance, text wraps "pretty". ---- */
.p3 { word-break: keep-all; overflow-wrap: anywhere; }
html:is(:lang(zh), :lang(ja), :lang(th), :lang(km), :lang(my)).p3, html:is(:lang(zh), :lang(ja), :lang(th), :lang(km), :lang(my)) .p3 { word-break: normal; }
.p3 [lang="ko"], .p3 .p3-ko { word-break: keep-all; }
.p3 :is(h1, h2, h3) { text-wrap: balance; }
.p3 :is(p, li) { text-wrap: pretty; }

/* ---- spot illustrations: one hand. 64x64 grid, 2px ink line (thin 1.5, bold 3), round caps; one flat tint mass set 3px off ---- */
.p3-art { display: block; flex: none; width: 56px; height: 56px; overflow: visible; transition: transform var(--t-mid, 180ms) cubic-bezier(.2, 0, 0, 1); }
.p3-art .ink { fill: none; stroke: var(--c-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p3-art .ink.paper { fill: var(--c-surface); }
.p3-art .thin { stroke-width: 1.5; }
.p3-art .bold { stroke-width: 3; }
.p3-art .dots { stroke-width: 3.4; }
.p3-art .solid { fill: var(--c-text); }
.p3-art .tint { fill: var(--c-tint); }
:is(a, button):hover > .p3-art, :is(a, button):hover > .p3-art-wrap > .p3-art { transform: rotate(-4deg) scale(1.04); }

/* ---- surfaces: a sheet of paper, a printed rule over a section title, a printed box, a receipt ---- */
.p3-sheet { border-radius: var(--r-sheet); background: var(--c-surface); box-shadow: var(--sheet); }
.p3-rule { padding-top: 12px; border-top: 2px solid var(--c-text); letter-spacing: -.02em; }
.p3-rule--thin { border-top-width: 1px; }
.p3-print { border: 1px solid var(--c-text); border-radius: 2px; background: var(--c-surface); }
.p3-receipt { border-radius: 2px; background: var(--c-surface); box-shadow: var(--sheet); padding-bottom: 22px; font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 95% 100%, 90% calc(100% - 6px), 85% 100%, 80% calc(100% - 6px), 75% 100%, 70% calc(100% - 6px), 65% 100%, 60% calc(100% - 6px), 55% 100%, 50% calc(100% - 6px), 45% 100%, 40% calc(100% - 6px), 35% 100%, 30% calc(100% - 6px), 25% 100%, 20% calc(100% - 6px), 15% 100%, 10% calc(100% - 6px), 5% 100%, 0 calc(100% - 6px)); }
.p3-receipt__rule { border: 0; border-top: 1px dashed var(--c-line-strong); margin: 10px 0; }
.p3-press { transition: transform var(--t-fast, 120ms) cubic-bezier(.2, 0, 0, 1); -webkit-tap-highlight-color: transparent; }
.p3-press:not([disabled]):active { transform: scale(.985); }

/* ---- data bars: a square track and a fill scaled with transform: scaleX(share) (set by the page; no width animation) ---- */
.p3-bar__track { display: block; height: 8px; background: var(--c-surface-3); overflow: hidden; }
.p3-bar__fill { display: block; height: 100%; background: var(--c-tint); transform-origin: 0 50%; }
.p3-bar__fill--accent { background: var(--c-accent); }

/* ---- answer choices: an OMR bubble that fills when chosen; after grading the grader's hand circle round the right answer and an
   ink slash across a wrong pick (shape + colour + the page's hidden words, never colour alone). Put .p3-opt on the choice (the
   positioned box) and .p3-bubble on its number; states .is-chosen / .is-right / .is-wrong on .p3-opt. --p3-bubble-x = centre of
   the bubble from the choice's padding edge (default 25px). ---- */
.p3-opt { position: relative; }
.p3-opt .p3-bubble { position: relative; isolation: isolate; display: inline-grid; place-items: center; flex: none; width: 20px; height: 28px; padding: 0;
  border: 1.5px solid var(--c-text-2); border-radius: 50%; background: none; color: var(--c-text-2); font-size: .8125rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.p3-opt .p3-bubble::before { content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: 50%; background: var(--p3-fill, var(--c-accent)); opacity: 0; }
.p3-opt.is-chosen .p3-bubble { --p3-fill: var(--c-accent); border-color: var(--c-accent); background: none; color: var(--c-on-accent, #fff); }
.p3-opt.is-right .p3-bubble { --p3-fill: var(--c-ok); border-color: var(--c-ok); background: none; color: var(--c-surface); }
.p3-opt.is-wrong .p3-bubble { --p3-fill: var(--c-bad); border-color: var(--c-bad); background: none; color: var(--c-surface); }
.p3-opt:is(.is-chosen, .is-right, .is-wrong) .p3-bubble::before { opacity: 1; animation: p3-fill 160ms cubic-bezier(.2, 0, 0, 1) both; }
.p3-opt.is-right { border-color: var(--c-ok); background: var(--c-ok-soft); }
.p3-opt.is-wrong { border-color: var(--c-bad); background: var(--c-bad-soft); }
.p3-opt:is(.is-right, .is-wrong)::after { content: ""; position: absolute; left: calc(var(--p3-bubble-x, 25px) - 24px); top: 50%; width: 48px; height: 48px; margin-top: -24px;
  background: currentColor; pointer-events: none; animation: p3-mark 180ms cubic-bezier(.2, 0, 0, 1) both; }
.p3-opt.is-right::after { color: var(--c-ok); -webkit-mask: var(--p3-circle) center / contain no-repeat; mask: var(--p3-circle) center / contain no-repeat; }
.p3-opt.is-wrong::after { color: var(--c-text); -webkit-mask: var(--p3-slash) center / contain no-repeat; mask: var(--p3-slash) center / contain no-repeat; }
:root {
  --p3-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M9 24.5C7.5 14 15 6.5 24 7c9.5.5 15 8 13 16.5-2 9.5-11.5 14-20 11.5C11 33 7.5 28 8.5 21.5'/%3E%3C/svg%3E");
  --p3-slash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M9 38 36 6'/%3E%3C/svg%3E");
}

/* ---- motion: transform and opacity only ---- */
.p3-in { animation: p3-in 200ms cubic-bezier(.2, 0, 0, 1) both; }
@keyframes p3-fill { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes p3-mark { from { opacity: 0; transform: scale(.82) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes p3-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes p3-pulse { from { transform: scale(1); } to { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) {
  .p3-art, .p3-press, .p3-in, .p3-opt::after, .p3-opt .p3-bubble::before { transition: none !important; animation: none !important; }
}
/* === OBL-P3:END === */


/* ================= Korean Words in English ================= */
.p3 {
  --c-accent: #5a3f99; --c-accent-hover: #432c78; --c-accent-soft: #ece7f6; --c-on-accent: #ffffff; --c-focus: var(--c-accent);
  --c-warn: #8a5a00; --c-warn-soft: #f3eddf;
  --t-care: #f6e2dc; --t-alert: #f7e3c8; --t-money: #f2eacd; --t-sky: #e0e8f4; --t-home: #e3eedb; --t-stay: #ece4f1; --t-green: #dcebe2;
  --t-warm: #f5e6d3; --t-work: #efe6cf; --t-paper: #e9e6df; --t-school: #dcebe9;
  --gutter: 16px;
  font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--c-text); background: var(--c-bg);
  min-height: 100vh; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
[data-svc="words"] { --c-tint: #d5c9ee; }
@media (prefers-color-scheme: dark) {
  .p3 { --c-accent: #c3b0f2; --c-accent-hover: #d9ccf8; --c-accent-soft: #272036; --c-on-accent: #151412; --c-warn: #f2c063; --c-warn-soft: #33270f;
    --t-care: #3f2722; --t-alert: #3d2e17; --t-money: #3a321b; --t-sky: #243042; --t-home: #27341f; --t-stay: #342a3b; --t-green: #20352a;
    --t-warm: #3b2d1c; --t-work: #38301c; --t-paper: #2e2b26; --t-school: #223634; }
  [data-svc="words"] { --c-tint: #3a2f58; }
}
.p3 a { color: var(--c-accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.p3 a:hover { color: var(--c-accent-hover); }
.p3 :where(a, button, input, summary, [tabindex]):focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }
.wd-wrap { width: 100%; max-width: 70rem; margin-inline: auto; padding-inline: var(--gutter); }
.wd-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wd-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wd-i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
.wd-small { font-size: .875rem; color: var(--c-text-3); }

/* ---- the interface language (Korean or English): both strings are in the page, one is shown. js/ui-boot.js sets html[data-ui]
        before the first paint, so nothing moves. The words themselves are always shown in both languages. ---- */
html:not([data-ui="en"]) .u-en { display: none; }
html[data-ui="en"] .u-ko { display: none; }

/* ---- header ---- */
.wd-head { border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.wd-head__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 56px; padding-block: 6px; }
.wd-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--c-text) !important; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.wd-brand__mark { width: 28px; height: 28px; flex: none; }
.wd-brand small { font-weight: 400; color: var(--c-text-3); font-size: .8125rem; letter-spacing: 0; }
@media (max-width: 27.99rem) { .wd-brand small { display: none; } }
.wd-ui { display: inline-flex; border: 1px solid var(--c-line-strong); border-radius: 10px; overflow: hidden; background: var(--c-surface); }
.wd-ui button { min-width: 56px; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--c-text-2); font-size: .9375rem; cursor: pointer; }
.wd-ui button + button { border-left: 1px solid var(--c-line-strong); }
.wd-ui button[aria-pressed="true"] { background: var(--c-text); color: var(--c-bg); font-weight: 700; }
.wd-navwrap { order: 3; flex: 1 0 100%; min-width: 0; margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 60rem) { .wd-navwrap { order: 0; flex: 0 1 auto; margin-inline: 0; } }
.wd-nav { display: flex; gap: 2px; margin: 0; padding: 0 var(--gutter); list-style: none; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 60rem) { .wd-nav { padding: 0; } }
.wd-nav::-webkit-scrollbar { display: none; }
.wd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; white-space: nowrap; color: var(--c-text-2); text-decoration: none; font-size: .9375rem; border-radius: 8px; }
.wd-nav a[aria-current="page"] { color: var(--c-text); font-weight: 700; box-shadow: inset 0 -2px 0 var(--c-accent); border-radius: 0; }
.wd-nav a:hover { color: var(--c-accent); }

/* ---- hero and search (home) ---- */
.wd-hero { padding-block: 24px 4px; }
.wd-kicker { margin: 0 0 6px; font-size: .875rem; font-weight: 700; color: var(--c-accent); }
.wd-kicker a { color: inherit; }
.wd-hero h1, .wd-title h1 { margin: 0; font-size: clamp(1.875rem, 1.3rem + 2.8vw, 3rem); line-height: 1.18; letter-spacing: -.04em; font-weight: 800; }
.wd-h1en { display: block; margin-top: 6px; font-size: clamp(1.0625rem, .95rem + .6vw, 1.375rem); line-height: 1.35; letter-spacing: -.01em; font-weight: 600; color: var(--c-text-2); }
.wd-lead { max-width: 46rem; margin: 12px 0 0; color: var(--c-text-2); font-size: 1.0625rem; }
.wd-lead + .wd-lead { margin-top: 6px; }
.wd-search { margin: 18px 0 0; max-width: 46rem; }
.wd-search__l { display: block; margin: 0 0 6px; font-weight: 700; }
.wd-search__box { position: relative; }
.wd-search__i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--c-text-3); pointer-events: none; }
.wd-in { width: 100%; min-height: 56px; padding: 10px 52px 10px 48px; border: 2px solid var(--c-text); border-radius: 14px; background: var(--c-surface); color: var(--c-text); font-size: 1.125rem; -webkit-appearance: none; appearance: none; }
.wd-in::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.wd-in:focus { border-color: var(--c-accent); box-shadow: 0 0 0 2px var(--c-accent); outline: none; }
.wd-in::placeholder { color: var(--c-text-3); opacity: 1; }
.wd-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--c-text-2); cursor: pointer; }
.wd-help { margin: 6px 0 0; font-size: .8125rem; color: var(--c-text-3); }
.wd-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 12px 0 0; }
.wd-pop__k { font-size: .875rem; color: var(--c-text-3); font-weight: 600; }
.wd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wd-chips a, .wd-chips button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--c-line-strong); border-radius: 10px; background: var(--c-surface); color: var(--c-text) !important; text-decoration: none; font-size: .9375rem; cursor: pointer; }
.wd-chips a:hover, .wd-chips button:hover { border-color: var(--c-accent); color: var(--c-accent) !important; }
@media (max-width: 47.99rem) { .wd-search.is-active .wd-pop { display: none; } }
.wd-results { max-width: 46rem; margin: 14px 0 0; }
.wd-count { margin: 0 0 8px; font-size: .9375rem; color: var(--c-text-2); }
.wd-hits { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wd-hit { display: block; padding: 12px 14px; border-radius: var(--r-sheet); background: var(--c-surface); box-shadow: var(--sheet); color: var(--c-text) !important; text-decoration: none; }
.wd-hit:hover { box-shadow: 0 0 0 2px var(--c-accent); }
.wd-hit__ko { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.02em; }
.wd-hit__en { margin-left: 8px; font-weight: 700; color: var(--c-accent); }
.wd-hit__def { display: block; margin-top: 2px; font-size: .9375rem; color: var(--c-text-2); }
.wd-hit__topic { display: block; margin-top: 4px; font-size: .8125rem; color: var(--c-text-3); }

/* ---- sections ---- */
.wd-sec { margin: 36px 0 0; }
.wd-sec > h2 { margin: 0 0 12px; font-size: 1.375rem; line-height: 1.3; font-weight: 800; }
.wd-sec > h2 small { font-weight: 400; color: var(--c-text-3); font-size: .9375rem; }
.wd-sec > p { max-width: 46rem; }

/* ---- topic cards (home) ---- */
.wd-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.wd-topic { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; height: 100%; padding: 14px; border-radius: var(--r-sheet); background: var(--c-surface); box-shadow: var(--sheet); color: var(--c-text) !important; text-decoration: none; }
.wd-topic:hover { box-shadow: 0 0 0 2px var(--c-accent); }
.wd-ico { grid-row: span 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tone, var(--t-paper)); color: var(--c-text); }
.wd-ico .wd-i { width: 24px; height: 24px; vertical-align: 0; }
[data-tone="care"] { --tone: var(--t-care); } [data-tone="alert"] { --tone: var(--t-alert); } [data-tone="money"] { --tone: var(--t-money); } [data-tone="sky"] { --tone: var(--t-sky); }
[data-tone="home"] { --tone: var(--t-home); } [data-tone="stay"] { --tone: var(--t-stay); } [data-tone="green"] { --tone: var(--t-green); } [data-tone="warm"] { --tone: var(--t-warm); }
[data-tone="work"] { --tone: var(--t-work); } [data-tone="paper"] { --tone: var(--t-paper); } [data-tone="school"] { --tone: var(--t-school); }
.wd-topic b { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.02em; }
.wd-topic b small { font-weight: 400; color: var(--c-text-3); font-size: .8125rem; }
.wd-topic__en { font-size: .875rem; color: var(--c-text-2); }
.wd-topic__words { font-size: .875rem; color: var(--c-text-3); }

/* ---- topic page ---- */
.wd-title { padding-block: 24px 0; }
.wd-toc { margin: 0; padding: 0; list-style: none; columns: 16rem auto; column-gap: 24px; }
.wd-toc li { break-inside: avoid; border-bottom: 1px solid var(--c-line); }
.wd-toc a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; min-height: 44px; padding: 9px 0; color: var(--c-text) !important; text-decoration: none; }
.wd-toc a:hover b { color: var(--c-accent); }
.wd-toc b { font-weight: 700; }
.wd-toc span { color: var(--c-text-2); font-size: .9375rem; }
.wd-entries { display: grid; gap: 14px; }
.wd-entry { padding: 18px; border-radius: var(--r-sheet); background: var(--c-surface); box-shadow: var(--sheet); scroll-margin-top: 12px; }
.wd-entry:target { box-shadow: 0 0 0 2px var(--c-accent); }
.wd-entry__head { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
/* listen buttons (js/say.js): 44px targets drawn in the markup from the start, so nothing moves when the script arrives */
.wd-say { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid var(--c-line-strong); border-radius: 999px; background: var(--c-surface); color: var(--c-accent); cursor: pointer; }
.wd-say { position: relative; }
.wd-say .wd-vh { top: 0; left: 0; }
.wd-vh > span { display: block; width: 1px; height: 1px; overflow: hidden; } /* the hidden name's own boxes stay 1px too (no overflow at the window edge) */
.wd-say:hover { border-color: var(--c-accent); }
.wd-say .wd-i { width: 22px; height: 22px; vertical-align: 0; }
.wd-say[data-state="playing"] { border-color: var(--c-accent); background: var(--c-accent); color: var(--c-on-accent); }
.wd-say[data-state="failed"] { border-style: dashed; color: var(--c-text-3); }
.wd-exko { display: flex; align-items: center; gap: 8px; }
.wd-exko > span { flex: 1 1 auto; min-width: 0; }
.wd-entry__ko { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem); line-height: 1.25; letter-spacing: -.03em; font-weight: 800; }
.wd-entry__ko a { color: inherit !important; text-decoration: none; }
.wd-entry__ko a:hover { text-decoration: underline; }
.wd-rom { font-size: .9375rem; color: var(--c-text-3); font-style: italic; }
.wd-entry__en { margin: 8px 0 0; padding: 8px 12px; border-left: 4px solid var(--c-accent); background: var(--c-accent-soft); font-size: 1.1875rem; line-height: 1.4; }
.wd-entry__en b { font-weight: 800; }
.wd-alt { display: block; font-size: .9375rem; color: var(--c-text-2); }
.wd-lit { margin: 6px 0 0; font-size: .9375rem; color: var(--c-text-2); }
.wd-var { margin: 6px 0 0; font-size: .9375rem; color: var(--c-text-2); }
.wd-k { font-size: .8125rem; font-weight: 700; color: var(--c-text-3); }
.wd-defs { display: flex; flex-direction: column; gap: 6px; margin: 14px 0 0; max-width: 46rem; }
.wd-defs p { margin: 0; }
html[data-ui="en"] .wd-def--en { order: -1; }
.wd-more { display: grid; gap: 10px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--c-line-strong); max-width: 46rem; }
.wd-more > div { display: grid; gap: 2px; }
.wd-more dt { font-size: .8125rem; font-weight: 700; color: var(--c-text-3); }
.wd-more dd { margin: 0; }
.wd-more dd > span { display: block; }
.wd-more dd > span[lang="en"] { color: var(--c-text-2); }
.wd-links { margin: 0; padding: 0; list-style: none; }
.wd-links li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: 32px; }
.wd-links a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; }
.wd-links span { font-size: .875rem; color: var(--c-text-3); }
.wd-basis { font-size: .875rem; color: var(--c-text-2); }
.wd-basis a { display: inline-block; min-height: 24px; }
.wd-notes { display: grid; gap: 12px; }
.wd-note { padding: 14px 16px; border: 1px dashed var(--c-warn); border-radius: 2px; background: var(--c-warn-soft); max-width: 52rem; }
.wd-note h3 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 800; }
.wd-note h3 span { font-weight: 600; color: var(--c-text-2); font-size: .9375rem; }
.wd-note p { margin: 0; }
.wd-note p + p { margin-top: 6px; color: var(--c-text-2); }
.wd-note__ids { margin-top: 8px !important; font-size: .875rem; }
.wd-near { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.wd-near a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 12px; border: 1px solid var(--c-line-strong); border-radius: 10px; background: var(--c-surface); color: var(--c-text) !important; text-decoration: none; }
.wd-near a:hover { border-color: var(--c-accent); }
.wd-near a[aria-current="page"] { border-color: var(--c-text); font-weight: 700; }
.wd-near b { font-weight: 700; }
.wd-near span { font-size: .8125rem; color: var(--c-text-3); }

/* ---- notice ---- */
.wd-safe { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; margin: 22px 0 0; padding: 12px 14px; border: 1px solid var(--c-text); border-left-width: 4px; border-radius: 2px; background: var(--c-surface); max-width: 52rem; }
.wd-safe .wd-i { grid-row: span 2; margin-top: 3px; }
.wd-safe p { grid-column: 2; margin: 0; font-size: .9375rem; }
.wd-safe p + p { color: var(--c-text-2); }

/* ---- the full index ---- */
.wd-jump { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; padding: 0; list-style: none; }
.wd-jump a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; border: 1px solid var(--c-line-strong); border-radius: 10px; background: var(--c-surface); color: var(--c-text) !important; text-decoration: none; font-weight: 700; }
.wd-jump a:hover { border-color: var(--c-accent); color: var(--c-accent) !important; }
.wd-letter { margin: 22px 0 4px; padding-top: 10px; border-top: 2px solid var(--c-text); font-size: 1.25rem; font-weight: 800; scroll-margin-top: 12px; }
.wd-index { margin: 0; padding: 0; list-style: none; columns: 17rem auto; column-gap: 24px; }
.wd-index li { break-inside: avoid; border-bottom: 1px solid var(--c-line); }
.wd-index a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; min-height: 44px; padding: 9px 0; color: var(--c-text) !important; text-decoration: none; }
.wd-index a:hover b { color: var(--c-accent); }
.wd-index span { color: var(--c-text-2); font-size: .9375rem; }

/* ---- prose (about) and sources ---- */
.wd-prose { max-width: 46rem; }
.wd-prose h2 { margin: 30px 0 8px; font-size: 1.375rem; line-height: 1.3; font-weight: 800; }
.wd-prose p { margin: 0 0 10px; }
.wd-prose ul { margin: 0 0 10px; padding-left: 1.2em; }
.wd-prose li { margin: 4px 0; }
.wd-prose [lang="en"] { color: var(--c-text-2); }
.wd-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.wd-table th, .wd-table td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.wd-table td:last-child, .wd-table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.wd-sources { margin: 36px 0 0; }
.wd-sources h2 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; }
.wd-sources ol, .wd-sources ul { margin: 0; padding-left: 1.3em; font-size: .9375rem; max-width: 52rem; }
.wd-sources li { margin: 6px 0; }
.wd-sources p { max-width: 52rem; font-size: .9375rem; color: var(--c-text-2); }

/* ---- ads (off until approval; placeholders stay hidden) and footer ---- */
.ad-slot { margin: 28px 0; text-align: center; }
.ad-slot[hidden] { display: none; }
.wd-foot { margin-top: 48px; padding: 24px 0 36px; border-top: 1px solid var(--c-line); font-size: .875rem; color: var(--c-text-3); }
.wd-foot ul { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 8px 0; padding: 0; list-style: none; }
.wd-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-text-2) !important; }
.wd-foot p { margin: 4px 0; max-width: 52rem; }

@media print {
  .wd-head, .wd-foot, .wd-search, .wd-results, .wd-ui, .ad-slot, ins.adsbygoogle, .wd-near, .wd-jump, .wd-say { display: none !important; }
  .p3 { background: #fff; }
  .wd-entry { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
}
