:root {
  color-scheme: light;
  --bg: #f6f4ee;
  --text: #17211f;
  --mint: #1b9c85;
  --teal: #0b5d56;
  --lilac: #c9b8ff;
  --lemon: #f2d84b;
  --error: #c94c4c;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --muted: #63706c;
  --border: rgba(11, 93, 86, 0.16);
  --shadow: 0 24px 70px rgba(11, 93, 86, 0.13);
  --width: min(1180px, calc(100vw - 48px));
}

:root.dark-mode {
  color-scheme: dark;
  --bg: #0d1b19;
  --text: #eef8f4;
  --mint: #45c8ae;
  --teal: #8fe4d4;
  --lilac: #8e80d8;
  --lemon: #ffe66d;
  --error: #ff8d8d;
  --surface: rgba(17, 39, 36, 0.78);
  --surface-strong: #17302c;
  --muted: #a8bbb5;
  --border: rgba(143, 228, 212, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(201, 184, 255, 0.68), transparent 30%),
    radial-gradient(circle at 86% 11%, rgba(242, 216, 75, 0.58), transparent 25%),
    radial-gradient(circle at 14% 92%, rgba(27, 156, 133, 0.16), transparent 28%),
    linear-gradient(180deg, #fffdf6 0%, var(--bg) 50%, #dff3eb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.dark-mode {
  background:
    radial-gradient(circle at 12% 8%, rgba(142, 128, 216, 0.3), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(255, 230, 109, 0.14), transparent 24%),
    radial-gradient(circle at 14% 92%, rgba(69, 200, 174, 0.16), transparent 28%),
    linear-gradient(180deg, #122a26 0%, var(--bg) 52%, #06100e 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 112px auto auto minmax(0, 1fr) auto;
  gap: 10px;
  width: var(--width);
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: 10px 0 10px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.topbar {
  grid-row: 1;
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  z-index: 4;
}

.target-meta p {
  margin: 0;
  color: var(--muted);
}

.icon-button,
.mode-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--teal);
  box-shadow: 0 10px 24px rgba(11, 93, 86, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.icon-button:hover,
.mode-button:hover {
  transform: translateY(-1px);
  background: var(--teal);
  color: #fff;
}

.topbar-actions {
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.help-button {
  font-size: 20px;
  font-weight: 900;
}

body.dark-mode .icon-button:hover,
body.dark-mode .mode-button:hover,
body.dark-mode .actions button:hover,
body.dark-mode .wide-toggle button:hover,
body.dark-mode .lesson-grid button:hover {
  background: rgba(143, 228, 212, 0.16);
  color: var(--teal);
}

.home-icon {
  width: 19px;
  height: 19px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5L12 4l9 7.5'/%3E%3Cpath d='M5.5 10.5V20h13v-9.5'/%3E%3Cpath d='M9.5 20v-6h5v6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5L12 4l9 7.5'/%3E%3Cpath d='M5.5 10.5V20h13v-9.5'/%3E%3Cpath d='M9.5 20v-6h5v6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.status-pill {
  justify-self: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--teal);
  font-weight: 800;
}

.mode-button {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.hero {
  grid-row: 1;
  grid-column: 1 / -1;
  align-self: start;
  position: relative;
  z-index: 2;
  margin-top: 12px;
  text-align: center;
  pointer-events: none;
}

.hero h1 {
  display: grid;
  gap: 6px;
  margin: 0;
}

.hero-brand {
  color: var(--teal);
  font-size: clamp(46px, 7vh, 78px);
  font-weight: 900;
  line-height: 0.95;
}

.hero-subtitle {
  color: var(--muted);
  font-size: clamp(15px, 2vh, 22px);
  font-weight: 800;
}

.controls {
  grid-row: 2;
  grid-column: 1 / -1;
}

.control-panel,
.metrics > div,
.practice-stage {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.practice-stage.is-urgent {
  animation: practiceUrgentFlash 0.55s ease-in-out infinite alternate;
}

.practice-stage.has-typing-focus {
  border-color: rgba(27, 156, 133, 0.56);
  box-shadow: 0 0 0 5px rgba(27, 156, 133, 0.14), var(--shadow);
}

@keyframes practiceUrgentFlash {
  from {
    border-color: var(--border);
    box-shadow: var(--shadow);
  }
  to {
    border-color: rgba(201, 76, 76, 0.66);
    box-shadow: 0 0 0 5px rgba(201, 76, 76, 0.12), var(--shadow);
  }
}

.control-panel {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 9px 10px;
}

.control-grid {
  grid-template-columns: minmax(0, 1.34fr) minmax(360px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.mode-panel {
  display: grid;
  min-height: 100%;
}

.mode-stack {
  align-content: space-between;
  height: 100%;
}

.control-label {
  display: block;
  margin: 3px 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.picker-stack {
  display: grid;
  gap: 6px;
}

.wide-toggle,
.lesson-grid {
  display: flex;
  gap: 4px;
  overflow: visible;
  border: 1px solid rgba(11, 93, 86, 0.22);
  border-radius: 999px;
  background: rgba(11, 93, 86, 0.07);
  padding: 4px;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  border-radius: 22px;
  padding: 4px;
}

.wide-toggle button,
.lesson-grid button,
.actions button {
  position: relative;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--teal);
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.mode-toggle button::after {
  content: attr(data-tip-fr) "\A" attr(data-tip-zh);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 300;
  min-width: max-content;
  max-width: 240px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(11, 93, 86, 0.14);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  white-space: pre-line;
}

.mode-toggle button:last-child::after {
  left: auto;
  right: 0;
  transform: translate(0, 4px);
}

.mode-toggle button:hover::after,
.mode-toggle button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mode-toggle button:last-child:hover::after,
.mode-toggle button:last-child:focus-visible::after {
  transform: translate(0, 0);
}

.wide-toggle button {
  flex: 1;
  min-height: 30px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 14px;
}

.mode-toggle button {
  min-height: 34px;
  font-size: 15px;
}

.lesson-grid button {
  width: 100%;
  height: 30px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
}

.wide-toggle button:hover,
.lesson-grid button:hover,
.actions button:hover {
  background: rgba(255, 255, 255, 0.48);
}

.wide-toggle button.is-active,
.lesson-grid button.is-active,
.actions .primary {
  background: #fff;
  color: var(--teal);
  box-shadow: 0 10px 22px rgba(11, 93, 86, 0.12);
}

.help-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(23, 33, 31, 0.42);
  backdrop-filter: blur(10px);
}

.help-modal.hidden {
  display: none;
}

.help-dialog {
  width: min(980px, calc(100vw - 56px));
  max-height: min(820px, calc(100vh - 56px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at 90% 8%, rgba(201, 184, 255, 0.28), transparent 30%);
  box-shadow: 0 34px 90px rgba(11, 93, 86, 0.28);
  padding: 18px;
}

body.dark-mode .help-modal {
  background: rgba(0, 0, 0, 0.58);
}

body.dark-mode .help-dialog {
  background:
    linear-gradient(140deg, rgba(17, 39, 36, 0.96), rgba(17, 39, 36, 0.88)),
    radial-gradient(circle at 90% 8%, rgba(142, 128, 216, 0.18), transparent 30%);
}

.help-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.help-kicker,
.help-header h2 {
  margin: 0;
}

.help-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.help-header h2 {
  margin-top: 2px;
  color: var(--teal);
  font-size: 30px;
  line-height: 1;
}

.help-close {
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: 700;
  line-height: 0.8;
  padding-bottom: 3px;
}

.help-tabs {
  width: min(520px, 100%);
  justify-self: center;
}

.help-tabs button {
  min-height: 38px;
  font-size: 15px;
}

.help-body {
  min-height: 0;
  overflow: auto;
  padding: 4px 4px 8px;
  overscroll-behavior: contain;
}

.help-panel {
  width: min(860px, 100%);
  margin: 0 auto;
  color: var(--text);
  font-size: 16px;
  line-height: 1.72;
}

.help-panel h3,
.help-panel h4,
.help-panel p,
.help-panel ul {
  margin-top: 0;
}

.help-panel h3 {
  margin-bottom: 10px;
  padding-top: 8px;
  color: var(--teal);
  font-size: 22px;
  line-height: 1.2;
}

.help-panel h4 {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.help-panel img {
  display: block;
  width: 100%;
  height: auto;
  margin: 8px 0 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
}

.help-panel ul {
  padding-left: 1.25em;
}

.help-panel strong {
  color: var(--teal);
}

.example-lines {
  margin: 10px 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(11, 93, 86, 0.06);
}

.example-lines p {
  margin: 0;
}

.example-lines p + p {
  margin-top: 6px;
}

.nbsp-cluster {
  white-space: nowrap;
}

.nbsp-mark {
  display: inline;
  padding: 0 0.2em;
  border-radius: 3px;
  background: rgba(242, 216, 75, 0.5);
  box-shadow: inset 0 0 0 1px rgba(27, 156, 133, 0.2);
}

body.dark-mode .nbsp-mark {
  background: rgba(255, 230, 109, 0.24);
  box-shadow: inset 0 0 0 1px rgba(143, 228, 212, 0.24);
}

.help-credit {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

body.dark-mode .wide-toggle button.is-active,
body.dark-mode .lesson-grid button.is-active {
  background: rgba(238, 248, 244, 0.12);
  color: var(--teal);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.actions .primary {
  background: var(--teal);
  color: #fff;
}

.metrics {
  grid-row: 3;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.metrics > div {
  min-height: 62px;
  padding: 8px 13px;
}

.metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metrics strong {
  display: inline-block;
  margin-top: 3px;
  color: var(--teal);
  font-size: 25px;
  line-height: 1;
}

.metrics small {
  margin-left: 4px;
  color: var(--muted);
  font-weight: 800;
}

.practice-stage {
  grid-row: 4;
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: 0;
  padding: clamp(26px, 3vh, 38px);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    radial-gradient(circle at 90% 12%, rgba(201, 184, 255, 0.34), transparent 28%);
}

body.dark-mode .practice-stage {
  background:
    linear-gradient(140deg, rgba(17, 39, 36, 0.92), rgba(17, 39, 36, 0.76)),
    radial-gradient(circle at 90% 12%, rgba(142, 128, 216, 0.18), transparent 28%);
}

.mode-badge {
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  z-index: 5;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(11, 93, 86, 0.09);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.dark-mode .mode-badge span + span {
  border-left-color: rgba(143, 228, 212, 0.18);
}

.mode-badge span + span {
  padding-left: 10px;
  border-left: 1px solid rgba(11, 93, 86, 0.18);
  color: var(--muted);
}

.mode-badge span[hidden] {
  display: none;
}

.mode-badge.is-urgent {
  animation: urgentPulse 0.55s ease-in-out infinite alternate;
  background: rgba(201, 76, 76, 0.13);
  color: var(--error);
}

@keyframes urgentPulse {
  from {
    transform: translateX(-50%) scale(1);
  }
  to {
    transform: translateX(-50%) scale(1.08);
  }
}

.target-card {
  position: relative;
  border-radius: 28px;
  outline: none;
  display: grid;
  justify-items: center;
  padding: 18px 10px;
}

.target-card:focus-visible {
  box-shadow: 0 0 0 5px rgba(27, 156, 133, 0.18);
}

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(460px, 2.1fr) minmax(160px, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
  min-height: min(390px, 45vh);
  align-self: center;
}

.target-card {
  min-width: 0;
  text-align: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.target-card.bump {
  transform: scale(1.018);
}

.target-word {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  min-height: 1.1em;
  font-size: var(--target-font-size, 116px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
}

.practice-stage.is-wide-target .carousel {
  grid-template-columns: minmax(0, 1fr);
}

.practice-stage.is-wide-target .side-word {
  display: none;
}

.practice-stage.is-wide-target .target-card {
  width: min(980px, 100%);
}

.practice-stage.is-wide-target .target-word {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.35;
  white-space: normal;
}

.practice-stage.is-wide-target .word-unit {
  display: inline-block;
  white-space: nowrap;
}

.practice-stage.is-wide-target .char {
  min-width: 0;
}

.practice-stage.is-wide-target .char.cursor-before::before,
.practice-stage.is-wide-target .end-cursor::before {
  display: none;
}

.practice-stage.is-wide-target .char.cursor-before {
  border-left: 5px solid var(--lemon);
  border-radius: 4px;
  box-shadow: -2px 0 0 rgba(242, 216, 75, 0.25);
  margin-left: -5px;
  padding-left: 0;
}

.practice-stage.is-wide-target .end-cursor {
  width: 5px;
  border-left: 5px solid var(--lemon);
  border-radius: 4px;
  box-shadow: -2px 0 0 rgba(242, 216, 75, 0.25);
}

.practice-stage.is-documents #definition,
.practice-stage.is-documents #posLine {
  display: none;
}

.char {
  position: relative;
  display: inline-block;
  min-width: 0.28em;
  opacity: 0.32;
  white-space: pre;
  transition: opacity 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.char.done {
  opacity: 1;
  color: var(--teal);
}

.char.cursor-before::before,
.end-cursor::before {
  content: "";
  position: absolute;
  left: -0.04em;
  top: 0.08em;
  width: 5px;
  height: 0.88em;
  border-radius: 999px;
  background: var(--lemon);
  box-shadow: 0 0 0 2px rgba(242, 216, 75, 0.25);
}

.char.cursor-before {
  opacity: 0.72;
}

.end-cursor {
  position: relative;
  display: inline-block;
  width: 0.24em;
  height: 1em;
}

.char.bad {
  color: var(--error);
  opacity: 1;
  transform: translateY(-2px);
}

.char.bad::after {
  content: attr(data-typed);
  position: absolute;
  left: 50%;
  top: -0.72em;
  transform: translateX(-50%);
  color: var(--error);
  font-size: 0.34em;
  font-weight: 900;
  opacity: 0.72;
}

.target-meta {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: 18px;
  font-size: 18px;
}

#definition {
  color: var(--text);
  font-weight: 800;
}

.pos-inline {
  color: var(--teal);
  font-style: italic;
  font-weight: 900;
}

#posLine {
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
  font-style: italic;
}

#posLine.is-tense {
  color: var(--muted);
  font-style: normal;
}

.side-word {
  color: var(--teal);
  width: 100%;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  opacity: 0.14;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.16s ease, opacity 0.16s ease, text-shadow 0.16s ease;
}

.side-word.previous {
  text-align: center;
}

.side-word.next {
  text-align: center;
}

.side-word.is-success {
  color: var(--mint);
  opacity: 0.45;
  text-shadow: 0 0 18px rgba(27, 156, 133, 0.22);
}

.typing-capture {
  position: absolute;
  left: 50%;
  top: 15px;
  z-index: 1;
  width: var(--input-overlay-width, 64px);
  height: var(--input-overlay-height, 120px);
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
}

.typing-capture input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  font-size: var(--target-font-size, 116px);
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
  opacity: 0.02;
  pointer-events: none;
}

.actions {
  position: absolute;
  right: 28px;
  bottom: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}

.actions button,
.summary button {
  min-height: 38px;
  padding: 8px 15px;
  background: rgba(11, 93, 86, 0.08);
  color: var(--teal);
  font-weight: 900;
}

body.dark-mode .actions button {
  background: rgba(143, 228, 212, 0.1);
  color: var(--teal);
}

.summary {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(246, 244, 238, 0.76);
  backdrop-filter: blur(8px);
}

body.dark-mode .summary {
  background: rgba(7, 17, 15, 0.78);
}

.summary-card {
  max-width: 720px;
  padding: 30px 34px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

body.dark-mode .summary-card {
  background: rgba(23, 48, 44, 0.92);
}

.site-footer {
  grid-row: 5;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-footer hr {
  display: none;
}

.site-footer div {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.summary h2 {
  margin: 0 0 8px;
}

.summary p {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.summary button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  min-height: 46px;
  padding: 10px 20px;
}

.hidden {
  display: none !important;
}

.narrow-notice {
  display: none;
}

@media (max-height: 760px) and (min-width: 921px) {
  .app-shell {
    grid-template-rows: 96px auto auto minmax(0, 1fr) auto;
    gap: 8px;
    padding-top: 6px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }

  .hero {
    margin-top: 7px;
  }

  .hero-brand {
    font-size: clamp(42px, 6.4vh, 66px);
  }

  .hero-subtitle {
    font-size: clamp(14px, 1.8vh, 19px);
  }

  .control-panel {
    padding: 7px 9px;
  }

  .metrics > div {
    min-height: 56px;
    padding: 7px 12px;
  }

  .practice-stage {
    padding: 22px;
  }

  .carousel {
    min-height: min(340px, 42vh);
  }

  .target-meta {
    margin-top: 14px;
  }
}

@media (max-width: 920px) {
  .app-shell {
    display: none;
  }

  .narrow-notice {
    display: grid;
    place-content: center;
    gap: 10px;
    min-height: 100vh;
    padding: 28px;
    color: var(--text);
    text-align: center;
  }
}
