/* Theme Builder / Configurator modal and controls */
.theme-builder-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 24, 46, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 1;
  transition: opacity 0.2s ease;
}
.theme-builder-overlay.hidden {
  display: none !important;
}

.theme-builder-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1160px;
  max-height: calc(100vh - 32px);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(10, 25, 48, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.4);
  overflow: hidden;
  animation: tbModalSlideIn 0.22s ease-out;
}

@keyframes tbModalSlideIn {
  from { opacity: 0; transform: scale(0.97) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.theme-builder-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #eef2f7;
  background: #fafcff;
}
.theme-builder-header-text h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #102a4d;
}
.theme-builder-subtitle {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #5d7189;
}
.theme-builder-close {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #62768e;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.theme-builder-close:hover {
  background: #edf2f8;
  color: #102a4d;
}

.theme-builder-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

/* Left column - Form */
.theme-builder-form-col {
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tb-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid #f0f3f8;
  padding-bottom: 18px;
}
.tb-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.tb-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #3b506b;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Presets Grid */
.tb-presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}
.tb-preset-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #dce4ee;
  background: #ffffff;
  color: #1a304e;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.tb-preset-btn:hover {
  border-color: #2563eb;
  background: #f4f8ff;
  transform: translateY(-1px);
}
.tb-preset-btn.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}
.tb-preset-icon {
  font-size: 1.1rem;
}

/* Text & Form Fields */
.tb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tb-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3f5570;
}
.tb-input {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #d4deea;
  font-size: 0.88rem;
  color: #102845;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tb-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Colors Grid */
.tb-colors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.tb-color-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tb-color-row label {
  font-size: 0.77rem;
  font-weight: 600;
  color: #4b627e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tb-color-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 1px solid #d4deea;
  border-radius: 8px;
  background: #ffffff;
}
.tb-color-input-wrap:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
.tb-color-picker {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  flex: none;
}
.tb-color-picker::-webkit-color-swatch-wrapper { padding: 0; }
.tb-color-picker::-webkit-color-swatch {
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
}
.tb-color-val {
  border: 0;
  outline: none;
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 0.78rem;
  color: #1c324c;
  background: transparent;
  padding: 2px 0;
}

/* Toggles & Checkboxes */
.tb-toggles-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tb-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.tb-toggle-row:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.tb-toggle-row input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
  flex: none;
}
.tb-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tb-toggle-label strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
}
.tb-toggle-label span {
  font-size: 0.76rem;
  color: #64748b;
}

/* Preview sits under the form, across the whole editor. */
.theme-builder-preview-col {
  flex: none;
  border-top: 1px solid #eef2f7;
  background: #f8fafd;
  padding: 12px 20px 14px;
  display: flex;
  flex-direction: column;
}
.theme-builder-preview-col.is-collapsed {
  padding-bottom: 10px;
}
.theme-builder-preview-col.is-collapsed .tb-preview-body,
.theme-builder-preview-col.is-collapsed .tb-preview-views {
  display: none;
}
.tb-preview-sticky {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tb-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tb-preview-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 2px 4px 2px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #3b506b;
}
.tb-preview-toggle:hover .tb-preview-title {
  color: #102a4d;
}
.tb-preview-chevron {
  flex: none;
  transition: transform 0.16s ease;
}
.theme-builder-preview-col.is-collapsed .tb-preview-chevron {
  transform: rotate(-90deg);
}
.tb-preview-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #3b506b;
}
.tb-preview-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tb-preview-views {
  display: flex;
  gap: 6px;
}
.tb-view-btn {
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
}
.tb-view-btn.active {
  background: #2a1458;
  color: #ffffff;
  border-color: #2a1458;
}

/* Mockup Frame */
.tb-gta-picks-wrap { margin-top: 8px; }
.tb-gta-picks {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 2px 4px;
}
.tb-gta-pick {
  flex: none;
  width: 108px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}
.tb-gta-pick img {
  display: block;
  width: 108px;
  height: 60px;
  object-fit: cover;
  background: #1e1038;
}
.tb-gta-pick span {
  display: block;
  padding: 3px 6px 5px;
  font-size: 0.68rem;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tb-gta-pick:hover { border-color: #f9a8d4; }
.tb-gta-pick.active { border-color: #ff4f93; }
.tb-gta-picks.is-side .tb-gta-pick { width: 76px; }
.tb-gta-picks.is-side .tb-gta-pick img { width: 76px; height: 124px; }
.tb-preview-drag-hint {
  margin: 8px 0 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #64748b;
}
.tb-preview-drag-hint-top {
  margin: 0 0 8px;
}
.tb-mockup-place-readout {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 12;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.72rem;
  pointer-events: none;
  white-space: nowrap;
}
.tb-mockup-place-readout[hidden] { display: none !important; }
.tb-mockup-sidebar.tb-can-drag,
.tb-mockup-chat.tb-can-drag {
  cursor: grab;
  touch-action: none;
}
.tb-mockup-sidebar.is-dragging,
.tb-mockup-chat.is-dragging {
  cursor: grabbing;
}
.tb-mockup-stage {
  display: flex;
  justify-content: center;
}
.tb-mockup-frame {
  /* Same 16:10 window as the desktop app, not a panoramic strip. */
  --tb-win-h: min(48vh, 520px);
  position: relative;
  height: var(--tb-win-h);
  width: min(100%, calc(var(--tb-win-h) * 1.6));
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  background: #ffffff;
}
.tb-mockup-frame[data-view="chat"] {
  /* Chat pane is (screen minus rail and sidebar): closer to 5:4 than 16:9. */
  width: min(100%, calc(var(--tb-win-h) * 1.28));
}
.tb-mockup-frame[data-view="side"] {
  width: min(220px, 100%);
  height: var(--tb-win-h);
}

/* Mockup Rail */
.tb-mockup-rail {
  position: relative;
  width: 5.3%;
  min-width: 40px;
  max-width: 56px;
  flex: none;
  background: #10305a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 14px;
  z-index: 4;
}
.tb-mockup-logo {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7ec8e3;
}
.tb-mockup-icicles {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 125%;
  background: url('/wallpapers/winter-icicles.svg') center top / 100% 100% no-repeat;
  pointer-events: none;
}
.tb-mockup-icicles.hidden { display: none !important; }
.tb-mockup-rail-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dce9f9;
}
.tb-mockup-rail-icon.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

/* Mockup Sidebar */
.tb-mockup-sidebar {
  position: relative;
  width: 20.3%;
  min-width: 148px;
  max-width: 210px;
  flex: none;
  background: linear-gradient(180deg, #10325B 0%, #2B629D 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  color: #ffffff;
  font-size: 0.72rem;
  z-index: 3;
  overflow: hidden;
}
.tb-mockup-sb-header {
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 2px;
}
.tb-mockup-search {
  padding: 4px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #9bbbe0;
  font-size: 0.65rem;
}
.tb-mockup-section-title {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #dce9f9;
  margin-top: 6px;
}
.tb-mockup-item {
  padding: 4px 6px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 0.68rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tb-mockup-item.active {
  background: rgba(116, 174, 232, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* Mockup Chat */
.tb-mockup-chat {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tb-mockup-wallpaper {
  position: absolute;
  inset: 0;
  background: #a8cff4;
  z-index: 0;
}
.tb-mockup-glass {
  position: absolute;
  inset: 8px;
  z-index: 1;
  border-radius: 16px;
  background: var(--glass-window-bg, rgba(16, 7, 30, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 12px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.tb-mockup-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Mockup Chat Header */
.tb-mockup-chat-header {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  z-index: 3;
}
.tb-mockup-snowcap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  border: solid transparent;
  border-width: 20px 22px 5px;
  border-image: url('/wallpapers/winter-header-frost.png') 145 150 80 / 20px 22px 5px / 0 stretch;
  pointer-events: none;
}
.tb-mockup-snowcap.hidden { display: none !important; }
.tb-mockup-head-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7c3aed;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex: none;
}
.tb-mockup-head-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #102845;
}

/* Mockup Messages */
.tb-mockup-messages {
  position: relative;
  flex: 1 1 auto;
  padding: 58px 14px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  z-index: 2;
  overflow-y: auto;
}
.tb-mockup-msg {
  display: flex;
  max-width: 86%;
}
.tb-mockup-msg.incoming { align-self: flex-start; }
.tb-mockup-msg.outgoing { align-self: flex-end; }
.tb-mockup-bubble {
  padding: 6px 9px;
  border-radius: 10px;
  font-size: 0.68rem;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.tb-mockup-msg.incoming .tb-mockup-bubble {
  background: rgba(255, 255, 255, 0.9);
  color: #102845;
  border-bottom-left-radius: 3px;
}
.tb-mockup-msg.outgoing .tb-mockup-bubble {
  background: #2563eb;
  color: #ffffff;
  border-bottom-right-radius: 3px;
}
.tb-mockup-time {
  font-size: 0.58rem;
  align-self: flex-end;
  opacity: 0.8;
}

/* Mockup Composer */
.tb-mockup-composer {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  margin: 0;
  padding: 4px 6px 4px 10px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.tb-mockup-input {
  font-size: 0.68rem;
  color: #5d7189;
}
.tb-mockup-send {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* Footer */
.theme-builder-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid #eef2f7;
  background: #fafcff;
}
.tb-footer-left,
.tb-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Edit icon on theme cards */
.theme-choice-edit {
  position: absolute;
  top: 4px;
  right: 30px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 50, 92, 0.08);
  color: #5d6d84;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  padding: 0;
  z-index: 2;
}
.theme-choice:hover .theme-choice-edit {
  opacity: 1;
  pointer-events: auto;
}
.theme-choice-edit:hover {
  background: var(--accent, #1c58d9);
  color: #ffffff;
  transform: scale(1.08);
}
.theme-choice-edit svg {
  display: block;
  pointer-events: none;
}

.tb-mockup-frame[data-view="chat"] .tb-mockup-rail,
.tb-mockup-frame[data-view="chat"] .tb-mockup-sidebar { display: none; }
.tb-mockup-frame[data-view="side"] .tb-mockup-chat { display: none; }
.tb-mockup-frame[data-view="side"] .tb-mockup-sidebar { width: auto; flex: 1 1 auto; }

@media (max-width: 900px) {
  .tb-mockup-frame {
    --tb-win-h: min(36vh, 360px);
  }
}

/* Image Field Upload in Theme Builder */
.tb-image-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 4px;
}
.tb-image-field-wrap label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tb-image-upload-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tb-img-url-input {
  flex: 1 1 auto;
  font-size: 0.8rem;
  padding: 6px 10px;
}
.tb-upload-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.78rem;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  white-space: nowrap;
  flex: none;
}
.tb-upload-file-btn:hover {
  background: #f1f5f9;
  border-color: #2563eb;
  color: #2563eb;
}
.tb-clear-img-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 6px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
}
.tb-clear-img-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}
.tb-img-quick-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  margin-top: 2px;
}
.tb-quick-pick-label {
  color: #64748b;
  font-weight: 600;
}
.tb-quick-pick-btn {
  padding: 2px 7px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #d4deea;
  color: #334155;
  cursor: pointer;
  font-size: 0.72rem;
  transition: all 0.12s ease;
}
.tb-quick-pick-btn:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}

/* Image manual alignment and sizing controls */
.tb-img-adjust-box {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tb-adjust-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tb-adjust-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}
.tb-adjust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.tb-adjust-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tb-adjust-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
}
.tb-adjust-label {
  color: #64748b;
  font-weight: 500;
}
.tb-adjust-num {
  color: #1e293b;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tb-range-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #cbd5e1;
  outline: none;
  cursor: pointer;
  accent-color: #2563eb;
}
.tb-range-slider::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.tb-btn-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tb-toggle-btn {
  padding: 3px 8px;
  font-size: 0.7rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.12s ease;
}
.tb-toggle-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #1e293b;
}
.tb-toggle-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
}
.tb-custom-zoom-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 6px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  margin-top: 4px;
}
.tb-pos-quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}



.tb-mockup-logo > img { width: 100%; height: 100%; object-fit: contain; }

.tb-mockup-logo.winter-frost > img { content: url('/wallpapers/winter-logo-v2.png'); }
.tb-mockup-logo.winter-frost > .tb-mockup-icicles { display: none !important; }

/* Snow covers the rail, sidebar and chat in the configurator preview. */
#tb-mockup-frame > .tb-mockup-canvas { z-index: 10; pointer-events: none; }
