:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #eef2f7;
  --ink: #111827;
  --muted: #64748b;
  --line: #d9e0ea;
  --accent: #20a67a;
  --accent-dark: #13795b;
  --amber: #ffb020;
  --rose: #e5484d;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1f1f1f;
  --surface: #262626;
  --surface-strong: #303030;
  --ink: #f5f5f5;
  --muted: #b7b7b7;
  --line: #3f3f3f;
  --accent: #22c78a;
  --accent-dark: #14a36f;
  --amber: #fbbf24;
  --rose: #fb7185;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.app-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.eyebrow,
.micro-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 4px 0 0;
  font-size: 2rem;
  line-height: 1.1;
}

h2 {
  margin: 4px 0 0;
  font-size: 1.55rem;
  line-height: 1.25;
}

.account-pill,
.badges span,
.tag-row span,
.review-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0 12px;
  white-space: nowrap;
}

.account-pill {
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.account-pill.is-cloud .status-dot {
  background: #3b82f6;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  padding: 0 16px;
}

.tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.drill-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.practice-panel,
.detail-panel,
.metric-panel,
.empty-panel,
.control-bar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.practice-panel,
.empty-panel {
  padding: 24px;
}

.empty-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

body[data-theme="dark"] .tab,
body[data-theme="dark"] .select-field select,
body[data-theme="dark"] .search-field input,
body[data-theme="dark"] .answer-box,
body[data-theme="dark"] .hint-button,
body[data-theme="dark"] .oauth-button,
body[data-theme="dark"] .ghost-button,
body[data-theme="dark"] .segmented-control button,
body[data-theme="dark"] .toggle-row {
  background: var(--surface);
  color: var(--ink);
}

body[data-theme="dark"] .tab.is-active,
body[data-theme="dark"] .segmented-control button.is-active {
  background: #f2f2f2;
  color: #171717;
}

body[data-theme="dark"] .rule-chip,
body[data-theme="dark"] .hint-reveal,
body[data-theme="dark"] .cloud-notice {
  background: rgba(34, 199, 138, 0.14);
  color: #d1fae5;
}

body[data-theme="dark"] .hint-reveal.strong,
body[data-theme="dark"] .example-list span {
  background: rgba(251, 191, 36, 0.14);
  color: #fef3c7;
}

body[data-theme="dark"] .cloud-notice.is-error {
  background: rgba(251, 113, 133, 0.14);
  color: #ffe4e6;
}

body[data-theme="dark"] .explanation,
body[data-theme="dark"] .rule-card p {
  color: #d0d0d0;
}

.control-bar {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(180px, 260px) 1fr;
  gap: 10px;
  align-items: end;
  padding: 14px;
  box-shadow: none;
}

.select-field {
  display: grid;
  gap: 6px;
}

.select-field span,
.search-field span,
.queue-counter span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.select-field select,
.search-field input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  padding: 0 12px;
}

.search-field input {
  font-weight: 700;
}

.queue-counter {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 0 12px;
}

.queue-counter strong {
  font-size: 1.25rem;
}

.review-bar {
  grid-template-columns: minmax(180px, 260px) 1fr;
  align-items: center;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-rules {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
}

.rule-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rule-chip {
  min-height: 34px;
  border: 1px solid rgba(32, 166, 122, 0.35);
  border-radius: 999px;
  background: #f2fbf8;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 900;
  padding: 0 12px;
}

.exercise-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.badges,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.answer-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.answer-box {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
  line-height: 1.5;
  padding: 14px;
  outline: none;
}

.answer-box:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(32, 166, 122, 0.14);
}

.translation-builder {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.builder-step {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 14px;
}

.builder-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.builder-step-head > span,
.chunk-index {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.78rem;
  font-weight: 900;
}

.tense-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tense-choice,
.mini-reveal-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  padding: 0 12px;
}

.tense-choice.is-selected {
  border-color: var(--ink);
}

.tense-choice.is-correct,
.step-feedback.is-correct,
.tense-result.is-correct {
  border-color: rgba(32, 166, 122, 0.5);
  background: rgba(32, 166, 122, 0.12);
}

.tense-choice.is-wrong,
.step-feedback.is-wrong,
.tense-result.is-wrong {
  border-color: rgba(229, 72, 77, 0.5);
  background: rgba(229, 72, 77, 0.12);
}

.step-feedback,
.builder-clue,
.tense-result {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
  font-weight: 800;
}

.builder-clue {
  border-left: 4px solid var(--accent);
  background: var(--surface);
  color: var(--muted);
}

.chunk-grid {
  display: grid;
  gap: 8px;
}

.translation-chunk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 260px);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px;
}

.translation-chunk > div:first-child {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
}

.translation-chunk > div:first-child small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chunk-answer {
  display: grid;
  gap: 3px;
  justify-items: start;
}

.chunk-answer small,
.small-word-list small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.translation-chunk.is-revealed {
  border-color: rgba(32, 166, 122, 0.38);
}

.mini-reveal-button {
  min-width: 112px;
}

.small-word-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.small-word-list span,
.tense-result {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 8px 10px;
}

.small-word-list span {
  flex-direction: column;
  align-items: flex-start;
}

.tense-result {
  margin: 14px 0;
}

.score-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 0 14px;
}

.score-strip span {
  color: var(--muted);
  font-weight: 700;
}

.score-strip strong {
  font-size: 1.3rem;
}

.reward-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.reward-strip span,
.reward-strip strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  padding: 0 12px;
}

.reward-strip span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hint-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.hint-button {
  display: flex;
  min-height: 62px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  padding: 10px 12px;
  text-align: left;
}

.hint-button small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.hint-button.is-used {
  border-color: rgba(32, 166, 122, 0.5);
  background: rgba(32, 166, 122, 0.1);
}

.hint-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.hint-reveal {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--accent);
  background: #f2fbf8;
  padding: 10px 12px;
}

.hint-reveal.strong {
  border-left-color: var(--amber);
  background: #fff8e8;
  font-weight: 800;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.primary-button,
.ghost-button,
.danger-button {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
  padding: 0 18px;
}

.primary-button {
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: #ffffff;
}

.ghost-button {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.danger-button {
  width: fit-content;
  border: 1px solid rgba(229, 72, 77, 0.35);
  background: #fff5f5;
  color: #9f1d25;
}

.result-panel {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.result-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.result-score span {
  color: var(--muted);
  font-weight: 800;
}

.result-score strong {
  font-size: 2rem;
}

.answer-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.answer-comparison p {
  margin: 4px 0 0;
}

.diff-box {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.diff-line {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
}

.diff-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.diff-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.diff-token {
  border-radius: 6px;
  padding: 3px 7px;
  background: var(--surface-strong);
  font-weight: 700;
}

.diff-token.missing {
  background: #fff2cc;
}

.diff-token.extra {
  background: #ffe1e1;
}

.diff-token.match {
  background: #e8f7f1;
}

.explanation {
  margin: 14px 0;
  color: #334155;
  line-height: 1.5;
}

.progress-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rules-layout {
  display: grid;
  gap: 12px;
}

.rules-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 220px);
  gap: 10px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}

.search-field {
  display: grid;
  gap: 6px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rule-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.rule-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.rule-card h2 {
  margin: 0;
  font-size: 1.08rem;
}

.rule-card p {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px);
  gap: 12px;
}

.account-panel {
  display: grid;
  gap: 14px;
}

.install-panel {
  display: grid;
  gap: 14px;
}

.player-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.profile-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid color-mix(in srgb, var(--avatar-color) 64%, var(--surface));
  border-radius: 999px;
  background: var(--avatar-color);
  color: #ffffff;
  font-weight: 950;
}

.profile-avatar.mini {
  width: 28px;
  height: 28px;
  font-size: 0.76rem;
}

.profile-avatar.large {
  width: 72px;
  height: 72px;
  font-size: 1.35rem;
}

.player-card h2 {
  margin: 4px 0 8px;
}

.player-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.player-stats span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 10px;
}

.account-panel h2 {
  margin: 0;
}

.muted-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.oauth-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
  padding: 0 16px;
}

.google-mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #2563eb;
  font-weight: 900;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px);
  gap: 12px;
}

.profile-editor {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: end;
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch {
  width: 38px;
  height: 38px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--avatar-color);
}

.color-swatch.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--avatar-color) 25%, transparent);
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.segmented-control button,
.toggle-row {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
}

.segmented-control button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.toggle-list {
  display: grid;
  gap: 8px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.install-actions {
  display: flex;
  gap: 10px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.install-steps span {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0 10px;
  text-align: center;
}

.cloud-notice {
  margin: 0;
  border-left: 4px solid var(--accent);
  background: #f2fbf8;
  color: #194d3f;
  font-weight: 700;
  line-height: 1.5;
  padding: 10px 12px;
}

.cloud-notice.is-error {
  border-left-color: var(--rose);
  background: #fff5f5;
  color: #9f1d25;
}

.setup-list {
  display: grid;
  gap: 8px;
}

.setup-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  padding: 10px 12px;
}

.rule-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0 10px;
  white-space: nowrap;
}

.example-list {
  display: grid;
  gap: 6px;
}

.example-list span {
  border-left: 3px solid var(--amber);
  background: #fff8e8;
  color: #2f2a1f;
  font-weight: 700;
  line-height: 1.4;
  padding: 8px 10px;
}

.metric-panel {
  padding: 18px;
}

.metric-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
}

.metric-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.progress-track {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-strong);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.progress-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.admin-layout {
  display: grid;
  gap: 12px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.admin-head h2 {
  margin: 4px 0;
}

.admin-metrics {
  margin-top: 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-panel {
  padding: 18px;
}

.detail-panel h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.difficulty-list,
.attempt-list {
  display: grid;
  gap: 8px;
}

.difficulty-row,
.attempt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.attempt-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.attempt-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.attempt-row > strong {
  max-width: 45%;
  overflow-wrap: anywhere;
  text-align: right;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 800px) {
  .app-shell {
    width: min(100% - 20px, 720px);
    padding-top: 14px;
  }

  .topbar,
  .exercise-head,
  .answer-comparison {
    display: grid;
  }

  h1 {
    font-size: 1.55rem;
  }

  h2 {
    font-size: 1.24rem;
  }

  .practice-panel,
  .empty-panel {
    padding: 16px;
  }

  .control-bar,
  .review-bar,
  .account-stats,
  .hint-grid,
  .rules-toolbar,
  .rule-grid,
    .progress-layout,
    .progress-detail,
    .admin-head,
    .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-head {
    display: grid;
  }

  .player-card,
  .profile-editor,
  .translation-chunk {
    grid-template-columns: 1fr;
  }

  .rule-card-head {
    display: grid;
  }

  .actions {
    display: grid;
  }

  .install-actions,
  .install-steps {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button,
  .ghost-button,
  .danger-button {
    width: 100%;
  }

  .diff-line {
    grid-template-columns: 1fr;
  }
}
