/* The /editor/ designer no longer loads this file: it runs a frozen copy from wp-content/plugins/pony-studio-shell (see README.md there). Edit the designer in pony-studio-shell/src/; this copy is only used when that plugin is switched off. */
/* Editor styles.
   Reference screenshots, source assets, and observed tokens: assets/reference/. */
@font-face{font-family:"Noto Sans";src:url("reference/fonts/noto-sans-400.CF_EggQ_.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Noto Sans";src:url("reference/fonts/noto-sans-900.BAaSzCx2.woff2") format("woff2");font-style:normal;font-weight:800 900;font-display:swap}
@font-face{font-family:"WW Digital";src:url("reference/fonts/digital.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Blazed";src:url("reference/fonts/blazed.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"FV Almelo";src:url("reference/fonts/fv_almelo.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"CAC Champagne";src:url("reference/fonts/cac_champagne-webfont.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Little days";src:url("reference/fonts/little_days-webfont.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Quicksand Bold";src:url("reference/fonts/quicksand_bold-webfont.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Special elite";src:url("reference/fonts/specialelite-webfont.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Mossy";src:url("reference/fonts/mossy-webfont.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Abel";src:url("reference/fonts/Abel-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Atomic Age";src:url("reference/fonts/AtomicAge-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Black Ops One";src:url("reference/fonts/BlackOpsOne-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Bree Serif";src:url("reference/fonts/BreeSerif-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Comic Neue";src:url("reference/fonts/ComicNeue-Bold.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Homemade Apple";src:url("reference/fonts/HomemadeApple-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Italiana";src:url("reference/fonts/Italiana-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Libre Baskerville";src:url("reference/fonts/LibreBaskerville-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Lobster Two";src:url("reference/fonts/LobsterTwo-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Nixie One";src:url("reference/fonts/NixieOne-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Palitoon";src:url("reference/fonts/Palitoon-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Permanent Marker";src:url("reference/fonts/PermanentMarker-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Selima";src:url("reference/fonts/Selima-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"UnifrakturMaguntia";src:url("reference/fonts/UnifrakturMaguntia-Book.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Vibur";src:url("reference/fonts/Vibur-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Zilla Slab";src:url("reference/fonts/ZillaSlab-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Rochester";src:url("reference/fonts/Rochester-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Oleo Script";src:url("reference/fonts/OleoScript-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Monofett";src:url("reference/fonts/Monofett-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}

#sticker-studio-root {
  --ss-ink: #151515;
  --ss-muted: #979797;
  --ss-line: #ddd;
  --ss-yellow: #ffdb00;
  --ss-stage-bg: #ececec;
  --ss-soft: #fafafa;
  --ss-hover: #eee;
  --ss-ease: cubic-bezier(.4,0,.2,1);
  position: fixed;
  inset: 0;
  z-index: 99990;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--ss-ink);
  background: #fff;
  font-family: "Noto Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}
#sticker-studio-root *, #sticker-studio-root *::before, #sticker-studio-root *::after { box-sizing: border-box; }
#sticker-studio-root [hidden] { display: none !important; }
#sticker-studio-root h1, #sticker-studio-root h2, #sticker-studio-root h3, #sticker-studio-root p,
#sticker-studio-root figure, #sticker-studio-root ul, #sticker-studio-root dl, #sticker-studio-root dd { margin: 0; }
#sticker-studio-root h1, #sticker-studio-root h2 { font: 900 24px/32px "Noto Sans",Helvetica,Arial,sans-serif; letter-spacing: normal; color: inherit; }
#sticker-studio-root h3 { font: 800 14px/20px "Noto Sans",Helvetica,Arial,sans-serif; color: inherit; }
#sticker-studio-root img { display: block; max-width: 100%; height: auto; border: 0; box-shadow: none; }
#sticker-studio-root svg { display: block; flex-shrink: 0; }
#sticker-studio-root a { color: inherit; text-decoration: none; }
#sticker-studio-root button, #sticker-studio-root input, #sticker-studio-root textarea, #sticker-studio-root select { font: inherit; letter-spacing: inherit; color: inherit; box-shadow: none; }
#sticker-studio-root button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-transform: none;
  text-decoration: none;
  appearance: none;
  transition: background-color 150ms var(--ss-ease), border-color 150ms var(--ss-ease), opacity 150ms var(--ss-ease);
}
#sticker-studio-root button:hover { background-color: var(--ss-hover); }
#sticker-studio-root button:disabled { cursor: default; opacity: .4; }
#sticker-studio-root button:focus-visible, #sticker-studio-root a:focus-visible, #sticker-studio-root input:focus-visible,
#sticker-studio-root textarea:focus-visible, #sticker-studio-root select:focus-visible { outline: 2px solid #151515; outline-offset: 3px; }
#sticker-studio-root canvas:focus { outline: none; }
#sticker-studio-root input, #sticker-studio-root textarea, #sticker-studio-root select { margin: 0; background: #fff; border: 1px solid var(--ss-line); border-radius: 8px; padding: 12px; min-height: 44px; min-width: 0; max-width: 100%; }
#sticker-studio-root input::placeholder, #sticker-studio-root textarea::placeholder { color: #979797; opacity: 1; }
#sticker-studio-root input[type=number] { appearance: textfield; -moz-appearance: textfield; }
#sticker-studio-root input::-webkit-inner-spin-button, #sticker-studio-root input::-webkit-outer-spin-button { appearance: none; margin: 0; }
#sticker-studio-root input[type=checkbox] { min-height: 0; width: 18px; height: 18px; accent-color: #151515; border-radius: 2px; }
#sticker-studio-root textarea { display: block; width: 100%; resize: vertical; }
#sticker-studio-root select { width: 100%; height: 48px; }
#sticker-studio-root hr { display: block; border: 0; border-top: 1px solid var(--ss-line); margin: 0; width: 100%; }
#sticker-studio-root .ss-icon { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; }
#sticker-studio-root .ss-muted { color: var(--ss-muted); }
#sticker-studio-root .ss-label { display: block; font-weight: 800; margin-bottom: 8px; }
#sticker-studio-root .ss-app { position: relative; display: grid; grid-template-columns: 85px minmax(0,1fr) 360px; width: 100%; height: 100%; height: 100dvh; overflow: hidden; background: #fff; }

/* Rail and canvas retain their positions while a library drawer is open. */
#sticker-studio-root .ss-rail { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: stretch; padding: 32px 8px; min-width: 0; background: #fff; z-index: 7; }
#sticker-studio-root .ss-rail .ss-logo-button { display: flex; align-items: center; justify-content: center; height: 64px; min-height: 64px; padding: 16px 0; }
#sticker-studio-root .ss-logo { width: auto; max-width: 100%; height: 32px; object-fit: contain; }
#sticker-studio-root .ss-rail button:not(.ss-logo-button) { flex-direction: column; flex-shrink: 0; gap: 4px; width: 100%; height: 76px; border-radius: 6px; font-size: 12px; line-height: 16px; }
#sticker-studio-root .ss-rail button:not(.ss-logo-button) img, #sticker-studio-root .ss-rail button:not(.ss-logo-button) svg { width: 24px; height: 24px; object-fit: contain; }
#sticker-studio-root .ss-rail button[aria-pressed=true], #sticker-studio-root .ss-rail button.is-active { background: #eee; font-weight: 800; }
#sticker-studio-root .ss-rail hr, #sticker-studio-root .ss-rail-separator { flex-shrink: 0; width: 100%; height: 1px; border: 0; background: #d1d1d1; margin: 8px 0; }
#sticker-studio-root .ss-stage { grid-column: 2; grid-row: 1; min-width: 0; min-height: 0; margin: 32px 0; position: relative; background: var(--ss-stage-bg); border-radius: 16px; overflow: hidden; }
#sticker-studio-root .ss-artboard { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; container-type: size; }
#sticker-studio-root .ss-artboard canvas { display: block; width: min(100cqw,100cqh); height: min(100cqw,100cqh); aspect-ratio: 1; max-width: 100%; max-height: 100%; object-fit: contain; touch-action: none; outline-offset: -4px; }
#sticker-studio-root .ss-app[data-mode=edit] .ss-artboard canvas { cursor: default; }
#sticker-studio-root .ss-app[data-mode=preview] .ss-artboard canvas { cursor: default; }
#sticker-studio-root .ss-mode-button { position: absolute; top: 16px; right: 32px; z-index: 3; min-height: 36px; padding: 8px 16px; border-radius: 4px; background: #040404; color: #fff; font-size: 14px; line-height: 20px; white-space: nowrap; }
#sticker-studio-root .ss-mode-button:hover { background: #2d2d2d; }
#sticker-studio-root .ss-mode-button img, #sticker-studio-root .ss-mode-button svg { width: 16px; height: 16px; }
#sticker-studio-root .ss-mode-button img { filter: invert(1); }
#sticker-studio-root .ss-layer-toolbar { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 8px; height: 40px; padding: 4px 8px; background: #fff; border-radius: 4px; box-shadow: 0 2px 7px #0002; white-space: nowrap; }
#sticker-studio-root .ss-layer-toolbar button { width: 28px; height: 28px; flex-shrink: 0; padding: 4px; border-radius: 4px; }
#sticker-studio-root .ss-layer-toolbar img, #sticker-studio-root .ss-layer-toolbar svg { width: 20px; height: 20px; object-fit: contain; }
#sticker-studio-root .ss-layer-toolbar button[data-action=duplicate] img { width: 16px; height: 16px; }
#sticker-studio-root .ss-layer-toolbar i, #sticker-studio-root .ss-toolbar-divider { display: block; height: 24px; width: 1px; background: #ddd; margin: 0 4px; }
#sticker-studio-root .ss-back-button { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 3; gap: 8px; min-height: 36px; padding: 8px 16px; background: #fff; border-radius: 4px; box-shadow: 0 2px 4px #0002; white-space: nowrap; }
#sticker-studio-root .ss-back-button img, #sticker-studio-root .ss-back-button svg { width: 16px; height: 16px; }
#sticker-studio-root .ss-measure { position: absolute; pointer-events: none; font-size: 20px; line-height: 24px; color: #040404; }
#sticker-studio-root .ss-horizontal { left: 50%; top: 7%; transform: translateX(-50%); }
#sticker-studio-root .ss-vertical { left: 9%; top: 50%; transform: translate(-50%,-50%) rotate(-90deg); }
#sticker-studio-root .ss-app[data-mode=preview] .ss-measure { display: none; }
#sticker-studio-root .ss-dragover { outline: 2px dashed #151515; outline-offset: -12px; }

/* Product settings and fixed order controls. */
#sticker-studio-root .ss-sidebar { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 32px; background: #fff; z-index: 6; }
#sticker-studio-root .ss-options { flex: 1 1 auto; min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: #ddd transparent; padding: 12px 0 16px; }
#sticker-studio-root .ss-options > h2 { margin: 0 0 32px; }
#sticker-studio-root .ss-section { margin-top: 32px; }
#sticker-studio-root .ss-section:first-child { margin-top: 0; }
#sticker-studio-root .ss-section > label, #sticker-studio-root .ss-section > h3, #sticker-studio-root .ss-section-label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 800; }
#sticker-studio-root .ss-section-label span, #sticker-studio-root .ss-section > h3 span { display: inline-block; margin-left: 8px; padding-left: 12px; border-left: 1px solid #ddd; font-weight: 400; }
#sticker-studio-root .ss-shapes { display: flex; align-items: center; gap: 16px; }
#sticker-studio-root .ss-shapes button { flex: 0 0 48px; width: 48px; height: 48px; padding: 4px; background: #fafafa; border: 1px solid transparent; border-radius: 4px; }
#sticker-studio-root .ss-shapes button:hover { background: #eee; }
#sticker-studio-root .ss-shapes button[aria-pressed=true] { border-color: #151515; }
#sticker-studio-root .ss-shapes img, #sticker-studio-root .ss-shapes svg { width: 100%; height: 100%; object-fit: contain; }
#sticker-studio-root .ss-range { display: block; margin-top: 32px; }
#sticker-studio-root .ss-range > span { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 800; }
#sticker-studio-root input[type=range] { display: block; appearance: none; -webkit-appearance: none; width: 100%; min-height: 0; height: 22px; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; margin: 8px 0 0; }
#sticker-studio-root input[type=range]::-webkit-slider-runnable-track { height: 5px; background: #d1d5db; border-radius: 8px; }
#sticker-studio-root input[type=range]::-moz-range-track { height: 5px; background: #d1d5db; border-radius: 8px; }
#sticker-studio-root input[type=range]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8.5px; background: #fff; border: 2px solid #111827; border-radius: 50%; }
#sticker-studio-root input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: #fff; border: 2px solid #111827; border-radius: 50%; }
#sticker-studio-root .ss-range-labels { display: flex; justify-content: space-between; margin-top: 5px; font-size: 12px; line-height: 16px; }
#sticker-studio-root .ss-size-row { display: flex; align-items: center; gap: 8px; }
#sticker-studio-root .ss-size-field { position: relative; display: flex; align-items: center; flex: 1 1 0; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid #ccc; border-radius: 8px; background: #fff; }
#sticker-studio-root .ss-size-field > span, #sticker-studio-root .ss-size-field > label { color: #979797; flex: 0 0 auto; margin-right: 8px; font-weight: 400; }
#sticker-studio-root .ss-size-field input { border: 0; padding: 0 16px 0 0; width: 100%; height: 44px; background: transparent; border-radius: 0; outline-offset: -4px; }
#sticker-studio-root .ss-stepper { position: absolute; right: 2px; top: 7px; display: flex; flex-direction: column; }
#sticker-studio-root .ss-stepper button { width: 16px; height: 16px; border-radius: 2px; }
#sticker-studio-root .ss-stepper img { width: 16px; height: 16px; opacity: .5; }
#sticker-studio-root .ss-size-row > button { flex-shrink: 0; width: 28px; height: 48px; color: #ccc; }
#sticker-studio-root .ss-size-row > button img, #sticker-studio-root .ss-size-row > button svg { width: 28px; height: 28px; opacity: .25; }
#sticker-studio-root .ss-size-row > button:last-child { width: 32px; height: 32px; }
#sticker-studio-root .ss-size-row > button:last-child img { width: 24px; height: 24px; }
#sticker-studio-root .ss-material-current, #sticker-studio-root .ss-quantity-current { display: flex; justify-content: flex-start; align-items: center; width: 100%; height: 58px; padding: 12px 16px; border: 1px solid #ccc; border-radius: 8px; gap: 24px; text-align: left; }
#sticker-studio-root .ss-material-current img { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; }
#sticker-studio-root .ss-quantity-current { height: 56px; justify-content: space-between; gap: 12px; }
#sticker-studio-root .ss-laminates, #sticker-studio-root .ss-finish-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
#sticker-studio-root .ss-laminates button, #sticker-studio-root .ss-finish-row button { min-height: 28px; padding: 4px 8px; border: 1px solid #eee; border-radius: 8px; background: #fafafa; font-size: 12px; line-height: 18px; }
#sticker-studio-root .ss-laminates button[aria-pressed=true], #sticker-studio-root .ss-finish-row button[aria-pressed=true] { background: #eee; font-weight: 800; border-color: #eee; }
#sticker-studio-root .ss-background-row, #sticker-studio-root .ss-color-row { display: flex; align-items: center; justify-content: space-between; }
#sticker-studio-root .ss-color-swatch { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ddd; background: var(--swatch,#fff); }
#sticker-studio-root .ss-checker, #sticker-studio-root .ss-color-swatch.is-transparent { background-color: #fff; background-image: conic-gradient(#ccc 25%,#fff 0 50%,#ccc 0 75%,#fff 0); background-size: 8px 8px; }
#sticker-studio-root .ss-text-properties { margin-top: 32px; padding-top: 32px; border-top: 1px solid #ddd; }
#sticker-studio-root .ss-text-properties textarea { height: 48px; min-height: 48px; resize: none; border-color: #ccc; }
#sticker-studio-root .ss-text-properties .ss-section { margin-top: 24px; }
#sticker-studio-root .ss-align, #sticker-studio-root .ss-align-row { display: flex; gap: 8px; margin-top: 16px; }
#sticker-studio-root .ss-align button, #sticker-studio-root .ss-align-row button { width: 44px; height: 44px; border: 1px solid #ddd; border-radius: 8px; }
#sticker-studio-root .ss-align button[aria-pressed=true], #sticker-studio-root .ss-align-row button[aria-pressed=true] { background: #eee; }
#sticker-studio-root .ss-align img, #sticker-studio-root .ss-align-row img { width: 24px; height: 24px; }
#sticker-studio-root .ss-order { flex: 0 0 auto; margin-top: 16px; padding-top: 16px; border-top: 1px solid #d1d1d1; background: #fff; }
#sticker-studio-root .ss-total-row { display: flex; align-items: center; justify-content: space-between; min-height: 24px; margin-bottom: 28px; font-size: 16px; line-height: 24px; font-weight: 800; }
#sticker-studio-root .ss-total-row strong { font: inherit; }
#sticker-studio-root .ss-order-actions { display: flex; align-items: stretch; gap: 8px; }
#sticker-studio-root .ss-comment { flex: 0 0 64px; width: 64px; height: 56px; background: #eee; border-radius: 8px; }
#sticker-studio-root .ss-comment:hover, #sticker-studio-root .ss-comment[aria-pressed=true] { background: #ccc; }
#sticker-studio-root .ss-comment img, #sticker-studio-root .ss-comment svg { width: 32px; height: 32px; }
#sticker-studio-root .ss-primary, #sticker-studio-root .ss-yellow { display: inline-flex; justify-content: center; align-items: center; padding: 16px 24px; min-height: 56px; border-radius: 8px; color: #151515; background: #ffdb00; font-size: 16px; line-height: 24px; font-weight: 800; }
#sticker-studio-root .ss-primary { flex: 1 1 auto; }
#sticker-studio-root .ss-primary:hover, #sticker-studio-root .ss-yellow:hover { background: #e6c500; }
#sticker-studio-root .ss-app[data-mode=edit] .ss-order .ss-primary { background: #262626; color: #fff; }
#sticker-studio-root .ss-app[data-mode=edit] .ss-order .ss-primary:hover { background: #505050; }
#sticker-studio-root .ss-outline { border: 1px solid #ccc; background: #fff; min-height: 44px; padding: 12px 16px; border-radius: 8px; }

/* Right-side replacement panels reuse the order footer. */
#sticker-studio-root .ss-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
#sticker-studio-root .ss-panel-heading h2 { flex: 1; }
#sticker-studio-root .ss-close, #sticker-studio-root .ss-panel-close { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 3px; font-size: 28px; line-height: 24px; font-weight: 400; }
#sticker-studio-root .ss-close img, #sticker-studio-root .ss-panel-close img { width: 24px; height: 24px; }
#sticker-studio-root .ss-material-list { display: flex; flex-direction: column; gap: 16px; }
#sticker-studio-root .ss-material-list button { display: flex; align-items: center; justify-content: flex-start; gap: 20px; width: 100%; min-height: 90px; padding: 16px; border: 1px solid #ddd; border-radius: 8px; background: #fff; text-align: left; font-weight: 800; }
#sticker-studio-root .ss-material-list button:hover { background: #fafafa; }
#sticker-studio-root .ss-material-list button[aria-pressed=true] { background: #eee; }
#sticker-studio-root .ss-material-list img { width: 60px; height: 56px; object-fit: contain; flex-shrink: 0; border-radius: 50%; }
#sticker-studio-root .ss-quantity-list { display: flex; flex-direction: column; }
#sticker-studio-root .ss-quantity-list button, #sticker-studio-root .ss-quantity-option { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px; align-items: center; width: 100%; min-height: 52px; padding: 12px; border: 1px solid transparent; border-radius: 8px; text-align: left; white-space: nowrap; }
#sticker-studio-root .ss-quantity-list button[aria-pressed=true] { background: #eee; border-color: #ccc; font-weight: 800; }
#sticker-studio-root .ss-quantity-list button > :last-child { text-align: right; color: #979797; }
#sticker-studio-root .ss-quantity-list em, #sticker-studio-root .ss-discount { justify-self: center; background: #009d3d; color: #fff; border-radius: 4px; padding: 0 6px; font-style: normal; line-height: 20px; }
#sticker-studio-root .ss-custom-quantity { width: 100%; min-height: 52px; padding: 12px; margin-top: 4px; border-radius: 4px; background: #fafafa; text-align: left; justify-content: flex-start; }
#sticker-studio-root .ss-custom-quantity input { width: 100%; }
#sticker-studio-root .ss-comment-input { min-height: 352px; border-radius: 0; border-color: #eee; }
#sticker-studio-root .ss-comment-save { display: flex; width: 40px; height: 40px; margin: 8px 0 0 auto; border-radius: 8px; background: #eee; }
#sticker-studio-root .ss-comment-save img { width: 24px; height: 24px; }

/* Library drawer. */
#sticker-studio-root .ss-drawer { position: absolute; top: 0; bottom: 0; left: 85px; z-index: 5; display: flex; flex-direction: column; width: 320px; min-width: 0; background: #fff; border-right: 1px solid #ddd; border-left: 1px solid #eee; animation: ss-drawer-in 200ms var(--ss-ease) both; }
#sticker-studio-root .ss-drawer-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 40px 24px 28px 32px; flex-shrink: 0; }
#sticker-studio-root .ss-drawer-heading h2 { flex: 1; white-space: nowrap; }
#sticker-studio-root .ss-drawer-heading .ss-close { flex: 0 0 24px; }
#sticker-studio-root .ss-drawer-body { flex: 1 1 auto; min-height: 0; padding: 0 32px 32px; overflow: auto; scrollbar-width: thin; scrollbar-color: #ddd transparent; }
#sticker-studio-root .ss-font-list { display: flex; flex-direction: column; margin-top: -4px; }
#sticker-studio-root .ss-font-list button { display: block; width: 100%; height: 44px; flex-shrink: 0; padding: 12px; border-radius: 4px; text-align: left; font-size: 16px; line-height: 20px; }
#sticker-studio-root .ss-search-label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
#sticker-studio-root .ss-search { position: relative; }
#sticker-studio-root .ss-search input { width: 100%; padding-left: 40px; height: 44px; }
#sticker-studio-root .ss-search > img, #sticker-studio-root .ss-search > svg { position: absolute; left: 16px; top: 14px; width: 16px; height: 16px; opacity: .45; }
#sticker-studio-root .ss-library-category { margin-top: 24px; }
#sticker-studio-root .ss-category-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
#sticker-studio-root .ss-category-heading h3 { font-size: 14px; }
#sticker-studio-root .ss-category-heading button, #sticker-studio-root .ss-link { color: #72abeb; font-size: 14px; line-height: 20px; text-decoration: underline; text-underline-offset: 2px; }
#sticker-studio-root .ss-clipart-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
#sticker-studio-root .ss-clipart-grid button { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border: 1px solid #ddd; border-radius: 8px; background: #fafafa; padding: 8px; overflow: hidden; }
#sticker-studio-root .ss-clipart-grid img { width: 100%; height: 100%; object-fit: contain; }
#sticker-studio-root .ss-category-list { display: flex; flex-direction: column; margin-top: 24px; gap: 2px; }
#sticker-studio-root .ss-category-list button { justify-content: space-between; padding: 12px; text-align: left; }
#sticker-studio-root .ss-upload-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 220px; padding: 24px; border: 1px dashed #ddd; border-radius: 8px; gap: 16px; text-align: center; }
#sticker-studio-root .ss-upload-zone p { font-size: 14px; line-height: 20px; }
#sticker-studio-root .ss-upload-zone .ss-yellow, #sticker-studio-root .ss-upload-zone .ss-primary { width: 100%; flex: none; padding: 16px; }
#sticker-studio-root .ss-file-card { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #eee; }
#sticker-studio-root .ss-file-card img { width: 56px; height: 56px; object-fit: contain; border-radius: 4px; }
#sticker-studio-root .ss-file-card b { display: block; font-weight: 400; overflow-wrap: anywhere; }
#sticker-studio-root .ss-file-card small { display: block; margin-top: 4px; color: #979797; }

/* Floating material effects and color controls. */
#sticker-studio-root .ss-effects { max-width: calc(100% - 32px); position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 8px 16px; background: #fff; border: 1px solid #ccc; border-radius: 8px; white-space: nowrap; }
#sticker-studio-root .ss-effects-title { flex-shrink: 0; display: flex; gap: 8px; align-items: center; margin-right: 16px; font-size: 16px; line-height: 24px; font-weight: 800; }
#sticker-studio-root .ss-effects-title img { width: 20px; height: 20px; }
#sticker-studio-root .ss-effects:has(.ss-mask-pill) { bottom: 56px; max-width: calc(100% - 32px); min-height: 36px; padding: 8px 16px; border: 0; border-radius: 24px; box-shadow: 0 2px 4px #0002; }
#sticker-studio-root .ss-mask-pill { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; height: 20px; font-size: 14px; line-height: 20px; }
#sticker-studio-root .ss-mask-pill > strong { flex-shrink: 0; font-weight: 800; }
#sticker-studio-root .ss-mask-pill > span { min-width: 0; max-width: 155px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #757575; }
#sticker-studio-root .ss-mask-pill > button, #sticker-studio-root .ss-mask-file > button { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 2px; opacity: .5; }
#sticker-studio-root .ss-mask-pill > button:hover, #sticker-studio-root .ss-mask-file > button:hover { opacity: 1; }
#sticker-studio-root .ss-mask-pill > button > img, #sticker-studio-root .ss-mask-file > button > img { width: 16px; height: 16px; }
#sticker-studio-root .ss-mask-file { display: flex; align-items: center; gap: 8px; width: 100%; height: 46px; margin-top: 16px; padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; line-height: 20px; }
#sticker-studio-root .ss-mask-file > span:first-child { flex: 0 0 16px; width: 16px; color: #00865a; text-align: center; }
#sticker-studio-root .ss-mask-file > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sticker-studio-root .ss-upload-mask { width: 100%; min-height: 44px; margin-top: 16px; padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px; background: #fff; font-size: 14px; line-height: 20px; }
#sticker-studio-root .ss-effect-swatches { display: flex; align-items: center; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
#sticker-studio-root .ss-effect-color { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ddd; background: var(--swatch,#ccc); padding: 0; }
#sticker-studio-root .ss-effect-color img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
#sticker-studio-root .ss-effect-color[aria-pressed=true] { outline: 2px solid #b5e97c; outline-offset: 3px; }
#sticker-studio-root .ss-effect-actions { flex-shrink: 0; display: flex; gap: 8px; padding-left: 12px; margin-left: 4px; border-left: 1px solid #ddd; }
#sticker-studio-root .ss-effect-actions button { padding: 8px 4px; }
#sticker-studio-root .ss-effect-menu { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 180px; background: #fff; border-radius: 8px; box-shadow: 0 3px 12px #0003; overflow: hidden; animation: ss-popover-in 150ms var(--ss-ease) both; }
#sticker-studio-root .ss-effect-menu button { display: flex; justify-content: flex-start; gap: 12px; width: 100%; min-height: 60px; padding: 10px; border-radius: 0; border-bottom: 1px solid #ccc; font-size: 16px; line-height: 24px; }
#sticker-studio-root .ss-effect-menu button:last-child { border-bottom: 0; }
#sticker-studio-root .ss-effect-menu button[aria-pressed=true] { background: #eee; font-weight: 800; }
#sticker-studio-root .ss-effect-menu .ss-effect-color { width: 40px; height: 40px; }
#sticker-studio-root .ss-popover { position: absolute; z-index: 20; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 12px 36px #0003,0 2px 6px #0001; animation: ss-popover-in 150ms var(--ss-ease) both; }
#sticker-studio-root .ss-color-popover { right: 24px; top: min(47vh,470px); width: 392px; max-width: calc(100vw - 32px); padding: 60px 16px 16px; }
#sticker-studio-root .ss-popover > .ss-close { position: absolute; right: 16px; top: 16px; width: 32px; height: 32px; background: #eee; }
#sticker-studio-root .ss-color-square { position: relative; width: 100%; height: 160px; border-radius: 16px; background: linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent),hsl(var(--hue,0) 100% 50%); cursor: crosshair; touch-action: none; }
#sticker-studio-root .ss-color-hue { position: relative; height: 28px; border-radius: 14px; margin-top: 20px; background: linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00); cursor: crosshair; touch-action: none; }
#sticker-studio-root .ss-color-handle { position: absolute; display: block; width: 24px; height: 24px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #0003; transform: translate(-50%,-50%); pointer-events: none; }
#sticker-studio-root .ss-color-hue .ss-color-handle { top: 50%; }
#sticker-studio-root .ss-color-bottom { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
#sticker-studio-root .ss-color-bottom > button, #sticker-studio-root .ss-color-bottom > .ss-color-swatch { flex: 0 0 56px; width: 56px; height: 56px; border: 1px solid #ddd; border-radius: 16px; }
#sticker-studio-root .ss-color-bottom img { width: 28px; height: 28px; }
#sticker-studio-root .ss-hex-field { position: relative; flex: 1; min-width: 0; }
#sticker-studio-root .ss-hex-field label { position: absolute; top: 7px; left: 12px; font-size: 12px; line-height: 16px; font-weight: 800; }
#sticker-studio-root .ss-hex-field input { width: 100%; height: 56px; padding: 24px 12px 7px; border-radius: 16px; }

/* Modal confirmations and transient status. */
#sticker-studio-root .ss-dialog { position: fixed; inset: 0; width: min(640px,calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 32px; overflow: auto; border: 0; border-radius: 16px; color: #151515; background: #fff; font-family: "Noto Sans",Helvetica,Arial,sans-serif; box-shadow: 0 12px 48px #0003; }
#sticker-studio-root .ss-dialog::backdrop { background: #0006; animation: ss-fade-in 300ms var(--ss-ease); }
#sticker-studio-root .ss-dialog > .ss-close, #sticker-studio-root .ss-dialog > form > .ss-close { position: absolute; right: 24px; top: 24px; }
#sticker-studio-root .ss-dialog h2 { margin: 0 32px 16px 0; }
#sticker-studio-root .ss-dialog p { margin: 12px 0; }
#sticker-studio-root .ss-dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
#sticker-studio-root .ss-dialog-actions > button, #sticker-studio-root .ss-dialog-actions > a { flex: 1; }
#sticker-studio-root .ss-order-review { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; padding: 16px; margin: 16px 0 20px; background: #f7f5f0; border-radius: 14px; }
#sticker-studio-root .ss-order-review img { width: 112px; height: 112px; object-fit: contain; background: #fff; border-radius: 10px; }
#sticker-studio-root .ss-order-review p { margin: 6px 0; font-size: 13px; }
#sticker-studio-root .ss-order-request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#sticker-studio-root .ss-order-request-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
#sticker-studio-root .ss-order-request-form input, #sticker-studio-root .ss-order-request-form textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #c9c9c9; border-radius: 9px; background: #fff; color: #171717; font: inherit; font-weight: 400; }
#sticker-studio-root .ss-order-request-form :is(input,textarea):focus-visible { outline: 2px solid #f2a900; outline-offset: 2px; }
#sticker-studio-root .ss-order-request-form .ss-order-wide { grid-column: 1 / -1; }
#sticker-studio-root .ss-order-disclosure { color: #555; font-size: 13px; line-height: 1.5; }
#sticker-studio-root .ss-review { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 24px 0; }
#sticker-studio-root .ss-review > img { width: 100%; background: #ececec; border-radius: 8px; }
#sticker-studio-root .ss-review h3 { margin-bottom: 16px; }
#sticker-studio-root .ss-review dl { display: grid; grid-template-columns: 80px 1fr; gap: 8px; }
#sticker-studio-root .ss-review dt { color: #757575; }
#sticker-studio-root .ss-review dd input { width: 90px; height: 36px; min-height: 36px; padding: 6px; }
#sticker-studio-root .ss-review-price { font-size: 24px; line-height: 32px; font-weight: 800; margin-top: 16px; }
#sticker-studio-root .ss-proof-check { display: flex; align-items: flex-start; gap: 12px; }
#sticker-studio-root .ss-proof-check input { flex-shrink: 0; margin-top: 2px; }
#sticker-studio-root .ss-warning { padding: 12px; border-radius: 4px; background: #fff8d7; font-size: 12px; line-height: 18px; }
#sticker-studio-root .ss-dialog-error { color: #bd2222; }
#sticker-studio-root .ss-success-summary { padding: 24px 0; font-weight: 800; }
#sticker-studio-root .ss-toast { position: fixed; right: 384px; bottom: 64px; z-index: 50; display: flex; align-items: flex-start; gap: 12px; width: min(384px,calc(100vw - 32px)); padding: 12px 16px; color: #151515; background: #fff; border-radius: 4px; box-shadow: 0 0 20px #0004; font-size: 14px; line-height: 20px; animation: ss-toast-in 300ms var(--ss-ease) both; }
#sticker-studio-root .ss-toast .ss-close { flex: 0 0 20px; width: 20px; min-width: 20px; height: 20px; min-height: 20px; margin-left: auto; padding: 0; }
#sticker-studio-root .ss-toast .ss-close .ss-icon { width: 20px; height: 20px; }
#sticker-studio-root .ss-empty { position: absolute; inset: 15%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; border: 1px dashed #aaa; border-radius: 16px; text-align: center; padding: 24px; }
#sticker-studio-root .ss-empty strong { font-size: 24px; line-height: 32px; font-weight: 900; }
#sticker-studio-root .ss-empty p { max-width: 300px; }
#sticker-studio-root .ss-mobile-header, #sticker-studio-root .ss-mobile-controls, #sticker-studio-root .ss-mobile-tools, #sticker-studio-root .ss-mobile-order { display: none; }
@keyframes ss-drawer-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes ss-popover-in { from { opacity: 0; margin-top: 4px; } to { opacity: 1; margin-top: 0; } }
@keyframes ss-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ss-toast-in { from { opacity: 0; transform: translateX(-320px); } to { opacity: 1; transform: translateX(0); } }

/* DOM-specific controls and native dialogs. */
#sticker-studio-root .ss-pipe { display: inline-block; color: #ddd; margin: 0 8px; font-weight: 400; }
#sticker-studio-root .ss-shape-name { font-weight: 400; }
#sticker-studio-root .ss-layer-toolbar button:nth-child(2), #sticker-studio-root .ss-layer-toolbar button:nth-child(4), #sticker-studio-root .ss-layer-toolbar button:nth-child(6) { position: relative; margin-left: 17px; }
#sticker-studio-root .ss-layer-toolbar button:nth-child(2)::before, #sticker-studio-root .ss-layer-toolbar button:nth-child(4)::before, #sticker-studio-root .ss-layer-toolbar button:nth-child(6)::before { content: ""; position: absolute; left: -13px; top: 2px; width: 1px; height: 24px; background: #ddd; }
#sticker-studio-root .ss-layer-toolbar button[data-action=duplicate] { width: 32px; height: 32px; padding: 8px; }
#sticker-studio-root .ss-panel-heading > button, #sticker-studio-root .ss-drawer-heading > button { flex: 0 0 24px; width: 24px; height: 24px; }
#sticker-studio-root .ss-panel-heading > button img, #sticker-studio-root .ss-drawer-heading > button img { width: 24px; height: 24px; }
#sticker-studio-root .ss-color-button { display: flex; justify-content: flex-start; gap: 12px; min-height: 40px; }
#sticker-studio-root .ss-color-button > span:last-child { display: none; }
#sticker-studio-root .ss-color-chip { display: inline-block; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 50%; }
#sticker-studio-root .ss-text-properties { margin-top: 32px; padding-top: 32px; border-top: 1px solid #ddd; }
#sticker-studio-root .ss-text-properties > label:not(:first-child) { margin-top: 24px; }
#sticker-studio-root .ss-text-properties .ss-color-section { margin-top: 24px; }
#sticker-studio-root .ss-select-font { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 12px; border: 1px solid #ccc; border-radius: 8px; }
#sticker-studio-root .ss-select-font img { width: 20px; height: 20px; }
#sticker-studio-root .ss-library-search { display: block; position: relative; }
#sticker-studio-root .ss-library-search > span { display: block; font-weight: 800; margin-bottom: 8px; }
#sticker-studio-root .ss-library-search input { display: block; width: 100%; height: 44px; padding: 12px 12px 12px 40px; }
#sticker-studio-root .ss-library-search > img { position: absolute; bottom: 14px; left: 16px; width: 16px; height: 16px; opacity: .45; }
#sticker-studio-root .ss-search-count { margin: 24px 0 12px; }
#sticker-studio-root .ss-file-list { margin-top: 16px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
#sticker-studio-root .ss-file-list button { flex-direction: column; gap: 8px; padding: 8px; text-align: center; font-size: 12px; line-height: 16px; overflow: hidden; }
#sticker-studio-root .ss-file-list img { width: 100%; height: 88px; object-fit: contain; }
#sticker-studio-root .ss-file-list span { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sticker-studio-root .ss-effect-swatches > button { display: block; flex-shrink: 0; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid #ddd; }
#sticker-studio-root .ss-effect-swatches > button > span { display: block; width: 100%; height: 100%; border-radius: 50%; }
#sticker-studio-root .ss-effect-popover { left: calc((100% - 275px)/2); bottom: 118px; width: 180px; padding: 0; border-radius: 8px; overflow: visible; }
#sticker-studio-root .ss-effect-popover button { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 60px; padding: 10px; border-radius: 0; border-bottom: 1px solid #ccc; font-size: 16px; line-height: 24px; }
#sticker-studio-root .ss-effect-popover button:last-child { border: 0; }
#sticker-studio-root .ss-effect-popover button[aria-pressed=true] { font-weight: 800; background: #eee; }
#sticker-studio-root .ss-effect-popover button > span { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ddd; }
#sticker-studio-root .ss-popover-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 4px; background: #eee; }
#sticker-studio-root .ss-popover-close img { width: 16px; height: 16px; }
#sticker-studio-root .ss-color-sv { position: relative; width: 100%; height: 160px; border-radius: 16px; background-image: linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent); cursor: crosshair; touch-action: none; }
#sticker-studio-root .ss-color-knob { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #0003; transform: translate(-50%,-50%); pointer-events: none; }
#sticker-studio-root input.ss-hue { display: block; appearance: none; width: 100%; height: 28px; margin-top: 20px; border-radius: 14px; background: linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00); }
#sticker-studio-root input.ss-hue::-webkit-slider-runnable-track { height: 28px; border-radius: 14px; background: transparent; }
#sticker-studio-root input.ss-hue::-moz-range-track { height: 28px; border-radius: 14px; background: transparent; }
#sticker-studio-root input.ss-hue::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: 0; border: 3px solid #fff; background: transparent; box-shadow: 0 0 2px #0006; }
#sticker-studio-root input.ss-hue::-moz-range-thumb { width: 22px; height: 22px; border: 3px solid #fff; background: transparent; box-shadow: 0 0 2px #0006; }
#sticker-studio-root .ss-color-footer { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 20px; }
#sticker-studio-root .ss-color-footer > .ss-color-chip, #sticker-studio-root .ss-color-footer > button { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border: 1px solid #ddd; border-radius: 16px; }
#sticker-studio-root .ss-color-footer > b { font-size: 12px; line-height: 16px; font-weight: 800; }
#sticker-studio-root .ss-color-footer > input { flex: 1 1 auto; width: 114px; height: 56px; min-width: 0; padding: 12px; border-radius: 16px; }
#sticker-studio-root .ss-color-footer > button > .ss-checker { width: 28px; height: 28px; border-radius: 50%; }
#sticker-studio-root .ss-color-footer > button > img { width: 28px; height: 28px; }
#sticker-studio-root .ss-dialog-heading { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; }
#sticker-studio-root .ss-dialog-heading h2 { margin-right: 0; }
#sticker-studio-root .ss-dialog-heading > button { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 4px; }
#sticker-studio-root .ss-menu-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
#sticker-studio-root .ss-dark { min-height: 36px; padding: 8px 16px; background: #262626; color: #fff; }
#sticker-studio-root .ss-dark:hover { background: #505050; }
#sticker-studio-root .ss-disclosure { font-size: 12px; line-height: 18px; color: #757575; }
#sticker-studio-root .ss-success-preview { width: 240px; height: 240px; object-fit: contain; border-radius: 8px; background: #ececec; margin: 16px auto; }
#sticker-studio-root .ss-loading { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; background: #ffffffd9; }
#sticker-studio-root .ss-spinner { display: block; width: 36px; height: 36px; border: 3px solid #ddd; border-top-color: #151515; border-radius: 50%; animation: ss-spin 800ms linear infinite; }
#sticker-studio-root .ss-canvas-status { position: absolute; bottom: 20px; left: 20px; right: 20px; width: fit-content; max-width: calc(100% - 40px); padding: 8px 12px; border-radius: 4px; background: #fff; }
@keyframes ss-spin { to { transform: rotate(360deg); } }

@media (min-width: 768px) {
  /* Keep overlay scrollbars outside the panel controls' pointer targets. */
  #sticker-studio-root .ss-options { margin-right: -16px; padding-right: 16px; scrollbar-gutter: stable; }
  #sticker-studio-root .ss-app[data-mode=preview] .ss-artboard canvas { width: min(88cqw,88cqh); height: min(88cqw,88cqh); position: relative; top: -20px; }
}
#sticker-studio-root .ss-effects, #sticker-studio-root .ss-effect-popover { font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; }
#sticker-studio-root .ss-effects-title { margin-right: 16px; font-weight: 700; }
#sticker-studio-root .ss-effects-title img { width: 16px; height: 16px; }
#sticker-studio-root .ss-effect-actions { gap: 0; margin-left: 0; padding-left: 0; }
#sticker-studio-root .ss-effect-actions button { padding: 0 20px; min-height: 32px; font-size: 16px; font-weight: 700; }
#sticker-studio-root .ss-effect-actions button + button { border-left: 1px solid #ddd; border-radius: 0; }
/* Effect colors retain their own ink color while reflecting the selected material mode. */
#sticker-studio-root .ss-effect-preview { position: relative; display: block; flex-shrink: 0; border-radius: 50%; background: var(--mask-color); }
#sticker-studio-root .ss-effect-preview.is-color::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--material-image) center/100% 100%; opacity: .5; }
#sticker-studio-root .ss-effect-preview.is-full { background-image: var(--material-image); background-position: center; background-size: 100% 100%; }
#sticker-studio-root .ss-effect-swatches .is-full { box-shadow: inset 0 0 0 2px var(--outline-color); }
#sticker-studio-root .ss-effect-viewport { display: flex; align-items: center; gap: 4px; min-width: 0; }
#sticker-studio-root .ss-effect-viewport > button { flex: 0 0 20px; width: 20px; height: 32px; padding: 0; }
#sticker-studio-root .ss-effect-viewport > button img { width: 20px; height: 20px; }
#sticker-studio-root .ss-effect-viewport > button[data-value="-1"] img { transform: rotate(180deg); }
#sticker-studio-root .ss-effect-swatches::-webkit-scrollbar { display: none; }
#sticker-studio-root .ss-effect-popover::after { content: ""; position: absolute; left: var(--effect-arrow-left,10px); bottom: -6px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid var(--effect-arrow-color,#fff); }
#sticker-studio-root .ss-effect-popover button:first-child { border-radius: 8px 8px 0 0; }
#sticker-studio-root .ss-effect-popover button:last-child { border-radius: 0 0 8px 8px; }
#sticker-studio-root .ss-effect-popover button[aria-pressed=true] { background: #e8e8e8; }
#sticker-studio-root .ss-effect-hint { position: absolute; left: -94px; bottom: calc(100% - 8px); z-index: 2; width: 256px; padding: 10px 26px 10px 16px; border-radius: 12px; background: #000; color: #fff; font: 12px/16px Arial,sans-serif; white-space: normal; text-align: center; }
#sticker-studio-root .ss-effect-hint::after { content: ""; position: absolute; left: var(--hint-arrow-left,112px); bottom: -6px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #000; }
#sticker-studio-root .ss-effect-hint button { position: absolute; right: 8px; top: 4px; width: 20px; height: 20px; color: #fff; font-size: 14px; padding: 0; background: transparent; }
@media (max-width: 767px) {
  #sticker-studio-root .ss-app { display: block; background: #ececec; }
  #sticker-studio-root .ss-rail, #sticker-studio-root .ss-sidebar { display: none; }
  #sticker-studio-root .ss-stage { position: absolute; inset: 123px 0 92px; margin: 0; border-radius: 0; overflow: hidden; }
  #sticker-studio-root .ss-app[data-mode=preview] .ss-stage { inset: 0 0 196px; }
  #sticker-studio-root .ss-mobile-header { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 16px; background: #fff; }
  #sticker-studio-root .ss-mobile-header > button:first-child { display: block; padding: 0; background: transparent; }
  #sticker-studio-root .ss-mobile-header .ss-logo { width: 62px; height: 36px; }
  #sticker-studio-root .ss-mobile-header > .ss-mobile-mode { min-height: 36px; padding: 8px 24px; background: #ffdb00; border-radius: 8px; font-weight: 800; }
  #sticker-studio-root .ss-app[data-mode=preview] .ss-mobile-header { background: transparent; }
  #sticker-studio-root .ss-app[data-mode=preview] .ss-mobile-header > .ss-mobile-mode { background: #fff; }
  #sticker-studio-root .ss-app[data-mode=preview] .ss-mobile-header > .ss-mobile-mode:hover, #sticker-studio-root .ss-app[data-mode=preview] .ss-mobile-header > .ss-mobile-mode:active { background: #ccc; }
  #sticker-studio-root .ss-mobile-controls { position: absolute; left: 0; right: 0; top: 68px; z-index: 4; display: flex; align-items: center; height: 55px; padding: 5px 12px; border-top: 1px solid #eee; background: #fff; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  #sticker-studio-root .ss-mobile-controls > button { flex: 0 0 auto; height: 44px; gap: 6px; border-radius: 0; padding: 0 10px; border-right: 1px solid #ddd; white-space: nowrap; }
  #sticker-studio-root .ss-mobile-controls > button:first-child { padding-left: 0; }
  #sticker-studio-root .ss-mobile-controls > button:nth-child(2) { flex: 1 0 auto; }
  #sticker-studio-root .ss-mobile-controls > button:last-child { border: 0; padding-right: 0; }
  #sticker-studio-root .ss-mobile-controls img { width: 28px; height: 28px; object-fit: contain; }
  #sticker-studio-root .ss-mobile-controls .ss-color-swatch { width: 24px; height: 24px; }
  #sticker-studio-root .ss-app[data-mode=preview] .ss-mobile-controls { display: none; }
  #sticker-studio-root .ss-mobile-tools { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: flex-start; justify-content: space-around; height: 92px; padding: 16px 12px calc(12px + env(safe-area-inset-bottom,0px)); border-radius: 24px 24px 0 0; background: #fff; }
  #sticker-studio-root .ss-mobile-tools button { display: flex; flex-direction: column; gap: 4px; flex: 1; height: 60px; font-size: 12px; line-height: 16px; font-weight: 800; border-radius: 8px; }
  #sticker-studio-root .ss-mobile-tools img, #sticker-studio-root .ss-mobile-tools svg { width: 24px; height: 24px; }
  #sticker-studio-root .ss-app[data-mode=preview] .ss-mobile-tools { display: none; }
  #sticker-studio-root .ss-mobile-order { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 196px; padding: 24px 16px 16px; border-radius: 24px 24px 0 0; background: #fff; }
  #sticker-studio-root .ss-app[data-mode=preview] .ss-mobile-order { display: block; }
  #sticker-studio-root .ss-mobile-order h2 { font-size: 20px; line-height: 28px; margin-bottom: 16px; }
  #sticker-studio-root .ss-mobile-chips { display: flex; gap: 8px; margin-bottom: 12px; }
  #sticker-studio-root .ss-mobile-chips button { flex: 1; height: 40px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 8px; background: #eee; white-space: nowrap; }
  #sticker-studio-root .ss-mobile-chips button:first-child { flex: 0 0 42px; padding: 4px; }
  #sticker-studio-root .ss-mobile-chips img { width: 32px; height: 32px; }
  #sticker-studio-root .ss-mobile-order .ss-order-actions { gap: 16px; align-items: center; }
  #sticker-studio-root .ss-mobile-order .ss-comment { flex-basis: 64px; background: transparent; }
  #sticker-studio-root .ss-mobile-order .ss-primary { min-width: 0; padding-left: 12px; padding-right: 12px; }
  #sticker-studio-root .ss-mobile-price { flex: 0 0 64px; text-align: center; font-size: 20px; line-height: 28px; font-weight: 900; }
  #sticker-studio-root .ss-stage > .ss-mode-button { display: none; }
  #sticker-studio-root .ss-layer-toolbar { top: 8px; max-width: calc(100% - 24px); gap: 4px; }
  #sticker-studio-root .ss-layer-toolbar i, #sticker-studio-root .ss-toolbar-divider { margin: 0 2px; }
  #sticker-studio-root .ss-back-button { bottom: 20px; }
  #sticker-studio-root .ss-measure { font-size: 20px; line-height: 24px; }
  #sticker-studio-root .ss-horizontal { top: auto; bottom: 25%; }
  #sticker-studio-root .ss-vertical { left: 20px; }
  #sticker-studio-root .ss-drawer { position: absolute; inset: 0; width: 100%; max-width: none; border: 0; z-index: 10; animation: ss-mobile-drawer-in 200ms var(--ss-ease) both; }
  #sticker-studio-root .ss-drawer-heading { padding: 24px 24px 28px; }
  #sticker-studio-root .ss-drawer-body { padding: 0 24px 24px; }
  #sticker-studio-root .ss-clipart-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  #sticker-studio-root .ss-sidebar.is-mobile-open, #sticker-studio-root .ss-app[data-panel-open=true] .ss-sidebar, #sticker-studio-root .ss-sidebar.ss-options-open { display: flex; position: absolute; inset: auto 0 0; height: min(640px,85dvh); z-index: 11; padding: 24px 16px 16px; border-radius: 24px 24px 0 0; background: #fff; box-shadow: 0 -10px 40px #0002; animation: ss-mobile-drawer-in 200ms var(--ss-ease) both; }
  #sticker-studio-root .ss-sidebar.is-mobile-open .ss-options { padding-top: 0; }
  #sticker-studio-root .ss-effects { bottom: 22px; min-height: 40px; padding: 8px 20px; border: 0; border-radius: 24px; gap: 0; }
  #sticker-studio-root .ss-effects:has(.ss-mask-pill) { bottom: 22px; }
  #sticker-studio-root .ss-effects-title, #sticker-studio-root .ss-effect-actions { display: none; }
  #sticker-studio-root .ss-effect-swatches { gap: 0; }
  #sticker-studio-root .ss-effect-color { width: 16px; height: 16px; margin-left: -8px; border: 1px solid #fff; }
  #sticker-studio-root .ss-effect-color:first-child { margin-left: 0; }
  #sticker-studio-root .ss-effect-menu { left: 50%; bottom: calc(100% + 12px); }
  #sticker-studio-root .ss-effect-menu .ss-effect-color { width: 40px; height: 40px; margin: 0; }
  #sticker-studio-root .ss-color-popover { position: absolute; left: 16px; right: 16px; top: auto; bottom: 108px; width: auto; }
  #sticker-studio-root .ss-color-bottom { gap: 6px; }
  #sticker-studio-root .ss-color-bottom > button, #sticker-studio-root .ss-color-bottom > .ss-color-swatch { flex-basis: 48px; width: 48px; }
  #sticker-studio-root .ss-mobile-cart { display: flex; gap: 16px; align-items: center; }
  #sticker-studio-root .ss-mobile-cart > button:first-child { flex: 0 0 64px; height: 56px; background: transparent; font-size: 32px; line-height: 32px; }
  #sticker-studio-root .ss-mobile-cart > button:first-child img { width: 32px; height: 32px; }
  #sticker-studio-root .ss-mobile-cart > .ss-yellow { flex: 1; padding: 16px 12px; }
  #sticker-studio-root .ss-mobile-cart > .ss-price { flex: 0 0 64px; font-size: 20px; line-height: 28px; font-weight: 900; text-align: center; }
  #sticker-studio-root .ss-mobile-controls .ss-icon:last-child { width: 12px; height: 12px; }
  #sticker-studio-root .ss-mobile-controls .ss-color-chip { width: 24px; height: 24px; }
  #sticker-studio-root .ss-mobile-controls > button:first-child .ss-icon:first-child { width: 28px; height: 28px; }
  #sticker-studio-root .ss-effect-swatches > button { width: 16px; height: 16px; margin-left: -8px; border-color: #fff; }
  #sticker-studio-root .ss-effect-swatches > button:first-child { margin-left: 0; }
  #sticker-studio-root .ss-effects:has(.ss-effect-pill) { padding: 0; }
  #sticker-studio-root .ss-effect-swatches > .ss-effect-pill { display: flex; align-items: center; gap: 0; width: auto; height: 40px; margin: 0; padding: 8px 20px; border: 0; border-radius: 24px; }
  #sticker-studio-root .ss-effect-swatches > .ss-effect-pill > span { flex: 0 0 16px; width: 16px; height: 16px; margin-left: -8px; border: 1px solid #fff; pointer-events: none; }
  #sticker-studio-root .ss-effect-swatches > .ss-effect-pill > span:first-child { margin-left: 0; }
  #sticker-studio-root .ss-effect-popover { left: calc(50% - 90px); bottom: 262px; }
  #sticker-studio-root .ss-color-footer { gap: 6px; }
  #sticker-studio-root .ss-color-footer > .ss-color-chip, #sticker-studio-root .ss-color-footer > button { flex-basis: 48px; width: 48px; }
  #sticker-studio-root .ss-options-open .ss-options { padding-top: 0; }
  #sticker-studio-root .ss-options-open .ss-order { padding-top: 12px; margin-top: 8px; }
  #sticker-studio-root .ss-options-open .ss-total-row { margin-bottom: 12px; }
  #sticker-studio-root .ss-dialog { width: calc(100vw - 24px); padding: 24px; border-radius: 16px; max-height: calc(100dvh - 24px); }
  #sticker-studio-root .ss-dialog > .ss-close, #sticker-studio-root .ss-dialog > form > .ss-close { top: 20px; right: 20px; }
  #sticker-studio-root .ss-review { grid-template-columns: 1fr; gap: 16px; }
  #sticker-studio-root .ss-review > img { width: 160px; margin: 0 auto; }
  #sticker-studio-root .ss-dialog-actions { flex-direction: column-reverse; }
  #sticker-studio-root .ss-order-request-form { grid-template-columns: 1fr; }
  #sticker-studio-root .ss-order-review { grid-template-columns: 80px 1fr; }
  #sticker-studio-root .ss-order-review img { width: 80px; height: 80px; }
  #sticker-studio-root .ss-toast { right: auto; bottom: auto; top: 16px; left: 50%; translate: -50% 0; width: min(384px,calc(100vw - 32px)); }
  
  #sticker-studio-root .ss-empty { inset: 12%; padding: 16px; }
}
/* Mobile tool sheets use the source editor's content heights. */
#sticker-studio-root .ss-loading-progress { display: block; width: min(240px,calc(100vw - 64px)); height: 6px; overflow: hidden; border: 0; border-radius: 3px; accent-color: #151515; background: #eee; }
#sticker-studio-root .ss-loading-progress::-webkit-progress-bar { background: #eee; border-radius: 3px; }
#sticker-studio-root .ss-loading-progress::-webkit-progress-value { background: #151515; border-radius: 3px; transition: width 150ms var(--ss-ease); }
#sticker-studio-root .ss-loading-progress::-moz-progress-bar { background: #151515; border-radius: 3px; }
#sticker-studio-root .ss-loading-cancel { min-height: 36px; padding: 8px 16px; border: 1px solid #ccc; border-radius: 8px; background: #fff; }
#sticker-studio-root .ss-mobile-effect-actions { display: none; }
@media (max-width: 767px) {
  #sticker-studio-root .ss-app[data-mobile-panel] { --ss-active-sheet: 270px; }
  #sticker-studio-root .ss-app[data-mobile-panel=selected] { --ss-active-sheet: 128px; }
  #sticker-studio-root .ss-app[data-mobile-panel=selected]:has(.ss-mobile-selected > button:nth-child(6)) { --ss-active-sheet: 208px; }
  #sticker-studio-root .ss-app[data-mobile-panel=rotate] { --ss-active-sheet: 126px; }
  #sticker-studio-root .ss-app[data-mobile-panel=position] { --ss-active-sheet: 128px; }
  #sticker-studio-root .ss-app[data-mobile-panel=textedit] { --ss-active-sheet: 146px; }
  #sticker-studio-root .ss-app[data-mobile-panel=textalign] { --ss-active-sheet: 152px; }
  #sticker-studio-root .ss-app[data-mobile-panel=total] { --ss-active-sheet: 248px; }
  #sticker-studio-root .ss-app[data-mobile-panel=effects] { --ss-active-sheet: 275px; }
  #sticker-studio-root .ss-app[data-mobile-panel]:has(.ss-sidebar.ss-options-open[data-panel]) .ss-stage { bottom: var(--ss-active-sheet); }
  #sticker-studio-root .ss-app[data-mobile-panel]:has(.ss-sidebar.ss-options-open[data-panel]) .ss-sidebar { height: var(--ss-active-sheet); max-height: 50dvh; padding: 16px; border-radius: 24px 24px 0 0; box-shadow: none; }
  #sticker-studio-root .ss-sidebar.ss-options-open[data-panel] .ss-order { display: none; }
  #sticker-studio-root .ss-sidebar.ss-options-open[data-panel] .ss-options { padding: 0; overflow: auto; }
  #sticker-studio-root .ss-sidebar.ss-options-open[data-panel] .ss-panel-heading { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; height: 36px; min-height: 36px; padding: 4px 32px 8px; margin: 0 0 12px; }
  #sticker-studio-root .ss-sidebar.ss-options-open[data-panel] .ss-panel-heading h2 { display: block; flex: 1; margin: 0; font-size: 16px; font-weight: 800; line-height: 24px; text-align: center; }
  #sticker-studio-root .ss-sidebar.ss-options-open[data-panel] .ss-panel-heading > button { position: absolute; top: 4px; right: 0; width: 24px; height: 24px; }
  #sticker-studio-root .ss-sidebar.ss-options-open[data-panel] .ss-panel-heading > [data-action=back-options] { right: auto; left: 0; }
  #sticker-studio-root .ss-app[data-mobile-panel]:has(.ss-sidebar.ss-options-open[data-panel]) .ss-layer-toolbar { display: none; }
  #sticker-studio-root .ss-mobile-selected { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 32px 8px; }
  #sticker-studio-root .ss-mobile-selected > button { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; height: 48px; min-width: 0; padding: 0; border-radius: 4px; font-size: 12px; font-weight: 400; line-height: 16px; white-space: nowrap; }
  #sticker-studio-root .ss-mobile-selected > button > img { width: 24px; height: 24px; object-fit: contain; }
  #sticker-studio-root .ss-mobile-selected > button > span, #sticker-studio-root .ss-mobile-selected > button > strong { font-size: 12px; font-weight: 400; line-height: 16px; }
  #sticker-studio-root .ss-mobile-selected > button:disabled { opacity: .5; }
  #sticker-studio-root .ss-rotate-panel { display: flex; align-items: center; gap: 8px; height: 46px; padding: 8px 0; }
  #sticker-studio-root .ss-rotate-panel > input[type=number] { flex: 0 0 64px; width: 64px; height: 30px; min-height: 30px; padding: 4px 12px; border: 1px solid #eee; border-radius: 8px; font-size: 14px; line-height: 20px; }
  #sticker-studio-root .ss-rotate-panel > input[type=range] { flex: 1; width: auto; margin: 0; }
  #sticker-studio-root .ss-rotate-panel > input[type=number]::-webkit-inner-spin-button { appearance: auto; opacity: .5; }
  #sticker-studio-root .ss-position-panel { display: flex; align-items: flex-start; gap: 0; height: 48px; }
  #sticker-studio-root .ss-position-panel > button { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; height: 48px; padding: 0; font-size: 12px; line-height: 16px; }
  #sticker-studio-root .ss-position-panel > button > img { width: 24px; height: 24px; }
  #sticker-studio-root .ss-text-edit { display: flex; flex-direction: column; gap: 4px; }
  #sticker-studio-root .ss-text-edit > textarea { width: 100%; height: 66px; min-height: 66px; padding: 8px; border: 1px solid #eee; border-radius: 4px; font-size: 16px; line-height: 24px; resize: vertical; }
  #sticker-studio-root .ss-text-edit > textarea:focus { border-color: #365ba8; outline: 1px solid #365ba8; outline-offset: 0; }
  #sticker-studio-root .ss-text-align { display: flex; align-items: flex-start; justify-content: space-around; gap: 8px; }
  #sticker-studio-root .ss-text-align > button { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 72px; padding: 12px; border-radius: 4px; font-size: 12px; line-height: 16px; }
  #sticker-studio-root .ss-text-align > button[aria-pressed=true] { background: #fafafa; font-weight: 800; }
  #sticker-studio-root .ss-text-align > button > img { width: 24px; height: 24px; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) { padding-left: 0; padding-right: 0; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-panel-heading { height: 24px; min-height: 24px; padding: 0 48px; margin: 0 16px 24px; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-panel-heading > button { top: 0; }
  #sticker-studio-root .ss-settings-tabs { display: flex; align-items: stretch; margin: 0 16px 12px; height: 33px; border-bottom: 1px solid #ddd; }
  #sticker-studio-root .ss-settings-tabs > button { position: relative; display: flex; align-items: flex-start; justify-content: center; flex: 1; padding: 0 4px 8px; min-width: 0; height: 33px; border-radius: 0; color: #757575; background: transparent; font-size: 14px; font-weight: 400; line-height: 20px; white-space: nowrap; }
  #sticker-studio-root .ss-settings-tabs > button[aria-pressed=true], #sticker-studio-root .ss-settings-tabs > button[aria-selected=true] { color: #151515; font-weight: 800; }
  #sticker-studio-root .ss-settings-tabs > button[aria-pressed=true]::after, #sticker-studio-root .ss-settings-tabs > button[aria-selected=true]::after { content: ""; position: absolute; bottom: -2px; left: 0; right: 0; height: 5px; border-radius: 4px; background: #ffdb00; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-material-list, #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-finish-list { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; width: 100%; padding: 0 12px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-material-list::-webkit-scrollbar, #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-finish-list::-webkit-scrollbar { display: none; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-material-list > button, #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-finish-list > button { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; flex: 0 0 120px; width: 120px; height: 132px; min-height: 132px; padding: 12px 12px 16px; border: 1px solid transparent; border-radius: 8px; background: transparent; text-align: center; font-size: 12px; line-height: 16px; font-weight: 400; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-material-list > button[aria-pressed=true], #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-finish-list > button[aria-pressed=true] { background: #eee; border-color: #ccc; font-weight: 800; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-material-list > button > img, #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-finish-list > button > img { flex: 0 0 80px; width: 80px; height: 80px; object-fit: contain; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-finish-list > button > img { border-radius: 0; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-material-list > button > strong, #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-finish-list > button > strong { font: inherit; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-section, #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-quantity-list { margin: 0 16px; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-section + .ss-section { margin-top: 16px; }
  #sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-quantity-list { max-height: 145px; overflow-y: auto; }
  #sticker-studio-root .ss-mobile-total, #sticker-studio-root .ss-mobile-cart > button[data-value=total] { flex: 0 0 64px; width: 64px; height: 56px; padding: 0; border-radius: 8px; font-size: 20px; line-height: 28px; font-weight: 900; }
  #sticker-studio-root .ss-mobile-total > .ss-price { font: inherit; }
  #sticker-studio-root .ss-total-details { display: flex; flex-direction: column; gap: 16px; }
  #sticker-studio-root .ss-total-details dl { display: grid; grid-template-columns: 1fr auto; gap: 16px 0; color: #505050; font-size: 14px; line-height: 20px; }
  #sticker-studio-root .ss-total-details dl > div { display: contents; }
  #sticker-studio-root .ss-total-details dt { margin: 0; }
  #sticker-studio-root .ss-total-details dd { margin: 0; text-align: right; }
  #sticker-studio-root .ss-total-details dl > dt:last-of-type, #sticker-studio-root .ss-total-details dl > dd:last-of-type, #sticker-studio-root .ss-total-details dl > div:last-child > dt, #sticker-studio-root .ss-total-details dl > div:last-child > dd { padding-top: 16px; border-top: 1px solid #ddd; color: #151515; font-weight: 800; }
  #sticker-studio-root .ss-total-details > .ss-yellow, #sticker-studio-root .ss-total-details > .ss-primary { width: 100%; margin-top: 8px; flex: none; }
  #sticker-studio-root .ss-sidebar[data-panel=total] .ss-panel-heading { margin-bottom: 24px; }
  #sticker-studio-root .ss-app[data-mobile-panel=effects] .ss-effects { display: none; }
  #sticker-studio-root .ss-app[data-mobile-panel=effects] .ss-mobile-effect-actions { position: absolute; left: 50%; bottom: 32px; z-index: 4; display: flex; align-items: center; transform: translateX(-50%); height: 24px; white-space: nowrap; }
  #sticker-studio-root .ss-mobile-effect-actions > button { display: flex; align-items: center; gap: 4px; min-height: 24px; padding: 0; border-radius: 0; background: transparent; font-size: 14px; font-weight: 800; line-height: 20px; }
  #sticker-studio-root .ss-mobile-effect-actions > button + button { padding-left: 16px; margin-left: 16px; border-left: 1px solid #ccc; }
  #sticker-studio-root .ss-mobile-effect-actions img { width: 24px; height: 24px; }
  #sticker-studio-root .ss-mobile-effect-tabs { position: relative; display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 0; width: 100%; height: 53px; padding: 0 0 9px; border-bottom: 1px solid #ddd; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  #sticker-studio-root .ss-mobile-effect-tabs::-webkit-scrollbar { display: none; }
  #sticker-studio-root .ss-mobile-effect-tabs > button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border-radius: 0; background: transparent; }
  #sticker-studio-root .ss-mobile-effect-tabs > button[aria-pressed=true]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 5px; border-radius: 4px; background: #ffdb00; }
  #sticker-studio-root .ss-mobile-effect-tabs > button > span { position: relative; display: block; width: 32px; height: 32px; border: 2px solid var(--outline-color,var(--mask-color,#ddd)); border-radius: 50%; background: var(--mask-color,#ccc); }
  #sticker-studio-root .ss-mobile-effect-modes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
  #sticker-studio-root .ss-mobile-effect-modes > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 126px; padding: 12px 8px; border: 1px solid transparent; border-radius: 12px; background: transparent; font-size: 14px; line-height: 20px; text-align: center; }
  #sticker-studio-root .ss-mobile-effect-modes > button[aria-pressed=true] { background: #fafafa; border-color: #eee; font-weight: 800; }
  #sticker-studio-root .ss-mobile-effect-modes .ss-effect-preview { position: relative; display: block; width: 48px; height: 48px; border: 2px solid var(--outline-color,var(--mask-color,#ddd)); border-radius: 50%; background: var(--mask-color,#ccc); }
  #sticker-studio-root .ss-effect-preview.is-color::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: var(--material-image); background-size: cover; background-position: center; opacity: .5; }
  #sticker-studio-root .ss-effect-preview.is-full { background-image: var(--material-image); background-size: cover; background-position: center; }
  #sticker-studio-root .ss-app[data-drawer]:not([data-drawer=""]) .ss-stage { bottom: 50dvh; }
  #sticker-studio-root .ss-app[data-drawer]:not([data-drawer=""]) .ss-drawer { inset: auto 0 0; width: 100%; height: 50dvh; max-height: 50dvh; padding: 16px 0; border: 0; border-radius: 24px 24px 0 0; }
  #sticker-studio-root .ss-app[data-drawer]:not([data-drawer=""]) .ss-drawer-heading { position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 36px; height: 36px; min-height: 36px; margin: 0 16px 12px; padding: 4px 32px 8px; }
  #sticker-studio-root .ss-app[data-drawer]:not([data-drawer=""]) .ss-drawer-heading h2 { margin: 0; font-size: 16px; font-weight: 800; line-height: 24px; text-align: center; }
  #sticker-studio-root .ss-app[data-drawer]:not([data-drawer=""]) .ss-drawer-heading > button { position: absolute; top: 4px; right: 0; width: 24px; height: 24px; }
  #sticker-studio-root .ss-app[data-drawer]:not([data-drawer=""]) .ss-drawer-heading > [data-action=library-back] { right: auto; left: 0; }
  #sticker-studio-root .ss-app[data-drawer]:not([data-drawer=""]) .ss-drawer-body { padding: 0 16px; }
  #sticker-studio-root .ss-drawer .ss-font-list { margin-top: 0; }
  #sticker-studio-root .ss-drawer .ss-library-search { display: none; }
  #sticker-studio-root .ss-drawer .ss-library-category:first-child { margin-top: 0; }
  #sticker-studio-root .ss-drawer .ss-category-heading { margin-bottom: 12px; }
  #sticker-studio-root .ss-drawer[data-category=""] .ss-clipart-grid { display: flex; gap: 8px; width: calc(100% + 16px); margin-right: -16px; padding: 0 16px 8px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  #sticker-studio-root .ss-drawer[data-category=""] .ss-clipart-grid::-webkit-scrollbar { display: none; }
  #sticker-studio-root .ss-drawer[data-category=""] .ss-clipart-grid > button { flex: 0 0 88px; width: 88px; height: 88px; padding: 8px; }
  #sticker-studio-root .ss-drawer[data-category]:not([data-category=""]) .ss-category-heading { display: none; }
  #sticker-studio-root .ss-drawer[data-category]:not([data-category=""]) .ss-clipart-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  #sticker-studio-root .ss-app[data-mobile-panel=color] { --ss-active-sheet: 398px; }
  #sticker-studio-root .ss-app[data-mobile-panel=color] .ss-stage { bottom: min(398px,50dvh); }
  #sticker-studio-root .ss-app[data-mobile-panel=color] .ss-sidebar { visibility: hidden; }
  #sticker-studio-root .ss-color-sheet { position: absolute; inset: auto 0 0; width: 100%; max-width: none; height: 398px; max-height: 50dvh; padding: 16px; overflow: auto; border-radius: 24px 24px 0 0; box-shadow: none; }
  #sticker-studio-root .ss-color-sheet .ss-panel-heading { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; height: 36px; padding: 4px 32px 8px; margin: 0 0 12px; }
  #sticker-studio-root .ss-color-sheet .ss-panel-heading h2 { margin: 0; font-size: 16px; font-weight: 800; line-height: 24px; text-align: center; }
  #sticker-studio-root .ss-color-sheet .ss-panel-heading > button { position: absolute; top: 4px; right: 0; width: 24px; height: 24px; }
  #sticker-studio-root .ss-color-sheet .ss-panel-heading > [data-action=back-options], #sticker-studio-root .ss-color-sheet .ss-panel-heading > [data-action=back-color] { right: auto; left: 0; }
  #sticker-studio-root .ss-color-sheet .ss-color-sv { width: calc(100% - 32px); margin: 16px 16px 0; }
  #sticker-studio-root .ss-color-sheet input.ss-hue { width: calc(100% - 32px); margin: 20px 16px 0; }
  #sticker-studio-root .ss-color-sheet .ss-color-footer { gap: 12px; width: calc(100% - 32px); margin: 20px 16px 0; }
  #sticker-studio-root .ss-color-sheet .ss-color-footer > .ss-color-chip, #sticker-studio-root .ss-color-sheet .ss-color-footer > button { flex-basis: 56px; width: 56px; }
  #sticker-studio-root .ss-color-sheet .ss-color-footer > b { flex: 0 0 28px; }
  #sticker-studio-root .ss-app[data-drawer]:not([data-drawer=""]) .ss-artboard canvas, #sticker-studio-root .ss-app[data-mobile-panel=color] .ss-artboard canvas { width: min(100cqw,max(80px,calc(100cqh - 64px))); height: min(100cqw,max(80px,calc(100cqh - 64px))); position: relative; top: -12px; }
  #sticker-studio-root .ss-app[data-drawer]:not([data-drawer=""]) .ss-back-button, #sticker-studio-root .ss-app[data-mobile-panel=color] .ss-back-button, #sticker-studio-root .ss-app[data-mobile-panel=rotate] .ss-back-button, #sticker-studio-root .ss-app[data-mobile-panel=position] .ss-back-button, #sticker-studio-root .ss-app[data-mobile-panel=textedit] .ss-back-button, #sticker-studio-root .ss-app[data-mobile-panel=textalign] .ss-back-button { display: none; }
}
@keyframes ss-mobile-drawer-in { from { transform: translateY(50%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #sticker-studio-root *, #sticker-studio-root *::before, #sticker-studio-root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 767px) {
  #sticker-studio-root .ss-effect-hint { display: none; }
  #sticker-studio-root .ss-effect-viewport { max-width: 100%; }
  #sticker-studio-root .ss-mobile-effect-tabs > button > .ss-effect-preview.is-full { background-image: var(--material-image); background-size: 100% 100%; }
  #sticker-studio-root .ss-mobile-effect-tabs > button > .ss-effect-preview { border-color: var(--outline-color); }
}

/* Transparent material uses a stage backdrop, never part of the exported artwork. */
#sticker-studio-root .ss-app[data-material="transparent"] .ss-stage { background-color: #e8e8e8; background-image: conic-gradient(#d8d8d8 25%,#e8e8e8 25% 50%,#d8d8d8 50% 75%,#e8e8e8 75%); background-size: 24px 24px; }

#sticker-studio-root .ss-stage:has(.ss-back-button:not([hidden])) .ss-canvas-status { bottom: 76px; }

#sticker-studio-root .ss-stage:has(.ss-effects:not([hidden])) .ss-canvas-status { bottom: 104px; }
/* Embedded sheet-part mode shares editing tools without its own order flow. */
.ss-app[data-sheet-part="true"] .ss-back-button,.ss-app[data-sheet-part="true"] .ss-mobile-chips{display:none!important}
.ss-app[data-sheet-part="true"] .ss-mode-button{min-width:120px}
/* Roll direction is confirmed before an order is added. */
#sticker-studio-root .ss-pricing-note{font-size:12px;line-height:18px;color:#666;margin:0 0 8px}
#sticker-studio-root .ss-dialog.ss-roll-modal{width:min(480px,calc(100vw - 32px));max-width:480px;padding:32px;box-sizing:border-box}
#sticker-studio-root .ss-roll-modal .ss-dialog-heading{position:relative;justify-content:center;margin:0 0 24px}
#sticker-studio-root .ss-roll-modal .ss-dialog-heading h2{font-size:24px;line-height:32px;margin:0;font-weight:900}
#sticker-studio-root .ss-roll-modal .ss-dialog-heading>button{position:absolute;right:-16px;top:-16px}
#sticker-studio-root .ss-roll-direction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#sticker-studio-root .ss-roll-direction-grid>button{display:flex;flex-direction:column;align-items:center;padding:12px 12px 16px;background:#fff;border:2px solid #ddd;border-radius:4px;min-height:166px}
#sticker-studio-root .ss-roll-direction-grid>button[aria-pressed=true]{border-color:#ffdf00}
#sticker-studio-root .ss-roll-direction-grid>button:disabled{opacity:.35;cursor:not-allowed}
#sticker-studio-root .ss-roll-direction-grid svg{display:block;width:100%;height:118px}
#sticker-studio-root .ss-roll-direction-grid strong{font-size:16px;line-height:24px;color:#111}
#sticker-studio-root .ss-roll-modal .ss-dialog-actions{margin:32px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:16px}
#sticker-studio-root .ss-roll-modal .ss-dialog-actions button{height:56px;border:0;font-size:16px}
#sticker-studio-root .ss-roll-modal .ss-dialog-actions .ss-outline{background:#eee}
@media(max-width:520px){#sticker-studio-root .ss-dialog.ss-roll-modal{padding:24px}#sticker-studio-root .ss-roll-direction-grid{gap:12px}#sticker-studio-root .ss-roll-direction-grid>button{min-height:150px;padding:8px}#sticker-studio-root .ss-roll-direction-grid svg{height:105px}}

#sticker-studio-root .ss-dialog.ss-roll-modal::backdrop{background:#0009;backdrop-filter:blur(4px)}
#sticker-studio-root .ss-roll-modal .ss-dialog-heading h2{display:flex;align-items:center;gap:8px}
#sticker-studio-root .ss-roll-info{display:inline-flex;align-items:center}
#sticker-studio-root .ss-roll-info img{width:18px;height:18px}
#sticker-studio-root .ss-app[data-product-type=roll] .ss-quantity-current{display:grid;grid-template-columns:1fr auto auto auto;gap:12px}
#sticker-studio-root .ss-roll-quantity-reduction{font-size:12px;font-style:normal;color:#08743f;font-weight:700}
#sticker-studio-root .ss-roll-modal .ss-dialog-actions .ss-outline{font-weight:800}
@media(min-width:768px){#sticker-studio-root .ss-app[data-product-type=roll][data-mode=preview] .ss-artboard canvas{width:min(98cqw,98cqh);height:min(98cqw,98cqh);top:-24px}}

#sticker-studio-root .ss-roll-direction-grid>button{justify-content:center;gap:12px}
#sticker-studio-root .ss-roll-direction-image{width:74px;height:70px;object-fit:contain}

/* Direct text editing and visible, shared history controls. */
#sticker-studio-root .ss-utilities{position:absolute;bottom:12px;left:16px;z-index:5;display:flex;align-items:center;gap:4px;padding:4px 8px;background:#fffffff2;border:1px solid #dedbd7;border-radius:12px;box-shadow:0 2px 8px #0000000a;max-width:calc(100% - 32px)}
#sticker-studio-root .ss-utilities button{width:36px;height:36px;font-size:23px;border-radius:8px;background:transparent}
#sticker-studio-root .ss-utilities button:disabled{opacity:.3;cursor:default}
#sticker-studio-root .ss-save-state{padding:0 8px;border-left:1px solid #ddd;font-size:11px;line-height:16px;color:#5a625c}
#sticker-studio-root .ss-save-state[data-error=true]{color:#ad3131}
#sticker-studio-root .ss-stage>.ss-back-button{bottom:68px}
#sticker-studio-root .ss-direct-text{position:absolute;z-index:7;bottom:70px;left:50%;transform:translateX(-50%);width:min(400px,calc(100% - 32px));margin:0;padding:14px 16px;background:#fff;border:1px solid #e5d6de;border-radius:16px;box-shadow:0 12px 36px #0002;text-align:left}
#sticker-studio-root .ss-direct-text>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
#sticker-studio-root .ss-direct-text label{font-size:14px;font-weight:700;margin:0}
#sticker-studio-root .ss-direct-done{min-height:36px;padding:8px 18px;border-radius:20px;background:#171717;color:#fff;font-size:13px}
#sticker-studio-root .ss-direct-text textarea{display:block;width:100%;min-height:74px;max-height:160px;resize:vertical;padding:10px 12px;font-size:18px;line-height:1.4;border:1px solid #dbd3d7;border-radius:9px;color:#171717;background:#fff}
#sticker-studio-root .ss-direct-text textarea:focus{outline:2px solid #e94b9a;outline-offset:1px}
#sticker-studio-root .ss-direct-text small{display:block;color:#777;font-size:11px;margin-top:8px}
#sticker-studio-root .ss-app[data-text-editing=true] .ss-back-button{visibility:hidden}
#sticker-studio-root .ss-quick-text{width:100%;min-height:44px;background:#171717;color:#fff;border-radius:10px;font-weight:700}
#sticker-studio-root .ss-text-hint{font-size:12px;color:#777;line-height:1.5;margin:12px 0 18px}
@media(max-width:767px){
 #sticker-studio-root .ss-utilities{left:12px;bottom:8px;max-width:calc(100% - 24px);padding:2px 4px}
 #sticker-studio-root .ss-utilities button{width:40px;height:40px}
 #sticker-studio-root .ss-direct-text{position:fixed;left:12px;right:12px;bottom:calc(10px + var(--ss-keyboard-inset,0px));transform:none;width:auto;z-index:14;padding:12px 14px}
 #sticker-studio-root .ss-direct-done{min-height:44px;min-width:72px}
 #sticker-studio-root .ss-app[data-text-editing=true] .ss-stage{bottom:225px}
 #sticker-studio-root .ss-app[data-text-editing=true] .ss-mobile-tools,#sticker-studio-root .ss-app[data-text-editing=true] .ss-layer-toolbar{visibility:hidden}
}
@media(min-width:768px){#sticker-studio-root .ss-direct-text{padding:10px 14px}#sticker-studio-root .ss-direct-text textarea{height:64px;min-height:64px}#sticker-studio-root .ss-direct-text small{margin-top:6px}}

/* Compact cart confirmation: the next step owns the visual emphasis. */
#sticker-studio-root .ss-dialog.ss-cart-confirmation{width:min(520px,calc(100vw - 32px));padding:28px;border-radius:20px;max-height:calc(100dvh - 32px);font-family:PPNunito,"Noto Sans",sans-serif;box-shadow:0 24px 80px #18151d30}
#sticker-studio-root .ss-cart-confirmation::backdrop{background:#24212c66;backdrop-filter:blur(3px)}
#sticker-studio-root .ss-cart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
#sticker-studio-root .ss-cart-confirmed{display:flex;align-items:center;gap:6px;color:#a60057;font-size:12px;font-weight:800;line-height:20px;margin-bottom:6px}
#sticker-studio-root .ss-cart-confirmed img{width:16px;height:16px}
#sticker-studio-root .ss-cart-heading h2{font-size:24px;line-height:32px;letter-spacing:-.04em;margin:0}
#sticker-studio-root .ss-cart-close{width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#f5f4f5;margin:-6px -6px 0 0}
#sticker-studio-root .ss-cart-close img{width:20px;height:20px}
#sticker-studio-root .ss-cart-product{display:grid;grid-template-columns:116px minmax(0,1fr);gap:20px;align-items:center;margin:24px 0;padding:16px;background:#f7f6f7;border:1px solid #ece9ed;border-radius:14px}
#sticker-studio-root .ss-cart-preview{width:116px;height:116px;object-fit:contain;border-radius:8px}
#sticker-studio-root .ss-cart-specs{min-width:0;overflow-wrap:anywhere}
#sticker-studio-root .ss-cart-specs h3{font-size:16px;line-height:23px;margin-bottom:6px}
#sticker-studio-root .ss-cart-specs p{font-size:13px;line-height:20px;color:#625e66;margin:0}
#sticker-studio-root .ss-cart-count{display:inline-block;font-weight:800;font-size:13px;margin-top:10px}
#sticker-studio-root .ss-cart-amount{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:14px;line-height:28px}
#sticker-studio-root .ss-cart-amount strong{font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
#sticker-studio-root .ss-cart-confirmation .ss-cart-cost-note{font-size:12px;line-height:18px;color:#6b6670;margin:4px 0 20px}
#sticker-studio-root .ss-cart-checkout{display:flex;width:100%;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:14px 20px;border-radius:999px;background:#1d1d1f;color:#fff;font-size:15px;line-height:22px;font-weight:800}
#sticker-studio-root .ss-cart-checkout:hover{background:#38343b}
#sticker-studio-root .ss-cart-secondary{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:8px;flex-wrap:wrap}
#sticker-studio-root .ss-cart-secondary :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:13px;color:#625e66;text-decoration:underline;text-underline-offset:4px}
#sticker-studio-root .ss-cart-confirmation :is(a,button):focus-visible{outline:3px solid #b30060;outline-offset:3px}
@media(max-width:520px){#sticker-studio-root .ss-dialog.ss-cart-confirmation{padding:20px;width:calc(100vw - 24px);border-radius:18px}#sticker-studio-root .ss-cart-heading h2{font-size:22px;line-height:29px}#sticker-studio-root .ss-cart-product{grid-template-columns:84px minmax(0,1fr);gap:12px;padding:12px;margin:20px 0}#sticker-studio-root .ss-cart-preview{width:84px;height:100px}#sticker-studio-root .ss-cart-secondary{gap:20px}}

/* Artwork color controls: describe the current mode and keep keyboard focus visible. */
#sticker-studio-root .ss-effects-title > span { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
#sticker-studio-root .ss-effects-title small { color: #6b6872; font-size: 11px; line-height: 16px; font-weight: 400; }
#sticker-studio-root .ss-effect-swatches > button:not(.ss-effect-pill) { width: 40px; height: 40px; padding: 3px; border-color: transparent; }
#sticker-studio-root .ss-effect-swatches > button[aria-expanded=true] { border-color: #ed008c; box-shadow: 0 0 0 2px #fff; }
#sticker-studio-root .ss-effect-swatches button:focus-visible,
#sticker-studio-root .ss-effect-popover button:focus-visible,
#sticker-studio-root .ss-mobile-effect-tabs button:focus-visible,
#sticker-studio-root .ss-mobile-effect-modes button:focus-visible { outline: 3px solid #ed008c; outline-offset: 3px; }
#sticker-studio-root .ss-effect-popover { width: min(308px,calc(100% - 16px)); padding: 8px; border-radius: 16px; box-shadow: 0 12px 40px #25202e26; }
#sticker-studio-root .ss-effect-menu-heading { margin: 0; padding: 6px 10px 10px; font-size: 12px; line-height: 18px; color: #6b6872; }
#sticker-studio-root .ss-effect-popover button { min-height: 76px; gap: 12px; padding: 10px; border: 0; border-radius: 10px; text-align: left; }
#sticker-studio-root .ss-effect-popover button:first-child,
#sticker-studio-root .ss-effect-popover button:last-child { border-radius: 10px; }
#sticker-studio-root .ss-effect-popover button[aria-pressed=true] { background: #fff0f8; box-shadow: inset 0 0 0 1px #f7b5dc; }
#sticker-studio-root .ss-effect-choice-copy { display: flex; flex-direction: column; gap: 3px; }
#sticker-studio-root .ss-effect-choice-copy strong { font-size: 14px; line-height: 20px; }
#sticker-studio-root .ss-effect-choice-copy small { color: #6b6872; font-size: 12px; line-height: 17px; font-weight: 400; }
#sticker-studio-root .ss-effect-summary { margin: 0 0 14px; font-size: 13px; line-height: 20px; color: #6b6872; }
#sticker-studio-root .ss-effect-explanation { margin: 14px 0 0; font-size: 13px; line-height: 20px; }
#sticker-studio-root .ss-effect-group-note { margin: 8px 0 0; font-size: 11px; line-height: 16px; color: #6b6872; }
@media (max-width:767px) {
  #sticker-studio-root .ss-effect-swatches > .ss-effect-pill { min-height: 44px; gap: 0; }
  #sticker-studio-root .ss-effect-pill b { margin-left: 10px; font-size: 12px; white-space: nowrap; }
  #sticker-studio-root .ss-mobile-effect-modes { gap: 6px; }
  #sticker-studio-root .ss-mobile-effect-modes > button { min-height: 108px; padding: 10px 4px; font-size: 13px; }
  #sticker-studio-root .ss-mobile-effect-modes > button[aria-pressed=true] { background: #fff0f8; border-color: #f7b5dc; }
}
#sticker-studio-root .ss-effect-swatches > button:not(.ss-effect-pill) > .ss-effect-preview { border: 1px solid var(--outline-color,#ddd); }
@media (max-width:767px) {
  #sticker-studio-root .ss-app[data-mobile-panel=effects] { --ss-active-sheet: min(410px,55dvh); }
  #sticker-studio-root .ss-app[data-mobile-panel=effects]:has(.ss-sidebar.ss-options-open) .ss-sidebar { max-height: 60dvh; }
  #sticker-studio-root .ss-sidebar.ss-options-open[data-panel=effects] .ss-panel-heading { position: sticky; top: 0; z-index: 2; height: 44px; min-height: 44px; padding: 8px 44px; background: #fff; }
  #sticker-studio-root .ss-sidebar.ss-options-open[data-panel=effects] .ss-panel-heading > button { top: 0; width: 44px; height: 44px; display: grid; place-items: center; }
}
@media (max-width:767px) {
  #sticker-studio-root .ss-app[data-mobile-panel=effects] .ss-artboard { bottom: 64px; }
  #sticker-studio-root .ss-app[data-mobile-panel=effects] .ss-mobile-effect-actions { bottom: 8px; height: 44px; }
  #sticker-studio-root .ss-app[data-mobile-panel=effects] .ss-mobile-effect-actions > button { min-height: 44px; }
}
/* Pack components need an in-place material preview before applying the artwork. */
#sticker-studio-root .ss-app:is([data-embedded-role=pack],[data-embedded-role=pack-header]) .ss-stage > .ss-mode-button { display:inline-flex; align-items:center; justify-content:center; top:16px; right:16px; min-height:36px; padding:0 16px; border-radius:999px; background:#1d1d1f; color:#fff; font-size:13px; font-weight:700; }

/* QA fix 2026-10-27: keep the canvas notice from running under the Back Paper Print button */
#sticker-studio-root .ss-stage:has(.ss-back-button:not([hidden])) .ss-canvas-status{right:auto;bottom:76px;max-width:calc(50% - 126px)}
#sticker-studio-root .ss-stage:has(.ss-effects:not([hidden])) .ss-canvas-status{bottom:104px}
@media(max-width:767px){#sticker-studio-root .ss-stage:has(.ss-back-button:not([hidden])) .ss-canvas-status{max-width:calc(100% - 40px);bottom:112px}}
