:root {
  --background: #f5f5f5;
  --surface: #ffffff;
  --surface-soft: #f8f9fa;
  --text: #282c32;
  --muted: #707780;
  --line: #e4e7eb;
  --primary: #2878c8;
  --green: #01983e;
  --orange: #ffbb33;
  --red: #ff4444;
  --shadow: 0 5px 18px rgba(36, 42, 49, .09);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--background); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(40, 120, 200, .55); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .7rem 1rem; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; display: flex; min-height: 54px; align-items: center; justify-content: space-between; padding: 0 max(1rem, calc((100% - 1240px) / 2)); background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { color: #353a40; font-weight: 700; text-decoration: none; }
.site-header nav { display: flex; align-self: stretch; }
.nav-link { display: flex; align-items: center; padding: 0 .8rem; color: var(--muted); font-size: .82rem; text-decoration: none; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--primary); background: #f3f7fb; }
.main-shell { width: min(1240px, calc(100% - 2rem)); min-height: calc(100vh - 106px); margin: 0 auto; padding: 1.5rem 0 3rem; }
.site-footer { display: flex; justify-content: space-between; padding: 1rem max(1rem, calc((100% - 1240px) / 2)); color: var(--muted); font-size: .72rem; }

.home-controls { display: flex; min-height: 64px; align-items: center; gap: .8rem; padding: .55rem .8rem; background: var(--surface); border-radius: 14px; box-shadow: 0 2px 10px rgba(36, 42, 49, .07); }
.language-direction { display: flex; align-items: center; gap: .55rem; }
.flag { font-size: 1.45rem; line-height: 1; }
.direction-arrow { color: #a0a6ad; }
.target-picker select { width: 190px; max-width: 45vw; min-height: 44px; padding: 0 2rem 0 .65rem; color: var(--text); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 9px; }
.home-reverse { display: flex; min-width: 0; align-items: center; gap: .45rem; color: #50565e; font-size: .84rem; line-height: 1.2; cursor: pointer; }
.home-reverse input { width: 18px; height: 18px; accent-color: var(--primary); }
.home-nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.control-link { padding: .55rem .65rem; color: var(--muted); border-radius: 8px; font-size: .8rem; text-decoration: none; }
.control-link:hover { color: var(--primary); background: #f1f5f9; }
.help-link { display: grid; width: 38px; height: 38px; place-items: center; padding: 0; color: #111; border: 2px solid #111; border-radius: 50%; font-size: 1.35rem; font-weight: 700; }
.settings-link { color: var(--primary); font-weight: 650; }
.home-summary { display: flex; align-items: baseline; justify-content: space-between; margin: 1.6rem 0 .8rem; }
.home-summary h1 { margin: 0; font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 400; }
.home-summary h1:focus, .page-heading h1:focus { outline: none; }
.home-summary p { margin: 0; color: var(--muted); font-size: .85rem; }
.summary-stat-link { color: var(--green); font-size: .9rem; font-weight: 650; text-decoration: none; }
.set-section { margin-top: 1.6rem; }
.set-section > h2 { margin: 0 0 .8rem; color: #34383d; font-size: 1.25rem; font-weight: 400; }

.set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.set-tile { display: flex; min-width: 0; height: 270px; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: 15px; box-shadow: var(--shadow); }
.set-tile-link { display: flex; min-height: 0; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.set-tile-head { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .8rem; background: var(--surface); }
.set-tile-head h3 { min-width: 0; margin: 0; font-size: 1rem; font-weight: 400; line-height: 1.2; }
.tile-link { display: -webkit-box; overflow: hidden; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tile-link:hover { color: var(--primary); }
.category-chip, .state-tag, .language-chip { flex: 0 0 auto; padding: .22rem .42rem; color: #68717b; background: #f1f3f5; border-radius: 999px; font-size: .61rem; font-weight: 600; }
.set-image-link { display: flex; min-height: 0; flex: 1; overflow: hidden; }
.set-image { width: 100%; height: 100%; object-fit: cover; }
.new-sets .set-image { filter: grayscale(1); opacity: .82; }
.set-footer { display: flex; min-height: 48px; align-items: center; gap: .35rem; padding: .45rem .6rem; color: var(--muted); background: var(--surface-soft); font-size: .7rem; }
.footer-icon { display: inline-grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; padding: 0; color: #55707e; background: transparent; border: 0; border-radius: 50%; font-size: 1rem; text-decoration: none; cursor: pointer; }
.footer-icon:hover { background: #e9edf0; }
.new-set-info { margin-left: auto; color: #17a2b8; font-size: 1.3rem; }
.reset-icon { color: var(--red); }
.footer-stat { white-space: nowrap; }
.due-stat { color: var(--orange); font-weight: 650; }
.error-stat { color: var(--red); font-weight: 650; }
.footer-learn, .footer-link { margin-left: auto; color: var(--primary); font-weight: 650; text-decoration: none; }
.footer-link + .footer-link { margin-left: .2rem; }
.footer-primary { padding: .4rem .55rem; color: #fff; background: var(--primary); border-radius: 7px; }

.page-heading { max-width: 820px; margin: 1rem 0 1.8rem; }
.page-heading h1 { margin: .2rem 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; }
.page-heading.technical-title h1 { margin-top: .35rem; color: #8a929a; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .76rem; font-weight: 500; letter-spacing: .01em; overflow-wrap: anywhere; }
.technical-id { margin: -1.25rem 0 1rem; color: #9aa1a8; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .66rem; overflow-wrap: anywhere; }
.kicker { margin: 0; color: var(--primary); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lede { margin: .7rem 0 0; color: var(--muted); line-height: 1.45; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .68rem 1rem; color: #424850; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; font-weight: 650; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.button:hover:not(:disabled) { background: #f4f7f9; box-shadow: 0 3px 10px rgba(36, 42, 49, .08); transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; }
.button-primary { color: #fff; background: var(--primary); border-color: var(--primary); }
.button-primary:hover:not(:disabled) { background: #216db7; }
.button-secondary { color: #236ba9; background: #eaf3fb; border-color: #d6e8f7; }
.button-danger, .button-wrong { color: #a52f2f; background: #fff0f0; border-color: #f6d4d4; }
.button-correct { color: #10793a; background: #ebf8f0; border-color: #cdebd8; }
.button-quiet { box-shadow: none; }
.button-wide { width: min(360px, 90%); margin: 0 auto; }
.muted { color: var(--muted); }
.action-rail, .answer-row, .form-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0 2rem; }
.set-hero-image { width: min(720px, 100%); max-height: 320px; border-radius: 16px; box-shadow: var(--shadow); object-fit: cover; }
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin: 1.2rem 0; }
.mode-tile { position: relative; display: flex; min-height: 130px; flex-direction: column; justify-content: flex-end; gap: .35rem; padding: 1rem; overflow: hidden; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.mode-tile:hover { border-color: #b7d5ef; box-shadow: 0 8px 22px rgba(36, 42, 49, .13); transform: translateY(-2px); }
.mode-tile strong { font-size: 1.05rem; }
.mode-tile span { color: var(--muted); font-size: .78rem; }
.mode-tile strong, .mode-tile span { position: relative; z-index: 1; }
.mode-box { background: #f2f3f4; }
.mode-watermark { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .1; filter: grayscale(1); object-fit: cover; }
.mode-learn { color: #fff; background: linear-gradient(145deg, #2878c8, #1e5f9e); border-color: transparent; }
.mode-learn span { color: rgba(255,255,255,.82); }
.mode-errors { background: #fff2f2; }
.mode-tile.is-empty { opacity: .5; box-shadow: none; }
.mode-tile.is-empty:hover { border-color: var(--line); box-shadow: none; transform: none; }
.overview-actions { margin-top: .8rem; }
.set-direction { display: flex; width: min(520px, 100%); align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0; padding: .8rem 1rem; color: #59616a; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: .82rem; font-weight: 650; }
.set-direction select { min-height: 40px; padding: .45rem .65rem; color: var(--text); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 8px; }
.card-management { margin-top: 1.5rem; }
.card-management > summary { width: fit-content; padding: .7rem 1rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.card-management[open] > summary { margin-bottom: .8rem; }

.card-list, .stats-section, .backup-panel, .settings-form, .stat-hero, .box-tile, .empty-state { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); }
.card-list { padding: 1rem; }
.card-list > h2, .stats-section h2, .backup-panel h2 { margin-top: .3rem; }
.compact-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 38px; align-items: center; gap: .8rem; padding: .75rem .5rem; border-top: 1px solid var(--line); }
.compact-card.is-suspended { opacity: .58; background: #f5f6f7; }
.compact-number { color: #9aa0a7; font-size: .8rem; }
.compact-copy h3, .compact-copy p { margin: .1rem 0; overflow-wrap: anywhere; }
.compact-copy h3 { font-size: .95rem; }
.compact-copy p { color: var(--muted); font-size: .82rem; }
.compact-toggle { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; color: #68717b; background: #eef1f3; border: 0; border-radius: 50%; cursor: pointer; }
.compact-toggle:hover { color: var(--primary); background: #e2edf7; }
.compact-toggle.is-play { color: var(--green); }

.box-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: .8rem; }
.study-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: .8rem; margin: 1rem 0; }
.study-summary .stat-block { min-height: 95px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); }
.box-tile { display: flex; min-height: 180px; flex-direction: column; align-items: flex-start; padding: 1rem; }
.box-name { margin: 0; color: var(--muted); font-size: .76rem; }
.box-count { margin: auto 0 0; color: #3e454d; font-size: 3.2rem; font-weight: 700; line-height: 1; }
.box-pool { background: #f0f6fc; }
.box-suspended { background: #f1f2f3; }

.session-layout { display: flex; min-height: calc(100vh - 115px); flex-direction: column; justify-content: center; padding: .4rem 0 1rem; }
.session-head { display: flex; width: min(900px, 100%); min-height: 58px; align-items: center; justify-content: space-between; gap: .35rem; margin: 0 auto .4rem; padding: .55rem .7rem; background: #f0f0f0; border-radius: 12px; box-shadow: 0 2px 7px rgba(0,0,0,.08); }
.box-strip { display: flex; min-width: 0; align-items: center; overflow-x: auto; }
.box-count-pill { display: inline-grid; min-width: 26px; height: 26px; place-items: center; padding: 0 .25rem; color: #fff; background: #a794e8; border-radius: 6px; font-size: .76rem; white-space: nowrap; }
.box-level-0 { background: #0000008c; }
.box-level-1 { background: #3e13ff87; }
.box-level-2 { background: #542efb87; }
.box-level-3 { background: #6847fe87; }
.box-level-4 { background: #856afe87; }
.box-level-5 { background: #a692ff87; }
.box-strip .is-current { box-shadow: 0 0 0 2px #393939; font-weight: 700; }
.box-arrow { padding: 0 .08rem; color: #777; font-size: .9rem; }
.session-facts { display: flex; flex: 0 0 auto; align-items: center; gap: .55rem; color: var(--muted); font-size: .72rem; }
.session-head > div:first-child { display: flex; min-width: 0; flex-direction: column; gap: .15rem; }
.session-help { max-width: 560px; color: var(--muted); font-weight: 400; }
.session-correct, .session-total { display: inline-grid; min-width: 36px; height: 34px; place-items: center; border-radius: 5px; font-size: .9rem; }
.session-correct { color: #fff; background: #00cc0097; }
.session-total { color: #fff; background: #1f1f1fd7; }
.session-close { color: var(--primary); text-decoration: none; }
.session-progress { margin: .2rem auto; color: var(--muted); font-size: .72rem; }
.practice-layout { max-width: 900px; margin: 0 auto; }
.neutral-practice .page-heading h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.session-counter { color: var(--muted); font-size: .78rem; }
.practice-controls { display: flex; width: min(520px, 90%); gap: .8rem; justify-content: center; margin: 0 auto; }
.practice-controls .button { flex: 1; }
.practice-head { width: min(800px, 90%); }

.flashcard { position: relative; display: flex; width: 90%; max-width: 800px; height: clamp(400px, 55vh, 520px); min-height: 400px; flex-direction: column; justify-content: center; margin: .4rem auto 1rem; padding: 5rem clamp(1.2rem, 5vw, 3.5rem) 4.5rem; overflow: hidden; background: var(--surface); border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,.1); touch-action: pan-y; user-select: none; }
.flashcard.is-flipped { background: var(--surface); }
.card-topline { position: absolute; top: 1rem; right: 1.15rem; left: 1.15rem; display: flex; justify-content: space-between; }
.side-label { color: #9aa0a6; font-size: .64rem; font-weight: 650; letter-spacing: .12em; }
.language-chip { color: #65717c; background: #f0f3f5; }
.card-content { width: 100%; max-height: 100%; overflow-y: auto; text-align: center; }
.card-primary, .card-context, .card-secondary, .card-ipa { max-width: 680px; margin-right: auto; margin-left: auto; white-space: pre-line; overflow-wrap: anywhere; }
.card-primary { margin-top: .7rem; margin-bottom: 0; font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 400; line-height: 1.15; }
.card-secondary { margin-top: .45rem; margin-bottom: 0; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); color: #505760; font-size: 1rem; }
.card-primary + .card-context, .card-primary + .card-ipa { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.card-context { margin-top: 1rem; margin-bottom: 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: #30343a; font-size: clamp(1.1rem, 2.5vw, 1.55rem); line-height: 1.45; }
.card-ipa { margin-top: .75rem; margin-bottom: 0; color: #818891; font-size: .9rem; line-height: 1.5; }
.focus-word { color: var(--green); font-weight: 650; }
.card-tools { position: absolute; top: 2.4rem; right: 1rem; left: 1rem; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.icon-button { display: grid; width: 48px; height: 48px; place-items: center; padding: 0; color: #a5abb1; background: transparent; border: 0; border-radius: 50%; font-size: 1.4rem; cursor: pointer; pointer-events: auto; }
.icon-button:hover { color: var(--primary); background: #f1f5f8; }
.keyboard-hint { position: absolute; right: 0; color: #a1a7ad; font-size: .62rem; }
.audio-missing { color: #afb4b9; font-size: .68rem; }
.card-actions { position: absolute; right: 1rem; bottom: .7rem; left: 1rem; display: flex; justify-content: space-around; }
.card-actions .button { width: min(44%, 230px); }
.card-action { position: relative; display: grid; width: 64px; height: 64px; place-items: center; padding: 0; background: transparent; border: 0; border-radius: 50%; font-size: 2rem; cursor: pointer; }
.card-action:hover:not(:disabled) { background: #f4f5f6; }
.action-pause { color: var(--red); }
.action-pause::before { content: ""; width: 18px; height: 23px; margin-top: 4px; background: currentColor; border-radius: 2px 2px 4px 4px; }
.action-pause::after { content: ""; position: absolute; top: 17px; width: 22px; height: 4px; background: currentColor; border-radius: 2px; box-shadow: 6px -4px 0 -2px currentColor, -6px -4px 0 -2px currentColor; }
.action-wrong { color: var(--orange); }
.action-correct { color: var(--green); }

.settings-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; max-width: 900px; padding: 1.2rem; }
.form-field, .toggle-field { display: flex; flex-direction: column; gap: .45rem; color: #59616a; font-size: .8rem; font-weight: 600; }
.form-field input, .form-field select { width: 100%; min-height: 46px; padding: .6rem .7rem; color: var(--text); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 9px; }
.toggle-field { flex-direction: row; align-items: center; padding: .7rem; background: var(--surface-soft); border-radius: 10px; cursor: pointer; }
.toggle-field input { width: 23px; height: 23px; accent-color: var(--primary); }
.toggle-field span { display: flex; flex-direction: column; }
.toggle-field small { color: var(--muted); font-weight: 400; }
.settings-form .form-actions { grid-column: 1 / -1; margin: .5rem 0 0; }
.backup-panel { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem; max-width: 900px; margin-top: 1.2rem; padding: 1.2rem; }
.backup-panel p { color: var(--muted); }
.file-button { position: relative; overflow: hidden; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.stat-hero { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat-block { display: flex; min-height: 125px; flex-direction: column; justify-content: center; padding: 1rem; border-right: 1px solid var(--line); }
.stat-block:last-child { border-right: 0; }
.stat-block strong { color: #3a4149; font-size: clamp(1.8rem, 4vw, 3rem); }
.stat-block span { margin-top: .3rem; color: var(--muted); font-size: .72rem; }
.stats-section { margin-top: 1.2rem; padding: 1rem; }
.history-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; padding: .8rem .2rem; border-top: 1px solid var(--line); font-size: .85rem; }
.empty-state { max-width: 760px; padding: clamp(1.5rem, 5vw, 3rem); }
.empty-state h2 { margin: .4rem 0; }
.empty-mark { color: var(--primary); font-size: .7rem; font-weight: 700; }
.loading-state { display: grid; min-height: 50vh; place-content: center; color: var(--muted); text-align: center; }
.loading-block { width: 42px; height: 42px; margin: auto; border: 4px solid #dfe4e8; border-top-color: var(--primary); border-radius: 50%; animation: loading-turn .8s linear infinite; }
@keyframes loading-turn { to { transform: rotate(360deg); } }
.toast { position: fixed; z-index: 50; right: 1rem; bottom: 1rem; max-width: min(420px, calc(100% - 2rem)); padding: .9rem 1rem; color: #fff; background: #454b52; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transform: translateY(130%); pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast[data-kind="error"] { background: #aa3f3f; }

@media (min-width: 700px) {
  .set-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .set-tile { height: 300px; }
}
@media (min-width: 1050px) {
  .set-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .site-header { position: static; min-height: 48px; }
  .brand { font-size: .85rem; }
  .nav-link { padding: 0 .45rem; font-size: .7rem; }
  .main-shell { width: min(100% - 1rem, 1240px); padding-top: .7rem; }
  .home-controls { gap: .45rem; }
  .home-nav { margin-left: auto; }
  .home-reverse { flex: 1; }
  .compact-card { grid-template-columns: 32px minmax(0, 1fr) 38px; }
  .compact-card .state-tag { grid-column: 2; justify-self: start; }
  .compact-toggle { grid-column: 3; grid-row: 1 / span 2; }
  .settings-form, .backup-panel { grid-template-columns: 1fr; }
  .stat-hero { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2) { border-right: 0; }
  .stat-block:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .history-row { grid-template-columns: 1fr auto; }
  .history-row span { grid-column: 1 / -1; }
  .session-layout { min-height: calc(100vh - 65px); }
  .session-head { gap: .45rem; padding: .4rem; border-radius: 0; }
  .session-facts { gap: .3rem; }
  .session-close { display: none; }
  .flashcard { width: calc(100% - 2rem); height: clamp(400px, 55vh, 480px); padding: 4.8rem 1rem 4.7rem; }
  .keyboard-hint { display: none; }
}
body[data-route="sets"] .site-header, body[data-route="session"] .site-header,
body[data-route="sets"] .site-footer, body[data-route="session"] .site-footer { display: none; }
body[data-route="set"] .site-header, body[data-route="boxes"] .site-header,
body[data-route="box"] .site-header, body[data-route="errors"] .site-header,
body[data-route="deckSettings"] .site-header { display: none; }
body[data-route="sets"] .home-controls { position: sticky; z-index: 15; top: .4rem; }
body[data-route="session"] .main-shell { width: 100%; max-width: none; padding-top: 0; }
@media (max-width: 339px) {
  .set-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
  .set-tile, .flashcard, .box-tile, .empty-state, .settings-form { box-shadow: none; border: 1px solid CanvasText; }
}
