/* IAL Prep — the site's look, after the menus of the game Control.
   Loaded first on every page; each page's own stylesheet builds on these tokens and parts.
   Dark is the default. data-theme="light" on <html> is light mode (printed paper: grey desk,
   paper panels, black type). Each subject sets its own accent through [data-subject]; the red is
   shared. Headings, tabs and numbers are set in TeX Gyre Adventor (fonts/, GUST font licence),
   text in Overpass. */
@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

@font-face {
  font-family: 'Adventor';
  src: url('../fonts/adventor-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Adventor';
  src: url('../fonts/adventor-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Registered so a change of subject blends the colour instead of switching it. */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #52b9ff; }
@property --accent-ink { syntax: '<color>'; inherits: true; initial-value: #06121c; }

:root {
  --f-display: 'Adventor', 'Century Gothic', 'Avenir Next', sans-serif;
  --f-text: 'Overpass', 'Segoe UI', system-ui, sans-serif;

  --ground: #0b0b0c;
  --ground-2: #070708;
  --panel: rgba(17, 17, 18, 0.92);
  --panel-solid: #111112;
  --field: #19191a;
  --field-2: #222224;
  --line: rgba(255, 255, 255, 0.13);
  --line-2: rgba(255, 255, 255, 0.26);
  --line-3: rgba(255, 255, 255, 0.5);
  --ink: #f1f1ee;
  --ink-2: #b9b9b4;
  --ink-3: #8a8a85;
  --tab-on: #f1f1ee;
  --tab-on-ink: #0b0b0c;
  --key-bg: #2b2b2d;
  --key-ink: #e4e4e0;
  --red: #ff4036;
  --red-tint: rgba(255, 64, 54, 0.12);
  --paper-frame: #1d1d1f;
  --seal-a: 0.085;
  --scrim: rgba(0, 0, 0, 0.6);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  --accent: #52b9ff;
  --accent-ink: #06121c;
  --accent-tint: color-mix(in srgb, var(--accent) 14%, transparent);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --radius: 2px;

  /* Names the older stylesheets use, pointed at the new palette. */
  --bg: var(--ground);
  --card: var(--panel-solid);
  --muted: var(--ink-3);
  --surface-2: var(--field);
  --line-strong: var(--line-2);
  --navy: var(--ink);
  --blue: var(--accent);
  --accent-deep: var(--accent);
  --accent-strong: var(--accent);
  --accent-hover: var(--accent);
  --shadow-soft: none;
  --tint-1: var(--field);
  --tint-2: var(--field-2);
  --tint-3: var(--field);
  --tint-4: var(--field);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --ground: #d6d6d2;
  --ground-2: #cbcbc6;
  --panel: rgba(246, 246, 243, 0.95);
  --panel-solid: #f6f6f3;
  --field: #ebebe7;
  --field-2: #e0e0db;
  --line: rgba(10, 10, 10, 0.16);
  --line-2: rgba(10, 10, 10, 0.32);
  --line-3: rgba(10, 10, 10, 0.6);
  --ink: #0d0d0d;
  --ink-2: #3b3b39;
  --ink-3: #52524e;
  --tab-on: #0d0d0d;
  --tab-on-ink: #f6f6f3;
  --key-bg: #0d0d0d;
  --key-ink: #f6f6f3;
  --red: #a0101a;
  --red-tint: rgba(160, 16, 26, 0.08);
  --paper-frame: #e7e7e2;
  --seal-a: 0.07;
  --scrim: rgba(40, 40, 36, 0.45);
  --shadow: 0 14px 34px rgba(30, 30, 25, 0.22);
  --accent: #004f8f;
  --accent-ink: #fff;
  color-scheme: light;
}

/* Subject accents. They apply wherever data-subject is set: the page body, a nav panel, a card. */
[data-subject="physics"]   { --accent: #52b9ff; --accent-ink: #06121c; }
[data-subject="chemistry"] { --accent: #2fd4a5; --accent-ink: #04170f; }
[data-subject="biology"]   { --accent: #b6e14b; --accent-ink: #111a02; }
[data-subject="maths"]     { --accent: #b49cff; --accent-ink: #120a26; }
/* In light mode; the notes pages set data-subject on <html> itself, hence the second selector of each.
   A step darker than the dark mode's, so each keeps 4.5:1 on the darkest part of the grey ground
   (#cbcbc6) as well as on the paper panels. */
:root[data-theme="light"] [data-subject="physics"],
:root[data-theme="light"][data-subject="physics"]     { --accent: #004f8f; --accent-ink: #fff; }
:root[data-theme="light"] [data-subject="chemistry"],
:root[data-theme="light"][data-subject="chemistry"]   { --accent: #005c45; --accent-ink: #fff; }
:root[data-theme="light"] [data-subject="biology"],
:root[data-theme="light"][data-subject="biology"]     { --accent: #355400; --accent-ink: #fff; }
:root[data-theme="light"] [data-subject="maths"],
:root[data-theme="light"][data-subject="maths"]       { --accent: #5a37b5; --accent-ink: #fff; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* The ground is painted on <html> and on the body. The body is its own stacking context (position
   and z-index 0), so the seal (z-index -1 inside it) is drawn over the body's ground and under the
   page, on every page however short. */
html {
  min-height: 100%;
  background-color: var(--ground);
  background-image: linear-gradient(180deg, var(--ground) 0%, var(--ground-2) 100%);
  background-attachment: fixed;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  transition: background-color 0.3s ease;
}
body {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background-color: var(--ground);
  background-image: linear-gradient(180deg, var(--ground) 0%, var(--ground-2) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 15px/1.55 var(--f-text);
  transition: color 0.3s ease, --accent 0.5s ease, --accent-ink 0.5s ease;
}
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.005em; text-wrap: balance; }
::selection { background: var(--accent); color: var(--accent-ink); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: var(--line-3); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
kbd { font-family: var(--f-text); }
input, textarea { caret-color: var(--accent); }

.ctl-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- The seal: one per subject, drawn large behind the page (js/control.js) ---------- */
.ctl-seal {
  position: fixed;
  z-index: -1;
  right: -26vmin;
  bottom: -38vmin;
  width: 118vmin;
  height: 118vmin;
  pointer-events: none;
  color: var(--accent);
  opacity: var(--seal-a);
  transition: color 0.4s ease, opacity 0.35s ease;
}
.ctl-seal svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; transition: transform 0.9s var(--ease); }
.ctl-seal text { font: 700 27px var(--f-display); letter-spacing: 6px; fill: currentColor; stroke: none; }
:root[data-theme="light"] .ctl-seal { color: #0d0d0d; }
@media (max-width: 860px) {
  .ctl-seal { right: -40vmin; bottom: -20vmin; width: 140vmin; height: 140vmin; }
}

/* ---------- Parts ---------- */
.ctl-icon,
.ctl-btn svg,
.ctl-act svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }

/* Section labels: Control's red capitals, used as the heading itself, never above another one. */
.ctl-label {
  margin: 0;
  color: var(--red);
  font: 700 12.5px/1.2 var(--f-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ctl-label-n { margin-left: 6px; color: var(--ink-3); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

.ctl-key {
  display: inline-grid;
  place-items: center;
  flex: none;
  min-width: 22px;
  height: 20px;
  padding: 0 5px;
  border-radius: 3px;
  background: var(--key-bg);
  color: var(--key-ink);
  font: 700 11px/1 var(--f-text);
  font-style: normal;
}
@media (pointer: coarse) { .ctl-key.is-hint { display: none; } }

.ctl-panel { background: var(--panel); border: 1px solid var(--line); }

.ctl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: 600 14px/1.1 var(--f-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.ctl-btn:hover { border-color: var(--ink); background: var(--field); color: var(--ink); }
.ctl-btn:active { background: var(--field-2); }
.ctl-btn svg { width: 17px; height: 17px; flex: none; }
.ctl-btn-solid { background: var(--tab-on); border-color: var(--tab-on); color: var(--tab-on-ink); }
.ctl-btn-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ctl-btn:disabled { opacity: 0.4; cursor: default; }
.ctl-btn:disabled:hover { border-color: var(--line-2); background: transparent; }
.ctl-btn-solid:disabled,
.ctl-btn-solid:disabled:hover { background: transparent; border-color: var(--line-2); color: var(--ink-2); }

/* Square tick boxes, as in the game's options screen. */
.ctl-check {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid var(--line-3);
  border-radius: 0;
  background: var(--field);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ctl-check::after {
  content: '';
  width: 6px;
  height: 11px;
  margin-top: -3px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.18s var(--ease);
}
.ctl-check:checked { background: var(--field-2); border-color: var(--ink-2); }
.ctl-check:checked::after { transform: rotate(45deg) scale(1); }
.ctl-check:indeterminate { background: var(--field-2); border-color: var(--ink-2); }
.ctl-check:indeterminate::after { width: 10px; height: 0; margin: 0; border-width: 0 0 2px; transform: none; }
.ctl-check:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }

.ctl-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 36px;
  padding: 6px 30px 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E") right 8px center / 16px no-repeat;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}
.ctl-select:focus { outline: none; border-color: var(--accent); }
/* iPad and iPhone Safari zoom the page in on any field under 16px when it is tapped. */
@media (pointer: coarse) {
  .ctl-select,
  .ctl-field,
  :where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="button"], [type="submit"], [type="reset"], [type="color"], [type="file"]), select, textarea) { font-size: 16px; }
}
.ctl-select option { background: var(--panel-solid); color: var(--ink); }

.ctl-field {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px 9px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--field);
  color: var(--ink);
  font-size: 16px;
  transition: border-color 0.15s ease;
}
.ctl-field::placeholder { color: var(--ink-3); opacity: 1; }
.ctl-field:focus { outline: none; border-color: var(--accent); }

/* Choice squares: one at a time (role=radio) or several (aria-pressed). */
.ctl-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.ctl-seg > button {
  min-height: 34px;
  padding: 6px 6px 5px;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.ctl-seg > button:hover { color: var(--ink); border-color: var(--line-3); }
.ctl-seg > button[aria-checked="true"],
.ctl-seg > button[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
@media (pointer: coarse) { .ctl-seg > button { min-height: 44px; } }

/* Progress: a thin bar with a bright tick at the end of the fill. */
.ctl-meter { position: relative; height: 4px; background: var(--field-2); }
.ctl-meter > span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.ctl-meter::after {
  content: '';
  position: absolute;
  top: -4px;
  left: calc(var(--p, 0) * 100% - 1px);
  width: 2px;
  height: 12px;
  background: var(--ink);
  transition: left 0.7s var(--ease);
}

/* Tabs: the selected tab is a filled block that slides between tabs (js/control.js). */
.ctl-tabs { position: relative; display: flex; gap: 2px; min-width: 0; isolation: isolate; }
.ctl-tab {
  position: relative;
  z-index: 1;
  flex: none;
  min-height: 38px;
  padding: 9px 16px 8px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 700 16px/1 var(--f-display);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease;
}
.ctl-tab:hover { color: var(--ink); }
.ctl-tab[aria-selected="true"],
.ctl-tab[aria-current="page"],
.ctl-tab[aria-pressed="true"] { color: var(--tab-on-ink); }
.ctl-tab:focus-visible { outline-offset: -3px; }
.ctl-tab[aria-selected="true"]:focus-visible { outline-color: var(--tab-on-ink); }
.ctl-ink {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--tab-on);
  transition: transform 0.34s var(--ease), width 0.34s var(--ease);
}
.ctl-ink.is-flash { animation: ink-flash 0.36s ease-out; }
@keyframes ink-flash {
  0% { background: var(--accent); }
  100% { background: var(--tab-on); }
}
@media (pointer: coarse) { .ctl-tab { min-height: 44px; } }

/* The selection frame: four corner brackets that close in on the item in focus. */
.ctl-frame,
.ctl-frame::before,
.ctl-frame::after { position: absolute; pointer-events: none; }
.ctl-frame { inset: -5px; opacity: 0; transition: opacity 0.12s ease, inset 0.22s var(--ease); }
.ctl-frame::before,
.ctl-frame::after { content: ''; inset: 0; background-repeat: no-repeat; }
.ctl-frame::before {
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left top / 2px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / 2px 14px no-repeat;
}
.ctl-frame::after {
  background:
    linear-gradient(var(--accent), var(--accent)) left bottom / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left bottom / 2px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 2px 14px no-repeat;
}

/* ---------- Notifications (js/control.js: CTL.toast) ---------- */
.ctl-toasts {
  position: fixed;
  z-index: 90;
  top: calc(var(--site-nav-h, 60px) + 14px);
  right: 18px;
  display: grid;
  gap: 8px;
  width: min(340px, calc(100vw - 36px));
  pointer-events: none;
}
.ctl-toast {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  padding: 12px 14px 12px 12px;
  background: var(--panel-solid);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  animation: toast-in 0.34s var(--ease) both;
}
.ctl-toast p { margin: 0; }
.ctl-toast.is-out { animation: toast-out 0.2s var(--ease-in) both; }
.ctl-toast-ic {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: var(--accent-ink);
}
.ctl-toast-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ctl-toast .ctl-label { margin: 1px 0 3px; }
.ctl-toast-t { color: var(--ink); font: 700 15px/1.25 var(--f-display); }
.ctl-toast-s { color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
@keyframes toast-in {
  0% { opacity: 0; transform: translateX(28px); clip-path: inset(0 0 0 100%); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes toast-out { to { opacity: 0; transform: translateX(16px); } }
@media (max-width: 860px) {
  .ctl-toasts { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); right: 12px; width: calc(100vw - 24px); }
  .ctl-top-on .ctl-toasts { bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ---------- Back to top (js/control.js) ----------
   In the bottom right corner once the page is a screen down. The line along its foot fills with
   how far down the page is, like the game's meters. */
.ctl-top {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 15px 0 12px;
  border: 1px solid var(--line-2);
  background: var(--panel-solid);
  color: var(--ink);
  font: 700 14px/1 var(--f-display);
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.18s var(--ease-in), transform 0.18s var(--ease-in), visibility 0s 0.18s, border-color 0.15s ease, color 0.15s ease;
}
.ctl-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.34s var(--ease), transform 0.34s var(--ease), visibility 0s, border-color 0.15s ease, color 0.15s ease;
}
.ctl-top svg { flex: none; width: 18px; height: 18px; stroke-width: 1.8; }
.ctl-top::after {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.ctl-top:hover { border-color: var(--accent); color: var(--accent); }
.ctl-top:hover svg { animation: ctl-top-nudge 0.6s var(--ease) infinite alternate; }
.ctl-top:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
@keyframes ctl-top-nudge { to { transform: translateY(-3px); } }
@media (max-width: 860px) {
  .ctl-top { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: 46px; height: 46px; padding: 0; justify-content: center; }
  .ctl-top-t { display: none; }
}

/* ---------- New words type in (js/control.js: CTL.typeIn) ----------
   Letter by letter behind a block cursor in the subject colour. The letters still to come keep
   their place, so the line never reflows while it types. */
.ctl-typed::after {
  content: '';
  display: inline-block;
  width: 0.52em;
  height: 0.92em;
  margin-right: -0.52em;
  vertical-align: -0.1em;
  background: var(--accent);
  animation: caret 0.42s steps(1, end) 4;
}
.ctl-ghost { visibility: hidden; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Page motion ----------
   Coming up: the page's main blocks draw in from the left (js/control.js marks them .ctl-in).
   Changing subject inside a page: the blocks slide out toward the tab left behind and fade, then
   the new subject slides in from the side of the tab chosen (--dir is 1 or -1). */
.ctl-boot .ctl-in { animation: ctl-draw 0.6s var(--ease) both; animation-delay: calc(min(var(--n, 0), 6) * 50ms); }
@keyframes ctl-draw {
  from { clip-path: inset(0 100% 0 0); opacity: 0.3; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
.ctl-shift { transition: opacity 0.2s var(--ease-in), transform 0.2s var(--ease-in); }
body.is-leaving .ctl-shift { opacity: 0; transform: translateX(calc(var(--dir, 1) * -16px)); }
body.is-leaving .ctl-seal { opacity: 0; }
body.is-entering .ctl-shift { animation: ctl-enter 0.5s var(--ease) both; animation-delay: calc(min(var(--n, 0), 6) * 30ms); }
@keyframes ctl-enter {
  from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 22px)); }
  to { opacity: 1; transform: none; }
}
@keyframes ctl-fade { from { opacity: 0; } to { opacity: 1; } }

/* Going to another page: the old page fades out, the new one fades in with a short slide from the
   right; the top bar stays where it is. Browsers without cross-page view transitions (html.no-vt,
   js/motion.js) fade <main> in. The fill is "backwards" so nothing is left on <main> afterwards. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-nav { view-transition-name: site-nav; }
  .sidebar { view-transition-name: sidebar; }
  ::view-transition-old(root) { animation: ctl-page-out 0.18s var(--ease-in) both; }
  ::view-transition-new(root) { animation: ctl-page-in 0.42s var(--ease) both; }
  html.no-vt main { animation: ctl-page-in 0.42s var(--ease) backwards; }
}
@keyframes ctl-page-out { to { opacity: 0; transform: translateX(-10px); } }
@keyframes ctl-page-in { from { opacity: 0; transform: translateX(14px); } }

@media (prefers-reduced-motion: reduce) {
  .ctl-boot .ctl-in,
  body.is-entering .ctl-shift,
  .ctl-toast { animation: ctl-fade 0.18s ease both; }
  body.is-leaving .ctl-shift { transform: none; }
  .ctl-ink, .ctl-meter > span, .ctl-meter::after, .ctl-seal svg, .ctl-frame { transition-duration: 0.01s; }
  .ctl-typed::after { animation: none; }
  .ctl-top, .ctl-top.is-on { transform: none; }
  .ctl-top:hover svg { animation: none; }
}

@media print {
  .ctl-seal, .ctl-toasts, .ctl-top { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
}
