* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== LOGIN SCREEN ===== */
.login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  margin-top: 4rem;
}
.login-logo {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}
.login-subtitle {
  color: #888;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
#login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
#login-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: max(1rem, 16px);
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  outline: none;
  text-align: center;
  letter-spacing: 0.1em;
  transition: border-color 0.2s;
}
#login-input:focus {
  border-color: #6c63ff;
}
#login-form button {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  background: #6c63ff;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
#login-form button:hover {
  background: #574fd6;
}
.login-error {
  text-align: center;
  color: #e53e3e;
  font-size: 0.9rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f5f5;
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
}

#app {
  width: 100%;
  max-width: 500px;
}

h1 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #222;
}

h2 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #555;
}

/* ===== HOME SCREEN ===== */
.hippo-joke-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f766e 0%, #67e8f9 56%, #fde68a 100%);
  box-shadow: 0 16px 36px rgba(8, 47, 73, 0.18);
  animation: hippoJokeEntrance 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hippo-joke-card::after {
  content: '';
  position: absolute;
  top: -28px;
  right: -22px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}

.hippo-joke-head,
.hippo-joke-body,
.hippo-joke-actions,
.hippo-joke-layout,
.hippo-joke-note {
  position: relative;
  z-index: 1;
}

.hippo-joke-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.hippo-joke-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.hippo-joke-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.hippo-joke-mascot-wrap {
  width: 124px;
  min-width: 124px;
  align-self: flex-end;
  filter: drop-shadow(0 12px 22px rgba(15, 23, 42, 0.22));
}

.hippo-joke-mascot {
  width: 100%;
  display: block;
  object-fit: contain;
  transform-origin: center bottom;
  animation: hippoMascotBob 3.8s ease-in-out infinite;
}

.hippo-joke-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #083344;
}

.hippo-joke-subtitle {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(8, 51, 68, 0.76);
}

.hippo-joke-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
}

.hippo-joke-body {
  margin-top: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.82);
  color: #0f172a;
}

.hippo-joke-note {
  margin-top: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
  opacity: 0.72;
}

.hippo-joke-body--loading {
  color: #0f766e;
}

.hippo-joke-line,
.hippo-joke-delivery {
  margin: 0;
  line-height: 1.55;
}

.hippo-joke-delivery {
  margin-top: 0.6rem;
  font-weight: 700;
}

.hippo-joke-loading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

.hippo-joke-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(15, 118, 110, 0.28);
  border-top-color: #0f766e;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

.hippo-joke-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn-hippo {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  background: #0f172a;
  color: #fff;
}

.btn-hippo:hover {
  background: #111827;
}

.btn-hippo-ghost {
  background: rgba(255,255,255,0.72);
  color: #0f172a;
}

.btn-hippo-ghost:hover {
  background: rgba(255,255,255,0.92);
}

@keyframes hippoJokeEntrance {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hippoMascotBob {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}

.stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
}

.stat-box {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  min-width: 100px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.25rem;
}

.btn {
  display: block;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: #e5e7eb;
  color: #333;
  margin-top: 0.75rem;
}

.btn-secondary:hover {
  background: #d1d5db;
}

/* ===== LEVEL BREAKDOWN ===== */
.level-breakdown {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.level-breakdown h2 {
  margin-bottom: 0.75rem;
}

.level-table {
  width: 100%;
}

.level-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
  color: #555;
}

.level-row:last-child {
  border-bottom: none;
}

.level-header {
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
}

.level-row span {
  flex: 1;
}

.level-row span:last-child {
  text-align: right;
  flex: 0 0 50px;
}

.level-row span:nth-child(2) {
  text-align: center;
}

.level-count {
  font-weight: 600;
  color: #2563eb;
}

.daily-stats-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1rem 0.8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.daily-stats-card h2 {
  margin-bottom: 0.55rem;
}

.streak-row {
  text-align: center;
  color: #1f2937;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}

.daily-bars {
  display: flex;
  gap: 0.3rem;
  align-items: flex-end;
  height: 160px;
  padding: 0 0.15rem;
}

.daily-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 0;
}

.daily-col-pct {
  font-size: 0.6rem;
  color: #64748b;
  height: 15px;
  line-height: 15px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.daily-col-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  min-height: 0;
  transition: height 0.4s ease;
}

.daily-col-date {
  font-size: 0.6rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

.daily-legend {
  margin-top: 0.7rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  color: #6b7280;
  flex-wrap: wrap;
}

.legend-note {
  color: #9ca3af;
  font-size: 0.68rem;
}

.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 0.3rem;
  vertical-align: middle;
}

/* ===== FLASHCARD SCREEN ===== */
.progress-bar-container {
  background: #e5e7eb;
  border-radius: 8px;
  height: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.progress-bar {
  background: #2563eb;
  height: 100%;
  border-radius: 8px;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 1.5rem;
}

.word-pl {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.word-hint {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.input-group {
  display: flex;
  gap: 0.5rem;
}

.input-answer {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.2s;
  /* iOS: font-size must be >=16px to prevent auto-zoom on focus */
  font-size: max(1rem, 16px);
}

.input-answer:focus {
  border-color: #2563eb;
}

.btn-submit {
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-submit:hover {
  background: #1d4ed8;
}

.hint-options {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.5rem;
}

.hint-option-btn {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #1f2937;
  border-radius: 8px;
  padding: 0.55rem 0.4rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.hint-option-btn:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

/* ===== FEEDBACK ===== */
.feedback {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  animation: fadeIn 0.3s ease;
}

.feedback-correct {
  background: #dcfce7;
  color: #166534;
}

.feedback-typo {
  background: #fef9c3;
  color: #854d0e;
}

.feedback-wrong {
  background: #fee2e2;
  color: #991b1b;
}

.feedback-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.feedback-text {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feedback-answer {
  font-size: 1.2rem;
  font-weight: 700;
}

/* ===== ANSWER COMPARISON (feedback + summary) ===== */
.answer-comparison {
  margin-top: 0.75rem;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.95rem;
  text-align: left;
}

.answer-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
}

.answer-row--wrong {
  background: rgba(0,0,0,0.08);
}

.answer-row--correct {
  background: rgba(255,255,255,0.35);
}

.answer-row-label {
  flex: 0 0 130px;
  font-size: 0.78rem;
  opacity: 0.75;
  font-weight: 500;
}

.answer-row-value {
  font-weight: 700;
  word-break: break-word;
}

.answer-row--wrong .answer-row-value {
  color: red;
  opacity: 0.7;
}

.answer-row--correct .answer-row-value {
  font-size: 1.05rem;
}

/* countdown + skip button */
.feedback-timer-row {
  margin-top: 1rem;
  text-align: center;
}

.btn-skip-feedback {
  background: rgba(0,0,0,0.12);
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: inherit;
  transition: background 0.15s;
}

.btn-skip-feedback:hover {
  background: rgba(0,0,0,0.22);
}

.skip-countdown {
  font-size: 0.78rem;
  opacity: 0.65;
  margin-left: 0.2rem;
}

/* ===== SUMMARY SCREEN ===== */
.summary-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-correct {
  color: #166534;
  font-weight: 600;
}

.summary-typo {
  color: #854d0e;
  font-weight: 600;
}

.summary-wrong {
  color: #991b1b;
  font-weight: 600;
}

.summary-score {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0;
}

.summary-score-label {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.perfect-session-banner {
  background: linear-gradient(135deg, #dcfce7 0%, #dbeafe 100%);
  border: 2px solid #86efac;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}

.perfect-session-hippo {
  font-size: 2rem;
  margin-bottom: 0.15rem;
}

.perfect-session-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #166534;
}

.perfect-session-text {
  font-size: 0.9rem;
  color: #14532d;
}

/* ===== WORD LIST IN SUMMARY ===== */
.word-result {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #f5f5f5;
}

.word-result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}

.word-result--error {
  padding-bottom: 0.6rem;
}

.word-result-pl {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.word-result-en {
  color: #374151;
  font-size: 0.85rem;
}

/* inline comparison in summary */
.word-result-comparison {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  padding: 0.3rem 0.55rem;
  background: #fff1f2;
  border-radius: 6px;
  font-size: 0.82rem;
}

.wrc-wrong {
  color: #b91c1c;
  text-decoration: line-through;
  font-weight: 500;
}

.wrc-arrow {
  color: #9ca3af;
  flex-shrink: 0;
}

.wrc-correct {
  color: #15803d;
  font-weight: 600;
}

.word-result-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-ignore-word {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: 8px;
  padding: 0.2rem 0.45rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.btn-ignore-word:hover:not(:disabled) {
  background: #f8fafc;
}

.btn-ignore-word:disabled {
  opacity: 0.65;
  cursor: default;
}

.word-result:last-child {
  border-bottom: none;
}

.word-result-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.dot-correct { background: #22c55e; }
.dot-typo { background: #eab308; }
.dot-wrong { background: #ef4444; }

/* ===== STAT BOX COLORS ===== */
.stat-due { color: #dc2626; }
.stat-new { color: #16a34a; }
.stat-mastered { color: #d97706; }
.streak-count { color: #2563eb; font-size: 1.05em; }

/* ===== LETTER HINT ===== */
.letter-hint-display {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  margin: 0.75rem 0;
  padding: 0.65rem 0.5rem;
  background: #f8fafc;
  border-radius: 10px;
}

.letter-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 38px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 6px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #1e293b;
}

.letter-hidden {
  border-style: dashed;
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.letter-revealed {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
  animation: letterReveal 0.25s ease;
}

.letter-space {
  width: 10px;
  height: 38px;
  background: transparent;
  border: none;
}

@keyframes letterReveal {
  from { transform: scale(0.65); opacity: 0.4; }
  to   { transform: scale(1);    opacity: 1; }
}

.word-result-note {
  color: #6b7280;
  font-size: 0.75rem;
}

.ignored-words-list {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  max-height: 220px;
  overflow: auto;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.8rem;
}

.ignored-word-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.ignored-word-row:last-child {
  border-bottom: none;
}

.ignored-word-pl {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9rem;
}

.ignored-word-en {
  color: #6b7280;
  font-size: 0.8rem;
}

.btn-unignore-word {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.btn-unignore-word:hover {
  background: #f9fafb;
}

/* ===== SYNC INDICATOR ===== */
.sync-indicator {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.sync-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.sync-off { background: #d1d5db; }
.sync-syncing { background: #f59e0b; animation: pulse 1s infinite; }
.sync-ok { background: #22c55e; }
.sync-error { background: #ef4444; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.screen {
  animation: fadeIn 0.3s ease;
}

.hippo-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
}

.hippo-popup-card {
  width: min(440px, 100%);
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
  animation: hippoPopIn 0.32s ease;
}

.hippo-popup-card h2 {
  margin: 0.2rem 0 0.45rem;
  color: #14532d;
}

.hippo-popup-card p {
  margin-bottom: 1rem;
  color: #334155;
}

.hippo-popup-emoji {
  font-size: 2.4rem;
}

@keyframes hippoPopIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 400px) {
  .hippo-joke-layout {
    align-items: center;
    gap: 0.7rem;
  }
  .hippo-joke-head {
    align-items: flex-start;
  }
  .hippo-joke-mascot-wrap {
    width: 92px;
    min-width: 92px;
  }
  .hippo-joke-title { font-size: 1rem; }
  .hippo-joke-subtitle { font-size: 0.72rem; }
  .hippo-joke-body { padding: 0.85rem 0.9rem; }
  .hippo-joke-actions { flex-direction: column; }
  .btn-hippo { width: 100%; }
  .word-pl { font-size: 1.5rem; }
  .stat-box { padding: 0.75rem 1rem; min-width: 80px; }
  .stat-number { font-size: 1.5rem; }
  .hint-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily-bars { gap: 0.25rem; }
  .daily-bar-label { font-size: 0.58rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hippo-joke-card,
  .hippo-joke-mascot,
  .hippo-joke-spinner,
  .screen,
  .hippo-popup-card {
    animation: none !important;
  }
}

/* ===== SYNC SPINNER ===== */
.sync-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 1.25rem;
  color: #666;
}
.spinner-ring {
  width: 48px;
  height: 48px;
  border: 5px solid #e0e0e0;
  border-top-color: #6c63ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== LEVEL TOGGLES (settings screen) ===== */
.level-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.level-toggle--active {
  border-color: #6c63ff;
  background: #f5f3ff;
}
.level-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
  color: #fff;
}
.level-a1 { background: #22c55e; }
.level-a2 { background: #84cc16; }
.level-b1 { background: #f59e0b; }
.level-b2 { background: #f97316; }
.level-c1 { background: #ef4444; }
.level-c2 { background: #7c3aed; }
.level-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.level-name { font-size: 0.85rem; font-weight: 600; color: #374151; }
.level-count { font-size: 0.75rem; color: #9ca3af; }
.level-check {
  font-size: 0.9rem;
  color: #6c63ff;
  font-weight: 700;
  min-width: 16px;
  text-align: right;
}
