/* ============================================================
   STUDIO.CSS — Full-Screen Sticker Editor
   ============================================================ */

/* ---- Sticker drop-shake (quick settle after repositioning) ---- */
@keyframes sticker-shake {
  0%   { transform: translate(0, 0) rotate(0deg); }
  15%  { transform: translate(-4px, 0) rotate(-1.5deg); }
  30%  { transform: translate(4px, 0) rotate(1.5deg); }
  45%  { transform: translate(-3px, 0) rotate(-1deg); }
  60%  { transform: translate(3px, 0) rotate(0.8deg); }
  75%  { transform: translate(-1.5px, 0) rotate(-0.4deg); }
  88%  { transform: translate(1px, 0) rotate(0.2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

#canvas-rocker {
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  will-change: transform;
  flex-shrink: 0;
}

#canvas-rocker.shaking {
  animation: sticker-shake 0.45s cubic-bezier(.36,.07,.19,.97) forwards;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.studio-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background: #0F0F14;
  font-family: var(--font-sans);
}

/* Logo text override for dark toolbar */
.studio-toolbar .nav-logo-text b  { color: #fff; }
.studio-toolbar .nav-logo-text span { color: rgba(255,255,255,0.45); }

/* ---- Toolbar aurora gradient animation ---- */
@keyframes toolbar-aurora {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 100%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}

@keyframes toolbar-line-flow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ---- Top Toolbar ---- */
.studio-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0 var(--space-5);
  min-height: 60px;
  flex-wrap: wrap;
  background: linear-gradient(
    125deg,
    #0d0d1a 0%,
    #1a0a2e 15%,
    #0f1a35 30%,
    #1a0e2e 45%,
    #0a1a20 60%,
    #1e0a2a 75%,
    #0d0d1a 100%
  );
  background-size: 300% 300%;
  animation: toolbar-aurora 8s ease infinite;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  overflow-x: auto;
  z-index: 10;
  position: relative;
}

/* Glowing accent line at bottom */
.studio-toolbar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,59,92,0.7) 15%,
    rgba(168,85,247,0.8) 35%,
    rgba(56,189,248,0.7) 55%,
    rgba(255,59,92,0.7) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: toolbar-line-flow 4s linear infinite;
  pointer-events: none;
}

/* Soft noise overlay for depth */
.studio-toolbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 120% at 20% 50%, rgba(168,85,247,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 40% 100% at 80% 50%, rgba(56,189,248,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.studio-back {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
/* .studio-back:hover in @media (hover: hover) block below */

.studio-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.studio-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
}
/* Match nav.css text colours on dark toolbar */
.studio-logo .nav-logo-text b    { color: #fff; line-height: 1; }
.studio-logo .nav-logo-text span { color: rgba(255,255,255,0.45); line-height: 1; display: block; }

/* Shape tabs in toolbar */
.studio-shape-tabs {
  display: flex;
  gap: var(--space-1);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 4px;
}

.studio-shape-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: none;
}
.studio-shape-tab svg {
  width: 22px;
  height: 22px;
  fill: rgba(255,255,255,0.4);
  transition: fill var(--transition-fast);
}
.studio-shape-tab span {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
/* .studio-shape-tab:hover rules in @media (hover: hover) block below */
.studio-shape-tab.active {
  background: var(--color-primary);
}
.studio-shape-tab.active svg { fill: white; }
.studio-shape-tab.active span { color: rgba(255,255,255,0.9); }

/* Size + Qty in toolbar */
.studio-size-group {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

.studio-size-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Width / Height steppers */
.studio-dim-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.studio-dim-btn {
  width: 26px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}
/* .studio-dim-btn:hover in @media (hover: hover) block below */
.studio-dim-input {
  width: 42px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  padding: 0;
  /* hide spinners */
  -moz-appearance: textfield;
}
.studio-dim-input::-webkit-outer-spin-button,
.studio-dim-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.studio-dim-unit {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  padding-right: 2px;
}

/* Aspect ratio lock button */
.studio-lock-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
/* .studio-lock-btn:hover in @media (hover: hover) block below */
.studio-lock-btn.locked {
  background: rgba(99,102,241,0.25);
  border-color: rgba(99,102,241,0.55);
  color: #a5b4fc;
}

.studio-select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: white;
  font-size: var(--text-sm);
  padding: 0.4rem 1.8rem 0.4rem 0.75rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  cursor: pointer;
  outline: none;
}

.studio-qty-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.studio-qty-wrap button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
}
/* .studio-qty-wrap button:hover in @media (hover: hover) block below */
.studio-qty-wrap input {
  width: 46px;
  text-align: center;
  background: none;
  border: none;
  color: white;
  font-size: var(--text-sm);
  font-weight: 700;
  outline: none;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 4px 0;
}

/* Price + CTA */
.studio-price-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.studio-price {
  text-align: right;
}
.studio-price-total {
  font-size: var(--text-xl);
  font-weight: 800;
  color: white;
  line-height: 1;
}
.studio-price-unit {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ---- Main Layout ---- */
.studio-main {
  display: grid;
  grid-template-columns: 1fr 460px;
  flex: 1;
  overflow: hidden;
}

/* ---- Left Panel ---- */
.studio-left {
  background: #1A1A2E;
  border-right: 1px solid rgba(255,255,255,0.07);
  overflow-y: auto;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-height: 0;   /* same fix as right panel */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.studio-panel-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-3);
}

/* Material cards */
.studio-material-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.studio-material-option { cursor: pointer; }
.studio-material-option input { display: none; }

.studio-material-body {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}
/* .studio-material-body:hover in @media (hover: hover) block below */
.studio-material-option input:checked + .studio-material-body {
  border-color: var(--color-primary);
  background: rgba(255,59,92,0.12);
}

.studio-material-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.studio-material-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  line-height: 1.2;
}
.studio-material-desc {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}

/* Finish pills */
.studio-finish-grid {
  display: flex;
  gap: var(--space-2);
}
.studio-finish-option { flex: 1; cursor: pointer; }
.studio-finish-option input { display: none; }
.studio-finish-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
}
/* .studio-finish-body:hover in @media (hover: hover) block below */
.studio-finish-option input:checked + .studio-finish-body {
  border-color: var(--color-primary);
  background: rgba(255,59,92,0.12);
}
.studio-finish-icon { font-size: 1.4rem; }
.studio-finish-name {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.studio-finish-holo .studio-finish-body {
  background: linear-gradient(-45deg, rgba(255,59,92,0.15), rgba(0,212,255,0.15), rgba(139,92,246,0.15));
  background-size: 300% 300%;
  animation: holo-shift 3s ease infinite;
}

.studio-finish-option input:checked + .studio-finish-holo-body {
  border-color: #00D4FF;
}

/* ---- Center: Canvas Area ---- */
.studio-canvas-area {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

/* Scrollable canvas zone — grows to fill space */
.studio-canvas-scroll {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1.5rem 1.5rem 5rem;
  background: inherit;
}

/* Fixed footer — zoom + finish button, never scrolls */
.studio-canvas-footer {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  pointer-events: none;
}
.studio-canvas-footer > * {
  pointer-events: all;
}

.studio-canvas-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,59,92,0.06) 0%, transparent 65%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* ---- Light workspace mode ---- */
.studio-canvas-area.workspace-light {
  background: #f0f0f0;
}
.studio-canvas-area.workspace-light .studio-canvas-bg {
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.07) 0%, transparent 65%);
}
.studio-canvas-area.workspace-light .studio-zoom-bar {
  background: rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.1);
  color: #333;
}
.studio-canvas-area.workspace-light .studio-zoom-bar button {
  color: #333;
}
.studio-canvas-area.workspace-light .studio-drag-hint {
  color: rgba(0,0,0,0.35);
}

.studio-canvas-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

#sticker-preview-canvas {
  display: block;
  border-radius: 0;
  cursor: grab;
  transition: box-shadow var(--transition-base);
}
#sticker-preview-canvas:active { cursor: grabbing; }

.studio-canvas-shadow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
  bottom: -30px;
  top: auto;
  height: 40px;
  z-index: -1;
  filter: blur(12px);
}

/* Zoom controls */
.studio-zoom-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
}
.studio-zoom-bar button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
  flex-shrink: 0;
}
/* .studio-zoom-bar button:hover in @media (hover: hover) block below */
.studio-zoom-pct {
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  min-width: 38px;
  text-align: center;
}
.studio-zoom-bar .zoom-reset {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0 var(--space-2);
  border-left: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition-fast);
  background: none;
  border-top: none;
  border-bottom: none;
  border-right: none;
  width: auto;
  height: auto;
  border-radius: 0;
}
/* .studio-zoom-bar .zoom-reset:hover in @media (hover: hover) block below */

.studio-drag-hint {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  margin-top: var(--space-2);
}

/* ---- Right Panel ---- */
.studio-right {
  background: #1A1A2E;
  border-left: 1px solid rgba(255,255,255,0.07);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;   /* lets CSS Grid constrain height so overflow-y works */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.studio-right-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.studio-right-tabs::-webkit-scrollbar { display: none; }

.studio-right-tab {
  flex: 1;
  min-width: 0;
  padding: var(--space-3) var(--space-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
}
/* .studio-right-tab:hover in @media (hover: hover) block below */
.studio-right-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.studio-right-panel { display: none; padding: var(--space-5); }
.studio-right-panel.active { display: block; }

/* Adjustment rows inside right panel */
.s-row {
  margin-bottom: var(--space-5);
}

.s-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.s-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
}

.s-value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

/* Dark range slider */
.s-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  outline: none;
  cursor: pointer;
}
.s-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255,59,92,0.5);
  transition: transform var(--transition-fast);
}
/* .s-range::-webkit-slider-thumb:hover in @media (hover: hover) block below */
.s-range::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
}

/* Dark toggle */
.s-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: var(--space-4);
}
.s-toggle input { display: none; }
.s-toggle-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.s-toggle-track {
  width: 40px;
  height: 22px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  position: relative;
  transition: background var(--transition-base);
  flex-shrink: 0;
}
.s-toggle-thumb {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: white;
  top: 3px; left: 3px;
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.s-toggle input:checked + .s-toggle-track { background: var(--color-primary); }
.s-toggle input:checked + .s-toggle-track .s-toggle-thumb { transform: translateX(18px); }

/* Button group (dark) */
.s-btn-group {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.s-btn {
  padding: var(--space-2) var(--space-3);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all var(--transition-fast);
}
/* .s-btn:hover in @media (hover: hover) block below */
.s-btn.active {
  background: rgba(255,59,92,0.2);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.s-btn-reset {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
  padding: 0;
  transition: color var(--transition-fast);
}
/* .s-btn-reset:hover in @media (hover: hover) block below */

/* Color picker (dark) */
.s-color-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.s-color {
  width: 32px; height: 32px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.15);
  cursor: pointer;
  padding: 2px;
  background: none;
  transition: border-color var(--transition-fast);
  flex-shrink: 0;
}
/* .s-color:hover in @media (hover: hover) block below */
.s-color-hex {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  font-family: monospace;
}
.s-color-presets {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}
.s-preset {
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
/* .s-preset:hover in @media (hover: hover) block below */
.s-preset.active { border-color: white; transform: scale(1.1); }

/* Section divider */
.s-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: var(--space-4) 0;
}

/* Corner radius row (shown for square/rect) */
#s-corner-row { display: none; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .studio-main {
    grid-template-columns: 1fr 260px;
  }
}

@media (max-width: 900px) {
  .studio-main {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
    overflow-y: auto;
  }
  .studio-left {
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: var(--space-4);
  }
  .studio-canvas-area {
    min-height: 360px;
    padding: var(--space-6) 0;
  }
  .studio-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    max-height: 340px;
  }
  .studio-shape-tabs { display: none; }
}

@media (max-width: 640px) {
  .studio-toolbar { gap: var(--space-2); padding: 0 var(--space-3); }
  .studio-size-group { display: none; }
  .studio-price-unit { display: none; }
}

/* ---- Hover effects — real pointer devices only (prevents double-tap on mobile) ---- */
@media (hover: hover) and (pointer: fine) {
  .studio-back:hover { color: white; }
  .studio-shape-tab:hover { background: rgba(255,255,255,0.08); }
  .studio-shape-tab:hover svg { fill: rgba(255,255,255,0.8); }
  .studio-shape-tab:hover span { color: rgba(255,255,255,0.7); }
  .studio-dim-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .studio-lock-btn:hover { background: rgba(255,255,255,0.14); color: #fff; }
  .studio-qty-wrap button:hover { background: rgba(255,255,255,0.1); color: white; }
  .studio-material-body:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
  .studio-finish-body:hover { border-color: rgba(255,255,255,0.2); }
  .studio-zoom-bar button:hover { background: rgba(255,255,255,0.12); color: white; }
  .studio-zoom-bar .zoom-reset:hover { color: white; background: none; }
  .studio-right-tab:hover { color: rgba(255,255,255,0.7); }
  .s-range::-webkit-slider-thumb:hover { transform: scale(1.25); }
  .s-btn:hover { background: rgba(255,255,255,0.14); color: white; border-color: rgba(255,255,255,0.25); }
  .s-btn-reset:hover { color: rgba(255,255,255,0.6); }
  .s-color:hover { border-color: var(--color-primary); }
  .s-preset:hover { transform: scale(1.2); border-color: rgba(255,255,255,0.4); }
}

.dc-mode-btn {
  font-size: 11px;
  padding: 0.45rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
}
.dc-mode-btn.active {
  background: rgba(255, 59, 92, 0.25);
  border-color: rgba(255, 59, 92, 0.6);
  color: #fff;
}
