:root {
  color-scheme: light;
  --page: #f6f3ed;
  --surface: #fffcf6;
  --surface-2: #f5f0e7;
  --ink: #272722;
  --subtle: #625e54;
  --line: #e4dcd0;
  --accent: #9e382d;
  --accent-hover: #852d25;
  --accent-soft: #f4e3da;
  --green: #355a49;
  --green-soft: #e2eae0;
  --gold: #775520;
  --gold-soft: #f1e7d2;
  --white: #fffaf1;
  --side: #252724;
  --side-text: #eae5da;
  --side-muted: #bbb8ae;
  --serif: Georgia, 'Times New Roman', serif;
  --system: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --jp: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, 'Noto Sans CJK JP', sans-serif;
  --sidebar-width: 232px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #21231f; --surface: #292b26; --surface-2: #32342e;
    --ink: #f1e8db; --subtle: #c9c0b1; --line: #47473d;
    --accent: #e49b86; --accent-hover: #f3b39f; --accent-soft: #482d28;
    --green: #b7d3be; --green-soft: #304337; --gold: #edd09c; --gold-soft: #423725;
    --white: #241e19; --side: #1b1d1a; --side-text: #f0e8da; --side-muted: #bbb8ae;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #21231f; --surface: #292b26; --surface-2: #32342e;
  --ink: #f1e8db; --subtle: #c9c0b1; --line: #47473d;
  --accent: #e49b86; --accent-hover: #f3b39f; --accent-soft: #482d28;
  --green: #b7d3be; --green-soft: #304337; --gold: #edd09c; --gold-soft: #423725;
  --white: #241e19; --side: #1b1d1a; --side-text: #f0e8da; --side-muted: #bbb8ae;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1rem/1.53 var(--system); }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .53; cursor: default; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
main:focus, h2:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.35rem, 5vw, 3.75rem); }
h2 { font-size: 1.32rem; font-weight: 680; }
h3 { font-size: 1.13rem; }
p { color: var(--subtle); }
svg { flex-shrink: 0; vertical-align: middle; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 20; background: var(--surface); padding: 10px 15px; }

.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 32px 18px 22px; background: var(--side); color: var(--side-text); }
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 6px; text-decoration: none; font: 500 1.55rem/1.05 var(--serif); white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 45px; height: 45px; color: #fff2df; background: #ad4537; border-radius: 12px; flex: 0 0 auto; }
.brand small { display: block; margin-top: 6px; font: .69rem var(--jp); color: var(--side-muted); letter-spacing: .17em; }
.sidebar-nav { display: grid; gap: 5px; margin-top: 48px; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 13px; border-radius: 9px; color: var(--side-muted); text-decoration: none; font-size: .94rem; font-weight: 550; }
.nav-link:hover { color: var(--side-text); background: #333630; }
.nav-link.selected { color: #fff1e0; background: #3a3831; }
.nav-link.selected svg { color: #ed977e; }
.sidebar-foot { margin-top: auto; border-top: 1px solid #494b44; padding: 13px 6px 0; color: var(--side-muted); font-size: .79rem; }
.install-link { display: flex; align-items: center; gap: 9px; background: transparent; border: 0; color: var(--side-text); padding: 8px 0; font-size: .9rem; }
.install-link:hover { color: #ed977e; }
.sidebar-foot > span { display: block; padding-top: 7px; }
.mobile-brand, .mobile-nav { display: none; }

.workspace { margin-left: var(--sidebar-width); min-height: 100vh; display: flex; flex-direction: column; }
.topbar, .main, .footer { width: min(100% - 78px, 1120px); margin-inline: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.top-location { font-size: 1rem; font-weight: 665; }
.offline { display: inline-flex; gap: 4px; align-items: center; font-size: .84rem; color: var(--subtle); }
.offline.ready { color: var(--green); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding: 25px 0 20px; font-size: .81rem; color: var(--subtle); }
.footer a:hover { color: var(--accent); }

.hero { position: relative; display: grid; align-items: center; min-height: 355px; isolation: isolate; overflow: hidden; border-radius: 18px; background: #ede3d0; border: 1px solid #e6dece; }
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.hero::before { left: 26%; background: url('./assets/fuji.jpg') center 53% / cover no-repeat; }
.hero::after { background: linear-gradient(90deg, #f3e9d8 0%, #f3e9d8 21%, #f3e9d8ef 31%, #f3e9d8ac 42%, #f3e9d800 61%); }
.hero-content { padding: 34px clamp(23px, 4vw, 51px); width: min(54%, 495px); }
.hero .overline { color: #80392f; }
.hero .overline > span { display: inline-block; vertical-align: middle; width: 16px; height: 1px; margin-right: 7px; background: currentColor; }
.hero h1 { margin-top: 11px; color: #292721; line-height: .96; letter-spacing: -.058em; font-size: clamp(3rem, 5.3vw, 5.2rem); }
.hero h1 em { color: #9e382d; font-weight: inherit; }
.hero p { margin-top: 16px; color: #4a463d; max-width: 33ch; }
.hero .button { margin-top: 19px; background: #9e382d; color: #fffaf1; }
.hero .button:hover { background: #852d25; }
.overline { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 750; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 15px; border: 1px solid transparent; border-radius: 8px; font-weight: 660; text-align: center; text-decoration: none; font-size: .92rem; }
.primary { background: var(--accent); color: var(--white); }
.primary:hover:enabled, a.primary:hover { background: var(--accent-hover); }
.secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.secondary:hover:enabled, a.secondary:hover { border-color: var(--accent); color: var(--accent); }
.quiet, .chip { background: transparent; color: var(--subtle); }
.quiet:hover, .chip:hover, .chip.active { background: var(--surface-2); color: var(--ink); }
.chip.active { border-color: var(--line); }
.danger { color: var(--accent); background: var(--accent-soft); }
.danger:hover { border-color: var(--accent); }
.text-link { color: var(--accent); text-underline-offset: .22em; font-size: .94rem; font-weight: 650; }
.back-link { display: inline-flex; margin: 4px 0 15px; }

.counters, .row-cards, .practice-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.counters { margin-top: 18px; }
.counter, .row-card, .panel { border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.counter { display: flex; gap: 12px; align-items: center; padding: 15px; min-height: 79px; text-decoration: none; }
.counter:hover, .row-card:hover { border-color: var(--accent); }
.counter-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; flex: 0 0 auto; }
.red { background: var(--accent-soft); color: var(--accent); }
.green { background: var(--green-soft); color: var(--green); }
.gold { background: var(--gold-soft); color: var(--gold); }
.counter strong { display: block; line-height: 1.2; font-size: 1.37rem; font-weight: 710; }
.counter strong span { color: var(--subtle); font-size: 1rem; font-weight: 500; }
.counter small { display: block; color: var(--subtle); font-size: .86rem; }
.dashboard-lessons { margin-top: 27px; }
.section-head { display: flex; gap: 8px 15px; justify-content: space-between; align-items: end; margin: 0 0 13px; }
.section-head h2 { font: 500 1.62rem var(--serif); }
.section-head p { font-size: .93rem; margin-top: 4px; }
.section-head .text-link { flex: 0 0 auto; padding-bottom: 3px; }
.row-card { padding: 16px; text-decoration: none; }
.row-card-heading { display: flex; justify-content: space-between; align-items: start; gap: 4px; }
.row-card-heading h3 + span { display: inline-block; font-size: .91rem; color: var(--subtle); margin-top: 4px; }
.row-index { display: inline-grid; width: 34px; min-height: 30px; place-content: center; border-radius: 7px; background: var(--surface-2); color: var(--subtle); font-size: .82rem; font-weight: 720; }
.row-index.done { background: var(--green-soft); color: var(--green); }
.row-glyphs { display: grid; grid-template-columns: repeat(var(--row-size, 5), minmax(0, 1fr)); gap: 5px; margin: 15px 0 12px; }
.row-glyphs > span { min-height: 34px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-2); }
.row-progress { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .82rem; color: var(--subtle); }
.row-progress .progress-track { flex: 1 auto; max-width: 49%; }
.progress-track { height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress-track span { display: block; border-radius: inherit; height: 100%; background: var(--accent); }

.page-heading { margin: 9px 0 24px; }
.page-heading p { max-width: 62ch; margin-top: 7px; }
.page-heading .overline { display: block; margin-bottom: 7px; }
.panel { padding: clamp(16px, 3vw, 25px); }
.test-panel { display: flex; gap: 14px; align-items: center; margin: 18px 0 22px; }
.test-panel > div:nth-child(2) { flex: 1; }
.test-panel p { margin-top: 5px; }
.test-panel .progress-track { margin-top: 10px; max-width: 230px; }
.lesson-tabs { display: grid; grid-template-columns: repeat(var(--row-size, 5), minmax(0, 1fr)); gap: 8px; max-width: min(100%, calc(var(--row-size, 5) * 102px)); margin: 0 0 13px; }
.lesson-tabs a { background: var(--surface); border: 1px solid var(--line); text-decoration: none; border-radius: 9px; text-align: center; padding: 4px; min-height: 60px; display: grid; place-items: center; color: var(--subtle); font-size: .88rem; }
.lesson-tabs a:hover, .lesson-tabs .active { border-color: var(--accent); color: var(--accent); }
.lesson-tabs .active { background: var(--accent-soft); font-weight: 700; }
.lesson-panel { display: flex; gap: clamp(18px, 5vw, 63px); align-items: center; }
.lesson-copy > h2 { font: 500 3.4rem/1 var(--serif); margin-top: 5px; }
.lesson-copy > p { margin: 10px 0; }
.lesson-copy .button { margin-top: 8px; }
.grid-paper { background-color: var(--surface-2); background-image: linear-gradient(90deg, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)), linear-gradient(0deg, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stroke-board, .draw-pad { display: block; width: min(100%, 235px); aspect-ratio: 1; }
.stroke-board { flex: 0 1 235px; }
.glyph { width: 100%; aspect-ratio: 1; overflow: visible; }
.glyph-tile { width: min(32px, 100%); }
.glyph-variant { width: 62px; display: block; margin: 0 auto; }
.glyph-prompt { width: min(118px, 36vw); }
.glyph-prompt-word { width: min(83px, 16vw); }
.glyph-word { width: clamp(25px, 6vw, 39px); }
.glyph-run { display: inline-flex; flex-wrap: nowrap; align-items: center; }
.glyph path, .ink-layer path { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.glyph text { fill: var(--accent); font: bold 7px var(--system); paint-order: stroke; stroke: var(--surface-2); stroke-width: 2px; }
.glyph .stroke-guide { opacity: .14; }
.glyph.animate .stroke-active { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-stroke .58s ease-in-out calc(var(--stroke-order) * .68s + .12s) forwards; }
@keyframes draw-stroke { to { stroke-dashoffset: 0; } }
.variant { display: flex; gap: 12px 25px; flex-wrap: wrap; margin-top: 13px; align-items: center; }
.variant > div:first-child { flex: 1 1 260px; }
.variant p { margin-top: 7px; }
.form-tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.form-tiles > div { background: var(--surface-2); border-radius: 8px; padding: 5px 10px; text-align: center; font-size: .86rem; }
.lesson-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 17px; }
.action-card { display: grid; gap: 10px; justify-items: start; text-align: left; color: var(--ink); }
.action-card:hover:enabled { border-color: var(--accent); }
.action-card > span:last-child { color: var(--subtle); font-size: .94rem; }
.practice-cards { margin-bottom: 20px; }

.empty { display: grid; justify-items: center; text-align: center; padding: 34px 20px; gap: 10px; }
.empty p { max-width: 54ch; }
.empty > .button { margin-top: 4px; }
.word-tools { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 13px; }
.search { display: flex; gap: 9px; align-items: center; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; color: var(--subtle); flex: 1 1 220px; }
.search input { width: 100%; min-height: 43px; padding: 7px 3px; border: 0; background: none; color: var(--ink); }
.row-select { display: flex; align-items: center; gap: 8px; color: var(--subtle); font-size: .93rem; }
select, .answer-form input { color: var(--ink); background: var(--surface); border: 1px solid var(--line); min-height: 44px; border-radius: 8px; padding: 6px 11px; }
select { max-width: 100%; }
.word-list { display: grid; gap: 8px; }
.word-entry { display: grid; grid-template-columns: minmax(99px, .7fr) minmax(120px, 1.2fr) minmax(76px, .6fr); align-items: center; gap: 8px; padding-block: 10px; }
.word-entry h2 { font-size: 1.1rem; overflow-wrap: anywhere; }
.word-entry p, .word-romaji, .word-form small { color: var(--subtle); font-size: .86rem; }
.word-kana, .word-romaji, .word-form small { display: block; }
.word-form { text-align: right; }
.word-form > span { font: 1.16rem var(--jp); }

.sign-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; align-items: start; }
.sign-card { padding: 0; overflow: clip; }
.sign-card summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 13px 15px; cursor: pointer; list-style: none; }
.sign-card summary::-webkit-details-marker { display: none; }
.sign-card summary:focus-visible { outline-offset: -4px; }
.sign-script { justify-self: start; padding: 7px 13px; border-radius: 6px; background: var(--green-soft); color: var(--green); font: 700 1.8rem/1.35 var(--jp); }
.sign-reveal-label { color: var(--accent); font-size: .85rem; text-decoration: underline; text-underline-offset: .2em; }
.sign-detail { border-top: 1px solid var(--line); padding: 12px 15px; }
.sign-detail p { margin-top: 3px; }
.quiz-prompt > .sign-script { font-size: clamp(2.15rem, 9vw, 3.8rem); padding-inline: 20px; }

.settings-panel, .sources { margin: 0 0 14px; }
.settings-panel h2 { margin-bottom: 6px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 8px 0; }
.setting-row + .setting-row { border-top: 1px solid var(--line); }
.setting-row small { display: block; color: var(--subtle); font-size: .9rem; }
.setting-row label { font-weight: 560; }
.settings-panel fieldset { border: 0; padding: 8px 0 12px; margin: 0; min-width: 0; }
.settings-panel legend { padding: 3px 0 0; }
.setting-choices, .settings-buttons { display: flex; gap: 6px 14px; flex-wrap: wrap; }
.setting-choices label { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; }
input[type="checkbox"] { accent-color: var(--accent); width: 19px; height: 19px; margin: 0; flex: 0 0 auto; }
.settings-buttons { margin-top: 11px; }
.sources summary { font-weight: 690; cursor: pointer; }
.sources p { margin-top: 8px; }
.sources a, .success-text { color: var(--green); }

.quiz-progress { display: grid; gap: 5px; max-width: 630px; margin: 0 auto 10px; color: var(--subtle); font-size: .91rem; }
.quiz { max-width: 630px; margin-inline: auto; display: grid; justify-items: center; gap: 12px; text-align: center; }
.quiz h2 { margin-top: 4px; }
.quiz-prompt { display: grid; place-items: center; min-height: 118px; min-width: 0; }
.romaji-prompt { font: 500 2.45rem/1 var(--serif); }
.options { width: min(100%, 350px); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.option { min-height: 48px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 8px; color: var(--ink); font-weight: 650; }
.option:hover:enabled { border-color: var(--accent); }
.option.correct { color: var(--green); background: var(--green-soft); border-color: var(--green); opacity: 1; }
.option.incorrect { color: var(--accent); background: var(--accent-soft); border-color: var(--accent); opacity: 1; }
.answer-form { display: flex; width: min(100%, 400px); gap: 7px; }
.answer-form input { flex: 1; min-width: 0; }
.feedback { padding: 8px 12px; border-radius: 8px; }
.positive { background: var(--green-soft); color: var(--green); }
.negative { background: var(--accent-soft); color: var(--accent); }
.write-mode, .ink-controls, .quiz-actions { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; }
.draw-pad { touch-action: none; cursor: crosshair; }
.ink-layer { color: var(--ink); }
.write-compare { display: flex; gap: 11px; width: min(100%, 425px); justify-content: center; margin-block: 4px; }
.write-compare > div { min-width: 0; width: min(50%, 190px); }
.write-compare > div > span { display: block; font-size: .85rem; color: var(--subtle); margin-top: 6px; }
.paper-note { max-width: 44ch; padding-block: 12px; }
.quiz-finished .lesson-actions { justify-content: center; }

.toast { z-index: 20; position: fixed; inset: auto 17px 16px auto; max-width: min(85vw, 390px); color: var(--side-text); background: var(--side); border: 1px solid #67665a; border-radius: 9px; padding: 10px 13px; }
dialog { padding: 0; border: 1px solid var(--line); width: min(92vw, 500px); border-radius: 14px; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #1a1b19aa; }
.dialog-body { padding: clamp(16px, 3vw, 25px); }
.dialog-body h2 { margin-bottom: 10px; }
.dialog-body p + p { margin-top: 8px; }

@media (max-width: 1100px) {
  :root { --sidebar-width: 191px; }
  .sidebar { padding-inline: 12px; }
  .topbar, .main, .footer { width: calc(100% - 50px); }
  .counters, .row-cards, .practice-cards { gap: 10px; }
  .counter, .row-card { padding: 12px; }
  .hero { min-height: 330px; }
}
@media (max-width: 790px) {
  .sidebar, .top-location { display: none; }
  .workspace { margin-left: 0; min-height: 100dvh; padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .topbar, .main, .footer { width: min(100% - 34px, 680px); }
  .topbar { min-height: 62px; }
  .mobile-brand { display: flex; gap: 8px; align-items: center; color: var(--ink); text-decoration: none; font: 500 1.25rem var(--serif); }
  .mobile-brand .brand-mark { width: 33px; height: 33px; border-radius: 8px; }
  .mobile-nav { position: fixed; z-index: 10; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 3px 5px env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line); }
  .mobile-nav .nav-link { justify-content: center; flex-direction: column; padding: 5px 1px; gap: 3px; font-size: .76rem; color: var(--subtle); min-height: 54px; }
  .mobile-nav .nav-link.selected { background: var(--accent-soft); color: var(--accent); }
  .mobile-nav .nav-link.selected svg { color: var(--accent); }
  .mobile-nav .nav-link:hover { background: var(--surface-2); }
  .toast { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .hero { min-height: 310px; }
  .hero h1 { font-size: clamp(2.9rem, 8vw, 4.3rem); }
}
@media (max-width: 540px) {
  .topbar, .main, .footer { width: calc(100% - 26px); }
  .hero { min-height: 340px; align-items: end; border-radius: 14px; }
  .hero::before { inset: 0 0 11% 0; background-position: center 45%; }
  .hero::after { background: linear-gradient(0deg, #f3e9d8 6%, #f3e9d8f8 25%, #f3e9d8ca 45%, #f3e9d800 79%), linear-gradient(90deg, #f3e9d8b0, #f3e9d800 67%); }
  .hero-content { width: min(88%, 330px); padding: 75px 16px 21px; }
  .hero h1 { font-size: clamp(2.85rem, 10.5vw, 3.45rem); }
  .hero p { margin-top: 10px; }
  .hero .button { margin-top: 13px; }
  .counters { gap: 6px; margin-top: 10px; }
  .counter { display: grid; justify-items: start; align-content: start; gap: 5px; padding: 8px; min-height: 105px; }
  .counter-icon { width: 36px; height: 36px; border-radius: 8px; }
  .counter-icon svg { width: 19px; height: 19px; }
  .counter strong { font-size: 1.14rem; }
  .counter strong span { font-size: .82rem; }
  .counter small { line-height: 1.2; font-size: .78rem; }
  .dashboard-lessons { margin-top: 20px; }
  .section-head { align-items: start; flex-wrap: wrap; }
  .section-head h2 { font-size: 1.42rem; }
  .section-head p { font-size: .9rem; }
  .row-cards, .practice-cards { grid-template-columns: 1fr; }
  .row-card { padding: 13px; }
  .row-glyphs { margin-block: 10px; }
  .row-glyphs > span { min-height: 40px; }
  .test-panel { flex-wrap: wrap; }
  .test-panel > div:nth-child(2) { flex-basis: calc(100% - 52px); }
  .test-panel > .button { margin-left: 50px; }
  .lesson-panel { flex-direction: column; align-items: center; text-align: center; }
  .stroke-board { flex-basis: auto; }
  .lesson-copy > h2 { font-size: 2.7rem; }
  .word-entry { grid-template-columns: minmax(65px, .9fr) minmax(70px, 1fr) minmax(48px, .6fr); padding-inline: 10px; }
  .word-entry h2 { font-size: .98rem; }
  .word-form small { font-size: .74rem; }
  .word-form > span { font-size: .97rem; }
  .footer { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .glyph.animate .stroke-active { animation: none; stroke-dashoffset: 0; }
}
