/* ---------------------------------------------------------------------------
   /make/star — loads on top of site.css. Phone first: one column, the card on top, and on the
   Make screen its two buttons pinned to the bottom of the screen.
--------------------------------------------------------------------------- */

.make { min-height: 100vh; min-height: 100dvh; }

.make__top {
  max-width: 460px;
  margin: 0 auto;
  padding: 14px 16px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.make__logo img { display: block; width: auto; height: 28px; }
.make__back {
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
}
.make:not([data-screen="make"]) .make__back { visibility: hidden; }

.make__main { max-width: 460px; margin: 0 auto; padding: 0 16px 24px; }

/* The card. */
.make__stage { position: relative; width: min(74vw, 320px); margin: 14px auto 22px; }
.make[data-screen="make"] .make__stage { width: min(84vw, 380px); margin-bottom: 18px; }
.make__card {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(23, 23, 26, 0.2), 0 3px 10px rgba(23, 23, 26, 0.08);
}
.make[data-screen="try"] .make__card { transform: rotate(-2.5deg); }
.make__card.is-popping { animation: make-pop 420ms var(--motion-ease); }
@keyframes make-pop {
  from { transform: rotate(-2.5deg) scale(0.965); }
  to { transform: rotate(-2.5deg) scale(1); }
}

/* Done's like count, on the card as Taste shows it. */
.make__likes {
  display: none;
  position: absolute;
  right: 10px;
  bottom: 10px;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 16px rgba(23, 23, 26, 0.18);
  font-weight: 700;
  font-size: 15px;
}
.make__likes svg { width: 18px; height: 18px; fill: #ff4f8b; }
.make[data-screen="done"] .make__likes { display: inline-flex; }

/* One panel per screen. */
.make__panel { display: none; }
.make[data-screen="try"] .make__panel--try,
.make[data-screen="make"] .make__panel--make,
.make[data-screen="done"] .make__panel--done,
.make[data-screen="busy"] .make__panel--busy { display: block; }
.make__panel--try,
.make__panel--busy,
.make__panel--done { text-align: center; }
.make[data-screen="busy"] .make__card { opacity: 0.6; transition: opacity 300ms; }

.make__notice,
.make-sheet__notice {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fde7ec;
  color: #8a1734;
  font-size: 14px;
  font-weight: 600;
}

.make__eyebrow { font-size: 24px; color: var(--purple); line-height: 1; }
.make__title { font-size: clamp(36px, 11vw, 48px); line-height: 1.02; margin: 4px 0 10px; }
.make__lede { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin: 0 auto 22px; max-width: 340px; }
.make__fine { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* Buttons: the invite page's, so the site's hand-offs all look one way. */
.make-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 15px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
}
.make-btn svg { width: 20px; height: 20px; flex: none; }
.make-btn--primary {
  background: #EDFE61;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(237, 254, 97, 0.28), 0 3px 8px rgba(23, 23, 26, 0.08);
}
.make-btn--dark { background: var(--ink); color: #fff; }
.make-btn--dark svg { fill: currentColor; }
.make-btn--light { background: #fff; }

/* Make: a row of little cards per choice, each drawn with that option picked. */
.make-choice + .make-choice { margin-top: 14px; }
.make-choice__name { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.make-choice__strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 2px 16px 4px;
  scroll-padding-inline: 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.make-choice__strip::-webkit-scrollbar { display: none; }
.make-look {
  flex: none;
  width: 62px;
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  scroll-snap-align: start;
}
.make-look__card {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.make-look.is-picked .make-look__card { outline-color: var(--ink); }
.make-look__name {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.make-look.is-picked .make-look__name { color: var(--ink); }

.make__actions { display: grid; gap: 10px; }
/* Fixed rather than sticky: site.css clips the body's overflow, which leaves sticky nothing to
   stick to. The panel's padding keeps the last row of choices clear of it. */
.make__panel--make { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
.make__panel--make .make__actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 460px;
  margin: 0 auto;
  padding: 22px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(242, 240, 248, 0), var(--bg) 26%);
}
.make__actions--row { grid-template-columns: 1fr 1fr; margin-top: 14px; }


/* The sign-in sheet, up from the bottom. */
.make-sheet {
  margin: auto auto 0;
  width: 100%;
  max-width: 460px;
  border: 0;
  padding: 0;
  border-radius: 24px 24px 0 0;
  background: #fff;
  color: var(--ink);
}
.make-sheet::backdrop { background: rgba(23, 23, 26, 0.45); }
.make-sheet[open] { animation: make-sheet-up 260ms var(--motion-ease); }
@keyframes make-sheet-up { from { transform: translateY(40px); opacity: 0; } }
.make-sheet__body { padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); text-align: center; }
.make-sheet__grab { width: 40px; height: 5px; border-radius: 3px; background: #dcd9e3; margin: 0 auto 16px; }
.make-sheet__title { font-size: 26px; line-height: 1.1; }
.make-sheet__lede { margin: 8px auto 18px; max-width: 340px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.make-sheet__buttons { display: grid; gap: 10px; }
.make-sheet--username .make-sheet__body { display: grid; gap: 12px; }
.make-sheet--username .make-sheet__lede { margin-bottom: 4px; }
.make-sheet__input {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 14px;
  font: inherit;
  font-size: 17px;
}
.make-sheet__age { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; font-weight: 600; }
.make-sheet__age input { width: 20px; height: 20px; accent-color: var(--ink); }
.make-sheet__notice { margin: 0; }
.make-sheet__in-app { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.make-sheet__fine { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.make-sheet__fine a { text-decoration: underline; color: inherit; }
.make-sheet__close {
  margin-top: 10px;
  border: 0;
  background: none;
  padding: 8px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .make__card.is-popping,
  .make-sheet[open] { animation: none; }
}
