:root {
  /* Garden Theme Colors - FINAL v3 */
  --garden-ivory: #FFF8EC;
  --garden-pink: #FFB8D0;
  --garden-red: #E74C4F;
  --garden-green: #7FBF7A;
  --garden-blue: #87C7F7;
  --garden-teal: #42C4C4;
  --garden-yellow: #FFCB57;
  --garden-purple: #C6B7F5;
  --garden-gold: #C99A45;
  --garden-brown: #4B382B;
  
  /* Legacy variables maintained for compatibility */
  --primary: #E74C4F;
  --primary-dark: #C0392B;
  --primary-light: #FFE5E5;
  --primary-bg: var(--garden-ivory);
  --bg: var(--garden-ivory);
  --card: #FFFFFF;
  --text: var(--garden-brown);
  --text-secondary: #7A6B5D;
  --text-light: #A89A8C;
  --border: #EBE5DD;
  --border-light: #F5F0E8;
  --success: var(--garden-green);
  --success-light: #E8F5E9;
  --error: var(--garden-red);
  --error-light: #FFEBEE;
  --warning: var(--garden-yellow);
  --warning-light: #FFF8E1;
  --info: var(--garden-blue);
  --info-light: #E3F2FD;
  --shadow: 0 2px 8px rgba(75, 56, 43, 0.06);
  --shadow-lg: 0 8px 24px rgba(75, 56, 43, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --sidebar-width: 240px;
  --sidebar-tablet-width: 80px;
  --bottom-nav-height: 64px;
  --bottom-nav-safe-height: calc(64px + env(safe-area-inset-bottom, 0px));
  --font-size: 16px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { font-size: var(--font-size); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.hidden { display: none !important; }

/* Loading Screen */
.loading-screen {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--primary-bg); z-index: 9999;
}
.loading-logo {
  font-size: 1.75rem; font-weight: 700;
  color: var(--primary); margin-bottom: 2rem;
}
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { margin-top: 1rem; color: var(--text-secondary); font-size: 0.95rem; }

/* Auth Screen */
.auth-screen {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-bg); padding: 1rem;
}
.auth-card {
  background: var(--card); border-radius: var(--radius-lg);
  padding: 2rem; width: 100%; max-width: 400px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-emoji { font-size: 3rem; display: block; margin-bottom: 0.5rem; }
.auth-logo h1 { font-size: 1.5rem; color: var(--text); }
.auth-logo p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.25rem; }
.auth-tabs {
  display: flex; gap: 0; margin-bottom: 1.5rem;
  background: var(--border-light); border-radius: var(--radius-sm); padding: 4px;
}
.auth-tab {
  flex: 1; padding: 0.6rem; border: none; background: none;
  font-size: 1rem; color: var(--text-secondary); cursor: pointer;
  border-radius: var(--radius-sm); transition: all 0.2s;
  font-family: var(--font-family);
}
.auth-tab.active { background: var(--card); color: var(--primary); font-weight: 600; box-shadow: var(--shadow); }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-hint { font-size: 0.85rem; color: var(--text-light); text-align: center; margin-top: 0.5rem; }
.auth-error {
  background: var(--error-light); color: var(--error);
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; margin-top: 1rem;
}

/* Form Fields */
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  padding: 0.7rem 0.9rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-family);
  background: var(--card); color: var(--text); transition: border-color 0.2s;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--primary);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-input {
  padding: 0.7rem 0.9rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-family);
  background: var(--card); color: var(--text); transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus { outline: none; border-color: var(--primary); }

/* Buttons */
.btn {
  padding: 0.7rem 1.2rem; border: none; border-radius: var(--radius-sm);
  font-size: 1rem; font-family: var(--font-family); font-weight: 500;
  cursor: pointer; transition: all 0.2s; display: inline-flex;
  align-items: center; justify-content: center; gap: 0.4rem;
  text-decoration: none; line-height: 1.4;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--border-light); color: var(--text); }
.btn-success { background: var(--success); color: white; }
.btn-error { background: var(--error); color: white; }
.btn-warning { background: var(--warning); color: white; }
.btn-warning:hover { background: #D97706; }
.btn-text { background: none; color: var(--text-secondary); }
.btn-text:hover { color: var(--primary); }
.btn-full { width: 100%; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1.1rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* App Layout */
.app { display: flex; min-height: 100vh; }

/* Sidebar (Desktop) */
.sidebar {
  width: var(--sidebar-width); background: var(--card);
  border-right: 1px solid var(--border); display: flex;
  flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0;
  z-index: 100;
}
.sidebar-header {
  padding: 1.25rem 1rem; display: flex; align-items: center; gap: 0.6rem;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-logo { font-size: 1.5rem; }
.sidebar-title { font-weight: 700; font-size: 1.05rem; color: var(--primary); }
.sidebar-nav { list-style: none; padding: 0.5rem 0; flex: 1; overflow-y: auto; }
.sidebar-nav li a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem; color: var(--text-secondary);
  text-decoration: none; transition: all 0.15s; font-size: 0.95rem;
}
.sidebar-nav li a:hover, .sidebar-nav li a.active {
  background: var(--primary-light); color: var(--primary-dark);
}
.sidebar-footer { padding: 1rem; border-top: 1px solid var(--border-light); }
.sidebar-user { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; word-break: break-all; }

/* Main Content */
.main-content {
  flex: 1; margin-left: var(--sidebar-width);
  padding: 1.5rem; padding-bottom: calc(var(--bottom-nav-height) + 1.5rem);
  max-width: 900px;
}

/* Bottom Nav (Mobile) */
.bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--card); border-top: 1px solid var(--border);
  height: var(--bottom-nav-height); z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
  overflow: hidden;
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px;
  text-decoration: none; color: var(--text-light); font-size: 0.65rem;
  min-width: 0;
}
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item .nav-icon { font-size: 1.2rem; }
.bottom-nav-item .nav-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bottom-nav-item.nav-center .nav-center-icon {
  background: var(--primary); color: white; width: 42px; height: 42px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-top: -8px; box-shadow: var(--shadow-lg);
}

/* Page Header */
.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.5rem; color: var(--text); }
.page-header p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.25rem; }

/* Cards */
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1rem;
}
.card-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.75rem; }

/* Stats Grid */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem; margin-bottom: 1.5rem;
}
.stat-card {
  background: var(--card); border-radius: var(--radius); padding: 1rem;
  box-shadow: var(--shadow); text-align: center;
}
.stat-value { font-size: 1.75rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.2rem; }

/* List Items */
.list-item {
  background: var(--card); border-radius: var(--radius); padding: 1rem 1.25rem;
  box-shadow: var(--shadow); margin-bottom: 0.75rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; transition: box-shadow 0.2s;
}
.list-item:hover { box-shadow: var(--shadow-lg); }
.list-item-content { flex: 1; min-width: 0; }
.list-item-title { font-weight: 600; font-size: 1rem; color: var(--text); }
.list-item-subtitle { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.15rem; }
.list-item-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }

/* Badge */
.badge {
  display: inline-flex; align-items: center; padding: 0.15rem 0.5rem;
  border-radius: 20px; font-size: 0.75rem; font-weight: 500;
}
.badge-success { background: var(--success-light); color: var(--success); }
.badge-error { background: var(--error-light); color: var(--error); }
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-info { background: var(--info-light); color: var(--info); }

/* Search */
.search-bar { margin-bottom: 1rem; }
.search-bar input {
  width: 100%; padding: 0.7rem 0.9rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-family);
  background: var(--card);
}
.search-bar input:focus { outline: none; border-color: var(--primary); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 1rem;
}
.modal-content {
  background: var(--card); border-radius: var(--radius-lg);
  padding: 1.5rem; width: 100%; max-width: 500px;
  max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.modal-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.modal-actions .btn { flex: 1; }

/* Toast */
.toast {
  position: fixed; bottom: calc(var(--bottom-nav-height) + 1rem);
  left: 50%; transform: translateX(-50%);
  background: var(--text); color: white; padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm); font-size: 0.9rem; z-index: 2000;
  box-shadow: var(--shadow-lg); max-width: 90%; text-align: center;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* Empty State */
.empty-state {
  text-align: center; padding: 3rem 1rem; color: var(--text-light);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.empty-state-text { font-size: 0.95rem; }

/* Quiz Styles */
.quiz-card {
  background: var(--card); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; box-shadow: var(--shadow-lg); text-align: center;
  max-width: 600px; margin: 0 auto;
}
.quiz-question-label { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.quiz-question {
  font-size: 1.5rem; font-weight: 600; color: var(--text);
  margin-bottom: 1.5rem; line-height: 1.5;
}
.quiz-answer {
  background: var(--border-light); border-radius: var(--radius);
  padding: 1rem; margin: 1rem 0; font-size: 1.1rem; color: var(--text);
  min-height: 60px; display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.quiz-answer.revealed { background: var(--success-light); color: var(--success); }
.quiz-answer.error { background: var(--error-light); color: var(--error); }
.quiz-controls { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.quiz-mic-btn {
  width: 64px; height: 64px; border-radius: 50%; border: none;
  background: var(--primary); color: white; font-size: 1.5rem;
  cursor: pointer; margin: 0.5rem auto; display: flex;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: all 0.2s;
}
.quiz-mic-btn:active { transform: scale(0.95); }
.quiz-mic-btn.recording {
  background: var(--error); animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(239,68,68,0); }
}
.quiz-judgment { display: flex; gap: 0.75rem; }
.quiz-judgment .btn { flex: 1; }
.quiz-progress {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; font-size: 0.85rem; color: var(--text-secondary);
}
.quiz-wechat-hint {
  background: var(--warning-light); color: var(--warning);
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; margin: 1rem 0; text-align: center;
}

/* Import Styles */
.import-textarea {
  width: 100%; min-height: 200px; padding: 1rem;
  border: 2px dashed var(--border); border-radius: var(--radius);
  font-size: 0.95rem; font-family: var(--font-family);
  background: var(--card); resize: vertical;
}
.import-textarea:focus { outline: none; border-color: var(--primary); border-style: solid; }
.file-upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 2rem; text-align: center; cursor: pointer;
  transition: all 0.2s; margin-bottom: 1rem;
}
.file-upload-zone:hover { border-color: var(--primary); background: var(--primary-light); }
.file-upload-zone-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.file-upload-zone-text { color: var(--text-secondary); font-size: 0.9rem; }

/* Preview Table */
.preview-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.preview-table th { text-align: left; padding: 0.5rem; background: var(--border-light); font-weight: 600; }
.preview-table td { padding: 0.5rem; border-top: 1px solid var(--border-light); }
.preview-table tr.duplicate { background: var(--warning-light); }
.preview-table tr.missing { background: var(--error-light); }

/* Word/Sentence Card */
.study-card {
  background: var(--card); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.study-card-content {
  flex: 1;
  min-width: 0;
}
.study-card-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 0.5rem; }
.study-card-english { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.study-card-chinese { font-size: 0.95rem; color: var(--text-secondary); margin-top: 0.2rem; }
.study-card-english-row { display: inline-flex; align-items: center; gap: 0; }
.study-card-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.study-card-meta-item { font-size: 0.75rem; color: var(--text-light); }

/* Speak Button using PNG image - Minimum 44x44px for touch */
.speak-btn-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--garden-ivory);
  cursor: pointer;
  margin-left: 12px;
  flex-shrink: 0;
  vertical-align: middle;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  padding: 0;
  line-height: 1;
  border: 2px solid var(--garden-gold);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.speak-btn-img img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;
}

.speak-btn-img:hover {
  transform: scale(1.1);
  background: var(--garden-gold);
  box-shadow: 0 4px 12px rgba(201, 154, 69, 0.4);
}

.speak-btn-img:active {
  transform: scale(0.95);
}

.speak-btn-img.speaking {
  background: var(--garden-green);
  border-color: var(--garden-green);
  animation: speak-pulse 1s ease-in-out infinite;
}

.speak-btn-img.speaking img {
  filter: brightness(0) invert(1);
}

@keyframes speak-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Legacy SVG speak button (kept for compatibility) */
.speak-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--garden-ivory);
  color: var(--garden-gold);
  cursor: pointer;
  margin-left: 12px;
  flex-shrink: 0;
  vertical-align: middle;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  padding: 0;
  line-height: 1;
  border: 2px solid var(--garden-gold);
}
.speak-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  pointer-events: none;
}
.speak-btn:hover {
  background: var(--primary);
  color: white;
}
.speak-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.speak-btn:active {
  transform: scale(0.9);
}
.speak-btn.speaking {
  background: var(--info);
  color: white;
  animation: speak-pulse 1s ease-in-out infinite;
}
.speak-btn.unsupported {
  opacity: 0.3;
  cursor: not-allowed;
}
.speak-btn.unsupported:hover {
  background: var(--primary-light);
  color: var(--primary);
}
/* Sentence card: button at start, so use margin-right instead of margin-left */
.study-card-english-row .speak-btn:first-child {
  margin-left: 0;
  margin-right: 6px;
}
@keyframes speak-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Action Bar */
.action-bar { display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.action-bar .btn { flex: 1; min-width: 120px; }

/* Filter Tabs */
.filter-tabs { display: flex; gap: 0.4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.filter-tab {
  padding: 0.4rem 0.8rem; border: 2px solid var(--border); border-radius: 20px;
  background: var(--card); color: var(--text-secondary); font-size: 0.85rem;
  cursor: pointer; transition: all 0.2s; font-family: var(--font-family);
}
.filter-tab.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* PWA Install Banner */
.install-banner {
  background: var(--primary-light); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.install-banner-icon { font-size: 1.5rem; }
.install-banner-text { flex: 1; font-size: 0.85rem; color: var(--text); }
.install-banner-text strong { color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .bottom-nav { display: flex; }
  .main-content {
    margin-left: 0; padding: 1rem;
    padding-bottom: calc(var(--bottom-nav-height) + 1.5rem);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-card { padding: 1.5rem; }
  .quiz-card { padding: 1.5rem 1rem; }
  .quiz-question { font-size: 1.25rem; }
  .study-card { padding: 1rem; }
}

@media (min-width: 769px) {
  .bottom-nav { display: none; }
  .sidebar { display: flex; }
}

@media (min-width: 1024px) {
  .main-content { padding: 2rem; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
  .main-content { max-width: 1000px; margin: 0 auto; }
}

/* Utility */
.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
.text-warning { color: var(--warning); }
.text-secondary { color: var(--text-secondary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }

/* Study card actions row */
.study-card-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; align-items: center; }
.study-card-badges { display: flex; gap: 0.3rem; flex-shrink: 0; flex-wrap: wrap; }

/* Preview bulk action bar */
.preview-bulk-bar { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.preview-bulk-bar span { font-size: 0.85rem; color: var(--text-secondary); }

/* ===== Quiz Settings & New Quiz Styles ===== */
.quiz-settings-section {
  background: var(--card); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1rem;
}
.quiz-settings-title {
  font-size: 1.05rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text);
}
.quiz-quick-select {
  display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.quiz-quick-select .btn { font-size: 0.8rem; }
.quiz-date-list {
  display: flex; flex-direction: column; gap: 0.4rem;
  max-height: 300px; overflow-y: auto;
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  padding: 0.5rem;
}
.quiz-date-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  cursor: pointer; transition: background 0.15s; min-height: 44px;
}
.quiz-date-item:hover { background: var(--primary-light); }
.quiz-date-checkbox {
  width: 20px; height: 20px; flex-shrink: 0; cursor: pointer; accent-color: var(--primary);
}
.quiz-date-label {
  font-size: 0.95rem; font-weight: 500; color: var(--text); flex-shrink: 0;
}
.quiz-date-counts {
  display: flex; gap: 0.3rem; flex-wrap: wrap; margin-left: auto;
}
.quiz-date-info {
  font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.5rem; text-align: center;
}

/* Content type tabs */
.quiz-type-tabs {
  display: flex; gap: 0; background: var(--border-light);
  border-radius: var(--radius-sm); padding: 4px; overflow: hidden;
}
.quiz-type-tab {
  flex: 1; padding: 0.6rem 0.5rem; border: none; background: none;
  font-size: 0.9rem; color: var(--text-secondary); cursor: pointer;
  border-radius: var(--radius-sm); transition: all 0.2s;
  font-family: var(--font-family); text-align: center; white-space: nowrap;
}
.quiz-type-tab.active {
  background: var(--card); color: var(--primary); font-weight: 600; box-shadow: var(--shadow);
}

/* Count info */
.quiz-count-info {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 0.75rem; font-size: 0.9rem;
}
.quiz-count-total { color: var(--text); }
.quiz-count-dedup { color: var(--text-light); font-size: 0.8rem; }
.quiz-count-options {
  display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.5rem;
}
.quiz-count-option {
  display: flex; align-items: center; gap: 0.3rem; cursor: pointer;
  font-size: 0.9rem; color: var(--text); min-height: 44px;
}
.quiz-count-option input[type="radio"] {
  accent-color: var(--primary); width: 18px; height: 18px;
}
.quiz-custom-count-area { margin-top: 0.5rem; }

/* Quiz start area */
.quiz-start-area { margin-top: 1.5rem; }

/* Quiz top bar */
.quiz-top-bar {
  display: flex; justify-content: flex-start; margin-bottom: 0.5rem;
}
.quiz-top-bar .btn { min-height: 44px; }

/* Quiz meta row */
.quiz-meta-row {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 0.75rem; justify-content: center;
}
.quiz-source-date {
  font-size: 0.75rem; color: var(--text-light);
}

/* Quiz speak button with SVG */
.quiz-speak-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 44px;
}
.quiz-speak-btn svg { flex-shrink: 0; }

/* Quiz mic button with SVG */
.quiz-mic-btn svg { pointer-events: none; flex-shrink: 0; }

/* Quiz reveal button with SVG */
.quiz-reveal-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.quiz-reveal-btn svg { flex-shrink: 0; }

/* Quiz skip button */
.quiz-skip-btn { min-height: 44px; }

/* Quiz result page */
.quiz-result-info {
  font-size: 0.85rem; color: var(--text-secondary); margin: 0.3rem 0; text-align: center;
}
.quiz-result-section {
  margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--border-light);
  text-align: left;
}
.quiz-result-section h4 {
  font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem;
}
.quiz-mini-stats {
  font-size: 0.85rem; color: var(--text-secondary);
}
.quiz-date-result {
  font-size: 0.8rem; color: var(--text-secondary); margin: 0.2rem 0;
}
.quiz-result-actions { margin-top: 1.5rem; }

/* Responsive for quiz settings */
@media (max-width: 480px) {
  .quiz-type-tabs { flex-direction: column; }
  .quiz-type-tab { font-size: 0.85rem; padding: 0.5rem; }
  .quiz-date-item { padding: 0.4rem 0.5rem; }
  .quiz-count-options { flex-direction: column; gap: 0.5rem; }
  .quiz-count-option { font-size: 0.85rem; }
  .quiz-settings-section { padding: 1rem; }
  .quiz-card { padding: 1.25rem 0.75rem; }
  .quiz-question { font-size: 1.15rem; }
  .quiz-mic-btn { width: 56px; height: 56px; }
  .quiz-judgment { flex-wrap: wrap; }
  .quiz-judgment .btn { min-height: 44px; font-size: 0.9rem; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .quiz-type-tabs { flex-wrap: nowrap; }
  .quiz-type-tab { font-size: 0.85rem; }
}

/* ============================================
   Garden Theme - Stage 2A
   Splash Screen & Responsive Navigation
   ============================================ */

/* Splash Screen */
.garden-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--garden-ivory);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.garden-splash.hidden { display: none !important; }

/* Desktop Splash */
.splash-desktop {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.splash-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.splash-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.splash-content {
  position: absolute;
  z-index: 10;
  text-align: left;
}

.splash-content-left {
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 400px;
}

.splash-date {
  font-size: 14px;
  color: var(--garden-gold);
  margin-bottom: 16px;
  font-weight: 500;
}

.splash-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--garden-brown);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.splash-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.splash-greeting {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.greeting-name {
  font-size: 28px;
  font-weight: 600;
  color: var(--garden-brown);
}

.greeting-heart {
  font-size: 24px;
}

.splash-tagline {
  font-size: 16px;
  color: var(--garden-gold);
  margin-bottom: 32px;
  font-style: italic;
}

.splash-enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--garden-red);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(231, 76, 79, 0.3);
  transition: all 0.3s ease;
}

.splash-enter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 76, 79, 0.4);
  background: #d94447;
}

.splash-enter-btn .arrow {
  transition: transform 0.3s ease;
}

.splash-enter-btn:hover .arrow {
  transform: translateX(4px);
}

/* Tablet Splash */
.splash-tablet {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.splash-content-bottom {
  left: 0;
  right: 0;
  bottom: 10%;
  text-align: center;
  padding: 0 24px;
}

.splash-content-bottom .splash-title {
  font-size: 36px;
}

.splash-content-bottom .greeting-name {
  font-size: 24px;
}

/* Phone Splash - R8 Full Image Version */
.splash-phone {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--garden-ivory);
}

.splash-phone-full {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.splash-img-r8 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.splash-enter-btn-r8 {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--garden-red) 0%, #D63031 100%);
  border: none;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(231, 76, 79, 0.4);
  z-index: 10;
  white-space: nowrap;
}

.splash-enter-btn-r8:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 79, 0.5);
}

.splash-enter-btn-r8 .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.splash-enter-btn-r8:hover .arrow {
  transform: translateX(4px);
}

/* R8 Dynamic Date Overlay */
.splash-r8-date {
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 500;
  color: #4B382B;
  text-align: center;
  z-index: 5;
  letter-spacing: 0.5px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.95) 0%, rgba(255, 248, 236, 0.7) 100%);
  padding: 6px 16px;
  border-radius: 16px;
  border: 1px solid rgba(201, 154, 69, 0.3);
  white-space: nowrap;
}

/* Responsive Splash Display */
@media (max-width: 767px) {
  .splash-phone { display: flex; }
  .splash-tablet, .splash-desktop { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .splash-tablet { display: flex; }
  .splash-phone, .splash-desktop { display: none !important; }
}

@media (min-width: 1200px) {
  .splash-desktop { display: flex; }
  .splash-phone, .splash-tablet { display: none !important; }
}

/* ============================================
   Garden Sidebar - Character Navigation
   ============================================ */

.sidebar-desktop,
.sidebar-tablet {
  display: none;
}

.sidebar-desktop {
  width: var(--sidebar-width);
  background: white;
  border-right: 2px solid var(--garden-gold);
}

.sidebar-desktop .sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-desktop .sidebar-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--garden-gold);
  background: var(--garden-ivory);
}

.sidebar-desktop .sidebar-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-desktop .sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--garden-brown);
}

.sidebar-desktop .sidebar-nav {
  list-style: none;
  padding: 16px;
}

.sidebar-desktop .sidebar-nav li {
  margin-bottom: 4px;
}

.sidebar-desktop .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.sidebar-desktop .nav-link:hover {
  background: var(--border-light);
  color: var(--garden-brown);
}

.sidebar-desktop .nav-link.active {
  background: linear-gradient(135deg, var(--garden-pink) 0%, var(--garden-red) 100%);
  color: white;
}

.sidebar-desktop .nav-link .nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--garden-ivory);
  border: 1px solid var(--garden-gold);
}

.sidebar-desktop .nav-link .nav-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-desktop .nav-link.active .nav-icon {
  border-color: rgba(255,255,255,0.5);
}

/* Tablet Sidebar */
.sidebar-tablet {
  width: var(--sidebar-tablet-width);
  background: white;
  border-right: 2px solid var(--garden-gold);
}

.sidebar-tablet .sidebar-header {
  justify-content: center;
  padding: 16px 8px;
}

.sidebar-tablet .sidebar-logo {
  width: 56px;
  height: 56px;
}

.sidebar-tablet .sidebar-nav {
  padding: 8px;
}

.sidebar-tablet .nav-link {
  flex-direction: column;
  gap: 4px;
  padding: 12px 4px;
}

.sidebar-tablet .nav-link .nav-icon {
  width: 44px;
  height: 44px;
}

.sidebar-tablet .nav-label {
  font-size: 11px;
}

.more-dots {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-secondary);
}

/* Responsive Sidebar */
@media (min-width: 768px) and (max-width: 1199px) {
  .sidebar-tablet { display: flex; flex-direction: column; }
  .sidebar-desktop { display: none !important; }
  .main-content { margin-left: var(--sidebar-tablet-width); }
}

@media (min-width: 1200px) {
  .sidebar-desktop { display: flex; flex-direction: column; }
  .sidebar-tablet { display: none !important; }
  .main-content { margin-left: var(--sidebar-width); }
}

/* ============================================
   More Menu Modal
   ============================================ */

.more-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

.more-menu.hidden { display: none !important; }

.more-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
}

.more-menu-content {
  position: absolute;
  bottom: var(--bottom-nav-safe-height);
  left: 0;
  right: 0;
  background: white;
  border-radius: 24px 24px 0 0;
  padding: 24px;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.more-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.more-menu-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--garden-brown);
}

.more-menu-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--border-light);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-secondary);
}

.more-menu-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.more-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--garden-ivory);
  border-radius: 16px;
  text-decoration: none;
  color: var(--garden-brown);
  font-size: 13px;
  transition: all 0.2s ease;
}

.more-menu-item:hover {
  background: var(--border-light);
}

.more-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--garden-gold);
  background: white;
}

.more-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Garden Home Page - Stage 2A
   ============================================ */

.garden-home {
  padding: 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.garden-greeting-section {
  background: linear-gradient(135deg, var(--garden-pink) 0%, var(--garden-red) 100%);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--garden-gold);
}

.garden-greeting-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.garden-greeting-content {
  position: relative;
  z-index: 1;
}

.garden-greeting-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.garden-greeting-tagline {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}

.garden-greeting-date {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 12px;
  display: inline-block;
}

.garden-greeting-character {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--garden-gold);
  background: var(--garden-ivory);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.garden-greeting-character img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Home Grid */
.garden-home-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

/* Garden Cards */
.garden-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--garden-gold);
  box-shadow: var(--shadow);
}

.garden-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.garden-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--garden-brown);
}

.garden-card-badge {
  background: var(--garden-green);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.garden-card-badge.fire {
  background: var(--garden-red);
}

/* Practice Card */
.garden-card-practice {
  border-left: 4px solid var(--garden-green);
}

.practice-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background: var(--garden-ivory);
  border-radius: 16px;
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--garden-green);
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.practice-progress {
  margin-bottom: 20px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.progress-value {
  font-weight: 600;
  color: var(--garden-green);
}

.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--garden-green) 0%, var(--garden-teal) 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* Streak Card */
.garden-card-streak {
  border-left: 4px solid var(--garden-red);
}

.streak-content {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.streak-left {
  flex: 1;
  min-width: 0;
}

.streak-main {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.streak-days {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}

.streak-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--garden-red);
  line-height: 1;
}

.streak-unit {
  font-size: 16px;
  color: var(--text-secondary);
}

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

.streak-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.streak-total {
  font-weight: 500;
  color: var(--garden-brown) !important;
}

.streak-sub {
  font-size: 11px !important;
  color: var(--text-light) !important;
  margin-top: 2px;
}

.streak-character {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--garden-ivory);
  border: 2px solid var(--garden-gold);
  box-shadow: var(--shadow);
}

.streak-character img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weekly-check {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px;
  background: var(--garden-ivory);
  border-radius: 12px;
}

.week-day {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  color: var(--text-light);
  background: white;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.week-day.checked {
  background: var(--garden-green);
  color: white;
  border-color: var(--garden-green);
}

.week-day.today {
  background: var(--garden-red);
  color: white;
  border-color: var(--garden-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Notes Card */
.garden-card-notes {
  border-left: 4px solid var(--garden-blue);
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--garden-ivory);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.note-item:hover {
  background: var(--border-light);
}

.note-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  font-size: 18px;
  border: 1px solid var(--border);
}

.note-content {
  flex: 1;
  min-width: 0;
}

.note-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--garden-brown);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.note-desc {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.note-date {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
}

/* Quick Actions Card */
.garden-card-quick {
  border-left: 4px solid var(--garden-yellow);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 16px;
}

.quick-item:hover {
  background: var(--garden-ivory);
  transform: translateY(-2px);
}

.quick-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--garden-ivory);
  border: 2px solid var(--garden-gold);
  box-shadow: var(--shadow);
}

.quick-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

/* Responsive Home Grid */
@media (min-width: 768px) and (max-width: 1199px) {
  .garden-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .garden-card-notes,
  .garden-card-quick {
    grid-column: span 2;
  }
  .quick-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .garden-greeting-character {
    width: 120px;
    height: 120px;
  }
}

@media (min-width: 1200px) {
  .garden-home-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .garden-card-notes {
    grid-column: span 1;
  }
  .garden-card-quick {
    grid-column: span 3;
  }
  .quick-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .garden-greeting-character {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 480px) {
  .garden-home {
    padding: 16px;
  }
  .garden-greeting-section {
    padding: 20px;
  }
  .garden-greeting-character {
    width: 80px;
    height: 80px;
  }
  .practice-stats {
    grid-template-columns: 1fr;
  }
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .streak-content {
    flex-direction: column;
    gap: 12px;
  }
  .streak-character {
    width: 60px;
    height: 60px;
    align-self: flex-end;
    margin-top: -40px;
  }
  .streak-number {
    font-size: 36px;
  }
  .week-day {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  .weekly-check {
    gap: 6px;
    padding: 10px;
  }
  .more-menu-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
