:root {
  --ink: #4c4948;
  --muted: #6f6a6c;
  --line: #ffbef0;
  --soft: #ffffbe;
  --paper: #ffffff;
  --event: #ff78cd;
  --event2: #ff9191;
  --accent: #ffbef0;
  --accent2: #ffe1cd;
  --ok: #ff78cd;
  --shadow: 0 18px 45px rgba(255, 120, 205, 0.16);
  --shadow2: 0 12px 28px rgba(255, 120, 205, 0.2);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  background:
    radial-gradient(circle at 18% 3%, #fff 0 8%, transparent 22%),
    linear-gradient(180deg, #ffe1cd 0%, #fff 38%, #ffffbe 100%);
}

button,
input,
textarea {
  font: inherit;
}

.page {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 18px 14px 32px;
}

.card {
  border: 1px solid rgba(255, 190, 240, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(255, 120, 205, 0.14);
}

.hero {
  position: relative;
  min-height: 236px;
  padding: 24px 20px 20px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -78px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffbef0, #ffe1cd);
  opacity: 0.9;
}

.hero::after {
  content: "👗";
  position: absolute;
  top: 34px;
  right: 22px;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, #ff78cd, #ff9191);
  opacity: 0.2;
  font-size: 42px;
  transform: rotate(8deg);
}

.hero-deco {
  position: absolute;
  right: 18px;
  bottom: 28px;
  display: flex;
  gap: 7px;
  transform: rotate(-5deg);
}

.hero-deco span {
  display: inline-grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid #f0d2c4;
  border-radius: 12px;
  background: #fff3ed;
  box-shadow: 0 8px 16px rgba(156, 91, 69, 0.08);
  font-size: 17px;
}

.eyebrow,
.step,
.look-no {
  color: var(--event);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.skeleton-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 8px 11px;
  border: 1px solid #edcdbd;
  border-radius: 999px;
  background: #fff1e9;
  color: #784536;
  font-size: 12px;
  font-weight: 900;
}

h1 {
  position: relative;
  margin: 0;
  font-size: 26px;
  line-height: 1.28;
  letter-spacing: 0.01em;
}

h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.lead {
  position: relative;
  max-width: 390px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.pill-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #ffbef0;
  border-radius: 999px;
  background: #ffe1cd;
  color: #4c4948;
  font-size: 12px;
  font-weight: 800;
}

.progress-wrap {
  margin: 14px 2px 12px;
  padding: 0 2px;
}

.step-dots {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.dot {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #ffe1cd;
}

.dot.is-current,
.dot.is-done {
  background: linear-gradient(90deg, #ff78cd, #ff9191);
}

.dot.is-current {
  background: #fff;
  border: 1.5px solid #ff78cd;
}

.form-card {
  padding: 18px 14px;
}

.screen-intro {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #ffbef0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 225, 205, 0.45));
}

.screen-intro strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.screen-intro span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.form-section {
  position: relative;
  padding: 16px 12px;
  margin-top: 22px;
  margin-inline: -2px;
  border-radius: 22px;
  transition: background 0.45s ease, box-shadow 0.45s ease, transform 0.3s ease;
}

.form-section:first-child {
  margin-top: 0;
}

.form-section.is-complete {
  box-shadow: 0 10px 24px rgba(255, 120, 205, 0.1);
}

.form-section[data-q="age"].is-complete {
  background: linear-gradient(145deg, rgba(255, 225, 205, 0.58), rgba(255, 255, 255, 0.96));
}

.form-section[data-q="silhouette"].is-complete {
  background: linear-gradient(145deg, rgba(255, 190, 240, 0.34), rgba(255, 255, 255, 0.96));
}

.form-section[data-q="preferredLook"].is-complete {
  background: linear-gradient(145deg, rgba(255, 255, 190, 0.62), rgba(255, 255, 255, 0.96));
}

.form-section[data-q="scene"].is-complete {
  background: linear-gradient(145deg, rgba(255, 145, 145, 0.17), rgba(255, 255, 255, 0.96));
}

.form-section[data-q="staffLook"].is-complete {
  background: linear-gradient(145deg, rgba(255, 120, 205, 0.16), rgba(255, 225, 205, 0.4), rgba(255, 255, 255, 0.96));
}

.form-section.is-complete::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #ffbef0, #ff78cd);
  opacity: 0.72;
  animation: answerColorIn 0.45s ease both;
}

@keyframes answerColorIn {
  from {
    transform: scaleX(0.15);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 0.72;
  }
}

.section-header {
  margin-bottom: 12px;
}

.step {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

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

.age-selector-wrap {
  position: relative;
  padding-top: 12px;
}

.age-grid-polished {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
}

.choice-grid,
.style-grid,
.scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

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

.choice-card,
.compact-card,
.silhouette-card,
.style-card,
.scene-card,
.staff-card {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 64px;
  padding: 15px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.choice-card:hover,
.compact-card:hover,
.silhouette-card:hover,
.style-card:hover,
.scene-card:hover,
.staff-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(83, 51, 35, 0.08);
}

.choice-card:active,
.compact-card:active,
.silhouette-card:active,
.style-card:active,
.scene-card:active,
.staff-card:active,
.btn:active {
  transform: scale(0.99);
}

input[type="radio"],
input[type="checkbox"] {
  appearance: none;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin: 1px 0 0;
  border: 2px solid #ffbef0;
  border-radius: 50%;
  background: #fff;
  position: relative;
}

input[type="checkbox"] {
  border-radius: 7px;
}

input:checked {
  border-color: var(--event);
  background: linear-gradient(135deg, #ff78cd, #ff9191);
}

input:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}

input[type="checkbox"]:checked::after {
  content: "✓";
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

label:has(input:checked) {
  border-color: var(--event);
  background: linear-gradient(180deg, #fff, #ffe1cd);
  box-shadow: 0 12px 28px rgba(255, 120, 205, 0.2);
}

label:has(input:checked)::after {
  content: none;
}

.picked {
  animation: pop 0.28s ease;
}

@keyframes pop {
  0% { transform: scale(0.98); }
  70% { transform: scale(1.018); }
  100% { transform: scale(1); }
}

.choice-body {
  min-width: 0;
  padding-right: 54px;
}

.choice-title {
  display: block;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.choice-card small,
.style-card small,
.scene-card small,
.silhouette-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.compact-card {
  align-items: center;
  justify-content: flex-start;
  min-height: 58px;
  padding-right: 62px;
  font-weight: 900;
}

.age-card {
  min-height: 96px;
  padding: 12px 8px 10px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 0 3px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.94);
}

.age-card::before {
  content: "";
  position: absolute;
  inset: auto -20px -30px auto;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #ffe1cd;
  opacity: 0.58;
  z-index: -1;
  transition: 0.25s ease;
}

.age-card:nth-child(2n)::before {
  background: #ffbef0;
}

.age-card:nth-child(3n)::before {
  background: #ffffbe;
}

.age-card input {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 18px;
  height: 18px;
  margin: 0;
}

.age-number {
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.age-unit {
  align-self: end;
  padding-bottom: 2px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.age-card:has(input:checked) {
  transform: translateY(-4px) rotate(-1deg);
}

.age-card-skip {
  grid-column: 1 / -1;
  min-height: 54px;
  grid-template-columns: auto;
  gap: 0;
  border-style: dashed;
}

.age-card-skip::before {
  display: none;
}

.age-card-skip input {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.silhouette-card {
  min-height: 124px;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px 10px;
  text-align: center;
  transition: min-height 0.38s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.silhouette-card input {
  position: absolute;
  top: 10px;
  left: 10px;
}

.silhouette-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-top: 8px;
  place-items: center;
  border: 1px solid #ffbef0;
  border-radius: 19px;
  background: #ffe1cd;
  color: #ff78cd;
}

.silhouette-svg {
  display: block;
  width: 38px;
  height: 38px;
}

.silhouette-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.silhouette-card small {
  max-height: 0;
  margin-top: 0 !important;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.38s ease, opacity 0.3s ease, transform 0.38s ease, margin-top 0.38s ease;
}

.silhouette-card:has(input:checked) {
  min-height: 148px;
}

.silhouette-card:has(input:checked) small {
  max-height: 64px;
  margin-top: 7px !important;
  opacity: 1;
  transform: translateY(0);
}

.event-panel {
  margin-top: 2px;
  padding: 16px 12px 18px;
  border: 1px solid #ffbef0;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 225, 205, 0.45)),
    radial-gradient(circle at 12% 10%, #f2c6b4 0 12%, transparent 34%);
}

.event-title,
.event-mark {
  display: none;
}

.style-card,
.scene-card {
  min-height: 76px;
}

.scene-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px;
}

.scene-card {
  min-height: 118px !important;
  padding: 12px 8px 10px !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  text-align: center;
  gap: 8px !important;
  border-color: #ffbef0;
}

.scene-card input {
  position: absolute;
  right: 9px;
  top: 9px;
  margin: 0 !important;
  order: initial !important;
}

.scene-card span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding: 0 !important;
  line-height: 1.35;
}

.scene-card span::before {
  content: attr(data-icon);
  position: static !important;
  left: auto !important;
  display: grid;
  width: 38px !important;
  height: 38px !important;
  place-items: center;
  margin-bottom: 3px;
  border: 1px solid #ffbef0;
  border-radius: 13px;
  background: #ffe1cd;
  color: #ff78cd;
  font-size: 17px;
}

.scene-card small {
  color: var(--muted);
  font-size: 10px !important;
  line-height: 1.45;
  font-weight: 800;
}

.scene-card-none {
  grid-column: 1 / -1;
  min-height: 62px !important;
  flex-direction: row !important;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.76) !important;
}

.scene-card-none span {
  flex-direction: row;
  justify-content: center;
  font-size: 13px;
}

.scene-card-none span::before {
  display: none !important;
}

.scene-card-none small {
  margin: 0 0 0 8px !important;
  font-size: 11px !important;
}

.staff-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.swipe-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.swipe-hand {
  display: inline-block;
  animation: swipe 1.4s ease-in-out infinite;
}

@keyframes swipe {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.staff-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin-inline: -2px;
  padding: 4px 34px 14px 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.staff-scroll::after {
  content: "";
  flex: 0 0 18px;
}

.staff-item {
  flex: 0 0 88%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.staff-item .staff-card {
  flex: 0 0 auto;
  width: 100%;
  scroll-snap-align: none;
}

.staff-card {
  min-height: 300px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.staff-card:has(input:checked) {
  border-color: var(--event);
  background: #fff;
  box-shadow: 0 12px 28px rgba(255, 120, 205, 0.2);
}

.staff-card input {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #fff;
}

.staff-card input:checked {
  border-color: var(--event);
  background: linear-gradient(135deg, #ff78cd, #ff9191);
  box-shadow: 0 0 0 5px rgba(255, 190, 240, 0.55);
}

.staff-content {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  padding: 18px 12px;
  background: #fff;
  z-index: 1;
}

.coord-visual {
  grid-row: 1;
  grid-column: 2;
  position: relative;
  width: 100%;
  min-height: 300px;
  border-left: 1px solid #ffbef0;
  background: linear-gradient(180deg, #ffe1cd, #ffbef0);
  overflow: hidden;
}

.coord-visual::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 50%;
  width: 45px;
  height: 45px;
  transform: translateX(-50%);
  border: 2px solid rgba(156, 91, 69, 0.18);
  border-radius: 50%;
  background: #fff8f4;
}

.coord-visual::after {
  content: "";
  position: absolute;
  top: 84px;
  left: 50%;
  width: 82px;
  height: 178px;
  transform: translateX(-50%);
  border-radius: 34px 34px 18px 18px;
  background: var(--visual, linear-gradient(180deg, #9c5b45, #d7a08b));
  box-shadow: 0 12px 26px rgba(80, 45, 35, 0.15);
}

.tone-clean {
  --visual: linear-gradient(180deg, #ff78cd, #ffbef0);
}

.tone-soft {
  --visual: linear-gradient(180deg, #ffbef0, #ffe1cd);
}

.tone-casual {
  --visual: linear-gradient(180deg, #ff9191, #ffe1cd);
}

.tone-glam {
  --visual: linear-gradient(180deg, #ff78cd, #ff9191);
}

.keyword-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  align-items: flex-start;
  width: 100%;
}

.keyword {
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #ffbef0;
  border-radius: 999px !important;
  background: #fff;
  color: #4c4948;
  box-shadow: 0 6px 14px rgba(255, 120, 205, 0.1);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: normal !important;
}

.keyword:nth-child(1) {
  background: #ffbef0;
}

.keyword:nth-child(2) {
  background: #ffe1cd;
}

.keyword:nth-child(3) {
  background: #ffffbe;
}

.staff-detail-link {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid #ff78cd;
  border-radius: 14px;
  background: #fff;
  color: #ff78cd;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(255, 120, 205, 0.12);
}

.staff-item.is-selected .staff-detail-link {
  display: flex;
}

.staff-detail-link:hover {
  background: #ffe1cd;
}

.staff-detail-link:focus-visible {
  outline: 3px solid #ffbef0;
  outline-offset: 2px;
}

.top-back {
  display: none;
}

.nav-row {
  display: flex;
  gap: 10px;
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin: 18px -14px -18px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #f0ddd4;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.96));
  backdrop-filter: blur(10px);
}

.btn {
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.18s ease;
  font-weight: 900;
}

.btn-primary {
  flex: 1;
  background: linear-gradient(135deg, var(--event), var(--event2));
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 120, 205, 0.25);
}

.btn-secondary {
  border: 1px solid #ffbef0;
  background: #fff;
  color: var(--event);
}

.submit-note {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.error-box {
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid #ff9191;
  border-radius: 16px;
  background: #ffe1cd;
  color: #4c4948;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.error-box[hidden],
.result-box[hidden] {
  display: none;
}

.result-box {
  margin-top: 18px;
  padding: 18px;
  border: 1.5px solid #ff78cd;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #ffe1cd);
  text-align: left;
}

.result-title {
  margin: 0 0 6px;
  color: #6f3e30;
  font-size: 18px;
  font-weight: 900;
}

.result-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.summary-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid #f0dbd1;
  border-radius: 12px;
  background: #fff;
  font-size: 12px;
}

.summary-list b {
  color: #6f3e30;
  white-space: nowrap;
}

.summary-list span {
  color: #5f5049;
  font-weight: 700;
  text-align: right;
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 14px;
  background: var(--event2);
  animation: fall 1.1s linear forwards;
}

.confetti i:nth-child(3n) {
  background: var(--accent);
}

.confetti i:nth-child(4n) {
  background: var(--event);
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(260deg);
    opacity: 0.2;
  }
}

@media (min-width: 480px) {
  .age-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .staff-item {
    flex-basis: 84%;
  }
}

@media (max-width: 360px) {
  .scene-card {
    min-height: 112px !important;
  }

  .scene-card small {
    font-size: 9.5px !important;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 23px;
  }

  h2 {
    font-size: 17px;
  }

  .hero-deco {
    bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.hero-kicker {
  position: relative;
  display: block;
  margin: 0 0 9px;
  color: #d74c77;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.hero-kicker::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 6px;
  border-radius: 999px;
  background: #d74c77;
  opacity: 0.72;
}

#mainHero {
  min-height: auto;
  padding: 24px 20px 22px;
}

#mainHero h1 {
  font-size: clamp(13px, 4.4vw, 24px);
  line-height: 1.25;
  white-space: nowrap;
  letter-spacing: -0.025em;
}

#mainHero .lead {
  margin-top: 14px;
  max-width: none;
  line-height: 1.75;
}

#mainHero .pill-row {
  margin-top: 17px;
  justify-content: flex-start;
  gap: 7px;
}

#mainHero .pill {
  min-height: 32px;
  padding: 6px 10px;
}

#mainHero::before {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -58px;
  width: 166px;
  height: 166px;
  border-radius: 50%;
  background: #ffbef0;
  opacity: 0.82;
  z-index: 0;
  pointer-events: none;
}

.hero-corner-dot {
  position: absolute;
  left: -34px;
  top: -38px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #ffffbe;
  opacity: 0.72;
  z-index: 0;
  pointer-events: none;
}

#mainHero > *:not(.hero-corner-dot) {
  position: relative;
  z-index: 1;
}

#mainHero::after,
#mainHero .hero-deco,
#mainHero .eyebrow,
#mainHero .skeleton-badge {
  display: none !important;
}

.skeleton-result-float {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px 10px 11px;
  border: 1.5px solid #ff78cd;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #4c4948;
  box-shadow: 0 12px 30px rgba(255, 120, 205, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  animation: skeletonFloat 3.2s ease-in-out infinite;
}

.skeleton-result-float::before {
  content: "";
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffbef0, #ffe1cd);
  box-shadow: inset 0 0 0 1px rgba(255, 120, 205, 0.25);
}

.skeleton-result-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}

.skeleton-result-label {
  font-size: 9px;
  font-weight: 900;
  color: #8b7cba;
  letter-spacing: 0.06em;
}

.skeleton-result-value {
  font-size: 14px;
  font-weight: 900;
  color: #d74c77;
}

@keyframes skeletonFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 360px) {
  .skeleton-result-float {
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 9px 12px 9px 10px;
  }
}

.age-card .age-number,
.age-card .age-unit,
.age-card-skip > span,
.silhouette-card .silhouette-title,
.style-card .choice-title,
.scene-card > span {
  transition: transform 0.2s ease;
  transform-origin: center;
}

.age-card:has(input:checked) .age-number,
.age-card:has(input:checked) .age-unit,
.age-card-skip:has(input:checked) > span,
.silhouette-card:has(input:checked) .silhouette-title,
.style-card:has(input:checked) .choice-title,
.scene-card:has(input:checked) > span {
  transform: scale(1.045);
}

.scene-card:has(input:checked) > span small,
.scene-card:has(input:checked) > span::before {
  transform: scale(0.957);
}
