@font-face {
  font-family: DM;
  src: url("/iPod/fonts/sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/iPod/fonts/mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #211f25;
  --muted: #6b6870;
  --paper: #f8f7f3;
  --edge: #d8d7d2;
  --lilac: #dcd5fb;
  --accent: #c5b4ff;
  --lime: #d5f59c;
  --mono: Plex, monospace;
  --sans: DM, Arial, sans-serif;
  color: var(--ink);
  font: 16px/1.4 var(--sans);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  font: inherit;
  color: inherit;
}
button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #7050c6;
  outline-offset: 3px;
}
button {
  touch-action: manipulation;
}
button svg,
.ico {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
  flex-shrink: 0;
}
a {
  color: #473c74;
}
button:hover {
  filter: brightness(0.96);
}
.frame {
  max-width: 1536px;
  padding-inline: clamp(24px, 4.5vw, 76px);
  margin: auto;
}
.mono,
.kicker,
.stagebadge {
  font: 500 11px/1.25 var(--mono);
  letter-spacing: 0.075em;
}
.mast {
  background: #242327;
  color: #f8f7f3;
}
.nav {
  display: flex;
  align-items: center;
  height: 66px;
  gap: clamp(30px, 6vw, 95px);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  letter-spacing: -1.8px;
  font-size: 31px;
  line-height: 1;
  font-weight: 820;
}
.brand-period {
  color: var(--lime);
}
.logomark {
  background: var(--lime);
  border-radius: 7px;
  color: transparent;
  margin-right: 9px;
  width: 32px;
  height: 32px;
  background-image: url("/iPod/mark.svg");
  background-size: cover;
  transform: rotate(-7deg);
}
.nav nav {
  display: flex;
  align-self: stretch;
  gap: 33px;
}
.nav nav button {
  position: relative;
  font-size: 14px;
  font-weight: 550;
  color: #c0bec4;
}
.nav nav .nav-current {
  color: white;
}
.nav-current:after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 4px;
  background: var(--lime);
  bottom: 0;
  left: 1px;
  right: 1px;
}
.mybuilds {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}
.mybuilds small {
  font: 11px var(--mono);
  padding: 2px 6px;
  border: 1px solid #606064;
  border-radius: 5px;
  color: #ddd;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 27px;
  gap: 12px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #56505e;
  font-size: 10px;
  letter-spacing: 0.115em;
}
.eq {
  height: 14px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.eq b {
  display: inline-block;
  width: 2px;
  background: #776493;
  height: 6px;
}
.eq b:nth-child(2) {
  height: 12px;
}
.eq b:nth-child(3) {
  height: 16px;
}
.eq b:nth-child(4) {
  height: 10px;
}
.intro h1 {
  letter-spacing: -0.072em;
  font-weight: 690;
  font-size: clamp(46px, 4.7vw, 73px);
  line-height: 1;
  margin: 9px 0 8px;
}
.intro h1 span {
  color: #8777b3;
}
.intro p {
  margin: 0;
  color: #68636c;
  font-size: 15px;
  letter-spacing: -0.012em;
}
.outline,
.iconbtn,
.expandBtn,
.share,
.dialog-primary,
.dialog-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.outline {
  font-size: 14px;
  font-weight: 650;
  height: 40px;
  padding: 0 15px;
  background: #fcfbf8;
  border: 1px solid #c7c5c2;
  border-radius: 8px;
}
.outline svg {
  width: 16px;
}
.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
}
.section-line h2 {
  font-size: 15px;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 720;
}
.rail-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rail-controls > .mono {
  font-size: 10px;
  color: var(--muted);
  margin-right: 6px;
}
.iconbtn {
  height: 29px;
  width: 29px;
  background: #fcfbf8;
  border: 1px solid var(--edge);
  border-radius: 6px;
}
.iconbtn svg {
  width: 15px;
  height: 15px;
}
.rail {
  display: flex;
  gap: 8px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 1px 1px 4px;
}
.rail::-webkit-scrollbar {
  display: none;
}
.gen {
  flex: 1 0 0;
  min-width: 0;
  position: relative;
  display: flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  background: #fdfcfa;
  border: 1px solid var(--edge);
  border-radius: 9px;
  height: 83px;
  scroll-snap-align: center;
  text-align: left;
  transition:
    background 0.23s,
    border-color 0.23s;
}
.gen img {
  height: 56px;
  width: 39px;
  object-fit: contain;
  filter: drop-shadow(1px 2px 1px #34303b33);
  transition: transform 0.3s;
}
.gen:hover img {
  transform: translateY(-2px) rotate(-3deg);
}
.gen[aria-pressed="true"] {
  background: #e5defa;
  border: 1.5px solid #8a78b5;
  box-shadow: inset 0 0 0 0.3px #8a78b5;
}
.gen strong,
.gen small {
  display: block;
  white-space: nowrap;
}
.gen strong {
  font-size: 14px;
  letter-spacing: -0.025em;
}
.gen small {
  font: 10px/1.6 var(--mono);
  color: #6a646e;
  margin-top: 2px;
}
.gen .gencheck {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 12px;
  height: 12px;
  background: #6e5b98;
  border-radius: 50%;
  color: white;
  display: grid;
  place-items: center;
}
.gencheck svg {
  width: 8px;
  height: 8px;
  stroke-width: 3;
}
.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(355px, 1fr);
  gap: 20px;
  margin-top: 23px;
  align-items: start;
}
.preview,
.panel {
  border: 1px solid var(--edge);
  border-radius: 14px;
  overflow: hidden;
  background: #fffefa;
}
.stage {
  height: clamp(410px, 33.5vw, 515px);
  position: relative;
  isolation: isolate;
  background-color: #d9d2ed;
  background-image:
    radial-gradient(ellipse at 31% 20%, #eee7fc 0%, transparent 62%),
    linear-gradient(137deg, #e3daef 2%, #d7cee9 55%, #c0b2d5 100%);
  overflow: hidden;
}
.stage:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(#58477350 0.7px, transparent 0.85px);
  background-size: 9px 9px;
  opacity: 0.38;
}
.stagehead {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 19px;
  left: 21px;
  right: 20px;
  z-index: 3;
  pointer-events: none;
}
.stagebadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff55;
  border: 1px solid #ffffff9c;
  padding: 6px 9px;
  border-radius: 5px;
  font-size: 9px;
  color: #4d435f;
  letter-spacing: 0.11em;
}
.stagebadge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #655178;
}
.expandBtn {
  width: 32px;
  height: 32px;
  border: 1px solid #9b8daa74;
  border-radius: 7px;
  color: #4f455b;
  pointer-events: auto;
  background: #f9f5ff40;
}
.expandBtn svg {
  width: 15px;
}
.stage-lines {
  pointer-events: none;
  position: absolute;
  bottom: 18%;
  left: 18%;
  width: 62%;
  height: 14%;
  border: 1px dashed #705e862e;
  border-radius: 50%;
  transform: rotate(-4deg);
}
.device {
  position: absolute;
  inset: 4% 2% 5%;
  z-index: 1;
  touch-action: pan-y;
}
.stage-caption {
  position: absolute;
  z-index: 2;
  bottom: 19px;
  left: 23px;
  pointer-events: none;
}
.stage-caption .mono {
  font-size: 10px;
  color: #655872;
}
.stage-caption h2 {
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -0.055em;
  margin: 5px 0 0;
  font-weight: 660;
}
.stage-swatch {
  position: absolute;
  right: 22px;
  bottom: 21px;
  display: flex;
  align-items: end;
  gap: 3px;
  height: 14px;
  opacity: 0.45;
}
.stage-swatch b {
  width: 2px;
  height: 5px;
  background: #53465f;
}
.stage-swatch b:nth-child(3n) {
  height: 9px;
}
.stage-swatch b:nth-child(5n + 1) {
  height: 14px;
}
.stage-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 17px;
  border-top: 1px solid #b8abc4;
}
.view-switch,
.group-tabs {
  display: flex;
  gap: 3px;
  border: 1px solid var(--edge);
  background: #f0efec;
  border-radius: 7px;
  padding: 3px;
}
.view-switch button,
.group-tabs button {
  border-radius: 5px;
  font: 600 12px var(--sans);
  min-height: 29px;
  padding: 0 11px;
  color: #68646b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.view-switch button[aria-pressed="true"],
.group-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.view-switch svg {
  width: 14px;
  height: 14px;
}
.drag-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.drag-hint svg {
  width: 17px;
  height: 17px;
}
.panelhead {
  padding: 19px 21px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-title > svg {
  width: 19px;
  height: 19px;
}
.panel-title h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.group-tabs {
  padding: 2px;
}
.group-tabs button {
  font-size: 11px;
  min-height: 25px;
  padding: 0 8px;
}
.group-tabs button[aria-pressed="true"] {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px #25212621;
}
.part {
  border-top: 1px solid var(--edge);
}
.part-title {
  display: flex;
  align-items: center;
  padding: 15px 21px;
  gap: 11px;
  width: 100%;
  text-align: left;
}
.part-title > .picon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge);
  border-radius: 7px;
  background: #f5f4ef;
}
.picon svg {
  width: 17px;
  height: 17px;
}
.part.open .picon {
  background: #e6dff4;
  border-color: #d5c9e9;
}
.part-title strong {
  font-weight: 660;
  font-size: 16px;
  letter-spacing: -0.035em;
}
.part-title .value {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: #69646c;
  display: flex;
  align-items: center;
  gap: 6px;
}
.value em {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  border: 1px solid #0002;
}
.part-title .chev {
  width: 13px;
  height: 13px;
  color: #6f6b74;
}
.part-details {
  padding: 0 21px 17px;
  animation: reveal 0.24s ease-out;
}
.part-details p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}
.swatches {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.swatch {
  position: relative;
  border: 1px solid #0002;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--chip);
  color: var(--chip-ink);
  box-shadow:
    inset 0 1px 2px #fff9,
    inset 0 -1px 2px #0001;
  transition: transform 0.2s;
}
.swatch[data-id="original"],
.swatch[data-id="clear"],
.swatch[data-id="transparent"] {
  background-image: repeating-linear-gradient(
    135deg,
    #fffc 0 2px,
    #8882 2px 4px
  );
}
.swatch[aria-pressed="true"]:before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1.7px solid #655280;
}
.swatch[aria-pressed="true"] {
  transform: scale(0.95);
}
.swatch svg {
  width: 15px;
  stroke-width: 2.4;
}
.swatch:hover {
  transform: translateY(-2px);
}
.swatches.named-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 5px;
  padding: 0;
}
.named-swatch {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  border: 1px solid var(--edge);
  border-radius: 6px;
  text-align: left;
  font-size: 12px;
  font-weight: 520;
  background: #faf9f6;
  transition:
    background-color 0.16s,
    border-color 0.16s;
}
.named-swatch:hover {
  border-color: #a39ba9;
}
.named-swatch[aria-pressed="true"] {
  background: #ede8f5;
  border-color: #8a79a2;
  color: #37313f;
}
.color-sample {
  flex: 0 0 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid #0002;
  border-radius: 50%;
  background: var(--chip);
  color: var(--chip-ink);
  box-shadow: inset 0 1px 2px #fff6;
}
.named-swatch[data-id="clear"] .color-sample {
  background-image: repeating-linear-gradient(
    135deg,
    #fffb 0 2px,
    #8882 2px 4px
  );
}
.color-sample svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
}
.part-details p.fixed-part {
  margin: 0;
}
.options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.opt {
  background: #f6f5f2;
  border: 1px solid #d6d2da;
  border-radius: 6px;
  font-size: 13px;
  padding: 6px 9px;
}
.opt[aria-pressed="true"] {
  border-color: #8d79af;
  background: #e9e2f4;
}
.option-note {
  margin: 12px 0 0 !important;
  font-size: 12px !important;
}
.estimate {
  background: #f0eee7;
  border-top: 1px solid var(--edge);
  padding: 15px 21px;
}
.estimate-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.estimate .mono {
  font-size: 9px;
  color: #655e6a;
  letter-spacing: 0.1em;
}
.price {
  font-size: 32px;
  letter-spacing: -0.065em;
  line-height: 1.1;
  font-weight: 660;
}
.share,
.dialog-primary {
  background: #252428;
  color: #fff;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 590;
  padding: 12px 15px;
}
.share svg {
  width: 17px;
}
.sourceStatus {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-align: left;
  color: #625d64;
  font-size: 11px;
  margin-top: 7px;
}
.sourceStatus:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #9b8234;
  border-radius: 50%;
}
.sourceStatus.live:before {
  background: #618143;
}
.donor-comparison {
  padding-top: 8px;
  color: #625d64;
  font-size: 12px;
}
.donor-comparison button {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  border-top: 1px solid var(--edge);
  padding: 8px 0 0;
}
.donor-comparison strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.donor-comparison small {
  display: block;
  margin-top: 2px;
}
footer {
  margin: 24px 0 0;
  border-top: 1px solid var(--edge);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 24px;
  font-size: 12px;
  color: var(--muted);
}
footer span,
footer button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.footerMark {
  color: #6f617d;
}
.preview.expanded {
  position: fixed;
  inset: 4vh 5vw;
  z-index: 9;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 12vw #24222ed9;
}
.preview.expanded .stage {
  flex: 1;
}
.preview.expanded .device {
  inset: 8% 2% 9%;
}
body:has(.expanded),
body:has(dialog[open]) {
  overflow: hidden;
}
dialog {
  color: var(--ink);
  background: var(--paper);
  width: min(530px, calc(100% - 28px));
  border: 1px solid #bcb6bd;
  border-radius: 15px;
  padding: 20px 25px 26px;
  box-shadow: 0 24px 100px #21162640;
  max-height: 86dvh;
}
dialog::backdrop {
  background: #26202d78;
  backdrop-filter: blur(4px);
}
dialog[open] {
  animation: reveal 0.2s ease-out;
}
.dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}
dialog h2 {
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.06em;
  margin: 14px 0;
}
dialog h3 {
  font-size: 16px;
  letter-spacing: -0.03em;
}
dialog p {
  font-size: 14px;
  color: var(--muted);
}
.dialog-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.dialog-secondary {
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--edge);
  border-radius: 7px;
  padding: 8px 11px;
}
.drow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid var(--edge);
  font-size: 14px;
}
.drow > span:first-child {
  color: var(--muted);
}
.drow > strong {
  font-weight: 600;
  text-align: right;
}
.cost-row > span:first-child {
  color: var(--ink);
}
.cost-row small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}
.donor-detail {
  margin: 17px 0;
  padding: 13px 15px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: #f1efe8;
}
.donor-detail h3 {
  margin: 0;
}
.donor-detail a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.donor-detail p,
.donor-detail small {
  color: var(--muted);
  font-size: 12px;
}
.donor-detail p:last-child {
  margin-bottom: 0;
}
.dialog-card {
  display: flex;
  width: 100%;
  align-items: center;
  text-align: left;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--edge);
}
.dialog-card img {
  width: 35px;
  height: 53px;
  object-fit: contain;
}
.dialog-card b,
.dialog-card small {
  display: block;
}
.dialog-card small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.dialog-card svg {
  margin-left: auto;
}
.dialog-input {
  width: 100%;
  border: 1px solid #c3bdc5;
  background: #fffefa;
  border-radius: 6px;
  font: inherit;
  padding: 10px;
}
.control-label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 16px 0 7px;
}
.price-list {
  padding: 0;
  list-style: none;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--edge);
  padding: 10px 0;
}
.price-list a {
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}
.price-list small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.price-list strong {
  align-self: start;
  white-space: nowrap;
  font-size: 14px;
}
.price-list .unavailable {
  color: #8f482f;
}
.item-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}
.item-flex > .iconbtn {
  flex: none;
}
.receipt-head {
  display: flex;
  align-items: center;
  gap: 17px;
  border-radius: 9px;
  background: #e4ddf2;
  padding: 12px 17px;
  margin-bottom: 10px;
}
.receipt-head img {
  width: 48px;
  height: 65px;
  object-fit: contain;
}
.receipt-head h3 {
  margin: 2px 0;
  font-size: 21px;
}
.receipt-head .mono {
  font-size: 10px;
}
.guide-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}
.view-switch button:active,
.share:active,
.outline:active {
  transform: translateY(1px);
}
#toast {
  position: fixed;
  z-index: 20;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 8px);
  background: var(--ink);
  color: white;
  padding: 10px 17px;
  font-size: 13px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: 0.18s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1650px) {
  .frame {
    padding-inline: 60px;
  }
}
@media (max-width: 1150px) {
  .frame {
    padding-inline: 32px;
  }
  .gen {
    gap: 7px;
  }
  .gen img {
    width: 32px;
    height: 52px;
  }
  .gen strong {
    font-size: 13px;
  }
  .panelhead {
    display: block;
  }
  .group-tabs {
    display: inline-flex;
    margin-top: 10px;
  }
  .panelhead {
    padding-block: 15px 10px;
  }
  .workbench {
    grid-template-columns: minmax(0, 1.3fr) minmax(325px, 1fr);
    gap: 16px;
  }
  .stage-controls {
    padding-inline: 12px;
  }
  .stage {
    height: 435px;
  }
  .swatches {
    gap: 7px;
  }
}
@media (max-width: 830px) {
  .rail {
    margin-right: -32px;
    padding-right: 32px;
  }
  .gen {
    flex: 0 0 119px;
  }
  .workbench {
    grid-template-columns: minmax(0, 1.14fr) minmax(285px, 1fr);
    gap: 12px;
  }
  .frame {
    padding-inline: 24px;
  }
  .rail {
    margin-right: -24px;
    padding-right: 24px;
  }
  .part-title,
  .panelhead,
  .estimate {
    padding-inline: 14px;
  }
  .part-details {
    padding-inline: 15px;
  }
  .swatch {
    width: 28px;
    height: 28px;
  }
  .drag-hint {
    font-size: 0;
    gap: 0;
  }
  .stage {
    height: 440px;
  }
  .stage-controls {
    padding: 10px;
  }
  .nav {
    gap: 35px;
  }
  .nav nav {
    gap: 22px;
  }
}
@media (max-width: 680px) {
  .frame {
    padding-inline: 16px;
  }
  .nav {
    height: 54px;
    gap: 22px;
  }
  .brand {
    font-size: 25px;
  }
  .logomark {
    width: 26px;
    height: 26px;
  }
  .nav nav {
    gap: 14px;
  }
  .nav nav button {
    font-size: 12px;
  }
  .nav nav .nav-current {
    display: none;
  }
  .mybuilds {
    gap: 5px;
    font-size: 12px;
  }
  .mybuilds small {
    display: none;
  }
  .intro {
    padding: 25px 0 23px;
  }
  .intro h1 {
    font-size: 46px;
    margin-top: 8px;
  }
  .intro p {
    font-size: 13px;
  }
  .kicker {
    font-size: 9px;
  }
  .save {
    height: 34px;
    width: 34px;
    font-size: 0;
    gap: 0;
    padding: 0;
  }
  .save svg {
    width: 17px;
  }
  .section-line h2 {
    font-size: 14px;
  }
  .rail {
    margin-right: -16px;
    padding-right: 16px;
    gap: 7px;
  }
  .gen {
    flex-basis: 107px;
    height: 64px;
    gap: 6px;
  }
  .gen img {
    height: 44px;
    width: 29px;
  }
  .rail-controls > .mono {
    font-size: 9px;
  }
  .iconbtn {
    width: 26px;
    height: 26px;
  }
  .workbench {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    gap: 14px;
  }
  .preview,
  .panel {
    width: 100%;
    border-radius: 11px;
  }
  .stage {
    height: clamp(310px, 83vw, 430px);
  }
  .stagehead {
    top: 13px;
    left: 14px;
    right: 14px;
  }
  .stage-caption {
    left: 15px;
    bottom: 15px;
  }
  .stage-caption h2 {
    font-size: 23px;
  }
  .stage-caption .mono {
    font-size: 8px;
  }
  .stage-controls {
    padding: 9px 12px;
  }
  .drag-hint {
    font-size: 11px;
    gap: 4px;
  }
  .stagebadge {
    font-size: 8px;
  }
  .panelhead {
    display: flex;
    padding: 15px;
  }
  .group-tabs {
    margin: 0;
  }
  .part-title {
    padding: 13px 17px;
  }
  .part-details {
    padding: 0 17px 15px;
  }
  .swatch {
    width: 30px;
    height: 30px;
  }
  .swatches {
    gap: 8px;
  }
  .view-switch button {
    padding: 0 8px;
  }
  .estimate {
    padding: 15px 17px;
  }
  .expanded.preview {
    width: auto;
    inset: 5dvh 10px;
  }
  .dialog-bar .mono {
    font-size: 10px;
  }
  dialog h2 {
    font-size: 29px;
  }
  .stage-swatch {
    right: 16px;
  }
  footer {
    margin-top: 19px;
  }
}
@media (max-width: 390px) {
  .nav {
    gap: 14px;
  }
  .nav nav {
    gap: 10px;
  }
  .mybuilds span {
    display: none;
  }
  .intro h1 {
    font-size: 41px;
  }
  .drag-hint {
    font-size: 10px;
  }
  .panel-title h2 {
    font-size: 18px;
  }
  .stage .device {
    inset: 4% 0 8%;
  }
  .stage-caption {
    bottom: 8px;
  }
  .stage-caption h2 {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.reuse {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #706974;
  margin-top: 10px;
}
.reuse svg {
  width: 11px;
  height: 11px;
}
.reuse[aria-pressed="true"] {
  color: #514169;
  font-weight: 650;
}
.chev {
  display: flex;
  align-items: center;
}
.chev svg {
  width: 13px;
  height: 13px;
}
.swatches {
  padding: 3px;
}
.part-details p {
  line-height: 1.35;
}
.intro .kicker {
  font-weight: 600;
}
@media (min-width: 831px) and (max-height: 850px) {
  .nav {
    height: 54px;
  }
  .intro {
    padding: 19px 0 16px;
  }
  .intro h1 {
    font-size: clamp(44px, 4vw, 61px);
    margin: 6px 0;
  }
  .gen {
    height: 66px;
  }
  .gen img {
    height: 47px;
  }
  .section-line {
    margin-bottom: 7px;
  }
  .workbench {
    margin-top: 15px;
  }
  .stage {
    height: clamp(339px, 48.6vh, 405px);
  }
  .panelhead {
    padding-block: 13px 10px;
  }
  .part-title {
    padding-block: 10px;
  }
  .part-details {
    padding-bottom: 11px;
  }
  .part-details p {
    margin-bottom: 6px;
  }
  .estimate {
    padding-block: 10px;
  }
  .stage-controls {
    padding-block: 8px;
  }
  .intro p {
    font-size: 14px;
  }
  .reuse {
    margin-top: 6px;
  }
  .stage-caption h2 {
    font-size: 25px;
  }
}
.gen:focus:not(:focus-visible) {
  outline: none;
}
.gen[aria-pressed="true"]:hover {
  background: #e2daf8;
}
.preview .stage {
  background-image:
    radial-gradient(ellipse at 22% 9%, #f0e9ff 0, transparent 54%),
    linear-gradient(125deg, #e4d9ee 6%, #d9ceed 50%, #c5b5d9 94%);
}
