/* 2650: "Pick a design" on the cards maker (J3 step 3): her card on top is the chosen design; the designs below, 2 a row on a phone,
   4 a row from 690 px, 1 a row in Large & clear. Colours only through the maker's tokens (public/cards.css). */
.gc-card.gc-dzon .gc-ph, .gc-card.gc-dzon .gc-ln { display: none; }
.gc-card:not(.gc-dzon) .gc-dzm { display: none; }
.gc-dzm svg, .gc-dza svg { display: block; width: 100%; height: auto; }
.gc-make > .gc-card.gc-dzon { width: min(318px, 100%, max(220px, calc((100svh - 320px) * .55))); }
.gc-dz { margin: 18px 16px 0; }
.gc-dz h2 { margin: 0; font-size: calc(var(--gc-fs) + .25rem); }
.gc-dz p { margin: 4px 0 10px; color: var(--gc-mute); }
.gc-dzg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin-inline: auto; }
.gc-dzt { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 14px; border: 3px solid transparent; outline: 1.5px solid var(--gc-line);
  background: var(--gc-paper); color: var(--gc-paper-ink); font: 600 var(--gc-fs)/1.3 var(--body); cursor: pointer; min-height: var(--gc-tap); text-align: center; }
.gc-dzt.on { border-color: var(--gc-acc); outline: 3px solid var(--gc-acc); outline-offset: 2px; }
.gc-dza { display: block; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--gc-photo); }
@media (min-width: 690px) { .gc-dzg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
[data-theme="large"] .gc-dzg { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.gc-dzc img { display: block; width: 100%; height: auto; }
/* the picture's step 3 on a phone and sideways: the four designs ARE the card choice (her photo in each, the chosen one ringed),
   so the big card steps aside and the grid leads, with Yes, send pinned under it; from 690 px wide and tall it stays on top */
@media (max-width: 689px), (max-height: 500px) and (orientation: landscape) {
  .gc-make > .gc-card.gc-dzon { display: none; }
  .gc-dz { margin-top: 6px; }
}
@media (max-height: 500px) and (orientation: landscape) { .gc-dzg { grid-template-columns: repeat(4, minmax(0, 150px)); justify-content: center; } }
/* laptop and wider (J3 "Every size"): the card on the left, sticky; the designs, language, voice and Yes, send on the right */
@media (min-width: 980px) and (min-height: 501px) {
  .gc-make:has(.gc-dzon) { max-width: 980px; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 560px); column-gap: 48px; justify-content: center; align-items: start; }
  .gc-make:has(.gc-dzon) > * { grid-column: 2; }
  .gc-make:has(.gc-dzon) > .gc-bar, .gc-make:has(.gc-dzon) > .gc-pin { grid-column: 1 / -1; }
  .gc-make:has(.gc-dzon) > .gc-card { grid-column: 1; grid-row: 3 / span 6; position: sticky; top: 16px; width: 100%; margin-top: 18px; }
  .gc-make:has(.gc-dzon) .gc-dzg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gc-make:has(.gc-dzon) > .gc-dock { order: 1; }   /* 2843: the buttons stay under the looks, language and voice */
}
/* 2843: the wish box under the card, on the first screen (picture docs/design/sketches/2843-picture.md). Her words take the wish's
   place on the card; on a phone the card comes back on top (the box needs it in view), and while she types only its words part shows */
.gc-wbox { margin: 18px 16px 0; }
.gc-wbox .gc-lab { font-size: calc(var(--gc-fs) + .125rem); }
.gc-wh { margin: 2px 0 0; color: var(--gc-mute); }
.gc-wfw { position: relative; }
.gc-wfw .gc-wishf { resize: none; overflow: hidden; padding-inline-end: 52px; font: 400 max(18px, calc(var(--gc-fs) + .25rem))/1.4 "Play", Georgia, serif; border-radius: 14px; }
.gc-wfw .gc-wx { position: absolute; inset-inline-end: 4px; top: 10px; width: var(--gc-tap); height: var(--gc-tap); display: flex; align-items: center; justify-content: center; color: var(--gc-paper-ink); }
.gc-wn { margin: 2px 0 0; color: var(--gc-mute); font-size: calc(var(--gc-fs) - .0625rem); }
.gc-wn.low { color: var(--gc-acc); font-weight: 700; }
/* 2843 review: on phones and tablets the send bar sits under the box, not on it (360x640 hid the box) */
@media (max-width: 979px) { .gc-make:has(.gc-wbox:not([hidden])) > .gc-dock { position: static; background: none; } }
@media (max-width: 689px) and (max-height: 700px) { .gc-wbox { margin-top: 8px; } }   /* 360x640: the whole box on the first screen */
@media (max-width: 689px) and (min-height: 501px) {
  .gc-make:has(.gc-wbox:not([hidden])) > .gc-card.gc-dzon { display: block; width: min(318px, 100%, max(232px, calc((100svh - 440px) * .66))); }
  .gc-make.gc-typing > .gc-card.gc-dzon .gc-dzm { height: 200px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
  .gc-make.gc-typing > .gc-card.gc-dzon .gc-dzm svg { flex: none; }
  .gc-make.gc-typing > .gc-pin { display: none; }
}
