/* "Ticket of the day" for other sites (driving schools) to embed in an iframe. Plain CSS: the app bundle is too heavy here. */
@font-face {
  font-family: "FiraGO";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/firago-400.woff2") format("woff2");
}
@font-face {
  font-family: "FiraGO";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/firago-600.woff2") format("woff2");
}
:root {
  --paper: #ffffff;
  --sunken: #e9ebe7;
  --ink: #17191c;
  --muted: #555b62;
  --line: #dcdfdb;
  --go: #1c7349;
  --stop: #c0261c;
  --brand: #1fae5b;
  --brand-ink: #04210f;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #1a1d21;
  --sunken: #0d0f11;
  --ink: #eceef0;
  --muted: #a0a7ae;
  --line: #2b3035;
  --go: #4cc28a;
  --stop: #f0675c;
  --brand: #2ec26a;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 "FiraGO", ui-sans-serif, system-ui, sans-serif;
}
main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
/* Flex items default to their content's width, and the ticket image is 900 px wide. */
main > * {
  min-width: 0;
}
.kicker,
.muted {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
button.answer {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
button.answer:disabled {
  cursor: default;
}
button.answer .n {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sunken);
  font-size: 14px;
  font-weight: 600;
}
button.answer.right {
  border-color: var(--go);
  background: color-mix(in srgb, var(--go) 12%, transparent);
}
button.answer.wrong {
  border-color: var(--stop);
  background: color-mix(in srgb, var(--stop) 12%, transparent);
}
.verdict {
  margin: 0;
  font-weight: 600;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: none;
}
.credit {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.credit a {
  color: inherit;
}
