body.setup-open { background: #152f2d; }
.setup-open > .site-header, .setup-open > .site-footer, .setup-open > .skip-link { display: none; }
.live-setup {
  color-scheme: dark;
  --cream: #fff4df;
  --muted: #d1d9cc;
  --gold: #ecd098;
  --teal: #203f39;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  color: var(--cream);
  background: #152f2d;
}
.live-setup * { box-sizing: border-box; }
.live-setup { margin: 0; }
.live-setup [hidden] { display: none !important; }
.live-setup button, .live-setup input { font: inherit; }
.live-setup button { cursor: pointer; }
.live-setup button, .live-setup label { -webkit-tap-highlight-color: transparent; }
.live-setup button:focus-visible, .live-setup input:focus-visible, .live-setup h1:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.live-setup h1, .live-setup h2, .live-setup p, .live-setup figure { margin: 0; }
.live-setup .garden-app {
  position: relative;
  isolation: isolate;
  max-width: 480px;
  min-height: 100svh;
  min-height: 100dvh;
  margin: auto;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: #294a40;
  display: flex;
  flex-direction: column;
}
.live-setup .garden-app::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #132b2ccc 0%, #15372b55 37%, #182f2d30 52%, #112c2beb 100%), url("assets/garden-deck-v2.webp") center bottom / auto 146%;
}
.live-setup .app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.live-setup .wordmark { font: 36px/.9 Georgia, serif; letter-spacing: -2px; }
.live-setup .wordmark > span { color: var(--gold); }
.live-setup .step-label { font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.live-setup #setup-form { flex: 1; display: flex; flex-direction: column; }
.live-setup .step { flex: 1; display: flex; flex-direction: column; }
.live-setup .intro { text-align: center; }
.live-setup .eyebrow { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.live-setup h1 { font: normal clamp(28px, 7.8vw, 36px)/1.12 Georgia, serif; letter-spacing: -.7px; }
.live-setup .intro > p:last-child:not(.eyebrow) { font-size: 12px; line-height: 1.5; margin-top: 12px; color: #eef1e4; }
.live-setup .avatar-stage { height: clamp(220px, 38dvh, 340px); position: relative; margin-top: 14px; }
.live-setup .avatar-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.live-setup .avatar-stage img[data-gender="male"] { height: 110%; top: -5%; }
.live-setup .panel {
  background: #203b36e8;
  border: 1px solid #e5e4c72e;
  border-radius: 26px;
  padding: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px #102d2729;
}
.live-setup .choices { margin-top: auto; }
.live-setup fieldset { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.live-setup legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 600; }
.live-setup .placeholder-label { margin-left: 8px; font-size: 10px; font-weight: 400; color: var(--muted); }
.live-setup .gender-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.live-setup .choice { position: relative; cursor: pointer; }
.live-setup .choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; }
.live-setup .choice > span { position: relative; display: flex; justify-content: center; align-items: center; min-height: 44px; border: 1px solid #d6e1c843; border-radius: 999px; pointer-events: none; }
.live-setup .choice input:checked + span { border-color: var(--gold); background: #f3e0ba; color: #203b34; }
.live-setup .choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 4px; }
.live-setup .tone-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.live-setup .tone > span { min-height: 44px; border-radius: 16px; border-color: transparent; }
.live-setup .tone i { width: 28px; height: 28px; border-radius: 50%; background: var(--tone); border: 1px solid #fff4df75; }
.live-setup .note { font-size: 11px; line-height: 1.6; color: var(--muted); }
.live-setup .primary { width: 100%; min-height: 50px; padding: 12px 20px; border: 1px solid #ffefd38a; border-radius: 999px; background: #f3e0badb; color: #203b34; font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.live-setup .primary:hover { background: #f9e7c6; }
.live-setup .primary > span { font-size: 20px; line-height: 1; }
.live-setup .text-button { display: block; min-height: 44px; margin: 8px auto -6px; background: transparent; border: 0; padding: 8px 16px; color: var(--muted); font-size: 12px; border-radius: 999px; text-decoration: underline; text-underline-offset: 4px; }
.live-setup .sound-panel { margin: auto 0; padding: 24px; }
.live-setup [data-step="1"] .intro { margin-bottom: 24px; }
.live-setup .sound-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.live-setup .voice-symbol { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #d8bcdf78; border-radius: 50%; background: #70577c6b; font: 26px Georgia, serif; }
.live-setup h2 { font: 24px Georgia, serif; }
.live-setup .sound-heading p { margin-top: 5px; font-size: 11px; color: var(--muted); }
.live-setup .volume-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.live-setup output { color: var(--gold); font-variant-numeric: tabular-nums; }
.live-setup input[type="range"] { width: 100%; height: 44px; margin: 6px 0; accent-color: var(--gold); cursor: pointer; background: transparent; }
.live-setup .sample-button { min-height: 44px; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid #d6e1c84a; padding: 10px 16px; background: #d8e6d412; color: var(--cream); font-size: 12px; }
.live-setup .sample-button > span { font-size: 10px; color: var(--muted); }
.live-setup .sample-button:hover { background: #d8e6d424; }
.live-setup .sample-button:disabled { opacity: .5; cursor: default; }
.live-setup .ambience-control { border-top: 1px solid #d6e1c82a; margin-top: 24px; padding-top: 24px; }
.live-setup .ambience-control .note { margin-top: 8px; }
.live-setup .audio-status { min-height: 36px; margin-top: 16px; }
.live-setup .sound-panel .primary { margin-top: 12px; }
.live-setup .storage-status:empty { display: none; }
.live-setup .storage-status { padding: 12px 8px 0; text-align: center; }
.live-setup .app-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 9px; letter-spacing: .7px; color: #d1d9cce6; }
.live-setup .progress { display: flex; gap: 6px; }
.live-setup .progress i { width: 5px; height: 5px; border-radius: 50%; background: #e9dfc44d; }
.live-setup .progress i.active { background: var(--gold); width: 18px; border-radius: 6px; }

@media (min-width: 600px) {
.live-setup { padding: 24px; }
.live-setup .garden-app { min-height: 820px; border-radius: 32px; overflow: hidden; box-shadow: 0 20px 70px #081f2355; }
}

@media (max-width: 350px) {
.live-setup .garden-app { padding-left: 16px; padding-right: 16px; }
.live-setup .panel { padding: 18px; }
.live-setup .app-header { margin-bottom: 20px; }
.live-setup .tone-options { gap: 2px; }
}

