/* Builder page. Shared tokens, header, buttons and footer come from styles.css. */

.builder-page { position: relative; }

.builder {
  position: relative;
  padding-top: 16px;
  padding-bottom: var(--section-space);
}

/* ---------- Title and controller switch ---------- */

.builder-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 24px 0 8px;
}
.builder-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.builder-title { font-size: clamp(38px, 4.6vw, 64px); }
.builder-intro p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-2);
}
/* The link to the HeliumStrike2 preorder page (Nov 17). */
.preorder-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  border: 1px solid rgb(var(--cyan-rgb) / 0.35);
  background: rgb(var(--cyan-rgb) / 0.06);
  box-shadow: 0 0 22px -10px rgb(var(--cyan-rgb) / 0.8);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.preorder-link:hover { border-color: #FFFFFF; background: rgb(var(--cyan-rgb) / 0.1); }
.preorder-link .arrow { transition: transform 0.2s ease; }
.preorder-link:hover .arrow { transform: translateX(3px); }
.preorder-link-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--night);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-toggle[hidden] { display: none; }

/* The controller switch, with the "Get notified" button beside it. */
.platform-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.notify-btn[hidden] { display: none; }

/* The "Get notified" sign-up, opened from that button or a coming-soon controller. */
.notify {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.notify[hidden],
.notify-row[hidden] { display: none; }
.notify-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}
.notify-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.notify-row .input {
  flex: 1 1 240px;
  width: auto;
}
.notify-done {
  font-size: 15px;
  font-weight: 600;
}
.notify-done:empty { display: none; }

/* Says when a pick changed on its own, like the stick modules after a board change. */
.pick-status {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgb(var(--cyan-rgb) / 0.4);
  background: rgb(var(--cyan-rgb) / 0.08);
  font-size: 14px;
  line-height: 1.5;
  color: #E4E4EA;
}
.pick-status:empty { display: none; }

/* ---------- Step bar ---------- */

/* One equal column per step, however many steps pricing.json lists. */
.step-nav ol {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.step-btn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 0 0 4px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.step-btn:hover { color: #FFFFFF; }
.step-btn:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 4px;
  border-radius: 4px;
}
.step-bar {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.14);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.step-btn.is-done .step-bar,
.step-btn[aria-current="step"] .step-bar {
  background: var(--cyan);
  box-shadow: 0 0 10px rgb(var(--cyan-rgb) / 0.7);
}
.step-btn[aria-current="step"] { color: #FFFFFF; }
.step-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
}
.step-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 115%;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
  .step-nav ol { gap: 8px; }
  .step-text {
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
  }
}

/* ---------- Layout ---------- */

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  align-items: start;
  gap: 32px;
  margin-top: 24px;
}
.builder-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.step-panel,
.step-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-panel[hidden] { display: none; }

.card {
  padding: 24px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.card-title,
.opt-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  font-stretch: 115%;
  letter-spacing: -0.01em;
}

@media (max-width: 960px) {
  .builder-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .card { padding: 18px; }
}

/* ---------- Option tiles (radio buttons) ---------- */

/* Floated so the legend sits inside the card like a normal heading. */
.opt-legend {
  float: left;
  width: 100%;
  margin-bottom: 16px;
  padding: 0;
}
.opt-legend-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}
.opt-sub {
  font-size: 14px;
  color: var(--text-3);
}
.opt-grid {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 10px;
}
/* Four choices read better as two by two than three plus one. */
.opt-grid[data-count="4"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 76px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--navy-2);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.option:hover { border-color: rgb(var(--cyan-rgb) / 0.4); }
.option:has(input:checked) {
  border-color: var(--cyan);
  background: rgb(var(--cyan-rgb) / 0.07);
  box-shadow: 0 0 0 3px rgb(var(--cyan-rgb) / 0.1), 0 0 26px -10px rgb(var(--cyan-rgb) / 0.7);
}
.option:has(input:focus-visible) {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}
/* Out of stock: still listed, but it can't be picked. */
.option.is-out {
  border-style: dashed;
  background: transparent;
  cursor: not-allowed;
}
.option.is-out:hover { border-color: var(--line); }
.option.is-out .option-label,
.option.is-out .option-price { color: var(--text-3); }
/* A feature only this part has, like the Marius 5-pin's Midas Hall effect sticks. */
.option-badge {
  align-self: flex-start;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgb(var(--cyan-rgb) / 0.55);
  background: rgb(var(--cyan-rgb) / 0.1);
  box-shadow: 0 0 16px -6px rgb(var(--cyan-rgb) / 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFFFFF;
}
/* Ruled out by a pick in another section (DSE buttons once back buttons are picked, say). */
.option.is-blocked {
  opacity: 0.45;
  cursor: not-allowed;
}
.option.is-blocked:hover { border-color: var(--line); }
.opt-block-note { margin-top: 12px; }
.option-dot {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 0.35);
  color: var(--navy);
}
.option-dot svg { opacity: 0; }
.option:has(input:checked) .option-dot {
  background: var(--cyan);
  border-color: var(--cyan);
}
.option:has(input:checked) .option-dot svg { opacity: 1; }
.option-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.option-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.option-label {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
}
.option-price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  font-stretch: 110%;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text-2);
}
.option:has(input:checked) .option-price { color: #FFFFFF; }
.option-sub {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-2);
}

/* ---------- Extras: colors, choices and text fields under a pick ---------- */

.extra { margin-top: 18px; }
.extra[hidden] { display: none; }
/* A photo of the picked part, like the board or the thumbsticks: a cut-out on a small dark stage
   lit from above, like the controller preview. The photos are twice the size they show at. */
.opt-photo {
  display: grid;
  place-items: center;
  height: 220px;
  margin-inline: 0;
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(55% 65% at 50% 38%, rgb(255 255 255 / 0.13), transparent 72%),
    linear-gradient(180deg, #1F1F23 0%, #0F0F12 100%);
}
.opt-photo[hidden] { display: none; }
.choice-photo {
  height: 170px;
  margin-top: 12px;
}
.opt-photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 180px;
  filter: drop-shadow(0 12px 16px rgb(0 0 0 / 0.55));
}
.choice-photo img { max-height: 130px; }
@media (max-width: 480px) {
  .opt-photo {
    height: 180px;
    padding: 16px;
  }
  .opt-photo img { max-height: 148px; }
  .choice-photo { height: 150px; }
  .choice-photo img { max-height: 118px; }
}
.extra-legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 14px;
  color: var(--text-2);
}
.extra-value { color: #FFFFFF; }
.extra-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.swatch {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 5px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.swatch-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
}
.swatch:hover { border-color: rgb(255 255 255 / 0.35); }
.swatch:has(input:checked) {
  border-color: var(--cyan);
  box-shadow: 0 0 14px -2px rgb(var(--cyan-rgb) / 0.8);
}
.swatch:has(input:focus-visible) {
  outline: 3px solid #FFFFFF;
  outline-offset: 2px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.25);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover span { border-color: #FFFFFF; }
.pill input:checked + span {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--navy);
}
.pill input:focus-visible + span {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}
.pill-row + .extra-note { margin-top: 10px; }

/* The map of back button spots: the cut-out controller on the same dark stage as the part photos,
   lit a little brighter so the black controller stands out. */
.opt-figure { margin-inline: 0; }
.opt-figure img {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 70% at 50% 42%, rgb(255 255 255 / 0.16), transparent 72%),
    linear-gradient(180deg, #232327 0%, #101013 100%);
}
.opt-figure figcaption {
  margin-top: 6px;
  text-align: center;
}
.figure-credit {
  display: block;
  margin-top: 2px;
  font-size: 12px;
}

/* ---------- Text fields ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
}
.optional {
  font-weight: 400;
  color: var(--text-3);
}
.input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: var(--navy);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.input {
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: rgb(255 255 255 / 0.34); }
.input:focus { border-color: var(--cyan); }
.input[aria-invalid="true"] { border-color: #FFFFFF; }
/* The country list: the browser's own arrow swapped for one that matches. */
select.input {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C3C3CB' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
select.input option { background: var(--navy); color: #FFFFFF; }
.field-error {
  font-size: 14px;
  line-height: 1.4;
  color: #E4E4EA;
}
/* Under the creator code: "5% off with KAYDN." or a nudge to check the spelling. */
.field-note {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-2);
}
.field-note:empty { display: none; }
.field-note.is-bad { color: var(--text-3); }

/* Cards with a heading, some text and fields stacked inside. */
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-intro {
  margin-top: -6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
}
/* City, state, ZIP and country: two to a row, one on a phone. */
.address-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* Spam trap: off screen for people, still in the form for bots. */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Back / Next / Send ---------- */

.step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}
.step-actions .btn { min-height: 54px; }
.step-actions .btn-cyan { margin-left: auto; }
.step-actions [hidden] { display: none; }
.btn[aria-disabled="true"] {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- Summary panel ---------- */

.summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: 28px;
  /* A thin chrome edge that catches the light at the top. */
  border: 1px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(160deg, rgb(255 255 255 / 0.34), rgb(255 255 255 / 0.06) 35%, rgb(255 255 255 / 0.06) 70%, rgb(255 255 255 / 0.18)) border-box;
  box-shadow: var(--card-shadow);
  scroll-margin-top: 16px;
}
@media (min-width: 961px) {
  .summary {
    position: sticky;
    top: 24px;
  }
}
.summary-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  /* Room at the bottom for the custom design label, so it doesn't cover the grips. */
  padding-bottom: 16%;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 42%, rgb(var(--cyan-rgb) / 0.13), transparent 75%),
    linear-gradient(180deg, #1A1A1E 0%, #0D0D10 100%);
}
.summary-stage::before {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 16%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(0 0 0 / 0.6), transparent 70%);
}
.summary-stage::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 30px rgb(var(--cyan-rgb) / 0.6);
}
.summary-stage .preview { width: 82%; }
.summary-chip {
  position: absolute;
  left: 12px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgb(12 12 14 / 0.78);
  border: 1px solid rgb(255 255 255 / 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
}
.summary-chip[hidden] { display: none; }
.chip-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--cyan);
}
.preview-note {
  margin-top: -8px;
  padding: 0 4px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}
.summary-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0 4px;
}
.summary-head h2 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  font-stretch: 115%;
}
.summary-step {
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
}
.summary-lines {
  margin: 0;
  padding: 0 4px;
  list-style: none;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-2);
}
.summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.line-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #FFFFFF;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 4px 0;
  border-top: 1px solid rgb(255 255 255 / 0.18);
}
.summary-total > span:first-child {
  font-size: 14px;
  color: var(--text-2);
}
.summary-total output,
.total-value {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  font-stretch: 118%;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  text-shadow: 0 0 22px rgb(var(--cyan-rgb) / 0.3);
}
.summary-note {
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
}
.summary-note[hidden] { display: none; }
/* A preorder's shipping timing, set apart so it isn't missed. */
.summary-note.preorder-note {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgb(var(--cyan-rgb) / 0.3);
  background: rgb(var(--cyan-rgb) / 0.05);
  color: var(--text);
}
.summary-foot {
  padding: 0 4px 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
}

/* On phones and tablets the summary sits below the steps, so a floating bar keeps the total in view. */
.total-bar { display: none; }
@media (max-width: 960px) {
  .builder-page { padding-bottom: 84px; }
  .total-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 20px;
    border-radius: 999px;
    background: rgb(21 21 24 / 0.92);
    border: 1px solid rgb(var(--cyan-rgb) / 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.8), 0 0 24px -10px rgb(var(--cyan-rgb) / 0.8);
  }
  .total-bar[hidden] { display: none; }
}
.total-bar-label {
  font-size: 14px;
  color: var(--text-2);
}
.total-bar-value {
  margin-left: 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  font-stretch: 118%;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}

/* ---------- Build request sent ---------- */

.sent {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  padding-top: 40px;
}
.sent[hidden] { display: none; }
.sent-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.sent-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 0 40px -6px rgb(var(--cyan-rgb) / 0.8);
}
.sent-title {
  font-size: clamp(38px, 4.4vw, 56px);
  outline: none;
}
.sent-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
}
.sent .card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sent .summary-lines,
.sent .summary-total,
.sent .summary-note,
.sent .summary-foot { padding-inline: 0; }
/* Cash App payment: the order code to copy, what to send, and the button that opens Cash App. */
.pay-card {
  border-color: rgb(var(--cyan-rgb) / 0.45);
  box-shadow: 0 0 40px -18px rgb(var(--cyan-rgb) / 0.5);
}
.order-code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 12px 12px 16px;
  border-radius: 16px;
  background: var(--navy);
  border: 1px solid var(--line);
}
.order-code-label {
  font-size: 14px;
  color: var(--text-2);
}
.order-code {
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}
.pay-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.pay-text[hidden] { display: none; }
.pay-text strong { color: #FFFFFF; }
.pay-card .btn-lg { align-self: flex-start; }
/* The Shopify checkout (Shop Pay, cards) and the line between it and Cash App. */
.pay-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.pay-option[hidden],
.pay-or[hidden] { display: none; }
.pay-option .summary-foot { padding: 0; }
.pay-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-3);
}
.pay-or::before,
.pay-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
/* After paying with Cash App: pick a screenshot of the payment, see it, send it. */
.proof {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.proof-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
}
.proof-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
/* The file input itself is hidden; its label is the button, so it shows the focus ring. */
.proof-file:focus-visible + .proof-choose {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}
.proof-file-name {
  font-size: 14px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}
.proof-thumb {
  max-width: 180px;
  max-height: 240px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.proof-thumb[hidden],
.proof .btn[hidden] { display: none; }
/* A screenshot that didn't go through has to be noticed, unlike a mistyped creator code. */
.proof .field-note.is-bad { color: #FFFFFF; }
/* Where to reach him about an order: the footer's links, as buttons. */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#contact-code { white-space: nowrap; }
.sent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Saving, sharing and deep links ---------- */

.restore-note {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 15px;
  color: var(--text-2);
}
.restore-note[hidden] { display: none; }
/* A button that reads like a link. */
.link-btn {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--cyan);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: #FFFFFF; }

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 4px;
}
.summary-actions .btn { flex: 1 1 auto; }
.share-status:empty { display: none; }

/* A section glows briefly when a link points to it or a pick changes it. */
.opt-section.is-target { animation: target-glow 3.5s ease-out; }
@keyframes target-glow {
  0%, 60% {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgb(var(--cyan-rgb) / 0.16), 0 0 36px -10px rgb(var(--cyan-rgb) / 0.9);
  }
}
