.first-entry {
  width: min(100%, var(--frame));
  min-height: 100dvh;
  margin-inline: auto;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 20px calc(16px + var(--safe-bottom));
  background: radial-gradient(ellipse at 12% 20%, #fff7f2 0%, transparent 55%),
    radial-gradient(ellipse at 97% 63%, #e6c8f2 0%, transparent 62%),
    linear-gradient(153deg, #f8e7f6, #fff5f7 55%, #e9d2ef);
  box-shadow: 0 14px 80px #5333501c;
}
.entry-panel { display: grid; gap: 13px; align-content: start; }
.entry-panel h1 { font-size: clamp(33px, 9.2vw, 43px); line-height: 1.05; letter-spacing: -.058em; }
.entry-panel h1 em { color: #7330b9; font: italic 500 1em/1.06 var(--serif); letter-spacing: -.068em; }
.entry-lead { color: #59405f; font-size: 16px; line-height: 1.4; max-width: 34ch; }
.entry-brand { font-size: clamp(33px, 9.8vw, 43px); margin-block: 9px 13px; }
.entry-brand .icon { width: 26px; height: 26px; margin-left: 7px; color: #87822f; fill: #eaf46a; }
.entry-close { margin: -4px 0 5px; }
.entry-steps { display: flex; gap: 8px; margin: 7px 0 23px; }
.entry-steps span { height: 6px; flex: 1; border-radius: 99px; background: #d9c1e2; }
.entry-steps .current { background: linear-gradient(100deg, #ac62ef, #7635be); }
.entry-portrait {
  position: relative; isolation: isolate; height: clamp(235px, 40dvh, 356px); overflow: hidden;
  margin: -4px -20px -34px;
  background: radial-gradient(ellipse at 70% 50%, #d1a1df, #f4dcea 65%, transparent 88%);
  mask-image: linear-gradient(transparent, #000 11%, #000 84%, transparent);
}
.entry-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.entry-portrait::after {
  content: ""; position: absolute; inset: 12% -8% 8%; pointer-events: none; transform: rotate(-24deg);
  background: radial-gradient(ellipse at 49% 48%, transparent 56%, #eac3f781 62%, #fff5f9cf 64%, transparent 67%);
}
.entry-benefits {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); list-style: none;
  padding: 10px 0; border: 1px solid #fffafa; border-radius: 24px; background: #fcf3f8ed;
  box-shadow: inset 0 1px 4px #fff, 0 5px 16px #623b6527;
}
.entry-benefits li { display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 14px; font-weight: 800; }
.entry-benefits li + li { border-left: 1px solid #dec9e3; }
.entry-benefits .icon { width: 23px; height: 23px; color: #4b2254; }
.entry-actions { display: grid; gap: 6px; margin-top: 4px; }
.entry-actions .button { width: 100%; }
.entry-cta { min-height: 50px; }
.entry-cta.lime { background: radial-gradient(ellipse at 25% 0%, #ffffe0, transparent 64%), linear-gradient(174deg, #f2f968, #e0ec49); box-shadow: inset 0 2px 4px #ffffffd6, 0 6px 17px #84822b31; }
.entry-explain { text-align: center; }
.entry-explain summary {
  display: grid; place-items: center; min-height: 44px; border: 1px solid #fff9fe; border-radius: 99px;
  list-style: none; cursor: pointer; color: #4a245d; font-weight: 780; background: #fff9fc7a;
}
.entry-explain summary::-webkit-details-marker { display: none; }
.entry-explain p { padding: 9px 8px 2px; font-size: 14px; line-height: 1.45; color: #593d64; }
.entry-directions {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px;
  padding: 0; border: 0; min-width: 0;
}
.entry-direction {
  display: grid; position: relative; isolation: isolate; overflow: hidden; align-items: end;
  aspect-ratio: 1.24; min-height: 93px; border: 2px solid #fff7fc; border-radius: 19px; background: #e4ccd9; cursor: pointer;
}
.entry-direction img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.entry-direction strong {
  display: flex; align-items: center; gap: 6px; min-height: 39px; padding: 6px 8px;
  font-size: 14px; font-weight: 800; color: #2c162f; background: linear-gradient(#fff5f3ca,#fff5f6f5);
}
.entry-direction strong .icon { width: 19px; height: 19px; }
.entry-direction .entry-tick {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; border: 1.5px solid #fff6ff; background: #43253c72; color: transparent;
}
.entry-direction:has(input:checked) { border-color: #983deb; box-shadow: 0 0 0 1px #fff7ff, 0 3px 13px #a94bed40; }
.entry-direction:has(input:checked) .entry-tick { background: var(--violet); color: white; }
.entry-direction:focus-within { outline: 2px solid #7325bd; outline-offset: 2px; }
.entry-camera-frame {
  display: grid; place-content: center; justify-items: center; gap: 11px;
  min-height: clamp(190px, 33dvh, 296px); border: 1px solid #fff5fc; border-radius: 26px;
  background: radial-gradient(ellipse at 47% 35%, #f7ecfc, #cda5e499 80%);
  box-shadow: inset 0 0 20px #fff1fb91; color: #5b3269;
}
.entry-camera-frame .icon { width: 56px; height: 56px; stroke-width: 1.35; }
.entry-camera-frame span { font-size: 14px; font-weight: 800; }
.entry-photo-tips {
  display: grid; list-style: none; padding: 2px 13px; border-radius: 19px;
  background: #fdf5f8bd; border: 1px solid #fff9fc; color: #4b2b56;
}
.entry-photo-tips li { padding-block: 7px; font-size: 14px; font-weight: 700; }
.entry-photo-tips li + li { border-top: 1px solid #e5d5e9; }
.entry-picked { display: flex; flex-wrap: wrap; list-style: none; gap: 7px; padding: 0; }
.entry-picked li { color: #552b64; background: #fff6fb; border: 1px solid white; border-radius: 20px; padding: 5px 11px; font-size: 14px; font-weight: 800; }
.entry-score, .entry-first-mission { display: grid; gap: 6px; padding: 16px; border: 1px solid #fff9ff; border-radius: 23px; }
.entry-score { background: linear-gradient(141deg,#fbf0f5,#ead0f5); box-shadow: 0 7px 18px #60337023; }
.entry-score > span, .entry-first-mission > p:first-child { color: #5d3867; font-size: 14px; font-weight: 800; }
.entry-score > strong { color: #2d1433; font-size: clamp(45px,12vw,56px); line-height: 1.04; letter-spacing: -.06em; }
.entry-score small { font-size: 21px; letter-spacing: -.04em; font-weight: 650; }
.entry-first-mission { background: #fff4f9bc; }
.entry-first-mission :last-child { color: #5a3a65; font-size: 15px; line-height: 1.4; }
.entry-profile-links { display: flex; flex-wrap: wrap; column-gap: 10px; }
.entry-profile-links a { padding-inline: 0; font-size: 14px; }
.photo-consent-options { display: grid; gap: 3px; margin-top: 10px; }
.photo-consent-options label { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 15px; cursor: pointer; }
.photo-consent-options input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--lilac); }
@media (prefers-reduced-motion: no-preference) {
  .entry-panel:not([hidden]) { animation: entry-show 235ms ease-out both; }
}
@keyframes entry-show { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (max-height: 760px) {
  .entry-portrait { height: clamp(200px, 36dvh, 295px); }
}
