@font-face {
  font-family: DM;
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: CountryFlags;
  src: url("/fonts/flags.woff2") format("woff2");
  font-display: swap;
}
:root {
  --ink: #181a17;
  --muted: #5f655e;
  --line: #d4d7cd;
  --paper: #f9faf6;
  --lime: #c7f545;
  --purple: #ccc1ff;
  --sans: DM, Arial, sans-serif;
  font: 16px/1.5 var(--sans);
  background: var(--paper);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  min-width: 0;
}
.wrap {
  width: min(1200px, calc(100% - 10vw));
  margin-inline: auto;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7150b9;
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p,
blockquote {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button svg,
a svg {
  flex-shrink: 0;
}
button {
  border: 0;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 10;
  background: white;
  padding: 0.5rem;
}
.site-head {
  border-bottom: 1px solid var(--line);
}
.mast {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand,
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 820;
  font-size: 2rem;
  letter-spacing: -0.085em;
  line-height: 1;
}
.mast nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 0.92rem;
}
nav a {
  text-decoration: none;
}
nav a:hover,
nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.secondary:hover {
  background: #e9ecdf;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 7%;
  align-items: center;
  padding: 55px 0 53px;
  border-bottom: 1px solid var(--ink);
}
.hero h1 {
  font-size: clamp(1.75rem, 3.1vw, 2.8rem);
  letter-spacing: -0.06em;
  line-height: 1.12;
  margin-bottom: 5px;
}
.tweet-hint {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}
.feature-count {
  font-size: 0.82rem;
  font-weight: 600;
}
.hero form {
  display: flex;
  gap: 7px;
  max-width: 530px;
}
.urlfield {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #b8bfb0;
  border-radius: 7px;
  padding: 0 13px;
  min-width: 0;
  background: white;
  flex: 1;
  color: #687060;
}
.urlfield:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.urlfield input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  padding: 15px 0;
  font-size: 1rem;
}
.urlfield input::placeholder {
  color: #687060;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 21px;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: 6px;
  min-height: 46px;
}
.primary {
  background: var(--ink);
  color: white;
}
.primary:hover {
  background: #373b33;
}
.secondary {
  background: transparent;
  border: 1px solid #aab2a1;
}
.feedback,
.loading {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.feedback {
  margin-top: 10px;
}
.feedback:empty {
  display: none;
}
.error {
  color: #9a301c;
}
.loading {
  padding: 44px 0;
}
.feature-stage {
  background-color: var(--purple);
  background-image: radial-gradient(#7a67a766 0.8px, transparent 0.9px);
  background-size: 5px 5px;
  border: 1px solid #1a1d18;
  border-radius: 10px;
  min-width: 0;
  overflow: hidden;
}
.feature-stage:empty {
  visibility: hidden;
}
.feature {
  padding: 19px 25px 18px;
}
.feature-heading,
.feature-link,
.section-head,
.score-meta,
.hand-in,
.tweet-head,
.tweet-foot,
.author,
.section-title {
  display: flex;
  align-items: center;
}
.feature-heading,
.section-head,
.tweet-head,
.tweet-foot {
  justify-content: space-between;
}
.feature-heading {
  margin-bottom: 14px;
}
.micro,
.eyebrow {
  font: 700 0.77rem/1.35 var(--sans);
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
.feature-heading .micro {
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-heading i {
  width: 9px;
  height: 9px;
  background: var(--ink);
  transform: rotate(45deg);
}
.feature-link {
  width: fit-content;
  background: var(--ink);
  border-radius: 4px;
  color: white;
  text-decoration: none;
  gap: 15px;
  padding: 7px 11px;
  font-size: 0.87rem;
  font-weight: 650;
  margin: 14px 0 0 auto;
}
.feature-link:hover,
.primary:hover {
  color: var(--lime);
}
.tweet {
  background: white;
  border: 1px solid #c8cdd0;
  border-radius: 12px;
  padding: 21px 23px;
  color: #111519;
  min-width: 0;
}
.tweet-preview {
  border-color: #302e37;
  box-shadow: 3px 3px 0 #302e37;
}
.author {
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.author > b,
.author > span:last-child {
  min-width: 0;
}
.author b,
.author small {
  display: block;
  line-height: 1.24;
  overflow-wrap: anywhere;
}
.author b {
  font-weight: 750;
}
.author:hover b {
  text-decoration: underline;
}
.author small {
  font-size: 0.84rem;
  color: #59636a;
}
.avatar {
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  overflow: hidden;
  background: #dfe3d8;
  color: #434b3b;
  font-size: 1rem;
  font-weight: 700;
}
.avatar img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.x-mark {
  display: grid;
  place-items: center;
  align-self: flex-start;
  color: #181b1f;
  width: 26px;
  height: 26px;
}
.tweet blockquote {
  font-size: 1.15rem;
  line-height: 1.47;
  letter-spacing: -0.014em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 15px 0;
}
.tweet-foot {
  border-top: 1px solid #e5e8e8;
  padding-top: 11px;
  gap: 10px;
  color: #626a6d;
  font-size: 0.8rem;
}
.tweet-foot a {
  display: flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  font-weight: 650;
  margin-left: auto;
  color: #333d40;
}
.tweet-foot a:hover {
  text-decoration: underline;
}
.tweet-preview blockquote {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shelf {
  padding: 33px 0 56px;
}
.section-head {
  gap: 15px;
  margin-bottom: 17px;
}
h2 {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 690;
  letter-spacing: -0.052em;
}
.quiet-link,
.title-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 6px;
}
.title-actions h1 {
  min-width: 0;
}
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 9px;
  min-height: 44px;
  padding: 9px 17px;
  border-radius: 7px;
  background: var(--ink);
  color: white;
  font-size: 0.94rem;
  font-weight: 750;
}
.share-button svg {
  color: var(--lime);
}
.share-button:hover {
  background: #364125;
}
#copy-status input {
  width: min(100%, 420px);
}
.quiet-link:hover,
.text-button:hover {
  color: #575f46;
}
.cards {
  border-top: 1px solid var(--line);
}
.card {
  display: grid;
  grid-template-columns:
    minmax(110px, 0.72fr) minmax(0, 2.8fr) minmax(142px, 0.8fr)
    20px;
  gap: 25px;
  align-items: center;
  padding: 17px 4px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.card:hover {
  background: #f0f3e9;
}
.card-source {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
}
.card-source > span:last-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.card .avatar {
  width: 26px;
  height: 26px;
  font-size: 0.8rem;
}
.card-copy {
  min-width: 0;
}
.card h3 {
  font-size: 1.28rem;
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.card p {
  font-size: 0.92rem;
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #596055;
  margin-top: 2px;
}
.card-foot {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.48;
}
.card-foot span:first-child {
  color: var(--ink);
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 30px;
  color: var(--muted);
  font-size: 0.8rem;
}
.foot-brand {
  font-size: 1.45rem;
  color: var(--ink);
}
.archive {
  padding: 47px 0;
}
.archive h1,
.exam-title h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.072em;
  line-height: 1.05;
}
.archive h1 {
  margin-bottom: 25px;
}
.exam {
  max-width: 735px;
  margin: 0 auto;
  padding: 33px 0 48px;
}
.back {
  font-size: 0.87rem;
  color: var(--muted);
  text-underline-offset: 3px;
  display: inline-block;
  margin: 0 0 27px;
}
.exam-title .micro {
  color: var(--muted);
}
.exam-title h1 {
  margin: 8px 0 13px;
}
.text-button {
  padding: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.exam .tweet {
  margin: 24px 0 32px;
}
.exam .tweet blockquote {
  font-size: 1.26rem;
}
.exam fieldset {
  border: 0;
  min-width: 0;
  padding: 0;
  margin: 0 0 35px;
}
legend {
  padding: 0;
  max-width: 100%;
}
.eyebrow {
  display: block;
  color: #5c6558;
}
.stem,
.marked h3 {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.25;
  font-weight: 620;
  letter-spacing: -0.035em;
  margin: 10px 0 18px;
}
.answers,
.stats-options {
  display: grid;
  gap: 9px;
}
.answer {
  display: flex;
  gap: 13px;
  align-items: baseline;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 15px;
  cursor: pointer;
  line-height: 1.45;
}
.answer:hover {
  border-color: #98a28b;
}
.answer input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.answer:has(input:focus-visible) {
  outline: 2px solid var(--ink);
}
.answer:has(input:checked) {
  background: #f1f9de;
  border-color: #596641;
}
.letter {
  flex: 0 0 26px;
  height: 26px;
  display: grid;
  place-items: center;
  align-self: flex-start;
  font: 650 0.85rem var(--sans);
  border: 1px solid #c6cabf;
  border-radius: 5px;
}
.answer:has(input:checked) .letter {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}
.hand-in {
  gap: 13px;
  flex-wrap: wrap;
}
.hand-in span {
  font-size: 0.84rem;
  color: var(--muted);
}
.scorecard {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 9px;
  padding: 27px 30px;
}
.grade {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.grade strong {
  font-size: clamp(3.9rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.09em;
}
.grade em {
  font-weight: 400;
  font-style: normal;
  margin: 0 0.06em;
  color: #52662c;
}
.grade span {
  font-size: 0.9rem;
  font-weight: 600;
}
.scorecard h1 {
  margin-top: 10px;
  font-size: 1.65rem;
  letter-spacing: -0.05em;
}
.score-meta {
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.89rem;
  flex-wrap: wrap;
}
.score-meta button {
  margin-left: auto;
}
.marked,
.discussion,
.breakdown {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.rationale {
  background: #ecf1e3;
  padding: 17px 20px;
  border-radius: 6px;
  margin-top: 20px;
}
.rationale h4 {
  font-size: 0.9rem;
}
.rationale p,
.breakdown p {
  margin: 6px 0;
}
.section-title {
  gap: 9px;
}
.discussion textarea {
  display: block;
  width: 100%;
  resize: vertical;
  background: white;
  border: 1px solid #bcc1b6;
  border-radius: 6px;
  padding: 12px;
  margin: 15px 0 9px;
}
.note {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  overflow-wrap: anywhere;
}
.note header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 8px;
}
.note header b small {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
}
.country-flag {
  font-family:
    CountryFlags, "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1em;
}
.breakdown .country-flag {
  margin-right: 4px;
}
.note time {
  color: var(--muted);
  font-size: 0.8rem;
}
.note p {
  white-space: pre-wrap;
  margin-top: 5px;
}
#older,
#more {
  margin-top: 14px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .hero {
    padding: 67px 0;
  }
  .shelf {
    padding-top: 38px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 4%;
    grid-template-columns: 1.03fr 1fr;
    padding: 37px 0;
  }
  .feature {
    padding: 15px;
  }
  .tweet {
    padding: 16px;
  }
  .card {
    gap: 15px;
  }
  .mast {
    height: 63px;
  }
}
@media (max-width: 690px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .mast {
    height: 60px;
  }
  .mast nav {
    gap: 16px;
    font-size: 0.85rem;
  }
  .brand {
    font-size: 1.75rem;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 27px;
  }
  .hero form {
    max-width: none;
  }
  .primary,
  .secondary {
    padding: 10px 14px;
  }
  .urlfield {
    padding: 0 9px;
    gap: 7px;
  }
  .urlfield input {
    padding: 13px 0;
  }
  .feature {
    padding: 14px 16px;
  }
  .feature-heading {
    margin-bottom: 10px;
  }
  .tweet-preview {
    padding: 14px 16px;
  }
  .tweet-preview blockquote {
    font-size: 1.02rem;
    margin: 10px 0;
  }
  .feature-link {
    margin-top: 11px;
  }
  .avatar {
    width: 34px;
    height: 34px;
  }
  .shelf {
    padding: 24px 0 32px;
  }
  .section-head {
    margin-bottom: 13px;
  }
  .card {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 5px 10px;
    padding: 13px 2px;
  }
  .card-source {
    grid-column: 1;
    font-size: 0.78rem;
  }
  .card .avatar {
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
  }
  .card-copy {
    grid-column: 1;
  }
  .card h3 {
    font-size: 1.17rem;
  }
  .card-foot {
    grid-column: 1;
    flex-direction: row;
    gap: 12px;
    font-size: 0.76rem;
  }
  .card > svg {
    grid-column: 2;
    grid-row: 2;
  }
  .card p {
    font-size: 0.86rem;
  }
  .archive {
    padding: 31px 0;
  }
  .exam {
    padding: 23px 0 32px;
  }
  .back {
    margin-bottom: 22px;
  }
  .exam .tweet {
    margin: 21px 0 26px;
  }
  .exam .tweet blockquote {
    font-size: 1.08rem;
  }
  .answer {
    padding: 11px;
    gap: 9px;
  }
  .scorecard {
    padding: 19px;
  }
  .score-meta {
    gap: 10px;
  }
  .score-meta button {
    margin-left: 0;
  }
  .note time {
    font-size: 0.74rem;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 26px);
  }
  .mast nav {
    gap: 10px;
  }
}

:root {
  color-scheme: light;
  --surface: #fff;
  --soft: #ecefe7;
  --fill: #e1e5dc;
  --correct: #638234;
  --correct-fill: #d9edba;
  --mine: #7951b0;
  --mine-fill: #e5dbf2;
  --stamp-green: #456929;
  --stamp-red: #9b352d;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171a18;
  --ink: #f1f2e9;
  --muted: #b0b8ac;
  --line: #41483f;
  --surface: #212621;
  --soft: #2a3029;
  --fill: #354036;
  --correct: #b2d77a;
  --correct-fill: #3b5030;
  --mine: #c4a3ef;
  --mine-fill: #49395a;
  --stamp-green: #afce8f;
  --stamp-red: #ffada4;
}
.profile-link,
.key-legend,
.key-legend span,
.comment-votes,
.discussion-heading,
.sort-label {
  display: flex;
  align-items: center;
}
.profile-link {
  gap: 7px;
  text-decoration: none;
  font-weight: 650;
}
.profile-link:hover {
  text-decoration: underline;
}
.theme-toggle {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  width: 40px;
  height: 40px;
}
.theme-toggle svg {
  grid-area: 1/1;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 0.2s,
    transform 0.25s;
}
.theme-toggle .sun,
[data-theme="dark"] .theme-toggle .moon {
  opacity: 0;
  transform: rotate(-40deg) scale(0.5);
}
[data-theme="dark"] .theme-toggle .sun {
  opacity: 1;
  transform: none;
}
.card-copy time {
  color: var(--muted);
  font-size: 0.77rem;
}
#pages {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin: 22px 0;
  font-size: 0.9rem;
}
#pages a:last-child {
  justify-self: end;
}
#pages [aria-current] {
  color: var(--muted);
}
.scorecard {
  align-items: center;
  color: #192017;
  border-color: #718939;
}
.scorecard.failed {
  background: #ffb5a6;
  color: #421b19;
  border-color: #b86555;
}
.scorecard .stamp {
  color: #334a20;
  width: clamp(60px, 12vw, 100px);
  font-size: clamp(2.8rem, 7vw, 4.7rem);
  margin-right: 5px;
  animation: press-stamp 0.38s cubic-bezier(0.15, 0.8, 0.18, 1) both;
}
.scorecard.failed .stamp {
  color: #85342c;
}
.scorecard .grade strong {
  font-size: clamp(3rem, 7.2vw, 5.4rem);
  letter-spacing: -0.072em;
}
.stamp {
  display: inline-grid;
  place-items: center;
  flex: none;
  aspect-ratio: 1.08;
  line-height: 0.85;
  transform: rotate(-8deg);
  border: 0.075em double currentColor;
  outline: 1px solid currentColor;
  outline-offset: 2px;
  border-radius: 3px;
  font:
    italic 800 1.05rem/0.82 Georgia,
    serif;
  color: var(--stamp-green);
  mask-image: repeating-linear-gradient(
    172deg,
    #000 0 10px,
    #000b 10px 10.7px,
    #000 11px 23px
  );
}
.stamp.grade-D,
.stamp.grade-F {
  color: var(--stamp-red);
}
@keyframes press-stamp {
  from {
    opacity: 0;
    transform: rotate(-14deg) scale(1.35);
  }
  75% {
    opacity: 1;
    transform: rotate(-7deg) scale(0.97);
  }
  to {
    transform: rotate(-8deg) scale(1);
  }
}
.key-legend {
  gap: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0 0 11px;
  flex-wrap: wrap;
}
.key-legend span {
  gap: 6px;
}
.key-legend i {
  width: 13px;
  height: 9px;
  border-radius: 2px;
  display: inline-block;
}
.legend-correct {
  border: 2px solid var(--correct);
}
.legend-mine {
  border-left: 4px solid var(--mine);
  background: var(--mine-fill);
}
.stat {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  --bar: var(--fill);
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--share);
  background: linear-gradient(
    95deg,
    color-mix(in srgb, var(--bar) 74%, transparent),
    var(--bar)
  );
  border-right: 1px solid color-mix(in srgb, var(--bar) 80%, transparent);
  box-sizing: border-box;
  z-index: -1;
  transform-origin: left;
  animation: fill-row 0.45s cubic-bezier(0.18, 0.8, 0.2, 1) both;
}
.stat[style="--share:0%"]::before {
  display: none;
}
@keyframes fill-row {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.stat.right {
  --bar: var(--correct-fill);
  border-color: var(--correct);
  box-shadow: inset 0 0 0 1px var(--correct);
}
.stat.mine::after {
  content: "";
  position: absolute;
  inset: 3px auto 3px 2px;
  width: 4px;
  border-radius: 2px;
  background: var(--mine);
}
.stat.mine:not(.right) {
  --bar: var(--mine-fill);
  border-color: var(--mine);
}
.stat-text {
  display: grid;
  grid-template-columns: 19px 1fr auto;
  gap: 9px;
  align-items: baseline;
  padding: 14px 16px;
  line-height: 1.46;
}
.choice-letter {
  font-size: 0.8rem;
  color: var(--muted);
}
.percent,
.country-percent,
.comment-votes strong {
  font-variant-numeric: tabular-nums;
}
.country-chart {
  margin-top: 15px;
}
.chart-head,
.country-row {
  display: grid;
  align-items: center;
  column-gap: 13px;
}
.chart-head {
  grid-template-columns: 1fr auto;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0 0 7px;
  border-bottom: 1px solid var(--line);
}
.country-chart ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.country-row {
  grid-template-columns: minmax(145px, 1fr) minmax(65px, 1.2fr) 45px 29px;
  padding: 13px 5px 13px 0;
  border-bottom: 1px solid var(--line);
}
.country-title {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 0 7px;
  line-height: 1.25;
}
.country-title small {
  grid-column: 2;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 3px;
}
.country-meter {
  background: var(--soft);
  height: 8px;
  border-radius: 2px;
  overflow: hidden;
}
.country-meter i {
  display: block;
  height: 100%;
  background: var(--correct);
  transform-origin: left;
  animation: fill-row 0.45s ease-out both;
}
.country-percent {
  text-align: right;
}
.country-row .stamp {
  width: 22px;
  justify-self: end;
}
.discussion-heading {
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.sort-label {
  font-size: 0.82rem;
  gap: 6px;
  color: var(--muted);
}
.sort-label select {
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px;
}
.comment-votes {
  gap: 4px;
  margin-top: 6px;
  font-size: 0.84rem;
}
.comment-votes button {
  color: var(--muted);
  background: transparent;
  min-width: 32px;
  min-height: 32px;
  font: bold 1.25rem/1 var(--sans);
  border-radius: 4px;
}
.comment-votes button:hover {
  background: var(--soft);
}
.comment-votes button[aria-pressed="true"] {
  background: var(--mine-fill);
  color: var(--mine);
}
.comment-votes button:disabled {
  cursor: default;
}
[data-theme="dark"]
  :is(.urlfield, .answer, .discussion textarea, .skip:focus, .tweet) {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
[data-theme="dark"] :is(.urlfield input, .tweet-foot a, .x-mark) {
  color: var(--ink);
}
[data-theme="dark"]
  :is(
    .author small,
    .tweet-foot,
    .card p,
    .eyebrow,
    .urlfield input::placeholder
  ) {
  color: var(--muted);
}
[data-theme="dark"] .tweet-foot {
  border-color: var(--line);
}
[data-theme="dark"] .feature-stage {
  background-color: #423653;
  border-color: #76618f;
}
[data-theme="dark"] :is(.feature-link, .primary, .share-button) {
  background: #d1e3ae;
  color: #1a2214;
}
[data-theme="dark"] .share-button svg {
  color: #34472c;
}
[data-theme="dark"] :is(.secondary:hover, .card:hover, .rationale) {
  background: var(--soft);
}
[data-theme="dark"] :is(.secondary, .letter) {
  border-color: var(--line);
}
[data-theme="dark"] .answer:has(input:checked) {
  background: var(--correct-fill);
  border-color: var(--correct);
}
[data-theme="dark"] .answer:has(input:checked) .letter {
  background: var(--correct);
  color: #192115;
}
[data-theme="dark"] .scorecard {
  background: #324729;
  color: #e8f5d6;
}
[data-theme="dark"] .scorecard.failed {
  background: #542d2c;
  color: #ffe7df;
}
[data-theme="dark"] .scorecard .stamp {
  color: #cae9a2;
}
[data-theme="dark"] .scorecard.failed .stamp {
  color: #ffb8ac;
}
[data-theme="dark"] .grade em {
  color: inherit;
  opacity: 0.65;
}
[data-theme="dark"] .error {
  color: #ffafa4;
}
[data-theme="dark"] .quiet-link:hover {
  color: var(--ink);
}
@media (max-width: 440px) {
  .country-row {
    grid-template-columns: minmax(107px, 1.4fr) minmax(30px, 0.6fr) 37px 22px;
    gap: 8px;
  }
  .grade {
    flex-wrap: wrap;
    gap: 0 10px;
  }
  .stat-text {
    padding: 12px;
    gap: 6px;
  }
  .scorecard .stamp {
    margin-right: 0;
  }
  .scorecard h1 {
    font-size: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle svg {
    transition: none;
  }
  .scorecard .stamp,
  .stat::before,
  .country-meter i {
    animation: none;
  }
}
