:root {
  --bg-warm: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-bubble: #FFFBEB;
  --bubble-border: #FDE68A;
  --text-main: #1C1917;
  --text-muted: #78716C;
  --text-light: #A8A29E;
  --accent-terra: #C2410C;
  --accent-amber: #D97706;
  --accent-gold: #B45309;
  --border-light: #E7E0D6;
  --border-subtle: #F0EAE1;
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 4px 12px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 12px 30px rgba(28, 25, 23, 0.1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", STSong, "Times New Roman", serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Header & Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-btn-apply {
  background: #FFF;
  color: var(--accent-terra);
  border: 1px solid var(--accent-terra);
}

.nav-btn-apply:hover {
  background: var(--accent-terra);
  color: #FFF;
}

.nav-btn-hub {
  background: #292524;
  color: #FFF;
}

.nav-btn-hub:hover {
  background: #000;
}

/* Page Container */
.main-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

/* Hub Styles */
.hub-hero {
  text-align: center;
  padding: 30px 0 40px;
}

.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.hub-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: #1C1917;
}

.hub-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 24px;
}

.hub-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #FFF;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  background: #1C1917;
  color: #FFF;
  border-color: #1C1917;
}

/* Recipe Grid */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 28px;
}

.recipe-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #E7E0D6;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recipe-card:hover .card-img {
  transform: scale(1.04);
}

.card-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(28, 25, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-terra);
}

.card-practice-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: #FEF3C7;
  color: #92400E;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #FDE68A;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-slogan {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.card-quote-box {
  background: #F5F1E8;
  border-left: 3px solid var(--accent-amber);
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 0.82rem;
  color: #57534E;
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: auto;
}

.card-meta-left {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
}

.card-link-btn {
  background: #1C1917;
  color: #FFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.recipe-card:hover .card-link-btn {
  background: var(--accent-terra);
}

/* ==================== Detail Page Specific Styles ==================== */
.recipe-header {
  margin-bottom: 28px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.recipe-title-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.detail-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1C1917;
}

.detail-author-badge {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-terra);
  background: #FFEDD5;
  padding: 3px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.detail-slogan {
  font-size: 1.15rem;
  font-weight: 600;
  color: #44403C;
  margin-bottom: 14px;
  line-height: 1.5;
}

.detail-golden-quote {
  background: #FDF6E2;
  border: 1px solid #FDE68A;
  border-left: 4px solid var(--accent-amber);
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-icon {
  font-size: 1.4rem;
  color: var(--accent-amber);
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: #78350F;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
}

.recipe-meta-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 5px 12px;
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: #44403C;
}

.meta-pill.practice-pill {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
  font-weight: 700;
}

/* Detail Hero Image */
.detail-hero-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ingredients Section */
.recipe-section {
  margin-bottom: 42px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1C1917;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Portion Scaler */
.portion-scaler {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 4px 6px;
  box-shadow: var(--shadow-sm);
}

.scaler-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0 6px;
}

.scaler-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #F5F1E8;
  color: #1C1917;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.scaler-btn:hover {
  background: var(--accent-terra);
  color: #FFF;
}

.scaler-display {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-terra);
  min-width: 44px;
  text-align: center;
}

/* Cake Size Pills */
.cake-size-group {
  display: flex;
  gap: 6px;
}

.size-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  background: #FFF;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.size-pill.active {
  background: #1C1917;
  color: #FFF;
  border-color: #1C1917;
}

/* Ingredient Cards Grid */
.ingredients-card-box {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.ingredient-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border-light);
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px 16px;
  align-items: start;
  margin-bottom: 20px;
}

.ingredient-item {
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  background: #FAF7F2;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.ingredient-item:hover {
  background: #F6F0E8;
  border-color: #E2D9CD;
}

.ingredient-item.checked {
  opacity: 0.5;
  background: #F3ECE2;
}

.ingredient-item.checked .ing-name,
.ingredient-item.checked .ing-amount {
  text-decoration: line-through;
}

.ing-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.ing-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.ing-check {
  width: 17px;
  height: 17px;
  accent-color: var(--accent-terra);
  cursor: pointer;
  flex-shrink: 0;
}

.ing-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #292524;
}

.sub-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #EFE6D8;
  border: 1px solid #DCCFBF;
  color: #78350F;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.25;
  user-select: none;
}

.sub-pill-btn:hover {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
  transform: translateY(-1px);
}

.sub-pill-btn.active {
  background: #FDE68A;
  border-color: #D97706;
  color: #78350F;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.ing-amount {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-terra);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Substitution Drawer */
.ing-sub-drawer {
  display: none;
  margin-top: 8px;
  padding: 9px 11px;
  background: #FFFDF9;
  border-radius: 8px;
  border: 1px dashed #DFD3C4;
  font-size: 0.79rem;
  line-height: 1.5;
  color: #44403C;
}

.ing-sub-drawer.show {
  display: flex;
  flex-direction: column;
  gap: 5px;
  animation: subFadeIn 0.2s ease;
}

@keyframes subFadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.sub-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.sub-tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin-top: 1px;
  line-height: 1.3;
}

.sub-line.good .sub-tag {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.sub-line.warn .sub-tag {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.sub-line.note .sub-tag {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.sub-detail {
  flex: 1;
  font-size: 0.78rem;
  color: #57534E;
}

.sub-detail strong {
  color: #78350F;
  font-weight: 600;
}

.sub-detail .warn-text {
  color: #B91C1C;
  font-weight: 600;
}

/* Section Header Actions & Global Toggle */
.section-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toggle-all-subs-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #FFF;
  border: 1px solid var(--border-light);
  color: var(--text-base);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.toggle-all-subs-btn:hover {
  border-color: var(--accent-terra);
  color: var(--accent-terra);
  background: #FFF9F5;
}

.toggle-all-subs-btn.active {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
}

/* Ingredients Footer Note */
.ing-footer-note {
  margin-top: 16px;
  padding: 12px 14px;
  background: #FAF5ED;
  border-radius: 8px;
  border-left: 3px solid var(--accent-amber);
  font-size: 0.83rem;
  line-height: 1.55;
  color: #57534E;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ing-footer-note .note-icon {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==================== Cooking Steps Timeline ==================== */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-row {
  display: flex;
  gap: 20px;
}

.step-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 38px;
  flex-shrink: 0;
}

.step-num-badge {
  width: 36px;
  height: 36px;
  background: #1C1917;
  color: #FFF;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.step-line {
  flex: 1;
  width: 2px;
  background: var(--border-light);
  margin-top: 8px;
}

.step-content-box {
  flex: 1;
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

.step-action-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1C1917;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-instruction {
  font-size: 0.96rem;
  color: #44403C;
  line-height: 1.7;
  margin-bottom: 14px;
}

.step-instruction strong {
  color: #C2410C;
  font-weight: 700;
}

/* Inline Kitchen Timer */
.step-timer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #92400E;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.step-timer-btn:hover {
  background: #FDE68A;
}

.step-timer-btn.running {
  background: #FEE2E2;
  border-color: #FECACA;
  color: #991B1B;
  animation: pulse 1.5s infinite;
}

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

/* ==================== 💭 Laura's Thought Cloud Bubble ==================== */
.thought-cloud-wrapper {
  margin-top: 14px;
  position: relative;
}

.thought-bubble {
  background: var(--bg-bubble);
  border: 1.5px solid var(--bubble-border);
  border-radius: 16px;
  padding: 14px 18px;
  position: relative;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.08);
}

.thought-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #B45309;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.thought-text {
  font-size: 0.92rem;
  color: #78350F;
  line-height: 1.6;
  font-style: italic;
}

.thought-tail {
  position: absolute;
  top: -10px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tail-dot-1 {
  width: 8px;
  height: 8px;
  background: var(--bg-bubble);
  border: 1.5px solid var(--bubble-border);
  border-radius: 50%;
}

.tail-dot-2 {
  width: 5px;
  height: 5px;
  background: var(--bg-bubble);
  border: 1px solid var(--bubble-border);
  border-radius: 50%;
  margin-left: 2px;
}

/* ==================== Reader Practice Counter Widget ==================== */
.practice-action-box {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 100%);
  border: 1.5px solid #FED7AA;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
}

.practice-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #9A3412;
  margin-bottom: 6px;
}

.practice-desc {
  font-size: 0.88rem;
  color: #7C2D12;
  margin-bottom: 18px;
}

.practice-btn {
  background: #EA580C;
  color: #FFF;
  border: none;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.practice-btn:hover {
  background: #C2410C;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

.practice-btn.done {
  background: #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

/* ==================== Full Lore / History Section at the End ==================== */
.recipe-lore-section {
  background: #F7F3EB;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px 36px;
  margin-top: 50px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.lore-seal {
  position: absolute;
  top: -18px;
  right: 32px;
  background: #991B1B;
  color: #FFF;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  box-shadow: 0 2px 6px rgba(153, 27, 27, 0.3);
}

.lore-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #44403C;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lore-body {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: #57534E;
  line-height: 1.85;
}

.lore-body p {
  margin-bottom: 14px;
}

.lore-body p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .detail-title {
    font-size: 1.75rem;
  }
  .recipes-grid {
    grid-template-columns: 1fr;
  }
  .step-row {
    gap: 12px;
  }
  .step-content-box {
    padding: 16px 18px;
  }
  .recipe-lore-section {
    padding: 24px 20px;
  }
}

/* Screen Wake Lock & Cooking Focus Button */
.wake-lock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #FFF;
  border: 1px solid #E7E5E4;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #78716C;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.wake-lock-btn:hover {
  border-color: #D97706;
  color: #C2410C;
}

.wake-lock-btn.active {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #B45309;
}

/* User Custom Memo Card (Cross-device Sync) */
.user-memo-card {
  margin-top: 24px;
  background: #FFFDF9;
  border: 1px dashed #D97706;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.06);
}

.memo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.memo-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #7C2D12;
}

.memo-sync-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: #B45309;
  background: #FEF3C7;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  transition: all 0.2s ease;
}

.memo-card-desc {
  font-size: 0.88rem;
  color: #78716C;
  line-height: 1.55;
  margin-bottom: 12px;
}

.user-memo-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 80px;
  padding: 12px 14px;
  border: 1px solid #E7E5E4;
  border-radius: 10px;
  background: #FAFAF9;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #292524;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s, background-color 0.2s;
}

.user-memo-textarea:focus {
  outline: none;
  border-color: #C2410C;
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.1);
}

