/* The heading, card and preview-close control share the shop's identity.
   Only Classic uses the shop's palette for the actual opening scene. */
#receive .recipient-intro h1 {
  font: 700 clamp(27px, 7.7vw, 41px)/1.04 var(--holiday-display, Georgia, serif);
  text-transform: none;
  letter-spacing: -.043em;
  text-wrap: balance;
  text-shadow: 0 2px 14px #1f091c8a;
}
#receive .recipient-intro p { font-size: 12px; line-height: 1.42; text-wrap: pretty; }
#receive .opening-revealed .recipient-intro h1 { font-size: clamp(29px, 8.5vw, 40px); }
#receive .card-reveal .card-msg {
  font: 700 clamp(20px, 5.4vw, 25px)/1.31 var(--holiday-display, Georgia, serif);
  letter-spacing: -.022em;
}
#receive .your-turn {
  font: 700 clamp(26px, 7vw, 33px)/1.08 var(--holiday-display, Georgia, serif);
  text-transform: none;
  letter-spacing: -.045em;
}
body[data-mode="receive"] #close-try {
  color: var(--holiday-paper, #fff1d3);
  border-color: #ffd59470;
  background: #681629ec;
  box-shadow: 0 3px 11px #240b1965;
}

body[data-mode="receive"],
body[data-mode="receive"] .shell { background-color: var(--surface); }
body[data-mode="receive"][data-theme="classic"],
body[data-mode="receive"][data-theme="classic"] .shell,
body[data-theme="classic"] #receive .recipient-wrap { background-color: #3b222d; }
#receive .recipient-wrap {
  --scene-floor: var(--surface);
}
body[data-theme="classic"] #receive .recipient-wrap { --scene-floor: #3b222d; }
#receive .recipient-wrap::before {
  background-image: linear-gradient(180deg, #18121fd0 0%, #18121f82 16%, #18121f18 29%, transparent 39%, transparent 65%, #18121f53 78%, var(--scene-floor) 100%), var(--active-world);
  background-position: center, center 44%;
  background-size: auto, cover;
}
body[data-theme="classic"] #receive :is(.recipient-intro h1, .current-world) { color: var(--holiday-paper, #fff1d3); }
body[data-theme="classic"] #receive :is(.recipient-intro p, .recipient-action .micro, .after-card > p) {
  color: #f9ddc7;
  text-shadow: 0 1px 8px #4d10208f;
}
body[data-theme="classic"] #receive :is(.recipient-intro .eyebrow, .lock-count strong, .hit-score strong) {
  color: var(--holiday-gold, #ffd594);
  text-shadow: 0 2px 13px #49101c;
}
body[data-theme="classic"] #receive :is(.lock-date, .lock-count span, .after-card small, .after-card .text-btn) { color: #f8dcc0; }
body[data-theme="classic"] #receive :is(.wrap-status, .receive-progress, .voice-meter) {
  border-color: #ffcf8f63;
  background: #64192bcf;
  box-shadow: 0 2px 9px #2e0d1a40;
}
body[data-theme="classic"] #receive .receive-progress i { background: linear-gradient(90deg, #eaa359, #ffe7ad); }
#receive :is(.hit-label, .turn-hint) { color: #fff0d9; text-shadow: 0 1px 3px #1b131a, 0 0 8px #1b131a; }
body[data-mode="receive"] #receive .hit-score strong { text-shadow: 0 2px #261620, 0 2px 10px #241221c0; }

#receive :is(.mic-actions .btn, .after-card .btn, #test-unlock) {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid #ffebc9b3;
  font: 800 13px/1.16 Arial, sans-serif;
  letter-spacing: .03em;
  box-shadow: 0 3px 0 #32091566, 0 8px 16px #350b1a40;
  text-shadow: none;
}
#receive :is(.mic-actions .btn, .after-card .btn, #test-unlock):active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #32091566, 0 4px 8px #350b1a40;
}
#receive :is(.mic-actions, .after-card) .btn.primary {
  color: #641720;
  background: linear-gradient(#fff1d4, #f6d899);
}
#receive :is(.mic-actions, .after-card) .btn.ghost,
#receive #test-unlock {
  color: #fff3da;
  background: #6a1027df;
}
#receive :is(.btn, .gift-hit, .text-btn):focus-visible { outline-color: #ffcf7f; }

body[data-theme="classic"] #receive .card-reveal {
  border-top-color: #a9293c;
  box-shadow: inset 0 1px #ffffffc4, 0 4px 0 #a9774f, 0 16px 34px #3d0a1b7c;
  color: #3c2524;
}
body[data-theme="classic"] #receive .card-reveal .card-msg { color: #4d2027; }
body[data-theme="classic"] #receive .after-card {
  border-color: #edb98555;
  background: radial-gradient(ellipse at 50% 0%, #a7393b55, transparent 76%), #661729ec;
  box-shadow: inset 0 1px #fff2, 0 11px 23px #3d0d1f54;
}
body[data-theme="classic"] #receive .your-turn { color: #ffe5bc; }

@media (max-width: 360px) {
  #receive .recipient-intro p { font-size: 11px; }
  #receive .mic-actions .btn { padding-inline: 6px; font-size: 12px; }
}
