:root {
  color-scheme: light;
  --ink: #17151a;
  --paper: #fff8e9;
  --white: #fffdf7;
  --blue: #4f7cff;
  --blue-soft: #dce6ff;
  --orange: #ff6d4a;
  --orange-soft: #ffe0d5;
  --yellow: #ffd84a;
  --yellow-soft: #fff1a8;
  --green: #64d4a8;
  --green-soft: #d9f7eb;
  --purple: #a779ff;
  --purple-soft: #eadfff;
  --muted: #625f68;
  --border: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --radius: 22px;
  font-family:
    "Arial Rounded MT Bold", "Avenir Next", "PingFang SC", "Microsoft YaHei",
    system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(79, 124, 255, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(255, 109, 74, 0.08), transparent 32%),
    var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:not(:disabled),
a {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 4px solid rgba(79, 124, 255, 0.35);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(820px, calc(100% - 24px));
  min-height: 66px;
  margin: 10px auto 0;
  padding: 9px 10px;
  border: var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-block {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: var(--border);
  border-radius: 12px;
  background: var(--yellow);
  font-size: 15px;
  font-weight: 950;
  transform: rotate(-3deg);
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 1px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.speed-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
  min-height: 44px;
  padding: 5px 8px 5px 11px;
  border: var(--border);
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.speed-button strong {
  padding: 5px 7px;
  border-radius: 9px;
  background: var(--ink);
  color: white;
}

.app-shell {
  width: min(820px, calc(100% - 24px));
  margin: 20px auto 0;
}

.view {
  animation: view-in 180ms ease-out;
}

@keyframes view-in {
  from {
    transform: translateY(7px);
    opacity: 0.35;
  }
}

.meeting-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 11px 14px;
  border: var(--border);
  border-radius: 15px;
  background: var(--green);
  box-shadow: 3px 3px 0 var(--ink);
}

.meeting-strip span,
.meeting-strip small {
  font-size: 11px;
  font-weight: 800;
}

.meeting-strip strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.meeting-strip small {
  color: #314039;
}

.today-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border: var(--border);
  border-radius: 28px;
  background: var(--yellow);
  box-shadow: 7px 7px 0 var(--ink);
}

.today-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 900;
}

.live-chip,
.day-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 10px;
  border: var(--border);
  border-radius: 999px;
  background: var(--white);
  font-size: 11px;
  font-weight: 950;
}

.status-label {
  margin: 24px 0 0;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.today-card h1 {
  max-width: 640px;
  margin: 5px 0 0;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.now-detail {
  margin: 12px 0 0;
  color: #454020;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;
}

.today-cat-guide {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  max-width: 590px;
  margin-top: 16px;
  padding: 8px;
  border: var(--border);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 3px 3px 0 var(--ink);
}

.today-cat-guide img {
  display: block;
  width: 84px;
  height: 84px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  object-fit: cover;
}

.today-cat-guide span,
.today-cat-guide strong,
.today-cat-guide small {
  display: block;
}

.today-cat-guide span {
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.today-cat-guide strong {
  margin-top: 2px;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.today-cat-guide small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.today-cat-guide p {
  margin: 5px 0 0;
  color: #454020;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
}

.today-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 22px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  padding: 0 16px;
  border: var(--border);
  border-radius: 15px;
  font-size: 14px;
  font-weight: 950;
}

.primary-action {
  background: var(--ink);
  color: white;
  box-shadow: 3px 3px 0 rgba(23, 21, 26, 0.25);
}

.secondary-action {
  min-width: 102px;
  background: var(--white);
  color: var(--ink);
}

.primary-action:active,
.secondary-action:active,
.schedule-item:active,
.day-button:active,
.listen-button:active,
.nav-button:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.practice-guide {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  margin-top: 28px;
  padding: 18px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.practice-guide h2,
.cat-roster h2,
.section-heading h2,
.focus-heading h2 {
  margin: 5px 0 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.practice-guide ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-guide li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 6px 8px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: var(--blue-soft);
  font-size: 11px;
  font-weight: 850;
}

.practice-guide li:nth-child(2) {
  background: var(--orange-soft);
}

.practice-guide li:nth-child(3) {
  background: var(--green-soft);
}

.practice-guide li strong {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-size: 12px;
}

.cat-roster {
  margin-top: 30px;
}

.cat-roster .section-heading {
  margin-bottom: 6px;
}

.cat-roster-count {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: var(--border);
  border-radius: 999px;
  background: var(--purple-soft);
  font-size: 10px;
  font-weight: 950;
}

.cat-roster-hint {
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.cat-roster-track {
  display: grid;
  grid-auto-columns: 170px;
  grid-auto-flow: column;
  gap: 11px;
  width: 100%;
  padding: 2px 5px 9px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.cat-roster-track::-webkit-scrollbar {
  display: none;
}

.cat-roster-card {
  min-width: 0;
  padding: 7px;
  overflow: hidden;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  scroll-snap-align: start;
  text-align: left;
}

.cat-roster-card:nth-child(4n + 2) {
  background: var(--blue-soft);
}

.cat-roster-card:nth-child(4n + 3) {
  background: var(--orange-soft);
}

.cat-roster-card:nth-child(4n + 4) {
  background: var(--green-soft);
}

.cat-roster-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 12px;
  object-fit: cover;
}

.cat-roster-card > span,
.cat-roster-card strong,
.cat-roster-card small,
.cat-roster-card em {
  display: block;
}

.cat-roster-card > span {
  padding: 8px 4px 4px;
}

.cat-roster-card strong {
  font-size: 14px;
  letter-spacing: -0.02em;
}

.cat-roster-card small {
  min-height: 26px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.35;
}

.cat-roster-card em {
  margin-top: 6px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.section-block {
  margin-top: 42px;
  scroll-margin-top: 90px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.day-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.day-button {
  display: flex;
  min-width: 0;
  min-height: 58px;
  padding: 7px 3px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.day-button strong {
  font-size: 15px;
}

.day-button small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.day-button[aria-pressed="true"] {
  background: var(--blue);
  color: white;
}

.day-button[aria-pressed="true"] small {
  color: white;
}

.day-button.is-today::after {
  width: 5px;
  height: 5px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.schedule-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 10px 12px;
  border: var(--border);
  border-radius: 17px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  box-shadow: 3px 3px 0 var(--ink);
}

.schedule-item.is-selected {
  background: var(--yellow-soft);
}

.schedule-item.is-current {
  background: var(--green-soft);
}

.schedule-time {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 950;
}

.schedule-copy strong,
.schedule-copy small {
  display: block;
}

.schedule-copy strong {
  font-size: 16px;
}

.schedule-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.schedule-action {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.focus-section {
  padding: 18px;
  border: var(--border);
  border-radius: 28px;
  background: var(--blue-soft);
  box-shadow: 7px 7px 0 var(--ink);
}

.focus-section[data-color="orange"] {
  background: var(--orange-soft);
}

.focus-section[data-color="yellow"] {
  background: var(--yellow-soft);
}

.focus-section[data-color="green"] {
  background: var(--green-soft);
}

.focus-section[data-color="purple"] {
  background: var(--purple-soft);
}

.focus-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 3px 3px 17px;
}

.focus-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 48px;
  padding: 8px 10px;
  border: var(--border);
  border-radius: 13px;
  background: var(--white);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  transform: rotate(2deg);
}

.focus-cat {
  width: 142px;
  padding: 6px;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(1deg);
}

.focus-cat img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 11px;
  object-fit: cover;
}

.focus-cat > div {
  padding: 7px 3px 3px;
}

.focus-cat .focus-code {
  min-width: 0;
  min-height: 0;
  padding: 3px 6px;
  border-width: 2px;
  border-radius: 8px;
  background: var(--yellow);
  font-size: 8px;
}

.focus-cat strong,
.focus-cat small {
  display: block;
}

.focus-cat strong {
  margin-top: 6px;
  font-size: 12px;
}

.focus-cat small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.3;
}

.focus-heading p {
  margin: 8px 0 0;
  color: #46434b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.55;
}

.pack-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 900;
}

.pack-note strong {
  padding: 4px 7px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
}

.dialogue-list {
  display: grid;
  gap: 12px;
}

.dialogue-card {
  overflow: hidden;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.dialogue-situation {
  margin: 0;
  padding: 8px 12px;
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.dialogue-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 14px;
}

.dialogue-line + .dialogue-line {
  border-top: 2px dashed var(--ink);
}

.dialogue-line.is-you {
  background: rgba(255, 216, 74, 0.3);
}

.speaker-label {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: 3px 7px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--blue-soft);
  font-size: 9px;
  font-weight: 950;
}

.is-you .speaker-label {
  background: var(--orange);
  color: white;
}

.english {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

.chinese {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.listen-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 48px;
  padding: 0 10px;
  border: var(--border);
  border-radius: 13px;
  background: var(--blue);
  color: white;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 2px 2px 0 var(--ink);
}

.listen-button.is-playing {
  background: var(--orange);
}

.listen-button.is-loading {
  background: var(--purple);
  cursor: wait;
}

.dialogue-line.is-active {
  outline: 4px solid rgba(79, 124, 255, 0.24);
  outline-offset: -4px;
}

.view-header {
  padding: 24px;
  border: var(--border);
  border-radius: 28px;
  box-shadow: 7px 7px 0 var(--ink);
}

.view-header--blue {
  background: var(--blue);
  color: white;
}

.view-header--orange {
  background: var(--orange);
}

.view-header--purple {
  background: var(--purple);
}

.view-header h1 {
  margin: 7px 0 0;
  font-size: clamp(34px, 8vw, 54px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.view-header > p:last-child {
  max-width: 620px;
  margin: 13px 0 0;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;
}

.week-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.week-card {
  border: var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}

.week-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 2px solid var(--ink);
  background: var(--yellow-soft);
  border-radius: 18px 18px 0 0;
}

.week-card header strong {
  font-size: 18px;
}

.week-card header small {
  font-size: 10px;
  font-weight: 850;
}

.week-events {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.week-event {
  min-height: 60px;
  padding: 9px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: white;
  color: var(--ink);
  text-align: left;
}

.week-event time,
.week-event strong,
.week-event small {
  display: block;
}

.week-event time {
  font-size: 10px;
  font-weight: 900;
}

.week-event strong {
  margin-top: 3px;
  font-size: 13px;
}

.week-event small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.source-note {
  margin: 20px 0 0;
  padding: 13px 15px;
  border: 2px dashed var(--ink);
  border-radius: 15px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.help-banner {
  margin-top: 26px;
  padding: 18px;
  border: var(--border);
  border-radius: 20px;
  background: var(--green);
  box-shadow: var(--shadow);
}

.help-banner span,
.help-banner strong {
  display: block;
}

.help-banner span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.help-banner strong {
  margin-top: 4px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.help-banner p {
  margin: 7px 0 0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.55;
}

.help-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.help-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 15px;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}

.help-card-label {
  display: inline-flex;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  font-size: 10px;
  font-weight: 950;
}

.help-card .english {
  margin-top: 9px;
}

.search-box {
  margin-top: 26px;
  padding: 15px;
  border: var(--border);
  border-radius: 19px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 950;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: var(--border);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
}

.search-status {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.search-results {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.search-result-card {
  padding: 14px;
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.search-result-card > button {
  width: 100%;
  min-height: 42px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-align: left;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  width: min(820px, 100%);
  margin-inline: auto;
  padding: 8px max(10px, env(safe-area-inset-left))
    calc(8px + env(safe-area-inset-bottom))
    max(10px, env(safe-area-inset-right));
  border-top: 2px solid var(--ink);
  background: rgba(255, 248, 233, 0.96);
  backdrop-filter: blur(14px);
}

.nav-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
}

.nav-button strong {
  font-size: 13px;
}

.nav-button span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
}

.nav-button.is-active {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
}

.nav-button--help.is-active {
  background: var(--orange);
}

.toast {
  position: fixed;
  right: 14px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: min(360px, calc(100% - 28px));
  padding: 13px 15px;
  border: var(--border);
  border-radius: 14px;
  background: var(--ink);
  color: white;
  box-shadow: 4px 4px 0 var(--orange);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .topbar,
  .app-shell {
    width: calc(100% - 20px);
  }

  .topbar {
    margin-top: 8px;
  }

  .brand-copy small {
    max-width: 130px;
  }

  .speed-button {
    min-width: 82px;
  }

  .today-card {
    padding: 19px;
    border-radius: 24px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .today-card h1 {
    font-size: 39px;
  }

  .today-actions {
    grid-template-columns: 1fr;
  }

  .today-cat-guide {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .today-cat-guide img {
    width: 76px;
    height: 76px;
  }

  .secondary-action {
    width: 100%;
  }

  .practice-guide {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .practice-guide ol {
    gap: 6px;
  }

  .practice-guide li {
    display: flex;
    min-width: 0;
    padding: 5px;
    flex-direction: column;
    gap: 3px;
    text-align: center;
  }

  .practice-guide li span {
    font-size: 9px;
  }

  .day-strip {
    width: calc(100% + 10px);
    margin-right: -10px;
    padding: 2px 10px 6px 0;
    overflow-x: auto;
    grid-template-columns: none;
    grid-auto-columns: 54px;
    grid-auto-flow: column;
    scrollbar-width: none;
  }

  .day-strip::-webkit-scrollbar {
    display: none;
  }

  .schedule-item {
    grid-template-columns: 62px 1fr;
  }

  .schedule-action {
    display: none;
  }

  .focus-section {
    margin-right: -1px;
    margin-left: -1px;
    padding: 13px;
    border-radius: 23px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .focus-heading h2 {
    font-size: 23px;
  }

  .focus-heading {
    grid-template-columns: minmax(0, 1fr) 106px;
    gap: 10px;
  }

  .focus-cat {
    width: 106px;
  }

  .focus-cat strong {
    font-size: 10px;
  }

  .focus-cat small {
    font-size: 7px;
  }

  .dialogue-line,
  .help-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .listen-button {
    width: 100%;
  }

  .english {
    font-size: 17px;
  }

  .week-events {
    grid-template-columns: 1fr;
  }

  .view-header {
    padding: 21px;
    border-radius: 24px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .view-header h1 {
    font-size: 40px;
  }
}

@media (max-width: 360px) {
  .brand-copy small,
  .speed-button > span {
    display: none;
  }

  .speed-button {
    min-width: 62px;
    padding: 5px;
  }

  .today-card h1 {
    font-size: 34px;
  }

  .today-cat-guide p {
    display: none;
  }

  .cat-roster-track {
    grid-auto-columns: 154px;
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 110px;
  }

  .bottom-nav {
    bottom: 16px;
    width: 520px;
    border: var(--border);
    border-radius: 21px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .dialogue-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
