/* ══════════════════════════════════════════════════════════════
   語道 · MAIN.CSS
   Layout, components, screen stubs, animations.
   All colours reference variables from themes.css.
   ══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg);
  color: var(--tx);
  min-height: 100dvh;
  overflow-x: hidden;
  /* Subtle noise grain overlay via SVG data URI */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
}

ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-ui); border: none; background: none; }
input, textarea { font-family: var(--font-ui); }
a { color: inherit; text-decoration: none; }

/* Japanese text class — always uses Noto Sans JP */
.jp { font-family: var(--font-jp); }
.jp-serif { font-family: var(--font-jp-serif); }

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--tx3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--tx2); }


/* ═══════════════════════════════════════════
   LAYOUT — DESKTOP SIDEBAR + MAIN
═══════════════════════════════════════════ */
.nav-desktop {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100dvh;
  background: var(--bg2);
  border-right: 1px solid var(--b);
  display: flex;
  flex-direction: column;
  z-index: var(--z-nav);
  padding: 0 0 20px;
  overflow: hidden;
}

.main-content {
  margin-left: 200px;
  min-height: 100dvh;
  padding: 0 0 40px;
}

.nav-mobile { display: none; }


/* ═══════════════════════════════════════════
   DESKTOP NAV BRAND
═══════════════════════════════════════════ */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--b);
  flex-shrink: 0;
}

.nav-brand-kanji {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red2), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.nav-brand-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--tx2);
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════
   DESKTOP NAV LIST
═══════════════════════════════════════════ */
.nav-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-spacer { flex: 1; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--tx2);
  font-size: 13px;
  font-weight: 500;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
  text-align: left;
  position: relative;
}

.nav-item:hover {
  background: var(--card);
  color: var(--tx);
}

.nav-item.active {
  background: var(--card);
  color: var(--tx);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 22px;
  background: linear-gradient(180deg, var(--red), var(--gold));
  border-radius: 0 2px 2px 0;
}

.nav-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}

.nav-label {
  display: flex;
  flex-direction: column;
  gap: 0px;
  line-height: 1.2;
}

.nav-label .jp { font-size: 12px; }

.nav-label-en {
  font-size: 10px;
  color: var(--tx3);
  font-weight: 400;
}

.nav-item.active .nav-label-en { color: var(--tx2); }


/* ═══════════════════════════════════════════
   DESKTOP NAV STREAK
═══════════════════════════════════════════ */
.nav-streak {
  margin: 12px 14px 0;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--b);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--tx2);
  flex-shrink: 0;
}

.streak-flame { font-size: 16px; }
#sidebar-streak { color: var(--gold2); font-weight: 600; }
.streak-label { font-size: 11px; color: var(--tx3); }


/* ═══════════════════════════════════════════
   MOBILE BOTTOM NAV
═══════════════════════════════════════════ */
@media (max-width: 700px) {
  .nav-desktop { display: none; }
  .nav-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg2);
    border-top: 1px solid var(--b);
    z-index: var(--z-nav);
  }
  .main-content {
    margin-left: 0;
    padding-bottom: 76px;
  }

  .nav-mobile-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--tx3);
    font-family: var(--font-jp);
    font-size: 9px;
    transition: color var(--t-fast);
    padding: 0;
  }
  .nav-mobile-item span:first-child {
    font-size: 20px;
    line-height: 1;
  }
  .nav-mobile-item.active {
    color: var(--red2);
  }
  .nav-mobile-item:hover { color: var(--tx); }
}


/* ═══════════════════════════════════════════
   SCREEN SYSTEM
═══════════════════════════════════════════ */
.screen {
  display: none;
  animation: screenIn 0.22s var(--ease) both;
}

.screen.active {
  display: block;
}

@keyframes screenIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.screen-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.screen-heading {
  padding-bottom: 4px;
}

.screen-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--tx);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.screen-title .jp {
  font-size: 16px;
  color: var(--tx2);
  font-weight: 400;
}


/* ═══════════════════════════════════════════
   CARD COMPONENT
═══════════════════════════════════════════ */
.card {
  background: var(--card);
  border: 1px solid var(--b);
  border-radius: var(--r-md);
  padding: 20px;
}

.card:hover {
  border-color: var(--b2);
}


/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-primary {
  display: block;
  width: 100%;
  padding: 13px 20px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-align: center;
  transition:
    background var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--red2);
  box-shadow: 0 4px 20px var(--red-glow);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: block;
  width: 100%;
  padding: 11px 20px;
  background: transparent;
  border: 1px solid var(--b2);
  color: var(--tx2);
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  text-align: center;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.btn-secondary:hover {
  background: var(--cardh);
  color: var(--tx);
  border-color: var(--b2);
}

.btn-danger {
  padding: 9px 16px;
  background: rgba(201, 42, 42, 0.15);
  border: 1px solid rgba(201, 42, 42, 0.35);
  color: var(--red2);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition:
    background var(--t-fast),
    border-color var(--t-fast);
  white-space: nowrap;
}

.btn-danger:hover {
  background: rgba(201, 42, 42, 0.28);
  border-color: var(--red2);
}

/* Word bank tile button */
.btn-word-bank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 16px;
  background: var(--card);
  border: 1.5px solid var(--b2);
  border-radius: 10px;
  font-family: var(--font-jp);
  font-size: 18px;
  color: var(--tx);
  transition:
    background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
  cursor: pointer;
}

.btn-word-bank:hover {
  background: var(--cardh);
  border-color: var(--b2);
  transform: translateY(-2px);
}

.btn-word-bank.selected {
  border-color: var(--red);
  background: rgba(201, 42, 42, 0.12);
  color: var(--tx);
}


/* ═══════════════════════════════════════════
   XP BAR
═══════════════════════════════════════════ */
.xp-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--b);
}

.xp-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 4px;
  transition: width 0.6s var(--ease);
}


/* ═══════════════════════════════════════════
   HOME — PROFILE CARD
═══════════════════════════════════════════ */
.profile-card {
  background: var(--card);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal accent stripe */
.profile-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.level-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 18px var(--red-glow);
}

.level-num {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.profile-info { flex: 1; }

.profile-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.2;
}

.profile-sub {
  font-size: 12px;
  color: var(--tx2);
  margin-top: 2px;
}

.streak-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.streak-big { font-size: 20px; line-height: 1; }
.streak-count {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold2);
  line-height: 1.1;
}
.streak-unit { font-size: 10px; color: var(--tx3); text-transform: uppercase; letter-spacing: 0.05em; }

.xp-track { }
.xp-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--tx2);
  margin-bottom: 7px;
}
.xp-text { font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; font-size: 11px; }
.xp-nums { color: var(--tx3); }


/* ═══════════════════════════════════════════
   HOME — STATS ROW
═══════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-cell {
  text-align: center;
  padding: 16px 10px;
}

.stat-val {
  font-size: 28px;
  font-weight: 600;
  color: var(--tx);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--tx2);
  line-height: 1.2;
}

.stat-label-en {
  font-size: 10px;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}


/* ═══════════════════════════════════════════
   HOME — LESSON CTA CARD
═══════════════════════════════════════════ */
.lesson-cta-card {
  border-color: rgba(201, 42, 42, 0.22);
  position: relative;
  overflow: hidden;
}

.lesson-cta-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
}

.lesson-cta-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lesson-cta-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red2);
}

.lesson-num {
  font-size: 12px;
  color: var(--tx3);
}

.lesson-cta-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 4px;
}

.lesson-cta-sub {
  font-size: 12px;
  color: var(--tx2);
  margin-bottom: 16px;
}

.lesson-start-btn {
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════
   HOME — KANJI OF THE DAY
═══════════════════════════════════════════ */
.kanji-day-card {
  position: relative;
  overflow: hidden;
}

.kanji-day-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}

.kanji-day-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
}

.kanji-day-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.kanji-day-char {
  font-size: 72px;
  line-height: 1;
  color: var(--tx);
  flex-shrink: 0;
  text-shadow: 0 0 30px var(--gold-glow);
}

.kanji-day-info { flex: 1; }

.kanji-day-reading {
  font-size: 16px;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 4px;
}

.kanji-day-meaning {
  font-size: 15px;
  color: var(--tx2);
  margin-bottom: 6px;
}

.kanji-day-strokes {
  font-size: 11px;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ═══════════════════════════════════════════
   HOME — REVIEW QUEUE CARD
═══════════════════════════════════════════ */
.review-card { }

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--tx);
}

.review-sub {
  font-size: 12px;
  color: var(--tx2);
  margin-top: 2px;
}

.review-count-badge {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: linear-gradient(135deg, var(--red), var(--gold));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 2px 10px var(--red-glow);
  flex-shrink: 0;
}

.review-desc {
  font-size: 13px;
  color: var(--tx2);
  margin-bottom: 14px;
}

.review-btn { }


/* ═══════════════════════════════════════════
   COMING SOON PLACEHOLDER
═══════════════════════════════════════════ */
.coming-soon-wrap {
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--b);
  border-radius: var(--r-md);
}

.coming-soon-icon {
  font-size: 72px;
  line-height: 1;
  background: linear-gradient(135deg, var(--tx3), var(--tx2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.coming-soon-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--tx);
  margin-bottom: 4px;
}

.coming-soon-sub {
  font-size: 15px;
  color: var(--tx2);
  margin-bottom: 14px;
}

.coming-soon-body {
  font-size: 13px;
  color: var(--tx3);
  max-width: 320px;
  line-height: 1.6;
}


/* ═══════════════════════════════════════════
   SETTINGS SCREEN
═══════════════════════════════════════════ */
.settings-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings-section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tx3);
  margin-bottom: 12px;
}

.settings-section-title--danger { color: var(--red); }

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.settings-row--disabled { opacity: 0.45; pointer-events: none; }

.settings-row-info { flex: 1; min-width: 0; }

.settings-row-label {
  font-size: 14px;
  color: var(--tx);
  font-weight: 500;
}

.settings-row-sub {
  font-size: 12px;
  color: var(--tx2);
  margin-top: 2px;
}

.settings-btn {
  width: auto;
  white-space: nowrap;
  padding: 8px 14px;
  font-size: 13px;
}

.settings-divider {
  height: 1px;
  background: var(--b);
  margin: 4px 0;
}

.settings-danger { border-color: rgba(201, 42, 42, 0.2); }


/* ─── Export / Import textarea ─── */
.save-code-area {
  width: 100%;
  min-height: 100px;
  background: var(--bg);
  border: 1px solid var(--b2);
  border-radius: 8px;
  color: var(--tx2);
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
  margin-top: 8px;
  transition: border-color var(--t-fast);
}

.save-code-area:focus {
  outline: none;
  border-color: var(--red);
}

.export-output-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.copy-btn {
  width: auto;
  align-self: flex-end;
  padding: 7px 14px;
  font-size: 12px;
}

.import-status {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 8px;
  font-weight: 500;
}

.import-status.ok {
  background: var(--ok-glow);
  border: 1px solid var(--ok);
  color: var(--ok);
}

.import-status.err {
  background: var(--red-glow);
  border: 1px solid var(--red2);
  color: var(--red2);
}


/* ─── Toggle group (input mode, theme) ─── */
.toggle-group {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--b2);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.toggle-opt {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--tx3);
  background: transparent;
  border: none;
  cursor: pointer;
  transition:
    background var(--t-fast),
    color var(--t-fast);
}

.toggle-opt.active {
  background: var(--card);
  color: var(--tx);
}

.toggle-opt:disabled { cursor: not-allowed; }


/* ─── Toggle switch (furigana) ─── */
.toggle-switch {
  width: 44px;
  height: 26px;
  background: var(--bg);
  border: 1px solid var(--b2);
  border-radius: 13px;
  position: relative;
  transition: background var(--t-fast), border-color var(--t-fast);
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-switch[aria-checked="true"] {
  background: var(--ok);
  border-color: var(--ok);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--tx2);
  border-radius: 50%;
  transition: transform var(--t-base) var(--ease), background var(--t-fast);
}

.toggle-switch[aria-checked="true"] .toggle-knob {
  transform: translateX(18px);
  background: #fff;
}


/* ─── Reset confirm ─── */
.reset-confirm {
  padding: 14px;
  background: rgba(201, 42, 42, 0.08);
  border: 1px solid rgba(201, 42, 42, 0.2);
  border-radius: 8px;
  margin-top: 8px;
}

.reset-confirm p {
  font-size: 13px;
  color: var(--tx2);
  margin-bottom: 12px;
  line-height: 1.5;
}

.reset-confirm-btns {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.reset-confirm-btns .btn-secondary {
  width: auto;
  padding: 8px 14px;
  font-size: 13px;
}

.settings-version {
  text-align: center;
  font-size: 11px;
  color: var(--tx3);
  padding: 8px 0 0;
}


/* ═══════════════════════════════════════════
   PRACTICE SCREEN — KANA INPUT
═══════════════════════════════════════════ */
.input-demo-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--tx);
  margin-bottom: 2px;
}

.input-demo-sub {
  font-size: 12px;
  color: var(--tx2);
  margin-bottom: 12px;
}

.kana-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--b2);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--tx);
  font-size: 20px;
  outline: none;
  transition: border-color var(--t-fast);
}

.kana-input:focus { border-color: var(--red); }

.kana-input::placeholder {
  color: var(--tx3);
  font-size: 13px;
  font-family: var(--font-ui);
}

.input-demo-hint {
  font-size: 12px;
  color: var(--tx3);
  margin-top: 8px;
}

.input-demo-hint .jp { color: var(--tx2); }


/* ═══════════════════════════════════════════
   WORD BANK COMPONENT (renderWordBank)
═══════════════════════════════════════════ */
.wordbank-answer-area {
  min-height: 56px;
  background: var(--bg);
  border: 1.5px dashed var(--b2);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  transition: border-color var(--t-fast);
}

.wordbank-answer-area.has-tiles { border-style: solid; border-color: var(--b2); }

.wordbank-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

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

.wordbank-clear {
  flex: 1;
}

.wordbank-check {
  flex: 2;
}


/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[hidden] { display: none !important; }

/* Accessible focus rings */
:focus-visible {
  outline: 2px solid var(--red2);
  outline-offset: 2px;
  border-radius: 4px;
}


/* ═══════════════════════════════════════════
   RESPONSIVE TWEAKS
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .screen-inner {
    padding: 20px 14px;
    gap: 12px;
  }

  .kanji-day-char { font-size: 56px; }
  .profile-title { font-size: 16px; }
  .stat-val { font-size: 22px; }

  .stats-row { gap: 8px; }
  .stat-cell { padding: 12px 8px; }
}
