/* ============================================================
   CUSTOM BUILD STATION — page shell + builder styles
   Shared look with the home page: same palette, type, and chrome.
   ============================================================ */

:root { --acid-green: #d6ff49; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden; width: 100%; background: black; color: white;
  font-family: 'Press Start 2P', cursive; text-align: center;
}
html { scroll-behavior: smooth; }

body::before {
  content: ""; position: fixed; width: 100%; height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: .25; z-index: -1;
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus {
  left: 10px; top: 10px; background: black; color: white; padding: 10px 15px;
  z-index: 10000; text-decoration: none; border: 2px solid #ff3c8d;
}

.container { max-width: 1100px; margin: auto; padding: 0 20px; }

.announcement-bar { background: white; color: black; overflow: hidden; padding: 14px 0; border-bottom: 2px solid hotpink; cursor: pointer; touch-action: manipulation; }
.announcement-track { display: flex; width: max-content; gap: 80px; white-space: nowrap; animation: announcementScroll 24s linear infinite; font-size: 11px; }
.announcement-track span { flex-shrink: 0; padding-inline: 20px; }
.announcement-copy > span { padding-inline: 0; }
.announcement-label + .announcement-event::before { content: " "; }
.announcement-event + .announcement-event::before { content: " ✦ "; }
.announcement-bar:hover .announcement-track, .announcement-bar:focus .announcement-track, .announcement-bar:active .announcement-track { animation-play-state: paused; }
@keyframes announcementScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

button {
  background: #ff3c8d; color: black; border: none; padding: 10px 15px;
  font-family: 'Press Start 2P'; cursor: pointer; font-size: 10px; transition: all .25s ease;
}
button:hover, button:focus {
  box-shadow: 0 0 12px hotpink, 0 0 25px #ff3c8d; transform: translateY(-2px);
}

form input, form select, form textarea {
  width: 100%; padding: 14px 16px; font-family: 'Press Start 2P', cursive; font-size: 9px;
  background: #111; color: white; border: 2px solid hotpink; outline: none;
  letter-spacing: 1.2px; line-height: 1.8; transition: 0.2s ease;
}
form input::placeholder, form textarea::placeholder { color: #888; letter-spacing: 1.2px; line-height: 1.8; }
form input:focus, form select:focus, form textarea:focus { box-shadow: 0 0 8px #ff3c8d; border-color: #ff3c8d; }
form label { font-size: 9px; color: #ff3c8d; margin-bottom: 6px; display: block; text-align: left; padding-left: 2px; }
.required { color: #ff3c8d; }
.input-error { border-color: #ff6b9d !important; background: #1a0a0a !important; }

#form-message { margin-top: 10px; font-size: 9px; color: #ff3c8d; min-height: 12px; display: none; }
#form-message.show { display: block; }
#form-message.success { color: #00ff88; }

.toast-notification {
  position: fixed; bottom: 20px; left: 20px; background: black; border: 2px solid hotpink;
  color: white; padding: 16px 20px; font-size: 10px; z-index: 10000; animation: slideUp 0.3s ease; max-width: 300px;
}
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---- BAG DRAWER ---- */
#cartPopup {
  position: fixed; top: 0; right: -380px; width: 340px;
  height: 100dvh; background: black; display: flex; flex-direction: column;
  border-left: 2px solid hotpink; padding: 0; overflow-y: auto; font-size: 10px;
  transition: right .35s cubic-bezier(.22,1,.36,1); z-index: 9999; text-align: left;
}
#cartPopup.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem; border-bottom: 1px solid rgba(255,181,213,.34); }
.cart-header h2 { margin: 0; font-family: 'Press Start 2P'; font-size: 1.15rem; font-weight: 400; }
.close-cart { width: auto; min-height: 44px; border: 0; background: transparent; color: #ff4f9a; font-size: 1.6rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; }
.cart-empty { color: #ffb5d5; line-height: 1.7; text-align: center; margin: 4rem 1rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid rgba(255,181,213,.34); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; }
.cart-item h3 { margin: 0 0 .3rem; font-size: .7rem; line-height: 1.35; text-align: left; }
.cart-item p { margin: 0; color: #d6ff49; font-size: .68rem; text-align: left; }
.remove-item { width: auto; min-height: 44px; border: 0; background: transparent; color: #ffb5d5; cursor: pointer; font-size: 1.1rem; }
.cart-footer { padding: 1.2rem; border-top: 1px solid rgba(255,181,213,.34); }
.cart-total { display: grid; gap: .45rem; margin-bottom: 1rem; font-family: 'Press Start 2P'; font-size: .72rem; }
.cart-total-row { display: flex; justify-content: space-between; gap: 1rem; }
.cart-total-row.final { padding-top: .65rem; border-top: 1px solid rgba(255,181,213,.34); color: #d6ff49; font-size: .82rem; }
.checkout-button { display: block; width: 100%; margin-top: 0; padding: .9rem; border: 1px solid #ff4f9a; background: #ff4f9a; color: black; text-align: center; font-family: 'Press Start 2P'; font-size: .72rem; cursor: pointer; }
.checkout-button:hover, .checkout-button:focus-visible { background: transparent; color: #ffb5d5; }
.paypal-message { margin: .8rem 0 0; color: #ffb5d5; font-size: .68rem; line-height: 1.5; }
#paypal-button-container { margin-top: 12px; }
#paypal-button-container iframe { min-height: 400px !important; }

/* ---- PAGE FOOTER ---- */
.custom-footer { border-top: 2px solid hotpink; margin-top: 70px; padding: 34px 20px; text-align: center; font-size: 10px; }
.custom-footer p { line-height: 1.9; }
.custom-footer .footer-note { font-size: 8px; color: #9494a6; margin-top: 18px; line-height: 2.2; }
.custom-footer a { color: hotpink; }
.footer-logo { width: 80px; margin: 0 auto 15px; display: block; opacity: .9; transition: all 0.3s ease; }
.footer-logo:hover, .footer-logo:focus { transform: scale(1.05); filter: drop-shadow(0 0 8px #ff3c8d); }
.social-icons { display: flex; justify-content: center; gap: 28px; margin-top: 22px; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; }
.social-icons img { width: 60px; height: 60px; object-fit: contain; display: block; }
.social-icons img:hover { transform: translateY(-5px) scale(1.08); box-shadow: 0 0 12px #ff3c8d, 0 0 25px #ff3c8d66; border-radius: 50%; }

@media (max-width: 700px) {
  #cartPopup { width: 100%; right: -100%; border-left: none; border-top: 2px solid hotpink; z-index: 10006; }
  .cart-item { grid-template-columns: 52px minmax(0, 1fr) 44px; }
  .cart-item img { width: 52px; height: 52px; }
  .cart-item h3 { overflow-wrap: anywhere; }
  .announcement-bar { padding: 12px 0; line-height: 1.5; }
  .announcement-track { gap: 40px; animation-duration: 28s; font-size: 9px; }
  .toast-notification { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .container { padding: 0 15px; }
  form input, form textarea, form select { font-size: 10px; }
  button { width: 100%; padding: 12px; }
  .social-icons img { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-track { animation: none; }
}

/* ---- CUSTOM BUILD STATION ---- */
#custom {
  --bld-pink: #ff3c8d;
  --bld-acid: var(--acid-green);
  --bld-panel: #0d0d13;
  --piece: var(--bld-pink);
  max-width: 1240px; margin-top: 70px; text-align: left;
}
.bld-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.bld-head {
  position: relative; overflow: hidden; text-align: center; padding: 40px 20px 32px;
  border: 2px solid var(--bld-pink);
  background:
    radial-gradient(120% 150% at 6% -20%, rgba(255,60,141,.32), transparent 58%),
    radial-gradient(90% 130% at 102% 0%, rgba(214,255,73,.16), transparent 62%),
    #0a0a10;
  box-shadow: 14px 14px 0 rgba(255,60,141,.14);
}
.bld-head::before, .bld-head::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px; pointer-events: none;
  background-image:
    linear-gradient(45deg, var(--bld-pink) 25%, transparent 25% 75%, var(--bld-pink) 75%),
    linear-gradient(45deg, var(--bld-pink) 25%, transparent 25% 75%, var(--bld-pink) 75%);
  background-size: 10px 10px; background-position: 0 0, 5px 5px; opacity: .85;
}
.bld-head::before { top: 0; }
.bld-head::after { bottom: 0; }
.bld-kicker { font-size: 9px; color: var(--bld-acid); letter-spacing: 2px; }
.bld-title {
  margin: 14px 0 16px; color: #fff; font-size: clamp(20px, 5.2vw, 42px); line-height: 1.2; letter-spacing: 2px;
  text-shadow: 3px 3px 0 var(--bld-pink), 6px 6px 0 rgba(214,255,73,.5);
}
.bld-lede { font-size: 10px; line-height: 2.1; color: #fff; max-width: 560px; margin: 0 auto; }
.bld-lede span { color: #b9b9c8; font-size: 9px; }
.bld-shuffle {
  margin-top: 24px; background: transparent; border: 2px solid var(--bld-acid);
  color: var(--bld-acid); padding: 12px 18px; font-size: 9px; letter-spacing: 1px;
}
.bld-shuffle:hover, .bld-shuffle:focus { background: var(--bld-acid); color: #0a0a10; box-shadow: 6px 6px 0 rgba(255,60,141,.5); }

#custom .bld-form { display: block; max-width: none; margin: 0; padding: 0; background: none; border: 0; gap: 0; }
.bld-layout {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(272px, .8fr);
  gap: 26px; align-items: start; margin-top: 26px;
}
.bld-mini { display: none; }

.bld-step {
  position: relative; border: 2px solid rgba(255,60,141,.5); background: var(--bld-panel);
  padding: 24px 20px 22px; margin: 0 0 18px;
}
.bld-step::after {
  content: attr(data-step); position: absolute; top: 8px; right: 14px; font-size: 34px;
  color: rgba(255,60,141,.12); pointer-events: none;
}
.bld-step > legend {
  margin-left: 4px; padding: 7px 12px; background: var(--bld-pink); color: #0a0a10;
  font-size: 9px; letter-spacing: 1.4px; line-height: 1.6;
}
.bld-num { margin-right: 8px; font-size: 12px; opacity: .55; }
.bld-hint { font-size: 9px; line-height: 2.1; color: #b7b7c6; margin: 14px 0 18px; max-width: 62ch; }
.bld-hint b { color: var(--bld-acid); }
.bld-empty {
  border: 2px dashed rgba(255,60,141,.4); padding: 20px 16px; font-size: 8px;
  line-height: 2.2; color: #8d8d9e; text-align: center;
}
.bld-steps { min-width: 0; }
.bld-step-last { border-color: rgba(214,255,73,.5); }
.bld-step-last > legend { background: var(--bld-acid); }
.bld-step-last::after { color: rgba(214,255,73,.12); }

/* the hidden attribute has to beat the display rules below, or every swatch group shows at once */
#custom [hidden] { display: none !important; }
.bld-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 12px; }
#custom .bld-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px;
  margin: 0; padding: 16px 12px 14px; border: 2px solid rgba(255,60,141,.35); background: #0b0b11;
  color: var(--piece); cursor: pointer; text-align: center; padding-left: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
#custom .bld-tile input, #custom .bld-swatch input, #custom .bld-chip input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; opacity: 0;
}
#custom .bld-tile:hover { transform: translateY(-3px); border-color: var(--bld-pink); box-shadow: 6px 6px 0 rgba(255,60,141,.32); }
#custom .bld-tile:focus-within, #custom .bld-swatch:focus-within, #custom .bld-chip:focus-within,
#custom .bld-addon:focus-within { outline: 2px solid var(--bld-acid); outline-offset: 3px; }
#custom .bld-tile.is-picked {
  border-color: var(--bld-acid); background: linear-gradient(180deg, rgba(255,60,141,.18), rgba(11,11,17,.95));
  box-shadow: 8px 8px 0 rgba(255,60,141,.26);
}
#custom .bld-tile.is-picked::after {
  content: "PICKED"; position: absolute; top: -9px; right: -7px; padding: 4px 6px;
  background: var(--bld-acid); color: #0a0a10; font-size: 7px; transform: rotate(3deg);
}
.bld-art { width: 50px; height: 50px; flex: 0 0 auto; display: block; filter: drop-shadow(0 0 3px rgba(255,255,255,.2)) drop-shadow(0 0 7px rgba(255,60,141,.35)); }
.bld-tile-copy { display: grid; gap: 7px; }
.bld-tile-name { color: #fff; font-size: 8px; line-height: 1.8; letter-spacing: .6px; }
.bld-tile-price { color: var(--bld-acid); font-size: 12px; }
.bld-tile-meta { color: var(--bld-pink); font-size: 7px; line-height: 1.9; }
#custom .bld-tile.is-feature {
  grid-column: span 2; flex-direction: row; align-items: center; gap: 16px; text-align: left; padding: 18px 16px;
}
#custom .bld-tile.is-feature .bld-art { width: 74px; height: 74px; }
#custom .bld-tile.is-feature .bld-tile-name { font-size: 10px; }
#custom .bld-tile.is-off { opacity: .42; }
.bld-tiles-base .bld-tile { justify-content: flex-start; gap: 7px; }

/* steps that stay shut until an earlier pick opens them */
#custom .bld-step.is-locked { border-color: rgba(255,255,255,.14); }
#custom .bld-step.is-locked > legend { background: #43434f; color: #d7d7e2; }
#custom .bld-step.is-locked::after { color: rgba(255,255,255,.07); }
#custom .bld-step.is-locked .bld-hint { opacity: .55; }
#custom .bld-step.is-locked .bld-empty { border-color: rgba(255,255,255,.22); }

.bld-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
#custom .bld-swatch {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  width: 82px; margin: 0; padding: 12px 6px 10px; border: 2px solid rgba(255,60,141,.32);
  background: #0b0b11; color: #cfcfda; font-size: 7px; text-align: center; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#custom .bld-swatch:hover { transform: translateY(-2px); border-color: var(--bld-pink); }
.bld-dot { width: 28px; height: 28px; background: var(--sw); box-shadow: inset 0 0 0 2px rgba(0,0,0,.5); }
.bld-swatch-clear .bld-dot {
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.5) 25%, transparent 25% 75%, rgba(255,255,255,.5) 75%),
    linear-gradient(45deg, rgba(255,255,255,.5) 25%, transparent 25% 75%, rgba(255,255,255,.5) 75%);
  background-size: 8px 8px; background-position: 0 0, 4px 4px; background-color: #2a3a4a;
}
#custom .bld-swatch.is-picked { border-color: var(--bld-acid); color: #fff; box-shadow: 5px 5px 0 rgba(214,255,73,.22); }
#custom .bld-swatch.is-picked .bld-dot { box-shadow: inset 0 0 0 2px #0a0a10, 0 0 14px var(--sw); }

.bld-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
#custom .bld-chip {
  position: relative; display: inline-flex; align-items: center; gap: 9px; margin: 0;
  padding: 11px 13px; border: 2px solid rgba(255,60,141,.32); background: #0b0b11;
  color: #dcdce7; font-size: 8px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#custom .bld-chip:hover { transform: translateY(-2px); border-color: var(--bld-pink); }
.bld-chip-strip { width: 36px; height: 12px; background: var(--strip); flex: 0 0 auto; }
#custom .bld-chip.is-picked { border-color: var(--bld-acid); color: #fff; box-shadow: 5px 5px 0 rgba(214,255,73,.2); }

.bld-row { display: grid; gap: 16px; }
#custom .bld-field { display: block; margin: 0 0 7px; padding: 0; font-size: 8px; color: var(--bld-pink); letter-spacing: 1.2px; }
.bld-reveal { margin-top: 14px; padding: 14px; border-left: 3px solid var(--bld-acid); background: rgba(214,255,73,.05); }
.bld-addons { display: grid; gap: 14px; }
#custom .bld-addon {
  display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 15px 14px;
  border: 2px solid rgba(255,60,141,.3); background: #0b0b11; color: #e4e4ee;
  font-size: 9px; line-height: 1.9; text-align: left; cursor: pointer;
}
#custom .bld-addon input[type="checkbox"] { width: 20px; height: 20px; padding: 0; flex: 0 0 auto; margin-top: 1px; accent-color: var(--bld-pink); cursor: pointer; }
#custom .bld-addon.is-picked { border-color: var(--bld-acid); background: rgba(214,255,73,.06); }
#custom .bld-addon.is-off { opacity: .4; }
.bld-addon-price { color: var(--bld-acid); }
.bld-addon-note { color: #9494a6; font-size: 7px; line-height: 2.2; }
#custom .bld-addon-ack { margin-top: 12px; font-size: 8px; }
.bld-extra-charms { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 14px; border: 2px solid rgba(255,60,141,.3); background: #0b0b11; }
.bld-addon-label { font-size: 9px; color: #e4e4ee; }
.bld-stepper { display: inline-flex; align-items: stretch; border: 2px solid rgba(255,60,141,.5); }
#custom .bld-stepper button { width: 42px; padding: 0; background: #15151d; color: var(--bld-pink); border: 0; font-size: 13px; }
#custom .bld-stepper button:hover, #custom .bld-stepper button:focus { background: var(--bld-pink); color: #0a0a10; box-shadow: none; transform: none; }
#custom .bld-stepper input {
  width: 62px; padding: 12px 4px; text-align: center; border: 0;
  border-left: 2px solid rgba(255,60,141,.5); border-right: 2px solid rgba(255,60,141,.5);
  background: #0b0b11; -moz-appearance: textfield;
}
#custom .bld-stepper input::-webkit-outer-spin-button, #custom .bld-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bld-ticket {
  position: sticky; top: 66px; border: 2px solid var(--bld-acid); background: #0b0b11;
  padding-bottom: 20px; box-shadow: 12px 12px 0 rgba(214,255,73,.1);
}
.bld-ticket-top {
  padding: 22px 16px 18px; text-align: center; border-bottom: 2px dashed rgba(214,255,73,.35);
  background: radial-gradient(95% 95% at 50% -10%, rgba(255,60,141,.24), transparent 72%);
}
.bld-ticket-kicker { font-size: 7px; letter-spacing: 2px; color: var(--bld-acid); margin-bottom: 16px; }
.bld-preview-art { width: 92px; height: 92px; margin: 0 auto 14px; color: var(--piece); transition: color .25s ease; }
.bld-preview-art svg { width: 100%; height: 100%; filter: drop-shadow(0 0 4px rgba(255,255,255,.2)) drop-shadow(0 0 12px rgba(255,60,141,.4)); }
.bld-preview-art.is-empty { color: #34343f; }
.bld-preview-label { font-size: 8px; line-height: 2; color: #fff; }
.bld-preview-sub { font-size: 7px; line-height: 2; color: var(--bld-acid); margin-top: 7px; }
.bld-meter { display: flex; gap: 3px; margin: 18px 16px 10px; padding: 2px; border: 2px solid rgba(214,255,73,.45); }
.bld-meter span { flex: 1; height: 10px; background: rgba(255,255,255,.07); transition: background .25s ease; }
.bld-meter span.on { background: var(--bld-acid); }
.bld-meter-label { font-size: 7px; color: #9c9cae; margin: 0 16px 16px; letter-spacing: 1px; }
.bld-lines { list-style: none; margin: 0; padding: 0 16px; display: grid; gap: 9px; }
.bld-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 8px; line-height: 1.9; color: #dcdce7; }
.bld-lines li b { color: var(--bld-pink); flex: 0 0 auto; font-weight: normal; }
.bld-lines li.bld-line-empty { display: block; color: #83839a; }
.bld-total-row { margin: 18px 16px 0; padding-top: 16px; border-top: 2px dashed rgba(214,255,73,.35); }
.bld-total-label { font-size: 8px; color: var(--bld-acid); letter-spacing: 1.6px; }
.bld-total { font-size: 28px; color: var(--bld-pink); margin: 10px 0 12px; text-shadow: 3px 3px 0 rgba(214,255,73,.35); }
.bld-note, .bld-fine { font-size: 7px; line-height: 2.2; color: #9494a6; }
#custom .bld-actions { display: grid; gap: 10px; padding: 18px 16px 0; }
#contactForm button.bld-btn-ghost { background: transparent; border: 2px solid var(--bld-pink); color: var(--bld-pink); padding: 14px 12px; font-size: 9px; }
#contactForm button.bld-btn-solid { background: var(--bld-acid); border: 2px solid var(--bld-acid); color: #0a0a10; padding: 14px 12px; font-size: 9px; }
#custom #custom-paypal-button { padding: 0 16px; }
.bld-fine { padding: 14px 16px 0; }
#custom #form-message { margin: 16px 16px 0; font-size: 8px; line-height: 2; }

/* Under 980px the sticky ticket goes inline and the running total becomes a
   bottom bar — thumb-height, above the mobile tab bar, with a jump to the
   full breakdown. */
@media (max-width: 980px) {
  .bld-layout { grid-template-columns: 1fr; }
  .bld-ticket { position: static; }
  #custom .bld-mini {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10035;
    align-items: center; justify-content: space-between; gap: 12px;
    margin: 0; padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    border: 0; border-top: 2px solid var(--bld-acid);
    background: rgba(10,10,16,.98); color: #fff; font-size: 8px; letter-spacing: 1.2px;
  }
  #custom .bld-mini-label { color: var(--bld-acid); }
  #custom .bld-mini strong { margin-left: auto; color: var(--bld-pink); font-size: 15px; }
  #custom .bld-mini-view {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    border-left: 1px solid rgba(214,255,73,.4);
    color: var(--bld-acid); font-size: 9px; letter-spacing: 1px; text-decoration: none;
  }
  #custom .bld-mini-view:hover, #custom .bld-mini-view:focus-visible { color: #fff; text-decoration: underline; }
  #bldTicket { scroll-margin-top: 84px; }
  body { padding-bottom: 74px; }
}
@media (max-width: 900px) {
  /* Sits on top of the site's mobile tab bar, so clear both. */
  #custom .bld-mini { bottom: 62px; }
  body { padding-bottom: 136px; }
}
@media (max-width: 700px) {
  #custom { padding: 0 14px; }
  .bld-head { padding: 30px 16px 26px; box-shadow: 8px 8px 0 rgba(255,60,141,.14); }
  .bld-step { padding: 20px 14px 18px; }
  .bld-step::after { font-size: 24px; }
  .bld-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  #custom .bld-tile.is-feature { flex-direction: column; text-align: center; }
  #custom .bld-swatch { width: calc(33.333% - 7px); }
  .bld-ticket { box-shadow: 8px 8px 0 rgba(214,255,73,.1); }
}
@media (prefers-reduced-motion: no-preference) {
  .bld-ready .bld-step, .bld-ready .bld-ticket { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1); }
  .bld-ready .bld-step.is-in, .bld-ready .bld-ticket.is-in { opacity: 1; transform: none; }
  .bld-kicker::after { content: "_"; animation: bldBlink 1.1s steps(1) infinite; }
  @keyframes bldBlink { 50% { opacity: 0; } }
  .bld-ticket.is-flash { animation: bldFlash .5s steps(2) 3; }
  @keyframes bldFlash { 50% { box-shadow: 0 0 0 3px var(--bld-acid), 12px 12px 0 rgba(214,255,73,.1); } }
  #custom .bld-tile.is-picked .bld-art { animation: bldPop .32s cubic-bezier(.34,1.56,.64,1); }
  @keyframes bldPop { 0% { transform: scale(.82) rotate(-6deg); } 100% { transform: none; } }
}

/* The build station's running-total bar also lives at the bottom of small
   screens, so the floating music player clears that as well as the tab bar. */
@media (max-width: 980px) {
  .y2k-mp3 { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 900px) {
  .y2k-mp3 { bottom: calc(148px + env(safe-area-inset-bottom, 0px)); }
}
