/* The page for teachers (public/teachers.html). On screen it uses the game's look; printed, it's a plain
   one-page handout in black on white, without the buttons. */
.teachers .lead { font-size: 1.15em; color: var(--ink); }
.teachers h3 { margin: 0 0 4px; font-size: 1.1em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.teachers h3 small { color: var(--muted); font: 400 0.8em var(--body); }

/* CAT → COT → DOT → DOG on one line, even on a small phone: the tiles shrink with the screen. */
.t-ladder { --t: min(32px, calc((100vw - 120px) / 12)); display: flex; align-items: center; gap: 4px; margin: 6px 0; }
.t-word { display: inline-flex; gap: 3px; }
.t-word i { font: normal 800 calc(var(--t) * 0.62) var(--display); text-transform: uppercase; width: var(--t); height: calc(var(--t) * 1.12); border-radius: 6px; display: grid; place-items: center;
  background: var(--tile); color: var(--on-accent); box-shadow: 0 3px 0 var(--tile-edge); }
.t-word i.hit { background: var(--gold); color: var(--on-accent); box-shadow: 0 3px 0 var(--gold-edge); text-decoration: underline 2px; text-underline-offset: 3px; }
.t-arrow { color: var(--muted); font-weight: 700; font-size: 0.85em; }

.t-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t-ways li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: var(--panel); }
.t-ways .icon { flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--panel-hi); color: var(--accent-ink); }
.t-ways p { margin: 0; color: var(--chain); }

.t-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--chain); max-width: 38em; }
.t-checks li { display: flex; gap: 10px; align-items: baseline; }
.t-checks .icon { flex-shrink: 0; color: var(--accent-ink); transform: translateY(0.18em); }
.t-checks b { color: var(--ink); }

.t-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.t-actions .link-btn { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 520px) { .t-actions .btn { width: 100%; } .t-actions .link-btn { margin: 4px auto 0; } }

:root[data-theme="sketchbook"] .t-ways li, :root[data-theme="sketchbook"] .t-word i { outline: 2px solid var(--line); outline-offset: -2px; }

@media print {
  @page { margin: 14mm; }
  :root { --ink: #000; --chain: #222; --muted: #555; --panel: #fff; --panel-hi: #eee; --accent-ink: #000; }
  html, body { background: #fff !important; color: #000; }
  body { font-size: 10.5pt; }
  .page { padding: 0; gap: 7px; max-width: none; }
  .page > h1 { margin: 6px 0 0; font-size: 2em; }
  .page > h2 { margin-top: 8px; }
  .t-actions, .t-note, footer, .fb-tab, .text-size { display: none !important; }
  .t-ways { gap: 6px; }
  .t-ways li { border: 1px solid #999; padding: 8px 12px; break-inside: avoid; }
  .t-ways .icon { width: 34px; height: 34px; padding: 7px; }
  .t-checks { gap: 5px; }
  .t-word i, .t-word i.hit { box-shadow: none; border: 1px solid #000; background: #fff; color: #000; }
  .t-word i.hit { background: #ddd; }
  .teachers::after { content: "Play free at letterhop.fun"; font-weight: 700; font-size: 1.2em; margin-top: 6px; }
}
