body.christmas-coloring-sheets-page {
  --bg-primary: #8b0000;
  --bg-pack-card: rgba(255, 255, 255, 0.06);
  --bg-pack-card-hover: rgba(255, 255, 255, 0.1);
  --bg-pack-expanded: rgba(0, 0, 0, 0.2);
  --bg-sheet-preview: #ffffff;
  --bg-build-banner: rgba(255, 215, 0, 0.08);
  --bg-panel: rgba(44, 13, 10, 0.78);
  --gold: #ffd700;
  --gold-soft: rgba(255, 215, 0, 0.18);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.82);
  --text-muted: rgba(255, 255, 255, 0.48);
  --paper-shadow: 0 14px 30px rgba(69, 26, 14, 0.14);
  --pack-santa: #ff7675;
  --pack-winter: #81ecec;
  --pack-tree: #78e08f;
  --pack-nativity: #a29bfe;
  --pack-toddler: #fdcb6e;
  --pack-tradition: #fd79a8;
  --pack-classroom: #74b9ff;
  --pack-adult: #dfe6e9;
}

.christmas-coloring-sheets-page .site {
  position: relative;
}

.ccs-skip-link {
  position: absolute;
  left: 18px;
  top: -110px;
  z-index: 60;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #2f1504;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.ccs-skip-link:focus {
  top: 12px;
}

.ccs-page-main {
  width: min(1280px, 100%);
  margin: 30px auto 0;
  display: grid;
  gap: 20px;
}

.ccs-breadcrumb,
.ccs-hero,
.ccs-section-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.ccs-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.16);
  background: rgba(255, 244, 230, 0.1);
  color: #ffe7d1;
  font-size: 0.84rem;
}

.ccs-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.ccs-breadcrumb a:hover,
.ccs-breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ccs-hero-shell,
.section-block.ccs-section-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 215, 0, 0.18);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

.ccs-hero-shell {
  padding: 58px 42px 48px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 214, 153, 0.16), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(90, 15, 12, 0.98), rgba(40, 12, 11, 0.95));
}

.ccs-hero-shell::before,
.section-block.ccs-section-shell::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px dashed rgba(255, 248, 230, 0.15);
  pointer-events: none;
}

.ccs-hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
    repeating-linear-gradient(
      180deg,
      transparent,
      transparent 28px,
      rgba(255, 255, 255, 0.03) 29px,
      rgba(255, 255, 255, 0.03) 30px
    );
  opacity: 0.18;
  pointer-events: none;
}

.ccs-snowfall {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ccs-snowfall span {
  position: absolute;
  top: -20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  animation: ccs-fall linear infinite;
}

.ccs-snowfall span:nth-child(1) {
  left: 4%;
  animation-duration: 9s;
  animation-delay: -2s;
}

.ccs-snowfall span:nth-child(2) {
  left: 16%;
  animation-duration: 11s;
  animation-delay: -6s;
}

.ccs-snowfall span:nth-child(3) {
  left: 26%;
  animation-duration: 8s;
  animation-delay: -1s;
}

.ccs-snowfall span:nth-child(4) {
  left: 36%;
  animation-duration: 12s;
  animation-delay: -7s;
}

.ccs-snowfall span:nth-child(5) {
  left: 48%;
  animation-duration: 10s;
  animation-delay: -4s;
}

.ccs-snowfall span:nth-child(6) {
  left: 59%;
  animation-duration: 13s;
  animation-delay: -8s;
}

.ccs-snowfall span:nth-child(7) {
  left: 69%;
  animation-duration: 9s;
  animation-delay: -3s;
}

.ccs-snowfall span:nth-child(8) {
  left: 79%;
  animation-duration: 11s;
  animation-delay: -5s;
}

.ccs-snowfall span:nth-child(9) {
  left: 89%;
  animation-duration: 10s;
  animation-delay: -2s;
}

.ccs-snowfall span:nth-child(10) {
  left: 95%;
  animation-duration: 12s;
  animation-delay: -6s;
}

.ccs-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  gap: 24px;
  align-items: start;
}

.ccs-hero-copy {
  display: grid;
  gap: 14px;
}

.countdown-badge {
  justify-self: end;
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 220px;
  padding: 22px 20px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 215, 0, 0.22);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 239, 196, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 246, 224, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.countdown-badge .star {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 215, 0, 0.14);
  border: 1px solid rgba(255, 215, 0, 0.18);
  font-size: 1.1rem;
}

.countdown-badge-title {
  color: #fff0d8;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.days-num {
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 0.94;
}

.days-label {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge-link {
  width: fit-content;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.badge-link:hover,
.badge-link:focus-visible {
  background: rgba(255, 215, 0, 0.18);
  text-decoration: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ccs-hero-copy h1 {
  margin: 0;
  max-width: 10ch;
  font-family: "Cinzel", serif;
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: #fff1d8;
}

.ccs-hero-subtitle {
  margin: 0;
  max-width: 28ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.16;
  color: rgba(255, 255, 255, 0.92);
}

.ccs-hero-intro {
  width: min(760px, 100%);
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 244, 230, 0.92);
  font-size: 0.89rem;
}

.section-header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  text-align: center;
}

.section-header.compact {
  margin-bottom: 18px;
  text-align: left;
}

.section-kicker {
  margin: 0;
  color: rgba(255, 241, 222, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-header h2 {
  margin: 0;
  color: #fff0d8;
  font-family: "Cinzel", serif;
  font-size: clamp(1.95rem, 4vw, 3rem);
  line-height: 1.08;
}

.section-subtitle {
  width: min(900px, 100%);
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.8;
}

.section-subtitle a,
.library-note a,
.faq-answer a,
.party-card a {
  color: var(--gold);
}

.filter-bar,
.builder-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn,
.builder-filter-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff1dd;
  font: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible,
.builder-filter-btn:hover,
.builder-filter-btn:focus-visible,
.filter-btn.active,
.builder-filter-btn.active {
  background: rgba(255, 215, 0, 0.16);
  border-color: rgba(255, 215, 0, 0.32);
  transform: translateY(-1px);
}

.filter-status {
  margin: 16px 0 0;
  color: var(--text-secondary);
}

.build-banner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px 36px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 255, 255, 0.04)),
    var(--bg-build-banner);
  border: 1px solid rgba(255, 215, 0, 0.18);
}

.build-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 92% 16%, rgba(255, 215, 0, 0.1), transparent 20%);
  pointer-events: none;
}

.build-banner-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.build-banner h2 {
  margin: 0;
  color: #fff3db;
  font-family: "Cinzel", serif;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}

.build-banner p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.build-banner-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.16);
  border: 1px solid rgba(255, 215, 0, 0.28);
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.library-note {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 249, 239, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.library-note p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.pack-library {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.pack-card {
  --pack-accent: var(--gold);
  background: var(--bg-pack-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pack-card:hover {
  border-color: rgba(255, 215, 0, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.pack-card.is-hidden {
  display: none;
}

.pack-card[data-theme="santa"] {
  --pack-accent: var(--pack-santa);
}

.pack-card[data-theme="winter"] {
  --pack-accent: var(--pack-winter);
}

.pack-card[data-theme="trees"] {
  --pack-accent: var(--pack-tree);
}

.pack-card[data-theme="nativity"] {
  --pack-accent: var(--pack-nativity);
}

.pack-card[data-theme="toddler"] {
  --pack-accent: var(--pack-toddler);
}

.pack-card[data-theme="traditions"] {
  --pack-accent: var(--pack-tradition);
}

.pack-card[data-theme="classroom"] {
  --pack-accent: var(--pack-classroom);
}

.pack-card[data-theme="adult"] {
  --pack-accent: var(--pack-adult);
}

.pack-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  cursor: pointer;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
}

.pack-header:hover,
.pack-header:focus-visible {
  background: rgba(255, 255, 255, 0.03);
}

.pack-title-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}

.pack-theme-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 18px;
  background: color-mix(in srgb, var(--pack-accent) 18%, rgba(255, 255, 255, 0.02));
  border: 1px solid color-mix(in srgb, var(--pack-accent) 40%, rgba(255, 255, 255, 0.12));
  font-size: 1.4rem;
}

.pack-heading {
  display: grid;
  gap: 5px;
}

.pack-title {
  margin: 0;
  color: #fff2dc;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  line-height: 1.1;
}

.pack-subtitle {
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.pack-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 360px;
}

.pack-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff3df;
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.pack-badge.count {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--gold);
}

.pack-badge.theme {
  background: color-mix(in srgb, var(--pack-accent) 16%, rgba(255, 255, 255, 0.02));
  border-color: color-mix(in srgb, var(--pack-accent) 40%, rgba(255, 255, 255, 0.12));
}

.pack-toggle-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: transform 0.26s ease;
}

.pack-card.expanded .pack-toggle-arrow {
  transform: rotate(180deg);
}

.pack-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 24px 16px;
}

.pack-thumb {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.pack-thumb-paper {
  position: relative;
  aspect-ratio: 210 / 297;
  border-radius: 16px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 245, 0.98)),
    var(--bg-sheet-preview);
  box-shadow: var(--paper-shadow);
}

.pack-thumb-paper::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 1px solid rgba(212, 176, 109, 0.78);
}

.pack-thumb-paper svg,
.sheet-preview-paper svg,
.builder-tile-paper svg {
  width: 100%;
  height: 100%;
}

.pack-thumb-title {
  color: rgba(255, 243, 230, 0.92);
  font-size: 0.8rem;
  line-height: 1.4;
}

.pack-actions,
.pack-expanded-actions,
.sheet-actions,
.builder-summary-actions,
.builder-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pack-actions {
  padding: 0 24px 22px;
  align-items: center;
}

.pack-copy-label,
.copies-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.pack-copy-label select,
.copies-label select {
  appearance: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #fff2de;
  font: inherit;
  padding: 10px 36px 10px 12px;
}

.action-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff2de;
  font: inherit;
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.action-btn:hover,
.action-btn:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.action-btn.primary {
  background: rgba(255, 215, 0, 0.14);
  border-color: rgba(255, 215, 0, 0.3);
  color: #fff3d1;
}

.pack-expanded {
  display: none;
  padding: 0 24px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.08)),
    var(--bg-pack-expanded);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pack-card.expanded .pack-expanded {
  display: grid;
  gap: 18px;
}

.pack-expanded-top {
  display: grid;
  gap: 12px;
  padding-top: 22px;
}

.pack-lead {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.pack-selected-note {
  color: rgba(255, 241, 221, 0.88);
  font-size: 0.9rem;
}

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

.sheet-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 249, 239, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sheet-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.sheet-check input,
.builder-tile-check input {
  width: 18px;
  height: 18px;
  accent-color: #ffd700;
}

.sheet-code {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet-preview-paper,
.builder-tile-paper {
  position: relative;
  aspect-ratio: 210 / 297;
  border-radius: 18px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 245, 0.98)),
    var(--bg-sheet-preview);
  box-shadow: var(--paper-shadow);
}

.sheet-preview-paper::before,
.builder-tile-paper::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(212, 176, 109, 0.78);
}

.sheet-body {
  display: grid;
  gap: 10px;
}

.sheet-title {
  margin: 0;
  color: #fff2dd;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1.12;
}

.sheet-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet-desc {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.sheet-meta {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.builder-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.builder-toolbar {
  display: grid;
  gap: 16px;
}

.builder-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: 20px;
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.builder-tile {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 249, 239, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.builder-tile.is-hidden {
  display: none;
}

.builder-tile-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.builder-tile-body {
  display: grid;
  gap: 8px;
}

.builder-tile-title {
  margin: 0;
  color: #fff2df;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.builder-pack-label {
  color: var(--text-muted);
  font-size: 0.83rem;
}

.builder-summary {
  height: fit-content;
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 249, 239, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.builder-summary h3 {
  margin: 0;
  color: #fff0d8;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
}

.builder-summary-copy {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.summary-meta {
  display: grid;
  gap: 12px;
  color: var(--text-secondary);
}

.builder-selection-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selection-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff1dd;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.selection-chip:hover,
.selection-chip:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 215, 0, 0.22);
  transform: translateY(-1px);
}

.builder-empty {
  margin: 0;
  color: var(--text-muted);
}

.tips-layout,
.party-grid,
.related-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tips-card,
.party-card,
.related-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 249, 239, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tips-card.wide {
  grid-column: 1 / -1;
}

.tips-card h3,
.party-card h3 {
  margin: 0;
  color: #fff0d8;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
}

.tips-card p,
.party-card p,
.faq-answer {
  color: var(--text-secondary);
  line-height: 1.8;
}

.tips-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.party-note {
  margin-top: auto;
  color: #fff3d5;
  font-size: 0.88rem;
}

.table-wrap {
  overflow-x: auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.info-table th {
  color: #fff0d6;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-table td {
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  background: rgba(255, 249, 239, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #fff0da;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 20px 18px;
}

.related-card {
  text-decoration: none;
}

.related-card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.18);
  font-size: 1.25rem;
}

.related-card-title {
  margin: 0;
  color: #fff0d7;
  font-size: 1.2rem;
}

.related-card-desc {
  color: var(--text-secondary);
}

.related-card-cta {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

.ccs-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 130;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(32, 14, 8, 0.92);
  color: #fff4de;
  border: 1px solid rgba(255, 215, 0, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.ccs-toast[hidden] {
  display: none;
}

@keyframes ccs-fall {
  0% {
    transform: translate3d(0, -12px, 0);
    opacity: 0;
  }

  12% {
    opacity: 0.85;
  }

  100% {
    transform: translate3d(12px, 440px, 0);
    opacity: 0;
  }
}

@media (max-width: 1180px) {
  .ccs-hero-grid,
  .builder-content-grid {
    grid-template-columns: 1fr;
  }

  .countdown-badge {
    justify-self: start;
  }

  .pack-sheets-grid,
  .builder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .build-banner,
  .tips-layout,
  .party-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .pack-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pack-header {
    flex-wrap: wrap;
  }

  .pack-badges {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .ccs-hero-shell,
  .section-block.ccs-section-shell {
    padding: 28px 18px 24px;
    border-radius: 24px;
  }

  .ccs-hero-shell::before,
  .section-block.ccs-section-shell::before {
    inset: 10px;
    border-radius: 18px;
  }

  .hero-meta,
  .filter-bar,
  .builder-filter-bar,
  .pack-actions,
  .pack-expanded-actions,
  .sheet-actions,
  .builder-action-row,
  .builder-summary-actions {
    gap: 8px;
  }

  .pack-sheets-grid,
  .builder-grid,
  .pack-thumbnails {
    grid-template-columns: 1fr;
  }

  .countdown-badge {
    min-width: 0;
    width: 100%;
    padding: 18px 16px;
  }

  .build-banner,
  .sheet-card,
  .tips-card,
  .party-card,
  .related-card,
  .builder-summary {
    padding: 18px;
  }

  .pack-header,
  .pack-actions,
  .pack-expanded {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pack-actions {
    padding-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccs-snowfall span,
  .pack-card,
  .filter-btn,
  .builder-filter-btn,
  .action-btn,
  .pack-toggle-arrow {
    animation: none !important;
    transition: none !important;
  }
}
