﻿:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #667085;
  --line: #d9e1e8;
  --panel: #ffffff;
  --band: #f5f7f8;
  --accent: #0f8b8d;
  --accent-dark: #0a6e70;
  --gold: #c99231;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(31, 41, 51, 0.12);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--band);
  overflow: hidden;
}

.runtime-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  top: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #f5c26b;
  border-radius: 8px;
  background: #fff9e8;
  color: #7a4b00;
  box-shadow: 0 12px 34px rgba(31, 41, 51, 0.16);
  font-size: 13px;
}

.runtime-notice a {
  color: var(--accent-dark);
  font-weight: 700;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

button:hover {
  border-color: var(--accent);
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  height: 100vh;
  overflow: hidden;
}

.workspace {
  height: 100vh;
  overflow: hidden;
  padding: 28px;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.logo-shine {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
}

.brand-lockup img {
  width: clamp(150px, 22vw, 280px);
  height: auto;
  display: block;
  object-fit: contain;
  animation: logoInkGlow 5.6s ease-in-out infinite;
}

@keyframes logoInkGlow {
  0%,
  100% {
    filter: brightness(1) contrast(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  44% {
    filter: brightness(1.02) contrast(1.04) drop-shadow(0 0 1px rgba(255, 255, 255, 0.2));
  }
  52% {
    filter: brightness(1.16) contrast(1.1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.45));
  }
  62% {
    filter: brightness(1.04) contrast(1.05) drop-shadow(0 0 2px rgba(142, 221, 255, 0.22));
  }
}

.brand-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 16px;
}

.status-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-strip .orders-link,
.status-strip .admin-link {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  line-height: 1.2;
}

.status-strip .orders-link {
  color: var(--accent-dark);
  border-color: #b8dddd;
  font-weight: 700;
}

.status-strip .share-link {
  color: #9a6a13;
  border-color: #ead39d;
  background: #fffaf0;
}

.status-strip .admin-link:hover,
.status-strip .orders-link:hover {
  border-color: var(--accent);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 7px 12px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.user-meta {
  display: grid;
  gap: 1px;
  text-align: left;
  line-height: 1.2;
}

.user-meta strong {
  color: var(--ink);
  font-size: 13px;
}

.user-meta small {
  color: var(--muted);
  font-size: 11px;
}

.quality-status {
  display: grid;
  gap: 8px;
  margin: -4px 0 16px;
}

.quality-status span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 13px;
}

.quality-status .warn {
  color: var(--danger);
  border-color: #f4b7ae;
  background: #fff8f7;
}

.preview-band {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.product-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 120px);
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 32%, rgba(255, 239, 207, 0.72), transparent 22%),
    linear-gradient(180deg, #f7f1e8 0 58%, #b4865d 58% 61%, #8d623e 61% 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-preview::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(94, 61, 35, 0.1), transparent 18% 82%, rgba(54, 35, 21, 0.12)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 86px);
  mix-blend-mode: multiply;
}

.frame-stage {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: calc(100vh - 190px);
  perspective: 1700px;
  perspective-origin: 54% 44%;
  cursor: grab;
}

.frame-stage::before {
  content: "";
  position: absolute;
  width: min(520px, 58vw);
  height: 92px;
  bottom: 11%;
  left: 50%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(38, 25, 15, 0.34), rgba(38, 25, 15, 0.12) 48%, transparent 72%);
  filter: blur(10px);
  transform: translateX(-46%) rotate(-3deg);
  pointer-events: none;
}

.frame-stage:active {
  cursor: grabbing;
}

.frame-model {
  --frame-w: 420px;
  --frame-h: 535px;
  --slot-left: 8.3%;
  --slot-top: 6.6%;
  --slot-width: 83.3%;
  --slot-height: 87.1%;
  --frame-depth: 78px;
  --wood-dark: #4f321f;
  --wood-mid: #8a5d3c;
  --wood-light: #b48a63;
  position: relative;
  width: var(--frame-w);
  height: var(--frame-h);
  transform-style: preserve-3d;
  transform-origin: center center;
  transform: scale(var(--model-scale, 1)) rotateX(var(--rotate-x, -8deg)) rotateY(var(--rotate-y, -42deg));
  transition: transform 140ms ease;
}

.frame-model::before,
.frame-model::after {
  content: "";
  display: none;
  position: absolute;
  pointer-events: none;
  transform-style: preserve-3d;
}

.frame-model::before {
  left: calc(100% - 5px);
  top: 7px;
  z-index: 0;
  width: clamp(48px, calc(var(--frame-depth) * 0.72), 92px);
  height: calc(100% - 16px);
  border-radius: 0 12px 14px 0;
  clip-path: polygon(0 0, 100% 7%, 100% 93%, 0 100%);
  background:
    linear-gradient(90deg, rgba(255, 232, 184, 0.32), rgba(154, 94, 53, 0.95) 35%, rgba(86, 48, 26, 0.98) 100%),
    linear-gradient(180deg, #6c4328 0%, #a16b42 46%, #56331f 100%);
  box-shadow:
    inset 7px 0 12px rgba(255, 232, 188, 0.18),
    inset -14px 0 22px rgba(43, 23, 11, 0.36),
    12px 18px 34px rgba(37, 26, 18, 0.15);
  transform: translateZ(calc(var(--frame-depth) * -0.12));
}

.frame-model::after {
  left: 11px;
  top: calc(100% - 7px);
  z-index: 0;
  width: calc(100% - 18px);
  height: clamp(28px, calc(var(--frame-depth) * 0.42), 56px);
  border-radius: 0 0 12px 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 26px 100%);
  background:
    linear-gradient(180deg, rgba(255, 231, 184, 0.18), rgba(121, 72, 38, 0.94) 58%, rgba(49, 27, 15, 0.98)),
    linear-gradient(90deg, #4b2d1b 0%, #8f5c37 50%, #58341e 100%);
  box-shadow:
    inset 0 6px 12px rgba(255, 224, 176, 0.13),
    inset 0 -13px 20px rgba(40, 20, 10, 0.33),
    8px 16px 28px rgba(37, 26, 18, 0.14);
  transform: translateZ(calc(var(--frame-depth) * -0.12));
}

.frame-front,
.frame-back,
.frame-side {
  position: absolute;
  transform-style: preserve-3d;
}

.frame-back {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18% 82%, rgba(0, 0, 0, 0.22)),
    radial-gradient(circle at 50% 52%, rgba(255, 238, 190, 0.3), transparent 24%),
    linear-gradient(135deg, #55321d 0%, #93633d 52%, #3f2415 100%);
  border: 1px solid rgba(65, 38, 20, 0.5);
  border-radius: 8px;
  box-shadow:
    24px 26px 50px rgba(31, 41, 51, 0.16),
    inset 0 0 0 8px rgba(59, 36, 22, 0.18);
  transform: rotateY(180deg) translateZ(calc(var(--frame-depth) / 2));
}

.frame-front {
  inset: 0;
  background: transparent;
  border: 0;
  box-shadow:
    0 30px 70px rgba(31, 41, 51, 0.24);
  overflow: visible;
  transform: translateZ(calc(var(--frame-depth) / 2));
  z-index: 2;
}

.led-board {
  position: absolute;
  inset: 5%;
  z-index: 1;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 224, 164, 0.55), transparent 42%),
    linear-gradient(135deg, rgba(245, 236, 213, 0.96), rgba(174, 126, 76, 0.85));
  box-shadow:
    inset 0 0 0 10px rgba(76, 45, 24, 0.22),
    inset 0 0 28px rgba(255, 224, 164, 0.22);
  transform: translateZ(calc(var(--frame-depth) * -0.12));
}

.frame-photo {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 3px;
  pointer-events: none;
  filter: drop-shadow(0 22px 34px rgba(31, 41, 51, 0.22));
}

.frame-label {
  display: none;
}

.print-slot {
  position: absolute;
  left: var(--slot-left);
  top: var(--slot-top);
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--slot-width);
  height: var(--slot-height);
  background: rgba(255, 255, 255, 0.86);
  border: 0;
  box-shadow:
    inset 0 0 18px rgba(31, 41, 51, 0.08);
  transform: translateZ(4px);
}

.uv-print-layer,
.acrylic-glass {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  pointer-events: none;
}

.uv-print-layer {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 12% 88%, rgba(20, 15, 10, 0.14)),
    radial-gradient(circle at 50% 45%, transparent 55%, rgba(255, 255, 255, 0.12));
  mix-blend-mode: soft-light;
}

.acrylic-glass {
  z-index: 4;
  background:
    linear-gradient(116deg, rgba(255, 255, 255, 0.36) 0 9%, transparent 18% 64%, rgba(255, 255, 255, 0.2) 74%, transparent 88%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(187, 233, 230, 0.08));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    inset 0 0 20px rgba(126, 207, 204, 0.14);
}

.frame-side {
  z-index: 1;
  display: block;
  background:
    linear-gradient(90deg, rgba(255, 230, 184, 0.2), rgba(151, 95, 55, 0.92) 42%, rgba(70, 39, 21, 0.98)),
    repeating-linear-gradient(180deg, rgba(255, 235, 196, 0.08) 0 5px, rgba(60, 34, 18, 0.08) 5px 10px),
    linear-gradient(180deg, #6c4429 0%, #a06b42 48%, #56331e 100%);
  border: 1px solid rgba(72, 44, 25, 0.5);
  box-shadow:
    inset 10px 0 18px rgba(45, 24, 12, 0.24),
    inset -7px 0 13px rgba(255, 224, 176, 0.14),
    0 18px 32px rgba(39, 27, 18, 0.13);
}

.frame-side-right {
  left: calc(50% - var(--frame-depth) / 2);
  top: 2px;
  width: var(--frame-depth);
  height: calc(var(--frame-h) - 4px);
  transform: rotateY(90deg) translateZ(calc(var(--frame-w) / 2));
  border-radius: 0 8px 8px 0;
  opacity: 1;
}

.frame-side-left {
  left: calc(50% - var(--frame-depth) / 2);
  top: 2px;
  width: var(--frame-depth);
  height: calc(var(--frame-h) - 4px);
  transform: rotateY(-90deg) translateZ(calc(var(--frame-w) / 2));
  border-radius: 8px 0 0 8px;
  background:
    linear-gradient(90deg, rgba(58, 31, 16, 0.98), rgba(119, 72, 39, 0.92) 58%, rgba(255, 225, 179, 0.12)),
    linear-gradient(180deg, #50301d 0%, #875632 48%, #3f2415 100%);
}

.frame-side-top {
  left: 2px;
  top: calc(50% - var(--frame-depth) / 2);
  width: calc(var(--frame-w) - 4px);
  height: var(--frame-depth);
  transform: rotateX(90deg) translateZ(calc(var(--frame-h) / 2));
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(0deg, rgba(56, 30, 15, 0.2), transparent 28% 72%, rgba(255, 226, 180, 0.18)),
    linear-gradient(90deg, #6b452b 0%, #a1714b 48%, #815434 100%);
}

.frame-side-bottom {
  left: 2px;
  top: calc(50% - var(--frame-depth) / 2);
  width: calc(var(--frame-w) - 4px);
  height: var(--frame-depth);
  transform: rotateX(-90deg) translateZ(calc(var(--frame-h) / 2));
  border-radius: 0 0 8px 8px;
  background:
    linear-gradient(0deg, rgba(255, 224, 176, 0.08), transparent 26% 72%, rgba(45, 24, 12, 0.28)),
    linear-gradient(90deg, #4e2e1b 0%, #7b4d2e 45%, #9a6a43 74%, #5d3821 100%);
}

.product-preview.is-lit {
  background:
    radial-gradient(circle at 54% 44%, rgba(255, 224, 156, 0.34), transparent 28%),
    radial-gradient(circle at 76% 32%, rgba(255, 239, 207, 0.82), transparent 24%),
    linear-gradient(180deg, #f3eadc 0 58%, #a8794f 58% 61%, #805737 61% 100%);
}

.product-preview.is-lit .print-slot {
  background: rgba(255, 247, 220, 0.95);
  box-shadow:
    inset 0 0 18px rgba(255, 226, 148, 0.42),
    0 0 34px rgba(255, 210, 120, 0.36),
    0 0 72px rgba(255, 200, 105, 0.22);
}

.product-preview.is-lit #previewCanvas {
  filter: brightness(1.12) saturate(1.08) contrast(1.04);
}

.product-preview.is-lit .acrylic-glass {
  background:
    radial-gradient(circle at 52% 48%, rgba(255, 227, 150, 0.22), transparent 58%),
    linear-gradient(116deg, rgba(255, 255, 255, 0.42) 0 9%, transparent 18% 64%, rgba(255, 248, 220, 0.26) 74%, transparent 88%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    inset 0 0 24px rgba(255, 226, 152, 0.3),
    0 0 36px rgba(255, 214, 128, 0.28);
}

.product-preview.is-lit .led-board {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 225, 155, 0.86), transparent 48%),
    linear-gradient(135deg, rgba(255, 243, 208, 0.98), rgba(188, 131, 70, 0.9));
  box-shadow:
    inset 0 0 0 10px rgba(76, 45, 24, 0.2),
    inset 0 0 44px rgba(255, 224, 164, 0.5),
    0 0 56px rgba(255, 204, 105, 0.24);
}

.product-preview.space-mode {
  background:
    radial-gradient(circle at 18% 32%, rgba(116, 105, 88, 0.18), transparent 18%),
    radial-gradient(circle at 80% 28%, rgba(255, 226, 168, 0.55), transparent 20%),
    linear-gradient(180deg, #eee4d5 0 57%, #a97a53 57% 61%, #745033 61% 100%);
}

.product-preview.space-mode::before {
  content: "AI绌洪棿棰勮";
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(106, 75, 56, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #6a4b38;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.preview-controls .active,
.preview-controls .studio-button {
  border-color: rgba(106, 75, 56, 0.24);
}

.clear-preview {
  opacity: 0.62;
}

#previewCanvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 3px;
  box-shadow: none;
  cursor: move;
  touch-action: none;
}

.preview-controls {
  position: absolute;
  right: 18px;
  top: 18px;
  display: flex;
  gap: 8px;
}

.icon-button {
  min-width: 56px;
  min-height: 40px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
}

.output-panel,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.output-panel {
  padding: 18px;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.08);
}

dl {
  margin: 16px 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #edf1f4;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.export-grid {
  display: none;
  gap: 10px;
}

.frame-controls {
  margin-bottom: 16px;
}

.export-grid button,
.primary {
  min-height: 44px;
  border-radius: 6px;
}

.primary {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}

.primary:hover {
  background: var(--accent-dark);
}

.secondary-action {
  min-height: 42px;
  border-radius: 6px;
  background: #edf8ff;
  border-color: #9ed8ff;
  color: #1266a8;
  font-weight: 700;
}

.secondary-action:hover {
  background: #e0f2ff;
  border-color: #4cb6ff;
}

.editor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100vh;
  padding: 18px;
  border-left: 1px solid var(--line);
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.panel {
  padding: 16px;
}

.panel h2 {
  margin-bottom: 12px;
}

.light-hint {
  display: block;
  margin-top: 6px;
  color: #c27a12;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.copy-library {
  display: grid;
  gap: 10px;
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px solid #e5edf2;
  border-radius: 8px;
  background: #fbfcfd;
}

.copy-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.copy-library-head strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.copy-library-head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.copy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.copy-actions button {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

#aiCopyButton {
  background: #fff8e8;
  border-color: #e5bf69;
  color: #996913;
}

.copy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.copy-tabs button {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.copy-tabs .active {
  border-color: var(--accent);
  background: #e7f6f6;
  color: var(--accent-dark);
  font-weight: 700;
}

.copy-list,
.ai-copy-list {
  display: grid;
  gap: 7px;
  max-height: 188px;
  overflow: auto;
  padding-right: 2px;
}

.ai-copy-list {
  padding: 8px;
  border: 1px solid #f1d79d;
  border-radius: 8px;
  background: #fffaf0;
}

.copy-list button,
.ai-copy-list button {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.ai-copy-list button {
  border-color: #f0d08c;
}

.copy-list button:hover,
.ai-copy-list button:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.back-sticker-controls {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #e8eef3;
  border-radius: 8px;
  background: #fbfcfd;
}

.sticker-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.sticker-head h3 {
  margin: 0;
  font-size: 14px;
}

.sticker-head span {
  color: var(--muted);
  font-size: 12px;
}

.sticker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sticker-grid button {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 54px;
  border-radius: 6px;
}

.sticker-grid img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sticker-grid strong {
  font-size: 20px;
  line-height: 1;
}

.sticker-grid span {
  font-size: 12px;
  color: var(--muted);
}

.sticker-grid .active {
  border-color: var(--accent);
  background: #e7f6f6;
  color: var(--accent-dark);
}

.sticker-sliders {
  margin-top: 2px;
}

.user-sticker-upload {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px dashed #b8c7d3;
  border-radius: 6px;
  background: #fff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.user-sticker-upload input {
  display: none;
}

.sticker-instance-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.sticker-instance-bar button {
  min-height: 34px;
  padding: 0 10px;
  color: #b42318;
}

.sticker-instance-bar button:disabled {
  color: var(--muted);
  opacity: 0.55;
  cursor: not-allowed;
}

.empty-gallery {
  margin: 0;
  padding: 14px;
  border: 1px dashed #cbd5df;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segmented button,
.swatches button {
  min-height: 40px;
  border-radius: 6px;
}

.segmented .active,
.swatches .active {
  background: #e7f6f6;
  border-color: var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
}

.file-drop {
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 1px dashed #99abb7;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
}

.file-drop input {
  display: none;
}

.control-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 76px;
  resize: vertical;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}

.toggle-row input {
  width: auto;
}

.builtin-gallery {
  display: grid;
  gap: 10px;
}

.builtin-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 8px;
  border-radius: 8px;
  text-align: left;
}

.builtin-card.active {
  border-color: var(--accent);
  background: #e7f6f6;
  color: var(--accent-dark);
  font-weight: 700;
}

.builtin-card img {
  width: 86px;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 6px;
}

.color-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 12px 0;
}

input[type="color"] {
  min-height: 42px;
  padding: 4px;
}

.color-presets {
  display: flex;
  gap: 7px;
  padding-bottom: 1px;
}

.color-presets button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.color-presets .active {
  box-shadow: 0 0 0 2px var(--accent);
}

.swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.swatches button {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.swatches span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.sketch-controls {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #edf1f4;
}

.sketch-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.sketch-controls strong {
  color: var(--accent-dark);
  font-size: 13px;
}

[data-style="natural"] span {
  background: #80a6a8;
}

[data-style="warm"] span {
  background: var(--gold);
}

[data-style="mono"] span {
  background: #222;
}

[data-style="night"] span {
  background: #536d89;
}

.order-panel {
  display: grid;
  gap: 12px;
}

#orderResult {
  min-height: 22px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 246, 232, 0.72), transparent 34%),
    rgba(38, 31, 25, 0.5);
  backdrop-filter: blur(14px);
}

.auth-card {
  width: min(420px, 100%);
  display: grid;
  gap: 14px;
  padding: 28px;
  color: #2d241f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 244, 236, 0.96)),
    #f7f4ef;
  border: 1px solid rgba(73, 56, 45, 0.1);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(62, 43, 31, 0.22);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-brand img {
  width: 156px;
  max-width: 58%;
}

.auth-brand span {
  color: #8a817a;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.auth-card h2 {
  margin: 8px 0 0;
  color: #2d241f;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: 0;
}

.auth-card p {
  margin: 0;
  color: #8a817a;
  line-height: 1.7;
}

.wechat-login,
.auth-primary {
  min-height: 48px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
}

.wechat-login {
  margin-top: 8px;
  border-color: rgba(7, 193, 96, 0.22);
  background: #07c160;
  color: #fff;
  box-shadow: 0 12px 26px rgba(7, 193, 96, 0.2);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9a9088;
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(73, 56, 45, 0.1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.phone-login-label,
.code-row label {
  display: grid;
  gap: 7px;
  color: #6f6259;
  font-size: 13px;
  font-weight: 700;
}

.phone-login-label input,
.code-row input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(73, 56, 45, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
  color: #2d241f;
  font-size: 15px;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 10px;
  align-items: end;
}

#sendCodeButton {
  min-height: 46px;
  border-radius: 13px;
  background: #fff;
  color: #6a4b38;
  font-weight: 700;
}

.auth-primary {
  border: none;
  background: #2e2119;
  color: #fff;
  box-shadow: 0 14px 28px rgba(46, 33, 25, 0.18);
}

.member-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.member-benefits li {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(73, 56, 45, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: #5d5149;
  font-size: 13px;
}

.member-benefits li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #9a6b45;
  box-shadow: 0 0 0 4px rgba(154, 107, 69, 0.1);
}

.skip-login {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #8a6b52;
  font-weight: 700;
}

.logout-action {
  min-height: 38px;
  border-radius: 12px;
  background: rgba(255, 247, 245, 0.78);
  border-color: rgba(242, 184, 173, 0.76);
  color: #b84332;
  font-weight: 700;
}

#authResult {
  min-height: 20px;
  margin: 0;
  font-weight: 700;
  color: #0f8b8d;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .auth-card {
    padding: 22px;
  }

  .auth-card h2 {
    font-size: 23px;
  }

  .code-row {
    grid-template-columns: 1fr;
  }

  .member-benefits {
    grid-template-columns: 1fr;
  }
}

/* Final 3D product preview overrides */
.product-preview {
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 232, 178, 0.56), transparent 22%),
    linear-gradient(180deg, #f4eadc 0 57%, #c49a73 57% 60%, #8b613d 60% 100%) !important;
}

.product-preview::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 24% 76%, rgba(88, 58, 35, 0.08)),
    radial-gradient(ellipse at 48% 86%, rgba(43, 28, 16, 0.24), transparent 38%) !important;
  mix-blend-mode: multiply !important;
}

.product-preview.space-mode::before {
  content: "AI绌洪棿棰勮";
  inset: auto auto 28px 28px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border: 1px solid rgba(106, 75, 56, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #6a4b38;
  font-weight: 700;
  mix-blend-mode: normal !important;
  backdrop-filter: blur(12px);
}

.frame-stage {
  perspective: 1700px !important;
  perspective-origin: 54% 44%;
}

.frame-model {
  transform: scale(var(--model-scale, 1)) rotateX(var(--rotate-x, -8deg)) rotateY(var(--rotate-y, -42deg)) !important;
}

.frame-model::before,
.frame-model::after {
  display: none !important;
}

.led-board,
.uv-print-layer,
.acrylic-glass {
  display: block;
}

.preview-controls {
  gap: 10px;
}

.preview-controls .icon-button {
  min-width: 86px;
}

.preview-controls .icon-button.active {
  border-color: rgba(106, 75, 56, 0.35);
  background: #fff7ed;
  color: #6a4b38;
  box-shadow: 0 10px 24px rgba(106, 75, 56, 0.12);
}

.preview-controls .clear-preview {
  display: none;
}

/* Absolute final preview fix - must remain at the end of this file */
.product-preview {
  overflow: visible !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 248, 235, 0.9), transparent 34%),
    radial-gradient(circle at 76% 30%, rgba(231, 239, 244, 0.45), transparent 28%),
    linear-gradient(135deg, #fbfaf7 0%, #f4f0e9 52%, #eef2f3 100%) !important;
}

.product-preview::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 7% !important;
  z-index: 0 !important;
  width: min(620px, 62vw) !important;
  height: 118px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse, rgba(39, 29, 21, 0.24), rgba(39, 29, 21, 0.08) 52%, transparent 75%) !important;
  filter: blur(16px) !important;
  mix-blend-mode: multiply !important;
  transform: translateX(-45%) rotate(-4deg) !important;
  pointer-events: none !important;
  backdrop-filter: none !important;
}

.product-preview::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  border-radius: inherit !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent 30% 70%, rgba(92, 68, 48, 0.04)),
    radial-gradient(circle at 66% 34%, rgba(255, 224, 174, 0.18), transparent 28%) !important;
  pointer-events: none !important;
}

.preview-controls {
  z-index: 80 !important;
  pointer-events: auto !important;
}

.preview-controls .icon-button {
  pointer-events: auto !important;
}

.frame-stage {
  z-index: 2 !important;
  min-height: calc(100vh - 210px) !important;
  perspective: 1180px !important;
  perspective-origin: 52% 42% !important;
}

.frame-model {
  transform-style: preserve-3d !important;
  transform: scale(var(--model-scale, 1)) rotateX(var(--rotate-x, -10deg)) rotateY(var(--rotate-y, -34deg)) !important;
  transform-origin: center center !important;
  filter: drop-shadow(30px 36px 42px rgba(37, 28, 20, 0.17));
}

.frame-model::before,
.frame-model::after {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  pointer-events: none !important;
  transform-style: preserve-3d !important;
}

.frame-model::before {
  left: calc(100% - 1px) !important;
  top: 2.5% !important;
  z-index: 0 !important;
  width: calc(var(--frame-depth) * 0.92) !important;
  height: 95% !important;
  border-radius: 0 18px 18px 0 !important;
  clip-path: polygon(0 0, 100% 7%, 100% 93%, 0 100%) !important;
  background:
    linear-gradient(90deg, rgba(255, 231, 188, 0.28), rgba(151, 94, 53, 0.96) 42%, rgba(76, 43, 24, 0.98)),
    linear-gradient(180deg, #74482a 0%, #a56f44 48%, #57331e 100%) !important;
  box-shadow:
    inset 12px 0 18px rgba(255, 226, 184, 0.14),
    inset -18px 0 28px rgba(43, 24, 13, 0.28),
    18px 22px 34px rgba(40, 29, 21, 0.15) !important;
  transform: translateZ(calc(var(--frame-depth) * -0.05)) skewY(4deg) !important;
}

.frame-model::after {
  left: 5% !important;
  top: calc(100% - 1px) !important;
  z-index: 0 !important;
  width: 90% !important;
  height: calc(var(--frame-depth) * 0.58) !important;
  border-radius: 0 0 18px 18px !important;
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 22px 100%) !important;
  background:
    linear-gradient(180deg, rgba(255, 224, 178, 0.16), rgba(118, 68, 36, 0.96) 58%, rgba(48, 27, 15, 0.98)),
    linear-gradient(90deg, #4e2e1b 0%, #8b5734 52%, #59351f 100%) !important;
  box-shadow:
    inset 0 8px 14px rgba(255, 226, 184, 0.12),
    inset 0 -16px 22px rgba(42, 22, 12, 0.3),
    10px 18px 26px rgba(40, 29, 21, 0.12) !important;
  transform: translateZ(calc(var(--frame-depth) * -0.05)) skewX(-5deg) !important;
}

.frame-front {
  transform: translateZ(calc(var(--frame-depth) / 2 + 3px)) !important;
  z-index: 3 !important;
}

.frame-back {
  transform: translateZ(calc(var(--frame-depth) / -2)) rotateY(180deg) !important;
  z-index: 0 !important;
  border-radius: 14px !important;
  background:
    linear-gradient(90deg, rgba(255, 230, 190, 0.12), transparent 22% 78%, rgba(34, 20, 12, 0.28)),
    linear-gradient(135deg, #6f4528 0%, #a06a40 46%, #59341f 100%) !important;
}

.frame-side {
  display: block !important;
  z-index: 1 !important;
  box-shadow:
    inset 18px 0 24px rgba(55, 32, 18, 0.28),
    inset -10px 0 18px rgba(255, 226, 184, 0.16) !important;
}

.frame-side-right {
  transform: rotateY(90deg) translateZ(calc(var(--frame-w) / 2)) !important;
  border-radius: 0 16px 16px 0 !important;
  background:
    linear-gradient(90deg, rgba(255, 226, 182, 0.22), rgba(151, 94, 53, 0.98) 40%, rgba(81, 45, 25, 0.98)),
    linear-gradient(180deg, #704629 0%, #a46e43 46%, #5a351f 100%) !important;
}

.frame-side-top {
  transform: rotateX(90deg) translateZ(calc(var(--frame-h) / 2)) !important;
}

.frame-side-bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--frame-h) / 2)) !important;
}

.print-slot {
  transform: translateZ(calc(var(--frame-depth) / 2 + 8px)) !important;
}

.frame-photo {
  transform: translateZ(calc(var(--frame-depth) / 2 + 12px)) !important;
}

.product-preview.is-lit {
  background:
    radial-gradient(circle at 53% 44%, rgba(255, 225, 160, 0.34), transparent 30%),
    radial-gradient(circle at 76% 28%, rgba(255, 246, 221, 0.58), transparent 24%),
    linear-gradient(135deg, #fbfaf7 0%, #f5efe5 50%, #eef2f3 100%) !important;
}

/* Final real cuboid frame fix - do not place 3D overrides after this block */
.product-preview {
  overflow: visible !important;
  background:
    radial-gradient(circle at 48% 40%, rgba(255, 249, 238, 0.92), transparent 34%),
    radial-gradient(circle at 72% 32%, rgba(226, 235, 240, 0.42), transparent 28%),
    linear-gradient(135deg, #fbfaf7 0%, #f5f1eb 54%, #eff3f4 100%) !important;
}

.product-preview::after {
  pointer-events: none !important;
}

.preview-controls {
  z-index: 120 !important;
  pointer-events: auto !important;
}

.preview-controls .icon-button {
  pointer-events: auto !important;
}

.frame-stage {
  perspective: 1200px !important;
  perspective-origin: 52% 42% !important;
  z-index: 2 !important;
}

.frame-model {
  transform-style: preserve-3d !important;
  transform:
    scale(var(--model-scale, 1))
    rotateX(var(--rotate-x, -10deg))
    rotateY(var(--rotate-y, -34deg)) !important;
  transform-origin: center center !important;
  filter: drop-shadow(28px 34px 42px rgba(39, 29, 21, 0.18));
}

.frame-model::before,
.frame-model::after {
  display: none !important;
}

.frame-front,
.frame-back,
.frame-side,
.led-board {
  transform-style: preserve-3d !important;
  backface-visibility: hidden !important;
}

.frame-front {
  inset: 0 !important;
  z-index: 6 !important;
  transform: translateZ(calc(var(--frame-depth) / 2)) !important;
}

.frame-back {
  inset: 0 !important;
  z-index: 1 !important;
  border-radius: 12px !important;
  background:
    linear-gradient(90deg, rgba(255, 231, 190, 0.12), transparent 20% 78%, rgba(43, 24, 13, 0.32)),
    linear-gradient(135deg, #704629 0%, #a16b42 50%, #55311d 100%) !important;
  box-shadow: inset 0 0 0 10px rgba(65, 39, 24, 0.16) !important;
  transform: translateZ(calc(var(--frame-depth) / -2)) rotateY(180deg) !important;
}

.frame-side {
  position: absolute !important;
  display: block !important;
  z-index: 3 !important;
  border: 1px solid rgba(72, 44, 25, 0.38) !important;
  background:
    linear-gradient(90deg, rgba(255, 231, 188, 0.18), rgba(151, 94, 53, 0.98) 42%, rgba(72, 41, 23, 0.98)),
    repeating-linear-gradient(180deg, rgba(255, 235, 196, 0.09) 0 7px, rgba(60, 34, 18, 0.08) 7px 14px),
    linear-gradient(180deg, #704629 0%, #a46e43 46%, #5a351f 100%) !important;
  box-shadow:
    inset 12px 0 20px rgba(255, 226, 184, 0.1),
    inset -16px 0 26px rgba(43, 24, 13, 0.28) !important;
}

.frame-side-right,
.frame-side-left {
  top: 0 !important;
  width: var(--frame-depth) !important;
  height: var(--frame-h) !important;
}

.frame-side-right {
  left: calc(50% - var(--frame-depth) / 2) !important;
  border-radius: 0 14px 14px 0 !important;
  transform: rotateY(90deg) translateZ(calc(var(--frame-w) / 2)) !important;
}

.frame-side-left {
  left: calc(50% - var(--frame-depth) / 2) !important;
  border-radius: 14px 0 0 14px !important;
  transform: rotateY(-90deg) translateZ(calc(var(--frame-w) / 2)) !important;
}

.frame-side-top,
.frame-side-bottom {
  left: 0 !important;
  width: var(--frame-w) !important;
  height: var(--frame-depth) !important;
}

.frame-side-top {
  top: calc(50% - var(--frame-depth) / 2) !important;
  border-radius: 14px 14px 0 0 !important;
  transform: rotateX(90deg) translateZ(calc(var(--frame-h) / 2)) !important;
}

.frame-side-bottom {
  top: calc(50% - var(--frame-depth) / 2) !important;
  border-radius: 0 0 14px 14px !important;
  transform: rotateX(-90deg) translateZ(calc(var(--frame-h) / 2)) !important;
}

.led-board {
  inset: 5.5% !important;
  z-index: 2 !important;
  transform: translateZ(calc(var(--frame-depth) / -2 + 8px)) !important;
}

.print-slot {
  transform: translateZ(10px) !important;
}

.frame-photo {
  transform: translateZ(14px) !important;
}

/* True cuboid LED art-object model: 16.5 x 21.5 x 5.5cm ratio */
.frame-model {
  transform:
    scale(var(--model-scale, 1))
    rotateX(var(--rotate-x, -10deg))
    rotateY(var(--rotate-y, -34deg))
    translateZ(calc(var(--frame-depth) * 0.18)) !important;
}

.frame-model::before,
.frame-model::after {
  display: none !important;
}

.frame-front,
.frame-back,
.frame-side,
.led-board {
  transform-style: preserve-3d !important;
  backface-visibility: hidden;
}

.frame-front {
  inset: 0 !important;
  z-index: 6 !important;
  transform: translateZ(0) !important;
}

.frame-back {
  inset: 0 !important;
  z-index: 1 !important;
  border-radius: 14px !important;
  background:
    linear-gradient(90deg, rgba(255, 231, 190, 0.18), transparent 22% 78%, rgba(44, 24, 13, 0.32)),
    linear-gradient(135deg, #6d4327 0%, #a46d42 50%, #57331e 100%) !important;
  box-shadow:
    inset 0 0 0 10px rgba(65, 39, 24, 0.16),
    inset -20px 0 32px rgba(45, 25, 14, 0.26) !important;
  transform: translateZ(calc(var(--frame-depth) * -1)) rotateY(180deg) !important;
}

.frame-side {
  position: absolute !important;
  display: block !important;
  z-index: 3 !important;
  border: 1px solid rgba(72, 44, 25, 0.38) !important;
  background:
    linear-gradient(90deg, rgba(255, 231, 188, 0.2), rgba(151, 94, 53, 0.98) 42%, rgba(72, 41, 23, 0.98)),
    repeating-linear-gradient(180deg, rgba(255, 235, 196, 0.1) 0 7px, rgba(60, 34, 18, 0.08) 7px 14px),
    linear-gradient(180deg, #704629 0%, #a46e43 46%, #5a351f 100%) !important;
  box-shadow:
    inset 14px 0 22px rgba(255, 226, 184, 0.12),
    inset -18px 0 28px rgba(43, 24, 13, 0.26) !important;
}

.frame-side-right {
  left: calc(100% - 7px) !important;
  top: 3.5% !important;
  width: calc(var(--frame-depth) * 0.78) !important;
  height: 93% !important;
  border-radius: 0 16px 16px 0 !important;
  transform-origin: left center !important;
  transform: translateZ(calc(var(--frame-depth) / -2)) skewY(3deg) !important;
}

.frame-side-left {
  left: calc(var(--frame-depth) * -1) !important;
  top: 0 !important;
  width: var(--frame-depth) !important;
  height: var(--frame-h) !important;
  border-radius: 16px 0 0 16px !important;
  transform-origin: right center !important;
  transform: rotateY(-90deg) !important;
}

.frame-side-top {
  left: 3.5% !important;
  top: calc(var(--frame-depth) * -0.38) !important;
  width: 93% !important;
  height: calc(var(--frame-depth) * 0.34) !important;
  border-radius: 16px 16px 0 0 !important;
  transform-origin: center bottom !important;
  transform: translateZ(calc(var(--frame-depth) / -2)) skewX(-3deg) !important;
}

.frame-side-bottom {
  left: 3.5% !important;
  top: calc(100% - 7px) !important;
  width: 93% !important;
  height: calc(var(--frame-depth) * 0.34) !important;
  border-radius: 0 0 16px 16px !important;
  transform-origin: center top !important;
  transform: translateZ(calc(var(--frame-depth) / -2)) skewX(5deg) !important;
}

.led-board {
  inset: 5.5% !important;
  z-index: 2 !important;
  transform: translateZ(calc(var(--frame-depth) * -0.78)) !important;
}

.print-slot {
  transform: translateZ(10px) !important;
}

.frame-photo {
  transform: translateZ(14px) !important;
}

/* Final visual correction: clean preview, outer light hint layer, attached 3D LED object */
.product-preview {
  overflow: visible !important;
  background:
    radial-gradient(circle at 56% 42%, rgba(255, 245, 225, 0.9), transparent 34%),
    radial-gradient(circle at 76% 24%, rgba(221, 235, 247, 0.34), transparent 26%),
    linear-gradient(135deg, #fbfaf7 0%, #f3efe8 48%, #edf2f4 100%) !important;
}

.product-preview::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 8% !important;
  z-index: 0 !important;
  width: min(620px, 62vw) !important;
  height: 132px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse, rgba(41, 30, 22, 0.22), rgba(41, 30, 22, 0.09) 46%, transparent 72%) !important;
  filter: blur(14px) !important;
  mix-blend-mode: multiply !important;
  transform: translateX(-48%) rotate(-3deg) !important;
  pointer-events: none !important;
  backdrop-filter: none !important;
}

.product-preview::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  border-radius: inherit !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent 28% 72%, rgba(128, 105, 82, 0.05)),
    radial-gradient(circle at 70% 35%, rgba(255, 222, 170, 0.2), transparent 27%) !important;
  pointer-events: none !important;
}

.frame-stage {
  z-index: 2 !important;
  min-height: calc(100vh - 210px) !important;
  perspective: 1250px !important;
  perspective-origin: 52% 42% !important;
}

.frame-stage::before {
  width: min(560px, 52vw) !important;
  height: 118px !important;
  bottom: 9% !important;
  background: radial-gradient(ellipse, rgba(32, 22, 14, 0.28), rgba(32, 22, 14, 0.1) 52%, transparent 74%) !important;
  filter: blur(16px) !important;
  transform: translateX(-44%) rotate(-4deg) !important;
}

.frame-model {
  transform: scale(var(--model-scale, 1)) rotateX(var(--rotate-x, -10deg)) rotateY(var(--rotate-y, -34deg)) !important;
  transform-origin: center center !important;
  filter: drop-shadow(28px 36px 42px rgba(37, 28, 20, 0.16));
}

.frame-front {
  transform: translateZ(calc(var(--frame-depth) / 2 + 3px)) !important;
  box-shadow:
    0 24px 54px rgba(33, 25, 18, 0.18),
    0 3px 0 rgba(255, 242, 218, 0.18) inset !important;
}

.frame-back {
  transform: translateZ(calc(var(--frame-depth) / -2)) rotateY(180deg) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(90deg, rgba(255, 230, 190, 0.12), transparent 22% 78%, rgba(34, 20, 12, 0.28)),
    linear-gradient(135deg, #6f4528 0%, #a06a40 46%, #59341f 100%) !important;
  box-shadow:
    inset 0 0 0 10px rgba(65, 39, 24, 0.16),
    inset -22px 0 32px rgba(43, 24, 13, 0.24) !important;
}

.frame-side {
  box-shadow:
    inset 18px 0 24px rgba(55, 32, 18, 0.3),
    inset -10px 0 18px rgba(255, 226, 184, 0.16) !important;
}

.frame-side-right {
  transform: rotateY(90deg) translateZ(calc(var(--frame-w) / 2)) !important;
  border-radius: 0 16px 16px 0 !important;
  background:
    linear-gradient(90deg, rgba(255, 226, 182, 0.22), rgba(151, 94, 53, 0.96) 38%, rgba(81, 45, 25, 0.98)),
    linear-gradient(180deg, #704629 0%, #a46e43 46%, #5a351f 100%) !important;
}

.frame-side-left {
  transform: rotateY(-90deg) translateZ(calc(var(--frame-w) / 2)) !important;
  opacity: 0.72 !important;
}

.frame-side-top {
  transform: rotateX(90deg) translateZ(calc(var(--frame-h) / 2)) !important;
  border-radius: 14px 14px 0 0 !important;
  background:
    linear-gradient(180deg, rgba(255, 231, 190, 0.22), rgba(103, 61, 34, 0.92)),
    linear-gradient(90deg, #7b5132, #b07b50 50%, #7b4d2d) !important;
}

.frame-side-bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--frame-h) / 2)) !important;
  border-radius: 0 0 14px 14px !important;
  background:
    linear-gradient(180deg, rgba(54, 30, 16, 0.9), rgba(158, 98, 55, 0.94)),
    linear-gradient(90deg, #4f2e1b, #8a5734 55%, #5a351f) !important;
}

.led-board {
  transform: translateZ(calc(var(--frame-depth) * -0.28)) !important;
  border-radius: 12px !important;
}

.print-slot {
  transform: translateZ(calc(var(--frame-depth) / 2 + 8px)) !important;
}

.frame-photo {
  transform: translateZ(calc(var(--frame-depth) / 2 + 12px)) !important;
  filter: drop-shadow(0 18px 24px rgba(32, 24, 18, 0.16)) !important;
}

.product-preview.is-lit {
  background:
    radial-gradient(circle at 53% 44%, rgba(255, 225, 160, 0.34), transparent 30%),
    radial-gradient(circle at 76% 28%, rgba(255, 246, 221, 0.58), transparent 24%),
    linear-gradient(135deg, #fbfaf7 0%, #f5efe5 50%, #edf2f4 100%) !important;
}

.light-guide-bubble {
  position: fixed;
  z-index: 9999;
  width: max-content;
  max-width: min(260px, calc(100vw - 32px));
  padding: 10px 14px;
  border: 1px solid rgba(184, 67, 50, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.98);
  color: #7b3a24;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 18px 36px rgba(62, 43, 31, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%) translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.light-guide-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(184, 67, 50, 0.14);
  border-bottom: 1px solid rgba(184, 67, 50, 0.14);
  background: rgba(255, 250, 242, 0.98);
  transform: translateX(-50%) rotate(45deg);
}

.light-guide-bubble.visible {
  opacity: 1;
  transform: translate(-50%, -100%) translateY(-12px);
}

#lightToggle.light-guide::before,
#lightToggle.light-guide::after {
  display: none !important;
}

#lightToggle {
  position: relative;
}

#lightToggle.light-guide {
  border-color: rgba(184, 67, 50, 0.45);
  background: #fff4ea;
  color: #7b3a24;
  box-shadow:
    0 0 0 4px rgba(255, 210, 144, 0.28),
    0 12px 28px rgba(184, 67, 50, 0.18);
  animation: lightGuidePulse 1.25s ease-in-out infinite;
}

#lightToggle.light-guide::before {
  content: "鎵撳紑寮€鐏瑙堬紝鏂囧瓧浼氭洿娓呮";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 30;
  width: max-content;
  max-width: 220px;
  padding: 9px 12px;
  border: 1px solid rgba(184, 67, 50, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.96);
  color: #7b3a24;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 14px 30px rgba(62, 43, 31, 0.14);
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
}

#lightToggle.light-guide::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  z-index: 31;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(184, 67, 50, 0.14);
  border-bottom: 1px solid rgba(184, 67, 50, 0.14);
  background: rgba(255, 250, 242, 0.96);
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}

@keyframes lightGuidePulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

/* LED art-object direction: premium tabletop display, not a photo frame */
.product-preview {
  isolation: isolate;
  background:
    radial-gradient(circle at 70% 26%, rgba(255, 226, 174, 0.46), transparent 18%),
    linear-gradient(180deg, #eee7dc 0 56%, #d1b596 56% 59%, #8e6340 59% 100%) !important;
}

.product-preview::after {
  height: 44%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(40, 26, 14, 0.18), transparent 46%),
    linear-gradient(90deg, rgba(96, 65, 40, 0.12), transparent 18% 82%, rgba(52, 34, 20, 0.16)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 96px) !important;
  opacity: 0.95;
}

.frame-stage::before {
  width: min(620px, 64vw);
  height: 120px;
  bottom: 9%;
  background: radial-gradient(ellipse, rgba(34, 21, 12, 0.38), rgba(34, 21, 12, 0.16) 48%, transparent 74%) !important;
  filter: blur(14px);
}

.frame-stage::after {
  content: "";
  position: absolute;
  bottom: 16%;
  left: 50%;
  z-index: 0;
  width: min(460px, 48vw);
  height: 42px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(118, 76, 44, 0.72), rgba(58, 35, 18, 0.9)),
    linear-gradient(90deg, transparent, rgba(255, 224, 176, 0.2), transparent);
  box-shadow:
    inset 0 10px 18px rgba(255, 236, 198, 0.08),
    0 18px 34px rgba(39, 26, 15, 0.22);
  transform: translateX(-45%) rotateX(62deg);
  pointer-events: none;
}

.frame-model {
  z-index: 1;
  filter:
    drop-shadow(42px 42px 34px rgba(35, 24, 15, 0.24))
    drop-shadow(0 10px 18px rgba(255, 248, 232, 0.34));
}

.frame-back {
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18% 80%, rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at 50% 45%, rgba(255, 225, 154, 0.22), transparent 28%),
    linear-gradient(135deg, #5f3b25 0%, #9b6943 48%, #3e2518 100%) !important;
  box-shadow:
    inset 0 0 0 12px rgba(61, 36, 21, 0.2),
    inset -26px 0 36px rgba(35, 18, 8, 0.28) !important;
}

.frame-side {
  border-color: rgba(53, 32, 18, 0.56);
  background:
    linear-gradient(90deg, rgba(255, 226, 178, 0.22), rgba(143, 88, 51, 0.94) 36%, rgba(50, 29, 18, 0.98)),
    repeating-linear-gradient(180deg, rgba(255, 233, 192, 0.1) 0 3px, rgba(52, 31, 18, 0.08) 3px 9px),
    linear-gradient(180deg, #71462b 0%, #a06a42 48%, #4f2f1e 100%) !important;
}

.frame-side-right {
  border-radius: 0 18px 18px 0;
  box-shadow:
    inset 20px 0 28px rgba(255, 228, 180, 0.14),
    inset -28px 0 34px rgba(34, 18, 10, 0.4),
    18px 20px 38px rgba(38, 24, 14, 0.22);
}

.frame-side-top {
  border-radius: 18px 18px 0 0;
  box-shadow:
    inset 0 18px 26px rgba(255, 230, 182, 0.14),
    inset 0 -18px 24px rgba(44, 24, 12, 0.2);
}

.frame-front {
  box-shadow:
    0 34px 70px rgba(33, 25, 18, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.frame-photo {
  filter:
    drop-shadow(0 24px 36px rgba(31, 41, 51, 0.18))
    saturate(0.92)
    contrast(1.02);
}

.print-slot {
  border-radius: 10px;
  background: rgba(252, 250, 244, 0.88) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.48),
    inset 0 0 28px rgba(34, 28, 22, 0.08),
    0 0 0 1px rgba(64, 43, 27, 0.08) !important;
}

.acrylic-glass {
  border-radius: 10px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.48) 0 8%, transparent 18% 56%, rgba(255, 255, 255, 0.22) 64%, transparent 82%),
    radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(187, 233, 230, 0.08)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.48),
    inset 0 0 26px rgba(126, 207, 204, 0.16),
    0 0 18px rgba(255, 255, 255, 0.12) !important;
}

.led-board {
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 216, 138, 0.56), transparent 42%),
    linear-gradient(135deg, rgba(238, 222, 188, 0.96), rgba(150, 100, 56, 0.9)) !important;
  box-shadow:
    inset 0 0 0 14px rgba(68, 42, 26, 0.22),
    inset 0 0 34px rgba(255, 222, 148, 0.24) !important;
}

.product-preview.is-lit .frame-model {
  filter:
    drop-shadow(42px 42px 34px rgba(35, 24, 15, 0.22))
    drop-shadow(0 0 54px rgba(255, 204, 113, 0.24));
}

.product-preview.is-lit .print-slot {
  background: rgba(255, 247, 221, 0.96) !important;
  box-shadow:
    inset 0 0 18px rgba(255, 226, 148, 0.5),
    inset 0 0 50px rgba(255, 215, 132, 0.24),
    0 0 44px rgba(255, 210, 120, 0.38),
    0 0 92px rgba(255, 195, 96, 0.24) !important;
}

.preview-caption {
  border-color: rgba(106, 75, 56, 0.16);
  background: rgba(255, 250, 242, 0.78);
  color: #6a4b38;
  backdrop-filter: blur(14px);
}

.orders-modal {
  position: fixed;
  inset: 0;
  z-index: 21;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(31, 41, 51, 0.42);
}

.orders-card {
  width: min(620px, 100%);
  max-height: min(720px, 86vh);
  overflow: auto;
  padding: 22px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(31, 41, 51, 0.24);
}

.orders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.orders-head button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 6px;
}

.orders-list {
  display: grid;
  gap: 10px;
}

.orders-list h3 {
  margin: 14px 0 2px;
  color: var(--ink);
  font-size: 15px;
}

.orders-list h3:first-child {
  margin-top: 0;
}

.order-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.draft-order {
  border-color: #9ed8ff;
  background: #f3fbff;
}

.purchased-work {
  border-color: #bfe3d8;
  background: #f4fbf8;
}

.work-actions {
  justify-content: flex-start !important;
  flex-wrap: wrap;
}

.inline-action {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.danger-inline {
  color: var(--danger);
  border-color: #f0b7aa;
}

.inline-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.shared-flash {
  animation: sharedPulse 0.9s ease;
}

@keyframes sharedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 139, 141, 0.25);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(15, 139, 141, 0.18);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 139, 141, 0);
  }
}

.order-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-card span {
  color: var(--muted);
  font-size: 13px;
}

.empty-orders {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1080px) {
  body {
    overflow: auto;
  }

  .app-shell,
  .preview-band {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .workspace {
    height: auto;
    overflow: visible;
  }

  .editor {
    height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .product-preview {
    min-height: 640px;
  }

  .frame-stage {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .workspace,
  .editor {
    padding: 12px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-lockup {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  h1 {
    font-size: 24px;
  }

  .product-preview {
    min-height: 520px;
    padding: 12px;
  }

  .frame-stage {
    min-height: 440px;
  }

  .preview-controls {
    position: static;
    margin-top: 12px;
  }
}

/* Creative studio upgrade */
:root {
  --studio-bg: #f3f1ec;
  --studio-card: rgba(255, 255, 255, 0.88);
  --studio-ink: #17202a;
  --studio-soft: #8a8278;
  --studio-warm: #b8905f;
  --studio-blue: #4d89ff;
  --studio-glass: rgba(255, 255, 255, 0.68);
}

body {
  color: var(--studio-ink);
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.92), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(204, 220, 255, 0.42), transparent 30%),
    linear-gradient(135deg, #f7f4ef 0%, #eef3f5 52%, #f8f6f2 100%);
}

.app-shell {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.workspace {
  padding: 24px 24px 94px;
}

.topbar {
  align-items: center;
  padding: 10px 2px 18px;
  margin-bottom: 8px;
}

.brand-lockup img {
  width: clamp(138px, 16vw, 210px);
}

.brand-copy h1 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow {
  color: #0c7375;
  font-size: 14px;
  letter-spacing: 0;
}

.status-strip .admin-link {
  opacity: 0.62;
}

.preview-band {
  grid-template-columns: minmax(520px, 1fr) 260px;
  gap: 18px;
}

.product-preview {
  min-height: calc(100vh - 150px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.24) 30%, transparent 52%),
    radial-gradient(circle at 52% 70%, rgba(177, 153, 121, 0.25), transparent 38%),
    linear-gradient(142deg, #eef4f3, #fbfaf7 47%, #eceff5);
  box-shadow:
    0 40px 90px rgba(34, 31, 27, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.product-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.52) 42%, transparent 50%),
    radial-gradient(ellipse at 50% 96%, rgba(65, 52, 40, 0.18), transparent 42%);
  mix-blend-mode: screen;
}

.frame-stage {
  min-height: calc(100vh - 230px);
  perspective: 1500px;
}

.frame-model {
  filter:
    drop-shadow(0 34px 42px rgba(34, 25, 18, 0.2))
    drop-shadow(0 8px 16px rgba(255, 255, 255, 0.42));
}

.frame-front {
  box-shadow:
    0 38px 78px rgba(33, 25, 18, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.28);
}

.frame-photo {
  filter:
    drop-shadow(0 24px 36px rgba(31, 41, 51, 0.22))
    saturate(1.05)
    contrast(1.03);
}

.frame-side,
.frame-back {
  box-shadow:
    inset 14px 0 22px rgba(45, 24, 12, 0.24),
    inset -10px 0 18px rgba(255, 224, 176, 0.18),
    0 26px 42px rgba(39, 27, 18, 0.16);
}

.print-slot {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 250, 248, 0.88));
}

.preview-controls {
  right: 20px;
  top: 20px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 36px rgba(31, 41, 51, 0.1);
  backdrop-filter: blur(16px);
}

.icon-button {
  min-width: 52px;
  min-height: 36px;
  border-radius: 999px;
  border-color: rgba(26, 39, 52, 0.1);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.studio-button {
  min-width: 96px;
  color: #7a4e16;
  border-color: rgba(184, 144, 95, 0.32);
  background: rgba(255, 249, 238, 0.9);
}

.preview-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 36px rgba(31, 41, 51, 0.1);
  backdrop-filter: blur(18px);
}

.preview-caption span {
  color: var(--studio-warm);
  font-size: 12px;
  font-weight: 800;
}

.preview-caption strong {
  font-size: 13px;
}

.professional-settings {
  align-self: stretch;
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: var(--studio-glass);
  box-shadow: 0 24px 50px rgba(31, 41, 51, 0.08);
  backdrop-filter: blur(18px);
}

.professional-settings .quality-status {
  margin: 0 0 12px;
}

.professional-settings .quality-status span {
  min-height: 28px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.ai-entry {
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 78px;
  margin-bottom: 12px;
  padding: 14px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(135deg, #151b2d, #277a7c 58%, #b8905f);
  box-shadow: 0 20px 45px rgba(21, 27, 45, 0.18);
}

.ai-entry span {
  font-size: 13px;
  opacity: 0.78;
}

.ai-entry strong {
  font-size: 15px;
  line-height: 1.35;
}

.professional-settings details {
  margin-top: 10px;
  padding: 10px 0 0;
  border-top: 1px solid rgba(31, 41, 51, 0.08);
}

.professional-settings summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.professional-settings dl {
  margin: 10px 0 14px;
}

.professional-settings dl div {
  padding: 7px 0;
}

.professional-settings dt,
.professional-settings dd {
  font-size: 12px;
}

.editor {
  gap: 12px;
  padding: 18px 18px 96px;
  border-left: 1px solid rgba(31, 41, 51, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(246, 247, 248, 0.92)),
    #fff;
}

.creator-intro,
.panel {
  border-color: rgba(31, 41, 51, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(31, 41, 51, 0.06);
}

.creator-intro {
  display: grid;
  gap: 7px;
  padding: 18px;
}

.creator-intro span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #6b4a19;
  background: #fff3dc;
  font-size: 12px;
  font-weight: 800;
}

.creator-intro h2 {
  font-size: 20px;
  line-height: 1.28;
}

.creator-intro p,
.ai-design-panel p {
  margin: 0;
  color: var(--studio-soft);
  font-size: 13px;
  line-height: 1.55;
}

.panel {
  padding: 17px;
}

.panel h2 {
  color: #182432;
  font-size: 15px;
}

.segmented button,
.swatches button,
.copy-actions button,
.copy-tabs button,
.copy-list button,
.ai-copy-list button,
.builtin-card {
  border-radius: 14px;
}

.segmented .active,
.swatches .active,
.builtin-card.active {
  color: #0b7375;
  border-color: rgba(15, 139, 141, 0.45);
  background: linear-gradient(180deg, #edfafa, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.file-drop {
  min-height: 112px;
  border-color: rgba(15, 139, 141, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 139, 141, 0.08), transparent 30%),
    #fbfdfd;
  font-weight: 700;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.panel-title-row h2 {
  margin: 0;
}

.panel-title-row button {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  color: #7a4e16;
  background: #fff6e7;
  border-color: #ecd2a7;
  font-size: 12px;
  font-weight: 800;
}

.ai-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ai-action-row button:first-child {
  color: #0b7375;
  border-color: rgba(15, 139, 141, 0.28);
  background: #edfafa;
}

.ai-action-row button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.ai-design-panel .ai-bg-note {
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(184, 144, 95, 0.18);
  border-radius: 12px;
  background: rgba(255, 248, 238, 0.74);
  color: #8a6540;
  font-size: 12px;
}

.ai-design-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ai-design-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 11px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 237, 0.86));
}

.ai-design-card.active {
  border-color: rgba(15, 139, 141, 0.45);
  box-shadow: 0 12px 28px rgba(15, 139, 141, 0.12);
}

.ai-design-thumb {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.92), transparent 27%),
    linear-gradient(135deg, #eef8f5 0%, #c9e8dc 45%, #88b7a4 100%);
}

.ai-design-card:nth-child(2) .ai-design-thumb {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(135deg, #d9eee9, #f4dcae);
}

.ai-design-card:nth-child(3) .ai-design-thumb {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #dbe5f4, #1b2435);
}

.ai-design-card:nth-child(4) .ai-design-thumb {
  background:
    radial-gradient(circle at 20% 78%, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(135deg, #f6ebe1, #c49155);
}

.ai-design-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.ai-design-copy strong {
  font-size: 14px;
}

.ai-design-copy span {
  color: var(--studio-soft);
  font-size: 12px;
  line-height: 1.35;
}

.ai-design-card em {
  color: #0b7375;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.creation-toolbar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 18;
  display: flex;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 60px rgba(31, 41, 51, 0.16);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.creation-toolbar button {
  min-width: 72px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #293544;
  font-weight: 800;
}

.creation-toolbar button:hover {
  color: #0b7375;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.08);
}

.scene-toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 25;
  max-width: min(520px, calc(100vw - 32px));
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(21, 27, 45, 0.94), rgba(28, 105, 107, 0.94));
  box-shadow: 0 24px 54px rgba(31, 41, 51, 0.22);
  transform: translateX(-50%);
}

@media (max-width: 1080px) {
  .app-shell,
  .preview-band {
    grid-template-columns: 1fr;
  }

  .creation-toolbar {
    left: 12px;
    right: 12px;
    justify-content: space-between;
    overflow-x: auto;
    transform: none;
  }
}

@media (max-width: 640px) {
  .preview-controls {
    position: static;
    border-radius: 18px;
    flex-wrap: wrap;
  }

  .preview-caption {
    position: static;
    margin-top: 12px;
  }

  .creation-toolbar button {
    min-width: 64px;
    padding: 0 12px;
  }
}

/* Absolute final preview fix - keep this as the final override block */
.product-preview {
  overflow: visible !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 248, 235, 0.9), transparent 34%),
    radial-gradient(circle at 76% 30%, rgba(231, 239, 244, 0.45), transparent 28%),
    linear-gradient(135deg, #fbfaf7 0%, #f4f0e9 52%, #eef2f3 100%) !important;
}

.product-preview::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 7% !important;
  z-index: 0 !important;
  width: min(620px, 62vw) !important;
  height: 118px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse, rgba(39, 29, 21, 0.24), rgba(39, 29, 21, 0.08) 52%, transparent 75%) !important;
  filter: blur(16px) !important;
  mix-blend-mode: multiply !important;
  transform: translateX(-45%) rotate(-4deg) !important;
  pointer-events: none !important;
  backdrop-filter: none !important;
}

.product-preview::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  border-radius: inherit !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent 30% 70%, rgba(92, 68, 48, 0.04)),
    radial-gradient(circle at 66% 34%, rgba(255, 224, 174, 0.18), transparent 28%) !important;
  pointer-events: none !important;
}

.preview-controls {
  z-index: 80 !important;
  gap: 10px;
  pointer-events: auto !important;
}

.preview-controls .icon-button {
  min-width: 86px;
  pointer-events: auto !important;
}

.preview-controls .icon-button.active {
  border-color: rgba(106, 75, 56, 0.35);
  background: #fff7ed;
  color: #6a4b38;
  box-shadow: 0 10px 24px rgba(106, 75, 56, 0.12);
}

.preview-controls .clear-preview {
  display: none;
}

.frame-stage {
  z-index: 2 !important;
  min-height: calc(100vh - 210px) !important;
  perspective: 1180px !important;
  perspective-origin: 52% 42% !important;
}

.frame-model {
  transform-style: preserve-3d !important;
  transform: scale(var(--model-scale, 1)) rotateX(var(--rotate-x, -10deg)) rotateY(var(--rotate-y, -34deg)) !important;
  transform-origin: center center !important;
  filter: drop-shadow(30px 36px 42px rgba(37, 28, 20, 0.17));
}

.frame-model::before,
.frame-model::after {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  pointer-events: none !important;
  transform-style: preserve-3d !important;
}

.frame-model::before {
  left: calc(100% - 1px) !important;
  top: 2.5% !important;
  z-index: 0 !important;
  width: calc(var(--frame-depth) * 0.92) !important;
  height: 95% !important;
  border-radius: 0 18px 18px 0 !important;
  clip-path: polygon(0 0, 100% 7%, 100% 93%, 0 100%) !important;
  background:
    linear-gradient(90deg, rgba(255, 231, 188, 0.28), rgba(151, 94, 53, 0.96) 42%, rgba(76, 43, 24, 0.98)),
    linear-gradient(180deg, #74482a 0%, #a56f44 48%, #57331e 100%) !important;
  box-shadow:
    inset 12px 0 18px rgba(255, 226, 184, 0.14),
    inset -18px 0 28px rgba(43, 24, 13, 0.28),
    18px 22px 34px rgba(40, 29, 21, 0.15) !important;
  transform: translateZ(calc(var(--frame-depth) * -0.05)) skewY(4deg) !important;
}

.frame-model::after {
  left: 5% !important;
  top: calc(100% - 1px) !important;
  z-index: 0 !important;
  width: 90% !important;
  height: calc(var(--frame-depth) * 0.58) !important;
  border-radius: 0 0 18px 18px !important;
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 22px 100%) !important;
  background:
    linear-gradient(180deg, rgba(255, 224, 178, 0.16), rgba(118, 68, 36, 0.96) 58%, rgba(48, 27, 15, 0.98)),
    linear-gradient(90deg, #4e2e1b 0%, #8b5734 52%, #59351f 100%) !important;
  box-shadow:
    inset 0 8px 14px rgba(255, 226, 184, 0.12),
    inset 0 -16px 22px rgba(42, 22, 12, 0.3),
    10px 18px 26px rgba(40, 29, 21, 0.12) !important;
  transform: translateZ(calc(var(--frame-depth) * -0.05)) skewX(-5deg) !important;
}

.frame-front {
  z-index: 3 !important;
  transform: translateZ(calc(var(--frame-depth) / 2 + 3px)) !important;
}

.frame-back {
  z-index: 0 !important;
  border-radius: 14px !important;
  background:
    linear-gradient(90deg, rgba(255, 230, 190, 0.12), transparent 22% 78%, rgba(34, 20, 12, 0.28)),
    linear-gradient(135deg, #6f4528 0%, #a06a40 46%, #59341f 100%) !important;
  transform: translateZ(calc(var(--frame-depth) / -2)) rotateY(180deg) !important;
}

.frame-side {
  display: block !important;
  z-index: 1 !important;
  box-shadow:
    inset 18px 0 24px rgba(55, 32, 18, 0.28),
    inset -10px 0 18px rgba(255, 226, 184, 0.16) !important;
}

.frame-side-right {
  border-radius: 0 16px 16px 0 !important;
  background:
    linear-gradient(90deg, rgba(255, 226, 182, 0.22), rgba(151, 94, 53, 0.98) 40%, rgba(81, 45, 25, 0.98)),
    linear-gradient(180deg, #704629 0%, #a46e43 46%, #5a351f 100%) !important;
  transform: rotateY(90deg) translateZ(calc(var(--frame-w) / 2)) !important;
}

.frame-side-top {
  transform: rotateX(90deg) translateZ(calc(var(--frame-h) / 2)) !important;
}

.frame-side-bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--frame-h) / 2)) !important;
}

.print-slot {
  transform: translateZ(calc(var(--frame-depth) / 2 + 8px)) !important;
}

.frame-photo {
  transform: translateZ(calc(var(--frame-depth) / 2 + 12px)) !important;
}

.product-preview.is-lit {
  background:
    radial-gradient(circle at 53% 44%, rgba(255, 225, 160, 0.34), transparent 30%),
    radial-gradient(circle at 76% 28%, rgba(255, 246, 221, 0.58), transparent 24%),
    linear-gradient(135deg, #fbfaf7 0%, #f5efe5 50%, #eef2f3 100%) !important;
}

/* FINAL EFFECTIVE CUBOID FRAME - last block */
.product-preview {
  overflow: visible !important;
  background:
    radial-gradient(circle at 48% 40%, rgba(255, 249, 238, 0.92), transparent 34%),
    radial-gradient(circle at 72% 32%, rgba(226, 235, 240, 0.42), transparent 28%),
    linear-gradient(135deg, #fbfaf7 0%, #f5f1eb 54%, #eff3f4 100%) !important;
}
.product-preview::after { pointer-events: none !important; }
.preview-controls { z-index: 120 !important; pointer-events: auto !important; }
.preview-controls .icon-button { pointer-events: auto !important; }
.frame-stage { perspective: 1200px !important; perspective-origin: 52% 42% !important; z-index: 2 !important; }
.frame-model {
  transform-style: preserve-3d !important;
  transform: scale(var(--model-scale, 1)) rotateX(var(--rotate-x, -10deg)) rotateY(var(--rotate-y, -34deg)) !important;
  transform-origin: center center !important;
  filter: drop-shadow(28px 34px 42px rgba(39, 29, 21, 0.18));
}
.frame-model::before,
.frame-model::after { display: none !important; }
.frame-front,
.frame-back,
.frame-side,
.led-board { transform-style: preserve-3d !important; backface-visibility: hidden !important; }
.frame-front { inset: 0 !important; z-index: 6 !important; transform: translateZ(calc(var(--frame-depth) / 2)) !important; }
.frame-back {
  inset: 0 !important;
  z-index: 1 !important;
  border-radius: 12px !important;
  background:
    linear-gradient(90deg, rgba(255, 231, 190, 0.12), transparent 20% 78%, rgba(43, 24, 13, 0.32)),
    linear-gradient(135deg, #704629 0%, #a16b42 50%, #55311d 100%) !important;
  box-shadow: inset 0 0 0 10px rgba(65, 39, 24, 0.16) !important;
  transform: translateZ(calc(var(--frame-depth) / -2)) rotateY(180deg) !important;
}
.frame-side {
  position: absolute !important;
  display: block !important;
  z-index: 3 !important;
  border: 1px solid rgba(72, 44, 25, 0.38) !important;
  background:
    linear-gradient(90deg, rgba(255, 231, 188, 0.18), rgba(151, 94, 53, 0.98) 42%, rgba(72, 41, 23, 0.98)),
    repeating-linear-gradient(180deg, rgba(255, 235, 196, 0.09) 0 7px, rgba(60, 34, 18, 0.08) 7px 14px),
    linear-gradient(180deg, #704629 0%, #a46e43 46%, #5a351f 100%) !important;
  box-shadow: inset 12px 0 20px rgba(255, 226, 184, 0.1), inset -16px 0 26px rgba(43, 24, 13, 0.28) !important;
}
.frame-side-right,
.frame-side-left { top: 0 !important; width: var(--frame-depth) !important; height: var(--frame-h) !important; }
.frame-side-right {
  left: calc(50% - var(--frame-depth) / 2) !important;
  border-radius: 0 14px 14px 0 !important;
  transform: rotateY(90deg) translateZ(calc(var(--frame-w) / 2)) !important;
}
.frame-side-left {
  left: calc(50% - var(--frame-depth) / 2) !important;
  border-radius: 14px 0 0 14px !important;
  transform: rotateY(-90deg) translateZ(calc(var(--frame-w) / 2)) !important;
}
.frame-side-top,
.frame-side-bottom { left: 0 !important; width: var(--frame-w) !important; height: var(--frame-depth) !important; }
.frame-side-top {
  top: calc(50% - var(--frame-depth) / 2) !important;
  border-radius: 14px 14px 0 0 !important;
  transform: rotateX(90deg) translateZ(calc(var(--frame-h) / 2)) !important;
}
.frame-side-bottom {
  top: calc(50% - var(--frame-depth) / 2) !important;
  border-radius: 0 0 14px 14px !important;
  transform: rotateX(-90deg) translateZ(calc(var(--frame-h) / 2)) !important;
}
.led-board { inset: 5.5% !important; z-index: 2 !important; transform: translateZ(calc(var(--frame-depth) / -2 + 8px)) !important; }
.print-slot { transform: translateZ(10px) !important; }
.frame-photo { transform: translateZ(14px) !important; }

/* FINAL PRODUCT PHOTO CUBOID - reference-matched thick LED art block */
.product-preview {
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 247, 231, 0.88), transparent 34%),
    radial-gradient(circle at 74% 34%, rgba(255, 225, 170, 0.22), transparent 25%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f0e9 70%, #efe8dd 100%) !important;
}

.product-preview::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 8% !important;
  width: min(500px, 50vw) !important;
  height: 70px !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse, rgba(58, 38, 23, 0.16), rgba(58, 38, 23, 0.05) 58%, transparent 78%) !important;
  filter: blur(18px) !important;
  transform: translateX(-40%) rotate(-4deg) !important;
  pointer-events: none !important;
}

.product-preview::after {
  pointer-events: none !important;
  background: radial-gradient(circle at 73% 35%, rgba(255, 226, 177, 0.18), transparent 26%) !important;
}

.preview-controls {
  z-index: 140 !important;
  pointer-events: auto !important;
}

.preview-controls .icon-button {
  pointer-events: auto !important;
}

.frame-stage {
  perspective: 1450px !important;
  perspective-origin: 52% 42% !important;
  z-index: 2 !important;
}

.frame-model {
  --wood-side-dark: #6b3f20;
  --wood-side-mid: #ad7240;
  --wood-side-light: #d29a58;
  transform-style: preserve-3d !important;
  transform: scale(var(--model-scale, 1)) rotateX(var(--rotate-x, -5deg)) rotateY(var(--rotate-y, 24deg)) !important;
  transform-origin: center center !important;
  filter: drop-shadow(30px 34px 42px rgba(50, 34, 21, 0.2));
}

.frame-model::before,
.frame-model::after {
  display: none !important;
}

.frame-front,
.frame-back,
.frame-side,
.led-board {
  transform-style: preserve-3d !important;
  backface-visibility: hidden !important;
}

.frame-front {
  inset: 0 !important;
  z-index: 8 !important;
  transform: translateZ(calc(var(--frame-depth) / 2)) !important;
  filter: drop-shadow(0 12px 20px rgba(40, 27, 18, 0.12));
}

.frame-back {
  inset: 0 !important;
  z-index: 1 !important;
  border-radius: 14px !important;
  background:
    linear-gradient(90deg, rgba(255, 231, 190, 0.16), transparent 22% 78%, rgba(43, 24, 13, 0.3)),
    linear-gradient(135deg, #744624 0%, #a76834 52%, #563016 100%) !important;
  box-shadow: inset 0 0 0 12px rgba(66, 39, 22, 0.18) !important;
  transform: translateZ(calc(var(--frame-depth) / -2)) rotateY(180deg) !important;
}

.frame-side {
  position: absolute !important;
  display: block !important;
  z-index: 5 !important;
  border: 1px solid rgba(87, 52, 26, 0.38) !important;
  background:
    linear-gradient(90deg, var(--wood-side-light), var(--wood-side-mid) 38%, var(--wood-side-dark)),
    repeating-linear-gradient(180deg, rgba(255, 238, 201, 0.16) 0 8px, rgba(87, 48, 22, 0.08) 8px 16px) !important;
  box-shadow:
    inset 12px 0 18px rgba(255, 234, 197, 0.16),
    inset -18px 0 28px rgba(58, 31, 15, 0.26) !important;
}

.frame-side-right {
  left: 100% !important;
  top: 0 !important;
  width: var(--frame-depth) !important;
  height: var(--frame-h) !important;
  border-radius: 0 16px 16px 0 !important;
  transform-origin: left center !important;
  transform: rotateY(90deg) !important;
}

.frame-side-left {
  display: none !important;
}

.frame-side-top {
  left: 0 !important;
  top: calc(var(--frame-depth) * -1) !important;
  width: var(--frame-w) !important;
  height: var(--frame-depth) !important;
  border-radius: 16px 16px 0 0 !important;
  transform-origin: center bottom !important;
  transform: rotateX(90deg) !important;
}

.frame-side-bottom {
  left: 0 !important;
  top: 100% !important;
  width: var(--frame-w) !important;
  height: var(--frame-depth) !important;
  border-radius: 0 0 16px 16px !important;
  transform-origin: center top !important;
  transform: rotateX(-90deg) !important;
}

.led-board {
  inset: 4.5% !important;
  z-index: 2 !important;
  transform: translateZ(calc(var(--frame-depth) / -2 + 10px)) !important;
}

.print-slot {
  transform: translateZ(calc(var(--frame-depth) / 2 + 3px)) !important;
  background: rgba(20, 18, 16, 0.86) !important;
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.24) !important;
}

.frame-photo {
  z-index: 9 !important;
  transform: translateZ(calc(var(--frame-depth) / 2 + 9px)) !important;
}

/* FINAL VISIBLE THICK ART OBJECT OVERRIDE - must stay at EOF */
.frame-model {
  transform: scale(var(--model-scale, 1)) rotateX(var(--rotate-x, -5deg)) rotateY(var(--rotate-y, 24deg)) !important;
  filter: drop-shadow(30px 34px 42px rgba(50, 34, 21, 0.2)) !important;
}

.frame-side-right {
  left: calc(100% - 7px) !important;
  top: 3.5% !important;
  width: calc(var(--frame-depth) * 0.78) !important;
  height: 93% !important;
  border-radius: 0 16px 16px 0 !important;
  transform-origin: left center !important;
  transform: translateZ(calc(var(--frame-depth) / -2)) skewY(3deg) !important;
}

.frame-side-top {
  left: 4.2% !important;
  top: -8px !important;
  width: 91.6% !important;
  height: 14px !important;
  border-radius: 14px 14px 0 0 !important;
  transform-origin: center bottom !important;
  transform: translateZ(calc(var(--frame-depth) / -2)) skewX(-3deg) !important;
}

.frame-side-bottom {
  left: 4.2% !important;
  top: calc(100% - 5px) !important;
  width: 91.6% !important;
  height: 16px !important;
  border-radius: 0 0 14px 14px !important;
  transform-origin: center top !important;
  transform: translateZ(calc(var(--frame-depth) / -2)) skewX(5deg) !important;
}

/* Product render canvas: final visible preview layer */
.product-render-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 42 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

.frame-model {
  opacity: 0.01 !important;
}

.product-preview {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 248, 235, 0.88), transparent 34%),
    radial-gradient(circle at 74% 34%, rgba(255, 225, 170, 0.18), transparent 25%),
    linear-gradient(180deg, #fbfaf7 0%, #f5f0e8 100%) !important;
}
