/* ============================================================================
 * ZENPHOTO BRAND STUDIO (KIẾN TRÀ EDITION) — MOBILE APP UI STYLESHEET
 * Adheres to Global Engineering Constitution & Frontend-Design Skill:
 * - Mobile-First Progressive Enhancement (320px -> 4K)
 * - Zero Horizontal Scroll, 100dvh Fullscreen Mobile App Shell
 * - Touch-friendly Targets >= 44px x 44px, Safe-Area Insets (iOS/Android)
 * - Imperial Gold & Agarwood Palette (Strictly NO Purple)
 * - High-End Photorealistic Smartphone Simulator Frame on Desktop
 * ============================================================================ */

:root {
  --mobile-topbar-h: 50px;
  --mobile-tabbar-h: 58px;
  --mobile-safe-top: env(safe-area-inset-top, 0px);
  --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
  --mobile-safe-left: env(safe-area-inset-left, 0px);
  --mobile-safe-right: env(safe-area-inset-right, 0px);
}

/* ----------------------------------------------------------------------------
 * 1. Root Viewport Container & Responsive Modes
 * ---------------------------------------------------------------------------- */
body.mobile-viewport-container {
  margin: 0;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #050403;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans, "Be Vietnam Pro", sans-serif);
}

/* Base Mobile App Shell */
.mobile-app-shell {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-base, #090807);
  touch-action: manipulation;
  overscroll-behavior: none;
  box-sizing: border-box;
}

/* Tablet Responsive Optimization (641px - 1023px) */
@media (min-width: 641px) and (max-width: 1023px) {
  .mobile-app-shell {
    max-width: 480px;
    height: 100dvh;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
  }
}

/* Desktop Viewport Simulator Frame (Active on Desktop >= 1024px) */
@media (min-width: 1024px) {
  body.desktop-simulator-active {
    background: radial-gradient(ellipse at 50% 35%, #181410 0%, #050403 100%);
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
  }

  body.desktop-simulator-active .mobile-app-shell {
    width: 414px;
    height: 870px;
    max-height: min(870px, calc(100vh - 24px), calc(100dvh - 24px));
    border-radius: 44px;
    border: 9px solid #231E19;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(212, 175, 55, 0.25), 0 0 40px rgba(212, 175, 55, 0.08);
    position: relative;
    overflow: hidden;
  }

  /* Mock iPhone / Pixel Dynamic Island Notch */
  body.desktop-simulator-active .mobile-simulator-notch {
    display: block;
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 18px;
    background: #000000;
    border-radius: 9999px;
    z-index: 50;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  }

  /* Mock Home Indicator Bar */
  body.desktop-simulator-active .mobile-simulator-home-bar {
    display: block;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 128px;
    height: 4px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 9999px;
    z-index: 50;
    pointer-events: none;
  }
}

.mobile-simulator-notch,
.mobile-simulator-home-bar {
  display: none;
}

/* Touch targets >= 44px */
.mobile-touch-target {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------------------------------------
 * 2. Mobile Top Navigation Bar
 * ---------------------------------------------------------------------------- */
.mobile-topbar {
  height: calc(var(--mobile-topbar-h) + var(--mobile-safe-top));
  padding-top: var(--mobile-safe-top);
  padding-left: max(10px, var(--mobile-safe-left));
  padding-right: max(10px, var(--mobile-safe-right));
  background: rgba(14, 12, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  z-index: 40;
}

.mobile-brand-title {
  font-family: var(--font-serif, "Playfair Display", serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-gold-400, #D4AF37);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ----------------------------------------------------------------------------
 * 3. Mobile Stage Viewport (Hero Area)
 * ---------------------------------------------------------------------------- */
.mobile-stage-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #070605;
  background-image: radial-gradient(circle at center, #1b1612 0%, #070605 85%);
  padding: 8px;
}

.mobile-canvas-wrap {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.12);
  touch-action: none !important;
}

.mobile-canvas-wrap canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none !important;
  cursor: grab;
}

.mobile-canvas-wrap canvas:active {
  cursor: grabbing;
}

/* Floating Capsule HUDs on Canvas */
.mobile-floating-capsule {
  position: absolute;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 16, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9999px;
  padding: 5px 11px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold-300, #EBD197);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-floating-capsule:active {
  transform: scale(0.95);
  background: rgba(28, 24, 20, 0.98);
}

.mobile-floating-capsule-tl {
  top: 10px;
  left: 10px;
}

.mobile-floating-capsule-tr {
  top: 10px;
  right: 10px;
}

.mobile-floating-capsule-bl {
  bottom: 10px;
  left: 10px;
}

.mobile-floating-capsule-br {
  bottom: 10px;
  right: 10px;
}

/* ----------------------------------------------------------------------------
 * 4. Mobile Bottom Control Deck (Thumb Zone)
 * ---------------------------------------------------------------------------- */
.mobile-bottom-deck {
  flex-shrink: 0;
  background: linear-gradient(180deg, #15120F 0%, #0E0C0A 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  display: flex;
  flex-direction: column;
  z-index: 35;
  transition: height 0.22s ease-out;
  max-height: 48vh;
  max-height: 48dvh;
  overflow-y: auto;
}

/* Collapsible drawer handle */
.mobile-deck-draghandle {
  width: 38px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(212, 175, 55, 0.25);
  margin: 6px auto 4px auto;
  cursor: grab;
  flex-shrink: 0;
}

/* Category Filter Chips Scroller */
.mobile-cat-scroller {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 12px 6px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-cat-scroller::-webkit-scrollbar {
  display: none;
}

.mobile-cat-chip {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 600;
  background: #1A1714;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #A89F91;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}

.mobile-cat-chip:active {
  transform: scale(0.94);
}

.mobile-cat-chip.active {
  background: rgba(212, 175, 55, 0.20);
  border-color: var(--accent-gold-400, #D4AF37);
  color: var(--accent-gold-300, #EBD197);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

/* Horizontal Parameter Chips Scroller */
.mobile-chip-scroller {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-chip-scroller::-webkit-scrollbar {
  display: none;
}

.mobile-chip {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  background: #1C1915;
  border: 1px solid rgba(212, 175, 55, 0.14);
  color: var(--text-secondary, #C8BFB3);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-chip:active {
  transform: scale(0.96);
}

.mobile-chip.active {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--accent-gold-400, #D4AF37);
  color: var(--accent-gold-300, #EBD197);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.mobile-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold-400, #D4AF37);
}

/* Focused Precision Thumb Slider Section */
.mobile-focused-slider-wrap {
  padding: 8px 16px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-slider-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-slider-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary, #EDE8E1);
  display: flex;
  align-items: center;
  gap: 5px;
}

.mobile-slider-value-pill {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold-300, #EBD197);
  background: #1C1915;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2px 10px;
  border-radius: 9999px;
  min-width: 54px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.mobile-thumb-slider-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.mobile-thumb-slider-zero-tick {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background: rgba(212, 175, 55, 0.45);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 10;
}

.mobile-thumb-slider {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: #25221E;
  outline: none;
  cursor: pointer;
  margin: 6px 0;
}

.mobile-thumb-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFF5D6;
  border: 3px solid var(--accent-gold-400, #D4AF37);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 12px rgba(212, 175, 55, 0.6);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.mobile-thumb-slider::-webkit-slider-thumb:active {
  transform: scale(1.22);
}

.mobile-thumb-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFF5D6;
  border: 3px solid var(--accent-gold-400, #D4AF37);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

/* ----------------------------------------------------------------------------
 * 5. Mobile Bottom Tab Bar (Fixed at Base)
 * ---------------------------------------------------------------------------- */
.mobile-tabbar {
  height: calc(var(--mobile-tabbar-h) + var(--mobile-safe-bottom));
  padding-bottom: var(--mobile-safe-bottom);
  padding-left: max(4px, var(--mobile-safe-left));
  padding-right: max(4px, var(--mobile-safe-right));
  background: rgba(10, 9, 8, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  flex-shrink: 0;
  z-index: 40;
}

.mobile-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 0;
  min-height: 44px;
  color: var(--text-muted, #8C8275);
  font-size: 10px;
  font-weight: 500;
  background: transparent;
  border: none !important;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease, transform 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}

.mobile-tab-btn:focus,
.mobile-tab-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.mobile-tab-btn i {
  font-size: 19px;
  transition: transform 0.15s ease;
}

.mobile-tab-btn:active {
  transform: scale(0.92);
}

.mobile-tab-btn.active {
  color: var(--accent-gold-400, #D4AF37);
  font-weight: 700;
}

.mobile-tab-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  border-radius: 9999px;
  background: var(--accent-gold-400, #D4AF37);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

.mobile-tab-btn.active i {
  transform: translateY(-1px);
  color: var(--accent-gold-400, #D4AF37);
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

/* ----------------------------------------------------------------------------
 * 5.1. Typography Poetry Cards (Tab 4)
 * ---------------------------------------------------------------------------- */
.mobile-typo-card {
  flex-shrink: 0;
  width: 132px;
  height: 56px;
  padding: 6px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1C1915 0%, #12100E 100%);
  border: 1px solid rgba(212, 175, 55, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  outline: none !important;
  box-sizing: border-box;
}

.mobile-typo-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: linear-gradient(180deg, #241F1A 0%, #161310 100%);
}

.mobile-typo-card.active {
  border-color: #D4AF37;
  background: linear-gradient(180deg, #2A231C 0%, #1A1612 100%);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.28), inset 0 0 8px rgba(212, 175, 55, 0.08);
}

/* ----------------------------------------------------------------------------
 * 6. Presets Carousel Cards (Horizontal Swipe)
 * ---------------------------------------------------------------------------- */
.mobile-preset-card {
  flex-shrink: 0;
  width: 86px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1C1915 0%, #12100E 100%);
  border: 1px solid rgba(212, 175, 55, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.mobile-preset-card:active {
  transform: scale(0.94);
}

.mobile-preset-card.active {
  border-color: var(--accent-gold-400, #D4AF37);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.22) 0%, rgba(26, 23, 20, 0.95) 100%);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

.mobile-preset-card .preset-thumb-preview {
  width: 100%;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

.mobile-preset-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--accent-gold-300, #EBD197);
  border: 0.5px solid rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
}

.mobile-preset-card .preset-title {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-secondary, #C8BFB3);
  text-align: center;
  line-height: 1.2;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-preset-card.active .preset-title {
  color: var(--accent-gold-300, #EBD197);
  font-weight: 700;
}

/* ----------------------------------------------------------------------------
 * 7. 8-Band Color Equalizer Swatches (Mobile)
 * ---------------------------------------------------------------------------- */
.mobile-color-band-btn {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  position: relative;
}

.mobile-color-band-btn:active {
  transform: scale(0.88);
}

.mobile-color-band-btn.active {
  border-color: #FFFFFF;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.65), 0 0 0 2px var(--accent-gold-400, #D4AF37);
  transform: scale(1.18);
}

.mobile-color-band-btn.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-gold-400, #D4AF37);
  box-shadow: 0 0 6px var(--accent-gold-400, #D4AF37);
}

/* ----------------------------------------------------------------------------
 * 8. 3x3 Position Grid for Brand Seal Compass
 * ---------------------------------------------------------------------------- */
.pos-grid-btn {
  height: 32px;
  border-radius: 8px;
  background: #181512;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #A89F91;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.pos-grid-btn:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--accent-gold-300, #EBD197);
}

.pos-grid-btn.active {
  background: var(--accent-gold-400, #D4AF37);
  color: #090807;
  font-weight: 700;
  border-color: var(--accent-gold-300, #EBD197);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transform: scale(1.04);
}

/* ----------------------------------------------------------------------------
 * 9. Custom Toggle Switch Component
 * ---------------------------------------------------------------------------- */
.mobile-switch-track {
  width: 36px;
  height: 20px;
  border-radius: 9999px;
  background: #2A2520;
  position: relative;
  transition: background 0.2s ease;
  cursor: pointer;
}

.mobile-switch-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #EDE8E1;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
}

input:checked + .mobile-switch-track {
  background: var(--accent-gold-400, #D4AF37);
}

input:checked + .mobile-switch-track .mobile-switch-thumb {
  transform: translateX(16px);
  background: #090807;
}

/* ----------------------------------------------------------------------------
 * 10. Mobile Bottom Sheet Modal (Drawer)
 * ---------------------------------------------------------------------------- */
.mobile-sheet-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sheet-content {
  background: #14110E;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 22px 22px 0 0;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  padding: 18px;
  padding-bottom: max(22px, var(--mobile-safe-bottom));
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.mobile-sheet-backdrop.open .mobile-sheet-content {
  transform: translateY(0);
}

/* ----------------------------------------------------------------------------
 * 12. Sub-tab Art & Overlay Blend Controls (Tab 4)
 * ---------------------------------------------------------------------------- */
.subtab-art-btn {
  outline: none !important;
  border: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none;
}

.corner-color-btn,
.corner-toggle-btn,
.corner-blend-btn {
  outline: none !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent !important;
}

/* ----------------------------------------------------------------------------
 * 13. Social Media Border & Frame Layout Controls (Tab 4)
 * ---------------------------------------------------------------------------- */
.border-preset-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 10px;
  background: #14110E;
  border: 1px solid #2A241E;
  color: #A8A196;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.border-preset-chip:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #E2DDD5;
}

.border-preset-chip.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: #D4AF37;
  color: #F3E5AB;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.border-preset-chip i {
  font-size: 13px;
  color: #D4AF37;
}

.border-color-btn {
  outline: none !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent !important;
  transition: all 0.15s ease;
}

.border-color-btn.active {
  border-color: #D4AF37 !important;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

.typo-style-btn {
  outline: none !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.typo-style-btn:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #E2DDD5;
}

.typo-style-btn.active {
  background: #D4AF37 !important;
  color: #090807 !important;
  font-weight: 700 !important;
  border-color: #D4AF37 !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.35) !important;
}


