:root { --ink: #242f2a; --muted: #738078; --jade: #23634d; --jade-dark: #174533; --line: #dfe5df; --soft: #edf3ee; --red: #a04840; --surface: #f4f6f3; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 14px/1.55 "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; padding-bottom: 90px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button, input, textarea, select { border-radius: 6px; }
button { border: 0; background: none; }
button:disabled { opacity: .38; cursor: not-allowed; }
input, select, textarea { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--jade); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon { display: block; flex-shrink: 0; width: 18px; height: 18px; opacity: .72; pointer-events: none; }
.icon-button { width: 36px; height: 36px; padding: 9px; display: inline-grid; place-items: center; flex-shrink: 0; border: 1px solid transparent; transition: background .15s; }
.icon-button:hover:not(:disabled), .quiet-button:hover { background: var(--soft); }
.quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 12px; font-size: 13px; white-space: nowrap; }
.primary-action { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 12px 22px; color: #fff; background: var(--jade); border-radius: 6px; font-weight: 600; text-align: center; }
.primary-action:hover:not(:disabled) { background: var(--jade-dark); }
.primary-action .icon { filter: invert(1); opacity: .85; }
.text-button { color: var(--jade); font-size: 12px; padding: 2px 0; }
.site-header { min-height: 72px; padding: 12px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: var(--jade); color: #fff; font: 21px Georgia, "Songti SC", serif; }
.brand strong { font: 600 20px "Songti SC", SimSun, serif; }
.brand-divider { height: 20px; width: 1px; background: var(--line); margin: 0 4px; }
.brand-caption { color: var(--muted); font-size: 11px; }
.site-header nav { display: flex; gap: 32px; height: 44px; align-items: center; }
.site-header nav a { color: var(--muted); font-size: 13px; position: relative; }
.site-header nav [aria-current] { color: var(--jade); font-weight: 600; }
.site-header nav [aria-current]::after { content: ""; position: absolute; bottom: -26px; left: 0; right: 0; height: 2px; background: var(--jade); }
.draft-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }
.studio-shell { max-width: 1520px; margin: 0 auto; padding: 28px 36px 0; }
.studio-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 600; margin-bottom: 6px; }
h1 { font-size: 27px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; line-height: 1.45; }
h1 span { color: var(--muted); font-size: 12px; font-weight: 400; }
.heading-actions { display: flex; gap: 4px; align-items: center; }
.heading-actions > .quiet-button { margin-left: 8px; border: 1px solid var(--line); }
.heading-actions > .publish-button { margin-left: 4px; border-color: var(--jade); color: var(--jade); }
.heading-actions > .publish-button:disabled { border-color: var(--line); color: var(--muted); opacity: .55; cursor: not-allowed; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, 1fr); gap: 32px; align-items: start; }
.preview-panel, .material-panel { min-width: 0; }
.setup-bar { min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 0 14px; }
.size-control { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; white-space: nowrap; }
.size-control select { color: var(--ink); border: 1px solid var(--line); background: #fff; padding: 7px; font-size: 13px; }
.fit-control { display: inline-flex; padding: 3px; margin: 0; border: 1px solid var(--line); border-radius: 6px; gap: 1px; }
.fit-control input { position: absolute; opacity: 0; width: 1px; }
.fit-control span { display: block; font-size: 12px; padding: 4px 9px; border-radius: 3px; cursor: pointer; color: var(--muted); }
.fit-control input:checked + span { background: var(--soft); color: var(--jade); }
.fit-control input:focus-visible + span { outline: 2px solid var(--jade); }
.size-chip { color: var(--muted); font-size: 11px; margin-left: auto; white-space: nowrap; }
.bracelet-stage { position: relative; min-height: 460px; height: 460px; display: grid; place-items: center; background: var(--surface); overflow: hidden; border-radius: 6px 6px 0 0; transition: background .2s; }
.bracelet-stage[data-surface="white"] { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.bracelet-stage[data-surface="sage"] { background: #e4ede6; }
.stage-topline, .stage-bottomline { position: absolute; z-index: 2; left: 20px; right: 20px; display: flex; justify-content: space-between; gap: 12px; align-items: center; pointer-events: none; font-size: 11px; color: var(--muted); }
.stage-topline { top: 18px; }
#designProgress { background: rgba(255,255,255,.8); padding: 4px 10px; border-radius: 4px; color: var(--jade); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stage-bottomline { bottom: 16px; }
.image-disclosure { font-size: 10px; }
.surface-switch { display: flex; align-items: center; gap: 8px; pointer-events: auto; }
.surface-switch button { width: 17px; height: 17px; border-radius: 50%; border: 1px solid #c2cec4; padding: 0; }
.surface-switch button.active { outline: 1px solid var(--jade); outline-offset: 3px; }
.surface-mist { background: #f4f6f3; }.surface-white { background: #fff; }.surface-sage { background: #e4ede6; }
.bracelet-canvas { position: relative; width: min(77%, 400px); aspect-ratio: 1; transform: scale(var(--zoom, 1)); touch-action: pan-y; }
.bracelet-canvas::before { content: ""; position: absolute; inset: 10%; border: 1px solid #cad4ca; border-radius: 50%; pointer-events: none; }
.bracelet-slot { position: absolute; width: var(--slot-size, 16%); aspect-ratio: 1; padding: 0; transform: translate(-50%, -50%); border-radius: 50%; background: none; display: grid; place-items: center; outline-offset: -4px; }
.bracelet-slot.filled { touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.bracelet-slot.pressing::before { content: ""; position: absolute; inset: 2%; border: 2px solid var(--jade); border-radius: 50%; pointer-events: none; animation: bead-hold .35s linear both; }
@keyframes bead-hold { from { opacity: .1; transform: scale(1.2); } to { opacity: 1; transform: scale(1); } }
.bracelet-canvas.drag-active, .bracelet-canvas.drag-active .bracelet-slot { cursor: grabbing; }
.bracelet-slot.empty::after { content: ""; width: 66%; height: 66%; border: 1px dashed #bac9bc; border-radius: 50%; background: var(--surface); opacity: .8; }
.bracelet-slot.selected::after, .bracelet-slot.drop-target::after { content: ""; position: absolute; inset: 6%; border: 2px solid var(--jade); border-radius: 50%; pointer-events: none; }
.bracelet-slot.drop-target::after { border-style: dashed; background: rgba(43,98,77,.08); }
.bracelet-slot.empty.drop-target::after { inset: 12%; width: auto; height: auto; opacity: 1; }
.bracelet-slot.dragging { opacity: .2; }
.bead-image { display: block; width: 100%; aspect-ratio: 1; background-image: url("./imgs/diy/material-atlas.webp"); background-size: 400% 300%; background-position: var(--sprite-x, 0%) var(--sprite-y, 0%); background-repeat: no-repeat; pointer-events: none; filter: drop-shadow(0 3px 2px rgba(40,49,40,.12)); }
.bead-image.photo { background-image: var(--photo); background-size: contain; background-position: center; }
.bead-image.unknown { background: #d9e1dc; border: 1px solid #c5d1c8; border-radius: 50%; transform: scale(.68); }
.bracelet-slot.inspiration { pointer-events: none; }
.canvas-center { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 5px; pointer-events: none; max-width: 48%; text-align: center; }
.compass-controls { display: flex; align-items: center; justify-content: center; gap: 3px; margin-bottom: 5px; }
.compass-controls > .icon-button { pointer-events: auto; width: 30px; height: 34px; padding: 6px; }
.compass-dial { position: relative; flex-shrink: 0; }
.compass-reset { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; padding: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; pointer-events: auto; color: var(--jade); font-size: 10px; line-height: 1.35; }
.compass-reset:hover, .compass-reset:focus-visible { background: var(--soft); }
.rotation-compass { position: relative; width: 82px; height: 82px; flex-shrink: 0; border: 1px solid #bccdc0; border-radius: 50%; background: rgba(255,255,255,.62); cursor: grab; pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.rotation-compass:hover, .rotation-compass.is-rotating { border-color: var(--jade); background: rgba(255,255,255,.9); }
.rotation-compass.is-rotating { cursor: grabbing; box-shadow: 0 0 0 4px rgba(35,99,77,.06); }
.compass-ticks, .compass-needle { position: absolute; inset: 5px; pointer-events: none; }
.compass-ticks i { position: absolute; inset: 0; transform: rotate(var(--tick-angle)); }
.compass-ticks i::before { content: ""; position: absolute; left: calc(50% - .5px); top: 0; width: 1px; height: 4px; background: #a8bbad; }
.compass-ticks i:nth-child(3n + 1)::before { height: 7px; background: #638570; }
.compass-needle { transform: rotate(var(--angle, 0deg)); }
.compass-needle::before { content: ""; position: absolute; left: calc(50% - 3px); top: -1px; width: 6px; height: 10px; background: var(--jade); border-radius: 3px; }
.compass-angle { font-size: 13px; font-variant-numeric: tabular-nums; pointer-events: none; }
.canvas-center strong { font-size: 15px; font-weight: 500; }
.canvas-center > span:last-child { font-size: 11px; color: var(--muted); }
.canvas-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--surface); border-top: 1px solid #e4e9e2; border-radius: 0 0 6px 6px; }
.tool-group { display: flex; align-items: center; gap: 2px; }
.tool-divider { width: 1px; height: 17px; background: #d4ddd4; margin: 0 6px; }
.zoom-reset { min-width: 42px; padding: 4px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.selection-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; min-height: 61px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
#selectionInfo { display: flex; align-items: center; gap: 8px; min-width: 0; }
#selectionInfo strong { font-weight: 500; }
.status-dot { width: 5px; height: 5px; flex-shrink: 0; background: #90a797; border-radius: 50%; }
.selection-actions { display: flex; gap: 2px; }
.selection-actions .icon-button { width: 30px; height: 30px; padding: 6px; }
.danger:hover { background: #f9ebe8; }
.bill-details { border-bottom: 1px solid var(--line); padding: 13px 0; }
.bill-details summary { cursor: pointer; font-size: 12px; }
.bill-details summary span { float: right; font-size: 11px; color: var(--muted); }
.selected-materials { padding: 10px 0; }
.bill-row { display: flex; align-items: center; gap: 8px; font-size: 12px; min-height: 34px; }
.bill-row .bead-image { width: 32px; flex-shrink: 0; }
.bill-row b { margin-left: auto; font-weight: 500; }
.price-breakdown { margin: 0; font-size: 12px; }
.price-breakdown div { display: flex; justify-content: space-between; padding: 5px 0; }
.price-breakdown dt { color: var(--muted); }.price-breakdown dd { margin: 0; }
.catalog-tabs { display: flex; align-items: center; min-height: 54px; gap: 26px; border-bottom: 1px solid var(--line); }
.catalog-tabs button { padding: 0 2px 17px; margin-top: 3px; border-radius: 0; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; }
.catalog-tabs button[aria-selected="true"] { border-color: var(--jade); color: var(--jade); font-weight: 600; }
.catalog-tabs span { display: inline-block; margin-left: 6px; font-size: 10px; background: var(--soft); padding: 1px 5px; border-radius: 3px; }
.catalog-controls { padding: 17px 0 0; }
.search-field { display: flex; gap: 8px; align-items: center; min-height: 38px; border: 1px solid var(--line); padding: 0 11px; border-radius: 6px; }
.search-field input { border: 0; background: none; min-width: 0; flex: 1; width: 100%; height: 36px; font-size: 12px; outline: 0; }
.search-field:focus-within { outline: 2px solid var(--jade); outline-offset: 2px; }
.search-field .icon { opacity: .45; width: 16px; }
.catalog-filterline { display: flex; justify-content: space-between; gap: 8px; margin: 14px 0; align-items: center; }
.material-filters { display: flex; gap: 5px; }
.material-filters button { padding: 5px 13px; color: var(--muted); font-size: 12px; border: 1px solid transparent; }
.material-filters button.active { color: var(--jade); background: var(--soft); border-color: #cbdcd1; }
#materialSort { font-size: 11px; max-width: 130px; border: 0; background: none; color: var(--muted); padding: 5px 0; }
.color-filters { display: flex; gap: 13px; align-items: center; min-height: 25px; }
.color-filters > span { color: var(--muted); font-size: 11px; margin-right: 3px; }
.color-filters button { width: 17px; height: 17px; padding: 0; border: 1px solid rgba(0,0,0,.08); border-radius: 50%; background: var(--color); }
.color-filters button.active { outline: 1px solid var(--jade); outline-offset: 3px; }
.color-filters .color-all { background: #fff; font-size: 10px; line-height: 16px; }
.catalog-status { display: flex; justify-content: space-between; align-items: center; min-height: 38px; color: var(--muted); font-size: 11px; }
.material-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-height: 466px; overflow-y: auto; padding: 1px 4px 8px 1px; scrollbar-width: thin; scrollbar-color: #cdd9cf transparent; }
.material-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.material-card:hover { border-color: #a1b8a8; box-shadow: 0 2px 8px rgba(25,57,40,.05); }
.material-card.used { border-color: #a7c3b1; }
.material-add { width: 100%; padding: 0; text-align: left; display: block; border-radius: 6px; }
.material-add:disabled { opacity: 1; }
.material-art { aspect-ratio: 1.25; display: grid; place-items: center; background: #f7f8f5; border-radius: 5px 5px 0 0; overflow: hidden; }
.material-art .bead-image { width: 80%; max-width: 120px; transition: transform .2s; }
.material-add:hover:not(:disabled) .bead-image { transform: scale(1.06); }
.material-copy { display: grid; gap: 3px; padding: 10px; }
.material-copy strong { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.material-copy small { color: var(--muted); font-size: 10px; }
.material-price { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; min-height: 22px; }
.material-price b { font-size: 12px; font-weight: 600; }
.material-price .add-mark { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); }
.material-price .icon { width: 13px; height: 13px; }
.material-add:disabled .add-mark { opacity: .3; }
.used-badge { position: absolute; top: 7px; left: 7px; padding: 1px 5px; font-size: 10px; background: #fff; border: 1px solid #dbe7df; color: var(--jade); border-radius: 3px; pointer-events: none; }
.material-info { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.8); }
.material-info .icon { width: 14px; height: 14px; opacity: .5; }
.catalog-empty { grid-column: 1 / -1; padding: 55px 18px; text-align: center; color: var(--muted); font-size: 12px; }
.catalog-empty button { display: block; margin: 14px auto 0; padding: 8px 18px; border: 1px solid var(--line); }
.templates-intro { padding: 18px 0; }
.templates-intro h2 { font-size: 15px; font-weight: 500; }.templates-intro p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.template-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.template-card { text-align: left; min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.template-art { background: #f4f7f3; display: grid; place-items: center; aspect-ratio: 1.3; }
.mini-bracelet { width: 74%; aspect-ratio: 1; position: relative; }
.mini-bracelet .bead-image { position: absolute; width: 27%; transform: translate(-50%, -50%); }
.template-copy { padding: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.template-copy strong { display: block; font-size: 13px; font-weight: 500; }.template-copy small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.template-copy .icon { width: 16px; }
.consult-view { padding: 20px 0 8px; }
.consult-intro h2 { margin: 5px 0 9px; font-size: 20px; font-weight: 500; }
.consult-intro > p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.custom-consult-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.custom-consult-form > label { display: grid; gap: 5px; min-width: 0; font-size: 12px; }
.custom-consult-form input:not([type="checkbox"]),
.custom-consult-form select,
.custom-consult-form textarea { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid #d3ddd5; border-radius: 4px; color: var(--ink); background: #fff; font: inherit; }
.custom-consult-form textarea { min-height: 96px; resize: vertical; }
.custom-consult-form .wide { grid-column: 1 / -1; }
.consult-consent { display: flex !important; align-items: flex-start; gap: 8px; color: var(--muted); line-height: 1.6; }
.consult-consent input { margin-top: 3px; accent-color: var(--jade); }
.consult-consent a { color: var(--jade); text-decoration: underline; }
.consult-message { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.consult-message.success { color: var(--jade); }
.consult-message.error { color: var(--red); }
.studio-notes { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; padding: 28px 0; margin-top: 24px; border-top: 1px solid var(--line); align-items: center; }
.studio-notes > span { font-size: 13px; font-weight: 500; }.studio-notes p { color: var(--muted); font-size: 11px; max-width: 580px; }.studio-notes a { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.privacy-footer { border-top: 1px solid var(--line); padding: 24px 30px; font-size: 11px; color: var(--muted); text-align: center; line-height: 1.9; }
.privacy-footer a:hover { text-decoration: underline; }
.checkout-bar { position: fixed; z-index: 5; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 15px max(36px, calc((100% - 1448px) / 2)); padding-bottom: max(15px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(30,60,40,.03); }
.checkout-price { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }.checkout-price > span { font-size: 12px; }.checkout-price strong { font-size: 26px; color: var(--jade); font-weight: 600; font-variant-numeric: tabular-nums; }.checkout-price small { color: var(--muted); font-size: 10px; }
.design-alert { font-size: 12px; color: var(--muted); }.design-alert.complete { color: var(--jade); }.design-alert.error { color: var(--red); }
.toast { position: fixed; z-index: 30; bottom: 100px; left: 50%; transform: translateX(-50%); max-width: min(90vw, 520px); width: max-content; padding: 12px 20px; color: #fff; background: #263e31; border-radius: 6px; font-size: 12px; box-shadow: 0 4px 25px rgba(20,30,20,.12); pointer-events: none; }
dialog { max-width: min(500px, calc(100% - 32px)); width: 100%; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 30px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
dialog::backdrop { background: rgba(23,38,29,.4); }
dialog h2 { font-size: 23px; font-weight: 500; padding-right: 20px; margin: 4px 0 10px; }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.dialog-description { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 18px; }
.review-summary { background: var(--soft); padding: 12px 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 18px 0; font-size: 12px; }.review-summary strong { color: var(--jade); font-size: 20px; }
.submit-form { display: grid; gap: 14px; }.submit-form > label { display: grid; gap: 5px; font-size: 12px; }
.submit-form input:not([type="checkbox"]), .submit-form select, .submit-form textarea { width: 100%; padding: 10px; border: 1px solid #d3ddd5; background: #fff; }
.submit-form textarea { resize: vertical; min-height: 75px; }
.submit-form .consent { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 11px; }.consent input { margin-top: 3px; accent-color: var(--jade); }.consent a { color: var(--jade); text-decoration: underline; }
.form-message { font-size: 12px; color: var(--red); }
.design-number { display: block; background: var(--soft); padding: 13px; font-size: 12px; overflow-wrap: anywhere; margin: 20px 0; }
.dialog-actions { display: grid; gap: 8px; }
.community-dialog { max-width: min(560px, calc(100% - 32px)); }
.community-submit-preview { position: relative; width: min(260px, 72vw); aspect-ratio: 1; margin: 4px auto 24px; border-radius: 50%; background: var(--mist); }
.community-submit-preview::after { content: ""; position: absolute; inset: 25%; border: 1px solid rgba(47,125,98,.15); border-radius: 50%; }
.community-submit-preview .bead-image { position: absolute; z-index: 1; width: var(--community-bead-size, 42px); transform: translate(-50%, -50%); }
.detail-art { width: 190px; margin: 0 auto 12px; background: #f4f6f3; border-radius: 6px; }
.detail-meta { margin: 16px 0; font-size: 12px; line-height: 2; }.detail-meta div { display: flex; justify-content: space-between; }.detail-meta dt { color: var(--muted); }.detail-meta dd { margin: 0; }
#materialDetail > .primary-action { width: 100%; }
.size-guide { padding-left: 20px; font-size: 13px; line-height: 1.9; }.size-guide li { margin-bottom: 12px; }
.drag-ghost { position: fixed; z-index: 50; pointer-events: none; transform: translate(-50%, -50%) scale(1.16); filter: drop-shadow(0 6px 5px rgba(26,58,39,.2)); }
@media (min-width: 1600px) { .bracelet-stage { height: 510px; }.bracelet-canvas { width: 430px; }.material-list { max-height: 516px; } }
@media (max-width: 1150px) {
  .site-header { padding-inline: 24px; }.brand-caption, .brand-divider { display: none; }.site-header nav { gap: 22px; }
  .studio-shell { padding: 24px 24px 0; }.studio-grid { grid-template-columns: minmax(0, 1fr) minmax(350px, 1fr); gap: 24px; }
  .setup-bar { gap: 7px; }.size-chip { display: none; }.fit-control span { padding-inline: 7px; }
  .canvas-toolbar { padding-inline: 4px; }.canvas-toolbar .icon-button { width: 30px; padding: 6px; }.tool-divider { margin-inline: 2px; }.zoom-reset { min-width: 36px; }
  .bracelet-stage { height: 420px; min-height: 420px; }.checkout-price small { display: none; }.checkout-bar { padding-inline: 24px; gap: 20px; }
  .studio-notes { grid-template-columns: 1fr auto; }.studio-notes > span { grid-column: 1 / -1; }.studio-notes { row-gap: 8px; }
}
@media (max-width: 900px) {
  .site-header nav a:not([aria-current]) { display: none; }.studio-grid { grid-template-columns: 1fr; gap: 28px; }.studio-shell { max-width: 760px; }
  .preview-panel { width: 100%; }.bracelet-stage { height: 440px; min-height: 0; }.bracelet-canvas { width: 370px; max-width: 80%; }.canvas-toolbar { padding-inline: 12px; }
  .size-chip { display: inline; }.fit-control span { padding-inline: 12px; }.material-list { max-height: none; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: visible; padding-right: 0; }
  .material-art .bead-image { max-width: 110px; }.material-panel { border-top: 1px solid var(--line); }.catalog-tabs { gap: 30px; padding-top: 15px; }.catalog-tabs button { margin: 0; }
  .checkout-bar { gap: 15px; }.checkout-price { gap: 8px; }.checkout-price strong { font-size: 24px; }.design-alert { font-size: 11px; }
}
@media (max-width: 560px) {
  body { padding-bottom: 115px; }.site-header { min-height: 62px; padding: 10px 16px; gap: 8px; }.site-header nav { display: none; }.brand strong { font-size: 19px; }.brand-mark { width: 30px; height: 30px; font-size: 20px; }
  .site-header .quiet-button { font-size: 12px; padding-right: 0; }.studio-shell { padding: 20px 16px 0; }.studio-heading { align-items: center; margin-bottom: 16px; gap: 8px; }
  h1 { font-size: 24px; }h1 span { display: none; }.eyebrow { font-size: 9px; }.heading-actions { gap: 0; }.heading-actions .icon-button { width: 32px; height: 32px; padding: 7px; }.heading-actions > .quiet-button { font-size: 0; margin-left: 0; padding: 7px; min-height: 32px; border: 0; }.heading-actions > .quiet-button .icon { width: 17px; }
  .setup-bar { gap: 7px; padding-bottom: 10px; min-height: 46px; }.fit-control span { padding: 4px 8px; font-size: 11px; }.size-control select { font-size: 12px; padding: 6px 2px; }.size-control { gap: 5px; }.size-chip { display: none; }.setup-bar .icon-button { margin-left: auto; width: 28px; }
  .bracelet-stage { height: 340px; }.bracelet-canvas { width: 285px; max-width: 83%; }.stage-topline { top: 12px; }.stage-topline, .stage-bottomline { left: 12px; right: 12px; font-size: 10px; }.stage-bottomline { bottom: 13px; }.image-disclosure { font-size: 9px; }
  .canvas-center strong { font-size: 13px; }.canvas-center > span:last-child { font-size: 10px; max-width: 125px; }.rotation-compass { width: 66px; height: 66px; }.compass-reset { width: 36px; height: 36px; font-size: 9px; }.compass-angle { font-size: 11px; }.compass-controls { gap: 2px; margin-bottom: 2px; }.compass-controls > .icon-button { width: 27px; padding: 5px; }
  .canvas-toolbar { padding: 7px 5px; gap: 2px; }.canvas-toolbar .icon-button { width: 27px; height: 32px; padding: 6px; }.canvas-toolbar .icon { width: 15px; height: 15px; }.tool-group { gap: 0; }.zoom-reset { min-width: 34px; font-size: 10px; }.tool-divider { margin-inline: 1px; }
  .selection-bar { min-height: 53px; padding: 9px 0; font-size: 11px; }.selection-actions .icon-button { width: 27px; height: 28px; }.selection-actions .icon { width: 15px; height: 15px; }#selectionInfo { max-width: 100%; }.bill-details { padding: 12px 0; }
  .studio-grid { gap: 20px; }.material-list { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }.material-art { aspect-ratio: 1.08; }.material-art .bead-image { width: 95%; }.material-copy { padding: 8px; gap: 3px; }.material-copy strong { font-size: 11px; }.material-copy small { font-size: 9px; }.material-price b { font-size: 11px; }.material-info { width: 23px; height: 23px; padding: 5px; }.used-badge { font-size: 9px; left: 5px; top: 5px; }
  .catalog-tabs button { font-size: 14px; }.catalog-controls { padding-top: 13px; }.template-list { gap: 10px; }.template-copy { padding: 10px; }.template-copy strong { font-size: 12px; }
  .catalog-tabs { gap: 18px; overflow-x: auto; }.catalog-tabs button { flex: 0 0 auto; }.custom-consult-form { grid-template-columns: 1fr; }.custom-consult-form .wide { grid-column: auto; }
  .checkout-bar { padding: 10px 16px max(10px, env(safe-area-inset-bottom)); grid-template-columns: minmax(0,1fr) auto; column-gap: 10px; row-gap: 4px; }.checkout-price { gap: 7px; }.checkout-price > span { font-size: 10px; }.checkout-price strong { font-size: 24px; }.checkout-bar .primary-action { padding: 10px 14px; min-height: 42px; gap: 8px; font-size: 12px; grid-column: 2; grid-row: 1 / 3; }.checkout-bar .primary-action .icon { width: 15px; }.design-alert { grid-column: 1; grid-row: 2; font-size: 10px; line-height: 1.5; max-width: 100%; overflow-wrap: anywhere; }
  .studio-notes { margin-top: 22px; padding: 20px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }.studio-notes p { font-size: 10px; }.privacy-footer { padding: 20px 16px; font-size: 10px; }.toast { bottom: 115px; }
  dialog { padding: 24px 20px; }dialog h2 { font-size: 21px; }.dialog-description { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }*, *::before, *::after { transition: none !important; animation: none !important; } }
