/* VocaPin web app (and the server's own pages). Light by default, dark from
   the OS, or forced by the avatar menu (data-theme). No inline styles anywhere: the CSP has no 'unsafe-inline'. */
:root {
  color-scheme: light;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, sans-serif;
  --bg: #f5f5f3; --surface: #ffffff; --surface-2: #f2f2ef; --hover: #00000009; --press: #00000012;
  --ink: #1c1c1f; --ink-2: #55565d; --ink-3: #8b8c93; --line: #e7e7e3; --line-2: #d5d5d0;
  --accent: #cf3a1b; --accent-ink: #ffffff; --accent-soft: #fdebe6; --accent-text: #b83418;
  --ok: #16784c; --ok-soft: #e5f4eb;
  --warn: #8a5a00; --warn-soft: #fcf2da;
  --bad: #c22d42; --bad-soft: #fceaed;
  --shadow: 0 0 0 1px #0000000d, 0 2px 4px #0000000a, 0 16px 40px -12px #00000040;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111113; --surface: #1b1b1e; --surface-2: #232327; --hover: #ffffff0b; --press: #ffffff16;
    --ink: #ececef; --ink-2: #a8a9b0; --ink-3: #75767d; --line: #2b2b30; --line-2: #3a3a40;
    --accent: #ff7552; --accent-ink: #140c09; --accent-soft: #3a1d15; --accent-text: #ff9877;
    --ok: #4cc38a; --ok-soft: #14291e;
    --warn: #e6b451; --warn-soft: #2d2410;
    --bad: #ff7d8d; --bad-soft: #36191e;
    --shadow: 0 0 0 1px #ffffff17, 0 16px 40px -12px #000000c0;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111113; --surface: #1b1b1e; --surface-2: #232327; --hover: #ffffff0b; --press: #ffffff16;
  --ink: #ececef; --ink-2: #a8a9b0; --ink-3: #75767d; --line: #2b2b30; --line-2: #3a3a40;
  --accent: #ff7552; --accent-ink: #140c09; --accent-soft: #3a1d15; --accent-text: #ff9877;
  --ok: #4cc38a; --ok-soft: #14291e;
  --warn: #e6b451; --warn-soft: #2d2410;
  --bad: #ff7d8d; --bad-soft: #36191e;
  --shadow: 0 0 0 1px #ffffff17, 0 16px 40px -12px #000000c0;
}

/* shared parts */
* { box-sizing: border-box; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i.sm { width: 14px; height: 14px; }
.i.lg { width: 20px; height: 20px; }
.logo { width: 22px; height: 22px; flex: none; }
.logo .v { fill: none; stroke: currentColor; stroke-width: 5.26; stroke-linecap: round; stroke-linejoin: round; }
.logo .dot { fill: var(--accent); stroke: none; }
.btn {
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  transition: background .12s, border-color .12s, opacity .12s;
}
.btn:hover:not(:disabled) { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.btn.primary:hover:not(:disabled) { background: var(--accent); filter: brightness(1.06); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover:not(:disabled) { background: var(--hover); }
.btn.danger { background: var(--bad); border-color: transparent; color: #fff; }
.btn.lg { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }
.btn:focus-visible, .icon-btn:focus-visible, .link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.icon-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; padding: 0; }
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.link { font: inherit; border: 0; background: none; padding: 0; color: var(--accent-text); cursor: pointer; font-weight: 600; }
.link:hover { text-decoration: underline; }
kbd { font: 600 11px/1 var(--font); color: inherit; opacity: .7; padding: 3px 5px; border-radius: 4px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
@media (hover: none) { kbd { display: none; } }
.skel { border-radius: 6px; background: linear-gradient(90deg, var(--surface-2) 0%, var(--press) 50%, var(--surface-2) 100%) 0 0 / 200% 100%; animation: vp-shim 1.2s linear infinite; }
@keyframes vp-shim { to { background-position: -200% 0; } }
.sk-n { width: 90px; height: 64px; }
.sk-l { width: 140px; height: 14px; margin: 10px 0 22px; }
.sk-b { width: 160px; height: 44px; border-radius: 10px; }
.sk-ic { width: 30px; height: 30px; border-radius: 50%; }
.sk-v { width: 40px; height: 18px; }
.gbtn { gap: 10px; background: var(--surface); }
.gbtn svg { width: 18px; height: 18px; }
.nw { white-space: nowrap; }

/* page; iPhone: safe areas, and 100lvh + 1px so the home-screen app never shows a gap under the page (LifeBoard) */
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
#app { min-height: 100vh; min-height: calc(100lvh + 1px); display: flex; flex-direction: column; overflow-x: clip; padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left); }
button { -webkit-tap-highlight-color: transparent; }

/* top bar and the two-item nav */
.top { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 56px; padding: 0 20px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { display: inline-flex; gap: 6px; align-items: center; height: 30px; padding: 0 14px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg button[aria-current="page"], .seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px #0000001f; }
.acct { justify-self: end; position: relative; }
.avatar { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--accent-soft); color: var(--accent-text); font: 700 14px/1 var(--font); cursor: pointer; }
.menu { position: absolute; right: 0; top: 42px; width: 260px; padding: 6px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.menu[hidden] { display: none; }
.menu .who { padding: 8px 10px 10px; font-size: 12.5px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.menu .who b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.menu-theme { display: flex; justify-content: space-between; align-items: center; padding: 10px; font-size: 13.5px; }
.menu-theme .seg button { height: 26px; padding: 0 8px; font-size: 12.5px; }
.menu-item { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; color: var(--bad); cursor: pointer; text-align: left; }
.menu-item:hover { background: var(--hover); }
.tabbar { display: none; }
main { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 36px 20px 140px; }
.wide main { max-width: 780px; }
.in-session .top, .in-session .tabbar, .gated .seg, .gated .tabbar, .gated .acct { display: none; }

/* review: start */
.card { background: var(--surface); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 1px 2px #0000000a; }
.due { display: grid; justify-items: center; gap: 4px; padding: 40px 24px 32px; text-align: center; }
.due-n { font-size: 72px; font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.due-l { font-size: 16px; color: var(--ink-2); margin-bottom: 20px; }
.due-t { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.due .note { max-width: 360px; font-size: 13px; color: var(--ink-3); margin: 12px 0 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.stat { display: grid; justify-items: center; gap: 2px; padding: 16px 8px 14px; }
.stat b { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat > span:last-child { font-size: 12.5px; color: var(--ink-3); }
.ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); margin-bottom: 4px; }
.ic.flame { color: #e8590c; background: color-mix(in srgb, #e8590c 13%, transparent); }
.ic.bolt { color: var(--accent-text); background: var(--accent-soft); }
.week { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 18px; margin-top: 12px; }
.week > span { font-size: 13px; color: var(--ink-3); }
.days { display: flex; gap: 10px; }
.day { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--ink-3); }
.day i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.day.on i { background: #e8590c; border-color: #e8590c; color: #fff; }
.day.today i { border-style: dashed; border-color: var(--ink-3); }
.day.today { color: var(--ink); font-weight: 700; }
.empty { display: grid; justify-items: center; gap: 6px; padding: 56px 24px; text-align: center; color: var(--ink-2); }
.empty b { color: var(--ink); font-size: 18px; }
.empty p { margin: 0; max-width: 380px; }
.empty .ic { width: 48px; height: 48px; margin-bottom: 8px; }

/* review: session */
.ses-h { display: flex; align-items: center; gap: 14px; height: 56px; }
.prog { flex: 1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.prog i { display: block; width: 0; height: 100%; border-radius: 99px; background: var(--accent); transition: width .3s; }
.prog-n { font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ex { display: grid; justify-items: center; text-align: center; padding-top: 28px; }
.ex-kind { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.ex-word { font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.ex-ipa { display: flex; align-items: center; gap: 2px; color: var(--ink-2); font-size: 15px; min-height: 30px; }
.ex-vi { font-size: 30px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.ex-pos { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.ex-sent { max-width: 460px; margin: 16px 0 0; color: var(--ink-2); font-size: 15.5px; text-wrap: pretty; overflow-wrap: anywhere; }
.ex-sent b { color: var(--ink); }
.ex-sent .fill { color: var(--ok); }
.blank { display: inline-block; width: 90px; border-bottom: 2px solid var(--ink-3); transform: translateY(-3px); }
.flash { position: relative; width: 100%; max-width: 480px; padding: 34px 24px 26px; display: grid; justify-items: center; cursor: default; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: transform .25s; }
.flash[data-reveal] { cursor: pointer; }
.tap-hint { margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.reveal { width: 100%; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line-2); display: grid; gap: 6px; }
.reveal .vi { font-size: 22px; font-weight: 700; }
.reveal .vi span { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.stamp { position: absolute; top: 18px; padding: 4px 10px; border: 2px solid; border-radius: 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: 0; pointer-events: none; }
.stamp.yes { left: 18px; color: var(--ok); opacity: var(--yes, 0); transform: rotate(-8deg); }
.stamp.no { right: 18px; color: var(--bad); opacity: var(--no, 0); transform: rotate(8deg); }
.swipe-hint { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
@media (min-width: 641px) { .swipe-hint { display: none; } }
.choices { display: grid; gap: 10px; width: 100%; max-width: 480px; margin-top: 26px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); font: inherit; font-size: 16.5px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
.choice:hover:not(:disabled) { border-color: var(--accent); }
.choice .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-3); flex: none; }
.choice .mark { margin-left: auto; display: grid; }
.choice.right { border-color: var(--ok); background: var(--ok-soft); color: var(--ok); }
.choice.wrong { border-color: var(--bad); background: var(--bad-soft); color: var(--bad); }
.choice.dim { opacity: .5; }
.choice:disabled { cursor: default; }
.type-in { width: 100%; max-width: 400px; height: 54px; margin-top: 24px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); font: inherit; font-size: 21px; font-weight: 600; text-align: center; color: var(--ink); }
.type-in:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.type-in.right { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); }
.type-in.wrong { border-color: var(--bad); color: var(--bad); background: var(--bad-soft); text-decoration: line-through; }
.fb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.fb-in { max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.fb-in.two > * { flex: 1; }
.fb-msg { flex: 1; display: flex; gap: 12px; align-items: center; font-size: 17px; font-weight: 700; }
.fb-msg small { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.fb-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; flex: none; }
.fb.ok { background: var(--ok-soft); border-color: transparent; } .fb.ok .fb-msg { color: var(--ok); } .fb.ok .fb-ic { background: var(--ok); }
.fb.bad { background: var(--bad-soft); border-color: transparent; } .fb.bad .fb-msg { color: var(--bad); } .fb.bad .fb-ic { background: var(--bad); }
.fb.warn { background: var(--warn-soft); border-color: transparent; } .fb.warn .fb-msg { color: var(--warn); } .fb.warn .fb-ic { background: var(--warn); }
.fb .icon-btn { width: 44px; height: 44px; border-radius: 10px; color: inherit; }
.fb.ok .icon-btn { color: var(--ok); } .fb.bad .icon-btn { color: var(--bad); }
.fb.dark-ink .fb-ic { color: var(--surface); }
.end { display: grid; justify-items: center; text-align: center; gap: 6px; padding-top: 48px; }
.end-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); margin-bottom: 10px; }
.end h1 { margin: 0; font-size: 28px; letter-spacing: -.01em; }
.end .sub { color: var(--ink-3); font-size: 14px; }
.end .stats { width: 100%; max-width: 360px; grid-template-columns: 1fr 1fr; margin-top: 22px; }
.end-note { color: var(--ink-2); margin: 22px 0 6px; }
.end-act { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* gates: sign-in, cannot reach, and the server's pages (private, sign-in failed, expired link) */
.gate { display: grid; justify-items: center; text-align: center; gap: 8px; padding-top: 12vh; }
.gate h1 { margin: 6px 0 0; font-size: 26px; letter-spacing: -.01em; }
.gate p { margin: 0 0 14px; max-width: 360px; color: var(--ink-2); }
.gate .logo { width: 52px; height: 52px; }
.gate .ic { width: 52px; height: 52px; }
.ios-note { display: none; max-width: 340px; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; color: var(--ink-2); text-align: left; }
.ios-note b { color: var(--ink); }
.ios-note .i { vertical-align: -3px; }

/* words */
.w-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.w-head h1 { margin: 0; font-size: 26px; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 10px; }
.w-head .count { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); color: var(--ink-3); }
.search:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); }
.list-note { margin: 18px 4px 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.wl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.w { padding: 14px 14px 14px 18px; }
.w-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.w-word { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-height: 30px; }
.w-word b { font-size: 18px; letter-spacing: -.01em; }
.w-form, .w-ipa { font-size: 13px; color: var(--ink-3); }
.w-word .icon-btn { width: 26px; height: 26px; margin-left: -4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 4px 0 2px; border-radius: 8px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.chip-t { border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 0 6px 0 8px; height: 100%; cursor: text; border-radius: 7px; }
.chip-t:hover { text-decoration: underline dotted var(--ink-3); text-underline-offset: 3px; }
.chip .pos { font-size: 11.5px; color: var(--ink-3); padding-right: 4px; }
.chip .tag { font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-text); margin-right: 4px; }
.chip-x { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 6px; background: none; color: var(--ink-3); cursor: pointer; }
.chip-x:hover { background: var(--press); color: var(--ink); }
.chip.editing { padding: 3px; gap: 4px; height: auto; background: var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.chip.editing.err { box-shadow: 0 0 0 2px var(--bad); }
.chip.editing input { width: 190px; height: 28px; border: 0; outline: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 0 6px; }
.chip.editing .btn { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 6px; }
.edit-msg { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.edit-msg.err { color: var(--bad); }
.edit-msg .link { font-size: 12.5px; }
.w-sent { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.w-sent b { color: var(--ink); }
.w-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.w-meta .src { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.w-meta .src:hover { text-decoration: underline; }
.boxes { display: inline-flex; gap: 2px; vertical-align: middle; }
.boxes i { width: 8px; height: 6px; border-radius: 2px; background: var(--line-2); }
.boxes i.on { background: var(--accent); }
.confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bad-soft); font-size: 14px; font-weight: 600; }
.confirm span { display: flex; gap: 8px; }
.w.gone { opacity: .75; }
.gone-msg { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.gone-msg .i { color: var(--bad); }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 600; z-index: 9; }

@media (max-width: 640px) {
  .top { grid-template-columns: 1fr auto; padding: 0 16px; }
  .top > .seg { display: none; } /* the nav only: the theme switch in the avatar menu stays */
  .tabbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .tabbar button { display: grid; justify-items: center; align-content: center; gap: 3px; border: 0; background: none; font: inherit; font-size: 11px; font-weight: 600; color: var(--ink-3); }
  .tabbar button .i { width: 22px; height: 22px; }
  .tabbar button[aria-current="page"] { color: var(--accent-text); }
  main { padding: 20px 16px 120px; }
  .due { padding: 32px 18px 26px; }
  .due-n { font-size: 64px; }
  .stats { gap: 8px; }
  .week { padding: 12px 14px; }
  .days { gap: 7px; }
  .ex { padding-top: 12px; }
  .ex-word { font-size: 34px; }
  .flash { padding: 28px 18px 22px; }
  .fb { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .fb-msg { font-size: 16px; }
  .ios-note { display: block; }
  .chip.editing input { width: 150px; }
  kbd { display: none; }
}
/* already on the Home Screen: the "add it first" note has nothing to say */
@media (display-mode: standalone) { .ios-note { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; } }
