/* ===== 故事书蜡笔美学 · CSS 变量 ===== */
:root {
  --paper: #F5EDDC;
  --paper-dark: #EDE3CC;
  --paper-warm: #F8F2E4;
  --ink: #3D2914;
  --ink-soft: #5C4428;
  --forest: #2D5A27;
  --forest-light: #4A7C43;
  --mustard: #E8B923;
  --mustard-light: #F1CE55;
  --brick: #C25B3E;
  --brick-light: #D97B5E;
  --cream: #FAF5E8;
  --gold: #E8B923;
  --gold-shine: #FFD95C;
  --shadow: rgba(61, 41, 20, 0.15);
  --shadow-deep: rgba(61, 41, 20, 0.25);

  --font-display: 'ZCOOL KuaiLe', 'Ma Shan Zheng', cursive;
  --font-hand: 'Patrick Hand', 'ZCOOL KuaiLe', cursive;
  --font-body: 'Baloo 2', 'ZCOOL KuaiLe', system-ui, sans-serif;
}

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

html, body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

/* ===== 纸张肌理背景 ===== */
body {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(194, 91, 62, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(45, 90, 39, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(232, 185, 35, 0.05) 0%, transparent 60%);
  position: relative;
}

/* 蜡笔纸张纹理 - 用伪元素叠加噪点 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 1;
}

/* ===== 歪扭手绘边框工具类 ===== */
.wobbly-border {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 18px 22px 20px 24px / 22px 18px 24px 20px;
  box-shadow:
    3px 3px 0 var(--ink),
    5px 5px 12px var(--shadow);
}

.wobbly-border-soft {
  border: 2.5px solid var(--ink-soft);
  border-radius: 16px 20px 18px 22px / 20px 16px 22px 18px;
}

/* ===== 蜡笔笔触效果 ===== */
.crayon-underline {
  position: relative;
  display: inline-block;
}
.crayon-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -2%;
  width: 104%;
  height: 8px;
  background: var(--mustard);
  border-radius: 40% 60% 50% 50%;
  opacity: 0.5;
  transform: rotate(-0.5deg);
  z-index: -1;
}

/* ===== 金色星星贴纸 ===== */
.star-sticker {
  display: inline-block;
  position: relative;
  filter: drop-shadow(2px 2px 1px rgba(61, 41, 20, 0.2));
}

/* ===== 页面布局 ===== */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  position: relative;
  z-index: 2;
}

/* ===== 顶部标题区 ===== */
.header-section {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding: 36px 24px 32px;
}

.header-section .tape-1,
.header-section .tape-2 {
  position: absolute;
  width: 100px;
  height: 28px;
  background: var(--mustard);
  opacity: 0.7;
  transform: rotate(-3deg);
  top: -8px;
  box-shadow: 1px 2px 4px var(--shadow);
}
.header-section .tape-1 { left: 20%; transform: rotate(-4deg); }
.header-section .tape-2 { right: 20%; transform: rotate(3deg); background: var(--brick-light); opacity: 0.6; }

.main-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.main-title .title-star {
  display: inline-block;
  margin: 0 6px;
  animation: twinkle 2.5s ease-in-out infinite;
}
.main-title .title-star:nth-child(2) { animation-delay: 0.5s; }
.main-title .title-star:nth-child(3) { animation-delay: 1s; }

@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(5deg); }
}

.sub-title {
  font-family: var(--font-hand);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-weight: 400;
}

/* 筛选漏斗 */
.funnel-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--ink-soft);
}

.funnel-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--cream);
  border: 2px dashed var(--ink-soft);
  border-radius: 20px 18px 22px 20px;
  font-weight: 600;
}
.funnel-step .num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brick);
}
.funnel-step.highlight .num {
  color: var(--forest);
  font-size: 1.4rem;
}
.funnel-arrow {
  font-size: 1.2rem;
  color: var(--mustard);
  font-weight: bold;
}

/* ===== 四维评分对比区 ===== */
.radar-section {
  margin-bottom: 48px;
  padding: 28px 24px 32px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 24px 28px 22px 26px / 26px 22px 28px 24px;
  box-shadow: 4px 4px 0 var(--ink), 8px 8px 20px var(--shadow);
  position: relative;
}

.radar-section::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 32px;
  width: 60px;
  height: 28px;
  background: var(--forest-light);
  opacity: 0.7;
  transform: rotate(-2deg);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.section-title .section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--mustard);
  border-radius: 50%;
  font-size: 1rem;
  margin-right: 10px;
  border: 2.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  vertical-align: middle;
}

/* 涂鸦柱状图容器 */
.bar-chart {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--mustard) var(--paper-dark);
}
.bar-chart::-webkit-scrollbar { height: 8px; }
.bar-chart::-webkit-scrollbar-track { background: var(--paper-dark); border-radius: 4px; }
.bar-chart::-webkit-scrollbar-thumb { background: var(--mustard); border-radius: 4px; }

.bar-group {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.bar-group:hover {
  transform: translateY(-4px) rotate(-0.5deg);
}
.bar-group.active {
  transform: scale(1.02);
}

.bar-group .project-label {
  font-family: var(--font-hand);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.3;
  min-height: 2.6em;
}

.bar-group .score-badge {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brick);
  background: var(--paper-warm);
  padding: 2px 10px;
  border-radius: 12px;
  border: 2px solid var(--brick);
  transform: rotate(-1deg);
}

.bars-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  padding: 0 4px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 36px;
}

.bar {
  width: 100%;
  border-radius: 8px 10px 6px 8px / 10px 8px 8px 6px;
  border: 2.5px solid var(--ink);
  position: relative;
  transition: all 0.3s ease;
  /* 蜡笔纹理 */
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 3px,
      rgba(255,255,255,0.15) 3px,
      rgba(255,255,255,0.15) 6px
    );
}
.bar:hover {
  filter: brightness(1.1);
}

.bar-0 { background-color: var(--forest-light); }
.bar-1 { background-color: var(--mustard); }
.bar-2 { background-color: var(--brick-light); }
.bar-3 { background-color: #8B7EC8; }

.bar-label {
  font-family: var(--font-hand);
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  height: 48px;
}

.bar-value {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--ink);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s;
}
.bar:hover .bar-value {
  opacity: 1;
}

/* 图例 */
.chart-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 2px dashed var(--ink-soft);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-hand);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.legend-swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px 6px 5px 7px / 6px 4px 7px 5px;
  border: 2px solid var(--ink);
}
.legend-swatch.c0 { background: var(--forest-light); }
.legend-swatch.c1 { background: var(--mustard); }
.legend-swatch.c2 { background: var(--brick-light); }
.legend-swatch.c3 { background: #8B7EC8; }

/* ===== 推荐清单区 ===== */
.cards-section {
  margin-bottom: 48px;
  position: relative;
}

.cards-section .section-title {
  margin-bottom: 24px;
}

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== 项目卡片 ===== */
.project-card {
  background: var(--paper-warm);
  border: 3px solid var(--ink);
  border-radius: 22px 26px 20px 24px / 24px 20px 26px 22px;
  padding: 24px 24px 20px 24px;
  box-shadow: 4px 4px 0 var(--ink), 8px 8px 20px var(--shadow);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translate(-2px, -3px) rotate(-0.3deg);
  box-shadow: 6px 7px 0 var(--ink), 12px 14px 28px var(--shadow);
}

.project-card.rank-1 { background: linear-gradient(135deg, #FFF8E0 0%, var(--paper-warm) 60%); }
.project-card.rank-2 { background: linear-gradient(135deg, #FFF0E8 0%, var(--paper-warm) 60%); }
.project-card.rank-3 { background: linear-gradient(135deg, #E8F5E6 0%, var(--paper-warm) 60%); }
.project-card.rank-4 { background: var(--paper-warm); }
.project-card.rank-5 { background: var(--paper-warm); }

/* 卡通头像 */
.card-avatar {
  position: absolute;
  top: -22px;
  left: -12px;
  width: 72px;
  height: 72px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 50% 48% 52% 50% / 48% 50% 50% 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 2;
  transform: rotate(-5deg);
}

/* 排名角标 */
.rank-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--mustard);
  border: 3px solid var(--ink);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(6deg);
  line-height: 1;
  z-index: 2;
}
.rank-badge .rank-num {
  font-size: 1.3rem;
  line-height: 1;
}
.rank-badge.rank-1 { background: var(--gold-shine); }
.rank-badge.rank-2 { background: #E8E8E8; }
.rank-badge.rank-3 { background: #E8B97B; }

/* 星星评分贴纸 */
.stars-rating {
  position: absolute;
  top: 18px;
  right: 86px;
  display: flex;
  gap: 2px;
  align-items: center;
  z-index: 2;
}
.stars-rating .score-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brick);
  margin-left: 4px;
}

/* 卡片头部 */
.card-header {
  margin-left: 68px;
  margin-bottom: 14px;
  padding-right: 140px;
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.project-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-family: var(--font-hand);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  background: var(--forest-light);
  color: white;
  border-radius: 12px 10px 14px 11px / 10px 12px 11px 14px;
  font-weight: 600;
  font-size: 0.82rem;
  border: 2px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
}

.star-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.star-count .today-star {
  color: var(--brick);
  font-weight: 700;
}

/* 卡片主体 */
.card-body {
  margin-left: 68px;
}

.desc-text {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* 信息分区 */
.info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.info-label {
  flex-shrink: 0;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 2px 10px;
  border-radius: 10px 8px 12px 9px / 8px 10px 9px 12px;
  color: var(--ink);
  white-space: nowrap;
  border: 2px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
}

.info-label.type { background: #F0D78C; }
.info-label.tech { background: var(--mustard-light); }
.info-label.usage { background: #A8D5BA; }
.info-label.highlight { background: var(--forest-light); color: white; }
.info-label.warning { background: var(--brick-light); color: white; }
.info-label.audience { background: #B8A9E0; color: white; }

.info-content {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* 展开/收起 */
.card-details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.card-details.open {
  max-height: 600px;
}

.expand-hint {
  text-align: center;
  margin-top: 8px;
  font-family: var(--font-hand);
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.expand-hint .arrow {
  display: inline-block;
  transition: transform 0.3s;
  font-size: 1rem;
}
.expand-hint.open .arrow {
  transform: rotate(180deg);
}

/* ===== 被排除项目区 ===== */
.excluded-section {
  margin-bottom: 36px;
  padding: 20px 24px 24px;
  background: var(--paper-dark);
  border: 2.5px dashed var(--ink-soft);
  border-radius: 20px 24px 18px 22px / 22px 18px 24px 20px;
  position: relative;
}

.excluded-section .section-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.excluded-section .section-title .toggle-icon {
  transition: transform 0.3s;
  font-size: 1rem;
}
.excluded-section.collapsed .section-title .toggle-icon {
  transform: rotate(-90deg);
}

.excluded-content {
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.excluded-section.collapsed .excluded-content {
  max-height: 0;
}

.excluded-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.excluded-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--cream);
  border: 2px solid var(--ink-soft);
  border-radius: 14px 12px 16px 13px / 12px 14px 13px 16px;
  font-family: var(--font-hand);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.excluded-chip .chip-name {
  font-weight: 600;
  color: var(--ink);
}
.excluded-chip .chip-reason {
  font-size: 0.78rem;
  opacity: 0.8;
}

/* ===== 归档侧边栏 ===== */
.archive-toggle-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  background: var(--mustard);
  border: 2.5px solid var(--ink);
  border-radius: 14px 16px 13px 15px / 15px 13px 16px 14px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.15s;
}
.archive-toggle-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.archive-toggle-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.archive-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(61, 41, 20, 0.4);
  z-index: 149;
}

.archive-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--paper-warm);
  border-right: 3px solid var(--ink);
  z-index: 150;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px var(--shadow);
}
.archive-sidebar.open {
  left: 0;
}

.sidebar-header {
  padding: 20px 18px 16px;
  border-bottom: 2.5px dashed var(--ink-soft);
  position: relative;
  background: var(--cream);
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0;
}

.sidebar-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--brick-light);
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1.5px 1.5px 0 var(--ink);
}

.archive-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.archive-list::-webkit-scrollbar { width: 6px; }
.archive-list::-webkit-scrollbar-track { background: var(--paper-dark); }
.archive-list::-webkit-scrollbar-thumb { background: var(--mustard); border-radius: 3px; }

.archive-item {
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 14px 16px 13px 15px / 15px 13px 16px 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 0 var(--ink);
}
.archive-item:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--paper-warm);
}
.archive-item.active {
  background: linear-gradient(135deg, #FFF8E0 0%, #FFEFA8 100%);
  border-color: var(--forest);
  box-shadow: 2px 2px 0 var(--forest);
}

.archive-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.archive-day {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 700;
}

.archive-weekday {
  font-family: var(--font-hand);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.latest-badge {
  background: var(--brick);
  color: white;
  font-family: var(--font-hand);
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 8px 6px 9px 7px / 6px 8px 7px 9px;
  border: 1.5px solid var(--ink);
  font-weight: 600;
}

.archive-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.archive-count {
  font-family: var(--font-hand);
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.archive-top {
  font-family: var(--font-hand);
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.archive-score {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--brick);
}

.sidebar-footer {
  padding: 12px 16px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-top: 2px dashed var(--ink-soft);
  background: var(--cream);
}

/* ===== 页脚 ===== */
.footer {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding-top: 20px;
  border-top: 2px dashed var(--ink-soft);
  margin-top: 20px;
}

/* ===== 装饰元素 ===== */
.deco-sticker {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .app-container {
    padding: 64px 14px 40px;
  }

  .header-section {
    padding: 24px 12px 20px;
  }

  .main-title {
    font-size: 1.8rem;
  }

  .funnel-bar {
    font-size: 0.88rem;
    gap: 6px 8px;
  }

  .funnel-step {
    padding: 4px 10px;
    font-size: 0.85rem;
  }

  .radar-section {
    padding: 20px 14px 24px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .bar-group {
    flex: 0 0 160px;
  }

  .bars-wrapper {
    height: 130px;
    gap: 6px;
  }

  .bar-item {
    width: 28px;
  }

  .project-card {
    padding: 60px 16px 16px;
  }

  .card-avatar {
    top: -18px;
    left: 12px;
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .rank-badge {
    top: -10px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 0.6rem;
  }
  .rank-badge .rank-num {
    font-size: 1.1rem;
  }

  .stars-rating {
    top: auto;
    bottom: -12px;
    right: 16px;
    background: var(--cream);
    padding: 2px 8px;
    border: 2px solid var(--ink);
    border-radius: 12px;
    box-shadow: 1.5px 1.5px 0 var(--ink);
  }

  .card-header {
    margin-left: 0;
    padding-right: 0;
  }

  .card-body {
    margin-left: 0;
  }

  .project-name {
    font-size: 1.15rem;
  }

  .info-row {
    flex-direction: column;
    gap: 4px;
  }

  .excluded-section {
    padding: 14px 16px 18px;
  }

  .archive-toggle-btn {
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .archive-sidebar {
    width: 280px;
    left: -290px;
  }
}
