@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-cyrillic-normal-400.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-latin-ext-normal-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-latin-normal-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-cyrillic-normal-400.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-latin-ext-normal-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-latin-normal-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../assets/fonts/manrope-cyrillic-normal-200-800.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext-normal-200-800.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../assets/fonts/manrope-latin-normal-200-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --bg: #f5f5f8;
  --card: #ffffff;
  --text: #12121e;
  --muted: #5c5c70;
  --hair: rgba(18, 18, 30, .12);
  --hair-soft: rgba(18, 18, 30, .07);
  --gold: #e8a630;
  --gold-hover: #f2b544;
  --gold-ink: #8a5a00;
  --gold-bg: rgba(232, 166, 48, .14);
  --cool: #4338ca;
  --ok: #17733a;
  --ok-bg: rgba(23, 115, 58, .09);
  --ok-soft: rgba(23, 115, 58, .32);
  --bad: #4338ca;
  --bad-bg: rgba(67, 56, 202, .07);
  --bad-soft: rgba(67, 56, 202, .3);
  --bad-line: rgba(67, 56, 202, .55);
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }

.label,
.eyebrow,
.group h2,
.list-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

main { max-width: 760px; margin: 0 auto; padding: 20px 20px 40px; outline: none; }

.site-menu,
.nav-close {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hair);
  border-radius: 11px;
  background: var(--card);
  cursor: pointer;
  transition: border-color .15s;
}
.site-menu { flex-direction: column; gap: 5px; }
.site-menu span { display: block; width: 18px; height: 1.5px; background: var(--text); }
.nav-close { font-size: 22px; line-height: 1; }
.site-menu:hover,
.nav-close:hover { border-color: var(--gold); }

dialog.site-nav {
  --corner: 14px;
  position: fixed;
  inset: auto;
  width: min(360px, calc(100vw - 16px));
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(18, 18, 30, .25);
}
dialog.site-nav::backdrop { background: rgba(18, 18, 30, .42); }
.nav-inner { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; padding: 11px 11px 14px; }
.nav-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.nav-head .label { padding-left: 9px; color: var(--gold-ink); }
.nav-list { display: grid; margin-top: 8px; padding: 0 9px; }
.nav-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair-soft);
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: color .15s;
}
.nav-list a:last-child { border-bottom: 0; }
.nav-list a:hover,
.nav-list a[aria-current] { color: var(--gold-ink); }
.nav-list .k { flex: none; width: 20px; color: var(--muted); font: 400 11px/1 var(--mono); letter-spacing: .08em; }
dialog.site-nav[open] .nav-list a { animation: nav-in .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(40ms + var(--k) * 35ms); }
@keyframes nav-in { from { opacity: 0; transform: translateY(10px); } }

.orbits {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 360px;
  overflow: hidden;
  color: var(--gold);
  pointer-events: none;
}
.orbits svg { position: absolute; top: 40px; right: -230px; width: 560px; height: 280px; }
.orbits .cool { fill: var(--cool); opacity: .7; }
@media (min-width: 720px) {
  .orbits svg { top: 36px; right: calc(50% - 620px); width: 620px; height: 310px; }
}

.hero { display: grid; gap: 14px; margin: 0 0 26px; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--gold-ink); }
.eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--gold); }
.title {
  margin: 0;
  font-size: clamp(44px, 10vw, 72px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.025em;
}
.title span { display: block; }
.title .accent { color: var(--gold-ink); }
.lead { max-width: 36em; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 22px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid rgba(67, 56, 202, .45);
  border-radius: 4px;
  text-decoration: none;
}
.alert:hover { border-color: var(--cool); }
.alert-text { display: grid; gap: 4px; font-size: 14px; }
.alert .label,
.alert .arrow { color: var(--cool); }
.alert .arrow { font-size: 18px; }

.notice { margin: 0 0 12px; color: var(--muted); }
.tools { display: flex; align-items: stretch; gap: 10px; margin: 0 0 22px; }
.tools.solo { justify-content: flex-end; }
.tools .alert { flex: 1 1 auto; min-width: 0; margin: 0; }
.reset {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: var(--card);
  color: var(--muted);
  font: 500 11px/1.3 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.reset:hover { border-color: var(--bad-line); color: var(--bad); }
.reset .ic { display: flex; flex: none; width: 16px; height: 16px; }
.reset svg,
.icon-btn svg,
.inline-ic svg { display: block; width: 100%; height: 100%; }
@media (max-width: 619px) {
  .tools .alert + .reset { flex-direction: column; gap: 6px; padding: 10px 12px; text-align: center; }
  .tools .alert + .reset .txt { max-width: 5em; }
}
.inline-ic { display: inline-block; width: 1em; height: 1em; vertical-align: -.15em; color: var(--text); }

.group {
  margin: 0 0 22px;
  padding: 4px 14px 0;
  background: var(--card);
  border: 1px solid var(--hair-soft);
  border-radius: 4px;
}
.group h2 { margin: 0; padding: 12px 0 10px; border-bottom: 1px solid var(--hair); color: var(--muted); }
.row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--hair-soft);
  text-decoration: none;
}
.row:last-child { border-bottom: 0; }
.row:hover .row-title { color: var(--gold-ink); }
.code { font: 500 13px/1 var(--mono); letter-spacing: .06em; color: var(--gold-ink); }
.code.none::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.row-main { display: grid; gap: 3px; min-width: 0; }
.row-title { font-size: 16px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; transition: color .15s; }
.row-sub { color: var(--muted); font-size: 13px; line-height: 1.4; }
.row-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--muted);
  font: 400 11px/1.2 var(--mono);
  letter-spacing: .08em;
  white-space: nowrap;
}
.row-last { color: var(--gold-ink); }

.quiz-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin: 0 0 10px; }
.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font: 400 11px/1 var(--mono);
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.back:hover { color: var(--gold-ink); }
.quiz-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s;
}
.icon-btn:hover { border-color: var(--gold); }
.hint-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--card);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: border-color .15s;
}
.hint-btn:hover { border-color: var(--gold); }
.hint-btn .q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  font-size: 15px;
  font-weight: 800;
}
@media (max-width: 369px) {
  .hint-btn { padding: 6px; }
  .hint-btn .hint-text { display: none; }
}

.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 16px;
  color: var(--muted);
  font: 400 11px/1 var(--mono);
  letter-spacing: .1em;
}
.bar { flex: 1; height: 2px; background: var(--hair); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform .3s; }

.card::before,
dialog.hint::before,
dialog.site-nav::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / var(--corner) 1px,
    linear-gradient(var(--gold), var(--gold)) left top / 1px var(--corner),
    linear-gradient(var(--gold), var(--gold)) right top / var(--corner) 1px,
    linear-gradient(var(--gold), var(--gold)) right top / 1px var(--corner),
    linear-gradient(var(--gold), var(--gold)) left bottom / var(--corner) 1px,
    linear-gradient(var(--gold), var(--gold)) left bottom / 1px var(--corner),
    linear-gradient(var(--gold), var(--gold)) right bottom / var(--corner) 1px,
    linear-gradient(var(--gold), var(--gold)) right bottom / 1px var(--corner);
  background-repeat: no-repeat;
  pointer-events: none;
}
.card {
  --corner: 12px;
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px 18px 18px;
  background: var(--card);
  border: 1px solid var(--hair-soft);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(18, 18, 30, .04);
}

.prompt { margin: 0; color: var(--muted); font-size: 14px; }
.sentence {
  margin: 0;
  font-size: clamp(22px, 5.6vw, 28px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
.gap {
  display: inline-block;
  min-width: 3.2em;
  padding: 0 6px;
  border-bottom: 2px solid var(--gold);
  line-height: 1.15;
  text-align: center;
}
.gap.ok,
.gap.bad { color: var(--ok); border-bottom-color: var(--ok); }
.tr { margin: 0; color: var(--muted); font-size: 15px; font-style: italic; }

.options { display: grid; gap: 8px; }
@media (min-width: 620px) {
  .options.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .options.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options.cols .opt { grid-template-columns: 20px minmax(0, 1fr) 18px; gap: 8px; padding: 8px 12px; }
}
.opt {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 8px 14px;
  border: 1px solid var(--hair);
  border-radius: 11px;
  background: var(--card);
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.opt .k { color: var(--muted); font: 400 11px/1 var(--mono); letter-spacing: .08em; }
.opt .ic { display: flex; width: 100%; aspect-ratio: 1; }
.opt .ic svg { width: 100%; height: 100%; }
.opt:hover:not(:disabled) { border-color: var(--gold); }
.opt:disabled { color: var(--text); cursor: default; }
.opt.ok { border-color: var(--ok); background: var(--ok-bg); }
.opt.bad { border-color: var(--bad-line); background: var(--bad-bg); }
.opt.ok .k,
.opt.ok .ic { color: var(--ok); }
.opt.bad .k,
.opt.bad .ic { color: var(--bad); }

.feedback { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid; border-radius: 4px; }
.feedback.ok { background: var(--ok-bg); border-color: var(--ok-soft); }
.feedback.bad { background: var(--bad-bg); border-color: var(--bad-soft); }
.feedback.ok .label { color: var(--ok); }
.feedback.bad .label { color: var(--bad); }
.fb-text { margin: 0; font-size: 15px; line-height: 1.5; }
.ans { color: var(--ok); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 20px;
  border: 1px solid var(--hair);
  border-radius: 11px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.btn:hover { border-color: var(--gold); }
.btn.primary { background: var(--gold); border-color: var(--gold); }
.btn.primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.next { width: 100%; margin-top: 16px; }
.stop-row { margin-top: 10px; }
.btn.stop { width: 100%; min-height: 46px; color: var(--muted); font-size: 13px; }
.btn.stop:hover { color: var(--text); border-color: var(--muted); }

.match { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.match .col { display: grid; gap: 8px; align-content: start; }
.tilebtn {
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid var(--hair);
  border-radius: 11px;
  background: var(--card);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.tilebtn:hover:not(:disabled) { border-color: var(--gold); }
.tilebtn.sel { border-color: var(--gold); background: var(--gold-bg); box-shadow: 0 0 0 3px rgba(232, 166, 48, .25); }
.tilebtn.done { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); cursor: default; }
.tilebtn.miss { border-color: var(--bad-line); background: var(--bad-bg); animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.rule { color: var(--muted); line-height: 1.6; }
.rule p { margin: 0 0 12px; }
.rule ul { margin: 0 0 12px; padding-left: 20px; }
.rule li { margin: 4px 0; }
.rule b,
.rule i[lang] { color: var(--text); }
.rule i[lang] { font-style: normal; font-weight: 600; }
.rule .table-wrap { margin: 4px 0 14px; overflow-x: auto; border: 1px solid var(--hair); border-radius: 4px; }
.rule table { width: 100%; border-collapse: collapse; color: var(--text); font-size: 15px; line-height: 1.45; }
.rule th,
.rule td { padding: 9px 12px; text-align: left; vertical-align: top; }
.rule th {
  background: var(--bg);
  color: var(--muted);
  font: 500 11px/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rule tr + tr > * { border-top: 1px solid var(--hair-soft); }
.rule tr > * + * { border-left: 1px solid var(--hair-soft); }

dialog.hint {
  --corner: 14px;
  width: min(680px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(18, 18, 30, .25);
}
dialog.confirm { width: min(460px, calc(100vw - 32px)); }
dialog.hint::backdrop { background: rgba(18, 18, 30, .42); }
.hint-inner { max-height: 86vh; max-height: 86dvh; overflow-y: auto; padding: 28px 32px 30px; }
.hint-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.hint-titles { display: grid; gap: 10px; }
.hint-titles .label { color: var(--gold-ink); }
.hint-head h2,
.confirm h2 { margin: 0; font-size: clamp(24px, 5vw, 30px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.confirm .hint-titles .label { color: var(--bad); }
.confirm-text { margin: 16px 0 10px; color: var(--muted); line-height: 1.6; }
.confirm-stats { margin: 0 0 22px; color: var(--text); }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.confirm-actions .btn { flex: 1 1 140px; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.danger:hover { background: #3730a3; border-color: #3730a3; }
.hint-close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: var(--card);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.hint-close:hover { border-color: var(--gold); }
.hint-back { width: 100%; margin-top: 4px; }
@media (max-width: 619px) {
  dialog.hint { width: 100vw; margin: auto 0 0; border-width: 1px 0 0; border-radius: 4px 4px 0 0; }
  .hint-inner { padding: 22px 20px 24px; }
}

.result-title { margin: 14px 0 0; font-size: clamp(36px, 8vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -.025em; }
.score { margin: 20px 0 8px; font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.score small { color: var(--muted); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.meta-line {
  margin: 0 0 10px;
  color: var(--muted);
  font: 400 11px/1.6 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.actions .btn { flex: 1 1 180px; }
.list-title { margin: 30px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--hair); color: var(--muted); }
.mist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mist li { padding: 12px 14px; background: var(--card); border: 1px solid var(--hair-soft); border-radius: 4px; line-height: 1.5; }
.mist .sub { display: block; color: var(--muted); font-size: 14px; }
.linkbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-ink);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.linkbtn:hover { text-decoration: underline; }
.q-mini {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.foot { max-width: 760px; margin: 0 auto; padding: 0 20px 32px; color: var(--muted); font-size: 13px; }
.foot p { margin: 0; padding-top: 16px; border-top: 1px solid var(--hair); }
.noscript { max-width: 760px; margin: 16px auto; padding: 0 20px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
