body.christmas-coloring-page {
  --bg-primary: #8b0000;
  --bg-card: rgba(255, 255, 255, 0.07);
  --bg-card-hover: rgba(255, 255, 255, 0.11);
  --bg-panel: rgba(39, 12, 10, 0.78);
  --bg-preview: #ffffff;
  --bg-preview-hover: #fffef0;
  --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);
  --text-on-white: #1a1a1a;
  --easy: #78e08f;
  --medium: #fdcb6e;
  --hard: #a29bfe;
  --paper-line: rgba(109, 70, 37, 0.13);
  --paper-shadow: 0 12px 30px rgba(69, 26, 14, 0.14);
}

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

.ccp-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;
}

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

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

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

.ccp-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;
}

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

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

.ccp-hero-shell,
.section-block.ccp-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);
}

.ccp-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));
}

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

.ccp-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.ccp-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;
}

.ccp-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;
}

.ccp-hero-subtitle {
  margin: 0;
  max-width: 30ch;
  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);
}

.ccp-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 {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff4e6;
  font-size: 0.88rem;
}

.gallery-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.snapshot-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.12), rgba(255, 250, 242, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.snapshot-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.2rem;
}

.snapshot-card h3,
.section-header h2,
.tips-card h3,
.related-card-title {
  margin: 0;
}

.snapshot-card p,
.gallery-note p,
.tips-card p,
.tips-list,
.callout-item p,
.related-card-desc {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.gallery-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-block.ccp-section-shell {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 217, 150, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(64, 18, 16, 0.9), rgba(31, 10, 10, 0.94));
  padding: 36px 32px 32px;
}

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

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

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

.section-header h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  color: #fff0db;
}

.section-subtitle {
  margin: 0;
  max-width: 84ch;
  color: var(--text-secondary);
  line-height: 1.8;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.filter-btn {
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff4e2;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.filter-btn.active {
  border-color: rgba(255, 215, 0, 0.42);
  background: rgba(255, 215, 0, 0.16);
  color: #fff0d6;
}

.filter-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.difficulty-note {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.difficulty-note-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  align-items: center;
}

.difficulty-symbol {
  font-weight: 700;
  color: #fff4df;
}

.difficulty-summary,
.difficulty-tools {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.easy-note {
  box-shadow: inset 0 0 0 1px rgba(120, 224, 143, 0.08);
}

.medium-note {
  box-shadow: inset 0 0 0 1px rgba(253, 203, 110, 0.08);
}

.detailed-note {
  box-shadow: inset 0 0 0 1px rgba(162, 155, 254, 0.08);
}

.coloring-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 8px;
}

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

.coloring-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.coloring-card:hover,
.coloring-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

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

.coloring-preview {
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.24), rgba(255, 249, 239, 0.1)),
    rgba(0, 0, 0, 0.06);
  padding: 16px;
}

.preview-paper {
  position: relative;
  width: 100%;
  display: block;
  border-radius: 18px;
  aspect-ratio: 210 / 297;
  padding: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 245, 0.98)),
    var(--bg-preview);
  box-shadow: var(--paper-shadow);
}

.preview-open {
  appearance: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.preview-paper::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(212, 176, 109, 0.8);
  pointer-events: none;
}

.preview-paper::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 10px;
  border: 1px solid rgba(212, 176, 109, 0.28);
  pointer-events: none;
}

.svg-layer,
.preview-paper svg {
  width: 100%;
  height: 100%;
}

.svg-layer {
  display: block;
  position: relative;
  z-index: 1;
}

.svg-color {
  position: absolute;
  inset: 14px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.svg-bw {
  transition: opacity 0.35s ease;
}

.coloring-card:hover .svg-bw,
.coloring-card:focus-within .svg-bw {
  opacity: 0;
}

.coloring-card:hover .svg-color,
.coloring-card:focus-within .svg-color {
  opacity: 1;
}

.preview-hint {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(42, 18, 8, 0.72);
  color: #fff3d8;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.coloring-card-body {
  display: grid;
  gap: 14px;
  padding: 20px 20px 22px;
}

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

.coloring-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.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.difficulty-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.difficulty-chip.easy {
  background: rgba(120, 224, 143, 0.16);
  color: var(--easy);
}

.difficulty-chip.medium {
  background: rgba(253, 203, 110, 0.16);
  color: var(--medium);
}

.difficulty-chip.detailed {
  background: rgba(162, 155, 254, 0.14);
  color: var(--hard);
}

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

.coloring-card-kicker {
  margin: -8px 0 0;
  color: rgba(255, 215, 0, 0.84);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coloring-card-desc {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.78;
}

.coloring-meta-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.coloring-meta-list strong {
  color: #fff4e5;
}

.coloring-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.action-btn {
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff6e9;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.action-btn.primary {
  background: rgba(255, 215, 0, 0.16);
  border-color: rgba(255, 215, 0, 0.22);
  color: #fff4d8;
}

.save-btn.is-saved {
  background: rgba(255, 107, 107, 0.18);
  border-color: rgba(255, 107, 107, 0.35);
  color: #ffd8d8;
}

.tips-layout,
.print-layout,
.classroom-ideas {
  display: grid;
  gap: 18px;
}

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

.print-layout,
.classroom-ideas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tips-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 249, 239, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.tips-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  color: #fff0dc;
}

.tips-list {
  padding-left: 18px;
}

.tips-list li + li {
  margin-top: 10px;
}

.tips-list.ordered {
  list-style: decimal;
}

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

.info-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--text-secondary);
}

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

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

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

.palette-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.palette-card h4 {
  margin: 0 0 10px;
  color: #fff4dd;
  font-size: 1rem;
}

.palette-card code {
  color: #ffe3b4;
}

.callout-list {
  display: grid;
  gap: 14px;
}

.callout-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.callout-item strong {
  display: block;
  margin-bottom: 8px;
  color: #fff2de;
}

.faq-list {
  display: grid;
  gap: 14px;
}

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

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

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

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  line-height: 1.78;
}

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

.related-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 249, 239, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.related-card:hover,
.related-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.32);
  background: rgba(255, 249, 239, 0.1);
}

.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 {
  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;
}

.studio-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(11, 4, 4, 0.74);
  backdrop-filter: blur(8px);
}

.studio-modal[hidden] {
  display: none;
}

.studio-dialog {
  position: relative;
  width: min(1200px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 215, 0, 0.22);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 216, 148, 0.11), transparent 28%),
    linear-gradient(135deg, rgba(83, 18, 14, 0.98), rgba(34, 12, 10, 0.95));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.studio-dialog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 340px);
  gap: 20px;
  padding: 28px;
}

.studio-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff4e0;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.studio-stage-wrap,
.studio-sidebar {
  display: grid;
  gap: 18px;
}

.studio-stage-header {
  display: grid;
  gap: 8px;
}

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

.studio-stage-header h2 {
  margin: 0;
  color: #fff0dc;
  font-family: "Cinzel", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.studio-tip {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.studio-stage {
  min-height: 70vh;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.96), rgba(255, 249, 241, 0.98));
  box-shadow: inset 0 0 0 1px rgba(212, 176, 109, 0.28), var(--paper-shadow);
}

.studio-stage svg {
  width: 100%;
  height: auto;
  max-height: calc(70vh - 40px);
}

.studio-stage [data-region] {
  cursor: cell;
  transition: fill 0.18s ease;
}

.studio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.studio-palette-block,
.studio-help {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 249, 239, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-palette-block h3,
.studio-help h3 {
  margin: 0 0 14px;
  color: #fff0d8;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
}

.studio-active-colour {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: #cc0000;
}

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

.palette-btn {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 10px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff0da;
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
}

.palette-btn .swatch {
  width: 24px;
  height: 24px;
}

.palette-btn.is-active {
  border-color: rgba(255, 215, 0, 0.34);
  background: rgba(255, 215, 0, 0.13);
}

.studio-help .tips-list {
  color: var(--text-secondary);
}

.ccp-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);
}

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

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

  12% {
    opacity: 0.85;
  }

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

@media (max-width: 1080px) {
  .ccp-hero-grid,
  .studio-dialog-grid,
  .print-layout,
  .classroom-ideas,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-snapshot,
  .tips-layout,
  .palette-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .coloring-grid.detailed {
    grid-template-columns: 1fr;
  }

  .studio-stage {
    min-height: 52vh;
  }
}

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

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

  .hero-meta,
  .filter-bar,
  .coloring-actions,
  .studio-toolbar {
    gap: 8px;
  }

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

  .gallery-snapshot,
  .tips-layout,
  .palette-grid,
  .coloring-grid,
  .coloring-grid.detailed,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .coloring-card-body,
  .tips-card,
  .snapshot-card,
  .related-card {
    padding: 18px;
  }

  .studio-dialog {
    max-height: 96vh;
  }

  .studio-dialog-grid {
    padding: 18px;
  }

  .studio-palette {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccp-snowfall span,
  .coloring-card,
  .action-btn,
  .filter-btn,
  .related-card,
  .svg-bw,
  .svg-color {
    animation: none !important;
    transition: none !important;
  }
}
