/* Wrap Riot's photo-wrap studio. Scope the overlay to keep the shop independent. */
#studio.app-studio {
  --studio-line:#deded3;
  width:min(1100px,calc(100% - 48px));
  height:min(840px,90dvh);
  max-width:1100px;
  max-height:90dvh;
  padding:0;
  margin:auto;
  overflow:hidden;
  border:1px solid #22271f;
  border-radius:14px;
  background:var(--cream);
  color:var(--ink);
  box-shadow:0 24px 90px #15142660;
}
#studio.app-studio[open] {display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;}
#studio.app-studio::backdrop {background:#151426a6;backdrop-filter:blur(5px);}
#studio.app-studio * {min-width:0;}
#studio.app-studio button {min-height:44px;}
#studio.app-studio button:focus-visible,
#studio.app-studio a:focus-visible,
#studio.app-studio input:focus-visible,
#studio.app-studio summary:focus-visible {outline:3px solid var(--blue);outline-offset:3px;}
#studio.app-studio button:disabled {cursor:not-allowed;opacity:.45;}
#studio.app-studio .studio-top {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;background:var(--pink);border-bottom:1px solid var(--ink);}
#studio.app-studio .studio-top .icon-button {height:44px;width:44px;min-width:44px;border-color:#22271f66;border-radius:50%;font-size:27px;background:transparent;}
#studio.app-studio .studio-top .icon-button:hover {background:var(--cream);}
#studio.app-studio .studio-logo {font-size:26px;font-weight:900;letter-spacing:-1.6px;line-height:1;}
#studio.app-studio .studio-logo span {color:var(--blue);}
#studio.app-studio .studio-counter {font-size:11px;font-weight:700;white-space:nowrap;}
#studio.app-studio .stepper {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:13px 24px;background:var(--cream);border-bottom:1px solid var(--studio-line);}
#studio.app-studio .stepper button {display:flex;align-items:center;justify-content:center;gap:9px;padding:6px;border-radius:8px;color:#555a50;font-size:11px;line-height:1.2;font-weight:700;}
#studio.app-studio .step-number {display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border:1px solid #9c9f93;border-radius:50%;font-size:11px;background:var(--cream);}
#studio.app-studio .stepper button.active,
#studio.app-studio .stepper button[aria-current="step"] {color:var(--ink);background:var(--lemon);}
#studio.app-studio .stepper button.active .step-number,
#studio.app-studio .stepper button[aria-current="step"] .step-number {background:var(--ink);border-color:var(--ink);color:var(--cream);}
#studio.app-studio .stepper button.complete .step-number,
#studio.app-studio .stepper button.completed .step-number {background:var(--pink);border-color:var(--ink);color:var(--ink);}
#studio.app-studio .studio-workspace {display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);min-height:0;overflow:hidden;}
#studio.app-studio .preview-area {position:relative;top:auto;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start;min-height:0;max-height:none;padding:20px 24px 14px;overflow:hidden;background:#ece8df;border-right:1px solid var(--studio-line);}
#studio.app-studio .preview-toolbar {display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;font-size:9px;font-weight:700;letter-spacing:.07em;}
#studio.app-studio .preview-style {display:flex;gap:2px;flex-shrink:0;padding:3px;border:1px solid #d3cfc3;border-radius:26px;background:var(--cream);}
#studio.app-studio .preview-style button {min-height:44px;min-width:52px;padding:8px 12px;border-radius:22px;font-size:10px;letter-spacing:0;}
#studio.app-studio .preview-style button.active,
#studio.app-studio .preview-style button[aria-pressed="true"] {color:var(--cream);background:var(--ink);}
#studio.app-studio #preview-stage {position:relative;display:flex;align-items:center;justify-content:center;flex:1 1 auto;height:auto;min-height:0;width:100%;padding:26px 24px;overflow:hidden;}
#studio.app-studio #preview-paper {position:relative;flex:none;width:auto;height:100%;max-height:440px;max-width:100%;aspect-ratio:5/7;transform:rotate(-4deg);box-shadow:5px 8px 16px #39271129;}
#studio.app-studio #preview-canvas {display:block;width:100%;height:100%;max-width:100%;object-fit:cover;}
#studio.app-studio #preview-stage.gift #preview-paper {height:68%;width:auto;max-width:82%;aspect-ratio:1;transform:rotate(-9deg);box-shadow:10px 12px 0 #b2a793,18px 20px 20px #34271029;}
#studio.app-studio #preview-stage.gift .preview-bow {font-size:100px;}
#studio.app-studio #photo-placeholder {position:absolute;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:min(220px,85%);padding:17px 14px;background:#fffdf5f2;border:1px solid var(--ink);border-radius:10px;box-shadow:3px 4px 0 #22271f14;text-align:center;color:var(--ink);font-size:12px;font-weight:700;line-height:1.6;pointer-events:none;}
#studio.app-studio #photo-placeholder span,
#studio.app-studio #photo-placeholder small {display:block;font-size:10px;font-weight:400;line-height:1.5;margin-top:3px;}
#studio.app-studio #preview-caption {flex:0 0 auto;max-width:100%;margin:0;text-align:center;font-size:10px;line-height:1.5;letter-spacing:0;color:#5b5f53;}
#studio.app-studio .studio-controls {padding:27px 30px 30px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable;scroll-padding-top:22px;-webkit-overflow-scrolling:touch;}
#studio.app-studio .step-heading {margin:0 0 22px;}
#studio.app-studio #step-eyebrow {margin:0 0 10px;font-size:9px;line-height:1.5;letter-spacing:.12em;color:var(--blue);font-weight:700;text-transform:uppercase;}
#studio.app-studio #studio-title {margin:0 0 10px;font-size:32px;line-height:1.12;letter-spacing:-1.5px;}
#studio.app-studio #step-description {margin:0;font-size:12px;line-height:1.7;color:#5c6155;}
#studio.app-studio .step-panel {animation:studio-appear .18s ease-out;}
#studio.app-studio .step-panel[hidden],
#studio.app-studio .style-panel[hidden] {display:none!important;}
#studio.app-studio .step-panel p {line-height:1.65;}
#studio.app-studio .upload-tile {position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-height:168px;margin:0;border:2px dashed var(--blue);border-radius:10px;background:#e9e8ff;text-align:center;padding:22px;color:var(--blue);cursor:pointer;}
#studio.app-studio .upload-tile:hover {background:#dfddff;}
#studio.app-studio .upload-tile:focus-within {outline:3px solid var(--blue);outline-offset:4px;}
#studio.app-studio .upload-tile input[type="file"] {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;}
#studio.app-studio .upload-tile label {cursor:pointer;}
#studio.app-studio .upload-tile>span:first-child {display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--blue);color:white;font-size:26px;line-height:1;}
#studio.app-studio .upload-tile strong {display:block;font-size:17px;letter-spacing:-.4px;}
#studio.app-studio .upload-tile small {display:block;font-size:10px;font-weight:400;line-height:1.6;color:#4c4d74;}
#studio.app-studio .upload-tile .upload-icon {display:grid;place-items:center;width:42px;height:42px;margin:0 auto 6px;border-radius:50%;background:var(--blue);color:white;font-size:27px;line-height:1;}
#studio.app-studio .privacy-note {font-size:10px;line-height:1.7;color:#585e51;text-align:center;margin:12px 0 0;}
#studio.app-studio .photo-ready {padding:15px 16px;background:#f0f2e2;border:1px solid #b8bf9f;border-radius:9px;}
#studio.app-studio .photo-ready>span {font-size:11px;font-weight:700;}
#studio.app-studio .photo-ready strong {font-size:13px;}
#studio.app-studio .photo-ready p {font-size:11px;margin:5px 0 8px;}
#studio.app-studio .photo-ready button {font-size:11px;padding:10px 12px;border:1px solid var(--ink);border-radius:6px;background:var(--cream);margin-right:6px;}
#studio.app-studio .photo-ready #remove-photo {border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:3px;}
#studio.app-studio .crop-controls {margin-top:16px;border-top:1px solid var(--studio-line);}
#studio.app-studio .crop-controls summary {padding:15px 2px;min-height:48px;font-size:12px;font-weight:700;cursor:pointer;}
#studio.app-studio .crop-controls summary span {float:right;font-size:17px;}
#studio.app-studio .crop-controls[open] summary span {transform:rotate(45deg);}
#studio.app-studio .crop-controls p {font-size:10px;color:#5c6155;}
#studio.app-studio #reset-crop {min-height:44px;font-size:11px;text-decoration:underline;text-underline-offset:3px;padding:9px 0;}
#studio.app-studio .crop-controls label {display:block;font-size:11px;font-weight:700;margin:10px 0 0;}
#studio.app-studio input[type="range"] {display:block;width:100%;min-height:44px;margin:0;accent-color:var(--blue);cursor:pointer;}
#studio.app-studio .style-tabs {display:flex;gap:4px;padding:4px;margin-bottom:20px;border-radius:9px;background:#eeeee4;}
#studio.app-studio .style-tabs button {flex:1;padding:10px 8px;font-size:11px;font-weight:700;border-radius:6px;}
#studio.app-studio .style-tabs button.active,
#studio.app-studio .style-tabs button[aria-selected="true"] {background:var(--ink);color:var(--cream);}
#studio.app-studio .style-panel>p:first-child {font-size:11px;color:#5c6155;margin:0 0 14px;}
#studio.app-studio .style-panel-heading {display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 13px;font-size:11px;line-height:1.5;}
#studio.app-studio .style-panel-heading span {font-size:9px;color:#62675b;text-align:right;}
#studio.app-studio .colour-options {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}
#studio.app-studio .colour-options .colour-choice {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;width:100%;height:auto;min-height:80px;padding:10px 3px 8px;border:1.5px solid var(--studio-line);border-radius:8px;background:var(--cream);background-clip:border-box;font-size:8px;line-height:1.35;font-weight:700;text-align:center;}
#studio.app-studio .colour-options .colour-choice::after {display:none;}
#studio.app-studio .colour-choice .colour-dot {display:block;flex:none;width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 1px #22271f22;background:var(--bg,var(--swatch,#f6b9d1));}
#studio.app-studio .colour-options .colour-choice.active,
#studio.app-studio .colour-options .colour-choice[aria-pressed="true"] {border-color:var(--ink);box-shadow:0 0 0 1px var(--ink);background:#f6f3e9;}
#studio.app-studio .accessory-options {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}
#studio.app-studio .accessory-choice {display:flex;flex-direction:column;align-items:center;gap:6px;min-height:91px;padding:9px 5px;background:var(--cream);border:1.5px solid var(--studio-line);border-radius:8px;font-size:9px;line-height:1.35;font-weight:700;}
#studio.app-studio .accessory-choice canvas {display:block;width:48px;height:48px;max-width:100%;object-fit:contain;}
#studio.app-studio .accessory-choice.active,
#studio.app-studio .accessory-choice[aria-pressed="true"] {border-color:var(--ink);box-shadow:0 0 0 1px var(--ink);background:var(--lemon);}
#studio.app-studio .phrase-options {display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px;}
#studio.app-studio .phrase-options button {border:1px solid #c9cbbf;border-radius:24px;padding:11px 14px;background:var(--cream);font-size:11px;}
#studio.app-studio .phrase-options button.active,
#studio.app-studio .phrase-options button[aria-pressed="true"] {background:var(--pink);border-color:var(--ink);font-weight:700;}
#studio.app-studio .step-panel label[for="design-name"] {display:block;font-size:12px;font-weight:700;margin-bottom:9px;}
#studio.app-studio .control-label span {float:right;font-size:10px;font-weight:400;color:#62675b;}
#studio.app-studio #design-name,
#studio.app-studio .step-panel input[type="text"],
#studio.app-studio .step-panel select {width:100%;min-height:48px;padding:12px 13px;font-size:16px;line-height:1.4;border:1px solid #a5aa9a;border-radius:6px;background:#fffef9;color:var(--ink);}
#studio.app-studio .step-panel input+small {display:block;font-size:10px;line-height:1.6;color:#62675b;margin-top:7px;}
#studio.app-studio .format-options {display:grid;gap:10px;margin:0 0 22px;padding:0;border:0;}
#studio.app-studio .format-card {position:relative;display:flex;align-items:center;gap:14px;min-height:82px;padding:15px;border:1.5px solid #cdcec2;border-radius:9px;background:var(--cream);cursor:pointer;}
#studio.app-studio .format-card:hover {border-color:var(--ink);}
#studio.app-studio .format-card.selected,
#studio.app-studio .format-card:has(input:checked) {border-color:var(--ink);box-shadow:0 0 0 1px var(--ink);background:#f4f0c9;}
#studio.app-studio .format-card:focus-within {outline:3px solid var(--blue);outline-offset:3px;}
#studio.app-studio .format-card input[type="radio"] {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
#studio.app-studio .format-icon {display:grid;place-items:center;flex:0 0 44px;width:44px;height:46px;border-radius:7px;background:var(--pink);color:var(--blue);font-size:26px;line-height:1;}
#studio.app-studio .format-copy {display:flex;flex-direction:column;gap:5px;}
#studio.app-studio .format-copy strong {font-size:13px;line-height:1.35;}
#studio.app-studio .format-copy small {font-size:10px;color:#5c6155;line-height:1.5;}
#studio.app-studio .format-tick {display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;margin-left:auto;border:1px solid #a5aa9a;border-radius:50%;background:transparent;color:transparent;font-size:13px;font-weight:700;}
#studio.app-studio .format-card.selected .format-tick,#studio.app-studio .format-card:has(input:checked) .format-tick {border-color:var(--ink);background:var(--ink);color:var(--cream);}
#studio.app-studio .quantity-row {display:flex;align-items:center;justify-content:space-between;gap:16px;}
#studio.app-studio .quantity-row label {font-size:12px;font-weight:700;}
#studio.app-studio .quantity-control {display:inline-flex;align-items:center;border:1px solid #aeb2a4;border-radius:7px;overflow:hidden;background:var(--cream);}
#studio.app-studio .quantity-control button {min-width:48px;min-height:46px;font-size:23px;padding:0 12px;}
#studio.app-studio .quantity-control button:hover {background:var(--pink);}
#studio.app-studio .quantity-control output {display:grid;place-items:center;min-width:54px;min-height:46px;border-left:1px solid #dadccf;border-right:1px solid #dadccf;font-size:16px;font-weight:700;}
#studio.app-studio .order-review {padding:17px;border:1px solid var(--studio-line);border-radius:9px;background:white;}
#studio.app-studio .order-review dl {display:grid;gap:13px;margin:0;font-size:11px;line-height:1.6;}
#studio.app-studio .order-review dl>div {display:grid;grid-template-columns:minmax(70px,.7fr) minmax(0,1.3fr);gap:17px;}
#studio.app-studio .review-product {display:flex;flex-direction:column;gap:6px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--studio-line);}
#studio.app-studio .review-product strong {font-size:16px;letter-spacing:-.4px;}
#studio.app-studio .review-product span {font-size:11px;color:#62675b;}
#studio.app-studio .order-review dt {color:#62685a;}
#studio.app-studio .order-review dd {margin:0;text-align:right;font-weight:700;overflow-wrap:anywhere;}
#studio.app-studio .review-edit {display:flex;gap:6px;flex-wrap:wrap;margin-top:16px;border-top:1px solid var(--studio-line);padding-top:8px;}
#studio.app-studio .review-edit button {font-size:10px;text-decoration:underline;text-underline-offset:3px;padding:8px 6px;}
#studio.app-studio .review-callout {margin-top:17px;padding:15px 17px;border-radius:8px;background:var(--lemon);font-size:11px;line-height:1.7;}
#studio.app-studio .review-callout strong {display:block;margin-bottom:5px;font-size:12px;}
#studio.app-studio .review-callout p {margin:4px 0 0;}
#studio.app-studio .checkout-unavailable {display:block;width:100%;min-height:44px;margin-top:13px;padding:11px 14px;border:1px solid #22271f80;border-radius:6px;background:transparent;font-size:11px;font-weight:700;}
#studio.app-studio .checkout-unavailable:disabled {opacity:.7;}
#studio.app-studio .sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
#studio.app-studio .local-save-note {font-size:10px;line-height:1.7;color:#5e6456;margin:14px 0 0;}
#studio.app-studio #studio-status {font-size:11px;line-height:1.6;text-align:left;color:var(--blue);margin:12px 0 0;min-height:0;}
#studio.app-studio #photo-error {font-size:11px;line-height:1.6;color:#a51e3b;margin:12px 0;}
#studio.app-studio .studio-footer {position:relative;display:flex;align-items:center;gap:18px;flex:none;padding:16px 24px;background:var(--cream);color:var(--ink);border-top:1px solid var(--studio-line);box-shadow:0 -5px 18px #22271f06;z-index:6;}
#studio.app-studio #flow-back {display:inline-flex;align-items:center;justify-content:center;min-width:70px;min-height:48px;padding:10px 12px;border:1px solid #bfc2b5;border-radius:6px;background:var(--cream);font-size:12px;font-weight:700;}
#studio.app-studio .flow-footer-info {display:flex;flex:1;flex-direction:column;gap:5px;}
#studio.app-studio .flow-footer-info strong {font-size:12px;line-height:1.3;}
#studio.app-studio .flow-footer-info small {font-size:10px;line-height:1.4;color:#62685a;}
#studio.app-studio #flow-next {flex:0 1 auto;min-width:170px;min-height:50px;justify-content:center;gap:18px;padding:15px 22px;border-radius:6px;font-size:13px;line-height:1.35;white-space:normal;background:var(--ink);color:white;}
#studio.app-studio #flow-next:hover {transform:none;box-shadow:0 3px 0 var(--pink);}
.mobile-make {display:none;}
@keyframes studio-appear {from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px) and (min-width:721px) {
  #studio.app-studio {width:calc(100% - 30px);height:92dvh;max-height:92dvh;}
  #studio.app-studio .studio-controls {padding:23px 22px;}
  #studio.app-studio .preview-area {padding:18px 18px 14px;}
  #studio.app-studio .preview-toolbar {font-size:8px;}
  #studio.app-studio #studio-title {font-size:28px;}
  #studio.app-studio .colour-options,#studio.app-studio .accessory-options {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:720px) {
  #studio.app-studio {width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;}
  #studio.app-studio .studio-top {padding:8px 17px;padding-top:max(8px,env(safe-area-inset-top));gap:10px;}
  #studio.app-studio .studio-top .icon-button {width:44px;height:44px;}
  #studio.app-studio .studio-logo {font-size:25px;}
  #studio.app-studio .studio-counter {font-size:10px;}
  #studio.app-studio .stepper {padding:7px 13px;gap:4px;}
  #studio.app-studio .stepper button {gap:6px;padding:6px 4px;font-size:9px;min-height:44px;}
  #studio.app-studio .step-number {width:22px;height:22px;flex-basis:22px;font-size:10px;}
  #studio.app-studio .studio-workspace {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:202px minmax(0,1fr);}
  #studio.app-studio .preview-area {position:relative;min-height:0;height:auto;max-height:none;padding:9px 20px 9px;border-right:0;border-bottom:1px solid #d7d2c7;}
  #studio.app-studio .preview-toolbar {position:absolute;z-index:2;top:10px;left:17px;right:17px;align-items:flex-start;font-size:8px;gap:8px;}
  #studio.app-studio .preview-toolbar>span {max-width:83px;line-height:1.6;padding-top:9px;}
  #studio.app-studio .preview-style {padding:2px;}
  #studio.app-studio .preview-style button {min-height:44px;min-width:45px;font-size:9px;padding:8px;}
  #studio.app-studio #preview-stage {height:auto;padding:8px 60px 11px;}
  #studio.app-studio #preview-paper {height:100%;max-height:158px;max-width:100%;aspect-ratio:5/7;}
  #studio.app-studio #preview-stage.gift #preview-paper {width:auto;height:80%;max-width:75%;aspect-ratio:1;box-shadow:6px 8px 0 #b2a793,11px 13px 15px #34271022;}
  #studio.app-studio #preview-stage.gift .preview-bow {font-size:60px;}
  #studio.app-studio #photo-placeholder {width:min(155px,95%);padding:10px;font-size:10px;border-radius:7px;line-height:1.4;}
  #studio.app-studio #photo-placeholder span,#studio.app-studio #photo-placeholder small {font-size:8px;}
  #studio.app-studio #preview-caption {font-size:8px;line-height:1.3;margin:0;}
  #studio.app-studio .studio-controls {padding:20px 20px 28px;scrollbar-gutter:auto;scroll-padding-top:18px;}
  #studio.app-studio .step-heading {margin-bottom:17px;}
  #studio.app-studio #step-eyebrow {font-size:8px;margin-bottom:7px;}
  #studio.app-studio #studio-title {font-size:29px;letter-spacing:-1.25px;margin-bottom:8px;}
  #studio.app-studio #step-description {font-size:11px;line-height:1.65;}
  #studio.app-studio .upload-tile {min-height:132px;padding:17px;gap:6px;}
  #studio.app-studio .upload-tile strong {font-size:16px;}
  #studio.app-studio .upload-tile .upload-icon {width:34px;height:34px;font-size:23px;margin-bottom:3px;}
  #studio.app-studio .colour-options,#studio.app-studio .accessory-options {grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
  #studio.app-studio .colour-options .colour-choice {min-height:76px;font-size:8px;padding:9px 3px 7px;}
  #studio.app-studio .colour-choice .colour-dot {width:31px;height:31px;}
  #studio.app-studio .accessory-choice {min-height:83px;font-size:8px;gap:4px;}
  #studio.app-studio .accessory-choice canvas {width:42px;height:42px;}
  #studio.app-studio .style-tabs {margin-bottom:16px;}
  #studio.app-studio .style-tabs button {font-size:10px;}
  #studio.app-studio .format-card {min-height:75px;padding:13px;gap:12px;}
  #studio.app-studio .format-copy strong {font-size:12px;}
  #studio.app-studio .studio-footer {display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px 12px;padding:10px 17px;padding-bottom:max(10px,env(safe-area-inset-bottom));}
  #studio.app-studio .flow-footer-info {grid-column:1/-1;grid-row:1;flex-direction:row;align-items:baseline;justify-content:space-between;gap:10px;}
  #studio.app-studio .flow-footer-info strong {font-size:10px;}
  #studio.app-studio .flow-footer-info small {font-size:8px;text-align:right;}
  #studio.app-studio #flow-back {grid-column:1;grid-row:2;min-width:58px;min-height:50px;padding:10px;font-size:11px;}
  #studio.app-studio #flow-next {grid-column:2;grid-row:2;min-width:0;width:100%;min-height:50px;padding:13px 14px;font-size:12px;}
  #studio.app-studio #flow-back[hidden]+.flow-footer-info+#flow-next {grid-column:1/-1;}
}
@media(max-width:560px) {
  body {padding-bottom:calc(80px + env(safe-area-inset-bottom));}
  body.modal-open {padding-bottom:0;}
  .hero-art {height:250px;}
  .mobile-make {position:fixed;z-index:9;left:14px;right:14px;bottom:max(12px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;padding:12px 16px;border:1px solid var(--ink);border-radius:7px;background:var(--ink);color:var(--cream);box-shadow:0 4px 18px #22271f38;}
  .mobile-make>span {font-size:10px;font-weight:400;line-height:1.5;text-align:left;}
  .mobile-make>strong {font-size:12px;font-weight:700;white-space:nowrap;}
  .mobile-make:focus-visible {outline-color:var(--blue);outline-offset:4px;}
  .mobile-make.button,.mobile-make>button,.mobile-make>a {min-height:50px;width:100%;justify-content:center;font-size:13px;line-height:1.4;font-weight:700;border-radius:6px;background:var(--ink);color:white;}
  .mobile-make.button {left:16px;right:16px;bottom:max(10px,env(safe-area-inset-bottom));width:auto;min-height:50px;padding:15px 20px;border:0;}
  .modal-open .mobile-make {display:none!important;}
}
@media(max-width:370px) {
  #studio.app-studio .stepper {padding-left:8px;padding-right:8px;gap:2px;}
  #studio.app-studio .stepper button {gap:4px;font-size:8px;}
  #studio.app-studio .step-number {width:19px;height:19px;flex-basis:19px;font-size:9px;}
  #studio.app-studio .studio-controls {padding-left:17px;padding-right:17px;}
  #studio.app-studio .preview-toolbar>span {max-width:64px;font-size:7px;}
  #studio.app-studio .preview-style button {min-width:44px;font-size:8px;padding:7px;}
  #studio.app-studio .colour-options,#studio.app-studio .accessory-options {gap:6px;}
  #studio.app-studio .flow-footer-info {gap:6px;}
  #studio.app-studio .flow-footer-info strong {font-size:9px;}
}
@media(max-width:720px) and (max-height:690px) {
  #studio.app-studio .studio-workspace {grid-template-rows:156px minmax(0,1fr);}
  #studio.app-studio #preview-paper {max-height:117px;}
  #studio.app-studio #preview-stage {padding-top:5px;padding-bottom:8px;}
  #studio.app-studio .studio-top {padding-top:5px;padding-bottom:5px;}
  #studio.app-studio .stepper {padding-top:4px;padding-bottom:4px;}
  #studio.app-studio .flow-footer-info {display:none;}
  #studio.app-studio #flow-back,#studio.app-studio #flow-next {grid-row:1;}
}
@media(max-width:720px) and (max-height:480px) {
  #studio.app-studio .studio-workspace {grid-template-columns:minmax(0,.72fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);}
  #studio.app-studio .preview-area {border-bottom:0;border-right:1px solid var(--studio-line);padding:6px 10px;}
  #studio.app-studio .preview-toolbar {position:relative;top:auto;left:auto;right:auto;justify-content:center;}
  #studio.app-studio .preview-toolbar>span {display:none;}
  #studio.app-studio #preview-stage {padding:12px 20px;}
  #studio.app-studio #preview-paper {max-height:100%;}
  #studio.app-studio .studio-controls {padding:16px;}
}
@media(prefers-reduced-motion:reduce) {
  #studio.app-studio .step-panel {animation:none;}
}

#studio.app-studio .colour-options .colour-choice,#studio.app-studio .accessory-choice{font-size:10px;line-height:1.4}
@media(max-width:560px){.face-first .hero-art{height:250px}}
