/* Layout: a clean white desk. Only paper objects (the sheet you paste on, the graded paper, the index card,
   the desk calendar, the nomination slip, the critic's clipping) get edges; everything else sits on white space.
   Ink line art for every icon and drawing. Yellow is the highlighter: it marks what matters and nothing else. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #1f1d1a;
  --ink-2: #45423d;
  --pencil: #6b6760;
  --rule: #e6e3dc;
  --rule-2: #cfcabf;
  --marker: #f5c431;
  --marker-deep: #e8b417;
  --marker-tint: #fdf1c9;
  --serif: "Newsreader", "Iowan Old Style", Charter, Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --swash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath d='M1.5 6.4C17 3.7 40 4.6 59 4s30 .9 39.4 1.4l-1 13.6c-14.2 1.4-35 1-52.2 1.4S12.3 20.8 2.5 19.9z' fill='%23f5c431'/%3E%3C/svg%3E");
  --loop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cpath d='M168 14C126 2 46 5 18 25-5 42 23 70 98 73c64 2 99-13 92-38-5-17-40-26-86-25' fill='none' stroke='%23f5c431' stroke-width='3.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.label { font-size: 0.86rem; font-weight: 600; color: var(--pencil); }
mark { background: var(--swash) left center / 100% 100% no-repeat; color: inherit; padding: 0 0.14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.circled { position: relative; z-index: 0; white-space: nowrap; }
.circled::after { content: ""; position: absolute; left: -11%; right: -9%; top: -14%; bottom: -18%; background: var(--loop) center / 100% 100% no-repeat; z-index: -1; pointer-events: none; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--ink); }

/* buttons: plain, recognizable, rectangular */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 6px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 600 0.98rem/1 var(--sans); text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--marker-tint); }
.btn-primary { background: var(--marker); border-color: var(--marker); }
.btn-primary:hover { background: var(--marker-deep); border-color: var(--marker-deep); }
.btn-quiet { border-color: transparent; background: transparent; color: var(--pencil); padding-inline: 10px; }
.btn-quiet:hover { background: transparent; color: var(--ink); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn-sm { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ink); background: var(--paper); border-radius: 5px; padding: 6px 12px; font: 600 0.86rem/1.2 var(--sans); color: var(--ink); }
.btn-sm:hover { background: var(--marker-tint); }
.btn-sm.primary { background: var(--marker); border-color: var(--marker); }

/* header: logo left, nav with a yellow pill for where you are */
.site-head { border-bottom: 1px solid var(--rule); position: relative; z-index: 30; background: var(--paper); }
.head-row { display: flex; align-items: center; gap: 14px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.logo .logo-nade { width: 30px; height: 40px; flex: none; transform: rotate(-24deg); margin: -6px -7px 0 0; position: relative; z-index: 1; }
.logo span { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.02em; white-space: nowrap; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink-2); padding: 7px 13px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--marker-tint); }
.nav a[aria-current="page"] { background: var(--marker); color: var(--ink); }
.head-cta { min-height: 40px; font-size: 0.92rem; }
@media (max-width: 860px) { .head-cta, .nav .nav-critic { display: none; } }
/* phones: a pencil-drawn menu button; the nav drops down below the header */
.menu-btn { display: none; }
.pencil { width: 30px; height: 26px; overflow: visible; }
.pencil path { fill: none; stroke: var(--ink); stroke-width: 2.3; stroke-linecap: round; opacity: 0.92; }
.pencil .ghost { stroke-width: 1; opacity: 0.4; }
.pencil .cross { display: none; }
.site-head.open .pencil .lines { display: none; }
.site-head.open .pencil .cross { display: inline; }
.site-head.open .pencil .cross path:not(.ghost) { stroke-dasharray: 1; animation: scribble 260ms ease-out both; }
.site-head.open .pencil .cross path:nth-of-type(3) { animation-delay: 120ms; }
.menu-btn:not([aria-expanded="true"]) .lines path:not(.ghost) { stroke-dasharray: 1; animation: scribble 240ms ease-out both; }
.menu-btn .lines path:nth-of-type(3) { animation-delay: 70ms; }
.menu-btn .lines path:nth-of-type(5) { animation-delay: 140ms; }
@keyframes scribble { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (max-width: 640px) {
  .menu-btn { display: grid; place-items: center; width: 48px; height: 46px; margin: -4px -10px -4px 0; border: 0; background: none; color: var(--ink); border-radius: 6px; }
  @media (hover: hover) { .menu-btn:hover { background: var(--marker-tint); } }
  .nav { display: none; }
  .site-head.open .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule-2); box-shadow: 0 26px 40px -30px rgba(31, 29, 26, 0.5); padding: 4px 20px 20px; }
  .site-head.open .nav a { display: block !important; padding: 15px 2px; border-radius: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--ink); font: 500 1.6rem/1.2 var(--serif); letter-spacing: -0.01em; }
  .site-head.open .nav a:last-child { border-bottom: 0; }
  .site-head.open .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 0.42em; text-underline-offset: -0.24em; text-decoration-skip-ink: none; }
}
@media (max-width: 520px) {
  .nav .nav-vote, .nav .nav-home { display: none; }
  .nav a { padding: 6px 10px; font-size: 0.9rem; }
  .logo .logo-nade { width: 26px; height: 35px; }
  .logo span { font-size: 1.08rem; }
}

/* page rhythm */
.page { padding-block: 34px 80px; }
.view { display: grid; gap: 64px; }

/* line art */
.art { margin: 0; }
.art svg { display: block; width: 100%; height: auto; overflow: visible; }
.ln { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pp { fill: var(--paper); stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.yl { fill: var(--marker); }
.ylp { fill: var(--marker); stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.dot { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.1 9; }
.ink { fill: var(--ink); }
/* the Critic's detective cap on the exam: solid black, seams in paper white */
.hat { fill: var(--ink); stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.seam { fill: none; stroke: var(--paper); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svg-sans { font: 600 13px var(--sans); letter-spacing: 0.06em; fill: var(--ink); }
.svg-serif { font: 600 17px var(--serif); fill: var(--ink); }
.svg-italic { font: italic 400 16px var(--serif); fill: var(--ink); }

/* hero: the dictionary definition of the meme, then the tool */
.hero { display: grid; gap: 28px; align-items: center; }
@media (min-width: 780px) { .hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; } }
.def h1 { font-size: clamp(2.7rem, 7.2vw, 5rem); line-height: 1; letter-spacing: -0.03em; font-weight: 500; }
.pron { margin-top: 14px; font-family: var(--serif); font-size: 1.12rem; color: var(--pencil); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.pron i { color: var(--ink-2); }
.senses { margin: 16px 0 0; padding-left: 1.4em; font-family: var(--serif); font-size: clamp(1.18rem, 2.3vw, 1.42rem); line-height: 1.42; max-width: 34ch; display: grid; gap: 8px; }
.senses li::marker { font-weight: 600; }
.usage { margin-top: 14px; font-family: var(--serif); font-style: italic; color: var(--pencil); font-size: 1.1rem; max-width: 42ch; }
.h1-nade { display: inline-block; width: 0.6em; height: 0.8em; margin-left: 0.06em; vertical-align: -0.02em; transform: rotate(20deg); transform-origin: 50% 90%; }
.h1-nade svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hero-art { max-width: 440px; justify-self: center; width: 100%; }
@media (max-width: 779px) { .hero-art { display: none; } }

/* the sheet you paste on */
.tool { display: grid; gap: 14px; padding-top: 56px; }
.sheet { position: relative; border: 1px solid var(--rule-2); background: var(--paper); box-shadow: 0 1px 0 var(--rule), 0 22px 44px -34px rgba(31, 29, 26, 0.45); }
.sheet-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px 12px; border-bottom: 1px solid var(--rule); }
.sheet-top label { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.wc { color: var(--pencil); font-size: 0.88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet textarea { display: block; width: 100%; min-height: 220px; border: 0; outline: 0; resize: vertical; padding: 14px 20px 14px 44px; font: 1.06rem/2rem var(--serif); background: linear-gradient(90deg, transparent 29px, var(--marker) 29px, var(--marker) 30.5px, transparent 30.5px), repeating-linear-gradient(transparent 0 calc(2rem - 1px), var(--rule) calc(2rem - 1px) 2rem); background-attachment: local; background-position: 0 14px; }
.sheet textarea::placeholder { color: var(--pencil); font-style: italic; }
.form-msg { padding: 0 20px 12px 44px; color: var(--ink); font-weight: 600; }
.form-msg::before { content: "! "; }
.sheet-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; padding: 12px 16px 12px 20px; border-top: 1px solid var(--rule); }
.privacy { display: flex; align-items: center; gap: 8px; color: var(--pencil); font-size: 0.88rem; }
.sheet-actions { display: flex; gap: 6px; margin-left: auto; }
.samples { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; color: var(--pencil); font-size: 0.96rem; }
.samples .chip { border: 0; background: none; padding: 0; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.samples .chip:hover { text-decoration-color: var(--ink); }

/* the graded paper */
.result { display: grid; gap: 18px; scroll-margin-top: 92px; }
.stack { position: relative; margin-top: 64px; }
.stack::before { content: ""; position: absolute; inset: 7px -7px -7px 7px; border: 1px solid var(--rule-2); background: var(--paper); z-index: 0; }
.paper { position: relative; z-index: 1; background: var(--paper); border: 1px solid var(--rule-2); padding: clamp(20px, 4.5vw, 44px); display: grid; gap: 30px; }
.grade-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 26px; align-items: center; }
.grade { position: relative; width: 140px; height: 118px; display: grid; place-items: center; }
.grade-loop { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); overflow: visible; }
.grade-loop path { fill: none; stroke: var(--marker); stroke-width: 6; stroke-linecap: round; }
.grade-letter { position: relative; font-family: var(--serif); font-weight: 600; font-size: 4.6rem; line-height: 1; letter-spacing: -0.04em; }
.grade.draw .grade-loop path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 760ms 120ms cubic-bezier(.45, .1, .3, 1) both; }
.grade.draw .grade-letter { animation: settle 420ms ease-out both; }
@keyframes draw { 0% { stroke-dashoffset: 1; opacity: 0; } 2% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.grade-text { display: grid; gap: 8px; min-width: 0; }
.tag { color: var(--pencil); font-size: 0.9rem; font-weight: 500; }
.comment { font-family: var(--hand); font-weight: 600; font-size: clamp(1.75rem, 4.2vw, 2.35rem); line-height: 1.1; color: var(--ink); max-width: 28ch; }
.verdict { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 560px) {
  .grade-row { grid-template-columns: 1fr; justify-items: start; }
  .grade { width: 118px; height: 100px; }
  .grade-letter { font-size: 3.9rem; }
}
.memo { display: grid; gap: 16px; border-top: 1px solid var(--rule); padding-top: 22px; }
.memo-head { margin: 0; display: grid; gap: 2px; font-size: 0.95rem; }
.memo-head div { display: grid; grid-template-columns: 54px minmax(0, 1fr); }
.memo-head dt { font-weight: 600; }
.memo-head dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.marked { font: 1.1rem/1.85 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; max-height: min(75vh, 640px); overflow: auto; }
.marked mark.lk { cursor: pointer; }
.marked mark.lk:hover, .marked mark.lk:focus-visible, .marked mark.lk.on { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; outline: none; }
.marked.wipe mark { animation: wipe 520ms ease-out both; animation-delay: calc(var(--i, 0) * 70ms + 250ms); }
@keyframes wipe { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.lookup-hint { color: var(--pencil); font-size: 0.9rem; }
.lookup-card { border: 1.5px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--marker); padding: 16px 18px; display: grid; gap: 8px; max-width: 560px; }
.lk-head { display: flex; align-items: baseline; gap: 10px; }
.lk-head b { font: 600 1.35rem/1.2 var(--serif); }
.pos { font-family: var(--serif); font-style: italic; color: var(--pencil); font-size: 1.08rem; }
.lk-close { margin-left: auto; border: 0; background: none; padding: 2px; color: var(--pencil); display: grid; place-items: center; }
.lk-close:hover { color: var(--ink); }
.lookup-card > p { font-family: var(--serif); font-size: 1.06rem; }
.say-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.say { font-family: var(--serif); font-size: 1.04rem; border-bottom: 2px solid var(--marker); line-height: 1.3; }
.notes-grid { display: grid; gap: 30px; border-top: 1px solid var(--rule); padding-top: 24px; }
@media (min-width: 800px) { .notes-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; } }
.notes-grid h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 14px; }
.tally { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tally li { display: grid; grid-template-columns: minmax(0, 1fr) auto 2ch; align-items: center; gap: 12px; }
.t-name { font-size: 0.98rem; }
.t-marks svg { display: block; height: 22px; width: auto; }
.t-marks path { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.t-n { text-align: right; color: var(--pencil); font-variant-numeric: tabular-nums; }
.empty-note { color: var(--pencil); }
.notes { color: var(--pencil); font-size: 0.9rem; margin-top: 12px; }
.defuse { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: d; }
.defuse li { counter-increment: d; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 8px; }
.defuse li::before { content: counter(d) "."; grid-row: 1 / span 3; font: 700 1.55rem/1 var(--hand); }
.defuse b { font-weight: 600; }
.defuse .ex { color: var(--ink-2); }
.defuse .found { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; font-family: var(--serif); font-size: 1rem; }
.defuse .found .to { font-weight: 600; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share-row .critic-link { margin-left: auto; }
@media (max-width: 560px) { .share-row .btn { flex: 1 1 auto; } .share-row .critic-link { margin-left: 0; } }
.toast { font-weight: 600; font-size: 0.92rem; }
.fallback { width: 100%; min-height: 110px; font: 0.95rem/1.5 var(--sans); border: 1px solid var(--rule-2); padding: 10px; background: var(--paper); }

/* what counts */
.guide { display: grid; gap: 44px; scroll-margin-top: 18px; }
.sec-head { display: grid; gap: 12px; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.06; max-width: 20ch; }
.sec-head p { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; }
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
@media (min-width: 900px) { .kinds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 36px; } }
.kind { display: grid; gap: 6px; align-content: start; text-decoration: none; }
.kind .ico { width: 32px; height: 32px; stroke-width: 1.4; margin-bottom: 6px; }
.kind h3 { font-size: 1.22rem; font-weight: 600; }
.kind-eg { font-family: var(--serif); font-style: italic; color: var(--ink-2); }
.kind-more { font-size: 0.9rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 4px; justify-self: start; margin-top: 2px; }
.kind:hover .kind-more { text-decoration-color: var(--ink); }
.guide-row { display: grid; gap: 40px; }
@media (min-width: 900px) { .guide-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.bingo-wrap { display: grid; gap: 10px; }
.bingo-wrap h3, .scale-wrap h3 { font-size: 1.5rem; font-weight: 600; }
.bingo-wrap > p { color: var(--ink-2); }
.bingo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); margin-top: 6px; }
.bingo button { position: relative; min-height: 92px; border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); padding: 10px 8px; font: 500 0.98rem/1.25 var(--serif); }
.bingo button:nth-child(3n) { border-right: 0; }
.bingo button:nth-child(n + 7) { border-bottom: 0; }
.bingo button span { position: relative; z-index: 1; }
.bingo button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: var(--marker); transform: scale(0); transition: transform 160ms ease-out; z-index: 0; }
.bingo button[aria-pressed="true"]::before { transform: scale(1); }
.bingo button:hover { background: var(--marker-tint); }
.bingo .free { font-style: italic; }
.bingo-msg { font-family: var(--hand); font-weight: 600; font-size: 1.5rem; line-height: 1.2; min-height: 1.2em; }
.guide-side { display: grid; gap: 18px; justify-items: start; }
.cal { display: grid; width: 100%; border: 1.5px solid var(--ink); background: var(--paper); box-shadow: 7px 7px 0 var(--marker); text-decoration: none; }
.cal-top { display: flex; justify-content: space-between; gap: 10px; background: var(--ink); color: var(--paper); padding: 9px 16px; font-size: 0.86rem; font-weight: 600; }
.cal-body { display: grid; gap: 6px; padding: 20px 18px 22px; }
.cal-term { font: 600 clamp(1.9rem, 5vw, 2.6rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.cal-def { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-2); max-width: 46ch; }
.cal .text-link { justify-self: start; margin-top: 6px; }
.cal-lg { position: relative; margin-top: 64px; }
.cal-lg .cal-body { padding: 26px 24px 28px; gap: 10px; }
.cal-lg .cal-term { font-size: clamp(2.3rem, 6vw, 3.4rem); }
.nominate-line { font-size: 1rem; color: var(--ink-2); }
.scale-wrap { display: grid; gap: 14px; }
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.band { display: grid; gap: 2px; align-content: start; }
.band b { font: 600 2.3rem/1 var(--serif); }
.band-range { color: var(--pencil); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.band-line { font-family: var(--serif); font-size: 1rem; }
@media (max-width: 720px) {
  .scale { grid-template-columns: 1fr; gap: 12px; }
  .band { grid-template-columns: 44px minmax(0, 1fr); gap: 0 12px; align-items: baseline; }
  .band b { grid-row: 1 / span 2; font-size: 2rem; }
}

/* dictionary */
.dict-hero { display: grid; gap: 24px; align-items: center; }
@media (min-width: 780px) { .dict-hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; } }
.dict-intro { display: grid; gap: 14px; }
.dict-intro h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; }
.lede { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-2); max-width: 42ch; }
.dict-art { max-width: 360px; width: 100%; justify-self: center; }
@media (max-width: 779px) { .dict-art { max-width: 220px; order: -1; justify-self: start; } }
.tabs { display: flex; gap: 4px; margin-top: 6px; scroll-margin-top: 14px; }
.tabs a { display: inline-flex; gap: 8px; align-items: baseline; text-decoration: none; padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--ink-2); border: 1.5px solid var(--rule-2); white-space: nowrap; }
.tabs a span { font-weight: 500; color: var(--pencil); font-variant-numeric: tabular-nums; }
.tabs a:hover { border-color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.tabs a[aria-current="page"] span { color: var(--ink-2); }
.panel { display: grid; gap: 34px; }
.dict-tools { display: grid; gap: 14px; scroll-margin-top: 14px; }
.search { position: relative; display: block; }
.search .ico { position: absolute; left: 2px; top: 50%; width: 24px; height: 24px; margin-top: -12px; color: var(--pencil); pointer-events: none; }
.search input { width: 100%; -webkit-appearance: none; appearance: none; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; padding: 12px 6px 12px 36px; font: 1.3rem var(--serif); outline: 0; }
.search input::placeholder { color: var(--pencil); font-style: italic; }
.search input:focus { box-shadow: 0 2px 0 var(--marker); }
.dict-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dict-chips .chip { border: 1.5px solid var(--rule-2); background: var(--paper); border-radius: 999px; padding: 5px 13px; font: 500 0.9rem/1.3 var(--sans); color: var(--ink-2); }
.dict-chips .chip:hover { border-color: var(--ink); color: var(--ink); }
.dict-chips .chip[aria-pressed="true"] { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.dict-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--pencil); font-size: 0.92rem; }
.dict-list { display: grid; gap: 12px; }
.group { display: grid; gap: 0; border-top: 1.5px solid var(--ink); padding-top: 8px; }
@media (min-width: 820px) { .group { grid-template-columns: 110px minmax(0, 1fr); gap: 28px; } }
.letter { font: 500 3rem/1 var(--serif); padding-top: 6px; }
@media (min-width: 820px) { .letter { position: sticky; top: 14px; align-self: start; font-size: 3.6rem; } }
.entries { display: grid; min-width: 0; }
.entry { display: grid; gap: 8px; padding: 22px 12px; margin-inline: -12px; border-bottom: 1px solid var(--rule); scroll-margin-top: 18px; min-width: 0; }
.entry:last-child { border-bottom-color: transparent; }
.entry.flash { animation: flash 1800ms ease-out; }
@keyframes flash { 0%, 40% { background: var(--marker-tint); } 100% { background: transparent; } }
.entry-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.term { font: 600 1.65rem/1.15 var(--serif); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.term a { color: inherit; text-decoration: none; }
.term a:hover { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.def { font-family: var(--serif); font-size: 1.16rem; line-height: 1.5; max-width: 60ch; }
.aka { color: var(--pencil); font-size: 0.92rem; }
.wild { display: grid; gap: 4px; }
.wild .ex { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 1.04rem; white-space: pre-line; overflow-wrap: anywhere; }
.wild .ex mark { font-style: normal; }
.entry-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--pencil); font-size: 0.88rem; }
.pips { display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: -1px; }
.pips i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); display: block; }
.pips i.on { background: var(--ink); }
.blast { display: inline-flex; align-items: center; color: var(--ink-2); font-weight: 600; }
.blast.hot .pips i.on { background: var(--marker); }
.entry .badge { align-self: center; }
.dict-empty { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); padding: 8px 0; }
.dict-empty .btn-sm { margin-left: 6px; vertical-align: 2px; }
.badge { display: inline-block; font: 600 0.78rem/1.3 var(--sans); padding: 2px 8px; border: 1.5px solid var(--ink); background: var(--marker); color: var(--ink); white-space: nowrap; border-radius: 4px; }

/* voting */
.vote-head { display: grid; gap: 24px; align-items: center; }
@media (min-width: 780px) { .vote-head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.vote-intro { display: grid; gap: 12px; }
.vote-intro h2 { font-size: clamp(2rem, 4.6vw, 2.8rem); line-height: 1.05; }
.vote-intro p { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); max-width: 52ch; }
.vote-intro b { color: var(--ink); }
.vote-art { max-width: 280px; width: 100%; justify-self: center; }
@media (max-width: 779px) { .vote-art { display: none; } }
.notice { border-left: 4px solid var(--marker); padding: 8px 14px; font-size: 0.98rem; background: var(--marker-tint); }
.nominate { position: relative; margin-top: 56px; border: 1.5px solid var(--ink); background: var(--paper); box-shadow: 7px 7px 0 var(--marker); padding: clamp(18px, 3.5vw, 30px); display: grid; gap: 20px; max-width: 760px; }
.nominate h3 { font-size: 1.5rem; font-weight: 600; }
.nominate[aria-disabled="true"] .field, .nominate[aria-disabled="true"] .form-note { opacity: 0.55; }
.field { display: grid; gap: 2px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field label span { color: var(--pencil); font-weight: 400; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1.5px solid var(--rule-2); border-radius: 0; background: transparent; padding: 8px 0 6px; font: 1.15rem/1.5 var(--serif); outline: 0; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--pencil); font-style: italic; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.form-note { color: var(--pencil); font-size: 0.9rem; }
.form-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.form-row .btn:disabled { opacity: 0.45; }
.form-status { font-size: 0.94rem; color: var(--pencil); }
.form-status.err { color: var(--ink); font-weight: 600; }
.form-status a { color: inherit; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.board { display: grid; gap: 6px; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1.5px solid var(--ink); padding-bottom: 10px; }
.board-head h3, .added h3 { font-size: 1.5rem; font-weight: 600; }
.noms { display: grid; }
.nom { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 16px; }
.nom.flash { animation: flash 1800ms ease-out; }
.vote-btn { display: grid; justify-items: center; align-content: center; gap: 2px; width: 56px; height: 64px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper); font: 600 1.15rem/1 var(--serif); font-variant-numeric: tabular-nums; align-self: start; }
.vote-btn .ico { width: 20px; height: 20px; stroke-width: 1.8; }
.vote-btn:hover:not(:disabled) { background: var(--marker-tint); }
.vote-btn[aria-pressed="true"] { background: var(--marker); border-color: var(--ink); }
.vote-btn:disabled { cursor: default; border-color: var(--rule-2); color: var(--pencil); }
.nom-body { display: grid; gap: 6px; min-width: 0; }
.nom-body h4 { font: 600 1.45rem/1.2 var(--serif); overflow-wrap: anywhere; }
.nom-body > p { font-family: var(--serif); font-size: 1.1rem; overflow-wrap: anywhere; }
.nom-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--pencil); font-size: 0.9rem; }
.progress { display: inline-flex; align-items: center; gap: 8px; }
.progress i { display: block; position: relative; width: 66px; height: 5px; background: var(--rule); overflow: hidden; }
.progress i b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.nom-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.board-empty { font-family: var(--serif); font-size: 1.12rem; color: var(--ink-2); padding: 16px 0; }
.added { display: grid; gap: 12px; }
.added-list { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.added-list a { font-family: var(--serif); font-size: 1.1rem; text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* the Critic, peeking over whatever he's reading */
.peek { position: absolute; right: 34px; width: var(--pw, 150px); top: calc(var(--pw, 150px) * -0.52); z-index: 2; pointer-events: none; }
.peek svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 560px) { .peek { --pw: 112px; right: 16px; } }

/* the F treatment: he lobs a grenade at the paper */
.blast-layer { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.throw { position: absolute; left: var(--x0, 0); top: var(--y0, 0); width: 40px; height: 52px; margin: -26px 0 0 -20px; opacity: 0; }
.throw-y, .throw-spin { width: 100%; height: 100%; }
.throw svg { display: block; width: 100%; height: 100%; overflow: visible; }
.boom { position: absolute; width: 230px; margin: -100px 0 0 -115px; opacity: 0; transform: scale(0.2); }
.boom svg { display: block; width: 100%; height: auto; overflow: visible; }
.boom-text { font: 800 44px var(--serif); fill: var(--ink); letter-spacing: -0.02em; }
.paper.prebomb .grade-letter, .paper.prebomb .grade-loop path, .paper.prebomb .comment { opacity: 0; }
.paper.bombed .throw { animation: tx 900ms linear 300ms both, show 1450ms linear both; }
.paper.bombed .throw-y { animation: ty 900ms 300ms both; }
.paper.bombed .throw-spin { animation: spin 1150ms linear 300ms both; }
.paper.bombed .boom { animation: boom 1000ms 1450ms both; }
.paper.bombed .peek svg { animation: windup 520ms ease-in-out both; transform-origin: 50% 100%; }
.paper.bombed .grade-letter { animation: settle 420ms 2050ms both; }
.paper.bombed .grade-loop path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 760ms 2200ms cubic-bezier(.45, .1, .3, 1) both; }
.paper.bombed .comment { animation: settle 420ms 2350ms both; }
@keyframes tx { from { transform: translateX(0); } to { transform: translateX(var(--dx, 0)); } }
@keyframes ty {
  0% { transform: translateY(0); animation-timing-function: cubic-bezier(.3, .7, .6, 1); }
  45% { transform: translateY(var(--peak, -120px)); animation-timing-function: cubic-bezier(.4, 0, .7, .3); }
  100% { transform: translateY(var(--dy, 0)); }
}
@keyframes spin { 0% { transform: rotate(-24deg); } 78% { transform: rotate(696deg); } 85% { transform: rotate(708deg); } 92% { transform: rotate(690deg); } 100% { transform: rotate(696deg); } }
@keyframes show { 0%, 20% { opacity: 0; } 21%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes boom { 0% { opacity: 0; transform: scale(0.2) rotate(-10deg); } 16% { opacity: 1; transform: scale(1.12) rotate(4deg); } 28% { transform: scale(1) rotate(0); } 72% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.06); } }
@keyframes windup { 0% { transform: none; } 40% { transform: translateY(-6px) rotate(-6deg); } 70% { transform: rotate(3deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .paper.bombed .throw, .paper.bombed .throw-y, .paper.bombed .throw-spin, .paper.bombed .boom, .paper.bombed .peek svg,
  .paper.bombed .grade-letter, .paper.bombed .grade-loop path, .paper.bombed .comment { animation: none; }
}

/* the critic */
.critic { border-top: 1px solid var(--rule); padding-block: 64px 76px; scroll-margin-top: 0; }
.critic-inner { display: grid; gap: 44px; }
.critic-head { display: grid; gap: 20px; align-items: center; }
@media (min-width: 780px) { .critic-head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; } }
.critic-head h2 { font-size: clamp(2.4rem, 6.4vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; }
.byline { font-family: var(--serif); font-size: 1.2rem; color: var(--ink-2); max-width: 44ch; margin-top: 14px; }
.critic-art { max-width: 300px; width: 100%; justify-self: center; }
@media (max-width: 779px) { .critic-art { max-width: 210px; justify-self: start; order: -1; } }
.critic-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .critic-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.clip { border: 1px solid var(--rule-2); background: var(--paper); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; box-shadow: 0 22px 44px -36px rgba(31, 29, 26, 0.5); min-width: 0; }
.clip-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.clip-subject { color: var(--pencil); font-size: 0.92rem; }
.clip-subject b { display: block; color: var(--ink); font-size: 1rem; font-weight: 600; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 20px; height: 20px; }
.stars .full { fill: var(--ink); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.stars .empty { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.clip-head { margin: 0; font: italic 500 clamp(1.7rem, 4.4vw, 2.4rem)/1.12 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.clip-body { font-family: var(--serif); font-size: 1.14rem; line-height: 1.6; max-width: 62ch; }
.clip-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.clip-sig { font: 600 1.6rem/1 var(--hand); }
.stamp { margin-left: auto; border: 2.5px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 2px; border-radius: 3px; padding: 6px 12px 5px; font: 700 0.92rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; transform: rotate(-7deg); white-space: nowrap; }
.stamp.ok { background: var(--marker); }
.stamp.thunk { animation: thunk 480ms cubic-bezier(.2, .9, .25, 1.2); }
@keyframes thunk { 0% { transform: rotate(-7deg) scale(1.8); opacity: 0.1; } 60% { transform: rotate(-7deg) scale(0.94); opacity: 1; } 100% { transform: rotate(-7deg) scale(1); } }
.rules { display: grid; gap: 14px; align-content: start; }
.rules h3 { font-size: 1.5rem; font-weight: 600; }
.rules ol { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 12px; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; }
.rules li::before { content: counter(r) "."; font: 700 1.5rem/1 var(--hand); }
.rules .btn { justify-self: start; margin-top: 6px; }
.final { display: grid; gap: 16px 40px; align-items: center; border-top: 1.5px solid var(--ink); padding-top: 40px; }
@media (min-width: 780px) { .final { grid-template-columns: minmax(0, 1fr) auto; } }
.final-line { font: 500 clamp(2.8rem, 9vw, 6rem)/0.98 var(--serif); letter-spacing: -0.035em; }
.final-sub { font-family: var(--serif); font-size: 1.25rem; color: var(--ink-2); margin-top: 14px; }
.final .btn { margin-top: 22px; }
.no-slop { width: clamp(120px, 22vw, 190px); justify-self: start; }

/* the exam */
.exam-intro { display: grid; gap: 48px; }
.exam-hero { display: grid; gap: 24px; align-items: center; }
@media (min-width: 780px) { .exam-hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; } }
.exam-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; }
.exam-lede { margin-top: 16px; }
.exam-start { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.06rem; }
.exam-art { max-width: 420px; width: 100%; justify-self: center; }
@media (max-width: 779px) { .exam-art { max-width: 250px; order: -1; justify-self: start; } }
.syllabus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; border-top: 1.5px solid var(--ink); padding-top: 24px; }
@media (min-width: 900px) { .syllabus { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; } }
.syllabus div { display: grid; gap: 4px; align-content: start; }
.syllabus .ico { width: 30px; height: 30px; stroke-width: 1.4; margin-bottom: 6px; }
.syllabus b { font: 600 1.2rem/1.2 var(--serif); }
.syllabus span { color: var(--ink-2); font-size: 0.96rem; }
.run-title { font: 600 1.25rem/1.2 var(--serif); }
.exam-stack { margin-top: 70px; }
.exam-paper { gap: 18px; }
.exam-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.bubbles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.bubbles li { position: relative; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--rule-2); display: grid; place-items: center; font: 600 0.7rem/1 var(--sans); color: var(--pencil); font-variant-numeric: tabular-nums; }
.bubbles li.now { border: 2px solid var(--ink); color: var(--ink); }
.bubbles li.ok { background: var(--marker); border-color: var(--ink); color: var(--ink); }
.bubbles li.no { border-color: var(--ink); }
.bubbles li.no::after { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 1.6px; margin-top: -0.8px; background: var(--ink); transform: rotate(-45deg); }
.exam-aside { font: 600 1.65rem/1.1 var(--hand); color: var(--ink-2); }
.exam-kind { font-size: clamp(1.9rem, 4.8vw, 2.6rem); line-height: 1.06; outline: none; }
.exam-q { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); }
.exam-body { display: grid; gap: 16px; }
.exam-body button:disabled { cursor: default; }
.specimen { font: 1.16rem/1.65 var(--serif); border-left: 3px solid var(--ink); padding: 2px 0 2px 18px; white-space: pre-line; overflow-wrap: anywhere; }
.spec-note { color: var(--pencil); font-size: 0.92rem; }
.bub { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 600 0.88rem/1 var(--sans); background: var(--paper); }
.is-answer .bub, .is-right .bub { background: var(--marker); }
.is-wrong .bub { color: transparent; }
.is-wrong .bub::before, .is-wrong .bub::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); transform: rotate(45deg); }
.is-wrong .bub::after { transform: rotate(-45deg); }
@media (min-width: 760px) { .t-pick { grid-template-columns: 1fr 1fr; } }
.pick { display: grid; gap: 12px; align-content: start; text-align: left; border: 1px solid var(--rule-2); background: var(--paper); padding: 16px 18px 20px; }
.pick:hover:not(:disabled) { border-color: var(--ink); }
.pick.is-answer { border-color: var(--ink); box-shadow: 6px 6px 0 var(--marker); }
.pick-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.pick-tag { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); text-align: right; }
.pick-text { font: 1.04rem/1.6 var(--serif); white-space: pre-line; overflow-wrap: anywhere; }
.tap-text { font: clamp(1.25rem, 3.4vw, 1.5rem)/2 var(--serif); white-space: pre-line; overflow-wrap: anywhere; }
.tap-w { border: 0; background: none; padding: 0 2px; margin: 0 -2px; border-radius: 3px; font: inherit; line-height: 1.3; color: inherit; }
.tap-w:hover:not(:disabled) { background: var(--marker-tint); box-shadow: inset 0 -2px 0 var(--ink); }
.revealed .tgt { background: var(--swash) left center / 100% 100% no-repeat; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tap-w.is-wrong { text-decoration: line-through; text-decoration-thickness: 2px; outline: 1.5px solid var(--ink); outline-offset: 1px; }
.letter, .opts { display: grid; border-top: 1px solid var(--rule); }
.line, .opt { text-align: left; border: 0; border-bottom: 1px solid var(--rule); background: none; font: 1.12rem/1.45 var(--serif); }
.line { padding: 13px 8px; }
.opt { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: center; padding: 11px 6px; }
.line:hover:not(:disabled), .opt:hover:not(:disabled) { background: var(--marker-tint); }
.line.is-wrong span { text-decoration: line-through; text-decoration-thickness: 2px; }
.opt.is-answer .opt-t { font-weight: 600; }
.g-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 360px; padding: 6px 4px; }
.g-opt { position: relative; aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 4px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--paper); }
.g-opt:hover:not(:disabled) { background: var(--marker-tint); }
.g-letter { font: 600 2.9rem/1 var(--serif); letter-spacing: -0.03em; }
.g-sub { font-size: 0.8rem; font-weight: 600; color: var(--pencil); }
.g-loop { position: absolute; left: -14px; top: -12px; width: calc(100% + 28px); height: calc(100% + 24px); overflow: visible; pointer-events: none; }
.g-loop path { fill: none; stroke: var(--marker); stroke-width: 6; stroke-linecap: round; opacity: 0; }
.g-opt.is-answer .g-loop path { opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 700ms cubic-bezier(.45, .1, .3, 1) both; }
.g-opt.is-wrong .g-letter { text-decoration: line-through; text-decoration-thickness: 3px; }
.exam-feedback { display: grid; gap: 10px; justify-items: start; border-top: 1px solid var(--rule); padding-top: 18px; }
.exam-verdict { font: 700 2.4rem/1 var(--hand); padding: 0 0.14em; }
.exam-verdict.ok { background: var(--swash) left center / 100% 100% no-repeat; }
.exam-why { font: 1.12rem/1.55 var(--serif); max-width: 62ch; }
.exam-feedback .btn { margin-top: 6px; }
.res-grade { width: 176px; }
.res-grade .grade-letter small { font-size: 0.42em; color: var(--pencil); letter-spacing: 0; margin-left: 2px; }
@media (max-width: 560px) { .res-grade { width: 150px; } }
.res-rank { font-size: clamp(1.8rem, 4.6vw, 2.6rem); line-height: 1.05; }
.missed { border-top: 1px solid var(--rule); padding-top: 16px; }
.missed summary { cursor: pointer; font-weight: 600; width: max-content; max-width: 100%; text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.missed ol { margin: 16px 0 0; padding-left: 1.4em; display: grid; gap: 14px; }
.missed li { display: grid; gap: 2px; }
.m-kind { font-size: 0.86rem; font-weight: 600; color: var(--pencil); }
.missed b { font: 600 1.1rem/1.4 var(--serif); }
.m-why { font-family: var(--serif); color: var(--ink-2); }
.cert { display: grid; gap: 20px; margin-top: 56px; grid-template-areas: "head" "img" "act"; }
.cert-head { grid-area: head; display: grid; gap: 14px; }
.cert-head h2 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.04; }
.cert-name { max-width: 480px; }
.cert-hint { color: var(--pencil); font-size: 0.94rem; }
.cert-img { grid-area: img; display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1130; background: var(--paper); border: 1px solid var(--rule-2); box-shadow: 0 1px 0 var(--rule), 0 22px 44px -34px rgba(31, 29, 26, 0.45); }
.cert-act { grid-area: act; display: grid; gap: 12px; align-content: start; }
@media (min-width: 960px) {
  .cert { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr; grid-template-areas: "head img" "act img"; gap: 22px 52px; align-items: start; }
}
.fail { display: grid; gap: 16px; margin-top: 40px; }
.fail > p { font: 1.15rem/1.55 var(--serif); color: var(--ink-2); max-width: 56ch; }

/* the exam, advertised under the checker */
.promo { display: grid; gap: 18px 36px; align-items: center; border-top: 1.5px solid var(--ink); padding-top: 30px; }
@media (min-width: 700px) { .promo { grid-template-columns: 150px minmax(0, 1fr); } }
.promo-art { width: 120px; }
@media (min-width: 700px) { .promo-art { width: 150px; } }
.promo h2 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); line-height: 1.06; }
.promo p { font-family: var(--serif); font-size: 1.14rem; color: var(--ink-2); max-width: 54ch; margin-top: 10px; }
.promo .btn { margin-top: 18px; }

html.no-votes .nominate-line, html.no-votes #nomForm, html.no-votes .board, html.no-votes #addedBox { display: none !important; }

/* footer */
.foot { border-top: 1px solid var(--rule); padding-block: 26px 44px; display: grid; gap: 14px; color: var(--pencil); font-size: 0.92rem; }
.foot strong { color: var(--ink); font-weight: 600; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; }
.foot-x { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot-x:hover { text-decoration-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .grade.draw .grade-loop path, .grade.draw .grade-letter, .marked.wipe mark, .stamp.thunk, .entry.flash, .nom.flash, .g-opt.is-answer .g-loop path, .pencil path { animation: none !important; }
  .grade.draw .grade-loop path { stroke-dashoffset: 0; }
  .bingo button::before { transition: none; }
}
.crumbs { font-size: 0.92rem; color: var(--pencil); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); }
.solo { display: grid; gap: 44px; max-width: 760px; }
.solo .entry { margin: 0; padding: 0; border: 0; gap: 12px; }
.solo .term { font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; }
.solo .def { font-size: 1.3rem; }
.solo-cta { border-top: 1.5px solid var(--ink); padding-top: 26px; display: grid; gap: 12px; justify-items: start; }
.solo-cta h2, .related h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.1; }
.solo-cta p { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); }
.solo-cta .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.related { display: grid; gap: 14px; }
.prevnext { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); padding-top: 18px; font-family: var(--serif); font-size: 1.05rem; }
.prevnext a { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ga-note { font-size: 0.85rem; }
