:root,
[data-theme="night"],
html {
  --bg: #070708;
  --surface: #111216;
  --surface-soft: #181920;
  --surface-strong: #20222b;
  --ink: #f4f4f6;
  --ink-2: #d8dae5;
  --muted: #a4a7b5;
  --muted-2: #828594;
  --line: #292b35;
  --line-strong: #3d4050;
  --accent: #ff5c35;
  --accent-dark: #db3f1c;
  --accent-soft: rgba(255, 92, 53, 0.14);
  --green: #10b981;
  --green-soft: rgba(16, 185, 129, 0.14);
  --sand: #181920;
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.14);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  --max: 1480px;
  --header: 74px;

  /* Brand Studio Visual Accessibility & Contrast Tokens - Night Mode */
  --studio-text-primary: #ffffff;
  --studio-text-secondary: #d8dae5;
  --studio-text-muted: #a4a7b5;
  --studio-placeholder: #787b8a;
  --studio-panel-light: #111216;
  --studio-panel-light-alt: #181920;
  --studio-border-light: #3d4050;
  --studio-border-focus: #7B41E7;
  --studio-accent: #7B41E7;
  --studio-accent-hover: #6530D4;
  --studio-accent-active-bg: rgba(123, 65, 231, 0.16);
  --studio-accent-active-border: #7B41E7;
  --studio-accent-active-text: #b78aff;
  --studio-disabled-bg: #20222b;
  --studio-disabled-text: #828594;
  --studio-disabled-border: #3d4050;
  --studio-input-bg: #181920;
  --studio-savebar-bg: rgba(17, 18, 22, 0.94);
  --studio-savebar-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --studio-primary-btn-bg: #ffffff;
  --studio-primary-btn-text: #111216;
  --studio-primary-btn-border: #ffffff;
  --studio-primary-btn-hover-bg: #f4f4f6;
  --studio-primary-btn-hover-border: #f4f4f6;
  --studio-primary-btn-hover-text: #000000;
  --studio-secondary-btn-bg: #181920;
  --studio-secondary-btn-text: #ffffff;
  --studio-secondary-btn-border: #3d4050;
  --studio-secondary-btn-hover-bg: #20222b;
  --studio-secondary-btn-hover-border: #555869;
  --studio-secondary-btn-hover-text: #ffffff;

  /* Global Account & Profile Accessibility & Contrast Tokens */
  --account-light-control-bg: #ffffff;
  --account-light-control-text: #17181c;
  --account-light-control-border: #cfceca;
  --account-light-control-hover-bg: #f4f4f6;
  --account-light-control-hover-border: #b8b7b2;
  --account-light-control-hover-text: #000000;

  --account-disabled-bg: #e8e7e3;
  --account-disabled-text: #5a5d6a;
  --account-disabled-border: #c0c2cc;

  --account-dark-control-bg: #181920;
  --account-dark-control-text: #f4f4f6;
  --account-dark-control-border: #3d4050;
  --account-dark-control-hover-bg: #22242d;
  --account-dark-control-hover-border: #555869;

  --account-dark-disabled-bg: #1e2029;
  --account-dark-disabled-text: #787b8a;
  --account-dark-disabled-border: #353846;

  /* Night Semantic Compatibility Aliases */
  --bg-primary: #070708;
  --bg-secondary: #0a0a0c;
  --bg-tertiary: #12111a;
  --surface-primary: rgba(14, 14, 20, 0.88);
  --surface-secondary: #12111a;
  --surface-hover: rgba(24, 27, 44, 0.7);
  --text-primary: #FFFFFF;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-primary: rgba(255, 255, 255, 0.1);
  --border-secondary: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   APPROVED GLOBAL DAY TOKENS
   Mapped to existing backend semantic variables + compatibility aliases
   ========================================================================== */
[data-theme="day"],
html[data-theme="day"] {
  --bg: #F6F1EB;
  --surface: #FFFFFF;
  --surface-soft: #EEE6DE;
  --surface-strong: #DED4CC;
  --ink: #171312;
  --ink-2: #6E625D;
  --muted: #968A84;
  --muted-2: #B3A8A0;
  --line: #DED5CE;
  --line-strong: #C9BDB5;
  --accent: #7B41E7;
  --accent-dark: #6530D4;
  --accent-hover: #6530D4;
  --accent-soft: rgba(123, 65, 231, 0.12);
  --sand: #EEE6DE;
  --shadow-sm: 0 2px 8px rgba(68, 48, 45, 0.04);
  --shadow: 0 16px 48px rgba(68, 48, 45, 0.08);

  /* Approved Day Palette Tokens */
  --day-canvas-base: #F6F1EB;
  --day-canvas-soft: #FBF9F6;
  --day-surface-primary: #FFFFFF;
  --day-surface-warm: #EEE6DE;
  --day-surface-muted: #DED4CC;
  --day-text-primary: #171312;
  --day-text-secondary: #6E625D;
  --day-text-muted: #968A84;
  --day-border-soft: #DED5CE;
  --day-border-strong: #C9BDB5;
  --day-purple-100: #EFE9FF;
  --day-purple-200: #D9CAFF;
  --day-purple-400: #A27AFF;
  --day-purple-500: #7B41E7;
  --day-purple-600: #6530D4;
  --day-purple-700: #4A219E;

  /* Brand Studio Visual Accessibility & Contrast Tokens - Day Mode */
  --studio-text-primary: #171312;
  --studio-text-secondary: #6E625D;
  --studio-text-muted: #968A84;
  --studio-placeholder: #968A84;
  --studio-panel-light: #FFFFFF;
  --studio-panel-light-alt: #FAF9F6;
  --studio-border-light: #DED5CE;
  --studio-border-focus: #7B41E7;
  --studio-accent: #7B41E7;
  --studio-accent-hover: #6530D4;
  --studio-accent-active-bg: rgba(123, 65, 231, 0.12);
  --studio-accent-active-border: #7B41E7;
  --studio-accent-active-text: #6530D4;
  --studio-disabled-bg: #EEE6DE;
  --studio-disabled-text: #968A84;
  --studio-disabled-border: #DED5CE;
  --studio-input-bg: #FFFFFF;
  --studio-savebar-bg: rgba(255, 255, 255, 0.94);
  --studio-savebar-shadow: 0 10px 30px rgba(68, 48, 45, 0.08);
  --studio-primary-btn-bg: #17181c;
  --studio-primary-btn-text: #ffffff;
  --studio-primary-btn-border: #17181c;
  --studio-primary-btn-hover-bg: #000000;
  --studio-primary-btn-hover-border: #000000;
  --studio-primary-btn-hover-text: #ffffff;
  --studio-secondary-btn-bg: #ffffff;
  --studio-secondary-btn-text: #171312;
  --studio-secondary-btn-border: #DED5CE;
  --studio-secondary-btn-hover-bg: #FAF9F6;
  --studio-secondary-btn-hover-border: #C9BDB5;
  --studio-secondary-btn-hover-text: #171312;

  /* Semantic Compatibility Aliases */
  --bg-primary: #F6F1EB;
  --bg-secondary: #EEE6DE;
  --bg-tertiary: #DED4CC;
  --surface-primary: #FFFFFF;
  --surface-secondary: #EEE6DE;
  --surface-hover: #FAF9F6;
  --text-primary: #171312;
  --text-secondary: #6E625D;
  --text-muted: #968A84;
  --border-primary: #DED5CE;
  --border-secondary: #C9BDB5;
  --input-background: #FFFFFF;
  --input-border: #DED5CE;
}

/* ==========================================================================
   PHASE 2A: SHARED UI COMPONENTS (DAY THEME SUPPORT)
   ========================================================================== */
[data-theme="day"] .panel,
[data-theme="day"] .account-card,
[data-theme="day"] .brand-card-shell,
[data-theme="day"] .drop-card,
[data-theme="day"] .drop-collection,
[data-theme="day"] .collection-card,
[data-theme="day"] .collection-card-premium,
[data-theme="day"] .portfolio-card,
[data-theme="day"] .creator-card {
  background: var(--surface, #FFFFFF) !important;
  border-color: var(--line, #DED5CE) !important;
  color: var(--ink, #171312) !important;
  box-shadow: 0 2px 10px rgba(68, 48, 45, 0.05) !important;
}

[data-theme="day"] .brand-card-shell:hover,
[data-theme="day"] .panel:hover,
[data-theme="day"] .drop-collection:hover,
[data-theme="day"] .collection-card:hover,
[data-theme="day"] .collection-card-premium:hover,
[data-theme="day"] .creator-card:hover {
  border-color: var(--line-strong, #C9BDB5) !important;
  box-shadow: 0 8px 24px rgba(68, 48, 45, 0.09) !important;
}

[data-theme="day"] .creator-card-avatar {
  background: #EEE6DE !important;
  border-color: #DED5CE !important;
}

[data-theme="day"] .creator-avatar-fallback {
  color: #171312 !important;
}

[data-theme="day"] .creator-card-name {
  color: #171312 !important;
}

[data-theme="day"] .creator-card-handle {
  color: #6E625D !important;
}

[data-theme="day"] .creator-card-bio {
  color: #5C524D !important;
}

[data-theme="day"] .creator-card-meta {
  border-top-color: #E8E0D9 !important;
  color: #8C8078 !important;
}

[data-theme="day"] .creator-meta-item strong {
  color: #171312 !important;
}

[data-theme="day"] .creator-meta-date,
[data-theme="day"] .creator-meta-location {
  color: #8C8078 !important;
}

[data-theme="day"] .collection-card-thumb {
  background: #f4f3f0 !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="day"] .collection-card-thumb:hover,
[data-theme="day"] .collection-card-thumb.is-active {
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 2px rgba(123, 65, 231, 0.35), 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="day"] .collection-card-thumb-render {
  background: #ece9e2 !important;
}

[data-theme="day"] .collection-card-more-badge {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  color: var(--ink, #171312) !important;
}

[data-theme="day"] .collection-card-more-badge:hover {
  background: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="day"] .collection-card-peek-preview {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 10px 30px rgba(68, 48, 45, 0.18), 0 0 0 1px rgba(123, 65, 231, 0.25) !important;
}

[data-theme="day"] .collection-card-peek-frame {
  background: #ece9e2 !important;
}

[data-theme="day"] .collection-card-peek-title {
  background: rgba(23, 19, 18, 0.88) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

[data-theme="day"] .product-card-price {
  color: var(--ink, #171312) !important;
}

[data-theme="day"] .product-card-media,
[data-theme="day"] .awebo-product-media {
  background: var(--day-canvas-soft, #FBF9F6) !important;
}

[data-theme="day"] .favorite-heart,
.awebo-day-theme .favorite-heart {
  color: rgba(23, 24, 28, 0.88) !important;
  background: transparent !important;
}

[data-theme="day"] .favorite-heart:hover,
.awebo-day-theme .favorite-heart:hover {
  color: #000000 !important;
  background: transparent !important;
}

[data-theme="day"] .favorite-heart .favorite-heart-icon,
.awebo-day-theme .favorite-heart .favorite-heart-icon {
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
}

[data-theme="day"] .favorite-heart.is-saved,
.awebo-day-theme .favorite-heart.is-saved {
  color: #EF4444 !important;
  background: transparent !important;
}

[data-theme="day"] .favorite-heart.is-saved .favorite-heart-icon path,
.awebo-day-theme .favorite-heart.is-saved .favorite-heart-icon path {
  fill: #EF4444 !important;
  stroke: #EF4444 !important;
}

/* Form Controls & Inputs */
[data-theme="day"] input:not([type="checkbox"]):not([type="radio"]),
[data-theme="day"] select,
[data-theme="day"] textarea {
  background: #FFFFFF !important;
  border: 1px solid var(--line, #DED5CE) !important;
  color: var(--ink, #171312) !important;
}

[data-theme="day"] input:focus,
[data-theme="day"] select:focus,
[data-theme="day"] textarea:focus {
  border-color: var(--accent, #7B41E7) !important;
  box-shadow: 0 0 0 3px rgba(123, 65, 231, 0.16) !important;
}

[data-theme="day"] input::placeholder,
[data-theme="day"] textarea::placeholder {
  color: var(--muted, #968A84) !important;
}

/* Primary & Secondary Buttons */
[data-theme="day"] .button.primary,
[data-theme="day"] button.primary {
  background: var(--accent, #7B41E7) !important;
  border-color: var(--accent, #7B41E7) !important;
  color: #FFFFFF !important;
}

[data-theme="day"] .button.primary:hover,
[data-theme="day"] button.primary:hover {
  background: var(--accent-dark, #6530D4) !important;
  border-color: var(--accent-dark, #6530D4) !important;
}

[data-theme="day"] .secondary,
[data-theme="day"] .button.secondary,
[data-theme="day"] button.secondary {
  background: var(--surface-soft, #EEE6DE) !important;
  border: 1px solid var(--line, #DED5CE) !important;
  color: var(--ink, #171312) !important;
}

[data-theme="day"] .secondary:hover,
[data-theme="day"] .button.secondary:hover,
[data-theme="day"] button.secondary:hover {
  background: #E8DFD7 !important;
  border-color: var(--line-strong, #C9BDB5) !important;
  color: var(--ink, #171312) !important;
}

/* Filters & Tabs */
[data-theme="day"] .brand-status-filters button,
[data-theme="day"] .filter-pill {
  background: var(--surface-soft, #EEE6DE) !important;
  border: 1px solid var(--line, #DED5CE) !important;
  color: var(--ink-2, #6E625D) !important;
}

[data-theme="day"] .brand-status-filters [aria-pressed="true"],
[data-theme="day"] .filter-pill.is-active {
  background: var(--day-purple-100, #EFE9FF) !important;
  border-color: var(--day-purple-400, #A27AFF) !important;
  color: var(--day-purple-600, #6530D4) !important;
}

[data-theme="day"] .discovery-tabs {
  border-bottom-color: var(--line, #DED5CE) !important;
}

[data-theme="day"] .discovery-tabs a {
  color: var(--ink-2, #6E625D) !important;
}

[data-theme="day"] .discovery-tabs a:hover {
  color: var(--ink, #171312) !important;
}

[data-theme="day"] .discovery-tabs a[aria-current="page"] {
  color: var(--ink, #171312) !important;
  border-bottom-color: var(--accent, #7B41E7) !important;
}

/* Dropdowns & Category Menu */
[data-theme="day"] #category-links,
[data-theme="day"] .account-dropdown {
  background: #FFFFFF !important;
  border: 1px solid var(--line, #DED5CE) !important;
  box-shadow: 0 12px 36px rgba(68, 48, 45, 0.12) !important;
  color: var(--ink, #171312) !important;
}

[data-theme="day"] #category-links a,
[data-theme="day"] .account-dropdown a,
[data-theme="day"] .account-dropdown button {
  color: var(--ink, #171312) !important;
}

[data-theme="day"] #category-links a:hover,
[data-theme="day"] .account-dropdown a:hover,
[data-theme="day"] .account-dropdown button:hover {
  background: var(--day-purple-100, #EFE9FF) !important;
  color: var(--day-purple-600, #6530D4) !important;
}

/* Toast Notification */
[data-theme="day"] #toast {
  background: var(--ink, #171312) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--line-strong, #C9BDB5) !important;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font:15px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
[hidden]{display:none!important}
::selection{background:#ffd8cb;color:#111}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* ---------- Shell ---------- */
.site-header{position:sticky;top:0;z-index:1000;border-bottom:1px solid rgba(223,223,217,.82);background:rgba(247,247,244,.92);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.header-inner{width:min(var(--max),calc(100% - 40px));height:var(--header);margin:auto;display:grid;grid-template-columns:auto auto minmax(220px,1fr) auto;gap:28px;align-items:center}
.brand-lockup{display:inline-flex;align-items:center;gap:8px;min-width:max-content}
.brand-bird{position:relative;width:34px;height:34px;overflow:hidden;border-radius:50%;background:#fff;border:1px solid var(--line)}
.brand-bird img{position:absolute;width:55px;max-width:none;left:-10px;top:-7px}
.wordmark{font-size:23px;font-weight:850;letter-spacing:-1.25px;line-height:1}
.primary-nav,.nav-right{display:flex;align-items:center;gap:18px}
.primary-nav>a,.primary-nav summary{font-size:13px;font-weight:620;color:var(--ink-2);list-style:none;cursor:pointer;white-space:nowrap}
.primary-nav>a:hover,.primary-nav summary:hover,.primary-nav a[aria-current="page"]{color:var(--ink)}
.primary-nav a[aria-current="page"]{}
#category-menu{position:relative}
#category-menu summary::-webkit-details-marker{display:none}
#category-links{position:absolute;top:36px;left:-12px;width:270px;max-height:62vh;overflow:auto;padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
#category-links a{display:block;padding:10px 12px;border-radius:9px;font-size:13px}
#category-links a:hover{background:var(--surface-soft)}
#global-search{justify-self:center;width:min(100%,430px);height:42px;display:flex;align-items:center;border:1px solid var(--line);border-radius:999px;background:#fff;overflow:hidden;transition:border-color .18s,box-shadow .18s}
#global-search:focus-within{border-color:var(--line-strong);box-shadow:0 0 0 4px rgba(0,0,0,.025)}
#global-search .search-icon{display:grid;place-items:center;padding-left:13px;color:var(--muted)}
#global-search input{min-width:0;flex:1;border:0!important;box-shadow:none!important;background:transparent!important;padding:10px 9px!important;margin:0!important}
#global-search button{padding:0 13px;border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:650}
.nav-create{display:inline-flex!important;align-items:center;justify-content:center;padding:9px 14px;border-radius:999px;background:var(--ink);color:#fff!important;font-weight:700!important}
.icon-link{font-size:12px;font-weight:650;color:var(--ink-2);white-space:nowrap}
.profile-pill{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;font-weight:700;white-space:nowrap}
.account-control{display:flex;align-items:center;position:relative}
.account-control>details{margin:0}
.account-control summary{display:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}
.account-control summary::-webkit-details-marker{display:none!important}
.account-dropdown{position:absolute;right:0;top:40px;width:220px;padding:6px;background:var(--surface,#111216);border:1px solid var(--line-strong,#3d4050);border-radius:14px;box-shadow:0 12px 34px rgba(0,0,0,.6);z-index:1001}
.account-dropdown::before{content:'';position:absolute;top:-10px;left:0;right:0;height:10px}
.account-menu-heading{padding:6px 10px 4px;color:var(--muted,#a4a7b5);font-size:9.5px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.account-dropdown a,.account-dropdown button{display:block;width:100%;border:0;background:transparent;color:var(--ink-2,#d8dae5);padding:8px 10px;border-radius:8px;text-align:left;font-size:13px;font-weight:600;text-decoration:none;transition:all .14s ease}
.account-dropdown a:hover,.account-dropdown button:hover{background:var(--surface-soft,#181920);color:#ffffff}
.account-dropdown .dropdown-cart-item{display:flex;align-items:center;justify-content:space-between}
.account-dropdown .dropdown-theme-row{display:flex;align-items:center;gap:10px;cursor:pointer}
.account-dropdown .dropdown-theme-row svg{flex-shrink:0}
.dropdown-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 6px;border-radius:999px;background:var(--accent,#ff5c35);color:#ffffff;font-size:10px;font-weight:800;line-height:1}
.account-menu-divider{height:1px;margin:5px 6px;background:var(--line,#292b35);border:0}

/* ---------- Header Right & Day/Night Toggle ---------- */
.site-header .nav-right,
.nav-right {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}

#awebo-theme-toggle,
.site-header #awebo-theme-toggle,
.nav-right #awebo-theme-toggle,
.theme-toggle-btn {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Night theme (default) */
:root[data-theme="night"] #awebo-theme-toggle,
html:not([data-theme="day"]) #awebo-theme-toggle,
body:not(.awebo-day-theme) #awebo-theme-toggle {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #c4b5fd !important;
}
:root[data-theme="night"] #awebo-theme-toggle:hover,
html:not([data-theme="day"]) #awebo-theme-toggle:hover,
body:not(.awebo-day-theme) #awebo-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
  color: #e9d5ff !important;
}

/* Day theme */
[data-theme="day"] #awebo-theme-toggle,
html[data-theme="day"] #awebo-theme-toggle,
body.awebo-day-theme #awebo-theme-toggle {
  background: #FFFFFF !important;
  border: 1px solid #DED5CE !important;
  color: #7B41E7 !important;
  box-shadow: 0 1px 3px rgba(68, 48, 45, 0.06) !important;
}
[data-theme="day"] #awebo-theme-toggle:hover,
html[data-theme="day"] #awebo-theme-toggle:hover,
body.awebo-day-theme #awebo-theme-toggle:hover {
  background: #FBF9F6 !important;
  border-color: #7B41E7 !important;
  color: #6530D4 !important;
}

#awebo-theme-toggle #theme-toggle-icon {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 18px !important;
  height: 18px !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  color: inherit !important;
}

#awebo-theme-toggle .theme-icon {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
}

#awebo-theme-toggle #theme-toggle-text {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

main{width:min(var(--max),calc(100% - 40px));min-height:72vh;margin:auto;padding:38px 0 110px}
.site-footer{border-top:1px solid var(--line);background:#ededE8;padding:52px 20px 70px}
.footer-grid{width:min(var(--max),100%);margin:auto;display:grid;grid-template-columns:1.4fr .7fr .9fr;gap:30px;align-items:end}
.footer-brand p{max-width:500px;margin:18px 0 0;color:var(--muted);font-size:14px}
.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;font-size:13px;font-weight:620}
.footer-signature{text-align:right;color:var(--muted);font-size:12px}
.mobile-dock{display:none}
#toast{position:fixed;z-index:150;left:50%;bottom:28px;transform:translateX(-50%);display:none;max-width:min(520px,calc(100vw - 28px));padding:13px 17px;border-radius:12px;background:#151515;color:#fff;box-shadow:var(--shadow);font-size:13px}

/* ---------- Type + layout ---------- */
h1,h2,h3{margin:0;color:var(--ink);letter-spacing:-.035em;line-height:1.04}
h1{font-size:clamp(46px,6vw,88px);font-weight:760}
h2{font-size:clamp(30px,3.4vw,48px);font-weight:720}
h3{font-size:20px;font-weight:700;letter-spacing:-.025em}
p{margin:0 0 14px}
small,.muted,.help{color:var(--muted)}
.eyebrow,.performance-kicker{display:inline-block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.text-link{font-size:13px;font-weight:700;border-bottom:1px solid var(--line-strong);padding-bottom:2px}
.breadcrumbs{display:inline-flex;align-items:center;gap:7px;margin:2px 0 22px;color:var(--muted);font-size:12.5px;font-weight:650}
.breadcrumbs a{color:var(--muted);transition:color .16s ease}
.breadcrumbs:hover,.breadcrumbs a:hover{color:#ffffff}
.narrow{max-width:720px;margin:38px auto}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px}
.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);gap:24px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.fields .wide{grid-column:1/-1}
.row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:64px 0 24px}
.section-head.compact{margin:20px 0 14px}
.section-head h2{margin-top:7px}
.content-section{scroll-margin-top:140px;margin-top:78px}

/* ---------- Controls ---------- */
.button,button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:10px;background:var(--ink);color:#fff;font-weight:720;font-size:13px;line-height:1.1;transition:transform .16s,background .16s,border-color .16s,opacity .16s}
.button:hover,button:hover{transform:translateY(-1px)}
.button:active,button:active{transform:none}
.button.primary{background:var(--ink);color:#fff}
.button.primary:hover{background:#000}
.secondary,.button.secondary{background:#fff;color:var(--ink);border-color:var(--line-strong)}
.secondary:hover,.button.secondary:hover{background:#f3f3ef}
.button.disabled,button:disabled{opacity:.42;cursor:not-allowed;pointer-events:none;transform:none}
.small{min-height:34px;padding:7px 11px;font-size:11px}
.quiet-button{background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:999px;padding:9px 13px}
.danger{background:var(--danger);color:#fff}
label{display:block;margin:0 0 16px;color:var(--ink-2);font-size:12px;font-weight:650}
input,select,textarea{display:block;width:100%;margin-top:7px;padding:11px 12px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;color:var(--ink);outline:none;transition:border-color .16s,box-shadow .16s}
input::placeholder,textarea::placeholder{color:var(--muted-2)}
input:focus,select:focus,textarea:focus{border-color:#9d9d95;box-shadow:0 0 0 4px rgba(20,20,20,.035)}
textarea{min-height:112px;resize:vertical}
input[type=checkbox]{display:inline;width:auto;margin-right:8px}
.form-error{margin:9px 0 0;color:var(--danger);font-size:12px}

/* ---------- Generic surfaces ---------- */
.panel{padding:22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:18px;box-shadow:var(--shadow-sm)}
.notice{padding:13px 15px;border:1px solid #d8ded9;border-radius:11px;background:#f1f7f3;color:#315b43;font-size:13px}
.notice.error,.error{border-color:#efcaca;background:var(--danger-soft);color:#8c3030}
.empty{grid-column:1/-1;padding:36px 20px;border:1px dashed var(--line-strong);border-radius:16px;background:var(--surface,#111216);color:var(--muted);font-size:13px;text-align:center}
.badge,.performance-tag,.shares-badge{display:inline-flex;align-items:center;width:max-content;gap:5px;padding:5px 8px;border:1px solid var(--line-strong,#3d4050);border-radius:999px;background:var(--surface-soft,#181920);color:var(--ink-2,#d8dae5);font-size:10px;font-weight:750;letter-spacing:.02em}
.shares-badge,.stage-shares{color:var(--green)!important;background:var(--green-soft);border-color:#c7e3d2;font-weight:800}
.member-role-badge{display:inline-flex;align-items:center;width:max-content;padding:5px 8px;border:1px solid rgba(255,92,53,.28);border-radius:999px;background:rgba(255,92,53,.10);color:var(--accent);font-size:10px;font-weight:850;letter-spacing:.04em}
.home-brand-type.is-role{display:inline-flex;align-items:center;width:max-content;margin-top:6px;padding:5px 8px;border:1px solid rgba(255,92,53,.28);border-radius:999px;background:rgba(255,92,53,.10);color:var(--accent);font-size:10px;font-weight:850;letter-spacing:.04em}

code{font-size:11px;overflow-wrap:anywhere;background:var(--surface-soft,#181920);color:var(--ink-2,#d8dae5);border:1px solid var(--line-strong,#3d4050);padding:2px 6px;border-radius:6px}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:var(--surface,#111216)}
table{width:100%;border-collapse:collapse;font-size:12.5px}
th,td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}
th{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
td{color:var(--ink)}
.loading{min-height:52vh;display:grid;place-items:center;align-content:center;gap:12px;color:var(--muted)}
.spinner{width:24px;height:24px;border:2px solid var(--line);border-top-color:var(--ink);border-radius:50%;animation:spin .75s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------- Home ---------- */
.home-campaign-hero{position:relative;isolation:isolate;min-height:620px;margin:0 0 86px;border-radius:24px;overflow:hidden;background:#19140f;color:#fff;box-shadow:0 24px 70px rgba(26,18,10,.16);--hero-pointer-x:0px;--hero-pointer-y:0px}
.home-campaign-scene{position:absolute;inset:-3.5%;z-index:-3;overflow:hidden;transform:translate3d(var(--hero-scene-x,-1%),var(--hero-scene-y,0%),0) scale(var(--hero-scene-scale,1.045));transform-origin:center center;transition:transform 9.6s cubic-bezier(.18,.72,.22,1);will-change:transform}
.home-campaign-parallax{position:absolute;inset:0;transform:translate3d(var(--hero-pointer-x,0px),var(--hero-pointer-y,0px),0);transition:transform .32s cubic-bezier(.2,.75,.25,1);will-change:transform}
.home-campaign-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}
.home-campaign-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(12,9,7,.78) 0%,rgba(12,9,7,.62) 34%,rgba(12,9,7,.27) 61%,rgba(12,9,7,.08) 100%)}
.home-campaign-shade:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.16))}
.home-campaign-content{position:relative;min-height:620px;padding:64px 66px 92px;display:flex;align-items:center}
.home-campaign-slides{position:relative;width:min(790px,72%);min-height:430px;transform:translate3d(18px,-18px,0)}
.home-campaign-slide{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(54px,0,0);transition:opacity .72s cubic-bezier(.2,.72,.2,1),transform .72s cubic-bezier(.2,.72,.2,1),visibility 0s linear .72s}
.home-campaign-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;transform:translate3d(0,0,0);transition-delay:0s}
.home-campaign-slide.is-leaving{opacity:0;visibility:visible;pointer-events:none;transform:translate3d(-44px,0,0);transition-delay:0s}
.home-campaign-slide.is-active .home-campaign-kicker{animation:homeHeroCopyIn .72s .04s both}
.home-campaign-slide.is-active h1{animation:homeHeroCopyIn .78s .1s both}
.home-campaign-slide.is-active p{animation:homeHeroCopyIn .78s .17s both}
.home-campaign-slide.is-active .home-campaign-actions{animation:homeHeroCopyIn .78s .24s both}
@keyframes homeHeroCopyIn{from{opacity:0;transform:translate3d(28px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
.home-campaign-kicker{align-self:flex-start;display:inline-flex;align-items:center;min-height:25px;padding:5px 12px;border-radius:999px;background:var(--accent);color:#fff;font-size:10px;font-weight:850;letter-spacing:.02em;line-height:1.1;text-transform:uppercase;box-shadow:0 9px 30px rgba(255,92,53,.25)}
.home-campaign-slide h1{max-width:720px;margin:16px 0 16px;color:#fff;font-size:clamp(38px,3.4vw,50px);font-weight:790;line-height:1.02;letter-spacing:-.045em;text-wrap:balance;text-shadow:0 2px 20px rgba(0,0,0,.2)}
.home-campaign-slide p{max-width:650px;margin:0;color:rgba(255,255,255,.9);font-size:16px;line-height:1.5;text-shadow:0 1px 14px rgba(0,0,0,.32)}
.home-campaign-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}
.home-campaign-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:0 18px;border:1px solid rgba(255,255,255,.32);border-radius:9px;color:#fff;font-size:13px;font-weight:800;line-height:1;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);transition:transform .18s ease,background .18s ease,border-color .18s ease}
.home-campaign-button:hover{transform:translateY(-2px)}
.home-campaign-button.primary{border-color:var(--accent);background:var(--accent);box-shadow:0 12px 34px rgba(255,92,53,.25)}
.home-campaign-button.primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
.home-campaign-button.secondary{background:rgba(12,10,8,.48)}
.home-campaign-button.secondary:hover{background:rgba(12,10,8,.68);border-color:rgba(255,255,255,.5)}
.home-campaign-button span{font-size:17px;line-height:0;transform:translateY(-1px)}
.home-campaign-controls{position:absolute;left:84px;bottom:70px;display:flex;align-items:center;gap:11px;z-index:2}
.home-campaign-dots{display:flex;align-items:center;gap:8px}
.home-campaign-dot{position:relative;overflow:hidden;width:9px;height:9px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.42);transition:width .2s ease,background .2s ease,transform .2s ease}
.home-campaign-dot:hover{transform:scale(1.12);background:rgba(255,255,255,.72)}
.home-campaign-dot.is-active{width:28px;background:rgba(255,255,255,.28)}
.home-campaign-dot.is-active:after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--accent);transform-origin:left center;animation:homeHeroProgress 10s linear both}
.home-campaign-hero.is-paused .home-campaign-dot.is-active:after{animation-play-state:paused}
@keyframes homeHeroProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.home-campaign-pause{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid rgba(255,255,255,.38);border-radius:50%;background:rgba(10,9,8,.55);color:#fff;font-size:11px;font-weight:900;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:background .18s ease,border-color .18s ease}
.home-campaign-pause:hover,.home-campaign-pause.is-paused{background:var(--accent);border-color:var(--accent)}
.home-campaign-pause span{display:block;transform:translateY(-1px)}
.home-section{margin-top:96px}
.section-kicker{display:grid;grid-template-columns:48px 1fr auto;gap:18px;align-items:end;margin-bottom:28px}
.section-kicker>span{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:50%;font-size:9px;color:var(--muted)}
.section-kicker small{display:block;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.14em;margin-bottom:5px}.section-kicker h2{font-size:clamp(30px,3.3vw,45px)}
.featured-brand{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm)}
.featured-brand-visual{position:relative;min-height:430px;background:#d9d7d0;overflow:hidden}.featured-brand-banner{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.featured-brand-placeholder{position:absolute;inset:0;background:linear-gradient(145deg,#ded9cf,#b6b8b1 55%,#7a7f78)}
.featured-brand-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.35),transparent 45%)}
.featured-brand-logo{position:absolute;z-index:2;left:24px;bottom:24px;width:88px;height:88px;display:grid;place-items:center;border-radius:20px;background:#fff;border:1px solid rgba(255,255,255,.7);box-shadow:0 10px 32px rgba(0,0,0,.15);overflow:hidden}.featured-brand-logo .brand-logo{width:100%;height:100%;object-fit:cover}.featured-brand-logo .channel-monogram{font-size:23px;font-weight:800}
.featured-label{position:absolute;z-index:2;left:22px;top:22px;padding:6px 9px;border-radius:999px;background:rgba(18,18,18,.8);color:#fff;font-size:9px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(8px)}
.featured-brand-content{padding:38px 40px;display:flex;flex-direction:column;justify-content:center}.featured-brand-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.featured-brand-heading h2{font-size:50px;margin-top:6px}.featured-arrow{font-size:28px;color:var(--muted)}.featured-description{max-width:560px;color:var(--ink-2);font-size:16px;line-height:1.6}
.featured-brand-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:28px 0 22px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.featured-brand-numbers div{display:grid;gap:2px}.featured-brand-numbers strong{font-size:22px}.featured-brand-numbers span{color:var(--muted);font-size:11px}
.featured-member-line{display:flex;align-items:center;gap:14px;margin-bottom:25px;color:var(--muted);font-size:11px}.avatar-stack{display:flex;align-items:center}.avatar-stack .person-avatar{margin-left:-8px;border:2px solid #fff}.avatar-stack .person-avatar:first-child{margin-left:0}.avatar-more{display:grid;place-items:center;width:34px;height:34px;margin-left:-8px;border:2px solid #fff;border-radius:50%;background:#e9e9e4;font-size:9px;font-weight:700}
.featured-brand-lower{grid-column:1/-1;display:grid;grid-template-columns:.8fr 1.2fr;border-top:1px solid var(--line)}.featured-brand-lower>section{padding:26px 28px}.featured-brand-lower>section+section{border-left:1px solid var(--line)}
.mini-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;color:var(--muted);font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}.mini-section-heading a{color:var(--ink);text-transform:none;letter-spacing:0;font-size:11px}
.featured-people-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.featured-person{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px}.featured-person:hover{background:var(--surface-soft)}.featured-person span{min-width:0;display:grid}.featured-person strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.featured-person small{font-size:9px;color:var(--green)}
.featured-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.featured-products-grid .product-card{min-width:0}.featured-products-grid .product-card h3{font-size:13px}.featured-products-grid .product-card-brand,.featured-products-grid .stock-label{display:none}.featured-products-grid .product-card-media{aspect-ratio:1/1}
.brand-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line)}
.brand-index-item{position:relative;display:grid;grid-template-columns:34px 50px 1fr auto 24px;align-items:center;gap:14px;min-height:96px;padding:16px 18px;border-bottom:1px solid var(--line);transition:background .18s}.brand-index-item:nth-child(odd){border-right:1px solid var(--line)}.brand-index-item:hover,.brand-index-item.is-selected{background:#fff}.brand-index-item.is-selected:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--accent)}
.brand-index-number{font-size:9px;color:var(--muted)}.brand-index-logo{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.brand-index-logo .brand-logo{width:100%;height:100%;object-fit:cover}.brand-index-logo .channel-monogram{font-size:12px;font-weight:800}.brand-index-copy{min-width:0;display:grid;gap:3px}.brand-index-copy strong{font-size:16px}.brand-index-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.brand-index-item em{font-style:normal;padding:4px 7px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:9px;font-weight:800}.brand-index-item>b{font-size:18px;font-weight:400;color:var(--muted)}
.home-people-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-person-card{position:relative;min-height:210px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .18s,box-shadow .18s}.home-person-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}.home-person-card .person-avatar.large{width:68px;height:68px}.home-person-card>div{display:grid;gap:3px;margin-top:30px}.home-person-card strong{font-size:17px}.home-person-card span{font-size:11px;color:var(--muted)}.home-person-card small{font-size:11px;color:var(--ink)}.home-person-card>b{position:absolute;right:18px;top:18px;font-weight:400;color:var(--muted)}

/* ---------- Product cards / Shop ---------- */
.product-card{position:relative;min-width:0;cursor:pointer}.product-card>a{display:block}.product-card-media{position:relative;aspect-ratio:1/1;overflow:hidden;background:var(--surface-soft,#12101a);border-radius:14px}.product-card-media>img,.product-card-media canvas,.product-card-media .product-mockup{width:100%;height:100%;object-fit:cover;display:block}.product-card-media>img.product-mockup,.awebo-product-media>img.product-mockup,.drop-card-media>img.product-mockup{transform-origin:50% 50%}.product-card-media .mark{position:absolute;inset:0;display:grid;place-items:center;font-size:44px;font-weight:800;color:#74746d}.favorite-heart{position:absolute!important;z-index:5;right:10px;top:10px;width:36px!important;height:36px!important;min-height:0!important;padding:0!important;border:none!important;border-radius:50%!important;background:transparent!important;color:rgba(255,255,255,.9)!important;box-shadow:none!important;cursor:pointer!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;outline:none!important;transition:transform .16s ease,opacity .15s ease!important}.favorite-heart:hover{background:transparent!important;color:#fff!important;transform:scale(1.12)!important}.favorite-heart:focus-visible{outline:2px solid #EF4444!important;outline-offset:2px!important}.product-rating{display:none!important;position:static!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important}.product-sale-chip{position:absolute;left:10px;bottom:10px;padding:5px 7px;border-radius:999px;background:var(--accent);color:#fff;font-size:9px;font-weight:800}
.product-card-brand-badge{position:absolute!important;z-index:5!important;left:10px!important;top:10px!important;width:32px!important;height:32px!important;border-radius:8px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(17,18,22,.88)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 2px 8px rgba(0,0,0,.22)!important;text-decoration:none!important;transition:transform .15s ease,border-color .15s ease!important}.product-card-brand-badge:hover{transform:scale(1.06)!important;border-color:rgba(255,255,255,.35)!important}.product-brand-logo-img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.product-brand-logo-initials{font-size:11px!important;font-weight:800!important;color:#ffffff!important;letter-spacing:-.02em!important;line-height:1!important}.product-stars{display:inline-flex!important;align-items:center!important;gap:2px!important;line-height:1!important;font-size:12px!important;user-select:none!important}.product-star{display:inline-block!important;line-height:1!important;font-size:12px!important;transition:color .15s ease!important}.product-star.is-active{color:#fbbf24!important}.product-star.is-inactive{color:#434656!important}.product-card-body{padding:12px 2px 4px}.product-card-brand{margin-bottom:3px;color:var(--muted);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}.product-card-type,.awebo-product-type{font-size:11px!important;font-weight:650!important;color:var(--muted,#8a8d9b)!important;letter-spacing:.04em!important;text-transform:uppercase!important;margin:2px 0 3px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important}:is([data-theme="day"],.awebo-day-theme) .product-card-type,:is([data-theme="day"],.awebo-day-theme) .awebo-product-type{color:#76746e!important}.product-card h3{font-size:15px;line-height:1.25;margin:0 0 6px;color:var(--ink)}.product-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}.product-card-price{font-size:13px;font-weight:750;white-space:nowrap;color:#ffffff}.product-card-price del{font-size:11px;color:var(--muted-2);margin-right:5px;font-weight:400}.product-card-price .badge{display:none}.product-card-stars-wrap,.awebo-product-stars-wrap{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-shrink:0!important}.stock-label{display:block;margin-top:7px;color:var(--muted);font-size:11px;font-weight:600}.stock-label.low{color:#fb923c;font-weight:700}
.tile{position:relative;overflow:hidden;background:#ecebe6;border-radius:14px}.tile>img,.tile .product-mockup{width:100%;height:100%;object-fit:contain}.tile .mark{position:absolute;inset:0;display:grid;place-items:center;font-size:46px;font-weight:800;color:#77766f}.tile .category{position:absolute;left:12px;bottom:12px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.9);color:#17181c;font-size:10px;font-weight:750}
/* ---------- Product Detail Experience (Batch 2) ---------- */
.product-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  margin: 0 0 20px;
  flex-wrap: wrap;
  color: var(--muted, #a4a7b5);
}
.product-breadcrumbs a {
  color: var(--ink-2, #d8dae5);
  text-decoration: none;
  transition: color .15s ease;
}
.product-breadcrumbs a:hover {
  color: #ffffff;
}
.product-breadcrumbs .sep {
  opacity: 0.45;
  font-size: 11px;
}

:is([data-theme="day"], .awebo-day-theme) .product-breadcrumbs {
  color: #968A84 !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-breadcrumbs a {
  color: #6E625D !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-breadcrumbs a:hover {
  color: #171312 !important;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.product-visual-column {
  min-width: 0;
}
.product-photo.product-main-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
  min-height: 520px;
  border-radius: 20px;
  background: var(--surface, #111216);
  border: 1px solid var(--line, #292b35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-visual-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-visual-stage > img,
.product-visual-stage .product-mockup {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-photo .mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 52px;
  font-weight: 850;
  color: var(--muted, #77766f);
}

:is([data-theme="day"], .awebo-day-theme) .product-photo.product-main-visual {
  background: #FAF9F6 !important;
  border: 1px solid #DED5CE !important;
  box-shadow: 0 4px 20px rgba(68, 48, 45, 0.05) !important;
}

/* Thumbnail Gallery */
.product-gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.product-gallery-thumbnails::-webkit-scrollbar {
  height: 4px;
}
.product-gallery-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}
:is([data-theme="day"], .awebo-day-theme) .product-gallery-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.16);
}
.product-gallery-thumb {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border: 2px solid var(--line, #292b35);
  background: var(--surface-soft, #181920);
  transition: all .16s ease;
  scroll-snap-align: start;
  position: relative;
  outline: none;
}
.product-gallery-thumb:hover {
  border-color: #9258f7;
  transform: translateY(-1px);
}
.product-gallery-thumb:focus-visible {
  border-color: #7B41E7;
  box-shadow: 0 0 0 3px rgba(123, 65, 231, 0.35);
}
.product-gallery-thumb.is-active,
.product-gallery-thumb[aria-selected="true"] {
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 2px rgba(123, 65, 231, 0.42) !important;
  transform: translateY(-1px);
}
.product-gallery-thumb .thumb-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}
.product-gallery-thumb .thumb-media img,
.product-gallery-thumb .thumb-media .product-mockup {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-gallery-thumb .thumb-label {
  display: none;
}
.product-gallery-thumb .thumb-mark {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}

:is([data-theme="day"], .awebo-day-theme) .product-gallery-thumb {
  border-color: #DED5CE !important;
  background: #ffffff !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-gallery-thumb:hover {
  border-color: #7B41E7 !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-gallery-thumb.is-active,
:is([data-theme="day"], .awebo-day-theme) .product-gallery-thumb[aria-selected="true"] {
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 2px rgba(123, 65, 231, 0.3) !important;
}

/* Product Information & Purchase Panel */
.product-detail > .panel {
  position: sticky;
  top: calc(var(--header, 74px) + 20px);
  padding: 32px;
  border-radius: 20px;
  background: var(--surface, #111216);
  border: 1px solid var(--line, #292b35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
:is([data-theme="day"], .awebo-day-theme) .product-detail > .panel {
  background: #ffffff !important;
  border: 1px solid #DED5CE !important;
  box-shadow: 0 4px 24px rgba(68, 48, 45, 0.04) !important;
}

/* Base Model / Immutable Catalog Subtitle */
.product-base-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.product-base-badge .base-badge-label {
  color: #a27aff;
  font-weight: 850;
}
.product-base-badge .base-badge-name {
  color: var(--muted, #a4a7b5);
}
:is([data-theme="day"], .awebo-day-theme) .product-base-badge .base-badge-label {
  color: #6530D4 !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-base-badge .base-badge-name {
  color: #6E625D !important;
}

/* Storefront Product Title */
.product-detail h1,
.product-title {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  color: #ffffff;
}
:is([data-theme="day"], .awebo-day-theme) .product-detail h1,
:is([data-theme="day"], .awebo-day-theme) .product-title {
  color: #171312 !important;
}

.product-creator-attribution {
  font-size: 13.5px;
  margin: 0 0 14px;
  color: var(--muted, #a4a7b5);
}
.product-creator-attribution a {
  color: #ffffff;
  text-decoration: none;
}
.product-creator-attribution a:hover {
  text-decoration: underline;
}
:is([data-theme="day"], .awebo-day-theme) .product-creator-attribution {
  color: #6E625D !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-creator-attribution a {
  color: #171312 !important;
}

/* Ratings Detail Trigger */
.product-detail-ratings {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line, #292b35);
  transition: all .15s ease;
  width: fit-content;
}
.product-detail-ratings:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong, #3d4050);
}
.product-detail-ratings .product-stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 16px !important;
  line-height: 1 !important;
}
.product-detail-ratings .product-star {
  font-size: 16px !important;
  line-height: 1 !important;
  display: inline-block !important;
  transition: color .15s ease !important;
}
.product-detail-ratings .product-star.is-active {
  color: #fbbf24 !important;
}
.product-detail-ratings .product-star.is-inactive {
  color: #3d4050 !important;
}
.product-detail-ratings .rating-text-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2, #d8dae5);
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.product-detail-ratings .rating-avg {
  color: #ffffff;
  font-weight: 750;
  font-size: 13.5px;
}
.product-detail-ratings .rating-count {
  color: var(--muted, #a4a7b5);
  font-size: 12px;
}
.product-detail-ratings .rating-empty {
  color: var(--muted, #a4a7b5);
  font-size: 12px;
  font-weight: 550;
}

:is([data-theme="day"], .awebo-day-theme) .product-detail-ratings {
  background: #FAF9F6 !important;
  border: 1px solid #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-detail-ratings:hover {
  background: #EEE6DE !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-detail-ratings .product-star.is-inactive {
  color: #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-detail-ratings .rating-text-label {
  color: #6E625D !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-detail-ratings .rating-avg {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-detail-ratings .rating-count,
:is([data-theme="day"], .awebo-day-theme) .product-detail-ratings .rating-empty {
  color: #968A84 !important;
}

/* Price Section */
.product-price-section {
  margin-bottom: 16px;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.price del {
  font-size: 18px;
  color: var(--muted-2, #828594);
  margin-right: 8px;
  font-weight: 400;
}
.product-sale-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 92, 53, 0.16);
  color: #ff5c35;
  font-size: 12px;
  font-weight: 800;
}

:is([data-theme="day"], .awebo-day-theme) .price {
  color: #171312 !important;
}

/* Availability & Stock Row */
.product-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.limited-edition-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  background: rgba(123, 65, 231, 0.18);
  color: #b78aff;
  border: 1px solid rgba(123, 65, 231, 0.35);
}
.unlimited-edition-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

:is([data-theme="day"], .awebo-day-theme) .limited-edition-badge {
  background: #EFE9FF !important;
  color: #6530D4 !important;
  border-color: #D9CAFF !important;
}
:is([data-theme="day"], .awebo-day-theme) .unlimited-edition-badge {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #059669 !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
}

/* Provenance Blocks */
.product-provenance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 18px;
}
.provenance-item {
  padding: 12px 14px;
  border: 1px solid var(--line-strong, #3d4050);
  border-radius: 12px;
  background: var(--surface-soft, #181920);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all .16s ease;
  min-width: 0;
}
.provenance-item.is-link:hover {
  background: var(--surface-strong, #20222b);
  border-color: var(--muted, #a4a7b5);
  transform: translateY(-1px);
}
.provenance-item small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted, #a4a7b5);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.provenance-item strong {
  font-size: 13px;
  color: #ffffff;
  font-weight: 750;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:is([data-theme="day"], .awebo-day-theme) .provenance-item {
  background: #FAF9F6 !important;
  border-color: #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .provenance-item.is-link:hover {
  background: #ffffff !important;
  border-color: #C9BDB5 !important;
  box-shadow: 0 2px 8px rgba(68, 48, 45, 0.05);
}
:is([data-theme="day"], .awebo-day-theme) .provenance-item small {
  color: #6E625D !important;
}
:is([data-theme="day"], .awebo-day-theme) .provenance-item strong {
  color: #171312 !important;
}

/* Purchase Controls & Button Spacing */
.product-purchase-form {
  margin-top: 8px;
}
.product-purchase-form .fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.product-purchase-form label {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  display: block;
}
.product-purchase-form select,
.product-purchase-form input {
  width: 100%;
  padding: 10px 14px;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line-strong, #3d4050);
  border-radius: 10px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  transition: border-color .15s ease;
}
.product-purchase-form select:focus,
.product-purchase-form input:focus {
  border-color: #7B41E7;
}

:is([data-theme="day"], .awebo-day-theme) .product-purchase-form label {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-purchase-form select,
:is([data-theme="day"], .awebo-day-theme) .product-purchase-form input {
  background: #ffffff !important;
  border-color: #DED5CE !important;
  color: #171312 !important;
}

.product-qty-row {
  margin: 12px 0 14px;
  display: grid;
  gap: 6px;
}
.product-qty-row label {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.product-qty-row input {
  max-width: 130px;
  height: 44px;
  font-size: 14px;
  font-weight: 700;
}
:is([data-theme="day"], .awebo-day-theme) .product-qty-row label {
  color: #171312 !important;
}

/* Primary Add to Cart CTA */
.product-purchase-cta-wrap {
  margin-top: 18px;
}
.product-purchase-cta-wrap button[type="submit"] {
  width: 100% !important;
  min-height: 50px !important;
  padding: 14px 28px !important;
  background: linear-gradient(135deg, #7B41E7 0%, #6036b4 100%) !important;
  border: 1px solid #9258f7 !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(123, 65, 231, 0.42) !important;
  transition: all .18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.product-purchase-cta-wrap button[type="submit"]:hover:not(:disabled) {
  background: linear-gradient(135deg, #8a52f2 0%, #6d3ec9 100%) !important;
  border-color: #a370ff !important;
  transform: translateY(-2px) scale(1.005) !important;
  box-shadow: 0 8px 24px rgba(123, 65, 231, 0.55) !important;
}
.product-purchase-cta-wrap button[type="submit"]:active:not(:disabled) {
  transform: translateY(0) scale(0.995) !important;
}
.product-purchase-cta-wrap button[type="submit"]:disabled {
  background: var(--studio-disabled-bg, #20222b) !important;
  border-color: var(--studio-disabled-border, #3d4050) !important;
  color: var(--studio-disabled-text, #828594) !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.65 !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-purchase-cta-wrap button[type="submit"]:disabled {
  background: #EEE6DE !important;
  border-color: #DED5CE !important;
  color: #968A84 !important;
}

/* Secondary Brand Action Button — Distinct & 14px spaced */
.product-secondary-actions {
  margin-top: 14px !important;
  width: 100% !important;
}
.product-brand-btn {
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 12px !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  background: var(--surface-soft, #181920) !important;
  border: 1px solid var(--line-strong, #3d4050) !important;
  color: var(--ink, #f4f4f6) !important;
  transition: all .16s ease !important;
}
.product-brand-btn:hover {
  background: var(--surface-strong, #20222b) !important;
  border-color: var(--muted, #a4a7b5) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-brand-btn {
  background: #FAF9F6 !important;
  border: 1px solid #DED5CE !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-brand-btn:hover {
  background: #EEE6DE !important;
  border-color: #C9BDB5 !important;
  color: #171312 !important;
}

/* Product Meta Notes */
.product-meta-notes {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line, #292b35);
}
:is([data-theme="day"], .awebo-day-theme) .product-meta-notes {
  border-top-color: #EEE6DE !important;
}
.product-meta-notes .help {
  font-size: 11.5px;
  color: var(--muted, #a4a7b5);
  margin: 4px 0;
  line-height: 1.5;
}
:is([data-theme="day"], .awebo-day-theme) .product-meta-notes .help {
  color: #6E625D !important;
}

.product-sku-details{
  margin-top:10px;
  font-size:11.5px;
  color:var(--muted);
}
.product-sku-details summary{
  cursor:pointer;
  width:fit-content;
}
.product-sku-details summary:hover{
  color:var(--ink);
}
.product-sku-details code{
  overflow-wrap:anywhere;
}

/* Reviews Section Polish */
.product-reviews-container {
  margin-top: 48px;
}
.product-reviews-container section.panel {
  padding: 32px;
  border-radius: 20px;
  background: var(--surface, #111216);
  border: 1px solid var(--line, #292b35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.product-reviews-container h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #ffffff;
}
.product-reviews-container .review-entry {
  padding: 16px 0;
  border-bottom: 1px solid var(--line, #292b35);
}
.product-reviews-container .review-entry:last-of-type {
  border-bottom: none;
}
.product-reviews-container .review-entry strong {
  color: #ffffff;
}
.product-reviews-container .review-body {
  color: var(--ink-2, #d8dae5);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 8px 0;
}
.product-reviews-container small {
  color: var(--muted-2, #828594);
}

:is([data-theme="day"], .awebo-day-theme) .product-reviews-container section.panel {
  background: #ffffff !important;
  border: 1px solid #DED5CE !important;
  box-shadow: 0 4px 24px rgba(68, 48, 45, 0.04) !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-reviews-container h2 {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-reviews-container .review-entry {
  border-bottom-color: #EEE6DE !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-reviews-container .review-entry strong {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-reviews-container .review-body {
  color: #443e3c !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-reviews-container small {
  color: #968A84 !important;
}

.product-review-empty{
  padding:34px 20px;
  text-align:center;
  border:1px dashed var(--line);
  border-radius:14px;
  background:var(--surface-soft);
}
.product-review-empty .review-empty-stars{
  font-size:24px;
  letter-spacing:5px;
  color:var(--muted);
}
.product-review-empty h3{
  margin:12px 0 8px;
  font-size:18px;
}
.product-review-empty p{
  margin:0 auto;
  max-width:380px;
  color:var(--muted);
  line-height:1.6;
}

/* ---------- Brand directory cards ---------- */
.brand-directory{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.brand-card{min-width:0}.brand-card-shell{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .18s,box-shadow .18s}.brand-card-shell:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}.brand-card-cover-link{display:block}.brand-card-cover{position:relative;height:180px;overflow:hidden;background:#d6d6cf}.brand-card-cover>img{width:100%;height:100%;object-fit:cover}.brand-card-gradient{position:absolute;inset:0;background:linear-gradient(140deg,#d9d3c7,#91968d)}.brand-card-logo{position:absolute;left:16px;bottom:14px;width:58px;height:58px;border:3px solid #fff;border-radius:15px;background:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.12)}.brand-card-logo .brand-logo{width:100%;height:100%;object-fit:cover}.brand-card-logo .channel-monogram{font-size:16px;font-weight:800}.brand-network-status{position:absolute;right:12px;top:12px;padding:5px 8px;border-radius:999px;background:var(--accent);color:#fff;font-size:9px;font-weight:850;letter-spacing:.035em;box-shadow:0 4px 12px rgba(255,92,53,.22)}.brand-card-body{padding:18px}.brand-card-title{display:flex;justify-content:space-between;gap:10px;align-items:start}.brand-card-title h3{font-size:21px}.brand-card-title>a:last-child{color:var(--muted)}.brand-card-body p{min-height:46px;color:var(--muted);font-size:12px;line-height:1.55}.brand-card-meta{display:flex;align-items:center;gap:10px;padding-top:13px;border-top:1px solid var(--line);color:var(--muted);font-size:9px}.brand-card-meta span{white-space:nowrap}.brand-network-apply{margin-left:auto;padding:5px 10px;border-radius:999px;background:var(--accent);color:#fff;font-size:9px;font-weight:850;box-shadow:0 4px 12px rgba(255,92,53,.2)}.brand-network-apply:hover{background:var(--accent-dark)}

/* ---------- Brand page ---------- */
.brand-profile-hero{position:relative;margin-bottom:32px}.brand-hero-cover{position:relative;height:clamp(300px,38vw,520px);overflow:hidden;border-radius:22px;background:#cfcfc8}.brand-hero-cover>img{width:100%;height:100%;object-fit:cover;display:block}.brand-hero-fallback{position:absolute;inset:0;background:linear-gradient(135deg,#d8d3c8 0%,#aeb2aa 50%,#676f67 100%)}.brand-hero-cover-shade{display:none!important}
.brand-identity-panel{position:relative;display:grid;grid-template-columns:120px minmax(0,1fr) auto;grid-template-areas:"logo main actions";align-items:start;gap:28px;margin:28px 0 0;padding:0;background:transparent!important;border:none!important;border-radius:0;box-shadow:none!important;color:var(--ink,#f4f4f6)}
.brand-identity-logo{grid-area:logo;width:120px;height:120px;border:1px solid var(--line-strong,#3d4050);border-radius:22px;background:var(--surface-soft,#181920);display:grid;place-items:center;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.25);flex-shrink:0}.brand-identity-logo .brand-logo,.brand-identity-logo .brand-logo-img{width:100%;height:100%;object-fit:cover}.brand-identity-logo .channel-monogram,.brand-identity-logo .brand-logo-initials{font-size:32px;font-weight:850;color:#ffffff}.brand-identity-main{grid-area:main;min-width:0}.brand-workspace-badge{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#10ef70!important;line-height:1;margin-bottom:6px}.brand-workspace-dot{width:7px;height:7px;border-radius:50%;background:#10ef70;box-shadow:0 0 8px rgba(16,239,112,.65);flex-shrink:0;animation:brand-workspace-dot-pulse 2s ease-in-out infinite}@keyframes brand-workspace-dot-pulse{0%,100%{transform:scale(1);opacity:1;box-shadow:0 0 6px rgba(16,239,112,.65)}50%{transform:scale(1.25);opacity:.75;box-shadow:0 0 12px rgba(16,239,112,.95)}}@media(prefers-reduced-motion:reduce){.brand-workspace-dot{animation:none!important}}.brand-open-badge{display:inline-flex;align-items:center;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--accent,#ff5c35)!important;line-height:1;margin-bottom:6px}.brand-member-badge{display:inline-flex;align-items:center;font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#a4a7b5)!important;line-height:1;margin-bottom:6px}.brand-identity-main h1{font-size:clamp(34px,4.5vw,56px);font-weight:850;letter-spacing:-.03em;margin:4px 0 8px;color:#ffffff;line-height:1.1}.brand-identity-main>p{max-width:700px;color:var(--ink-2,#d8dae5);font-size:14.5px;line-height:1.55;margin:0 0 12px}.brand-identity-actions{grid-area:actions;display:flex;align-items:center;gap:10px;justify-content:flex-end;padding-top:4px}.brand-public-stats{display:flex;align-items:center;gap:24px;margin-top:16px;padding:0!important;border:none!important;flex-wrap:wrap}.brand-public-stats div{display:inline-flex;align-items:baseline;gap:6px}.brand-public-stats strong{font-size:14.5px;font-weight:750;color:#ffffff;line-height:1}.brand-public-stats span{font-size:12px;font-weight:500;color:var(--muted,#a4a7b5);line-height:1;text-transform:none;letter-spacing:0}
.brand-identity-actions .button.primary,.brand-identity-actions .brand-studio-cta{background:#ffffff!important;color:#111216!important;border:1px solid #ffffff!important;font-weight:750!important}
.brand-identity-actions .button.primary:hover,.brand-identity-actions .brand-studio-cta:hover{background:#f4f4f6!important;color:#000000!important;border-color:#f4f4f6!important;transform:translateY(-1px)}
.brand-identity-actions .button.secondary,.brand-identity-actions .brand-membership-cta{background:var(--surface-soft,#181920)!important;color:var(--ink,#f4f4f6)!important;border:1px solid var(--line-strong,#3d4050)!important;font-weight:700!important}
.brand-identity-actions .button.secondary:hover,.brand-identity-actions .brand-membership-cta:hover{background:var(--surface-strong,#20222b)!important;border-color:var(--muted,#a4a7b5)!important;color:#ffffff!important;transform:translateY(-1px)}
:is([data-theme="day"],.awebo-day-theme) .brand-identity-panel{background:transparent!important;border:none!important;box-shadow:none!important;color:var(--ink,#171312)!important}
:is([data-theme="day"],.awebo-day-theme) .brand-identity-logo{background:#FFFFFF!important;border-color:var(--line-strong,#C9BDB5)!important;box-shadow:0 4px 16px rgba(68,48,45,.08)!important}
:is([data-theme="day"],.awebo-day-theme) .brand-identity-logo .channel-monogram,:is([data-theme="day"],.awebo-day-theme) .brand-identity-logo .brand-logo-initials{color:var(--ink,#171312)!important}
:is([data-theme="day"],.awebo-day-theme) .brand-identity-main h1{color:var(--ink,#171312)!important}
:is([data-theme="day"],.awebo-day-theme) .brand-identity-main>p{color:var(--ink-2,#6E625D)!important}
:is([data-theme="day"],.awebo-day-theme) .brand-public-stats strong{color:var(--ink,#171312)!important}
:is([data-theme="day"],.awebo-day-theme) .brand-public-stats span{color:var(--muted,#968A84)!important}
:is([data-theme="day"],.awebo-day-theme) .brand-identity-actions .button.primary,:is([data-theme="day"],.awebo-day-theme) .brand-identity-actions .brand-studio-cta{background:#171312!important;color:#FFFFFF!important;border-color:#171312!important}
:is([data-theme="day"],.awebo-day-theme) .brand-identity-actions .button.primary:hover,:is([data-theme="day"],.awebo-day-theme) .brand-identity-actions .brand-studio-cta:hover{background:#2a2422!important;border-color:#2a2422!important;color:#FFFFFF!important}
:is([data-theme="day"],.awebo-day-theme) .brand-identity-actions .button.secondary,:is([data-theme="day"],.awebo-day-theme) .brand-identity-actions .brand-membership-cta{background:#FFFFFF!important;color:#171312!important;border-color:var(--line-strong,#C9BDB5)!important}
:is([data-theme="day"],.awebo-day-theme) .brand-identity-actions .button.secondary:hover,:is([data-theme="day"],.awebo-day-theme) .brand-identity-actions .brand-membership-cta:hover{background:#EEE6DE!important;border-color:#968A84!important;color:#171312!important}
.social-panel{margin-top:10px}
.social-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.social-counts{display:flex;gap:14px;align-items:center;color:var(--ink-2,#d8dae5);font-size:12px}
.social-counts strong{color:#ffffff;font-size:13px}
.social-follow{min-height:30px!important;padding:5px 14px!important;font-size:11px!important;font-weight:700!important;border-radius:999px!important;background:var(--surface-soft,#181920)!important;color:var(--ink,#f4f4f6)!important;border:1px solid var(--line-strong,#3d4050)!important;transition:all .16s ease!important}
.social-follow:hover{background:var(--surface-strong,#20222b)!important;border-color:var(--muted,#a4a7b5)!important;color:#ffffff!important;transform:translateY(-1px)}
:is([data-theme="day"],.awebo-day-theme) .social-counts{color:var(--ink-2,#6E625D)!important}
:is([data-theme="day"],.awebo-day-theme) .social-counts strong{color:var(--ink,#171312)!important}
:is([data-theme="day"],.awebo-day-theme) .social-follow{background:#FFFFFF!important;color:#171312!important;border-color:var(--line-strong,#C9BDB5)!important}
:is([data-theme="day"],.awebo-day-theme) .social-follow:hover{background:#EEE6DE!important;border-color:#968A84!important;color:#171312!important}
.brand-profile-social-row{display:flex;align-items:center;gap:10px;margin:12px 0 2px;flex-wrap:wrap}
.brand-profile-social-link{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;text-decoration:none;position:relative;box-shadow:0 2px 6px rgba(0,0,0,.35);transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}
.brand-profile-social-link svg{width:16px;height:16px;display:block;pointer-events:none}
.brand-profile-social-link:hover{transform:translateY(-2px) scale(1.1);filter:brightness(1.12);box-shadow:0 4px 12px rgba(0,0,0,.45)}
.brand-profile-social-link.social-x{background:#000000;color:#ffffff;border:1px solid rgba(255,255,255,.22)}
.brand-profile-social-link.social-instagram{background:linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);color:#ffffff}
.brand-profile-social-link.social-tiktok{background:#010101;color:#ffffff;border:1px solid rgba(255,255,255,.16)}
.brand-profile-social-link.social-tiktok svg{filter:drop-shadow(-1px 0 0 #00f2fe) drop-shadow(1px 0 0 #fe0979)}
.brand-profile-social-link.social-telegram{background:#229ed9;color:#ffffff}
.brand-profile-social-link.social-discord{background:#5865f2;color:#ffffff}
.brand-profile-social-link.social-facebook{background:#1877f2;color:#ffffff}
.brand-profile-social-link.social-reddit{background:#ff4500;color:#ffffff}
.brand-profile-social-link.social-website{background:linear-gradient(135deg,#7e52d8 0%,#6366f1 100%);color:#ffffff}
#brand-overview,#brand-featured,#brand-collections,#brand-shop,#brand-members,#brand-reviews{scroll-margin-top:calc(var(--awebo-header-h,70px) + 68px)}
.brand-subnav{position:sticky;top:var(--header);z-index:35;display:flex;align-items:center;gap:6px;margin:30px 0 0;padding:10px 14px;border:1px solid var(--line-strong);border-radius:12px;background:rgba(17,18,22,.94);backdrop-filter:blur(15px)}.brand-subnav a{padding:8px 14px;border-radius:8px;font-size:12px;font-weight:700;color:var(--muted);transition:all .16s ease}.brand-subnav a:hover{color:#ffffff;background:var(--surface-soft)}.brand-subnav a[aria-current="page"],.brand-subnav a.is-active{background:var(--surface-strong);color:#ffffff;box-shadow:inset 0 -2px 0 var(--accent)}.brand-subnav .participate-link{margin-left:auto;color:var(--accent);font-weight:800}.brand-subnav .participate-link:hover{background:var(--accent);color:#ffffff}
.brand-overview-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:20px;margin-top:22px}.brand-overview-panel,.brand-thesis-panel{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}.brand-people-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.brand-person-preview{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px}.brand-person-preview:hover{background:var(--surface-soft)}.brand-person-preview>span{min-width:0;display:grid;flex:1}.brand-person-preview strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-person-preview small{font-size:9px;color:var(--green)}.brand-person-preview>b{font-size:13px;color:var(--muted);font-weight:400}.brand-thesis-panel{background:#171717;color:#fff;border-color:#171717}.brand-thesis-panel .eyebrow{color:#8e8e87}.brand-thesis-panel blockquote{margin:26px 0 30px;font-size:clamp(27px,3vw,42px);line-height:1.13;font-weight:650;letter-spacing:-.045em}.brand-thesis-panel blockquote em{font-style:normal;color:#ff8a68}.brand-thesis-flow{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding-top:16px;border-top:1px solid #353532;color:#d8dae5;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:700}.brand-thesis-flow i{font-style:normal;color:var(--accent);font-weight:800}
.member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.person-card{display:flex;align-items:center;gap:12px;padding:16px!important;margin:0!important;box-shadow:none!important}.person-card>div{min-width:0;flex:1}.person-card h3{font-size:15px;margin:0 0 2px}.person-card p{margin:0}.public-member-card>span:last-child{color:var(--muted)}
.person-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;overflow:hidden;background:#e4e4df;border:1px solid var(--line);color:#5c5c56;font-size:10px;font-weight:800}.person-avatar img{width:100%;height:100%;object-fit:cover}.person-avatar.large{width:108px;height:108px;flex-basis:108px;font-size:24px}
.collections-premium-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.collection-card-premium{display:grid;grid-template-columns:1.15fr .85fr;min-height:270px;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .18s,box-shadow .18s}.collection-card-premium:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}.collection-card-media{position:relative;overflow:hidden;background:#e7e4dc;aspect-ratio:16/9;width:100%}.collection-card-media img{width:100%;height:100%;object-fit:cover;object-position:center}.collection-card-media>span{position:absolute;inset:0;display:grid;place-items:center;font-size:50px;font-weight:800;color:#9a9992}.collection-card-media small{position:absolute;left:12px;top:12px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.9);color:#55554f;font-size:9px}.collection-card-copy{padding:24px;display:flex;flex-direction:column}.collection-card-copy>span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.11em;font-weight:800}.collection-card-copy h3{font-size:26px;margin:8px 0}.collection-card-copy p{color:var(--muted);font-size:12px;flex:1}.collection-card-copy b{font-size:11px}
.brand-search{display:flex;align-items:end;gap:10px;margin:0 0 20px;max-width:620px}.brand-search-label{flex:1;margin:0}.brand-search button{margin-bottom:0}.pagination-actions{margin-top:20px}
.brand-studio-panel{margin-top:28px;padding:0;overflow:hidden;background:#fff}.brand-studio-panel>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 20px;cursor:pointer;font-weight:720}.brand-studio-panel>summary::-webkit-details-marker{display:none}.brand-studio-panel>summary small{font-size:10px;font-weight:500}.brand-studio-panel[open]>summary{border-bottom:1px solid var(--line)}.brand-studio-panel>section,.brand-studio-panel>.split,.brand-studio-panel>.collection-media-manager{margin:20px}.brand-media-previews{display:grid;grid-template-columns:150px 1fr;gap:16px}.brand-logo-preview,.brand-banner-preview,.media-editor-preview{display:grid;place-items:center;overflow:hidden;background:#ededE8;border:1px solid var(--line);color:var(--muted)}.brand-logo-preview{width:140px;height:140px;border-radius:18px}.brand-banner-preview{height:170px;border-radius:14px}.brand-logo-preview img,.brand-banner-preview img,.media-editor-preview img{width:100%;height:100%;object-fit:cover}.media-file-field input[type=file]{padding:9px;background:#fafaf8;border-style:dashed}.collection-media-list{display:grid;gap:10px}.media-editor-row{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:14px;align-items:start;padding:14px;border:1px solid var(--line);border-radius:14px}.media-editor-preview{width:92px;height:76px;border-radius:10px}.collection-editor-fields{display:grid;gap:8px}.collection-editor-fields label{margin:0}.collection-editor-fields textarea{min-height:82px}.new-collection-preview{width:160px;height:110px;margin-bottom:15px;border-radius:12px}

/* ---------- Profile ---------- */
.profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:26px;align-items:start;padding:34px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-sm)}.profile-hero h1{font-size:clamp(42px,5vw,66px);margin:5px 0 6px}.profile-private-bio{max-width:760px;margin:12px 0 0;color:var(--ink-2);white-space:pre-wrap}.profile-stats{display:flex;gap:24px;margin-top:20px}.profile-stats span{display:grid;font-size:10px;color:var(--muted)}.profile-stats strong{font-size:18px;color:var(--ink)}
.profile-section-nav{display:flex;gap:5px;margin:18px 0 32px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:auto}.profile-section-nav a{padding:8px 10px;border-radius:7px;font-size:10px;font-weight:700;white-space:nowrap}.profile-section-nav a:hover{background:var(--surface-soft)}
.portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portfolio-card{padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff}.portfolio-card-top{display:flex;justify-content:space-between;gap:16px;align-items:start}.portfolio-card-top h3{margin-top:5px;font-size:24px}.portfolio-percent{color:var(--green);font-size:22px;font-weight:800}.portfolio-share-split{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.share-split{display:grid;gap:2px;min-width:100px;padding:8px 10px;border:1px solid var(--line-strong);border-radius:10px;text-align:right;background:var(--surface-soft)}.share-split small{font-size:9px;text-transform:uppercase;letter-spacing:.07em;font-weight:750;color:var(--muted)}.share-split strong{font-size:16px;font-weight:800;color:#ffffff}.share-split.free{background:var(--green-soft);border-color:rgba(16,185,129,.35);color:#34d399}.share-split.trial{background:rgba(251,146,60,.12);border-color:rgba(251,146,60,.35);color:#fb923c}.portfolio-balances{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.portfolio-balances div{padding:12px 14px;background:var(--surface-soft);border:1px solid var(--line-strong);border-radius:12px}.portfolio-balances small,.portfolio-balances strong{display:block}.portfolio-balances small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:750;color:var(--muted)}.portfolio-balances strong{font-size:14px;font-weight:800;color:#ffffff;margin-top:4px}
.profile-avatar-editor{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fafaf8}.profile-avatar-editor .person-avatar{width:82px;height:82px;flex-basis:82px}

/* ---------- Discovery ---------- */
.discovery-title{margin:8px 0 10px;font-size:clamp(48px,6vw,82px)}
.discovery-tabs{display:flex;gap:6px;margin:28px 0 30px;border-bottom:1px solid var(--line);overflow:auto}.discovery-tabs a{padding:10px 12px;border-bottom:2px solid transparent;font-size:11px;font-weight:700;white-space:nowrap}.discovery-tabs a[aria-current="page"]{border-color:var(--ink)}
.discovery-category-pills{display:flex;align-items:center;gap:8px;margin:18px 0 24px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.discovery-category-pills::-webkit-scrollbar{display:none}
.category-filter-pill{display:inline-flex;align-items:center;padding:7px 16px;border-radius:999px;background:var(--surface-soft,#161822);border:1px solid var(--line,rgba(255,255,255,.08));color:var(--muted,#a1a1aa);font-size:12px;font-weight:650;white-space:nowrap;text-decoration:none;transition:all .2s ease}
.category-filter-pill:hover{background:rgba(255,255,255,.06);color:#ffffff;border-color:rgba(255,255,255,.2)}
.category-filter-pill.active,.category-filter-pill[aria-current="page"]{background:var(--accent,#7B41E7);border-color:var(--accent,#7B41E7);color:#ffffff;font-weight:700;box-shadow:0 2px 10px rgba(123,65,231,.35)}
[data-theme="day"] .category-filter-pill{background:var(--surface-soft,#EEE6DE)!important;border-color:var(--line,#DED5CE)!important;color:var(--ink-2,#6E625D)!important}
[data-theme="day"] .category-filter-pill:hover{background:#E8DFD7!important;color:var(--ink,#171312)!important}
[data-theme="day"] .category-filter-pill.active,[data-theme="day"] .category-filter-pill[aria-current="page"]{background:var(--day-purple-100,#EFE9FF)!important;border-color:var(--day-purple-400,#A27AFF)!important;color:var(--day-purple-600,#6530D4)!important;box-shadow:none!important}
.category-picker{max-width:360px;margin:20px 0}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:38px;color:var(--muted);font-size:11px}
.collections-grid,.grid.collections-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%}
@media(max-width:1160px){.collections-grid,.grid.collections-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:860px){.collections-grid,.grid.collections-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:580px){.collections-grid,.grid.collections-grid{grid-template-columns:1fr;gap:12px}}
.drop-collection,.collection-card{display:flex;flex-direction:column;position:relative;padding:12px 12px 14px;background:var(--surface,#111216);border:1px solid var(--line,#292b35);border-radius:16px;text-decoration:none;color:var(--ink,#f4f4f6);box-shadow:0 4px 16px rgba(0,0,0,.22);transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s cubic-bezier(.16,1,.3,1),border-color .18s ease}
.drop-collection:hover,.collection-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.22);box-shadow:0 10px 28px rgba(0,0,0,.4)}
.collection-cover{display:block;height:auto;aspect-ratio:16/9;margin:-12px -12px 10px;overflow:hidden;border-radius:15px 15px 0 0;background:var(--surface-soft,#181920);position:relative}
.collection-cover img{width:100%;height:100%;object-fit:cover;object-position:center}
.drop-collection .collection-cover img{display:block;transition:transform .25s cubic-bezier(.16,1,.3,1)}
.collection-card:hover .collection-cover img,.drop-collection:hover .collection-cover img{transform:scale(1.03)}
.collection-card small,.drop-collection small{display:block;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:2px}
.collection-card h3,.drop-collection h3{font-size:15px;font-weight:700;letter-spacing:-.01em;line-height:1.25;color:var(--ink,#ffffff);margin:0 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.collection-card p,.drop-collection p{font-size:11.5px;line-height:1.38;color:var(--muted);margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:0 1 auto}
.collection-page-cover{height:auto;aspect-ratio:16/9;max-height:520px;margin-bottom:26px;border-radius:22px;overflow:hidden}.collection-page-cover img{width:100%;height:100%;object-fit:cover;object-position:center}

/* ---------- Creators Directory & Profile Cards ---------- */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}
.creator-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--surface, #111216);
  border: 1px solid var(--line, #292b35);
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink, #f4f4f6);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease;
}
.creator-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.creator-card-avatar {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line, #292b35);
  display: grid;
  place-items: center;
}
.creator-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.creator-card:hover .creator-avatar-img {
  transform: scale(1.05);
}
.creator-avatar-fallback {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  user-select: none;
}
.creator-card-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.creator-card-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.creator-card-name {
  font-size: 19px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.creator-card-handle {
  font-size: 13px;
  font-weight: 550;
  color: var(--muted, #a4a7b5);
  letter-spacing: -0.01em;
}
.creator-card-bio {
  font-size: 13px;
  line-height: 1.5;
  margin: 10px 0 0;
  color: var(--ink-2, #d8dae5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.creator-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--muted, #a4a7b5);
}
.creator-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.creator-meta-item strong {
  font-size: 13px;
  font-weight: 750;
  color: #ffffff;
}
.creator-meta-date {
  font-size: 12px;
  color: var(--muted, #a4a7b5);
}
.creator-meta-location {
  font-size: 12px;
  color: var(--muted, #a4a7b5);
  opacity: 0.9;
}
.creator-meta-location::before {
  content: "·";
  margin-right: 12px;
  font-weight: bold;
  opacity: 0.5;
}
@media (max-width: 640px) {
  .creators-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .creator-card {
    padding: 18px;
    gap: 15px;
    border-radius: 16px;
  }
  .creator-card-avatar {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }
  .creator-card-name {
    font-size: 17px;
  }
  .creator-card-meta {
    margin-top: 12px;
    padding-top: 10px;
    gap: 8px 12px;
    font-size: 11.5px;
  }
}


/* ---------- Participation / economics ---------- */
.participate-title{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:20px 0 28px}
.participate-title h1{font-size:clamp(48px,6vw,78px);color:var(--ink,#f4f4f6);line-height:1.05}
.participate-title .eyebrow{color:var(--accent,#ff5c35)!important;font-size:11px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important;display:inline-block;margin-bottom:6px}
.participate-title p.muted{color:var(--muted,#a4a7b5)!important;font-size:13.5px;line-height:1.5;margin-top:8px}

/* Top-Right Status Mark (White Surface -> Dark Charcoal Text) */
.participate-status-mark{display:flex!important;align-items:center!important;gap:8px!important;padding:8px 14px!important;border:1px solid #dcdde2!important;border-radius:999px!important;background:#ffffff!important;color:#17181c!important;font-size:11px!important;font-weight:750!important;letter-spacing:.02em!important;box-shadow:0 2px 8px rgba(0,0,0,.25)!important}
.participate-status-mark span{color:#17181c!important;font-weight:750!important}
.participate-status-mark img{width:24px!important;height:24px!important;object-fit:cover!important;border-radius:50%!important;border:1px solid rgba(0,0,0,.1)!important}

/* Quick Nav / Title action buttons (Statistics, Discussion) */
.participate-title-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:12px 0 13px!important}
.participate-title-actions button{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:8px 16px!important;border:1px solid var(--line-strong,#3d4050)!important;border-radius:999px!important;background:var(--surface-soft,#181920)!important;color:var(--muted,#a4a7b5)!important;font-size:11.5px!important;font-weight:700!important;cursor:pointer!important;transition:all .16s ease!important}
.participate-title-actions button:hover:not(.is-active):not([aria-pressed="true"]){background:var(--surface-strong,#20222b)!important;color:#ffffff!important;border-color:var(--muted,#a4a7b5)!important;transform:translateY(-1px)!important}
.participate-title-actions .participate-view-button.is-active,
.participate-title-actions button[aria-pressed="true"]{background:#ffffff!important;color:#17181c!important;border:1px solid #ffffff!important;font-weight:800!important;box-shadow:0 2px 8px rgba(0,0,0,.35)!important;cursor:default!important;transform:none!important}

/* Shell Layout */
.participation-shell{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:20px;align-items:start}
.participation-actions{position:sticky;top:98px}

/* Analytics Panels & Cards */
.analytics-panel,
.ownership-panel,
.performance-grid,
.owner-membership-tools{padding:22px;border:1px solid var(--line,#292b35);border-radius:16px;background:var(--surface,#111216);margin-bottom:18px}
.performance-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-bottom:18px!important;flex-wrap:wrap!important}
.performance-heading h2{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;font-size:22px!important;font-weight:750!important;color:var(--ink,#f4f4f6)!important;margin:4px 0 0!important}
.performance-kicker{display:inline-block;color:var(--accent,#ff5c35)!important;font-size:10px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important}

/* Filter / Status Pills (.performance-tag, .neutral) */
.performance-tag,
.performance-tag.neutral{display:inline-flex!important;align-items:center!important;width:max-content!important;gap:5px!important;padding:5px 11px!important;border-radius:999px!important;background:#ffffff!important;color:#17181c!important;border:1px solid #dcdde2!important;font-size:10px!important;font-weight:750!important;letter-spacing:.04em!important;text-transform:uppercase!important;line-height:1.4!important}

/* Period Filter Buttons (Brand sales: 24H, 7D, 30D, 3M, 1Y, ALL) */
.performance-periods{display:flex!important;gap:6px!important;flex-wrap:wrap!important;align-items:center!important}
.performance-periods button{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;padding:6px 14px!important;border-radius:999px!important;font-size:11.5px!important;font-weight:700!important;letter-spacing:.02em!important;border:1px solid var(--line-strong,#3d4050)!important;background:var(--surface-soft,#181920)!important;color:var(--muted,#a4a7b5)!important;cursor:pointer!important;transition:all .16s ease!important;box-shadow:none!important;transform:none!important}
.performance-periods button:hover:not([aria-pressed="true"]){background:var(--surface-strong,#20222b)!important;color:#ffffff!important;border-color:var(--muted,#a4a7b5)!important;transform:translateY(-1px)!important}
.performance-periods button[aria-pressed="true"]{background:#ffffff!important;color:#17181c!important;border:1px solid #ffffff!important;font-weight:800!important;box-shadow:0 2px 8px rgba(0,0,0,.35)!important;cursor:default!important;transform:none!important}
.performance-periods button:focus-visible{outline:none!important;box-shadow:0 0 0 2px rgba(255,92,53,.45)!important}

/* Metrics Grids & Metric Items */
.performance-metrics,
.metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.performance-metric{padding:13px 15px!important;background:var(--surface-soft,#181920)!important;border:1px solid var(--line,#292b35)!important;border-radius:12px!important}
.performance-metric small{display:block!important;color:var(--muted,#a4a7b5)!important;font-size:10px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.05em!important;margin-bottom:4px!important;line-height:1.35!important}
.performance-metric strong{display:block!important;margin-top:3px!important;color:var(--ink,#f4f4f6)!important;font-size:18px!important;font-weight:800!important;line-height:1.2!important}
.performance-metric.mint strong{color:#34d399!important}
.performance-metric.rose strong{color:#f87171!important}

/* Ownership Map Dashboard */
.ownership-dashboard{display:flex!important;align-items:center!important;gap:24px!important;margin:18px 0!important;flex-wrap:wrap!important}
.ownership-ring{width:108px!important;height:108px!important;border-radius:50%!important;background:conic-gradient(var(--accent,#ff5c35) calc(var(--p,0) * 1%),var(--line-strong,#3d4050) 0)!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;padding:10px!important}
.ownership-ring>div{width:100%!important;height:100%!important;border-radius:50%!important;background:var(--surface,#111216)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important}
.ownership-ring strong{color:#ffffff!important;font-size:17px!important;font-weight:800!important;line-height:1.1!important}
.ownership-ring small{color:var(--muted,#a4a7b5)!important;font-size:8.5px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.ownership-dashboard-copy{flex:1!important;min-width:260px!important;display:grid!important;gap:14px!important}
.ownership-strip{height:10px!important;border-radius:999px!important;overflow:hidden!important;display:flex!important;background:var(--surface-soft,#181920)!important;border:1px solid var(--line,#292b35)!important}
.ownership-strip span:nth-child(1){background:var(--accent,#ff5c35)!important}
.ownership-strip span:nth-child(2){background:var(--green,#10b981)!important}
.ownership-strip span:nth-child(3){background:#525666!important}

/* Performance Plot & Empty State */
.performance-plot{min-height:220px;margin-top:14px}
.performance-grid{stroke:var(--line-strong,#3d4050)!important;stroke-dasharray:4 4}
.performance-plot circle{fill:#f16432!important;stroke:#ffffff!important;stroke-width:2px!important}
.performance-empty{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-height:180px!important;padding:30px 20px!important;border-radius:12px!important;border:1px dashed var(--line-strong,#3d4050)!important;background:var(--surface-soft,#181920)!important;color:var(--ink-2,#d8dae5)!important;font-size:13px!important;font-weight:600!important;gap:6px!important}
.performance-empty small{color:var(--muted,#a4a7b5)!important;font-size:11.5px!important;font-weight:normal!important}
.performance-note{margin-top:14px!important;font-size:11.5px!important;line-height:1.5!important;color:var(--muted,#a4a7b5)!important}

/* Right Column: Ownership Actions Grid & Action Cards */
.ownership-action-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin:14px 0!important}
.ownership-action{padding:12px 14px!important;background:var(--surface-soft,#181920)!important;border:1px solid var(--line-strong,#3d4050)!important;border-radius:12px!important}
.ownership-action small{display:block!important;color:var(--muted,#a4a7b5)!important;font-size:9.5px!important;font-weight:750!important;text-transform:uppercase!important;letter-spacing:.06em!important;margin-bottom:4px!important}
.ownership-action strong{display:block!important;color:var(--ink,#f4f4f6)!important;font-size:18px!important;font-weight:800!important;line-height:1.2!important}

/* Section Heads inside Right Column */
.participation-shell .section-head.compact h3,
#participate .section-head.compact h3{font-size:16px!important;font-weight:750!important;color:var(--ink,#f4f4f6)!important;margin:2px 0 0!important}
.participation-shell .panel h3,
#participate .panel h3{font-size:18px!important;font-weight:750!important;color:var(--ink,#f4f4f6)!important;margin:4px 0 12px!important}
.participation-shell .panel .help,
#participate .panel .help{color:var(--muted,#a4a7b5)!important;font-size:12px!important;line-height:1.5!important}

/* Member Share Status (Roles and trials) */
.member-admin-row{display:grid;gap:14px}
.member-share-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.member-share-stat{display:grid;grid-template-columns:1fr auto;align-items:end;gap:2px 10px;padding:11px 12px;border:1px solid var(--line-strong,#3d4050);border-radius:12px;background:var(--surface-soft,#181920)!important}
.member-share-stat small{grid-column:1/-1;text-transform:uppercase;letter-spacing:.08em;font-size:8.5px;font-weight:800;color:var(--muted,#a4a7b5)!important}
.member-share-stat strong{font-size:18px;line-height:1;color:var(--ink,#f4f4f6)!important}
.member-share-stat span{font-size:11px;font-weight:800;color:var(--ink,#f4f4f6)!important}
.member-share-stat.free{background:rgba(16,185,129,.12)!important;border-color:rgba(16,185,129,.35)!important}
.member-share-stat.free strong,.member-share-stat.free span{color:#34d399!important}
.member-share-stat.locked{background:rgba(255,92,53,.12)!important;border-color:rgba(255,92,53,.35)!important}
.member-share-stat.locked strong,.member-share-stat.locked span{color:#ff8566!important}
.member-management-form{margin-top:0}

/* ========================================================================== */
/* Action Buttons: Enabled, Hover, Focus, Disabled                           */
/* Scoped to Participation page: Free Transfer, Build the Brand team, etc.   */
/* ========================================================================== */

/* Enabled White/Light Primary Action Buttons */
.participation-shell button[type="submit"],
.participation-actions button[type="submit"],
#participate button[type="submit"],
.owner-membership-tools button[type="submit"],
.participation-main button[type="submit"],
.participation-shell .button.primary,
.participation-actions .button.primary,
#participate .button.primary{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:10px 22px!important;
  border-radius:10px!important;
  background:#ffffff!important;
  color:#17181c!important;
  border:1px solid #dcdde2!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:1.1!important;
  cursor:pointer!important;
  box-shadow:0 2px 8px rgba(0,0,0,.25)!important;
  transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease!important;
  text-decoration:none!important;
}

.participation-shell button[type="submit"]:hover:not(:disabled),
.participation-actions button[type="submit"]:hover:not(:disabled),
#participate button[type="submit"]:hover:not(:disabled),
.owner-membership-tools button[type="submit"]:hover:not(:disabled),
.participation-main button[type="submit"]:hover:not(:disabled),
.participation-shell .button.primary:hover:not(:disabled),
.participation-actions .button.primary:hover:not(:disabled),
#participate .button.primary:hover:not(:disabled){
  background:#f4f4f6!important;
  color:#000000!important;
  border-color:#ffffff!important;
  transform:translateY(-1px)!important;
  box-shadow:0 4px 14px rgba(0,0,0,.35)!important;
}

.participation-shell button[type="submit"]:active:not(:disabled),
.participation-actions button[type="submit"]:active:not(:disabled),
#participate button[type="submit"]:active:not(:disabled),
.owner-membership-tools button[type="submit"]:active:not(:disabled){
  transform:none!important;
  background:#e8e9ee!important;
}

.participation-shell button[type="submit"]:focus-visible,
.participation-actions button[type="submit"]:focus-visible,
#participate button[type="submit"]:focus-visible,
.owner-membership-tools button[type="submit"]:focus-visible{
  outline:none!important;
  box-shadow:0 0 0 3px rgba(255,92,53,.45)!important;
}

/* Disabled Controls: legible medium-dark text on slightly muted light background */
.participation-shell button:disabled,
.participation-shell button[type="submit"]:disabled,
.participation-actions button:disabled,
.participation-actions button[type="submit"]:disabled,
#participate button:disabled,
#participate button[type="submit"]:disabled,
.owner-membership-tools button:disabled,
.owner-membership-tools button[type="submit"]:disabled,
.participation-shell .button:disabled,
.participation-actions .button:disabled,
#participate .button:disabled,
.participation-shell .button.disabled,
.participation-actions .button.disabled,
#participate .button.disabled{
  background:#dcdde2!important;
  color:#4b4e5a!important;
  border:1px solid #b8bac3!important;
  opacity:1!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
  box-shadow:none!important;
  transform:none!important;
}

/* Secondary Actions inside Participation (Reject, Remove, Revoke, Withdraw) */
.participation-shell button.secondary,
.participation-actions button.secondary,
#participate button.secondary,
.owner-membership-tools button.secondary,
.participation-shell .button.secondary,
.participation-actions .button.secondary,
#participate .button.secondary{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:8px 16px!important;
  border-radius:10px!important;
  background:var(--surface-soft,#181920)!important;
  color:var(--ink,#f4f4f6)!important;
  border:1px solid var(--line-strong,#3d4050)!important;
  font-size:12.5px!important;
  font-weight:700!important;
  cursor:pointer!important;
  transition:all .16s ease!important;
}

.participation-shell button.secondary:hover:not(:disabled),
.participation-actions button.secondary:hover:not(:disabled),
#participate button.secondary:hover:not(:disabled),
.owner-membership-tools button.secondary:hover:not(:disabled){
  background:var(--surface-strong,#20222b)!important;
  color:#ffffff!important;
  border-color:#555869!important;
  transform:translateY(-1px)!important;
}

.participation-shell button.secondary:disabled,
.participation-actions button.secondary:disabled,
#participate button.secondary:disabled,
.owner-membership-tools button.secondary:disabled{
  background:#181920!important;
  color:#828594!important;
  border-color:#292b35!important;
  opacity:1!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
  transform:none!important;
}

/* ---------- Creator / create Brand (#/create) ---------- */
.creator-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.15fr);
  gap: 48px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 0 60px;
}
.creator-roadmap {
  position: sticky;
  top: 96px;
}
.creator-roadmap .eyebrow {
  color: #a855f7 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  display: inline-block;
  margin-bottom: 8px;
}
.creator-roadmap h1 {
  font-size: clamp(34px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #ffffff;
  margin: 4px 0 16px;
}
.creator-lead {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted, #a4a7b5);
  margin: 0 0 28px;
  max-width: 480px;
}

/* Stepper */
.creator-stepper {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  position: relative;
}
.creator-stepper-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.creator-stepper-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 750;
  background: var(--surface-soft, #1e212b);
  color: var(--muted, #a4a7b5);
  border: 1px solid var(--line, #292b35);
  transition: all 0.2s ease;
}
.creator-stepper-item.is-active .creator-stepper-badge {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
  color: #ffffff !important;
  border-color: rgba(192, 132, 252, 0.4) !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35) !important;
}
.creator-stepper-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}
.creator-stepper-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}
.creator-stepper-text small {
  font-size: 12px;
  color: var(--muted, #a4a7b5);
  line-height: 1.4;
}
.creator-stepper-line {
  width: 2px;
  height: 24px;
  background: var(--line, #292b35);
  margin-left: 13px;
  margin-top: 4px;
  margin-bottom: 4px;
}

/* Highlights Card */
.creator-highlights-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line, #292b35);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
}
.creator-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.creator-highlight-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.2);
}
.creator-highlight-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}
.creator-highlight-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}
.creator-highlight-text small {
  font-size: 12px;
  color: var(--muted, #a4a7b5);
  line-height: 1.4;
}

/* Creator Form Container (Right Column) */
.creator-form {
  padding: 28px 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: var(--surface, #111216);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.creator-form-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}
.creator-form-header .eyebrow {
  color: #a855f7 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}
.creator-form-header h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 2px 0 6px;
  line-height: 1.2;
}
.creator-form-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted, #a4a7b5);
  margin: 0;
}

/* Control Unit (Reusable form field wrapper) */
.creator-control-unit {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.creator-control-unit label {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--ink, #f4f4f6) !important;
}
.creator-control-unit input[type="text"],
.creator-control-unit select,
.creator-control-unit textarea {
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: var(--surface-soft, #181920) !important;
  border: 1px solid var(--line-strong, #3d4050) !important;
  border-radius: 12px !important;
  color: var(--ink, #f4f4f6) !important;
  font-size: 13.5px !important;
  padding: 8px 12px !important;
  outline: none !important;
  font-family: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease !important;
}
.creator-control-unit input[type="text"] {
  height: 40px !important;
}
.creator-control-unit select,
#create-brand-currency-select,
#create-brand-hold-select {
  height: 40px !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding: 8px 38px 8px 14px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a4a7b5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 14px 14px !important;
  cursor: pointer !important;
}
.creator-control-unit textarea {
  min-height: 80px !important;
  line-height: 1.45 !important;
  resize: vertical !important;
}
.creator-control-unit input:focus,
.creator-control-unit select:focus,
.creator-control-unit textarea:focus {
  border-color: #a855f7 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25) !important;
}
.creator-field-note {
  font-size: 11.5px;
  color: var(--muted, #a4a7b5);
  line-height: 1.4;
}
.creator-textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}
.creator-char-counter {
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--muted, #a4a7b5);
  white-space: nowrap;
}

/* Completely Hide Native File Inputs */
.creator-form input[type="file"],
input[type="file"].creator-hidden-file-input,
.creator-hidden-file-input,
#create-brand-banner-input,
#create-brand-logo-input {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Visual Identity Upload Section */
.creator-visual-identity-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.creator-section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #f4f4f6);
}
.creator-upload-tiles-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
}
.creator-tile-logo {
  display: block;
  width: 140px;
  max-width: 140px;
  flex-shrink: 0;
}
.creator-tile-banner {
  display: block;
  width: 100%;
  min-width: 0;
}
.creator-tile-logo .create-brand-logo-preview {
  aspect-ratio: 1 / 1 !important;
  width: 140px !important;
  height: 140px !important;
  min-height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
}
.creator-tile-banner .create-brand-banner-preview {
  aspect-ratio: 3 / 1 !important;
  width: 100% !important;
  height: auto !important;
  min-height: unset !important;
}
.creator-preview-remove-btn {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 25 !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  border-radius: 50% !important;
  background: rgba(15, 17, 23, 0.88) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
  line-height: 1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45) !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease !important;
}
.creator-preview-remove-btn svg {
  width: 12px !important;
  height: 12px !important;
  display: block !important;
  stroke: #ffffff !important;
  stroke-width: 2.5 !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}
.creator-preview-remove-btn:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
}
.creator-upload-tile {
  display: block;
  cursor: pointer;
  margin: 0;
  padding: 0;
  outline: none;
  border-radius: 14px;
}
.create-brand-logo-preview,
.create-brand-banner-preview {
  position: relative !important;
  width: 100% !important;
  background: var(--surface-soft, #181920) !important;
  border: 1.5px dashed rgba(168, 85, 247, 0.45) !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease !important;
}
.creator-upload-tile:hover .create-brand-logo-preview:not(.has-preview),
.creator-upload-tile:hover .create-brand-banner-preview:not(.has-preview) {
  border-color: rgba(192, 132, 252, 0.85) !important;
  background: var(--surface-strong, #1e212b) !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.2) !important;
}
.creator-upload-tile:focus-visible .create-brand-logo-preview,
.creator-upload-tile:focus-visible .create-brand-banner-preview {
  outline: 2px solid #a855f7 !important;
  outline-offset: 2px !important;
}
.create-brand-logo-preview img,
.create-brand-banner-preview img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}
.create-brand-logo-preview.has-preview,
.create-brand-banner-preview.has-preview {
  border: 1px solid var(--line-strong, #3d4050) !important;
}
.create-brand-logo-preview.has-preview:hover::after,
.create-brand-banner-preview.has-preview:hover::after {
  content: "Change Image" !important;
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(0, 0, 0, 0.65) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(2px) !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  z-index: 5 !important;
}
.creator-box-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 14px !important;
  text-align: center !important;
  color: var(--muted, #a4a7b5) !important;
}
.creator-box-icon {
  color: #c084fc !important;
  margin-bottom: 2px !important;
  transition: transform 0.16s ease !important;
}
.creator-upload-tile:hover .creator-box-icon {
  transform: translateY(-2px) !important;
  color: #d8b4fe !important;
}
.creator-box-title {
  font-size: 13px !important;
  font-weight: 750 !important;
  color: #f4f4f6 !important;
  line-height: 1.3 !important;
}
.creator-box-desc {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: var(--muted, #a4a7b5) !important;
}
.creator-box-meta {
  font-size: 10px !important;
  color: var(--muted, #828594) !important;
  margin-top: 2px !important;
}

/* Founder Notice Callout */
.creator-founder-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.24);
  border-radius: 12px;
  transition: all 0.2s ease;
}
.creator-founder-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.35);
  margin-top: 1px;
}
.creator-founder-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.creator-info-card-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.creator-founder-content strong {
  font-size: 13px;
  font-weight: 750;
  color: #ffffff;
}
.creator-founder-content p {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-2, #d8dae5);
  margin: 0;
}

/* Submit Wrap */
.creator-submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}
.creator-submit-wrap .form-error {
  width: 100%;
  margin: 0;
  empty-cells: hide;
}
.creator-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  width: 100% !important;
  padding: 12px 28px !important;
  border: 1px solid rgba(192, 132, 252, 0.45) !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.16s ease !important;
}
.creator-submit-btn:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%) !important;
  border-color: rgba(216, 180, 254, 0.6) !important;
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.5) !important;
  transform: translateY(-1px);
}
.creator-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3) !important;
}
.creator-submit-btn:disabled {
  background: #181920 !important;
  color: #828594 !important;
  border: 1px solid #292b35 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 1 !important;
}
.creator-footnote {
  font-size: 12px;
  color: var(--muted, #a4a7b5);
  text-align: center;
  margin: 0;
}

/* Section Dividers & Headings inside Creator Form */
.creator-section-divider {
  height: 1px;
  background: var(--line, #292b35);
  margin: 10px 0 4px;
}
.creator-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 2px;
}
.creator-section-num {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px;
}
.creator-section-title {
  font-size: 15.5px;
  font-weight: 750;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}
.creator-section-subtitle {
  font-size: 12px;
  color: var(--muted, #a4a7b5);
  margin: 2px 0 0;
  line-height: 1.4;
}

/* ========================================================================== */
/* Sequential Accordion UX (#/create)                                         */
/* ========================================================================== */
.creator-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.creator-accordion-item {
  border: 1px solid var(--line, #292b35);
  border-radius: 16px;
  background: var(--surface-soft, #14151b);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  overflow: visible;
}
.creator-accordion-item.is-active {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(18, 19, 25, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.creator-accordion-item.is-completed {
  border-color: rgba(168, 85, 247, 0.22);
  background: rgba(168, 85, 247, 0.02);
}
.creator-accordion-item.needs-attention {
  border-color: rgba(239, 68, 68, 0.55) !important;
  background: rgba(239, 68, 68, 0.04) !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.15) !important;
}
.creator-accordion-item.validation-flash,
.creator-accordion-header.validation-flash {
  border-color: rgba(239, 68, 68, 0.65) !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.22), 0 4px 18px rgba(239, 68, 68, 0.12) !important;
  transition: border-color 0.22s ease, box-shadow 0.22s ease !important;
}
input.validation-flash {
  border-color: rgba(239, 68, 68, 0.75) !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
  transition: border-color 0.22s ease, box-shadow 0.22s ease !important;
}
.creator-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  margin: 0;
  cursor: pointer;
  user-select: none;
  outline: none;
  border-radius: 15px;
  transition: background 0.18s ease;
}
.creator-accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}
.creator-accordion-header:focus-visible {
  outline: 2px solid #a855f7;
  outline-offset: -2px;
}
.creator-acc-header-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.creator-acc-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.creator-acc-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.creator-acc-badge {
  font-size: 11px !important;
  font-weight: 750 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--muted, #8b8f9e) !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-block !important;
  line-height: 1 !important;
  transition: color 0.18s ease !important;
}
.creator-acc-badge.is-active {
  background: transparent !important;
  color: #c084fc !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.creator-acc-badge.is-completed {
  background: transparent !important;
  color: #4ade80 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.creator-acc-badge.is-locked {
  background: transparent !important;
  color: var(--muted, #8b8f9e) !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.creator-acc-badge.is-attention {
  background: transparent !important;
  color: #f87171 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.creator-accordion-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-2, #d8dae5);
}
.creator-summary-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 6px rgba(192, 132, 252, 0.5);
}
.creator-summary-text {
  font-size: 12px;
  color: var(--muted, #a4a7b5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.creator-acc-edit-btn {
  font-size: 11px;
  font-weight: 700;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.4;
}
.creator-acc-edit-btn:hover {
  background: rgba(168, 85, 247, 0.25);
  color: #e9d5ff;
  border-color: rgba(168, 85, 247, 0.5);
}
.creator-acc-chevron {
  display: grid;
  place-items: center;
  color: var(--muted, #a4a7b5);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.creator-accordion-item.is-active .creator-acc-chevron {
  transform: rotate(180deg);
  color: #c084fc;
}
.creator-accordion-body {
  padding: 4px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.creator-accordion-body[hidden] {
  display: none !important;
}
.creator-acc-step-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line, #292b35);
}
.creator-continue-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(192, 132, 252, 0.45) !important;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3) !important;
  transition: all 0.16s ease !important;
}
.creator-continue-btn:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%) !important;
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.45) !important;
  transform: translateY(-1px);
}
.creator-back-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  color: var(--muted, #a4a7b5) !important;
  background: transparent !important;
  border: 1px solid var(--line, #292b35) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.creator-back-btn:hover {
  color: #ffffff !important;
  border-color: var(--line-strong, #3d4050) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
.creator-field-error {
  font-size: 11.5px;
  color: #f87171;
  margin: 4px 0 0;
  font-weight: 600;
  line-height: 1.4;
}
.creator-control-unit input.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

/* Compact Horizontal Math Box */
.creator-math-example.compact-horizontal {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line, #292b35);
  border-radius: 10px;
  padding: 9px 12px;
  margin-top: 6px;
}
.creator-math-compact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.creator-math-calc-text {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-2, #d8dae5);
}
.creator-math-val-mem {
  color: #c084fc;
}
.creator-math-val-trea {
  color: #94a3b8;
}

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  .creator-acc-chevron,
  .creator-accordion-item,
  .creator-bar-seg,
  .creator-submit-btn,
  .creator-continue-btn,
  .creator-back-btn {
    transition: none !important;
    animation: none !important;
  }
}

/* Two Ownership Mode Option Cards */
.creator-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 4px 0 6px;
}
.creator-mode-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 16px;
  background: var(--surface-soft, #181920);
  border: 1.5px solid var(--line-strong, #3d4050);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
  outline: none;
}
.creator-mode-option:hover {
  border-color: rgba(168, 85, 247, 0.5);
  background: var(--surface-strong, #1e212b);
}
.creator-mode-option:focus-visible {
  outline: 2px solid #a855f7;
  outline-offset: 2px;
}
.creator-mode-option.is-active {
  border-color: #a855f7 !important;
  background: rgba(168, 85, 247, 0.08) !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.2) !important;
}
.creator-mode-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  margin: 0;
}
.creator-mode-option-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.creator-mode-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.creator-mode-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
  display: grid;
  place-items: center;
}
.creator-mode-icon.is-collab {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.25);
}
.creator-mode-pill {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.creator-mode-pill.is-collab {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}
.creator-mode-title {
  font-size: 14px;
  font-weight: 750;
  color: #ffffff;
}
.creator-mode-desc {
  font-size: 11.5px;
  color: var(--muted, #a4a7b5);
  line-height: 1.4;
  margin: 0;
}

/* Collaborator Fields Container */
.creator-collaborator-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--line-strong, #3d4050);
  border-radius: 14px;
  margin-top: 4px;
}
.creator-collaborator-fields[hidden] {
  display: none !important;
}

/* Header & Label Alignments */
.creator-mode-header {
  display: flex;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 2px;
}
.creator-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.creator-label-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  width: auto !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--ink, #f4f4f6) !important;
  margin: 0 !important;
  cursor: pointer;
  vertical-align: middle;
}
.creator-label-inline label,
.creator-label-inline > span:first-child {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: inherit !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.creator-label-with-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.creator-label-with-tip label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
}
.creator-field-optional {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted, #828594);
}
.creator-split-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #c084fc;
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.creator-split-sep {
  opacity: 0.5;
}
.creator-split-pill strong {
  color: #ffffff;
  font-weight: 750;
}

/* Range Slider + Number Input Combo */
.creator-slider-row {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 14px;
  align-items: center;
}
.creator-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--line-strong, #3d4050);
  outline: none;
  cursor: pointer;
}
.creator-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
  cursor: pointer;
  transition: transform 0.12s ease;
}
.creator-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.creator-number-input {
  height: 38px !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
  font-weight: 700 !important;
}

/* Compact Split Bar Indicator */
.creator-split-indicator {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.creator-mini-split-bar {
  display: flex;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-strong, #222530);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.creator-bar-seg {
  height: 100%;
  transition: width 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.creator-bar-seg-members {
  background: linear-gradient(90deg, #9333ea 0%, #c084fc 100%);
  border-radius: 999px 0 0 999px;
}
.creator-bar-seg-treasury {
  background: linear-gradient(90deg, #475569 0%, #64748b 100%);
  border-radius: 0 999px 999px 0;
}
.creator-split-bar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted, #a4a7b5);
}
.creator-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.creator-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.creator-legend-members .creator-legend-dot {
  background: #c084fc;
  box-shadow: 0 0 6px rgba(192, 132, 252, 0.5);
}
.creator-legend-treasury .creator-legend-dot {
  background: #94a3b8;
}
.creator-legend-item strong {
  color: var(--ink, #ffffff);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

/* Tooltip Component */
.creator-info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  color: #a855f7 !important;
  cursor: help;
  outline: none;
  vertical-align: middle;
  transition: color 0.16s ease, transform 0.16s ease;
  user-select: none;
}
.creator-info-tip svg {
  pointer-events: none;
}
.creator-info-tip:hover,
.creator-info-tip:focus-visible,
.creator-info-tip.is-active {
  color: #c084fc !important;
}
.creator-info-bubble {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-24px) translateY(4px);
  background: rgba(18, 19, 24, 0.98);
  border: 1px solid var(--line-strong, #3d4050);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink, #f4f4f6);
  min-width: 280px;
  max-width: 380px;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 1000;
  backdrop-filter: blur(8px);
}
.creator-info-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 20px;
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: rgba(18, 19, 24, 0.98) transparent transparent transparent;
}
.creator-info-tip:hover .creator-info-bubble,
.creator-info-tip:focus-within .creator-info-bubble,
.creator-info-tip.is-active .creator-info-bubble {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-24px) translateY(0);
}

/* Dynamic Informational Callout Bullet List */
.creator-callout-bullet-list {
  margin: 8px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.creator-callout-bullet-list li {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-2, #d8dae5);
}
.creator-callout-bullet-list strong {
  color: #ffffff;
}

/* Collaborators mode variant for Callout */
.creator-founder-callout.is-collab {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.28);
}
.creator-founder-icon.is-collab {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

/* ========================================================================== */
/* Create Brand — Responsive Layout                                           */
/* ========================================================================== */
@media(max-width:900px){
  .creator-shell {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 10px;
  }
  .creator-roadmap {
    position: static;
  }
  .creator-form {
    padding: 24px 20px;
  }
}
@media(max-width:600px){
  .creator-mode-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .creator-slider-row {
    grid-template-columns: 1fr 76px;
    gap: 10px;
  }
}
/* Dynamic Revenue Math Explanation Box (Section A & D) */
.creator-math-example {
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line-strong, #3d4050);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.creator-math-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.creator-math-header strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink, #f4f4f6);
}
.creator-math-disclaimer {
  font-size: 11px;
  color: var(--muted, #a4a7b5);
  font-style: italic;
}
.creator-math-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.creator-math-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.creator-math-label {
  font-size: 10.5px;
  color: var(--muted, #a4a7b5);
  font-weight: 550;
  line-height: 1.3;
}
.creator-math-value {
  font-size: 14px;
  font-weight: 750;
  color: var(--ink, #ffffff);
  font-variant-numeric: tabular-nums;
}
.creator-math-item.members .creator-math-value {
  color: #c084fc;
}
.creator-math-item.treasury .creator-math-value {
  color: #94a3b8;
}
@media(max-width:600px){
  .creator-math-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
/* Revenue Rules Compact Top Row Layout (#/create) */
.creator-revenue-top-row {
  display: grid !important;
  grid-template-columns: 1fr 140px !important;
  gap: 20px !important;
  align-items: start !important;
}
.creator-revenue-col-margin {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.creator-revenue-col-margin .creator-split-pill {
  align-self: flex-start !important;
  margin-top: 2px !important;
}
.creator-revenue-col-currency {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.creator-revenue-col-currency select {
  width: 100% !important;
  height: 40px !important;
}
@media (max-width: 640px) {
  .creator-upload-tiles-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .creator-tile-logo {
    width: 100% !important;
    max-width: 160px !important;
    margin: 0 auto !important;
  }
  .creator-tile-logo .create-brand-logo-preview {
    width: 100% !important;
    max-width: 160px !important;
    height: auto !important;
    max-height: unset !important;
    aspect-ratio: 1 / 1 !important;
  }
  .creator-tile-banner {
    width: 100% !important;
  }
  .creator-tile-banner .create-brand-banner-preview {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 1 !important;
  }
  .creator-revenue-top-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Collapsible Simulation Panel (#/create) */
.creator-simulation-card,
.creator-simulation-collapsible {
  background: var(--surface-soft, #14151b) !important;
  border: 1px solid var(--line-strong, #3d4050) !important;
  border-radius: 12px !important;
  padding: 0 !important;
  margin-top: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transition: border-color 0.16s ease, background 0.16s ease !important;
}
.creator-simulation-card:hover,
.creator-simulation-collapsible:hover {
  border-color: rgba(168, 85, 247, 0.4) !important;
}
.creator-sim-toggle-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 12px !important;
  cursor: pointer !important;
  user-select: none !important;
  background: transparent !important;
  outline: none !important;
  transition: background 0.14s ease !important;
}
.creator-sim-toggle-header:hover {
  background: rgba(255, 255, 255, 0.02) !important;
}
.creator-sim-toggle-header:focus-visible {
  outline: 2px solid #a855f7 !important;
  outline-offset: -2px !important;
}
.creator-sim-toggle-left {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.creator-sim-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--ink, #ffffff) !important;
  letter-spacing: 0.02em !important;
}
.creator-sim-badge {
  display: none !important;
}
.creator-sim-chevron {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--muted, #a4a7b5) !important;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.creator-sim-toggle-header.is-open .creator-sim-chevron {
  transform: rotate(180deg) !important;
  color: #c084fc !important;
}
.creator-sim-collapse-body[hidden] {
  display: none !important;
}
.creator-sim-collapse-body {
  padding: 8px 12px 10px !important;
  border-top: 1px solid var(--line-strong, #2f3240) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.creator-sim-note {
  display: none !important;
}
.creator-sim-split {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 190px)) !important;
  gap: 8px !important;
}
@media (max-width: 520px) {
  .creator-sim-split {
    grid-template-columns: 1fr 1fr !important;
  }
}
.creator-sim-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 6px 10px !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  min-width: 0 !important;
}
.creator-sim-label {
  font-size: 10.5px !important;
  color: var(--muted, #a4a7b5) !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.creator-sim-amt {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.2 !important;
}
.creator-sim-item.members .creator-sim-amt {
  color: #c084fc !important;
}
.creator-sim-item.treasury .creator-sim-amt {
  color: #94a3b8 !important;
}

/* ---------- Reviews / gifting / utilities ---------- */
.review-entry{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:10px}.review-body{color:var(--ink-2);font-size:13px}.review-pages{margin-top:14px}.gift-toolbar{display:flex;gap:8px;flex-wrap:wrap}.gift-choice,.gift-select{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.gift-checkout-page{max-width:900px;margin:auto}.address-tabs{display:flex;gap:7px}
.feathers-section{margin-top:10px;margin-bottom:30px;padding:28px;border:1px solid var(--line-strong);border-radius:22px;background:var(--surface,#111216);box-shadow:0 9px 30px rgba(0,0,0,.25);color:var(--ink,#f4f4f6)}
.feathers-section .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.feathers-section .section-head h2{font-size:24px;font-weight:750;color:var(--ink);margin:4px 0 0}
.feathers-balance{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-radius:18px;background:var(--surface-soft,#181920);border:1px solid var(--line);margin-bottom:28px}
.feathers-balance>div{display:flex;flex-direction:column;gap:4px;flex:1}
.feathers-balance small{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.feathers-balance strong{font-size:32px;font-weight:800;color:var(--ink);line-height:1.1;display:flex;align-items:baseline;gap:8px}
.feathers-balance strong span{font-size:15px;font-weight:650;color:var(--muted)}
.feathers-balance button{flex-shrink:0}
.feather-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:rgba(124,58,237,.15);color:#a855f7;flex-shrink:0}
#feathers-provider,#feathers-card,#feathers-content select{padding-right:38px !important}
.feathers-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 24px}
@media (max-width:900px){.feathers-tiers{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media (max-width:580px){.feathers-tiers{grid-template-columns:1fr;gap:14px}}
.feathers-tier{position:relative;padding:24px 22px 20px;border:1px solid var(--line-strong,#292b35);border-radius:18px;background:var(--surface,#111216);display:flex;flex-direction:column;justify-content:space-between;min-height:230px;box-sizing:border-box;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.feathers-tier:hover{transform:translateY(-2px);border-color:rgba(168,85,247,.45)}
.feathers-tier.recommended{border-color:#8b5cf6;background:linear-gradient(180deg,rgba(139,92,246,.08) 0%,var(--surface,#111216) 100%);box-shadow:0 8px 24px rgba(139,92,246,.16)}
.feathers-tier.recommended:hover{border-color:#a78bfa;box-shadow:0 10px 28px rgba(139,92,246,.24)}
.feathers-recommended{position:absolute;top:-11px;left:20px;padding:3px 10px;border-radius:999px;background:linear-gradient(135deg,#7c3aed 0%,#a855f7 100%);color:#ffffff;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 2px 8px rgba(124,58,237,.4);pointer-events:none;z-index:2;margin:0}
.feathers-tier-content{display:flex;flex-direction:column;gap:6px;flex:1}
.feathers-tier-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.feathers-tier h3{font-size:16px;font-weight:750;color:var(--ink);display:flex;align-items:center;gap:6px;margin:0}
.feathers-tier strong{font-size:18px;font-weight:800;color:var(--ink)}
.feathers-tier p{font-size:12.5px;color:var(--ink-2);margin:0 0 4px}
.feathers-tier p.help{font-size:11px;color:var(--muted);line-height:1.45;margin:0 0 14px}
.feathers-tier-action{margin-top:auto;padding-top:12px}
.feathers-tier .feathers-buy-btn{width:100%;min-height:42px;font-size:13px;font-weight:700;border-radius:10px}
.feathers-tier.recommended .feathers-buy-btn{background:linear-gradient(135deg,#7c3aed 0%,#6d28d9 100%);border-color:#7c3aed;color:#ffffff;box-shadow:0 4px 14px rgba(124,58,237,.3)}
.feathers-tier.recommended .feathers-buy-btn:hover{background:linear-gradient(135deg,#8b5cf6 0%,#7c3aed 100%);box-shadow:0 6px 18px rgba(124,58,237,.42)}
.feathers-buy-btn.is-deferred{opacity:.65;cursor:not-allowed;font-size:12px}

/* ---------- Legacy compatibility hooks ---------- */
.channel-monogram{display:grid;place-items:center;width:100%;height:100%;font-weight:800}.brand-logo{width:100%;height:100%;object-fit:cover}.brand-core-metrics,.network-brand-stats{display:flex;gap:18px}.channel-actions{display:flex;gap:8px;flex-wrap:wrap}.brand-stage-list,.network-side-list{display:grid;gap:8px}.brand-stage-person,.brand-stage-product,.network-person,.network-product{display:flex;align-items:center;gap:10px}.brand-stage-product>span,.network-product-art{width:46px;height:46px;border-radius:9px;overflow:hidden;background:#e8e8e3}.brand-stage-product>span img,.network-product-art img{width:100%;height:100%;object-fit:cover}.brand-page-banner{height:360px;border-radius:22px;overflow:hidden}.brand-page-banner img{width:100%;height:100%;object-fit:cover}.brand-revenue-ribbon{display:flex;justify-content:center;gap:10px;margin:20px 0;color:var(--muted);font-size:10px}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tabs a{padding:7px 10px;border:1px solid var(--line);border-radius:999px;font-size:10px}.participation-badge{position:absolute;right:10px;top:10px;padding:4px 7px;border-radius:999px;background:#fff;font-size:8px}.showcase-badge{position:absolute;z-index:2;left:10px;top:10px;padding:5px 7px;border-radius:999px;background:#fff;font-size:8px}.drop-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.drop-card-media{position:relative;height:190px;background:#ecece7}.drop-card-body{padding:14px}.drop-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.media-editor-preview.has-preview,.brand-logo-preview.has-preview,.brand-banner-preview.has-preview,.person-avatar.has-preview{border-color:var(--accent)}

/* ---------- Responsive ---------- */
@media(max-width:1180px){
  .header-inner{grid-template-columns:auto 1fr auto}.primary-nav{display:none}#global-search{justify-self:stretch}.home-hero{grid-template-columns:1fr .78fr}.home-hero-copy{padding-right:2vw}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.home-people-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collections-premium-grid{grid-template-columns:1fr}.brand-identity-panel{grid-template-columns:110px minmax(0,1fr);grid-template-areas:"logo main" "actions actions";gap:22px;margin:24px 0 0;padding:0;background:transparent!important;border:none!important;box-shadow:none!important}.brand-identity-actions{justify-content:flex-start;padding:0}.featured-brand-lower{grid-template-columns:1fr}.featured-brand-lower>section+section{border-left:0;border-top:1px solid var(--line)}
}
@media(max-width:900px){
  main{width:min(100% - 28px,var(--max));padding-top:24px}.header-inner{width:calc(100% - 28px);gap:12px}.nav-create{display:none!important}.home-hero{grid-template-columns:1fr;min-height:0;padding-top:28px}.home-hero-copy{padding-right:0}.home-hero-system{min-height:420px}.featured-brand{grid-template-columns:1fr}.featured-brand-visual{min-height:360px}.brand-index{grid-template-columns:1fr}.brand-index-item:nth-child(odd){border-right:0}.home-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-overview-grid{grid-template-columns:1fr}.profile-hero{grid-template-columns:auto 1fr}.profile-hero>.actions{grid-column:1/-1}.portfolio-grid{grid-template-columns:1fr}.participation-shell,.creator-shell,.split{grid-template-columns:1fr}.participation-actions,.creator-roadmap,.product-detail>.panel{position:static}.product-detail{grid-template-columns:1fr}.product-photo{min-height:480px}.footer-grid{grid-template-columns:1fr 1fr}.footer-signature{grid-column:1/-1;text-align:left}.brand-media-previews{grid-template-columns:1fr}
}
@media(max-width:700px){
  :root{--header:62px}.site-header{position:sticky}.header-inner{height:var(--header);grid-template-columns:auto 1fr auto}.wordmark{font-size:20px}.brand-bird{width:30px;height:30px}.brand-bird img{width:49px;left:-9px;top:-6px}#global-search{display:none}.nav-right .icon-link,.account-control>details{display:none}.profile-pill{padding:7px 10px;font-size:10px}
  main{width:calc(100% - 24px);padding:18px 0 92px}.mobile-dock{position:fixed;z-index:90;left:10px;right:10px;bottom:10px;display:grid;grid-template-columns:repeat(5,1fr);padding:7px;border:1px solid rgba(0,0,0,.08);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 12px 40px rgba(0,0,0,.14);backdrop-filter:blur(18px)}.mobile-dock a{position:relative;display:grid;place-items:center;gap:2px;padding:5px 2px;border-radius:10px;color:var(--muted);font-size:8px}.mobile-dock b{font-size:16px;font-weight:500}.mobile-dock a[aria-current="page"]{color:var(--ink);background:#f0f0eb}.mobile-dock .mobile-create{background:var(--ink);color:#fff}.mobile-dock i{position:absolute;right:8px;top:2px;min-width:15px;height:15px;display:grid;place-items:center;border-radius:999px;background:var(--accent);color:#fff;font-size:7px;font-style:normal}
  .home-hero-copy h1{font-size:clamp(45px,13vw,62px)}.home-hero-copy>p{font-size:15px}.hero-network-stats{gap:20px;margin-top:36px}.home-hero-system{min-height:390px;padding:25px}.system-bird{width:64px;height:64px}.system-bird img{width:94px}.home-section{margin-top:68px}.section-kicker{grid-template-columns:38px 1fr;align-items:start}.section-kicker>a,.section-kicker>button{grid-column:2;justify-self:start}.section-kicker h2{font-size:32px}.featured-brand-visual{min-height:300px}.featured-brand-content{padding:26px 22px}.featured-brand-heading h2{font-size:40px}.featured-brand-lower>section{padding:22px}.featured-people-list{grid-template-columns:1fr}.featured-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-products-grid .product-card:last-child{display:none}.brand-index-item{grid-template-columns:28px 44px 1fr 20px;padding:13px 10px}.brand-index-item em{display:none}.brand-index-copy small{max-width:100%}.home-people-grid{grid-template-columns:1fr 1fr;gap:9px}.home-person-card{min-height:180px;padding:16px}.home-person-card .person-avatar.large{width:58px;height:58px}.product-grid{gap:20px 10px}.product-card h3{font-size:14px}.product-card-brand{font-size:8px}.product-card-collection{display:none}.product-card-price{margin-left:auto}.brand-directory{grid-template-columns:1fr}.brand-card-cover{height:200px}
  .brand-hero-cover{height:280px;border-radius:16px}.brand-identity-panel{grid-template-columns:78px minmax(0,1fr);grid-template-areas:"logo main" "actions actions";gap:16px;margin:20px 0 0;padding:0;background:transparent!important;border:none!important;box-shadow:none!important}.brand-identity-logo{width:74px;height:74px;border-radius:16px}.brand-identity-main h1{font-size:38px}.brand-workspace-badge,.brand-open-badge,.brand-member-badge{font-size:10px}.brand-identity-main>p{font-size:13px}.brand-identity-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.brand-identity-actions .button{width:100%}.brand-public-stats{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px}.brand-public-stats div{min-width:calc(50% - 10px)}.brand-subnav{top:var(--header);overflow:auto;flex-wrap:nowrap;margin-top:18px}.brand-subnav a{white-space:nowrap}.brand-subnav .participate-link{margin-left:0}.brand-overview-panel,.brand-thesis-panel{padding:18px}.brand-people-preview{grid-template-columns:1fr}.member-grid{grid-template-columns:1fr}.collection-card-premium{grid-template-columns:1fr;min-height:0}.collection-card-media{height:auto;aspect-ratio:16/9}.collection-card-copy{padding:18px}.brand-search{align-items:stretch}.brand-search{display:grid;grid-template-columns:1fr auto}.brand-studio-panel>section,.brand-studio-panel>.split,.brand-studio-panel>.collection-media-manager{margin:14px}.media-editor-row{grid-template-columns:1fr}.media-editor-preview{width:100%;height:160px}.collection-editor-row>button{width:100%}
  .profile-hero{grid-template-columns:1fr;padding:22px}.profile-hero .person-avatar.large{width:90px;height:90px}.profile-hero h1{font-size:42px}.profile-stats{gap:18px}.profile-section-nav{margin-bottom:24px}.portfolio-card{padding:17px}.portfolio-card-top{display:grid}.portfolio-share-split{justify-content:flex-start}.share-split{text-align:left}.portfolio-balances{grid-template-columns:1fr 1fr}.fields{grid-template-columns:1fr}.section-head{align-items:start;margin-top:48px}.section-head h2{font-size:31px}.section-head>.muted{display:none}.product-photo{min-height:380px}.product-detail>.panel{padding:22px}.product-provenance{grid-template-columns:1fr}.participate-title{align-items:start}.participate-status-mark{display:none}.ownership-action-grid,.performance-metrics,.metrics{grid-template-columns:1fr 1fr}.site-footer{padding-bottom:110px}.footer-grid{grid-template-columns:1fr}.footer-links{margin-top:10px}
}
@media(max-width:420px){
  .home-people-grid{grid-template-columns:1fr}.home-person-card{min-height:150px}.hero-network-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hero-network-stats strong{font-size:19px}.featured-brand-numbers{gap:4px}.featured-brand-numbers strong{font-size:18px}.featured-brand-numbers span{font-size:9px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 8px}.product-card-media{border-radius:10px}.brand-identity-panel{grid-template-columns:1fr;grid-template-areas:"logo" "main" "actions";gap:16px;margin:16px 0 0;padding:0;background:transparent!important;border:none!important;box-shadow:none!important}.brand-identity-logo{width:80px;height:80px}.brand-identity-actions{grid-template-columns:1fr;width:100%}.brand-public-stats{gap:8px 12px}.brand-public-stats div{min-width:calc(50% - 8px)}.featured-products-grid{grid-template-columns:1fr 1fr}
}
.public-profile-meta{display:flex;gap:18px;margin-top:18px;color:var(--muted);font-size:10px}.public-profile-meta span{display:flex;align-items:baseline;gap:5px}.public-profile-meta strong{color:var(--ink);font-size:18px}.public-portfolio-card>p{min-height:48px;color:var(--muted);font-size:12px}.public-portfolio-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;padding-top:13px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.public-portfolio-footer a{color:var(--ink);font-weight:700}
.favorite-heart.is-saved{background:transparent!important;color:#EF4444!important}.profile-hero+.help{margin:10px 4px 0;font-size:9px}.owner-badge{background:#f2ede5}.trial-badge{background:#fff2ec;border-color:#efd1c6;color:#a9492e}.confirmed-badge{background:var(--green-soft);border-color:#c8e1d2;color:var(--green)}

/* Public Brand Cards (User Profile "Brands of [User]") */
.public-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .public-brands-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.public-brand-card {
  position: relative;
  background: var(--surface, #0a0a0f);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.public-brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(110, 93, 203, 0.18);
}

.public-brand-card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.public-brand-banner {
  position: relative;
  height: 130px;
  width: 100%;
  background: #14121d;
  overflow: hidden;
}

.public-brand-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.public-brand-card:hover .public-brand-banner-img {
  transform: scale(1.05);
}

.public-brand-banner-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #181226, #090710);
}

.public-brand-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(10, 10, 15, 0.95));
}

.public-brand-badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
}

.public-brand-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

.public-brand-badge-verified {
  background: rgba(0, 0, 0, 0.65);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
  backdrop-filter: blur(4px);
}

.public-brand-badge-open {
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.4);
  backdrop-filter: blur(4px);
}

.public-brand-logo-slot {
  position: absolute;
  top: 92px;
  left: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #14121e;
  border: 3px solid #0a0a0f;
  overflow: hidden;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.public-brand-logo-slot .brand-logo,
.public-brand-logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.public-brand-logo-slot .channel-monogram,
.public-brand-initials {
  font-size: 1.125rem;
  font-weight: 700;
  color: #c084fc;
}

.public-brand-body {
  padding: 2.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.public-brand-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.25rem;
}

.public-brand-title {
  font-size: 1.15rem !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.015em;
}

.public-brand-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.public-brand-desc {
  font-size: 0.8125rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
  line-height: 1.5 !important;
  margin: 0.35rem 0 0.75rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

/* Product & Collection Metadata in Card Body */
.public-brand-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-size: 0.78125rem;
  color: rgba(255, 255, 255, 0.48);
}

.public-brand-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.public-brand-meta strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

/* Divider below metadata */
.public-brand-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0.75rem 0 0.65rem 0;
  width: 100%;
}

/* Products Section below divider */
.public-brand-products-section {
  position: relative;
  width: 100%;
}

/* Horizontal Thumbs Row */
.public-brand-thumbs-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mini Thumbnail Button (approx 46px) */
.public-brand-thumb {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  overflow: hidden;
  background: #14151e;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.public-brand-thumb:hover,
.public-brand-thumb.is-active {
  transform: translateY(-2px) scale(1.05);
  border-color: #a855f7 !important;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.45), 0 4px 10px rgba(0, 0, 0, 0.5) !important;
}

.public-brand-thumb-render {
  position: relative;
  width: 100%;
  height: 100%;
  background: #101118;
}

.public-brand-thumb-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.public-brand-thumb-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* Enlarged In-Card Product Peek Preview (approx 120px) */
.public-brand-peek-preview {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 116px;
  height: 116px;
  border-radius: 12px;
  background: rgba(14, 15, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(168, 85, 247, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.public-brand-peek-preview.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.public-brand-peek-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #101118;
}

.public-brand-peek-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.public-brand-peek-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.public-brand-peek-title {
  position: absolute;
  bottom: 5px;
  left: 6px;
  right: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 4px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ========================================================================== */
/* COLLECTION CARD PRODUCTS STRIP & THUMBNAILS */
/* ========================================================================== */
.collection-card-products-section {
  position: relative;
  width: 100%;
  margin: 8px 0 2px 0;
}

.collection-card-thumbs-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.collection-card-thumb {
  position: relative;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  border-radius: 8px;
  overflow: hidden;
  background: #14151e;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.collection-card-thumb:hover,
.collection-card-thumb.is-active {
  transform: translateY(-2px) scale(1.05);
  border-color: #a855f7 !important;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.45), 0 4px 10px rgba(0, 0, 0, 0.5) !important;
}

.collection-card-thumb-render {
  position: relative;
  width: 100%;
  height: 100%;
  background: #101118;
}

.collection-card-thumb-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.collection-card-thumb-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.collection-card-more-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 38px;
  padding: 0 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink, #ffffff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.collection-card-more-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.collection-card-peek-preview {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 116px;
  height: 116px;
  border-radius: 12px;
  background: rgba(14, 15, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(168, 85, 247, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 25;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.collection-card-peek-preview.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.collection-card-peek-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #101118;
}

.collection-card-peek-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.collection-card-peek-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.collection-card-peek-title {
  position: absolute;
  bottom: 5px;
  left: 6px;
  right: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 4px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ========================================================================== */
/* PROFILE / ACCOUNT WORKSPACE — professional public + private identity layer */
/* ========================================================================== */
.ui-icon{display:block;flex:0 0 auto}

/* Public profile */
.public-profile-shell{max-width:1080px;margin:0 auto;padding:0 16px}
.public-profile-back{margin-bottom:12px;display:inline-flex;align-items:center;color:var(--muted);font-size:12.5px;font-weight:600;text-decoration:none}
.public-profile-back:hover{color:var(--ink,#ffffff)}
.public-person-card{display:grid;grid-template-columns:124px minmax(0,1fr);gap:28px;align-items:start;padding:8px 0 20px;border:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.public-person-avatar{display:flex;justify-content:flex-start;align-items:flex-start;padding-top:4px}
.public-person-avatar .person-avatar.large{width:116px!important;height:116px!important;flex-basis:116px!important;min-width:116px!important;border-radius:50%!important;border:2px solid rgba(255,255,255,.14)!important;background:var(--surface-soft,#181920)!important;box-shadow:0 4px 16px rgba(0,0,0,.2)!important;font-size:28px!important;overflow:hidden!important}
.public-person-main{display:flex;flex-direction:column;gap:8px;min-width:0}
.public-person-top-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.public-person-identity{display:flex;flex-direction:column;gap:2px;min-width:0}
.public-person-name-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.public-person-name-line h1{font-size:clamp(24px,2.6vw,32px);font-weight:780;letter-spacing:-.03em;line-height:1.2;margin:0;color:var(--ink,#ffffff)}
.public-handle{margin:0;color:var(--muted,#a4a7b5);font-size:14px;font-weight:600}
.profile-role-pill{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border:1px solid rgba(123,65,231,.35);border-radius:999px;background:rgba(123,65,231,.14);color:#c084fc;font-size:9.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.public-person-bio{max-width:680px;margin:3px 0 2px;color:var(--ink-2,#d8dae5);font-size:14.5px;line-height:1.5;white-space:pre-wrap}
.public-person-location{display:inline-flex;align-items:center;gap:6px;margin:0 0 2px;color:var(--muted,#a4a7b5);font-size:12.5px;font-weight:500}
.public-person-location .ui-icon{color:var(--muted,#a4a7b5);flex-shrink:0}
.public-person-actions{align-self:center;display:flex;justify-content:flex-end}
.public-person-actions .edit-profile-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;min-height:36px;border-radius:999px;font-size:13px;font-weight:650;background:var(--surface-soft,#181920)!important;color:var(--ink,#ffffff)!important;border:1px solid var(--line-strong,#3d4050)!important;box-shadow:0 1px 3px rgba(0,0,0,.1)!important;text-decoration:none!important;transition:all .15s ease!important}
.public-person-actions .edit-profile-btn:hover{background:var(--surface-strong,#20222b)!important;border-color:#7B41E7!important;color:#ffffff!important;transform:translateY(-1px)!important}
.public-person-actions .edit-profile-btn .ui-icon{color:var(--muted,#a4a7b5)!important}
.public-person-social .social-panel{min-height:auto}
.public-person-social .social-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.public-person-social .social-counts{display:flex!important;align-items:center;gap:20px!important;flex-wrap:wrap}
.public-person-social .social-counts span{display:inline-flex!important;gap:5px;align-items:baseline;color:var(--muted,#a4a7b5)!important;font-size:13.5px;font-weight:500}
.public-person-social .social-counts strong{color:var(--ink,#ffffff)!important;font-size:14.5px;font-weight:750}
.public-person-social .social-follow{padding:6px 14px;border-radius:999px;font-size:12.5px;font-weight:700}
.public-person-social .help{display:none}

/* Social Profile Tabs */
.public-person-tabs{display:flex;align-items:center;gap:32px;margin:14px 0 24px;padding:0;border:none;border-bottom:1px solid var(--line,#292b35)}
.public-person-tabs a{display:inline-flex;align-items:center;gap:8px;padding:12px 2px 14px;margin-bottom:-1px;border:none;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted,#a4a7b5);font-size:13.5px;font-weight:600;text-decoration:none;transition:all .15s ease}
.public-person-tabs a:hover{background:transparent;color:var(--ink,#ffffff)}
.public-person-tabs a.is-active{background:transparent;border:none;border-bottom:2px solid #7B41E7;color:var(--ink,#ffffff);font-weight:750}
.public-person-tabs a .ui-icon{opacity:.7;transition:opacity .15s ease}
.public-person-tabs a:hover .ui-icon,.public-person-tabs a.is-active .ui-icon{opacity:1}
.public-person-tabs a.is-active .ui-icon{color:#7B41E7}
.public-person-tabs b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.08);color:var(--muted);font-size:10.5px;font-weight:700;line-height:1}
.public-person-tabs a.is-active b{background:rgba(123,65,231,.2);color:#c084fc}
.public-profile-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.public-profile-section-head h2{margin:4px 0 0;font-size:22px;color:var(--ink,#ffffff)}
.public-profile-section-head>span{color:var(--muted);font-size:12px}
.public-person-tab-content{min-height:240px}

/* Wishlist component */
.wishlist-head{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:20px!important;padding-bottom:0!important;border-bottom:none!important}
.wishlist-title-wrap{display:flex!important;align-items:center!important;gap:12px!important}
.wishlist-title-wrap h2{margin:0!important;font-size:22px!important;font-weight:750!important;color:var(--ink,#ffffff)!important}
.wishlist-count-badge{display:inline-flex!important;align-items:center!important;padding:3px 9px!important;border-radius:999px!important;background:rgba(255,255,255,.08)!important;color:var(--muted,#a4a7b5)!important;font-size:11.5px!important;font-weight:650!important}
.wishlist-empty-state{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:48px 20px!important;max-width:420px!important;margin:20px auto 40px!important}
.wishlist-empty-icon{display:grid!important;place-items:center!important;width:56px!important;height:56px!important;border-radius:50%!important;background:rgba(123,65,231,.12)!important;color:#a855f7!important;margin-bottom:16px!important}
.wishlist-empty-state h3{font-size:18px!important;font-weight:750!important;color:var(--ink,#ffffff)!important;margin:0 0 8px!important}
.wishlist-empty-state p{font-size:13.5px!important;line-height:1.5!important;color:var(--muted,#a4a7b5)!important;margin:0!important}

/* Header User Avatar */
.site-header .profile-pill .header-user-avatar,
#account-link .header-user-avatar{width:32px!important;height:32px!important;border-radius:50%!important;object-fit:cover!important;display:block!important}
#account-link.has-avatar{border-radius:50%!important;overflow:hidden!important}

/* Private account workspace & settings */
.account-layout-shell{max-width:1220px;margin:0 auto;padding:0 24px}
.private-profile-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;align-items:start;margin-top:10px}
.account-sidebar{position:sticky;top:calc(var(--header) + 16px);padding:10px;border:1px solid var(--line-strong);border-radius:16px;background:var(--surface,#111216);box-shadow:0 4px 18px rgba(0,0,0,.18)}
.account-side-user{display:flex;align-items:center;gap:10px;padding:8px 10px 12px;margin-bottom:4px;border-bottom:1px solid var(--line)}
.account-user-avatar .person-avatar{width:36px;height:36px;min-width:36px;border-radius:50%;font-size:12px;overflow:hidden}
.account-user-meta{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.account-user-name{font-size:13.5px;font-weight:750;color:var(--ink,#ffffff);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-user-handle{font-size:11.5px;color:var(--muted,#a4a7b5);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-side-group{padding:6px 0;border-bottom:1px solid var(--line)}
.account-side-group:last-child{border-bottom:none;padding-bottom:2px}
.account-side-group-label{display:block;padding:6px 10px 4px;font-size:9.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2,#828594)}
.account-side-item{display:flex;align-items:center;gap:10px;min-height:36px;padding:7px 10px;border-radius:8px;color:var(--ink-2,#d8dae5)!important;font-size:12.5px;font-weight:600;text-decoration:none;transition:all .14s ease}
.account-side-item .ui-icon{color:var(--muted,#a4a7b5)!important;flex-shrink:0;transition:color .14s ease}
.account-side-item:hover{background:rgba(255,255,255,.05)!important;color:#ffffff!important}
.account-side-item:hover .ui-icon{color:#ffffff!important}
.account-side-item.is-active{background:rgba(123,65,231,.12)!important;color:#c084fc!important;font-weight:700}
.account-side-item.is-active .ui-icon{color:#a855f7!important}
.account-side-item b{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.08);color:var(--muted);font-size:10px;font-weight:750}
.account-side-item.is-active b{background:rgba(123,65,231,.22);color:#ddd6fe}
.account-workspace{width:100%;min-width:0}
.account-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0 0 16px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.account-page-head.compact{margin:0 0 14px;padding-bottom:0;border-bottom:0}
.account-page-head h2{margin:4px 0 2px;font-size:22px;font-weight:780;color:var(--ink,#ffffff)}
.account-page-head p{margin:0;color:var(--muted);font-size:12.5px}
.account-card{padding:20px 22px;border:1px solid var(--line-strong);border-radius:16px;background:var(--surface,#111216);box-shadow:0 4px 18px rgba(0,0,0,.16);color:var(--ink,#f4f4f6)}
.account-card-title{display:flex;align-items:center;gap:9px;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid var(--line);color:#a855f7}
.account-card-title h3{color:var(--ink,#ffffff);font-size:16px;font-weight:750;margin:0}
.account-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.account-overview-grid article,.overview-metric-card{display:flex;flex-direction:column;justify-content:space-between;min-height:108px;padding:16px 18px;border:1px solid var(--line-strong,#3d4050);border-radius:14px;background:var(--surface,#111216);box-shadow:0 2px 10px rgba(0,0,0,.14);transition:border-color .15s ease,transform .15s ease}
.account-overview-grid article:hover,.overview-metric-card:hover{border-color:rgba(168,85,247,.45);transform:translateY(-1px)}
.overview-metric-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.overview-metric-header .ui-icon{color:var(--muted,#a4a7b5)}
.account-overview-grid small{font-size:10.5px;font-weight:750;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#a4a7b5)}
.account-overview-grid strong{font-size:28px;letter-spacing:-.04em;color:var(--ink,#ffffff);font-weight:780;margin:6px 0;line-height:1.1}
.account-overview-grid a{font-size:11.5px;font-weight:700;color:#a855f7;text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.account-overview-grid a:hover{text-decoration:underline;color:#c084fc}

/* Overview Compact Brand Quick-Access */
.overview-head-actions{display:flex;align-items:center;gap:12px}
.subtle-action-link{font-size:13px;font-weight:650;color:#a855f7;text-decoration:none;padding:6px 12px;border-radius:8px;background:rgba(168,85,247,.08);border:1px solid rgba(168,85,247,.2);transition:all .15s ease}
.subtle-action-link:hover{background:rgba(168,85,247,.15);border-color:rgba(168,85,247,.4);color:#c084fc}
.overview-brands-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.overview-brand-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;background:var(--surface,#111216);border:1px solid var(--line,#292b35);border-radius:12px;transition:border-color .15s ease,background .15s ease}
.overview-brand-item:hover{border-color:var(--line-strong,#3d4050);background:var(--surface-soft,#161821)}
.overview-brand-main{display:flex;align-items:center;gap:14px;min-width:0}
.overview-brand-avatar{width:44px;height:44px;min-width:44px;border-radius:10px;overflow:hidden;background:var(--surface-soft,#181920);border:1px solid var(--line,#292b35);display:grid;place-items:center;flex-shrink:0}
.overview-brand-avatar img{width:100%;height:100%;object-fit:cover}
.overview-brand-avatar .channel-monogram{font-size:14px;font-weight:750;color:var(--ink,#ffffff)}
.overview-brand-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.overview-brand-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.overview-brand-name-link{text-decoration:none;color:inherit}
.overview-brand-name{font-size:14.5px;font-weight:750;color:var(--ink,#ffffff)}
.overview-brand-name-link:hover .overview-brand-name{color:#c084fc}
.overview-brand-tags{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted,#a4a7b5)}
.overview-brand-role{font-weight:650;font-size:11px;letter-spacing:.03em;color:var(--muted,#a4a7b5)}
.overview-brand-dot{opacity:.5}
.overview-brand-part{font-weight:600;font-size:11.5px;color:#c084fc}
.overview-brand-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.overview-studio-btn{font-weight:650;white-space:nowrap}
.overview-brands-footer{margin-top:14px;text-align:right}
.overview-all-brands-link{font-size:12.5px;font-weight:650;color:#a855f7;text-decoration:none}
.overview-all-brands-link:hover{text-decoration:underline;color:#c084fc}

#refresh-profile{display:inline-flex;align-items:center;gap:6px}

.account-subsection{margin-top:24px}
.private-brand-card{box-shadow:none}
.private-brand-card .portfolio-balances{margin-bottom:14px}
.profile-settings-card{max-width:none}
.profile-settings-avatar-row{display:flex;align-items:center;gap:20px;margin-bottom:24px;padding:4px 0 12px}
.avatar-upload-trigger{position:relative;display:inline-flex;border-radius:50%;cursor:pointer;outline:none;transition:transform .16s ease;user-select:none;flex-shrink:0}
.avatar-upload-trigger:hover,.avatar-upload-trigger:focus-visible{transform:scale(1.02)}
.avatar-upload-trigger:focus-visible .person-avatar{outline:2px solid #7B41E7;outline-offset:3px}
.avatar-upload-trigger .person-avatar.large{width:96px!important;height:96px!important;min-width:96px!important;flex-basis:96px!important;border-radius:50%!important;font-size:32px!important;overflow:hidden!important;background:var(--surface-soft,#181920)!important;border:2px solid var(--line-strong,#3d4050)!important;box-shadow:0 4px 18px rgba(0,0,0,.25)!important;display:grid!important;place-items:center!important}
.avatar-upload-trigger .person-avatar.large img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.avatar-upload-overlay{position:absolute;inset:0;border-radius:50%;background:rgba(14,16,22,.72);color:#ffffff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;opacity:0;pointer-events:none;transition:opacity .18s ease;backdrop-filter:blur(2px)}
.avatar-upload-trigger:hover .avatar-upload-overlay,.avatar-upload-trigger:focus-visible .avatar-upload-overlay{opacity:1}
.avatar-upload-overlay .ui-icon{color:#c084fc}
.avatar-overlay-text{font-size:10px;font-weight:750;letter-spacing:.05em;text-transform:uppercase;color:#f4f4f6}
.profile-avatar-details{display:flex;flex-direction:column;gap:4px}
.profile-avatar-details strong{font-size:15px;font-weight:700;color:var(--ink,#ffffff)}
.profile-avatar-details .help{margin:0;font-size:12.5px;color:var(--muted,#a4a7b5)}
.mobile-form-submit{margin-top:4px}
.mobile-form-submit>button{display:none}

/* Address Form Refinements & Spacing */
#profile-shipping{padding:22px 24px}
.address-tabs{display:flex;gap:12px;margin:14px 0}
.address-tabs button{min-height:36px;padding:7px 18px;border-radius:999px;font-size:13px;font-weight:650;transition:all .15s ease}
.address-tabs button[aria-pressed="true"]{background:#7B41E7!important;border-color:#6530D4!important;color:#ffffff!important}
.address-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin-top:14px}
#shipping-profile .fields label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650;color:var(--ink,#ffffff)}
#shipping-profile .fields input{height:42px;min-height:42px;padding:9px 12px;border-radius:10px;font-size:13.5px;background:var(--surface-soft,#181920);border:1px solid var(--line-strong,#3d4050);color:var(--ink,#f4f4f6);outline:none;transition:border-color .15s ease,box-shadow .15s ease}
#shipping-profile .fields input:focus{border-color:#7B41E7;box-shadow:0 0 0 3px rgba(123,65,231,.2)}
.address-actions-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:20px;padding-top:6px}
.address-actions-row button{min-height:40px;padding:9px 20px;font-size:13.5px;font-weight:700;border-radius:10px;cursor:pointer;transition:all .15s ease}
.address-actions-row .address-submit-btn{background:#7B41E7;border:1px solid #6530D4;color:#ffffff;box-shadow:0 4px 16px rgba(123,65,231,.25)}
.address-actions-row .address-submit-btn:hover{background:#6530D4;border-color:#5122b5;transform:translateY(-1px)}
.address-actions-row .address-gifts-btn,.address-actions-row .address-delete-btn{background:var(--surface-soft,#181920);border:1px solid var(--line-strong,#3d4050);color:var(--ink-2,#d8dae5)}
.address-actions-row .address-gifts-btn:hover,.address-actions-row .address-delete-btn:hover{background:var(--surface-strong,#20222b);border-color:var(--line-active,#4f5367);color:#ffffff;transform:translateY(-1px)}

/* Payments & Saved Cards Panel Refinements */
#profile-cards{padding:22px 24px}
#profile-cards .account-card-title{color:#a855f7}
.saved-cards-list{display:flex;flex-direction:column;gap:12px;margin:16px 0}
.saved-card-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-radius:14px;border:1px solid var(--line-strong,#292b35);background:var(--surface-soft,#161821);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.saved-card-row:hover{border-color:rgba(168,85,247,.4);box-shadow:0 4px 18px rgba(0,0,0,.2);transform:translateY(-1px)}
.saved-card-info{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.saved-card-brand-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:6px;background:rgba(124,58,237,.16);color:#c084fc;border:1px solid rgba(124,58,237,.35);font-size:10.5px;font-weight:800;letter-spacing:.06em}
.saved-card-number{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:14px;font-weight:650;color:var(--ink,#ffffff);letter-spacing:.04em}
.saved-card-exp{font-size:12px;color:var(--muted,#a4a7b5);font-weight:500}
.saved-card-actions{display:flex;align-items:center;gap:10px}
.remove-card-btn{padding:7px 14px!important;font-size:12px!important;font-weight:650!important;border-radius:8px!important;color:#ef4444!important;border-color:rgba(239,68,68,.3)!important;background:rgba(239,68,68,.08)!important;transition:all .15s ease!important}
.remove-card-btn:hover{color:#ffffff!important;border-color:#ef4444!important;background:#ef4444!important}
.saved-cards-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:36px 20px;border-radius:14px;border:1px dashed var(--line-strong,#3d4050);background:var(--surface-soft,#181920);margin:16px 0}
.saved-cards-empty-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:rgba(124,58,237,.15);color:#a855f7;margin-bottom:14px}
.saved-cards-empty-title{font-size:15px;font-weight:750;color:var(--ink,#ffffff);margin:0 0 6px!important}
.saved-cards-empty .muted{font-size:12.5px;color:var(--muted,#a4a7b5);max-width:380px;margin:0!important;line-height:1.45}
#profile-cards .actions,.cards-panel-actions{display:flex;align-items:center;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line);flex-wrap:wrap}
#profile-cards .actions button,.cards-panel-actions button{min-height:42px;padding:0 20px;font-size:13px;font-weight:700;border-radius:10px}
#profile-cards #save-card{background:linear-gradient(135deg,#7c3aed 0%,#6d28d9 100%);border:1px solid #7c3aed;color:#ffffff;box-shadow:0 4px 14px rgba(124,58,237,.28);transition:all .16s ease}
#profile-cards #save-card:hover{background:linear-gradient(135deg,#8b5cf6 0%,#7c3aed 100%);box-shadow:0 6px 18px rgba(124,58,237,.4);transform:translateY(-1px)}
#profile-cards #reload-cards{background:var(--surface-soft,#181920);border:1px solid var(--line-strong,#3d4050);color:var(--ink-2,#d8dae5);transition:all .16s ease}
#profile-cards #reload-cards:hover{background:var(--surface-strong,#20222b);border-color:rgba(168,85,247,.4);color:#ffffff}
#card-setup-link:not(:empty){margin-top:20px;padding:18px 20px;border-radius:14px;border:1px solid rgba(124,58,237,.3);background:rgba(124,58,237,.06)}
#card-setup-link p{margin:0 0 10px}
#card-setup-link p:last-child{margin:0}

.account-workspace #profile-favorites>.section-head{margin-top:0}
.account-workspace #profile-connections.panel,.account-workspace .feathers-section,.account-workspace #profile-gifts{border-radius:16px}
.account-workspace .feathers-section>.section-head{margin-top:0}
.account-workspace .panel{box-shadow:none}
.account-workspace .table-wrap{overflow-x:auto}

@media (max-width:960px){
  .public-person-card{grid-template-columns:100px minmax(0,1fr);gap:20px}
  .public-person-avatar .person-avatar.large{width:96px!important;height:96px!important;flex-basis:96px!important;min-width:96px!important}
  .private-profile-layout{grid-template-columns:210px minmax(0,1fr);gap:18px}
  .account-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:760px){
  .public-profile-shell{padding:0 12px}
  .public-person-card{grid-template-columns:84px minmax(0,1fr);gap:16px;padding:6px 0 16px}
  .public-person-avatar .person-avatar.large{width:80px!important;height:80px!important;flex-basis:80px!important;min-width:80px!important;font-size:20px!important}
  .public-person-top-bar{flex-direction:column;align-items:flex-start;gap:8px}
  .public-person-name-line h1{font-size:22px}
  .public-person-actions{width:100%}
  .public-person-actions .edit-profile-btn{width:100%;justify-content:center}
  .public-person-tabs{gap:20px;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
  .public-person-tabs a{font-size:13px;padding:10px 0 12px}
  .private-profile-layout{display:block}
  .account-sidebar{position:static;width:100%;margin-bottom:20px}
  .account-overview-grid{grid-template-columns:1fr 1fr;gap:8px}
  .profile-settings-avatar-row{grid-template-columns:1fr}
  .mobile-form-submit>button{display:inline-flex;width:100%}
  .account-page-head button[form="profile"]{display:none}
}

@media (max-width:480px){
  .public-person-card{grid-template-columns:68px minmax(0,1fr);gap:14px}
  .public-person-avatar .person-avatar.large{width:68px!important;height:68px!important;flex-basis:68px!important;min-width:68px!important}
  .public-person-social .social-counts{gap:14px!important}
  .public-person-social .social-counts span{font-size:12.5px}
  .public-person-social .social-counts strong{font-size:13.5px}
}

/* ==========================================================================
   AWEBO Authentication Full-Screen Split Layout (#/login)
   ========================================================================== */
body.auth-route,
html.auth-route body,
body:has(.auth-fullscreen-layout) {
  min-height: 100vh;
  min-height: 100dvh;
}

body.auth-route main#app,
html.auth-route main#app,
body.auth-route main,
body:has(.auth-fullscreen-layout) main#app,
body:has(.auth-fullscreen-layout) main,
main:has(.auth-fullscreen-layout) {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: none !important;
  background: transparent !important;
}

.auth-fullscreen-layout {
  display: flex;
  width: 100%;
  min-height: calc(100vh - var(--awebo-header-h, 75px));
  min-height: calc(100dvh - var(--awebo-header-h, 75px));
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: var(--bg, #0B0B0E);
}

/* Left Panel: Form Area */
.auth-panel-form {
  flex: 0 0 46%;
  width: 46%;
  max-width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vh, 48px) 36px;
  box-sizing: border-box;
  background: var(--bg, #0B0B0E);
}

.auth-form-container {
  width: 100%;
  max-width: 410px;
  box-sizing: border-box;
}

.auth-header {
  text-align: left;
  margin-bottom: 24px;
}

.auth-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #a855f7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-title {
  margin: 0 0 8px;
  font-size: 29px;
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink, #ffffff);
}

.auth-subtitle {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted, #a4a7b5);
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line, #292b35);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px;
  gap: 4px;
}

.auth-tab {
  flex: 1;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 8px 12px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 9px !important;
  color: var(--muted, #a4a7b5) !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  cursor: pointer !important;
  transition: all 0.16s ease !important;
  box-shadow: none !important;
  transform: none !important;
}

.auth-tab:hover:not(.is-active) {
  color: var(--ink, #ffffff) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.auth-tab.is-active {
  background: #7B41E7 !important;
  color: #ffffff !important;
  font-weight: 750 !important;
  box-shadow: 0 2px 10px rgba(123, 65, 231, 0.35) !important;
}

.auth-tab:focus-visible {
  outline: 2px solid #A27AFF !important;
  outline-offset: 1px !important;
}

/* Auth Form Fields */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2, #d8dae5);
  letter-spacing: 0.01em;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.auth-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted, #727586);
  pointer-events: none;
  z-index: 1;
}

.auth-input {
  width: 100% !important;
  min-height: 46px !important;
  padding: 11px 14px 11px 40px !important;
  background: var(--surface-soft, #181920) !important;
  border: 1px solid var(--line-strong, #323542) !important;
  border-radius: 12px !important;
  color: var(--ink, #ffffff) !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease !important;
}

.auth-input::placeholder {
  color: var(--muted-2, #6b6e7f) !important;
}

.auth-input:focus {
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 3px rgba(123, 65, 231, 0.25) !important;
  outline: none !important;
}

.auth-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.auth-password-wrap .auth-input {
  padding-left: 40px !important;
  padding-right: 44px !important;
}

.auth-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  color: var(--muted, #a4a7b5) !important;
  cursor: pointer !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  transition: color 0.15s ease, background 0.15s ease !important;
}

.auth-password-toggle:hover {
  color: var(--ink, #ffffff) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.auth-password-toggle:focus-visible {
  outline: 2px solid #7B41E7 !important;
}

.auth-field-hint {
  margin: 3px 0 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted, #a4a7b5);
}

/* Submit Button & Contrast Fixes */
#auth .auth-submit-btn,
.auth-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 12px 20px !important;
  margin-top: 6px !important;
  border-radius: 12px !important;
  border: 1px solid #7B41E7 !important;
  background: #7B41E7 !important;
  color: #FFFFFF !important;
  font-size: 14.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 4px 16px rgba(123, 65, 231, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.16s ease !important;
}

#auth .auth-submit-btn:hover:not(:disabled),
.auth-submit-btn:hover:not(:disabled) {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
  box-shadow: 0 6px 22px rgba(101, 48, 212, 0.45) !important;
  transform: translateY(-1px) !important;
  color: #FFFFFF !important;
}

#auth .auth-submit-btn:active:not(:disabled),
.auth-submit-btn:active:not(:disabled) {
  background: #5325B3 !important;
  border-color: #5325B3 !important;
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(101, 48, 212, 0.3) !important;
  color: #FFFFFF !important;
}

#auth .auth-submit-btn:focus-visible,
.auth-submit-btn:focus-visible {
  outline: 2px solid #A27AFF !important;
  outline-offset: 2px !important;
}

#auth .auth-submit-btn:disabled,
.auth-submit-btn:disabled {
  background: #232530 !important;
  border: 1px solid #373a4a !important;
  color: #d1d4e2 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 1 !important;
}

/* Form Error Alert */
.auth-form .form-error {
  margin: 0;
  display: none;
}

.auth-form .form-error.notice.error {
  display: block !important;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

/* Wallet Context Note */
.auth-context-note {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.auth-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(123, 65, 231, 0.08);
  border: 1px solid rgba(123, 65, 231, 0.2);
  color: #c084fc;
  font-size: 11.5px;
  font-weight: 550;
  line-height: 1.3;
  text-align: center;
}

.auth-wallet-pill svg {
  color: #a855f7;
  flex-shrink: 0;
}

/* Right Panel: Minimalist Visual Hero Panel */
.auth-panel-visual {
  flex: 0 0 54%;
  width: 54%;
  max-width: 54%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  background: radial-gradient(circle at 60% 50%, rgba(123, 65, 231, 0.16) 0%, rgba(20, 21, 28, 0.98) 75%), #121319;
  border-left: 1px solid var(--line-strong, #2c2f3d);
}

.auth-hero-visual-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 24px 0;
  box-sizing: border-box;
}

.auth-transparent-hero-img {
  display: block;
  width: auto;
  max-width: 95%;
  max-height: calc(100vh - var(--awebo-header-h, 75px) - 20px);
  max-height: calc(100dvh - var(--awebo-header-h, 75px) - 20px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
  user-select: none;
  pointer-events: none;
}

/* Tablet & Intermediate Viewports */
@media (max-width: 1024px) and (min-width: 769px) {
  .auth-panel-form {
    flex: 0 0 48%;
    width: 48%;
    max-width: 48%;
    padding: clamp(20px, 3vh, 36px) 28px;
  }
  .auth-panel-visual {
    flex: 0 0 52%;
    width: 52%;
    max-width: 52%;
  }
  .auth-transparent-hero-img {
    max-height: calc(100vh - var(--awebo-header-h, 75px) - 24px);
    max-height: calc(100dvh - var(--awebo-header-h, 75px) - 24px);
    max-width: 95%;
  }
}

/* Mobile Viewport Breakpoint */
@media (max-width: 768px) {
  .auth-fullscreen-layout {
    flex-direction: column;
    min-height: auto;
  }
  .auth-panel-form {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    order: 1;
    padding: 36px 20px 40px;
  }
  .auth-form-container {
    max-width: 100%;
  }
  .auth-panel-visual {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    order: 2;
    min-height: 320px;
    border-left: none;
    border-top: 1px solid var(--line-strong, #2c2f3d);
    padding: 24px 20px 88px;
  }
  .auth-hero-visual-stage {
    padding: 0;
    justify-content: center;
  }
  .auth-transparent-hero-img {
    max-height: 290px;
    max-width: 90%;
  }
  .auth-title {
    font-size: 25px;
  }
  .auth-subtitle {
    font-size: 13px;
  }
  .auth-tab {
    min-height: 36px !important;
    font-size: 13px !important;
  }
  .auth-input {
    min-height: 44px !important;
    font-size: 13.5px !important;
  }
  #auth .auth-submit-btn,
  .auth-submit-btn {
    min-height: 46px !important;
  }
  .auth-wallet-pill {
    font-size: 10.5px;
    padding: 5px 10px;
  }
}

/* ---------- Brand page refinement: search + best sellers ---------- */
.brand-search-top{margin-top:18px;padding:18px 20px;border:1px solid var(--line-strong);border-radius:14px;background:var(--surface,#111216);box-shadow:0 8px 28px rgba(0,0,0,.35)}
.brand-search-top .brand-search{max-width:none;margin:0}
.brand-search-prominent{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.brand-search-prominent .brand-search-label{display:grid;gap:7px}
.brand-search-prominent .brand-search-label>span{font-size:11px;font-weight:750;letter-spacing:.055em;text-transform:uppercase;color:var(--muted)}
.brand-search-prominent input[type=search]{min-height:48px;font-size:14px;background:var(--surface-soft);border:1px solid var(--line-strong);color:#ffffff}
.brand-search-prominent button{min-height:48px;padding-inline:22px}
.brand-search-count{margin:8px 2px 0}
.brand-overview-single{grid-template-columns:1fr}
.brand-thesis-wide{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label flow" "quote flow";column-gap:34px;align-items:end}
.brand-thesis-wide>.eyebrow{grid-area:label;align-self:start}
.brand-thesis-wide blockquote{grid-area:quote;margin-bottom:0;max-width:900px}
.brand-thesis-wide .brand-thesis-flow{grid-area:flow;max-width:320px;align-self:end}
.brand-featured-section{margin-top:56px}
.brand-featured-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.brand-featured-products>.empty{grid-column:1/-1}
.brand-featured-products .product-card{min-width:0}
.brand-featured-products .product-card-media{aspect-ratio:1/1}
.brand-featured-products .product-card h3{font-size:15px}

@media(max-width:980px){
  .brand-featured-products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .brand-thesis-wide{grid-template-columns:1fr;grid-template-areas:"label" "quote" "flow";gap:0}
  .brand-thesis-wide .brand-thesis-flow{max-width:none;margin-top:24px}
}
@media(max-width:720px){
  .brand-search-top{padding:14px;margin-top:12px}
  .brand-search-prominent{grid-template-columns:1fr}
  .brand-search-prominent button{width:100%}
  .brand-featured-section{margin-top:44px}
  .brand-featured-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 9px}
  .brand-thesis-wide blockquote{font-size:clamp(28px,9vw,38px)}
}
@media(max-width:420px){
  .brand-search-top{margin-inline:-2px;padding:12px;border-radius:12px}
  .brand-featured-products{gap:14px 8px}
  .brand-featured-products .product-card h3{font-size:13px}
}

/* ---------- Home marketplace composition ---------- */
.home-market-section{margin-top:78px;padding-top:8px}
.home-market-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
.home-market-heading>div{max-width:760px}.home-market-heading h2{margin-top:5px;font-size:clamp(32px,4vw,48px);letter-spacing:-.04em}.home-market-heading p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.home-market-heading>a{font-size:11px;font-weight:720;white-space:nowrap}
.home-brand-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.home-brand-card{position:relative;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 1px 0 rgba(18,18,18,.02);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.home-brand-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:#cfcfc7}
.home-brand-media{position:relative;height:148px;background:#e6e5df;overflow:visible}
.home-brand-media>a{display:block;width:100%;height:100%;overflow:hidden}.home-brand-media img{width:100%;height:100%;object-fit:cover}.home-brand-fallback{display:block;width:100%;height:100%;background:linear-gradient(135deg,#e7e2d8 0%,#d8d9d2 48%,#a6aaa3 100%)}
.home-brand-logo{position:absolute;left:16px;bottom:-22px;width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border:2px solid #fff;border-radius:13px;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.11)}.home-brand-logo .brand-logo{width:100%;height:100%;object-fit:cover}.home-brand-logo .channel-monogram{font-size:13px;font-weight:850}
.home-participation-chip{position:absolute;z-index:4;left:12px;top:12px;padding:6px 9px;border-radius:999px;background:var(--accent);color:#fff;font-size:8px;font-weight:850;letter-spacing:.045em;text-transform:uppercase;box-shadow:0 5px 14px rgba(255,92,53,.22)}
.home-brand-copy{padding:31px 16px 14px}.home-brand-name{display:block;min-width:0}.home-brand-name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;letter-spacing:-.02em}.home-brand-type{display:block;margin-top:2px;font-size:8px;font-weight:800;letter-spacing:.08em;color:var(--muted)}.home-brand-copy p{height:42px;margin:10px 0 0;overflow:hidden;color:var(--ink-2);font-size:11px;line-height:1.55}
.home-brand-footer{display:flex;align-items:center;gap:12px;min-height:48px;margin:0 16px;padding:12px 0;border-top:1px solid var(--line);font-size:9px;color:var(--ink-2)}.home-brand-footer span{white-space:nowrap}.home-brand-footer strong{color:var(--ink)}.home-apply-button{margin-left:auto;padding:6px 12px;border-radius:999px;background:var(--accent);color:#fff;font-size:9px;font-weight:850;box-shadow:0 4px 12px rgba(255,92,53,.22)}.home-apply-button:hover{background:var(--accent-dark)}
.home-open-participation{padding:38px 34px;border-radius:24px;background:#f1eee7}.home-open-participation .home-market-heading{margin-bottom:20px}.home-brand-grid-open{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-category-tabs{display:flex;gap:8px;margin:0 0 26px;padding:7px;border:1px solid var(--line);border-radius:15px;background:#efede7;overflow-x:auto;scrollbar-width:none}.home-category-tabs::-webkit-scrollbar{display:none}.home-category-tab{flex:1;min-width:120px;min-height:42px;padding:8px 14px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:var(--ink-2)!important;box-shadow:none!important;font-size:11px!important;font-weight:760!important;white-space:nowrap}.home-category-tab:hover{background:#fff!important}.home-category-tab.is-active{background:#fff!important;color:var(--ink)!important;box-shadow:0 5px 15px rgba(26,25,22,.07)!important}.home-category-tab:disabled{opacity:.7}

/* ---------- Brand vertical sections ---------- */
.brand-subnav a[aria-current="page"],.brand-subnav a.is-active{background:var(--surface-strong)!important;color:#ffffff!important;box-shadow:inset 0 -2px 0 var(--accent)!important}
.brand-tab-stage.brand-vertical-stage{min-height:280px;display:flex;flex-direction:column;gap:0;margin-top:10px}
.brand-vertical-stage>.content-section{padding-top:56px;margin-top:0;border-top:1px solid var(--line)}
.brand-vertical-stage>.content-section:first-child{border-top:none;padding-top:24px}
.brand-vertical-stage .section-head{margin:0 0 24px}
.brand-shop-search-wrap{margin-bottom:24px}
.brand-shop-search-wrap .brand-search{max-width:100%}
.brand-reviews-section>.panel{margin:0;box-shadow:none}
[data-reviews-id] form button[type="submit"],
.brand-reviews-section form button[type="submit"]{background:#ffffff!important;color:#111216!important;border:1px solid #ffffff!important;font-weight:750!important;min-height:42px!important;padding:10px 22px!important;border-radius:10px!important;cursor:pointer!important;box-shadow:0 2px 10px rgba(0,0,0,.35)!important;transition:all .16s ease!important}
[data-reviews-id] form button[type="submit"]:hover:not(:disabled),
.brand-reviews-section form button[type="submit"]:hover:not(:disabled){background:#f4f4f6!important;color:#000000!important;border-color:#f4f4f6!important;transform:translateY(-1px)!important}
[data-reviews-id] form button[type="submit"]:disabled,
.brand-reviews-section form button[type="submit"]:disabled,
body:not(.brand-studio-route) [data-reviews-id] form button[type="submit"]:disabled,
body:not(.brand-studio-route) .brand-reviews-section form button[type="submit"]:disabled{background:var(--surface-strong,#20222b)!important;color:var(--muted,#a4a7b5)!important;border:1px solid var(--line-strong,#3d4050)!important;cursor:not-allowed!important;opacity:1!important;box-shadow:none!important;transform:none!important}

@media(max-width:1180px){
  .home-brand-grid,.home-brand-grid-open{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:860px){
  .home-market-section{margin-top:62px}.home-market-heading{align-items:start}.home-brand-grid,.home-brand-grid-open{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-open-participation{padding:28px 22px;border-radius:20px}.home-brand-media{height:155px}
}
@media(max-width:620px){
  .home-market-section{margin-top:52px}.home-market-heading{display:grid;gap:10px;margin-bottom:18px}.home-market-heading h2{font-size:31px}.home-market-heading>a{justify-self:start}.home-brand-grid,.home-brand-grid-open{grid-template-columns:1fr 1fr;gap:10px}.home-open-participation{margin-inline:-4px;padding:22px 12px}.home-brand-media{height:118px}.home-brand-logo{left:11px;bottom:-18px;width:44px;height:44px;border-radius:11px}.home-brand-copy{padding:27px 11px 10px}.home-brand-name strong{font-size:14px}.home-brand-type{font-size:7px}.home-brand-copy p{height:49px;font-size:10px}.home-brand-footer{gap:7px;margin:0 11px;padding:10px 0;flex-wrap:wrap;font-size:8px}.home-apply-button{margin-left:auto;padding:5px 9px}.home-participation-chip{left:8px;top:8px;padding:5px 7px;font-size:7px}.home-category-tabs{margin-bottom:18px;padding:5px}.home-category-tab{min-width:106px;min-height:38px;font-size:10px!important}.brand-tab-stage>[data-brand-panel]{margin-top:20px}
}
@media(max-width:390px){
  .home-brand-grid,.home-brand-grid-open{grid-template-columns:1fr}.home-brand-media{height:160px}.home-brand-copy p{height:auto;min-height:34px}.home-brand-footer{flex-wrap:nowrap}
}

/* ---------- Members-only Brand discussion ---------- */
.brand-discussion-section{margin-top:0;padding:30px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 18px 45px rgba(21,21,21,.06)}
.brand-discussion-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.brand-discussion-head h2{margin:4px 0 7px;font-size:clamp(28px,3vw,38px);letter-spacing:-.035em}.brand-discussion-head p{max-width:680px;margin:0;color:var(--muted);line-height:1.6}.discussion-private-badge{flex:0 0 auto;padding:8px 12px;border:1px solid rgba(255,92,53,.26);border-radius:999px;background:var(--accent-soft);color:var(--accent-dark);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.discussion-composer{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface-soft)}.discussion-composer-fields{display:grid;gap:12px}.discussion-composer textarea{min-height:116px;resize:vertical}.discussion-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px}.discussion-composer-footer>span{color:var(--muted);font-size:11px}.discussion-composer-footer button{flex:0 0 auto}
.discussion-feed{display:grid;gap:16px;margin-top:22px}.discussion-loading,.discussion-empty{display:grid;gap:5px;place-items:center;min-height:130px;padding:28px;border:1px dashed var(--line);border-radius:18px;color:var(--muted);text-align:center}.discussion-empty strong{color:var(--ink);font-size:15px}
.discussion-post{overflow:hidden;border:1px solid var(--line-strong);border-radius:20px;background:var(--surface,#111216)}.discussion-post-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 0}.discussion-author{display:flex;align-items:center;gap:11px;min-width:0}.discussion-author .person-avatar{flex:0 0 auto}.discussion-author>div{display:grid;gap:2px;min-width:0}.discussion-author strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#ffffff}.discussion-author span{color:var(--muted);font-size:9.5px;font-weight:700;letter-spacing:.04em}.discussion-own-post{padding:6px 9px;border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase}
.discussion-post-copy{padding:17px 20px}.discussion-post-copy h3{margin:0 0 8px;font-size:20px;letter-spacing:-.02em;color:#ffffff}.discussion-post-copy p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink-2);font-size:13px;line-height:1.65}
.discussion-post-actions{display:flex;align-items:center;gap:8px;padding:0 20px 16px}.discussion-vote{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:7px 10px!important;border:1px solid var(--line-strong)!important;border-radius:999px!important;background:var(--surface-soft)!important;color:var(--ink)!important;box-shadow:none!important;font-size:11px!important}.discussion-vote:hover:not(:disabled){border-color:rgba(255,92,53,.4)!important;background:var(--accent-soft)!important}.discussion-vote.is-active{border-color:var(--accent)!important;background:var(--accent-soft)!important;color:var(--accent)!important}.discussion-vote:disabled{cursor:not-allowed;opacity:.48}.discussion-score,.discussion-comment-count{color:var(--muted);font-size:10px}.discussion-score{margin-left:3px}.discussion-score strong{color:var(--ink)}.discussion-comment-count{margin-left:auto}
.discussion-comments{border-top:1px solid var(--line);background:var(--surface-soft)}.discussion-comments>summary{cursor:pointer;padding:13px 20px;color:var(--ink);font-size:11px;font-weight:800;list-style:none}.discussion-comments>summary::-webkit-details-marker{display:none}.discussion-comments>summary:after{content:'+';float:right;color:var(--accent);font-size:16px}.discussion-comments[open]>summary:after{content:'−'}.discussion-comment-list{display:grid;padding:0 20px}.discussion-comment{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:13px 0;border-top:1px solid var(--line)}.discussion-comment-avatar .person-avatar{width:32px;height:32px;font-size:10px}.discussion-comment-body{min-width:0}.discussion-comment-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.discussion-comment-meta strong{font-size:11px}.discussion-comment-meta span,.discussion-comment-meta time{color:var(--muted);font-size:8px;font-weight:700}.discussion-comment-body p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.55}.discussion-no-comments{padding:14px 0;color:var(--muted);font-size:10px}
.discussion-comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:14px 20px 18px;border-top:1px solid var(--line)}.discussion-comment-form label{margin:0}.discussion-comment-form label>span{display:block;margin-bottom:6px;font-size:9px;font-weight:800}.discussion-comment-form textarea{min-height:66px;resize:vertical}.discussion-comment-form>div{padding-bottom:1px}.discussion-comment-form button{white-space:nowrap}
@media(max-width:700px){.brand-discussion-section{margin-top:24px;padding:20px 14px;border-radius:20px}.brand-discussion-head{display:grid;gap:12px}.discussion-private-badge{justify-self:start}.discussion-composer{padding:14px}.discussion-composer-footer{align-items:flex-end}.discussion-post-head,.discussion-post-copy,.discussion-post-actions{padding-left:14px;padding-right:14px}.discussion-post-actions{flex-wrap:wrap}.discussion-comment-count{margin-left:0;width:100%}.discussion-comment-list{padding:0 14px}.discussion-comment-form{grid-template-columns:1fr;padding:14px}.discussion-comment-form>div{display:flex;justify-content:flex-end}}


/* ---------- Product variants + limited editions ---------- */
.product-variant-builder{display:grid;gap:16px;margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}
.product-variant-builder>legend{padding:0 7px;font-size:12px;font-weight:850;letter-spacing:.045em;text-transform:uppercase}.variant-builder-block{display:grid;gap:9px}.variant-builder-block>strong{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.variant-chip-group{display:flex;flex-wrap:wrap;gap:7px}.variant-chip{position:relative;margin:0}.variant-chip input{position:absolute;opacity:0;pointer-events:none}.variant-chip span{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface-soft);color:var(--ink-2);font-size:10.5px;font-weight:760;cursor:pointer;transition:.16s ease}.variant-chip input:checked+span{border-color:rgba(255,92,53,.42);background:var(--accent-soft);color:var(--accent);box-shadow:inset 0 0 0 1px rgba(255,92,53,.08)}.variant-chip input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
.variant-quantity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.variant-quantity-grid label{display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:10px;margin:0;padding:9px 11px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface-soft)}.variant-quantity-grid label>span{font-size:10px;font-weight:760}.variant-quantity-grid input{min-width:0;padding:8px 9px;text-align:right}
.product-variant-picker{display:grid;gap:10px;margin:18px 0}.product-variant-picker .fields{margin:0}.variant-availability{min-height:18px;margin:0;color:var(--muted);font-size:11px;font-weight:700}.limited-edition-badge,.unlimited-edition-badge{display:inline-flex;align-items:center;margin:2px 0 8px;padding:6px 10px;border-radius:999px;font-size:9px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.limited-edition-badge{border:1px solid rgba(255,92,53,.35);background:var(--accent-soft);color:var(--accent);font-weight:800}.unlimited-edition-badge{border:1px solid var(--line-strong);background:var(--surface-soft);color:var(--ink-2);font-weight:750}
.product-management-panel{margin-top:20px}.product-management-panel>summary{cursor:pointer;font-weight:800}.product-quantity-manager{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft)}.variant-removal-grid{display:grid;gap:8px;margin-top:12px}.variant-removal-grid label{display:grid;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:12px;margin:0;padding:10px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface-soft)}.variant-removal-grid label>span{display:grid;gap:2px}.variant-removal-grid strong{font-size:10px;color:#ffffff}.variant-removal-grid small{color:var(--muted);font-size:9px}.variant-removal-grid input{text-align:right}
.danger-zone{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.danger-zone p{margin:3px 0 0}.collection-editor-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.collection-editor-actions button{margin:0}
@media(max-width:700px){.variant-quantity-grid{grid-template-columns:1fr}.variant-removal-grid label{grid-template-columns:minmax(0,1fr) 82px}.danger-zone{align-items:flex-start;flex-direction:column}.collection-editor-actions{align-items:stretch}.collection-editor-actions button{width:100%}}

/* Variant-aware Studio previews and cart color switching */
.studio-product-render{display:block;width:100%;height:100%;object-fit:contain;background:#e9e8f0}
.product-gallery .studio-product-render{width:100%;height:auto;aspect-ratio:1/1;border-radius:9px;background:#e9e8f0}
.cart-item-row{display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:16px}
.cart-item-visual{width:96px;height:108px;overflow:hidden;border-radius:10px;background:#ecebe6}
.cart-item-visual .product-mockup{width:100%;height:100%}
.cart-item-copy{min-width:0}.cart-item-copy h3{margin:0 0 6px}.cart-item-copy .muted{margin:0 0 10px}
.cart-color-picker{display:flex;align-items:center;gap:8px;max-width:240px;margin:0;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.cart-color-picker select{min-width:130px;padding:8px 10px}
@media(max-width:620px){.cart-item-row{grid-template-columns:78px minmax(0,1fr)}.cart-item-visual{width:78px;height:88px}.cart-item-row>.remove-item{grid-column:2;justify-self:start}.cart-color-picker{align-items:flex-start;flex-direction:column;gap:4px}}

/* ---------- Brand Studio workspace ---------- */
.brand-external-links{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 2px}.brand-external-links a{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface-soft);color:var(--ink-2);font-size:9.5px;font-weight:780}.brand-external-links a:hover{border-color:rgba(255,92,53,.35);color:var(--accent)}
.brand-story-public{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);gap:28px;margin-top:22px;padding:24px;border:1px solid var(--line-strong);border-radius:22px;background:var(--surface,#111216);color:var(--ink)}.brand-story-public-media{overflow:hidden;min-height:260px;border-radius:16px;background:var(--surface-soft)}.brand-story-public-media img{width:100%;height:100%;object-fit:cover}.brand-story-public h2{margin:7px 0 12px;font-size:32px;color:#ffffff}.brand-story-public p{white-space:pre-wrap;color:var(--ink-2);line-height:1.7}
.brand-studio-route main{max-width:1540px;padding-bottom:40px!important}
.brand-studio-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:30px;align-items:start}
.brand-studio-sidebar{display:flex!important;flex-direction:column!important;position:sticky!important;top:calc(var(--header, 74px) + 16px)!important;max-height:calc(100vh - var(--header, 74px) - 95px)!important;overflow:hidden!important;background:var(--surface,#111216)!important;border:1px solid var(--line-strong,#3d4050)!important;border-radius:20px;box-shadow:0 12px 34px rgba(0,0,0,.35)!important}
.brand-studio-side-brand{flex-shrink:0!important;display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-areas:"logo label" "logo name" "logo handle";gap:1px 10px;align-items:center;margin-bottom:0!important;padding:11px 11px 8px!important;border-bottom:none!important}
.brand-studio-side-brand>div{grid-area:logo;width:46px;height:46px;border:1px solid var(--line-strong,#3d4050)!important;border-radius:13px;overflow:hidden;background:var(--surface-soft,#181920)!important}
.brand-studio-side-brand .brand-logo,.brand-studio-side-brand .channel-monogram{width:100%;height:100%}
.brand-studio-side-brand .channel-monogram{display:grid;place-items:center;font-size:16px;font-weight:850;color:#ffffff;background:#242731}
.brand-studio-side-brand>span{grid-area:label;color:#a27aff!important;font-size:9px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.brand-studio-side-brand>strong{grid-area:name;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:780;color:#ffffff!important}
.brand-studio-side-brand>small{grid-area:handle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;color:var(--muted,#a4a7b5)!important}
.brand-studio-side-status{flex-shrink:0!important;padding:0 11px 13px!important;margin-bottom:10px!important;border-bottom:1px solid var(--line-strong,#3d4050)!important}
.brand-studio-status-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:7px!important}
.brand-studio-status-label{font-size:10px!important;font-weight:850!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:var(--muted-2,#828594)!important}
.brand-studio-status-badge{font-size:9.5px!important;font-weight:700!important;letter-spacing:.04em!important;color:var(--muted,#a4a7b5)!important;background:rgba(255,255,255,0.06)!important;padding:1px 6px!important;border-radius:4px!important}
.brand-status-segmented{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important;padding:3px!important;border-radius:9px!important;background:var(--studio-panel-light-alt,#181920)!important;border:1px solid var(--studio-border-light,#3d4050)!important;box-sizing:border-box!important;width:100%!important;transition:opacity .16s ease!important}
.brand-status-segmented.is-saving{opacity:.65!important;pointer-events:none!important}
.brand-status-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:30px!important;padding:5px 8px!important;border-radius:6px!important;border:1px solid transparent!important;background:transparent!important;color:var(--muted,#a4a7b5)!important;font-size:12px!important;font-weight:650!important;cursor:pointer!important;text-decoration:none!important;box-shadow:none!important;transition:all .16s ease!important;user-select:none!important;box-sizing:border-box!important}
.brand-status-btn:hover:not(:disabled):not(.is-selected){background:rgba(255,255,255,0.05)!important;color:#ffffff!important}
.brand-status-btn:disabled{cursor:not-allowed!important}
.brand-status-btn .brand-status-dot{display:inline-block!important;width:6px!important;height:6px!important;border-radius:50%!important;background:currentColor!important;opacity:.3!important;flex-shrink:0!important;transition:all .16s ease!important}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-status-btn.is-active.is-selected{background:rgba(16,185,129,0.16)!important;color:#34d399!important;border-color:rgba(16,185,129,0.35)!important;font-weight:750!important;box-shadow:0 1px 4px rgba(0,0,0,0.25)!important}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-status-btn.is-active.is-selected .brand-status-dot{opacity:1!important;background:#10b981!important;box-shadow:0 0 6px rgba(16,185,129,0.6)!important}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-status-btn.is-inactive.is-selected{background:rgba(255,255,255,0.10)!important;color:#f4f4f6!important;border-color:rgba(255,255,255,0.18)!important;font-weight:750!important;box-shadow:0 1px 4px rgba(0,0,0,0.2)!important}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-status-btn.is-inactive.is-selected .brand-status-dot{opacity:.8!important;background:#9da1b0!important}
.brand-sidebar-status-error{margin:6px 0 0!important;font-size:11px!important;line-height:1.35!important;color:var(--danger,#ef4444)!important;font-weight:600!important;word-break:break-word!important}
[data-theme="day"] .brand-studio-sidebar .brand-studio-side-brand{border-bottom:none!important}
[data-theme="day"] .brand-studio-sidebar .brand-studio-side-status{border-bottom:1px solid #DED5CE!important}
[data-theme="day"] .brand-studio-sidebar .brand-studio-status-label{color:#8C827C!important}
[data-theme="day"] .brand-studio-sidebar .brand-studio-status-badge{color:#6E625D!important;background:#EEE6DE!important}
[data-theme="day"] .brand-studio-sidebar .brand-status-segmented{background:#F7F4EF!important;border-color:#DED5CE!important}
[data-theme="day"] .brand-studio-sidebar .brand-status-btn{color:#6E625D!important}
[data-theme="day"] .brand-studio-sidebar .brand-status-btn:hover:not(:disabled):not(.is-selected){background:rgba(0,0,0,0.04)!important;color:#171312!important}
[data-theme="day"] .brand-studio-sidebar .brand-status-btn.is-active.is-selected{background:#ecfdf5!important;color:#065f46!important;border-color:#a7f3d0!important;font-weight:750!important;box-shadow:0 1px 3px rgba(6,95,70,0.1)!important}
[data-theme="day"] .brand-studio-sidebar .brand-status-btn.is-active.is-selected .brand-status-dot{background:#059669!important}
[data-theme="day"] .brand-studio-sidebar .brand-status-btn.is-inactive.is-selected{background:#FFFFFF!important;color:#171312!important;border-color:#DED5CE!important;font-weight:750!important;box-shadow:0 1px 3px rgba(68,48,45,0.08)!important}
[data-theme="day"] .brand-studio-sidebar .brand-status-btn.is-inactive.is-selected .brand-status-dot{background:#8C827C!important}
[data-theme="day"] .brand-studio-sidebar .brand-sidebar-status-error{color:#b91c1c!important}
.brand-studio-side-nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;scrollbar-width:thin}
.brand-studio-sidebar .account-side-group{border-bottom-color:var(--line-strong,#3d4050)!important}
.brand-studio-sidebar .account-side-group>span{color:var(--muted-2,#828594)!important;font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.brand-studio-sidebar .account-side-item{align-items:flex-start;padding:10px 12px;border:1px solid transparent!important;border-left:3px solid transparent!important;border-radius:10px;color:var(--ink-2,#d8dae5)!important;background:transparent!important;transition:all .16s ease}
.brand-studio-sidebar .account-side-item .ui-icon,.brand-studio-sidebar .account-side-item svg{color:var(--muted,#a4a7b5)!important;stroke:currentColor!important;margin-top:1px;flex-shrink:0;transition:color .16s ease}
.brand-studio-sidebar .account-side-item>span{display:grid;gap:2px}
.brand-studio-sidebar .account-side-item>span strong{font-size:13px;font-weight:700;color:var(--ink,#f4f4f6)!important;transition:color .16s ease}
.brand-studio-sidebar .account-side-item>span small{font-size:11px;font-weight:500;line-height:1.35;color:#9da1b0!important;transition:color .16s ease}
.brand-studio-sidebar .account-side-item:hover{background:rgba(255,255,255,0.06)!important;border-color:rgba(255,255,255,0.08)!important;border-left-color:rgba(255,255,255,0.3)!important}
.brand-studio-sidebar .account-side-item:hover .ui-icon,.brand-studio-sidebar .account-side-item:hover svg{color:#ffffff!important}
.brand-studio-sidebar .account-side-item:hover>span strong{color:#ffffff!important}
.brand-studio-sidebar .account-side-item:hover>span small{color:#c4c7d4!important}
.brand-studio-sidebar .account-side-item.is-active{background:rgba(123,65,231,0.16)!important;border:1px solid rgba(162,122,255,0.35)!important;border-left:3px solid #9d65ff!important}
.brand-studio-sidebar .account-side-item.is-active .ui-icon,.brand-studio-sidebar .account-side-item.is-active svg{color:#b78aff!important}
.brand-studio-sidebar .account-side-item.is-active>span strong{color:#ffffff!important;font-weight:800}
.brand-studio-sidebar .account-side-item.is-active>span small{color:#d5c0ff!important;font-weight:600}
.brand-studio-side-footer{flex-shrink:0!important;margin-top:auto!important;padding:14px 10px 4px;border-top:1px solid var(--line-strong,#3d4050)!important}
.brand-studio-side-footer a,
.brand-studio-route .studio-back-brand-btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:10px 14px!important;border-radius:10px!important;border:1px solid var(--line,#DED5CE)!important;background:#ffffff!important;color:#19171B!important;font-size:12.5px!important;font-weight:700!important;text-decoration:none!important;box-shadow:none!important;transition:all .16s ease!important}
.brand-studio-side-footer a:hover,
.brand-studio-route .studio-back-brand-btn:hover{background:#FAF9F6!important;border-color:#C9BDB5!important;color:#19171B!important;transform:translateY(-1px)!important;box-shadow:none!important}
.brand-studio-main{min-width:0}
.brand-studio-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}
.brand-studio-page-head .eyebrow{color:#a27aff!important;font-weight:850;letter-spacing:.12em}
.brand-studio-page-head h1{margin:5px 0 7px;font-size:clamp(24px,3.2vw,34px);color:var(--studio-text-primary,#ffffff)!important;font-weight:780;letter-spacing:-0.02em}
.brand-studio-page-head p{max-width:760px;margin:0;color:var(--studio-text-secondary,var(--muted,#a4a7b5))!important;font-size:13.5px;line-height:1.5}
.brand-studio-route .breadcrumbs{color:var(--muted,#a4a7b5)!important;font-size:12px;font-weight:650}
.brand-studio-route .breadcrumbs:hover{color:#ffffff!important}
.brand-studio-manage-stack{display:grid;gap:18px}
.brand-studio-form-stack{display:grid;gap:18px}
.brand-studio-route .studio-form-card{padding:20px;border:1px solid var(--studio-border-light)!important;border-radius:18px;background:var(--studio-panel-light)!important;box-shadow:0 2px 12px rgba(0,0,0,.03);color:var(--studio-text-primary)!important}
.brand-studio-route .studio-form-card p:not(.form-error):not(.notice){color:var(--studio-text-secondary,#2c2e36)!important;font-size:13.5px!important;line-height:1.55!important;font-weight:500!important}
.studio-card-title{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.studio-card-title>div{display:grid;gap:2px}
.studio-card-title strong{font-size:14px;font-weight:750;color:var(--studio-text-primary)}
.studio-card-title small{font-size:11.5px;font-weight:550;color:var(--studio-text-muted)}
.studio-card-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--studio-accent-active-bg,rgba(123,65,231,.16))!important;color:var(--studio-accent-active-text,#b78aff)!important;border:1px solid var(--studio-accent-active-border,rgba(123,65,231,.3))!important}

/* Compact status panel */
.studio-status-card{padding:16px 20px!important}
.studio-status-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.studio-status-heading{display:flex;align-items:center;gap:10px;margin-bottom:3px}
.studio-status-heading strong{font-size:14.5px;font-weight:750;color:var(--studio-text-primary)}
.studio-status-desc{margin:0!important;font-size:12.5px!important;line-height:1.45!important;color:var(--studio-text-muted,#78726b)!important}
.studio-status-action button{min-height:32px;padding:6px 14px;font-size:12px}

/* Soft neutral empty surface */
.studio-empty-surface{padding:24px 16px;text-align:center;background:var(--studio-panel-light-alt,#181920)!important;border:1px dashed var(--studio-border-light)!important;border-radius:12px;color:var(--studio-text-muted)!important;font-size:13px;margin:8px 0}
.studio-empty-surface p{margin:0!important}

/* Financial metrics cards */
.studio-financial-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:18px 0 16px}
.studio-metric-card{padding:14px 16px;background:var(--studio-panel-light-alt,#f6f5f2);border:1px solid var(--studio-border-light);border-radius:14px}
.studio-metric-card small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:0.08em;font-weight:750;color:var(--studio-text-muted)}
.studio-metric-card strong{display:block;font-size:20px;font-weight:800;color:var(--studio-text-primary);margin-top:4px}
.studio-history-action-wrap{margin-bottom:18px}
.studio-sales-subsection{margin-top:20px;padding-top:18px;border-top:1px solid var(--studio-border-light)}
.studio-sales-subtitle{margin-bottom:12px}
.studio-sales-subtitle h3{margin:0 0 4px;font-size:15px;font-weight:750;color:var(--studio-text-primary)}
.studio-sales-subtitle p{margin:0;font-size:12.5px;color:var(--studio-text-muted)}

.brand-studio-route label{display:block;margin:0 0 14px;color:var(--studio-text-primary,#17181c)!important;font-size:12.5px;font-weight:750;letter-spacing:-0.01em}
.brand-studio-route input:not([type=checkbox]):not([type=radio]):not(:focus),.brand-studio-route select:not(:focus),.brand-studio-route textarea:not(:focus){display:block;width:100%;margin-top:7px;padding:10px 12px;border-width:1px!important;border-style:solid!important;border-color:var(--studio-border-light)!important;border-radius:10px;background:var(--studio-input-bg,#ffffff)!important;color:var(--studio-text-primary)!important;font-size:13px;font-weight:500;outline:none;transition:border-color .16s,box-shadow .16s}
.brand-studio-route input:focus,.brand-studio-route input:focus-visible,.brand-studio-route input:not([type=checkbox]):not([type=radio]):focus,.brand-studio-route input:not([type=checkbox]):not([type=radio]):focus-visible,.brand-studio-route select:focus,.brand-studio-route select:focus-visible,.brand-studio-route textarea:focus,.brand-studio-route textarea:focus-visible{border-color:#7B41E7!important;box-shadow:0 0 0 3px rgba(123,65,231,.16)!important}
.brand-studio-route button:focus-visible,.brand-studio-route .button:focus-visible,.brand-studio-route input:focus-visible,.brand-studio-route select:focus-visible,.brand-studio-route textarea:focus-visible{outline:2px solid #7B41E7!important;outline-offset:2px!important}
.brand-studio-route input::placeholder,.brand-studio-route textarea::placeholder{color:var(--studio-placeholder)!important;opacity:1!important}
.brand-studio-route input:read-only,.brand-studio-route textarea:read-only{background:var(--studio-panel-light-alt,#f6f5f2)!important;color:var(--studio-text-secondary,#2c2e36)!important;border-color:var(--studio-border-light,#cfceca)!important;cursor:default!important}
.brand-studio-route input:disabled,.brand-studio-route select:disabled,.brand-studio-route textarea:disabled{background:var(--studio-disabled-bg,#ecebe6)!important;color:var(--studio-disabled-text,#555866)!important;border-color:var(--studio-disabled-border,#cfceca)!important;cursor:not-allowed!important}
.brand-studio-route .help,.brand-studio-route small.help,.brand-studio-route .studio-upload-block>span,.brand-studio-route label small{display:block;margin-top:5px;color:var(--studio-text-muted)!important;font-size:11.5px;font-weight:550;line-height:1.45}
.brand-studio-route .notice,.brand-studio-route .studio-form-card .notice{background:var(--studio-panel-light-alt,#f6f5f2)!important;border:1px solid var(--studio-border-light)!important;border-radius:12px!important;padding:14px 16px!important;color:var(--studio-text-secondary,#2c2e36)!important;font-size:12.5px!important;line-height:1.55!important}
.brand-studio-route .notice strong,.brand-studio-route .studio-form-card .notice strong{color:var(--studio-text-primary,#17181c)!important;font-weight:780!important}
.brand-studio-route .media-file-field input[type=file]{padding:8px 10px;background:var(--studio-panel-light-alt,#f8f8f5)!important;border:1px dashed var(--studio-border-light)!important;color:var(--studio-text-secondary)!important;font-size:11px;border-radius:9px}
.brand-studio-route .form-error{color:#dc2626!important;font-size:12px;font-weight:600}
.brand-studio-route .button.primary,
.brand-studio-route button.primary,
.brand-studio-route button[type=submit],
.brand-studio-route .studio-catalog-add,
.brand-studio-route .studio-create-collection-btn,
.brand-studio-route .studio-save-collection-btn,
.brand-studio-route .studio-save-product-btn,
.brand-studio-route .studio-batch-customize-btn,
.brand-studio-route .studio-detail-add-btn,
.brand-studio-route .studio-publish-btn,
.brand-studio-route .studio-save-econ-btn,
.brand-studio-route .release:not(:disabled){background:#7B41E7!important;color:#ffffff!important;border:1px solid #7B41E7!important;font-weight:780!important}
.brand-studio-route .button.primary:hover:not(:disabled),
.brand-studio-route button.primary:hover:not(:disabled),
.brand-studio-route button[type=submit]:hover:not(:disabled),
.brand-studio-route .studio-catalog-add:hover:not(:disabled),
.brand-studio-route .studio-create-collection-btn:hover:not(:disabled),
.brand-studio-route .studio-save-collection-btn:hover:not(:disabled),
.brand-studio-route .studio-save-product-btn:hover:not(:disabled),
.brand-studio-route .studio-batch-customize-btn:hover:not(:disabled),
.brand-studio-route .studio-detail-add-btn:hover:not(:disabled),
.brand-studio-route .studio-publish-btn:hover:not(:disabled),
.brand-studio-route .studio-save-econ-btn:hover:not(:disabled),
.brand-studio-route .release:not(:disabled):hover{background:#6530D4!important;border-color:#6530D4!important;color:#ffffff!important}
.brand-studio-route .secondary,
.brand-studio-route .button.secondary,
.brand-studio-route button.secondary,
.brand-studio-route .studio-catalog-details,
.brand-studio-route .studio-product-cancel-btn,
.brand-studio-route .studio-product-edit-btn,
.brand-studio-route .refund,
.brand-studio-route .studio-batch-clear,
.brand-studio-route .studio-clear-products,
.brand-studio-route [data-back-to-catalog]{background:#ffffff!important;color:#19171B!important;border:1px solid #DED5CE!important;font-weight:650!important}
.brand-studio-route .secondary:hover:not(:disabled),
.brand-studio-route .button.secondary:hover:not(:disabled),
.brand-studio-route button.secondary:hover:not(:disabled),
.brand-studio-route .studio-catalog-details:hover:not(:disabled),
.brand-studio-route .studio-product-cancel-btn:hover:not(:disabled),
.brand-studio-route .studio-product-edit-btn:hover:not(:disabled),
.brand-studio-route .refund:hover,
.brand-studio-route .studio-batch-clear:hover:not(:disabled),
.brand-studio-route .studio-clear-products:hover:not(:disabled),
.brand-studio-route [data-back-to-catalog]:hover:not(:disabled){background:#F0ECE6!important;border-color:#B8ACA3!important;color:#19171B!important}
.brand-studio-route .danger,
.brand-studio-route .studio-collection-delete,
.brand-studio-route .studio-product-delete,
.brand-studio-route .studio-batch-remove{background:#C92D38!important;color:#ffffff!important;border:1px solid #C92D38!important;font-weight:700!important;box-shadow:none!important;cursor:pointer!important;transition:all .15s ease!important}
.brand-studio-route .danger:hover:not(:disabled),
.brand-studio-route .studio-collection-delete:hover:not(:disabled),
.brand-studio-route .studio-product-delete:hover:not(:disabled),
.brand-studio-route .studio-batch-remove:hover:not(:disabled){background:#A91F2A!important;border-color:#A91F2A!important;color:#ffffff!important;transform:translateY(-1px)!important}
.brand-studio-route button:disabled,
.brand-studio-route .button:disabled,
.brand-studio-route .button.disabled,
.brand-studio-route .release:disabled{opacity:0.5!important;cursor:not-allowed!important;pointer-events:none!important;transform:none!important;box-shadow:none!important}
.brand-studio-route .button.primary:disabled,
.brand-studio-route button.primary:disabled,
.brand-studio-route button[type=submit]:disabled,
.brand-studio-route .studio-save-econ-btn:disabled,
.brand-studio-route .studio-catalog-add:disabled,
.brand-studio-route .studio-create-collection-btn:disabled,
.brand-studio-route .studio-save-collection-btn:disabled,
.brand-studio-route .studio-save-product-btn:disabled{background:#7B41E7!important;border-color:#7B41E7!important;color:#ffffff!important}
.brand-studio-route .studio-form-card h2{margin:0 0 12px!important;font-size:20px!important;font-weight:780!important;color:var(--studio-text-primary)!important;display:flex!important;align-items:center!important;gap:10px!important}
.brand-studio-route .badge,.brand-studio-route .studio-form-card .badge{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:4px 10px!important;border:1px solid var(--studio-border-light)!important;border-radius:999px!important;background:var(--studio-panel-light-alt)!important;color:var(--studio-text-primary)!important;font-size:11px!important;font-weight:750!important;letter-spacing:.02em!important}
[data-theme="day"] .brand-studio-route .badge.badge-active,[data-theme="day"] .brand-studio-route .badge.is-active,[data-theme="day"] .brand-studio-route .studio-form-card .badge.badge-active{background:#ecfdf5!important;color:#065f46!important;border:1px solid #a7f3d0!important}
[data-theme="day"] .brand-studio-route .badge.badge-deactivated,[data-theme="day"] .brand-studio-route .studio-form-card .badge.badge-deactivated{background:#fef2f2!important;color:#991b1b!important;border:1px solid #fecaca!important}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .badge.badge-active,:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .badge.is-active,:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .studio-form-card .badge.badge-active{background:rgba(16,185,129,0.15)!important;color:#34d399!important;border:1px solid rgba(16,185,129,0.35)!important}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .badge.badge-deactivated,:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .studio-form-card .badge.badge-deactivated{background:rgba(239,68,68,0.15)!important;color:#f87171!important;border:1px solid rgba(239,68,68,0.35)!important}
.brand-studio-route input[type=file].studio-hidden-file-input{display:none!important;visibility:hidden!important;position:absolute!important;width:0!important;height:0!important;opacity:0!important;pointer-events:none!important}
.studio-banner-drop-unit{margin-bottom:18px!important}
.studio-banner-label-row,.studio-logo-label-row{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:7px!important}
.studio-upload-label{font-size:12.5px!important;font-weight:750!important;color:var(--studio-text-primary,#17181c)!important;letter-spacing:-0.01em!important}
.studio-upload-hint{font-size:11.5px!important;font-weight:550!important;color:var(--studio-text-muted)!important}
.studio-banner-upload-box,.studio-logo-upload-box{display:block!important;cursor:pointer!important;outline:none!important;margin:0!important}
.studio-banner-upload-box:focus-visible .studio-banner-preview,.studio-logo-upload-box:focus-visible .studio-logo-preview{outline:2px solid #7B41E7!important;outline-offset:2px!important}
.brand-studio-route .studio-banner-preview{position:relative!important;display:grid!important;place-items:center!important;width:100%!important;min-height:170px!important;aspect-ratio:4/1!important;padding:18px!important;border:1px dashed var(--studio-border-light)!important;border-radius:14px!important;background:var(--studio-panel-light-alt,#fafaf8)!important;overflow:hidden!important;text-align:center!important;color:var(--studio-text-muted)!important;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important;box-sizing:border-box!important}
.brand-studio-route .studio-logo-preview{position:relative!important;display:grid!important;place-items:center!important;width:100%!important;aspect-ratio:1!important;border:1px dashed var(--studio-border-light)!important;border-radius:14px!important;background:var(--studio-panel-light-alt,#fafaf8)!important;overflow:hidden!important;text-align:center!important;color:var(--studio-text-muted)!important;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important;box-sizing:border-box!important}
.studio-banner-upload-box:hover .studio-banner-preview:not(.has-image):not(.has-preview),.studio-logo-upload-box:hover .studio-logo-preview:not(.has-image):not(.has-preview){border-color:#7B41E7!important;background:var(--studio-accent-active-bg,rgba(123,65,231,.16))!important}
.studio-box-empty{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;pointer-events:none!important}
.studio-box-icon{color:var(--studio-text-muted)!important;margin-bottom:2px!important}
.studio-box-empty strong{font-size:13px!important;font-weight:780!important;color:var(--studio-text-primary)!important}
.studio-box-empty small{font-size:11.5px!important;font-weight:550!important;color:var(--studio-text-muted)!important}
.brand-studio-route .studio-banner-preview img,.brand-studio-route .studio-logo-preview img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:inherit!important}
.brand-studio-route .studio-banner-preview.has-image:hover::after,.brand-studio-route .studio-banner-preview.has-preview:hover::after{content:"Change Banner"!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding-top:26px!important;box-sizing:border-box!important;background:rgba(15,16,20,.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") no-repeat center calc(50% - 13px)!important;color:#ffffff!important;font-size:13px!important;font-weight:750!important;letter-spacing:.03em!important;text-shadow:0 1px 3px rgba(0,0,0,.85)!important;backdrop-filter:blur(3px)!important;border-radius:inherit!important;pointer-events:none!important;transition:opacity .16s ease!important;z-index:2!important}
.brand-studio-route .studio-logo-preview.has-image:hover::after,.brand-studio-route .studio-logo-preview.has-preview:hover::after{content:"Change Logo"!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding-top:24px!important;box-sizing:border-box!important;background:rgba(15,16,20,.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") no-repeat center calc(50% - 12px)!important;color:#ffffff!important;font-size:11px!important;font-weight:750!important;letter-spacing:.05em!important;text-transform:uppercase!important;text-shadow:0 1px 3px rgba(0,0,0,.85)!important;backdrop-filter:blur(3px)!important;border-radius:inherit!important;pointer-events:none!important;transition:opacity .16s ease!important;z-index:2!important}
.studio-identity-grid{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;align-items:start}
.studio-social-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:20px!important;row-gap:16px!important;align-items:start!important}
.studio-social-field{min-width:0!important}
.studio-social-field label{display:flex!important;flex-direction:column!important;gap:7px!important;margin:0!important;color:var(--studio-text-primary,#17181c)!important;font-size:12.5px!important;font-weight:750!important;letter-spacing:-0.01em!important}
.studio-social-label{display:flex!important;align-items:center!important;gap:8px!important;min-height:20px!important;line-height:1.3!important;color:var(--studio-text-primary,#17181c)!important;font-weight:750!important}
.studio-social-icon-wrap{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;flex-shrink:0!important;color:var(--studio-text-primary,#17181c)!important}
.studio-social-icon-wrap svg{display:block!important}
.studio-social-field input{display:block!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 12px!important;box-sizing:border-box!important;border:1px solid var(--studio-border-light)!important;border-radius:10px!important;background:var(--studio-input-bg,#ffffff)!important;color:var(--studio-text-primary)!important;font-size:13px!important;font-weight:500!important;outline:none!important;transition:border-color .16s,box-shadow .16s!important}
.studio-social-field input:focus{border-color:#7B41E7!important;box-shadow:0 0 0 3px rgba(123,65,231,.16)!important}
.studio-social-field input::placeholder{color:var(--studio-placeholder)!important;opacity:1!important}
.brand-studio-route .brand-studio-savebar{position:sticky;bottom:18px;z-index:25;display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:12px 16px;border:1px solid var(--studio-border-light)!important;border-radius:14px;background:var(--studio-savebar-bg,rgba(255,255,255,.96))!important;box-shadow:var(--studio-savebar-shadow,0 10px 30px rgba(0,0,0,.08))!important;backdrop-filter:blur(14px)}
.brand-studio-savebar .form-error{margin:0 auto 0 0}
.brand-studio-savebar button{min-width:180px}
.studio-catalog-section{margin-bottom:18px}
.studio-catalog-toolbar{display:grid;gap:11px;margin-bottom:16px}
.studio-catalog-toolbar>input{margin:0}
.brand-studio-route .studio-catalog-filters{display:flex;flex-wrap:wrap;gap:7px}
.brand-studio-route .studio-catalog-filters button{min-height:31px;padding:6px 12px;border:1px solid var(--studio-border-light);border-radius:999px;background:var(--studio-panel-light-alt,#fff);color:var(--studio-text-secondary);font-size:10px;font-weight:650;transition:all .16s ease}
.brand-studio-route .studio-catalog-filters button:hover{background:var(--studio-panel-light-alt,#f6f5f2);color:var(--studio-text-primary);border-color:#b8b7ae}
.brand-studio-route .studio-catalog-filters button.is-active{background:var(--studio-accent-active-bg)!important;color:var(--studio-accent-active-text)!important;border-color:var(--studio-accent)!important;font-weight:750!important}
.studio-catalog-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.brand-studio-route .studio-catalog-card{overflow:hidden;border:1px solid var(--studio-border-light)!important;border-radius:14px;background:var(--studio-panel-light)!important;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;display:flex;flex-direction:column}
.brand-studio-route .studio-catalog-card.is-selected{border-color:var(--studio-accent,#7B41E7)!important;box-shadow:0 0 0 2px rgba(123,65,231,.25)!important}
.brand-studio-route .studio-catalog-card-media,.studio-catalog-card-media{height:175px;background:#DAD0ED!important;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:6px 8px;box-sizing:border-box}
.studio-catalog-art{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.studio-catalog-art>span{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:var(--studio-panel-light-alt);border:1px solid var(--studio-border-light);font-size:20px;font-weight:850;color:var(--studio-text-primary)}
.studio-catalog-art img{--catalog-art-scale:1;max-width:94%;max-height:94%;width:auto;height:auto;object-fit:contain;object-position:center;display:block;margin:auto;transform:scale(var(--catalog-art-scale,1));transition:transform .18s ease}
.studio-catalog-card-media .studio-catalog-art img[src*="/t-shirt-01/"],.studio-catalog-card-media .studio-catalog-art img[src*="white-tshirt"]{--catalog-art-scale:1.18}
.studio-catalog-card-media .studio-catalog-art img[src*="/t-shirt-02/"]{--catalog-art-scale:1.03}
.studio-catalog-card-media .studio-catalog-art img[src*="/t-shirt-03/"]{--catalog-art-scale:1.02}
.studio-catalog-card-media .studio-catalog-art img[src*="/hoodie-01/"],.studio-catalog-card-media .studio-catalog-art img[src*="white-hoodie"]{--catalog-art-scale:1.10}
.studio-catalog-card-media .studio-catalog-art img[src*="/hoodie-03/"]{--catalog-art-scale:1.10}
.studio-catalog-card-media .studio-catalog-art img[src*="/vest-02/"],.studio-catalog-card-media .studio-catalog-art img[src*="/vest-03/"]{--catalog-art-scale:1.03}
.studio-catalog-card-media .studio-catalog-art img[src*="/jacket-01/"]{--catalog-art-scale:1.04}
.studio-catalog-card-media .studio-catalog-art img[src*="/jacket-02/"]{--catalog-art-scale:1.09}
.studio-catalog-card-media .studio-catalog-art img[src*="/cap-01/"],.studio-catalog-card-media .studio-catalog-art img[src*="baseball-cap"]{--catalog-art-scale:1.06}
.studio-catalog-card-media .studio-catalog-art img[src*="/beanie-01/"],.studio-catalog-card-media .studio-catalog-art img[src*="white-beanie"]{--catalog-art-scale:1.05}
.studio-catalog-card-media .studio-catalog-art img[src*="/bucket-hat-01/"],.studio-catalog-card-media .studio-catalog-art img[src*="white-bucket-hat"]{--catalog-art-scale:1.18}
.studio-catalog-card-media .studio-catalog-art img[src*="/bag-01/"]{--catalog-art-scale:1.06}
.studio-catalog-card-media .studio-catalog-art img[src*="/bag-03/"]{--catalog-art-scale:1.08}
.brand-studio-route .studio-catalog-card:hover .studio-catalog-art img{transform:scale(calc(var(--catalog-art-scale,1) * 1.04))}
.studio-catalog-card-copy{display:grid;gap:4px;padding:12px 14px 14px;background:var(--studio-panel-light)!important}
.studio-catalog-card-copy>span{color:#a27aff!important;font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.studio-catalog-card-copy>strong{min-height:0;font-size:13px;font-weight:750;line-height:1.3;color:var(--studio-text-primary)!important}
.studio-catalog-card-copy>small{font-size:11px;font-weight:650;color:var(--studio-text-secondary)!important}
.studio-catalog-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
.studio-catalog-actions button{min-height:31px;padding:6px 6px;font-size:9.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.brand-studio-route .studio-catalog-add.is-selected{border-color:var(--studio-accent,#7B41E7)!important;background:var(--studio-accent,#7B41E7)!important;color:#fff!important}
.studio-new-product-form{margin-top:18px;padding:17px;border:1px solid var(--studio-border-light);border-radius:16px;background:var(--studio-panel-light-alt)}
.studio-selected-product{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.studio-selected-product>strong{font-size:15px;color:var(--studio-text-primary)}
.studio-hidden-field{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.studio-collection-banner-upload-box{position:relative;display:block;cursor:pointer;border-radius:14px;overflow:hidden;outline:none;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.studio-collection-banner-upload-box:focus-visible{outline:2px solid var(--accent,#7B41E7);outline-offset:2px}
.studio-collection-banner-upload-box:hover .studio-banner-upload-overlay{opacity:1}
.studio-banner-upload-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:rgba(18,18,24,.65);backdrop-filter:blur(2px);color:#fff;opacity:0;transition:opacity .18s ease;z-index:3;pointer-events:none;border-radius:14px}
.studio-banner-overlay-text{font-size:10.5px;font-weight:750;letter-spacing:.03em;text-transform:uppercase}
.brand-studio-route .studio-create-collection-card{width:100%;padding:22px 24px}
.brand-studio-route .studio-new-collection{display:flex;flex-direction:column;margin:0!important;padding:0!important;border:none!important;background:transparent!important}
.brand-studio-route .studio-create-collection-main{display:grid;grid-template-columns:45fr 55fr;gap:24px;align-items:start}
.studio-collection-image-field{width:100%}
.brand-studio-route .studio-new-collection-preview{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/9;max-height:340px;border:1.5px dashed var(--studio-border-light,#ded5ce)!important;border-radius:14px;background:var(--studio-panel-light-alt,#fafaf8)!important;overflow:hidden;font-size:28px;color:var(--studio-text-muted)!important;position:relative;transition:border-color .2s ease,box-shadow .2s ease}
.brand-studio-route .studio-new-collection-preview.has-image,.brand-studio-route .studio-new-collection-preview.has-preview{border:1px solid var(--studio-border-light,#ded5ce)!important}
.brand-studio-route .studio-new-collection-preview img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:14px}
.studio-collection-banner-upload-box:hover .studio-new-collection-preview{border-color:var(--studio-accent,#7B41E7)!important}
.studio-new-collection-fields{display:flex;flex-direction:column;gap:12px;width:100%}
.studio-new-collection-fields label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;font-weight:650;color:var(--studio-text-primary)}
.studio-new-collection-fields textarea{min-height:72px;max-height:140px;resize:vertical;line-height:1.45;font-family:inherit;font-size:13px}
.studio-new-collection-fields .help{font-size:11px;color:var(--studio-text-muted);line-height:1.4;margin-top:2px;font-weight:500}
.studio-new-collection-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding-top:16px;border-top:1px solid var(--studio-border-light,#ded5ce);width:100%}
.studio-new-collection-footer .form-error{margin:0;font-size:12.5px;flex:1}
.brand-studio-route .studio-create-collection-btn{margin-left:auto;background:var(--studio-accent,#7B41E7)!important;color:#fff!important;border:1px solid rgba(255,255,255,0.15)!important;border-radius:10px!important;min-height:42px!important;padding:10px 24px!important;font-size:14px!important;font-weight:750!important;letter-spacing:-0.01em!important;cursor:pointer!important;box-shadow:0 4px 14px rgba(123,65,231,.32)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease!important}
.brand-studio-route .studio-create-collection-btn:hover{background:#6530D4!important;border-color:#6530D4!important;box-shadow:0 6px 18px rgba(123,65,231,.42)!important;transform:translateY(-1px)}
.brand-studio-route .studio-create-collection-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(123,65,231,.3)!important}
.brand-studio-route .studio-create-collection-btn:focus-visible{outline:2px solid #a27aff!important;outline-offset:2px}
:is([data-theme="night"], html:not([data-theme="day"])) .studio-new-collection-footer{border-top-color:var(--line-strong,#3d4050)!important}
@media(max-width:860px){.brand-studio-route .studio-create-collection-main{grid-template-columns:1fr;gap:18px}.studio-new-collection-footer{flex-direction:column-reverse;align-items:stretch;gap:10px}.brand-studio-route .studio-create-collection-btn{width:100%!important;margin-left:0}}
/* ==========================================================================
   MANAGE COLLECTIONS & PRODUCTS — COMPACT PREMIUM REDESIGN
   ========================================================================== */
.studio-collection-list {
  display: grid;
  gap: 20px;
}
/* Manage Collections Selector Card */
.studio-manage-selector-card {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--studio-panel-light-alt, #1c1d27);
  border: 1px solid var(--studio-border-light, #333646);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
:is([data-theme="day"], .awebo-day-theme) .studio-manage-selector-card {
  background: #f7f6f2 !important;
  border-color: #ded5ce !important;
}
.studio-manage-selector-label {
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--studio-accent, #7B41E7) !important;
  margin: 0 !important;
}
.studio-manage-select-wrap {
  position: relative;
  width: 100%;
}
.brand-studio-route select.studio-manage-select {
  width: 100% !important;
  height: 42px !important;
  margin-top: 0 !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
}

.brand-studio-route .studio-collection-block {
  overflow: hidden;
  border: 1px solid var(--studio-border-light, #333646) !important;
  border-radius: 16px;
  background: var(--studio-panel-light, #15161d) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.brand-studio-route .studio-collection-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--studio-border-light, rgba(255, 255, 255, 0.08));
  background: var(--studio-panel-light-alt, #1a1b24);
}
.studio-collection-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.studio-collection-header-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  color: var(--studio-text-primary, #ffffff);
}
.studio-collection-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(123, 65, 231, 0.15);
  color: #a78bfa;
}
:is([data-theme="day"], .awebo-day-theme) .studio-collection-count-badge {
  background: rgba(123, 65, 231, 0.1);
  color: #6530d4;
}

.brand-studio-route .studio-collection-editor {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 20px !important;
  border-bottom: 1px solid var(--studio-border-light, rgba(255, 255, 255, 0.08)) !important;
  background: var(--studio-panel-light, #15161d) !important;
}

.studio-collection-layout-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.studio-collection-media-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.studio-collection-media-col .studio-field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--studio-text-primary, #ffffff);
}
.brand-studio-route .studio-collection-cover{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--studio-panel-light-alt,#1c1d27)!important;border:1px solid var(--studio-border-light,#333646);position:relative;cursor:pointer;transition:border-color .18s ease}
.brand-studio-route .studio-collection-cover:hover {
  border-color: var(--studio-accent, #7B41E7);
}
.brand-studio-route .studio-collection-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.studio-collection-manage-banner-box {
  position: relative;
  display: block;
  cursor: pointer;
}
.studio-collection-manage-banner-box .studio-banner-upload-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(18, 19, 24, 0.65);
  backdrop-filter: blur(2px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  border-radius: 12px;
  transition: opacity 0.2s ease;
}
.studio-collection-manage-banner-box:hover .studio-banner-upload-overlay,
.studio-collection-manage-banner-box:focus-visible .studio-banner-upload-overlay {
  opacity: 1;
}

.studio-collection-details-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.studio-collection-details-col .studio-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.studio-collection-details-col .studio-field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--studio-text-primary, #ffffff);
}
.studio-collection-details-col input,
.studio-collection-details-col textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
}
.studio-collection-details-col textarea {
  min-height: 70px;
  max-height: 140px;
  resize: vertical;
}
.studio-collection-details-col .help {
  font-size: 11px;
  color: var(--studio-text-muted, #8a8f9d);
  line-height: 1.4;
  margin: 0;
}

.studio-collection-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--studio-border-light, rgba(255, 255, 255, 0.08));
}
.brand-studio-route .studio-save-collection-btn {
  background: var(--studio-accent, #7B41E7) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  min-height: 38px !important;
  padding: 8px 20px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease !important;
}
.brand-studio-route .studio-save-collection-btn:hover {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123, 65, 231, 0.35) !important;
}
.brand-studio-route .studio-collection-delete {
  background: #C92D38 !important;
  color: #ffffff !important;
  border: 1px solid #C92D38 !important;
  border-radius: 8px !important;
  min-height: 36px !important;
  padding: 8px 16px !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(201, 45, 56, 0.25) !important;
  transition: all 0.15s ease !important;
}
.brand-studio-route .studio-collection-delete:hover {
  background: #A91F2A !important;
  border-color: #A91F2A !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 45, 56, 0.4) !important;
}

/* Products List Beneath Collection */
.studio-manage-products-section {
  display: flex;
  flex-direction: column;
  background: var(--studio-panel-light-alt, #181922);
  border-top: 1px solid var(--studio-border-light, rgba(255, 255, 255, 0.08));
}
.studio-manage-products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--studio-border-light, rgba(255, 255, 255, 0.06));
}
.studio-manage-products-header h4 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--studio-text-primary, #ffffff);
  letter-spacing: -0.01em;
}
.studio-products-list {
  display: flex;
  flex-direction: column;
}
.studio-product-row-card {
  border-bottom: 1px solid var(--studio-border-light, rgba(255, 255, 255, 0.06));
  transition: background 0.15s ease;
}
.studio-product-row-card:last-child {
  border-bottom: none;
}
.studio-product-collapsed-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}
.studio-product-collapsed-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
.studio-product-collapsed-row:focus-visible {
  outline: 2px solid var(--studio-accent, #7B41E7);
  outline-offset: -2px;
}
.studio-product-collapsed-row.is-editing {
  background: rgba(123, 65, 231, 0.06);
  border-bottom: 1px solid var(--studio-border-light, rgba(255, 255, 255, 0.06));
}
.studio-product-thumb {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--studio-border-light, #333646);
  background: #111216;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.studio-product-thumb:hover {
  transform: scale(1.06);
  border-color: #7B41E7;
  box-shadow: 0 4px 12px rgba(123, 65, 231, 0.25);
}
.studio-product-thumb:focus-visible {
  outline: 2px solid #7B41E7;
  outline-offset: 2px;
}
.studio-product-thumb-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(17, 18, 22, 0.75);
  color: #ffffff;
  border-radius: 4px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  backdrop-filter: blur(2px);
}
.studio-product-thumb:hover .studio-product-thumb-badge,
.studio-product-thumb:focus-visible .studio-product-thumb-badge {
  opacity: 1;
}
.studio-product-thumb canvas,
.studio-product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
}
.studio-product-collapsed-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
}
.studio-product-collapsed-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--studio-text-primary, #ffffff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.studio-product-collapsed-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--studio-text-muted, #8a8f9d);
}
.studio-product-collapsed-type {
  color: var(--studio-text-muted, #8a8f9d);
}
.studio-product-collapsed-dot {
  opacity: 0.5;
}
.studio-product-collapsed-price {
  color: #4ade80;
  font-weight: 700;
}
.studio-product-collapsed-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 110px;
  flex-shrink: 0;
}
.studio-product-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.studio-product-status-pill.is-limited {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.studio-product-status-pill.is-unlimited {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.studio-product-status-qty {
  font-size: 11px;
  color: var(--studio-text-muted, #8a8f9d);
  font-weight: 500;
}
.studio-product-collapsed-action {
  margin-left: auto;
  flex-shrink: 0;
}
.studio-product-edit-btn {
  height: 32px !important;
  padding: 0 16px !important;
  background: #242633 !important;
  border: 1px solid #3d4156 !important;
  border-radius: 7px !important;
  color: #e4e6f2 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.studio-product-edit-btn:hover {
  background: #2e3142 !important;
  border-color: #505672 !important;
  color: #ffffff !important;
}
.brand-studio-route .studio-product-inline-editor,
.studio-product-inline-editor {
  padding: 16px 20px 18px !important;
  background: var(--studio-panel-light, #15161d) !important;
  border-top: 1px solid var(--studio-border-light, rgba(255, 255, 255, 0.06)) !important;
}
.studio-product-inline-editor[hidden] {
  display: none !important;
}
.studio-product-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.studio-product-type-pill {
  font-size: 11px;
  color: var(--studio-text-muted, #8a8f9d);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.studio-product-type-pill strong {
  color: var(--studio-text-primary, #ffffff);
  font-weight: 700;
  text-transform: none;
}
.studio-product-collapse-btn {
  background: transparent;
  border: none;
  color: var(--studio-text-muted, #8a8f9d);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.studio-product-collapse-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.studio-product-editor-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(130px, 1fr) minmax(140px, 1fr);
  gap: 14px;
  margin-bottom: 12px;
}
.studio-product-editor-fields .studio-field-group {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.studio-product-editor-fields .studio-field-group span {
  font-size: 11.5px;
  font-weight: 650;
  color: var(--studio-text-secondary, #d8dae5);
}
.studio-product-editor-fields .studio-field-group input {
  height: 38px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 7px;
  background: #111216;
  border: 1px solid var(--studio-border-light, #333646);
  color: #ffffff;
}
.studio-product-editor-fields .studio-field-group .help {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--studio-text-muted, #8a8f9d);
}

/* Manage Collections & Products — Compact Cover Color Trigger & Anchored Popover */
.studio-cover-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.studio-cover-status-badge {
  font-size: 9.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 1px 6px;
  border-radius: 4px;
}
.studio-cover-status-badge.is-unavailable {
  display: none !important;
}
.studio-cover-dropdown-anchor {
  position: relative;
}
.studio-cover-trigger-btn {
  height: 38px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-radius: 7px;
  background: #111216;
  border: 1px solid var(--studio-border-light, #333646);
  color: #ffffff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.studio-cover-trigger-btn:hover {
  border-color: #4a4e62;
  background: #181920;
}
.studio-cover-trigger-btn:focus-visible {
  outline: 2px solid #7B41E7;
  outline-offset: 1px;
}
.studio-cover-trigger-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.studio-cover-trigger-name {
  flex: 1;
  text-align: left;
  margin: 0 8px;
  font-size: 12.5px;
  font-weight: 550;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.studio-cover-trigger-caret {
  font-size: 10px;
  color: var(--studio-text-muted, #8a8f9d);
}
.studio-cover-popover {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 230px;
  max-width: 290px;
  z-index: 100;
  background: #16181f;
  border: 1px solid var(--studio-border-light, #333646);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  padding: 8px;
}
.studio-cover-popover-head {
  padding: 2px 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.studio-cover-popover-head strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #c4c7d4;
}
.studio-cover-popover-hint {
  font-size: 10px;
  color: #8a8f9d;
}
.studio-cover-pending-notice {
  display: none !important;
}
.studio-cover-notice-icon {
  font-size: 12px;
  color: #8a8f9d;
  line-height: 1.3;
}
.studio-cover-notice-text strong {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #d8dae5;
  margin-bottom: 1px;
}
.studio-cover-notice-text p {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  color: #8a8f9d;
}
.studio-cover-options-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  max-height: 190px;
  overflow-y: auto;
}
.studio-cover-option-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background .12s ease;
}
.studio-cover-option-item:hover {
  background: rgba(123, 65, 231, 0.16);
}
.studio-cover-option-item.is-selected {
  background: rgba(123, 65, 231, 0.22);
}
.studio-cover-option-item.is-disabled {
  opacity: 0.55;
  cursor: not-allowed !important;
}
.studio-cover-option-item.is-disabled:hover {
  background: transparent !important;
}
.studio-cover-option-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}
.studio-cover-option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.studio-cover-option-name {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}
.studio-cover-option-sub {
  font-size: 10px;
  color: #8a8f9d;
}
.studio-cover-check-mark {
  font-size: 12px;
  font-weight: bold;
  color: #7B41E7;
  margin-left: auto;
}
.studio-product-editor-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--studio-border-light, rgba(255, 255, 255, 0.06)) !important;
}
.studio-product-editor-left {
  display: flex;
  align-items: center;
}
.studio-product-editor-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.studio-product-cancel-btn {
  height: 34px !important;
  padding: 0 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #DED5CE !important;
  border-radius: 7px !important;
  color: #19171B !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.studio-product-cancel-btn:hover:not(:disabled) {
  background: #FAF9F6 !important;
  border-color: #C9BDB5 !important;
  color: #19171B !important;
}
.studio-save-product-btn {
  height: 34px !important;
  padding: 0 18px !important;
  background: #7B41E7 !important;
  color: #ffffff !important;
  border: 1px solid #7B41E7 !important;
  border-radius: 7px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}
.studio-save-product-btn:hover:not(:disabled) {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
}
.brand-studio-route .studio-product-delete,
.studio-product-delete {
  height: 34px !important;
  padding: 0 16px !important;
  background: #C92D38 !important;
  color: #ffffff !important;
  border: 1px solid #C92D38 !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
.brand-studio-route .studio-product-delete:hover:not(:disabled),
.studio-product-delete:hover:not(:disabled) {
  background: #A91F2A !important;
  border-color: #A91F2A !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .studio-collection-layout-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .studio-collection-actions-bar {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .studio-collection-actions-bar button {
    width: 100%;
  }
  .studio-product-collapsed-row {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 14px;
  }
  .studio-product-collapsed-info {
    flex: 1 1 calc(100% - 76px);
  }
  .studio-product-collapsed-status {
    order: 3;
    min-width: auto;
  }
  .studio-product-collapsed-action {
    order: 4;
    margin-left: auto;
  }
  .studio-product-editor-fields {
    grid-template-columns: 1fr;
  }
  .studio-product-editor-footer {
    flex-direction: column-reverse;
    align-items: stretch !important;
  }
  .studio-product-editor-right {
    flex-direction: column-reverse;
    width: 100%;
  }
  .studio-product-editor-left {
    width: 100%;
  }
  .studio-product-editor-footer button {
    width: 100%;
  }
}
.brand-studio-route .header-inner{grid-template-columns:auto minmax(0,1fr) auto}.brand-studio-route .nav-right{justify-self:end}

/* ---------- Brand Studio batch product publishing ---------- */
.brand-studio-route .studio-product-batch {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--studio-border-light) !important;
  border-radius: 18px;
  background: var(--studio-panel-light-alt) !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-product-batch {
  border-color: #DED5CE !important;
  background: #FAF9F6 !important;
}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .studio-product-batch {
  border-color: #3d4050 !important;
  background: #15161c !important;
}
.studio-batch-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.studio-batch-heading h3 {
  margin: 3px 0 4px;
  font-size: 20px;
  font-weight: 750;
  color: var(--studio-text-primary);
}
.studio-batch-heading p {
  margin: 0;
  color: var(--studio-text-muted);
  font-size: 11px;
}
.studio-batch-products {
  display: grid;
  gap: 12px;
}
/* Selected product editor card - unified theme surface */
.brand-studio-route .studio-batch-product {
  padding: 18px 20px !important;
  border: 1px solid var(--studio-border-light) !important;
  border-radius: 14px !important;
  background: var(--studio-panel-light) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  scroll-margin-top: calc(var(--awebo-header-h, 64px) + 20px);
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-product {
  background: #ffffff !important;
  border-color: #DED5CE !important;
  box-shadow: 0 2px 10px rgba(68,48,45,.04);
}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .studio-batch-product {
  background: #111216 !important;
  border-color: #3d4050 !important;
  box-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.studio-batch-product-head {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.brand-studio-route .studio-batch-product-visual {
  width: 72px;
  height: 76px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--studio-panel-light-alt) !important;
  border: 1px solid var(--studio-border-light) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-product-visual {
  background: #f4f3ef !important;
  border-color: #DED5CE !important;
}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .studio-batch-product-visual {
  background: #181920 !important;
  border-color: #3d4050 !important;
}
.studio-batch-product-visual .studio-catalog-art {
  height: 100%;
}
.studio-batch-product-visual .studio-catalog-art > span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 13px;
}
.studio-batch-product-head > div:nth-child(2) {
  display: grid;
  gap: 3px;
}
.studio-batch-product-head span {
  color: #a27aff !important;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.studio-batch-product-head strong {
  font-size: 15px;
  font-weight: 750;
  color: var(--studio-text-primary) !important;
}
.studio-batch-product-head small {
  color: var(--studio-text-secondary) !important;
  font-size: 11.5px;
  line-height: 1.4;
}

/* Two-column Product Name and Selected Sale Price inputs */
.brand-studio-route .studio-batch-product > .fields {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 10px;
}
.brand-studio-route .studio-batch-product > .fields label {
  margin: 0 !important;
  color: var(--studio-text-primary) !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
}
.brand-studio-route .studio-batch-product > .fields input {
  margin-top: 6px !important;
  padding: 10px 13px !important;
  border: 1px solid var(--studio-border-light) !important;
  border-radius: 10px !important;
  background: var(--studio-input-bg) !important;
  color: var(--studio-text-primary) !important;
  font-size: 13px !important;
  font-weight: 550 !important;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-product > .fields input {
  background: #ffffff !important;
  border-color: #DED5CE !important;
  color: #171312 !important;
}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .studio-batch-product > .fields input {
  background: #181920 !important;
  border-color: #3d4050 !important;
  color: #ffffff !important;
}
.brand-studio-route .studio-batch-product > .fields input:focus {
  border-color: var(--studio-accent, #7B41E7) !important;
  box-shadow: 0 0 0 3px rgba(123, 65, 231, 0.2) !important;
}

/* Studio Required Fields & Inline Errors */
.required-asterisk {
  color: #e5484d !important;
  font-weight: 750 !important;
  margin-left: 2px !important;
}
.brand-studio-route input.has-field-error,
.brand-studio-route textarea.has-field-error,
.has-field-error {
  border-color: #e5484d !important;
  box-shadow: 0 0 0 2px rgba(229, 72, 77, 0.22) !important;
}
.studio-field-error {
  display: none;
  color: #e5484d !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  margin-top: 4px !important;
  line-height: 1.35 !important;
}

/* Studio Batch Product Card - Compact Bar & Production Cost */
.studio-batch-card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--studio-border-light);
}
.studio-batch-card-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.studio-batch-cat-tag {
  color: #a27aff !important;
  font-size: 10.5px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.studio-batch-prod-title {
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  color: var(--studio-text-primary) !important;
}
.studio-batch-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.studio-cost-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 650;
  user-select: none;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cost-chip {
  background: #f0ebfa;
  border: 1px solid #d4c4f5;
  color: #5a2eb8;
}
:is([data-theme="night"], html:not([data-theme="day"])) .studio-cost-chip {
  background: rgba(123, 65, 231, 0.14);
  border: 1px solid rgba(123, 65, 231, 0.32);
  color: #c4a7ff;
}
.studio-cost-chip .studio-cost-label {
  opacity: 0.82;
  font-weight: 550;
}
.studio-cost-chip .studio-cost-val {
  font-weight: 800;
}
.studio-batch-remove-btn,
.studio-batch-remove {
  padding: 5px 12px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}

/* Studio Preview card - compact, prominent, clickable */
.brand-studio-route .studio-batch-product .studio-product-setup {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border: 1px solid var(--studio-border-light) !important;
  border-radius: 12px;
  background: var(--studio-panel-light-alt) !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-product .studio-product-setup {
  background: #FAF9F6 !important;
  border-color: #DED5CE !important;
}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .studio-batch-product .studio-product-setup {
  background: #181920 !important;
  border-color: #3d4050 !important;
}
.brand-studio-route .studio-batch-product .studio-product-setup .studio-mini-shirt {
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--studio-panel-light) !important;
  border: 1px solid var(--studio-border-light) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.brand-studio-route .studio-batch-product .studio-product-setup .studio-mini-shirt:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(123, 65, 231, 0.28);
  border-color: #7B41E7 !important;
}
.brand-studio-route .studio-batch-product .studio-product-setup .studio-mini-shirt:focus-visible {
  outline: 2px solid #7B41E7;
  outline-offset: 2px;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-product .studio-product-setup .studio-mini-shirt {
  background: #ffffff !important;
  border-color: #DED5CE !important;
}
:is([data-theme="night"], html:not([data-theme="day"])) .brand-studio-route .studio-batch-product .studio-product-setup .studio-mini-shirt {
  background: #111216 !important;
  border-color: #3d4050 !important;
}
.brand-studio-route .studio-batch-product .studio-product-setup .studio-mini-shirt img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.brand-studio-route .studio-batch-product .studio-product-setup > div:last-child > strong {
  display: none !important;
}
.brand-studio-route .studio-batch-product .studio-product-setup p.help:not(.studio-saved) {
  display: none !important;
}
.brand-studio-route .studio-batch-product .studio-product-setup .open-studio,
.brand-studio-route .studio-batch-product .studio-product-setup .studio-open-editor {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 14px !important;
  background: #7B41E7 !important;
  border: 1px solid #6530D4 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(123, 65, 231, 0.3) !important;
  transition: all .16s ease !important;
}
.brand-studio-route .studio-batch-product .studio-product-setup .open-studio:hover,
.brand-studio-route .studio-batch-product .studio-product-setup .studio-open-editor:hover {
  background: #6530D4 !important;
  border-color: #4e2999 !important;
  box-shadow: 0 4px 12px rgba(123, 65, 231, 0.45) !important;
  transform: translateY(-1px);
}
.brand-studio-route .studio-batch-product .studio-product-setup .open-studio:disabled,
.brand-studio-route .studio-batch-product .studio-product-setup .studio-open-editor:disabled {
  background: var(--studio-disabled-bg) !important;
  border: 1px solid var(--studio-disabled-border) !important;
  color: var(--studio-disabled-text) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none !important;
}
.brand-studio-route .studio-batch-product .studio-product-setup .studio-saved {
  display: block;
  margin-top: 4px !important;
  color: #a27aff !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}

/* Dark Variants Block */
.brand-studio-route .product-variant-builder {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #2a2d38 !important;
  border-radius: 12px;
  background: #14151a !important;
  color: #f4f4f6 !important;
  display: grid;
  gap: 12px;
}
.brand-studio-route .product-variant-builder > legend,
.brand-studio-route .studio-batch-product .product-variant-builder > legend,
.product-variant-builder > legend {
  display: block !important;
  float: left !important;
  width: 100% !important;
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 4px 0 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}
.brand-studio-route .product-variant-builder p,
.brand-studio-route .product-variant-builder .help,
.brand-studio-route .studio-batch-product .product-variant-builder p,
.brand-studio-route .studio-batch-product .product-variant-builder p.help,
.brand-studio-route .studio-form-card .product-variant-builder p:not(.form-error):not(.notice),
.brand-studio-route .studio-form-card .product-variant-builder .help {
  background: transparent !important;
  color: #c4c7d4 !important;
  border: none !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-weight: 450 !important;
  margin: 0 0 6px 0 !important;
  box-shadow: none !important;
}
.brand-studio-route .product-variant-builder .variant-builder-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brand-studio-route .product-variant-builder .variant-builder-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand-studio-route .product-variant-builder .variant-builder-block > strong,
.product-variant-builder .variant-builder-block > strong {
  display: block;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-builder-block > strong,
:is([data-theme="day"], .awebo-day-theme) .product-variant-builder .variant-builder-block > strong {
  color: #171312 !important;
}
.brand-studio-route .product-variant-builder .variant-availability-section {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #232530;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-availability-section {
  border-top-color: #ded5ce;
}

/* Variant chips (Sizes & Colors) */
.brand-studio-route .product-variant-builder .variant-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.brand-studio-route .product-variant-builder .variant-chip {
  position: relative;
  margin: 0;
  display: inline-flex;
}
.brand-studio-route .product-variant-builder .variant-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.brand-studio-route .product-variant-builder .variant-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  min-height: 24px !important;
  padding: 0 9px;
  border: 1px solid #303340 !important;
  border-radius: 5px;
  background: #181920 !important;
  color: #c2c6d4 !important;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all .14s ease;
  user-select: none;
  line-height: 1;
}
.brand-studio-route .product-variant-builder .variant-chip:hover span {
  background: #22242f !important;
  border-color: #44485b !important;
  color: #ffffff !important;
}
.brand-studio-route .product-variant-builder .variant-chip input:checked + span {
  background: rgba(123, 65, 231, 0.16) !important;
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 1px rgba(123, 65, 231, 0.35) !important;
  color: #ffffff !important;
  font-weight: 700;
}
.brand-studio-route .product-variant-builder .variant-chip input:focus-visible + span {
  outline: 2px solid #7B41E7;
  outline-offset: 1px;
}
.variant-color-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  vertical-align: middle;
}

/* Integrated Cover Badge & Variant Color Wrappers */
.brand-studio-route .product-variant-builder .variant-builder-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}
.brand-studio-route .product-variant-builder .variant-builder-hint {
  font-size: 11px;
  color: #a0a4b6;
  font-weight: 500;
  line-height: 1.4;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-builder-hint {
  color: #6a6660;
}
.brand-studio-route .product-variant-builder .variant-color-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0;
}
.brand-studio-route .product-variant-builder .variant-color-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand-studio-route .product-variant-builder .variant-auto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 17px;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 1px solid #3d4050;
  background: #1e2029;
  color: #9da1b4;
  cursor: pointer;
  transition: all .14s ease;
  line-height: 1;
}
.brand-studio-route .product-variant-builder .variant-auto-btn:hover {
  background: #272a36;
  color: #ffffff;
  border-color: #55596e;
}
.brand-studio-route .product-variant-builder .variant-auto-btn.is-auto-active {
  background: rgba(123, 65, 231, 0.18);
  border-color: #7B41E7;
  color: #c4a7ff;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-auto-btn {
  border-color: #ded5ce;
  background: #fbf9f6;
  color: #766e65;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-auto-btn:hover {
  background: #f0ebfa;
  color: #5a2eb8;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-auto-btn.is-auto-active {
  background: #f0ebfa;
  border-color: #6530D4;
  color: #6530D4;
}
.brand-studio-route .product-variant-builder .variant-cover-mode-hint {
  font-size: 10.5px;
  font-weight: 700;
  color: #a27aff;
  letter-spacing: .02em;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-mode-hint {
  color: #6530D4;
}

/* Single compact chip per available color (Natural Flex Sizing, No Nested Borders) */
.brand-studio-route .product-variant-builder .variant-color-chip {
  position: relative;
  margin: 0;
  display: inline-flex;
  cursor: pointer;
}
.brand-studio-route .product-variant-builder .variant-color-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.brand-studio-route .product-variant-builder .variant-chip-body {
  display: inline-flex;
  align-items: center;
  height: 24px;
  min-height: 24px !important;
  padding: 0 4px 0 7px;
  border: 1px solid #303340 !important;
  border-radius: 5px;
  background: #181920 !important;
  color: #c2c6d4 !important;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all .14s ease;
  user-select: none;
  gap: 3px;
  line-height: 1;
}
.brand-studio-route .product-variant-builder .variant-color-chip:hover .variant-chip-body {
  background: #22242f !important;
  border-color: #44485b !important;
  color: #ffffff !important;
}
.brand-studio-route .product-variant-builder .variant-color-chip input:checked + .variant-chip-body {
  background: rgba(123, 65, 231, 0.14) !important;
  border-color: #7B41E7 !important;
  color: #ffffff !important;
  font-weight: 650;
}
.brand-studio-route .product-variant-builder .variant-color-chip.is-active-cover .variant-chip-body,
.brand-studio-route .product-variant-builder .variant-color-chip-wrap.is-active-cover {
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 1px rgba(123, 65, 231, 0.45) !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-color-chip .variant-chip-body {
  background: #fbf9f6 !important;
  border-color: #ded5ce !important;
  color: #2e2a28 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-color-chip:hover .variant-chip-body {
  background: #f2efe9 !important;
  border-color: #c0b7af !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-color-chip input:checked + .variant-chip-body {
  background: #f0ebfa !important;
  border-color: #6530D4 !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-color-chip.is-active-cover .variant-chip-body,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-color-chip-wrap.is-active-cover {
  border-color: #6530D4 !important;
  box-shadow: 0 0 0 1px rgba(101, 48, 212, 0.45) !important;
}
.brand-studio-route .product-variant-builder .variant-color-chip.is-color-disabled .variant-chip-body {
  opacity: 0.38;
  border-color: #252733 !important;
  background: #13141a !important;
  color: #727686 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-color-chip.is-color-disabled .variant-chip-body {
  opacity: 0.42;
  border-color: #e2dbd3 !important;
  background: #f5f2ed !important;
  color: #8e8780 !important;
}

/* Integrated Cover Star — Clean Icon, Transparent Always, No Hover Bubble */
.brand-studio-route .product-variant-builder .variant-cover-star,
.brand-studio-route .product-variant-builder .variant-cover-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #7a7f92;
  font-size: 11px;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 0 0 2px;
  transition: color .12s ease, opacity .12s ease;
  outline: none;
  transform: none !important;
  flex-shrink: 0;
  line-height: 1 !important;
}
.brand-studio-route .product-variant-builder .variant-cover-star:hover,
.brand-studio-route .product-variant-builder .variant-cover-badge:hover {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #d1bfff;
  transform: none !important;
}
.brand-studio-route .product-variant-builder .variant-cover-star.is-cover-selected,
.brand-studio-route .product-variant-builder .variant-cover-badge.is-cover-selected {
  color: #ffd13b !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  font-weight: bold;
}
.brand-studio-route .product-variant-builder .variant-cover-star.is-cover-selected:hover,
.brand-studio-route .product-variant-builder .variant-cover-badge.is-cover-selected:hover {
  color: #ffe066 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
.brand-studio-route .product-variant-builder .variant-cover-star:focus-visible,
.brand-studio-route .product-variant-builder .variant-cover-badge:focus-visible {
  outline: 1.5px solid #7B41E7;
  outline-offset: 1px;
  border-radius: 3px;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-star,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-badge {
  color: #8c867e;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-star:hover,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-badge:hover {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #6530D4;
  transform: none !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-star.is-cover-selected,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-badge.is-cover-selected {
  color: #b08800 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-star.is-cover-selected:hover,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-badge.is-cover-selected:hover {
  color: #8c6c00 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-star:focus-visible,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-cover-badge:focus-visible {
  outline: 1.5px solid #6530D4;
  outline-offset: 1px;
  border-radius: 3px;
}
.brand-studio-route .product-variant-builder .variant-color-chip.is-color-disabled .variant-cover-star,
.brand-studio-route .product-variant-builder .variant-color-chip.is-color-disabled .variant-cover-badge {
  pointer-events: none;
  opacity: 0.3;
}
.brand-studio-route .product-variant-builder .variant-cover-badge .cover-star-icon {
  font-size: 11px;
  line-height: 1;
  display: block;
}

.brand-studio-route .product-variant-builder .variant-color-chip-wrap.is-color-disabled {
  opacity: 0.38;
  border-color: #252733 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-color-chip-wrap.is-color-disabled {
  opacity: 0.42;
  border-color: #e2dbd3 !important;
}
.brand-studio-route .product-variant-builder .variant-color-chip-wrap.is-color-disabled .variant-cover-badge {
  pointer-events: none;
  opacity: 0.3;
}
.brand-studio-route .product-variant-builder .variant-colors-validation-msg {
  color: #ef4444 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  margin-top: 4px !important;
}


/* Availability & Limited quantity controls */
.brand-studio-route .product-variant-builder label {
  display: block !important;
  margin: 10px 0 0 !important;
  color: #f4f4f6 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em !important;
}
.brand-studio-route .product-variant-builder select {
  display: block !important;
  width: 100% !important;
  margin-top: 7px !important;
  padding: 9px 12px !important;
  background: #1e2029 !important;
  border: 1px solid #3d4050 !important;
  border-radius: 9px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 550 !important;
  outline: none !important;
  transition: border-color .16s ease, box-shadow .16s ease !important;
  cursor: pointer !important;
}
.brand-studio-route .product-variant-builder select:hover {
  border-color: #55596e !important;
}
.brand-studio-route .product-variant-builder select:focus {
  border-color: var(--studio-accent, #7B41E7) !important;
  box-shadow: 0 0 0 3px rgba(123, 65, 231, 0.22) !important;
}
.brand-studio-route .product-variant-builder select option {
  background: #181920 !important;
  color: #ffffff !important;
}
/* Limited quantity compact container */
.brand-studio-route .product-variant-builder .limited-product-settings,
.limited-product-settings {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.brand-studio-route .product-variant-builder .limited-product-settings[hidden],
.limited-product-settings[hidden] {
  display: none !important;
}

/* Compact Head bar */
.brand-studio-route .product-variant-builder .limited-settings-head,
.limited-settings-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  background: #181921 !important;
  border: 1px solid #2d3040 !important;
  border-radius: 10px !important;
}

.brand-studio-route .product-variant-builder .limited-total-field,
.limited-total-field {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  color: #f4f4f6 !important;
}

.brand-studio-route .product-variant-builder .limited-total-field > span,
.limited-total-field > span {
  color: #c4c7d4 !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  white-space: nowrap !important;
}

.brand-studio-route .product-variant-builder .limited-total-field input[name="max_supply"],
.limited-total-field input[name="max_supply"] {
  width: 90px !important;
  height: 34px !important;
  padding: 0 10px !important;
  background: #121318 !important;
  border: 1px solid #36394a !important;
  border-radius: 7px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: center !important;
  outline: none !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease !important;
}

.brand-studio-route .product-variant-builder .limited-total-field input[name="max_supply"]:focus,
.limited-total-field input[name="max_supply"]:focus {
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 2px rgba(123, 65, 231, 0.22) !important;
}

.brand-studio-route .product-variant-builder .limited-summary-bar,
.limited-summary-bar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-left: auto !important;
}

.brand-studio-route .product-variant-builder .limited-summary-text,
.limited-summary-text {
  font-size: 11.5px !important;
  font-weight: 550 !important;
  color: #9da1b4 !important;
  white-space: nowrap !important;
}

.brand-studio-route .product-variant-builder .limited-summary-text .summary-warn,
.limited-summary-text .summary-warn {
  color: #fb7185 !important;
  font-weight: 650 !important;
}

.brand-studio-route .product-variant-builder .limited-adjust-btn,
.limited-adjust-btn {
  height: 32px !important;
  padding: 0 13px !important;
  background: #242633 !important;
  border: 1px solid #3d4156 !important;
  border-radius: 7px !important;
  color: #e4e6f2 !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.16s ease !important;
}

.brand-studio-route .product-variant-builder .limited-adjust-btn:hover,
.limited-adjust-btn:hover {
  background: #2e3142 !important;
  border-color: #505672 !important;
  color: #ffffff !important;
}

/* Expanded Matrix Panel */
.brand-studio-route .product-variant-builder .limited-matrix-panel,
.limited-matrix-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 14px !important;
  background: #181921 !important;
  border: 1px solid #2d3040 !important;
  border-radius: 10px !important;
}

.brand-studio-route .product-variant-builder .limited-matrix-panel[hidden],
.limited-matrix-panel[hidden] {
  display: none !important;
}

.brand-studio-route .product-variant-builder .limited-matrix-scroll,
.limited-matrix-scroll {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Matrix Table */
.variant-matrix-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-size: 12px !important;
}

.variant-matrix-table th {
  padding: 8px 8px 10px !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #8a8f9d !important;
  border-bottom: 1px solid #2b2e3e !important;
  text-align: center !important;
}

.variant-matrix-table th.matrix-th-color {
  text-align: left !important;
  padding-left: 6px !important;
  width: 160px !important;
  min-width: 140px !important;
}

.variant-matrix-table td {
  padding: 5px 6px !important;
  border-bottom: 1px solid #222430 !important;
  text-align: center !important;
  vertical-align: middle !important;
}

.variant-matrix-table tbody tr:last-child td {
  border-bottom: none !important;
}

.variant-matrix-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02) !important;
}

.variant-matrix-table td.matrix-td-color {
  text-align: left !important;
  padding-left: 6px !important;
  color: #f0f1f6 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.variant-matrix-table td.matrix-td-color .variant-color-dot {
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  margin-right: 7px !important;
  vertical-align: middle !important;
}

.matrix-cell-input::-webkit-outer-spin-button,
.matrix-cell-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.brand-studio-route .product-variant-builder .matrix-cell-input,
.matrix-cell-input {
  width: 58px !important;
  height: 36px !important;
  padding: 0 4px !important;
  background: #121318 !important;
  border: 1px solid #333646 !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin: 0 auto !important;
  display: block !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
  outline: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}

.brand-studio-route .product-variant-builder .matrix-cell-input:focus,
.matrix-cell-input:focus {
  background: #161822 !important;
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 2px rgba(123, 65, 231, 0.22) !important;
}

/* One Size Product constraint */
.variant-matrix-table.is-one-size {
  max-width: 320px !important;
}

.variant-matrix-table.is-one-size th.matrix-th-size,
.variant-matrix-table.is-one-size td.matrix-td-cell {
  width: 90px !important;
}

/* Matrix Footer & Status */
.brand-studio-route .product-variant-builder .limited-matrix-footer,
.limited-matrix-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding-top: 10px !important;
  border-top: 1px solid #262938 !important;
}

.limited-status-wrap {
  display: flex !important;
  align-items: center !important;
  font-size: 12px !important;
}

.variant-quantity-total {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.variant-quantity-total.is-matched {
  color: #4ade80 !important;
}

.variant-quantity-total.is-mismatched {
  color: #fb7185 !important;
  font-weight: 650 !important;
}

.variant-quantity-total .status-icon {
  font-style: normal !important;
  font-weight: 800 !important;
}

.brand-studio-route .product-variant-builder .limited-matrix-actions,
.limited-matrix-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: auto !important;
}

.matrix-btn {
  height: 30px !important;
  padding: 0 12px !important;
  border-radius: 6px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}

.matrix-btn.distribute-btn {
  background: transparent !important;
  border: 1px solid #3c4054 !important;
  color: #c5c8d6 !important;
}

.matrix-btn.distribute-btn:hover {
  background: #252836 !important;
  border-color: #515670 !important;
  color: #ffffff !important;
}

.matrix-btn.done-btn {
  background: #2a2d3d !important;
  border: 1px solid #43475f !important;
  color: #ffffff !important;
}

.matrix-btn.done-btn:hover {
  background: #35394d !important;
  border-color: #5b6182 !important;
}

@media (max-width: 600px) {
  .brand-studio-route .product-variant-builder .limited-settings-head,
  .limited-settings-head {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .brand-studio-route .product-variant-builder .limited-summary-bar,
  .limited-summary-bar {
    width: 100% !important;
    justify-content: space-between !important;
    margin-left: 0 !important;
  }
  .brand-studio-route .product-variant-builder .limited-matrix-footer,
  .limited-matrix-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .brand-studio-route .product-variant-builder .limited-matrix-actions,
  .limited-matrix-actions {
    width: 100% !important;
    justify-content: flex-end !important;
    margin-left: 0 !important;
  }
}

/* Light Variant Builder for Day Mode */
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder {
  background: #fbfbf9 !important;
  border: 1px solid #dedcd5 !important;
  color: #171312 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder > legend,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-product .product-variant-builder > legend,
:is([data-theme="day"], .awebo-day-theme) .product-variant-builder > legend {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder p,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .help,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-product .product-variant-builder p,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-product .product-variant-builder p.help,
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-form-card .product-variant-builder p:not(.form-error):not(.notice),
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-form-card .product-variant-builder .help {
  color: #5d606f !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-builder-block > strong,
:is([data-theme="day"], .awebo-day-theme) .product-variant-builder .variant-builder-block > strong {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-chip span {
  background: #ffffff !important;
  border: 1px solid #d0cecb !important;
  color: #171312 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-chip:hover span {
  background: #f2f1ed !important;
  border-color: #b8b6af !important;
  color: #000000 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-chip input:checked + span {
  background: #F4EFFF !important;
  border-color: #7B41E7 !important;
  color: #5B21B6 !important;
  box-shadow: 0 0 0 1px rgba(123, 65, 231, 0.35) !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder label {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder select {
  background: #ffffff !important;
  border: 1px solid #d0cecb !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder select:hover {
  border-color: #b8b6af !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder select option {
  background: #ffffff !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-settings-head,
:is([data-theme="day"], .awebo-day-theme) .limited-settings-head {
  background: #FAF9F6 !important;
  border: 1px solid #DED5CE !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-total-field,
:is([data-theme="day"], .awebo-day-theme) .limited-total-field {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-total-field > span,
:is([data-theme="day"], .awebo-day-theme) .limited-total-field > span {
  color: #5E5B56 !important;
  font-weight: 650 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-total-field input[name="max_supply"],
:is([data-theme="day"], .awebo-day-theme) .limited-total-field input[name="max_supply"] {
  background: #ffffff !important;
  border: 1px solid #DED5CE !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-total-field input[name="max_supply"]:focus,
:is([data-theme="day"], .awebo-day-theme) .limited-total-field input[name="max_supply"]:focus {
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 2px rgba(123, 65, 231, 0.18) !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-summary-bar,
:is([data-theme="day"], .awebo-day-theme) .limited-summary-bar {
  background: transparent !important;
  border: none !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-summary-text,
:is([data-theme="day"], .awebo-day-theme) .limited-summary-text {
  color: #5E5B56 !important;
  font-weight: 550 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-adjust-btn,
:is([data-theme="day"], .awebo-day-theme) .limited-adjust-btn {
  background: #ffffff !important;
  border: 1px solid #DED5CE !important;
  color: #7B41E7 !important;
  font-weight: 650 !important;
  border-radius: 7px !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-adjust-btn:hover,
:is([data-theme="day"], .awebo-day-theme) .limited-adjust-btn:hover {
  background: #F4EFFF !important;
  border-color: #7B41E7 !important;
  color: #6530D4 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-matrix-panel,
:is([data-theme="day"], .awebo-day-theme) .limited-matrix-panel {
  background: #FAF9F6 !important;
  border: 1px solid #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .variant-matrix-table th {
  color: #5e5b56 !important;
  border-bottom: 1px solid #dedcd5 !important;
}
:is([data-theme="day"], .awebo-day-theme) .variant-matrix-table td {
  border-bottom: 1px solid #ece7e2 !important;
}
:is([data-theme="day"], .awebo-day-theme) .variant-matrix-table tbody tr:hover td {
  background: rgba(0, 0, 0, 0.03) !important;
}
:is([data-theme="day"], .awebo-day-theme) .variant-matrix-table td.matrix-td-color {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .variant-matrix-table td.matrix-td-color .variant-color-dot {
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .matrix-cell-input,
:is([data-theme="day"], .awebo-day-theme) .matrix-cell-input {
  background: #ffffff !important;
  border: 1px solid #dedcd5 !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .matrix-cell-input:focus,
:is([data-theme="day"], .awebo-day-theme) .matrix-cell-input:focus {
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 2px rgba(123, 65, 231, 0.18) !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .limited-matrix-footer,
:is([data-theme="day"], .awebo-day-theme) .limited-matrix-footer {
  background: #FAF9F6 !important;
  border-top: 1px solid #dedcd5 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .variant-quantity-total,
:is([data-theme="day"], .awebo-day-theme) .variant-quantity-total {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .matrix-btn.distribute-btn,
:is([data-theme="day"], .awebo-day-theme) .matrix-btn.distribute-btn {
  background: #ffffff !important;
  border: 1px solid #dedcd5 !important;
  color: #5e5b56 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .matrix-btn.distribute-btn:hover,
:is([data-theme="day"], .awebo-day-theme) .matrix-btn.distribute-btn:hover {
  background: #F3F0EB !important;
  border-color: #BFB8AE !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .matrix-btn.done-btn,
:is([data-theme="day"], .awebo-day-theme) .matrix-btn.done-btn {
  background: #171312 !important;
  border-color: #171312 !important;
  color: #ffffff !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .product-variant-builder .matrix-btn.done-btn:hover,
:is([data-theme="day"], .awebo-day-theme) .matrix-btn.done-btn:hover {
  background: #332E2D !important;
}

/* Day Mode Manage Collections & Products */
:is([data-theme="day"], .awebo-day-theme) .studio-manage-products-section {
  background: #FAF9F6 !important;
  border-top-color: #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-manage-products-header {
  border-bottom-color: #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-manage-products-header h4 {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-row-card {
  border-bottom-color: #ECE7E2 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-collapsed-row:hover {
  background: rgba(0, 0, 0, 0.02) !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-collapsed-row.is-editing {
  background: #F4EFFF !important;
  border-bottom-color: #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-thumb {
  background: #FFFFFF !important;
  border-color: #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-collapsed-title {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-collapsed-type {
  color: #6E625D !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-collapsed-price {
  color: #15803d !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-status-pill.is-limited {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border-color: #FDE68A !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-status-pill.is-unlimited {
  background: #DBEAFE !important;
  color: #1E40AF !important;
  border-color: #BFDBFE !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-status-qty {
  color: #6E625D !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-edit-btn {
  background: #FFFFFF !important;
  border: 1px solid #DED5CE !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-edit-btn:hover {
  background: #F3F0EB !important;
  border-color: #BFB8AE !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-product-inline-editor,
:is([data-theme="day"], .awebo-day-theme) .studio-product-inline-editor {
  background: #FAF9F6 !important;
  border-top-color: #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-editor-header {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-type-pill {
  color: #6E625D !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-type-pill strong {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-collapse-btn {
  color: #6E625D !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-collapse-btn:hover {
  background: #ECE7E2 !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-editor-fields .studio-field-group span {
  color: #4A4643 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-editor-fields .studio-field-group input {
  background: #FFFFFF !important;
  border: 1px solid #DED5CE !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-editor-fields .studio-field-group input:focus {
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 2px rgba(123, 65, 231, 0.18) !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-editor-fields .studio-field-group .help {
  color: #6E625D !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-trigger-btn {
  background: #FFFFFF !important;
  border-color: #DED5CE !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-trigger-btn:hover {
  background: #FBF9F6 !important;
  border-color: #C5B9B0 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-trigger-name {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-popover {
  background: #FFFFFF !important;
  border-color: #DED5CE !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-popover-head {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-popover-head strong {
  color: #4A4643 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-option-item {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-option-item:hover {
  background: #F0EBFA !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-option-item.is-selected {
  background: #E8DFF7 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-option-name {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-check-mark {
  color: #6530D4 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-status-badge.is-unavailable {
  display: none !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-pending-notice {
  display: none !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-notice-text strong {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cover-notice-text p {
  color: #6e625d !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-editor-footer {
  border-top-color: #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-cancel-btn {
  background: #FFFFFF !important;
  border: 1px solid #DED5CE !important;
  color: #19171B !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-cancel-btn:hover:not(:disabled) {
  background: #FAF9F6 !important;
  border-color: #C9BDB5 !important;
  color: #19171B !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-save-product-btn {
  background: #7B41E7 !important;
  border-color: #7B41E7 !important;
  color: #FFFFFF !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-save-product-btn:hover:not(:disabled) {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-delete {
  background: #C92D38 !important;
  color: #ffffff !important;
  border: 1px solid #C92D38 !important;
  box-shadow: none !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-product-delete:hover:not(:disabled) {
  background: #A91F2A !important;
  border-color: #A91F2A !important;
  color: #ffffff !important;
}

/* Pricing / Economics Summary */
.brand-studio-route .studio-batch-product [data-pricing-preview] {
  margin: 10px 0 12px !important;
  padding: 12px 14px !important;
  background: var(--studio-panel-light-alt, #181920) !important;
  border: 1px solid var(--studio-border-light, #3d4050) !important;
  border-radius: 10px !important;
  color: var(--studio-text-secondary, #d8dae5) !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
}

/* Compact Professional Pricing Breakdown Card */
.pricing-breakdown-card {
  display: grid;
  gap: 8px;
}
.pricing-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}
.pricing-stat-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pricing-stat-label {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--studio-text-muted, #9da1b4);
  white-space: nowrap;
}
.pricing-stat-value {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--studio-text-primary, #ffffff);
}
.pricing-validation-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 12px;
  flex-wrap: wrap;
}
.pricing-min-info {
  color: var(--studio-text-secondary, #c4c7d4);
  font-size: 12px;
}
.pricing-min-info strong {
  color: #ffffff;
  font-weight: 750;
}
.pricing-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
}
.pricing-status-pill.is-valid {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.pricing-status-pill.is-invalid {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

/* Price Input Header Row & Inline Status Badge */
.studio-price-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.studio-min-price-hint {
  font-size: 11px;
  color: var(--studio-text-muted, #9da1b4);
  font-weight: 500;
}
.studio-min-price-hint strong {
  color: #c4c7d4;
  font-weight: 650;
}
.studio-price-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.studio-price-input-row input {
  flex: 1;
}
.studio-price-inline-status {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}
.studio-price-inline-status.is-valid {
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
}
.studio-price-inline-status.is-invalid {
  color: #f87171;
  background: rgba(239, 68, 68, 0.14);
}

:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-product [data-pricing-preview] {
  background: #FAF9F6 !important;
  border-color: #DED5CE !important;
  color: #443e3c !important;
}
:is([data-theme="day"], .awebo-day-theme) .pricing-breakdown-grid {
  background: #F4EFFF;
  border-color: #D8C7F8;
}
:is([data-theme="day"], .awebo-day-theme) .pricing-stat-label {
  color: #6E625D;
}
:is([data-theme="day"], .awebo-day-theme) .pricing-stat-value {
  color: #171312;
}
:is([data-theme="day"], .awebo-day-theme) .pricing-min-info {
  color: #443e3c;
}
:is([data-theme="day"], .awebo-day-theme) .pricing-min-info strong {
  color: #171312;
}
:is([data-theme="day"], .awebo-day-theme) .pricing-status-pill.is-valid {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}
:is([data-theme="day"], .awebo-day-theme) .pricing-status-pill.is-invalid {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}
:is([data-theme="day"], .awebo-day-theme) .studio-min-price-hint {
  color: #6E625D;
}
:is([data-theme="day"], .awebo-day-theme) .studio-min-price-hint strong {
  color: #171312;
}
:is([data-theme="day"], .awebo-day-theme) .studio-price-inline-status.is-valid {
  color: #065F46;
  background: #ECFDF5;
}
:is([data-theme="day"], .awebo-day-theme) .studio-price-inline-status.is-invalid {
  color: #991B1B;
  background: #FEF2F2;
}

/* Destination Collection at Top & Batch Header */
.brand-studio-route .studio-batch-collection-header {
  margin: 16px 0 20px;
  padding: 16px 18px;
  background: var(--studio-panel-light, #14151a);
  border: 1px solid var(--studio-border-light, #2a2d38);
  border-radius: 12px;
}
.brand-studio-route .studio-batch-collection-field {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
}
.brand-studio-route .studio-batch-collection-field label {
  margin: 0 !important;
  color: var(--studio-text-primary, #ffffff) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}
.brand-studio-route .studio-batch-collection-field select {
  display: block !important;
  width: 100% !important;
  margin-top: 7px !important;
  padding: 10px 14px !important;
  background: var(--studio-input-bg, #181920) !important;
  border: 1px solid var(--studio-border-light, #3d4050) !important;
  border-radius: 10px !important;
  color: var(--studio-text-primary, #ffffff) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  outline: none !important;
  transition: border-color .16s, box-shadow .16s !important;
}
.brand-studio-route .studio-batch-collection-field select option {
  background: var(--studio-input-bg, #181920) !important;
  color: var(--studio-text-primary, #ffffff) !important;
}
.brand-studio-route .studio-batch-collection-field select:focus {
  border-color: var(--studio-accent, #7B41E7) !important;
  box-shadow: 0 0 0 3px rgba(123, 65, 231, 0.25) !important;
}
.brand-studio-route .studio-batch-target-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(123, 65, 231, 0.08);
  border: 1px solid rgba(123, 65, 231, 0.25);
  border-radius: 10px;
  color: var(--studio-text-secondary, #d8dae5);
  font-size: 13px;
  min-height: 42px;
}
.brand-studio-route .studio-batch-target-display strong {
  color: #ffffff;
  font-weight: 750;
}
.brand-studio-route .studio-batch-collection-header small {
  display: block !important;
  margin-top: 8px !important;
  color: var(--studio-text-muted, #a4a7b5) !important;
  font-size: 11.5px !important;
  font-weight: 550 !important;
}

:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-collection-header {
  background: #FAF9F6 !important;
  border-color: #DED5CE !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-collection-field label {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-collection-field select {
  background: #ffffff !important;
  border-color: #DED5CE !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-collection-field select option {
  background: #ffffff !important;
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-target-display {
  background: #F4EFFF !important;
  border-color: #D8C7F8 !important;
  color: #443e3c !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-target-display strong {
  color: #171312 !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-collection-header small {
  color: #6E625D !important;
}

/* Destination Confirmation & Batch Publish CTA at Bottom */
.brand-studio-route .studio-batch-destination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(126, 82, 216, 0.25);
}
.brand-studio-route .studio-batch-destination-confirm {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(123, 65, 231, 0.08);
  border: 1px solid rgba(123, 65, 231, 0.25);
  border-radius: 10px;
  color: var(--studio-text-secondary, #d8dae5);
  font-size: 13px;
}
.brand-studio-route .studio-batch-destination-confirm strong {
  color: #ffffff;
  font-weight: 750;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-destination-confirm {
  background: #F4EFFF !important;
  border-color: #D8C7F8 !important;
  color: #443e3c !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route .studio-batch-destination-confirm strong {
  color: #171312 !important;
}
@media(max-width: 768px) {
  .brand-studio-route .studio-batch-collection-field {
    grid-template-columns: 1fr;
  }
  .brand-studio-route .studio-batch-destination {
    grid-template-columns: 1fr;
  }
}

/* Flow-ending Publish CTA - visually prominent */
.brand-studio-route #studio-publish-products {
  min-width: 240px !important;
  padding: 14px 28px !important;
  background: #7B41E7 !important;
  border: 1px solid #7B41E7 !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all .18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.brand-studio-route #studio-publish-products:hover:not(:disabled) {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: none !important;
}
.brand-studio-route #studio-publish-products:active:not(:disabled) {
  transform: translateY(0) scale(0.99) !important;
}
.brand-studio-route #studio-publish-products:disabled {
  background: var(--studio-disabled-bg, #20222b) !important;
  border-color: var(--studio-disabled-border, #3d4050) !important;
  color: var(--studio-disabled-text, #828594) !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.65 !important;
  pointer-events: none !important;
}
:is([data-theme="day"], .awebo-day-theme) .brand-studio-route #studio-publish-products:disabled {
  background: #EEE6DE !important;
  border-color: #DED5CE !important;
  color: #968A84 !important;
}
.studio-product-editor .studio-product-actions{margin-top:12px}
@media(max-width:760px){.studio-batch-heading{display:grid}.studio-batch-heading button{justify-self:start}.studio-batch-product-head{grid-template-columns:58px minmax(0,1fr)}.studio-batch-product-visual{width:58px;height:64px}.studio-batch-product-head>.studio-batch-remove{grid-column:2;justify-self:start}.studio-batch-destination{grid-template-columns:1fr}.studio-batch-destination button{width:100%;min-width:0}}
.brand-studio-route .studio-manage-selector{display:grid;gap:7px;max-width:520px;margin:0 0 18px}
.brand-studio-route .studio-manage-selector select{margin:0}
.studio-collection-list>[data-manage-collection][hidden]{display:none!important}

/* Brand story social channels live with the story, not in the profile header. */
.brand-story-socials{grid-column:1/-1;display:flex;align-items:center;gap:16px;width:max-content;max-width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:18px;background:var(--surface-soft)}
.brand-story-socials>strong{font-size:10px;letter-spacing:.1em;color:var(--muted);white-space:nowrap}
.brand-story-socials>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.brand-story-social-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:42px;height:42px;padding:0 10px;border:1px solid var(--line-strong);border-radius:12px;background:#fff;color:var(--ink);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.brand-story-social-link span{display:none;font-size:10px;font-weight:800}
.brand-story-social-link:hover{transform:translateY(-1px);border-color:rgba(119,50,216,.35);box-shadow:0 7px 18px rgba(40,27,70,.08)}
.brand-story-social-link.social-instagram{color:#d62976}.brand-story-social-link.social-x{color:#111}.brand-story-social-link.social-tiktok{color:#111}.brand-story-social-link.social-telegram{color:#229ed9}.brand-story-social-link.social-discord{color:#5865f2}.brand-story-social-link.social-facebook{color:#1877f2}.brand-story-social-link.social-reddit{color:#ff4500}.brand-story-social-link.social-website{color:#5b4c78}
.brand-story-public-copy{min-width:0}
.studio-batch-product-head>div:nth-child(2)>span{display:inline-flex;align-items:center;gap:5px}
@media(max-width:760px){.brand-story-socials{width:100%;align-items:flex-start;flex-direction:column}.brand-story-socials>div{width:100%}}


/* ---------- Home full-bleed campaign ---------- */
body.home-route main{width:100%;max-width:none;padding-top:0}
body.home-route .home-campaign-hero{width:100%;margin:0 0 86px;border-radius:0}
body.home-route .home-market-section{width:min(var(--max),calc(100% - 40px));margin-left:auto;margin-right:auto}

@media(max-width:700px){body.home-route .home-market-section{width:calc(100% - 28px)}}

/* ---------- Home campaign hero responsive ---------- */
@media(max-width:1180px){
  .home-campaign-content{padding-left:48px;padding-right:48px}
  .home-campaign-slides{width:min(820px,78%);transform:translate3d(16px,-16px,0)}
  .home-campaign-controls{left:64px}
}
@media(max-width:900px){
  .home-campaign-hero,.home-campaign-content{min-height:590px}
  .home-campaign-content{padding:46px 38px 88px}
  .home-campaign-slides{width:min(760px,88%);min-height:410px;transform:translate3d(14px,-14px,0)}
  .home-campaign-slide h1{font-size:clamp(36px,5.2vw,48px)}
  .home-campaign-slide p{font-size:15px;max-width:600px}
  .home-campaign-controls{left:52px;bottom:58px}
  .home-campaign-shade{background:linear-gradient(90deg,rgba(12,9,7,.78) 0%,rgba(12,9,7,.6) 48%,rgba(12,9,7,.18) 100%)}
}
@media(max-width:700px){
  .home-campaign-hero{min-height:620px;margin-bottom:64px;border-radius:0}
  .home-campaign-content{min-height:620px;padding:38px 24px 86px;align-items:flex-start}
  .home-campaign-slides{width:100%;min-height:470px;transform:translate3d(7px,-10px,0)}
  .home-campaign-slide{justify-content:flex-start;padding-top:34px}
  .home-campaign-kicker{font-size:9px;padding:5px 10px;max-width:100%}
  .home-campaign-slide h1{margin:15px 0 14px;font-size:clamp(31px,9vw,41px);line-height:1.03}
  .home-campaign-slide p{max-width:100%;font-size:14px;line-height:1.5}
  .home-campaign-actions{gap:9px;margin-top:20px}
  .home-campaign-button{min-height:42px;padding:0 16px;font-size:12px}
  .home-campaign-controls{left:31px;bottom:46px}
  .home-campaign-image{object-position:58% center}
  .home-campaign-shade{background:linear-gradient(90deg,rgba(11,8,6,.8) 0%,rgba(11,8,6,.64) 58%,rgba(11,8,6,.34) 100%)}
}
@media(max-width:420px){
  .home-campaign-hero,.home-campaign-content{min-height:650px}
  .home-campaign-content{padding-left:20px;padding-right:20px}
  .home-campaign-slides{min-height:500px}
  .home-campaign-slide h1{font-size:30px;letter-spacing:-.04em}
  .home-campaign-actions{display:grid;grid-template-columns:1fr;width:100%}
  .home-campaign-button{width:100%}
  .home-campaign-controls{left:24px;bottom:42px}
  .home-campaign-dot{width:8px;height:8px}.home-campaign-dot.is-active{width:25px}
}
@media(prefers-reduced-motion:reduce){
  .home-campaign-slide,.home-campaign-dot,.home-campaign-button,.home-campaign-scene,.home-campaign-parallax{transition:none}.home-campaign-slide.is-active .home-campaign-kicker,.home-campaign-slide.is-active h1,.home-campaign-slide.is-active p,.home-campaign-slide.is-active .home-campaign-actions,.home-campaign-dot.is-active:after{animation:none}
}

/* ---------- Home campaign controls: compact + closer to slide copy ---------- */
.home-campaign-controls{
  bottom:100px;
  gap:8px;
}
.home-campaign-dots{gap:6px}
.home-campaign-dot{
  min-width:0;
  min-height:0;
  width:7px;
  height:7px;
  padding:0;
  flex:0 0 auto;
}
.home-campaign-dot.is-active{width:22px;height:7px}
.home-campaign-pause{
  min-width:0;
  min-height:0;
  width:27px;
  height:27px;
  padding:0;
  flex:0 0 27px;
  font-size:9px;
}
@media(max-width:1180px){
  .home-campaign-controls{bottom:98px}
}
@media(max-width:900px){
  .home-campaign-controls{bottom:94px}
}
@media(max-width:700px){
  .home-campaign-controls{bottom:58px;gap:7px}
  .home-campaign-dots{gap:5px}
  .home-campaign-dot{width:6px;height:6px}
  .home-campaign-dot.is-active{width:19px;height:6px}
  .home-campaign-pause{width:25px;height:25px;flex-basis:25px;font-size:8px}
}
@media(max-width:420px){
  .home-campaign-controls{bottom:54px}
  .home-campaign-dot{width:6px;height:6px}
  .home-campaign-dot.is-active{width:18px;height:6px}
}

.private-brand-card[hidden]{display:none!important}.brand-status-filters{margin-bottom:20px}.brand-status-filters [aria-pressed="true"]{background:var(--accent,#ff5c35);color:#fff;border-color:var(--accent,#ff5c35)}

.collection-countdown{display:flex;align-items:center;gap:24px;font-variant-numeric:tabular-nums;color:var(--ink,#141414)}
.countdown-detail{justify-content:space-between;padding:18px 0;margin-bottom:22px;border-bottom:1px solid var(--line)}
.countdown-end{display:grid;gap:6px}.countdown-end span{font-size:16px}.countdown-end time{font-size:14px}
.countdown-digits{display:flex;align-items:flex-start;gap:12px}.countdown-digits span{display:grid;gap:4px;text-align:center;min-width:44px}.countdown-digits b{font-size:30px;line-height:1.1}.countdown-digits small{font-size:12px;font-weight:400}.countdown-digits i{font-size:25px;line-height:1.1;font-style:normal}
.countdown-compact{justify-content:flex-end;padding:10px 12px 0;gap:0}.countdown-compact .countdown-digits{gap:5px}.countdown-compact .countdown-digits span{min-width:25px;gap:2px}.countdown-compact .countdown-digits b{font-size:15px}.countdown-compact .countdown-digits small{font-size:8px}.countdown-compact .countdown-digits i{font-size:13px}
.product-card[hidden],.collection-card-premium[hidden],.collection-card[hidden]{display:none}
@media(max-width:540px){.countdown-detail{flex-wrap:wrap;gap:16px}.countdown-detail .countdown-digits{margin-left:auto;gap:8px}.countdown-detail .countdown-digits b{font-size:26px}}

/* ==========================================================================
   AWEBO Social MVP — Creator Posts, Composer, Mentions & Comments
   ========================================================================== */
.profile-posts-tab-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 8px 0 48px;
  background: transparent;
  border: none;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  .profile-posts-tab-wrap {
    padding: 8px 0 40px;
    border-left: none;
    border-right: none;
    background: transparent;
  }
}

/* Post Composer */
.post-composer-card {
  position: relative;
  background: #141722;
  border: 1px solid #2d3244;
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-composer-card:focus-within {
  border-color: rgba(123, 65, 231, 0.5);
  box-shadow: 0 10px 36px rgba(123, 65, 231, 0.12), 0 2px 4px rgba(0, 0, 0, 0.25);
}

.composer-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.composer-avatar .person-avatar {
  width: 42px;
  height: 42px;
  font-size: 14px;
}

.composer-headline {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.composer-headline strong {
  font-size: 14.5px;
  font-weight: 700;
  color: #f6f7fa;
}

.composer-headline span {
  font-size: 13px;
  color: #a4a9be;
  font-weight: 500;
}

.composer-input-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.composer-textarea {
  width: 100%;
  min-height: 88px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
  color: #f5f6fa;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.composer-textarea:focus {
  border-color: rgba(123, 65, 231, 0.45);
  background: rgba(0, 0, 0, 0.32);
}

.composer-textarea::placeholder {
  color: #888d9f;
}

/* Composer Media Preview */
.composer-media-preview {
  margin-top: 4px;
  border-radius: 14px;
  overflow: hidden;
}

.composer-preview-card {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 340px;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--line, #282a38);
}

.composer-preview-card img,
.composer-preview-card video {
  display: block;
  max-width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.composer-remove-media-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.composer-remove-media-btn:hover {
  background: #ff5c35;
  transform: scale(1.1);
}

.composer-uploading-msg {
  padding: 12px 16px;
  background: var(--surface-soft, #1a1d27);
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted, #a4a8bc);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Composer Mentions Bar */
.composer-mentions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}

.composer-mention-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-soft, #1e212d);
  border: 1px solid var(--line-strong, #323648);
  border-radius: 20px;
  padding: 4px 10px 4px 6px;
  font-size: 12px;
  color: var(--ink, #ffffff);
}

.composer-mention-chip .chip-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.composer-mention-chip.brand-chip {
  border-color: rgba(255, 92, 53, 0.4);
}

.composer-mention-chip .chip-remove-btn {
  background: none;
  border: none;
  color: var(--muted, #8e92a4);
  font-size: 14px;
  cursor: pointer;
  padding: 0 0 0 4px;
  line-height: 1;
}

.composer-mention-chip .chip-remove-btn:hover {
  color: #ff5c35;
}

/* Composer Toolbar */
.composer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #252837;
  margin-top: 12px;
  padding-top: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.composer-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.composer-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  min-height: 38px;
  height: 38px;
  box-sizing: border-box;
  gap: 7px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #c4c8da;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  margin: 0;
}

.composer-tool-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.composer-tool-btn:focus-visible {
  outline: 2px solid #7B41E7;
  outline-offset: 2px;
}

.composer-tool-btn .ui-icon {
  color: #ff5c35;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.composer-tool-btn span {
  display: inline-block;
  line-height: 1;
}

.composer-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  min-height: 38px;
  height: 38px;
  box-sizing: border-box;
  padding: 0 22px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  border-radius: 10px;
  background: #7B41E7 !important;
  border: 1px solid #6530D4 !important;
  color: #ffffff !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(123, 65, 231, 0.35) !important;
  transition: all 0.15s ease;
  user-select: none;
}

.composer-submit-btn:hover:not(:disabled) {
  background: #6530D4 !important;
  border-color: #5525b8 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(123, 65, 231, 0.5) !important;
  transform: translateY(-1px);
}

.composer-submit-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(123, 65, 231, 0.3) !important;
}

/* Post button: disabled / loading state */
.composer-submit-btn:disabled,
.composer-submit-btn[aria-disabled="true"] {
  background: rgba(123, 65, 231, 0.32) !important;
  border: 1px solid rgba(123, 65, 231, 0.22) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  cursor: not-allowed !important;
  opacity: 0.75;
  box-shadow: none !important;
  transform: none !important;
}

.composer-btn-spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: composerSpin 0.6s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes composerSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .composer-toolbar {
    gap: 10px;
  }
  .composer-tools {
    width: 100%;
    gap: 8px;
  }
  .composer-tool-btn {
    flex: 1 1 auto;
    padding: 0 10px;
    font-size: 12px;
  }
  .composer-submit-btn {
    width: 100%;
  }
}


/* Tag Popover */
.composer-tag-popover {
  margin-top: 12px;
  background: var(--surface-soft, #191c27);
  border: 1px solid var(--line-strong, #32364a);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tag-popover-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tag-search-input {
  flex: 1;
  background: var(--surface, #111216);
  border: 1px solid var(--line, #282a3a);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink, #ffffff);
  outline: none;
}

.tag-search-input:focus {
  border-color: var(--accent, #ff5c35);
}

.tag-popover-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--muted, #8e92a4);
  cursor: pointer;
}

.tag-popover-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-height: 240px;
  overflow-y: auto;
}

@media (max-width: 600px) {
  .tag-popover-body {
    grid-template-columns: 1fr;
  }
}

.tag-popover-section h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, #8e92a4);
  margin: 0 0 8px;
}

.tag-popover-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tag-item-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.tag-item-option:hover {
  background: var(--surface, #111216);
}

.tag-opt-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tag-opt-avatar.fallback-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--line, #282a3a);
}

.tag-opt-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.tag-opt-details strong {
  font-size: 12.5px;
  color: var(--ink, #ffffff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag-opt-details small {
  font-size: 11px;
  color: var(--muted, #8e92a4);
}

/* Post Card Stream */
.profile-posts-stream {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-card {
  background: #12141a;
  border: 1px solid #232736;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.16);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  border-color: #2e3448;
}

.post-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.post-card-avatar .person-avatar {
  width: 44px;
  height: 44px;
  font-size: 15px;
}

.post-card-author-meta {
  flex: 1;
  min-width: 0;
}

.post-card-line-1 {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.post-card-author-name {
  font-size: 15px;
  font-weight: 700;
  color: #f7f7fa;
  text-decoration: none;
}

.post-card-author-name:hover {
  text-decoration: underline;
  color: #ffffff;
}

.post-card-handle {
  font-size: 13px;
  color: #a4a9be;
  font-weight: 500;
}

.post-card-separator {
  color: #5c6175;
  font-weight: 600;
}

.post-card-timestamp {
  font-size: 13px;
  color: #9297ac;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.post-card-timestamp:hover {
  color: #ffffff;
  text-decoration: underline;
}

.post-card-delete-btn {
  background: transparent;
  border: none;
  color: #7d8296;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-delete-btn:hover {
  color: #ff5c35;
  background: rgba(255, 92, 53, 0.1);
}

.post-card-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.post-card-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  background: rgba(124, 58, 237, 0.12);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
  transition: all 0.18s ease;
}

.post-card-follow-btn:hover {
  background: rgba(124, 58, 237, 0.24);
  border-color: #a78bfa;
  color: #ffffff;
}

.post-card-follow-btn[data-following="true"],
.post-card-follow-btn.is-following {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.55);
  color: #e9d5ff;
}

.post-card-follow-btn[data-following="true"]:hover,
.post-card-follow-btn.is-following:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.post-card-follow-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.post-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card-body-text {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f1f5;
  margin: 0;
  word-break: break-word;
}

.post-card-media {
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  border: 1px solid #282a38;
  max-height: 520px;
}

.post-card-media img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.post-card-media video {
  display: block;
  width: 100%;
  max-height: 520px;
  outline: none;
}

/* Post Mention Chips */
.post-card-mentions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.post-mention-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a1d28;
  border: 1px solid #2f3346;
  border-radius: 999px;
  padding: 4px 10px 4px 6px;
  font-size: 12px;
  font-weight: 600;
  color: #f4f5f8;
  text-decoration: none;
  transition: all 0.15s ease;
}

.post-mention-chip:hover {
  border-color: #ff5c35;
  background: #222636;
  color: #ffffff;
  transform: translateY(-1px);
}

.post-mention-chip.brand-chip {
  border-color: rgba(255, 92, 53, 0.35);
  background: rgba(255, 92, 53, 0.08);
  color: #ff8566;
}

.post-mention-chip.brand-chip:hover {
  background: rgba(255, 92, 53, 0.16);
  color: #ffa38a;
}

.post-mention-chip .chip-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.post-mention-chip .chip-avatar.fallback-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Post Footer & Actions */
.post-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #232736;
  flex-wrap: wrap;
}

.post-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #a4a9be;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 6px 11px;
  min-height: 34px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  user-select: none;
}

.post-action-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.post-action-btn:active {
  transform: scale(0.97);
}

.post-action-btn .ui-icon {
  color: #8e93a7;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, stroke 0.15s ease, fill 0.15s ease, transform 0.15s ease;
}

.post-action-btn:hover .ui-icon {
  color: #ffffff;
}

.post-action-btn .action-count {
  font-size: 12.5px;
  font-weight: 700;
  color: #c4c8da;
  transition: color 0.15s ease;
  font-variant-numeric: tabular-nums;
}

/* 1. Like Button (Heart) */
.post-like-btn:hover {
  color: #ff4b72;
  background: rgba(255, 75, 114, 0.08);
}

.post-like-btn:hover .ui-icon,
.post-like-btn:hover .likes-count {
  color: #ff4b72;
}

.post-like-btn.is-liked,
.post-like-btn.active {
  color: #ff4b72;
}

.post-like-btn.is-liked .ui-icon,
.post-like-btn.active .ui-icon {
  color: #ff4b72;
  fill: #ff4b72;
  stroke: #ff4b72;
}

.post-like-btn.is-liked .likes-count,
.post-like-btn.active .likes-count {
  color: #ff4b72;
  font-weight: 700;
}

/* 2. Comment Button */
.post-comments-toggle:hover {
  color: #7B41E7;
  background: rgba(123, 65, 231, 0.08);
}

.post-comments-toggle:hover .ui-icon,
.post-comments-toggle:hover .comments-count {
  color: #7B41E7;
}

/* 3. Repost Button (Repeat Arrows) */
.post-repost-btn:hover {
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.post-repost-btn:hover .ui-icon,
.post-repost-btn:hover .reposts-count {
  color: #10b981;
}

.post-repost-btn.is-reposted,
.post-repost-btn.active {
  color: #10b981;
}

.post-repost-btn.is-reposted .ui-icon,
.post-repost-btn.active .ui-icon {
  color: #10b981;
  stroke: #10b981;
}

.post-repost-btn.is-reposted .reposts-count,
.post-repost-btn.active .reposts-count {
  color: #10b981;
  font-weight: 700;
}

/* 4. Share Button */
.post-share-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.post-share-btn:hover .ui-icon {
  color: #ffffff;
}


/* Comments Section */
.post-comments-container {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #232736;
}

.post-comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.comments-loading,
.no-comments-msg {
  font-size: 13px;
  color: #a4a9be;
  padding: 10px 0;
}

.post-comment-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.comment-author-avatar .person-avatar {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.comment-content {
  flex: 1;
  background: #181b25;
  border: 1px solid #282b3a;
  border-radius: 12px;
  padding: 10px 14px;
}

.comment-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.comment-author-name {
  font-size: 13px;
  font-weight: 700;
  color: #f5f5f7;
  text-decoration: none;
}

.comment-author-name:hover {
  text-decoration: underline;
  color: #ffffff;
}

.comment-author-handle {
  font-size: 11.5px;
  color: #a4a9be;
  font-weight: 500;
}

.comment-time {
  font-size: 11px;
  color: #9297ac;
  margin-left: auto;
}

.comment-delete-btn {
  background: none;
  border: none;
  color: #7d8296;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s ease;
}

.comment-delete-btn:hover {
  color: #ff5c35;
}

.comment-text {
  font-size: 13.5px;
  line-height: 1.45;
  color: #e6e8f0;
  margin: 0;
  word-break: break-word;
}

.post-comment-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.post-comment-input {
  flex: 1;
  background: #161822;
  border: 1px solid #282b3a;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13.5px;
  color: #f5f6fa;
  outline: none;
  transition: border-color 0.15s ease;
}

.post-comment-input::placeholder {
  color: #8c91a5;
}

.post-comment-input:focus {
  border-color: rgba(123, 65, 231, 0.5);
}

.post-comment-submit {
  padding: 9px 18px;
}

.post-comment-login-hint {
  font-size: 13px;
  color: #a4a9be;
  margin: 0;
}

/* Empty State & Load More */
.posts-empty-state {
  padding: 48px 20px;
  text-align: center;
  border: 1px dashed #282b3b;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.01);
}

.posts-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 12px 0 24px;
}

.load-more-posts-btn {
  min-width: 160px;
}

/* Permalink Standalone Page */
.post-permalink-container {
  max-width: 680px;
  margin: 28px auto;
}

.permalink-card-wrap {
  margin-top: 18px;
}

/* Repost Quote & Buttons */
.post-card-repost-quote {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #282b3a;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.post-card-repost-quote:hover {
  border-color: rgba(123, 65, 231, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.repost-quote-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.repost-quote-header strong {
  font-size: 13px;
  font-weight: 700;
  color: #f7f7fa;
}

.repost-quote-header span {
  font-size: 12px;
  color: #a4a9be;
  font-weight: 500;
}

.repost-quote-header time {
  font-size: 12px;
  color: #9297ac;
  margin-left: auto;
}

.repost-quote-header .post-card-avatar .person-avatar {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.repost-quote-body {
  font-size: 13.5px;
  line-height: 1.45;
  color: #e6e8f2;
  margin: 0 0 10px 0;
  word-break: break-word;
}

.repost-quote-media {
  border-radius: 8px;
  overflow: hidden;
  max-height: 260px;
}

.repost-quote-media img,
.repost-quote-media video {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

.post-repost-btn.reposted {
  color: #10b981;
}

.post-repost-btn:hover {
  color: #10b981;
}

/* Day Mode Adaptations */
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .profile-posts-tab-wrap {
  background: transparent;
  border: none;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-composer-card,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card {
  background: var(--day-surface-primary, #ffffff);
  border-color: var(--day-border-soft, #ded5ce);
  box-shadow: 0 4px 20px rgba(68, 48, 45, 0.05);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-composer-card:focus-within {
  border-color: rgba(123, 65, 231, 0.45);
  box-shadow: 0 6px 24px rgba(123, 65, 231, 0.08);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-textarea {
  background: var(--day-canvas-soft, #fbf9f6);
  border-color: var(--day-border-soft, #ded5ce);
  color: var(--day-text-primary, #171312);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-textarea::placeholder {
  color: var(--day-text-muted, #968a84);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-textarea:focus {
  border-color: rgba(123, 65, 231, 0.45);
  background: #ffffff;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-body-text,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-author-name,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .comment-author-name,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .comment-text,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-headline strong,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .tag-opt-details strong {
  color: var(--day-text-primary, #171312);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-handle,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-headline span,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-tool-btn,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-action-btn,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .comments-count,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .comment-author-handle,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .tag-opt-details small {
  color: var(--day-text-secondary, #6E625D);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-timestamp,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .comment-time,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-delete-btn,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .comment-delete-btn {
  color: var(--day-text-muted, #968A84);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-separator {
  color: var(--day-border-strong, #C9BDB5);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-timestamp:hover,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-author-name:hover {
  color: var(--day-text-primary, #171312);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-follow-btn {
  background: #f5f0ff;
  color: #6d28d9;
  border-color: #c4b5fd;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-follow-btn:hover {
  background: #ede2ff;
  border-color: #8b5cf6;
  color: #5b21b6;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-follow-btn[data-following="true"],
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-follow-btn.is-following {
  background: #ede2ff;
  color: #7134d6;
  border-color: #c9a9fc;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-follow-btn[data-following="true"]:hover,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-follow-btn.is-following:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-action-btn:hover,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-tool-btn:hover,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .tag-item-option:hover {
  background: var(--day-surface-warm, #eee6de);
  color: var(--day-text-primary, #171312);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-tool-btn {
  background: var(--day-canvas-soft, #fbf9f6);
  border-color: var(--day-border-soft, #ded5ce);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-submit-btn:disabled,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-submit-btn[aria-disabled="true"] {
  background: rgba(123, 65, 231, 0.22) !important;
  border-color: rgba(123, 65, 231, 0.18) !important;
  color: rgba(123, 65, 231, 0.65) !important;
  opacity: 0.75;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-submit-btn.is-valid,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-submit-btn:not(:disabled) {
  background: #7B41E7 !important;
  border-color: #6530D4 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(123, 65, 231, 0.25) !important;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-like-btn:hover,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-like-btn.is-liked,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-like-btn.active {
  color: #e11d48;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-like-btn.is-liked .ui-icon,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-like-btn.active .ui-icon {
  color: #e11d48;
  fill: #e11d48;
  stroke: #e11d48;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-like-btn.is-liked .likes-count,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-like-btn.active .likes-count {
  color: #e11d48;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-repost-btn:hover,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-repost-btn.is-reposted,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-repost-btn.active {
  color: #059669;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-repost-btn.is-reposted .ui-icon,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-repost-btn.active .ui-icon {
  color: #059669;
  stroke: #059669;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-repost-btn.is-reposted .reposts-count,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-repost-btn.active .reposts-count {
  color: #059669;
}


:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-mention-chip,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .comment-content,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-tag-popover,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-comment-input,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .tag-search-input {
  background: var(--day-surface-primary, #ffffff);
  border-color: var(--day-border-soft, #ded5ce);
  color: var(--day-text-primary, #171312);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-mention-chip {
  background: var(--day-surface-warm, #eee6de);
  border-color: var(--day-border-soft, #ded5ce);
  color: var(--day-text-primary, #171312);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-mention-chip.brand-chip {
  background: rgba(255, 92, 53, 0.08);
  border-color: rgba(255, 92, 53, 0.3);
  color: #c93b16;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-footer,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-comments-container,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .composer-toolbar {
  border-color: var(--day-border-soft, #ded5ce);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-card-repost-quote {
  background: var(--day-canvas-soft, #fbf9f6);
  border-color: var(--day-border-soft, #ded5ce);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .repost-quote-header strong,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .repost-quote-body {
  color: var(--day-text-primary, #171312);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .repost-quote-header span,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .repost-quote-header time {
  color: var(--day-text-secondary, #6e625d);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .posts-empty-state {
  border-color: var(--day-border-strong, #c9bdb5);
  background: var(--day-canvas-soft, #fbf9f6);
}

/* Day Mode Profile Metadata Parity */
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .public-person-location,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .public-person-location span {
  color: var(--day-text-secondary, #6E625D) !important;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .public-person-social .social-counts span {
  color: var(--day-text-secondary, #6E625D) !important;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .public-person-social .social-counts strong {
  color: var(--day-text-primary, #171312) !important;
}

/* Share Menu & Inline Repost (Batch 4) */
.post-share-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.post-share-menu {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  min-width: 175px;
  background: #161822;
  border: 1px solid #282b3a;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-share-menu[hidden] {
  display: none !important;
}

.share-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: #d6d9e6;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.share-menu-item svg {
  flex-shrink: 0;
  color: #9297ac;
  transition: color 0.15s ease;
}

.share-menu-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.share-menu-item:hover svg {
  color: #ffffff;
}

.post-repost-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #9297ac;
  margin-bottom: 12px;
}

.post-repost-banner svg {
  color: #7b41e7;
  flex-shrink: 0;
}

.post-inline-repost {
  padding: 12px 14px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #282b3a;
  border-radius: 10px;
}

.inline-repost-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inline-repost-input {
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  background: #121319;
  border: 1px solid #282b3a;
  border-radius: 8px;
  color: #f7f7fa;
  outline: none;
  transition: border-color 0.15s ease;
}

.inline-repost-input:focus {
  border-color: #7b41e7;
}

.inline-repost-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Day Mode rules for Share & Repost */
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-share-menu {
  background: var(--day-surface-primary, #ffffff);
  border-color: var(--day-border-soft, #ded5ce);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .share-menu-item {
  color: var(--day-text-primary, #171312);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .share-menu-item svg {
  color: var(--day-text-secondary, #6e625d);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .share-menu-item:hover {
  background: var(--day-surface-warm, #eee6de);
  color: var(--day-text-primary, #171312);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-repost-banner {
  color: var(--day-text-secondary, #6e625d);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .post-inline-repost {
  background: var(--day-canvas-soft, #fbf9f6);
  border-color: var(--day-border-soft, #ded5ce);
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .inline-repost-input {
  background: var(--day-surface-primary, #ffffff);
  border-color: var(--day-border-soft, #ded5ce);
  color: var(--day-text-primary, #171312);
}

/* Day Mode rules for Batch 3: Profile, Settings, Overview, Addresses */
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .overview-brand-item {
  background: var(--day-surface-primary, #ffffff) !important;
  border-color: var(--day-border-soft, #ded5ce) !important;
  color: var(--day-text-primary, #171312) !important;
  box-shadow: 0 1px 3px rgba(68, 48, 45, 0.04) !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .overview-brand-item:hover {
  background: var(--day-canvas-soft, #fbf9f6) !important;
  border-color: var(--day-border-strong, #c9bdb5) !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .overview-brand-avatar {
  background: var(--day-canvas-soft, #fbf9f6) !important;
  border-color: var(--day-border-soft, #ded5ce) !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .overview-brand-name {
  color: var(--day-text-primary, #171312) !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .overview-brand-name-link:hover .overview-brand-name {
  color: #6530D4 !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .subtle-action-link {
  background: rgba(123, 65, 231, 0.08) !important;
  border-color: rgba(123, 65, 231, 0.25) !important;
  color: #6530D4 !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .avatar-upload-trigger .person-avatar.large {
  background: var(--day-surface-primary, #ffffff) !important;
  border-color: var(--day-border-soft, #ded5ce) !important;
  color: var(--day-text-primary, #171312) !important;
  box-shadow: 0 2px 10px rgba(68, 48, 45, 0.08) !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .profile-avatar-details strong {
  color: var(--day-text-primary, #171312) !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .profile-avatar-details .help {
  color: var(--day-text-secondary, #6e625d) !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) #shipping-profile .fields label {
  color: var(--day-text-primary, #171312) !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) #shipping-profile .fields input {
  background: var(--day-surface-primary, #ffffff) !important;
  border-color: var(--day-border-soft, #ded5ce) !important;
  color: var(--day-text-primary, #171312) !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .address-actions-row .address-gifts-btn,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .address-actions-row .address-delete-btn {
  background: var(--day-surface-primary, #ffffff) !important;
  border-color: var(--day-border-soft, #ded5ce) !important;
  color: var(--day-text-secondary, #6e625d) !important;
}
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .address-actions-row .address-gifts-btn:hover,
:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .address-actions-row .address-delete-btn:hover {
  background: var(--day-canvas-soft, #fbf9f6) !important;
  border-color: var(--day-border-strong, #c9bdb5) !important;
  color: var(--day-text-primary, #171312) !important;
}

/* ---------- Catalog Product Details Modal ---------- */
dialog.studio-catalog-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 820px;
  width: min(94vw, 820px);
  max-height: 92vh;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
dialog.studio-catalog-modal .studio-catalog-modal-shell {
  max-height: 92vh;
  overflow-y: auto;
}
dialog.studio-catalog-modal .studio-published-detail-container {
  padding: 16px 20px 24px;
}
dialog.studio-catalog-modal::backdrop {
  background: rgba(10, 11, 15, 0.72);
  backdrop-filter: blur(6px);
}
.studio-catalog-modal-shell {
  background: #ffffff;
  color: #111216;
  border: 1px solid var(--studio-border-light, #e4e2db);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
:is([data-theme="night"], html:not([data-theme="day"])) .studio-catalog-modal-shell {
  background: #15161c;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}
.studio-catalog-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
:is([data-theme="night"], html:not([data-theme="day"])) .studio-catalog-modal-head {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.studio-catalog-modal-head h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 4px 0 0;
  color: inherit;
}
.studio-modal-close {
  background: transparent;
  border: none;
  font-size: 18px;
  color: inherit;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  opacity: .7;
}
.studio-modal-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}
:is([data-theme="night"], html:not([data-theme="day"])) .studio-modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
}
.studio-catalog-modal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 24px;
  max-height: 65vh;
  overflow-y: auto;
}
@media (max-width: 640px) {
  .studio-catalog-modal-body {
    grid-template-columns: 1fr;
  }
}
.studio-catalog-modal-visual {
  background: #f4f3ef;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  min-height: 240px;
}
:is([data-theme="night"], html:not([data-theme="day"])) .studio-catalog-modal-visual {
  background: #1c1d24;
}
.studio-catalog-modal-visual .studio-catalog-art img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}
.studio-modal-price-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}
.studio-catalog-modal-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.studio-modal-section h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 800;
  color: var(--muted, #8c90a0);
  margin: 0 0 6px;
}
.studio-modal-section p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: inherit;
}
.studio-modal-zones,
.studio-modal-colors,
.studio-modal-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.studio-zone-pill,
.studio-size-pill,
.studio-color-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 650;
  background: #f0eee8;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #111216;
}
:is([data-theme="night"], html:not([data-theme="day"])) .studio-zone-pill,
:is([data-theme="night"], html:not([data-theme="day"])) .studio-size-pill,
:is([data-theme="night"], html:not([data-theme="day"])) .studio-color-pill {
  background: #232530;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e4ee;
}
.studio-modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
}
.studio-modal-specs dt {
  font-size: 11px;
  color: var(--muted, #8c90a0);
}
.studio-modal-specs dd {
  font-size: 12px;
  font-weight: 700;
  margin: 2px 0 0;
}
.studio-catalog-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafaf8;
  border-radius: 0 0 20px 20px;
}
:is([data-theme="night"], html:not([data-theme="day"])) .studio-catalog-modal-foot {
  background: #181920;
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   AWEBO WALKING MASCOT PRELOADER & SEAMLESS ROUTE LOADER
   ========================================================================== */
.awebo-page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070708;
  transition: opacity 0.35s ease-out, visibility 0.35s ease-out;
  pointer-events: auto;
}
:is([data-theme="day"], .awebo-day-theme) .awebo-page-loader {
  background: #F6F1EB;
}
.awebo-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  user-select: none;
}
.awebo-loader-video {
  width: min(220px, 55vw);
  max-width: 260px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.4));
}
.awebo-loader-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  animation: awebo-loader-pulse 1.8s ease-in-out infinite;
}
:is([data-theme="day"], .awebo-day-theme) .awebo-loader-label {
  color: rgba(23, 19, 18, 0.45);
}
@keyframes awebo-loader-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.98); }
  50% { opacity: 0.85; transform: scale(1.02); }
}
.awebo-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Seamless route navigation loading indicator */
#awebo-route-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent, #ff5c35), #7B41E7);
  z-index: 9999;
  transition: width 0.25s ease-out, opacity 0.25s ease-out;
  opacity: 0;
  pointer-events: none;
}
#awebo-route-bar.is-active {
  opacity: 1;
  width: 70%;
}
#awebo-route-bar.is-done {
  width: 100%;
  opacity: 0;
  transition: width 0.15s ease-out, opacity 0.25s ease-out 0.15s;
}

/* Localized loading state for profile panel updates */
.account-workspace-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  min-height: 280px;
  opacity: 0.85;
}
.account-panel-spinner {
  width: 26px;
  height: 26px;
  border: 2.5px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent, #ff5c35);
  border-radius: 50%;
  animation: awebo-spin 0.75s linear infinite;
}
:is([data-theme="day"], .awebo-day-theme) .account-panel-spinner {
  border-color: rgba(23, 19, 18, 0.12);
  border-top-color: var(--accent, #ff5c35);
}
@keyframes awebo-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   PRODUCT VARIANTS UX & MARKETPLACE PREVIEW
   ========================================================================== */

/* 1. Shop Swatches Overlay on Product Card Media (Minimal Centered Swatches, No Floating Pill) */
.product-card-swatches {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  max-width: calc(100% - 16px);
  overflow: visible;
  pointer-events: auto;
  transition: opacity .16s ease;
}
.product-card-swatches::-webkit-scrollbar {
  display: none;
}
:is([data-theme="day"], .awebo-day-theme) .product-card-swatches {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.product-card-swatch {
  position: relative;
  width: 10px !important;
  height: 10px !important;
  min-height: 10px !important;
  max-height: 10px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 140ms ease;
  outline: none;
  flex-shrink: 0;
  line-height: 1 !important;
  box-sizing: border-box !important;
}
.product-card-swatch:hover {
  transform: scale(1.12);
}
.product-card-swatch:focus-visible {
  outline: none;
}
.product-card-swatch:focus-visible .product-swatch-dot {
  box-shadow: 0 0 0 1.5px #7B41E7, 0 1px 3px rgba(0, 0, 0, 0.4);
}
.product-swatch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: box-shadow .14s ease, border-color .14s ease;
}
:is([data-theme="day"], .awebo-day-theme) .product-swatch-dot {
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
/* Thin circular accent ring around that exact circle without scaling */
.product-card-swatch.is-selected .product-swatch-dot,
.product-card-swatch[aria-checked="true"] .product-swatch-dot {
  box-shadow: 0 0 0 1.5px #7B41E7, 0 1px 3px rgba(0, 0, 0, 0.4) !important;
  border-color: #ffffff !important;
}
:is([data-theme="day"], .awebo-day-theme) .product-card-swatch.is-selected .product-swatch-dot,
:is([data-theme="day"], .awebo-day-theme) .product-card-swatch[aria-checked="true"] .product-swatch-dot {
  box-shadow: 0 0 0 1.5px #6530D4, 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  border-color: #ffffff !important;
}

/* Hover/focus tooltip without moving the row */
.product-swatch-tooltip {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 15, 20, 0.94);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .14s ease, transform .14s ease;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.product-swatch-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 3px;
  border-style: solid;
  border-color: rgba(14, 15, 20, 0.94) transparent transparent transparent;
}
.product-card-swatch:hover .product-swatch-tooltip,
.product-card-swatch:focus-visible .product-swatch-tooltip {
  opacity: 1;
  visibility: visible;
}
:is([data-theme="day"], .awebo-day-theme) .product-swatch-tooltip {
  background: #ffffff;
  color: #171312;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}
:is([data-theme="day"], .awebo-day-theme) .product-swatch-tooltip::after {
  border-color: #ffffff transparent transparent transparent;
}

/* Compact +N indicator for >5 colors */
.product-swatch-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 10px;
  min-width: 10px;
  padding: 0 3px;
  border-radius: 999px;
  background: rgba(18, 19, 25, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #c7cbd8;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
  cursor: default;
}
:is([data-theme="day"], .awebo-day-theme) .product-swatch-more {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.15);
  color: #55524e;
}

/* 2. Studio Catalog Card — Quantity Badge & Selected State */
.studio-catalog-card {
  position: relative;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.studio-catalog-qty-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: #7B41E7;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(123, 65, 231, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
  animation: fadeIn .15s ease-out;
}
:is([data-theme="day"], .awebo-day-theme) .studio-catalog-qty-badge {
  background: #6530D4;
}
.studio-catalog-card.has-selected,
.studio-catalog-card.is-selected {
  border-color: #7B41E7 !important;
  box-shadow: 0 0 0 1px #7B41E7, 0 6px 20px rgba(123, 65, 231, 0.18) !important;
}
.studio-catalog-actions .studio-catalog-add.is-selected {
  background: #7B41E7 !important;
  border: 1px solid #7B41E7 !important;
  color: #FFFFFF !important;
  font-weight: 750 !important;
}
.studio-catalog-actions .studio-catalog-add.is-selected:hover:not(:disabled) {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
  color: #FFFFFF !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-catalog-actions .studio-catalog-add.is-selected {
  background: #7B41E7 !important;
  color: #FFFFFF !important;
  border: 1px solid #7B41E7 !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-catalog-actions .studio-catalog-add.is-selected:hover:not(:disabled) {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
  color: #FFFFFF !important;
}

/* 3. Rich Dedicated Product Information View */
#studio-catalog-detail-view {
  width: 100%;
  animation: fadeIn .18s ease-out;
}
.studio-detail-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 6px 0 32px;
}
.studio-detail-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #9da2b4;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-nav {
  color: #766e65;
}
.studio-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #1c1e26;
  border: 1px solid #333644;
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: all .15s ease;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-back-btn {
  background: #FAF9F6;
  border-color: #ded5ce;
  color: #171312;
}
.studio-detail-back-btn:hover {
  background: #7B41E7;
  color: #ffffff;
  border-color: #7B41E7;
  transform: translateX(-2px);
}
.studio-detail-sep {
  opacity: 0.45;
}
.studio-detail-cat {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: #a27aff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-cat {
  color: #6530D4;
}
.studio-detail-crumb-title {
  color: #ffffff;
  font-weight: 750;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-crumb-title {
  color: #171312;
}

/* Split layout: Desktop first */
.studio-detail-split {
  display: grid;
  grid-template-columns: minmax(360px, 480px) minmax(420px, 1fr);
  gap: 36px;
  align-items: start;
}
@media (min-width: 1440px) {
  .studio-detail-split {
    grid-template-columns: 500px 1fr;
    gap: 44px;
  }
}
@media (min-width: 1920px) {
  .studio-detail-split {
    grid-template-columns: 580px 1fr;
    gap: 52px;
    max-width: 1600px;
  }
}
@media (max-width: 860px) {
  .studio-detail-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.studio-detail-visual-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 24px;
}
.studio-detail-hero-media {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  background: #181920;
  border: 1px solid #2d3040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-hero-media {
  background: #ffffff;
  border-color: #ded5ce;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.studio-detail-hero-media img,
.studio-detail-hero-media svg,
.studio-detail-hero-media canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.studio-detail-zones-panel {
  padding: 14px 16px;
  border-radius: 12px;
  background: #181920;
  border: 1px solid #2d3040;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-zones-panel {
  background: #FAF9F6;
  border-color: #ded5ce;
}
.studio-detail-zones-panel h5 {
  margin: 0 0 10px 0;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a0a4b6;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-zones-panel h5 {
  color: #6a6660;
}
.studio-detail-zones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.studio-zone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(123, 65, 231, 0.12);
  border: 1px solid rgba(123, 65, 231, 0.32);
  color: #c4a7ff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-zone-badge {
  background: #f0ebfa;
  border-color: #d4c4f5;
  color: #5a2eb8;
}
.studio-detail-zones-panel .help {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #888d9e;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-zones-panel .help {
  color: #766e65;
}

.studio-detail-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.studio-detail-header-block .eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #a27aff;
  margin-bottom: 2px;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-header-block .eyebrow {
  color: #6530D4;
}
.studio-detail-header-block h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 850;
  color: #ffffff;
  line-height: 1.25;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-header-block h2 {
  color: #171312;
}

.studio-detail-cost-card {
  padding: 16px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(123, 65, 231, 0.15) 0%, rgba(123, 65, 231, 0.04) 100%);
  border: 1px solid rgba(123, 65, 231, 0.35);
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-cost-card {
  background: linear-gradient(135deg, #f5f0fd 0%, #FAF9F6 100%);
  border: 1px solid #d4c4f5;
}
.studio-detail-cost-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.studio-detail-cost-label {
  display: block;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a27aff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-cost-label {
  color: #6530D4;
}
.studio-detail-cost-value {
  display: block;
  font-size: 24px;
  font-weight: 850;
  color: #ffffff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-cost-value {
  color: #171312;
}
.studio-detail-cost-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(123, 65, 231, 0.2);
  color: #c4a7ff;
  border: 1px solid rgba(123, 65, 231, 0.32);
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-cost-tag {
  background: #ede6fa;
  color: #5a2eb8;
  border-color: #d4c4f5;
}
.studio-detail-cost-explainer {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #b0b4c6;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-cost-explainer {
  color: #6a6660;
}

.studio-detail-section {
  padding-top: 14px;
  border-top: 1px solid #2a2d3a;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-section {
  border-top: 1px solid #ded5ce;
}
.studio-detail-section h4 {
  margin: 0 0 10px 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a0a4b6;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-section h4 {
  color: #6a6660;
}
.studio-detail-desc,
.studio-detail-features-text,
.studio-detail-care-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #e2e4ee;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-desc,
:is([data-theme="day"], .awebo-day-theme) .studio-detail-features-text,
:is([data-theme="day"], .awebo-day-theme) .studio-detail-care-text {
  color: #2b2523;
}
.studio-detail-colors-list,
.studio-detail-sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.studio-color-chip-static {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 7px;
  background: #1c1e26;
  border: 1px solid #333644;
  font-size: 12px;
  font-weight: 650;
  color: #ffffff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-color-chip-static {
  background: #FAF9F6;
  border-color: #ded5ce;
  color: #171312;
}
.studio-size-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: #1c1e26;
  border: 1px solid #333644;
  font-size: 12px;
  font-weight: 750;
  color: #ffffff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-size-pill {
  background: #FAF9F6;
  border-color: #ded5ce;
  color: #171312;
}
.studio-detail-specs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 18px;
  margin: 0;
}
.studio-detail-specs-list > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.studio-detail-specs-list dt {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #a0a4b6;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-specs-list dt {
  color: #6a6660;
}
.studio-detail-specs-list dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 650;
  color: #ffffff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-specs-list dd {
  color: #171312;
}

.studio-detail-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  margin-top: 10px;
  border-top: 2px solid #2a2d3a;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-action-bar {
  border-top: 2px solid #ded5ce;
}
.studio-detail-cta-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.studio-detail-qty-indicator {
  font-size: 12px;
  font-weight: 750;
  color: #a27aff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-qty-indicator {
  color: #6530D4;
}
.studio-detail-add-btn {
  padding: 10px 22px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  background: #7B41E7 !important;
  border: 1px solid #6530D4 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(123, 65, 231, 0.4) !important;
  cursor: pointer !important;
  transition: all .16s ease !important;
}
.studio-detail-add-btn:hover {
  background: #6530D4 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(123, 65, 231, 0.55) !important;
}

/* ============================================================
   CANVAS PRODUCT DETAILS & PRODUCTS TO ADD REFINEMENT
   ============================================================ */

/* 1. Isolation & Space Cleanup: Hide empty studio setup box in Add Products card */
.brand-studio-route .studio-product-setup {
  display: none !important;
}

/* 2. Shop minimal swatches: eliminate hover tooltip bubble over color dots */
.product-swatch-tooltip {
  display: none !important;
}

/* 3. Products to Add: Collapsible Canonical Category Grouping */
.studio-batch-category-group {
  margin-bottom: 20px;
  border: 1px solid #2d3040;
  border-radius: 12px;
  background: rgba(22, 24, 32, 0.45);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: border-color .15s ease;
}
:is([data-theme="day"], .awebo-day-theme) .studio-batch-category-group {
  border-color: #ded5ce;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.studio-batch-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  background: #23163D !important;
  border: none;
  border-bottom: 1px solid #3B2667;
  border-left: 4px solid #9D6BFF !important;
  cursor: pointer;
  text-align: left;
  transition: all .15s ease;
}
:is([data-theme="day"], .awebo-day-theme) .studio-batch-category-header {
  background: #2B1B4D !important;
  border-bottom-color: #3E286E;
  border-left-color: #A87BFF !important;
}
.studio-batch-category-header:hover,
.studio-batch-category-header:focus-visible {
  background: #2D1D4E !important;
  outline: none;
}
:is([data-theme="day"], .awebo-day-theme) .studio-batch-category-header:hover,
:is([data-theme="day"], .awebo-day-theme) .studio-batch-category-header:focus-visible {
  background: #362260 !important;
}
.studio-category-header-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.studio-batch-category-title {
  margin: 0;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-batch-category-title {
  color: #FFFFFF !important;
}
.studio-batch-category-count {
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF !important;
  background: #7B41E7 !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 3px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
:is([data-theme="day"], .awebo-day-theme) .studio-batch-category-count {
  color: #FFFFFF !important;
  background: #7B41E7 !important;
  border-color: rgba(255, 255, 255, 0.28);
}
.studio-category-collapse-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E2D4FF !important;
  transition: transform .2s ease, color .15s ease;
}
:is([data-theme="day"], .awebo-day-theme) .studio-category-collapse-icon {
  color: #E2D4FF !important;
}
.studio-batch-category-header:hover .studio-category-collapse-icon {
  color: #FFFFFF !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-batch-category-header:hover .studio-category-collapse-icon {
  color: #FFFFFF !important;
}
.studio-batch-category-group.is-collapsed .studio-batch-category-header {
  border-bottom: none;
}
.studio-batch-category-group.is-collapsed .studio-category-collapse-icon svg {
  transform: rotate(-90deg);
}
.studio-batch-category-group.is-collapsed .studio-batch-category-items {
  display: none !important;
}
.studio-batch-category-items {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 4. Products to Add Card: Compact Premium Header */
.studio-batch-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
:is([data-theme="day"], .awebo-day-theme) .studio-batch-card-bar {
  background: #FAF9F6;
  border-bottom-color: #ded5ce;
}
.studio-batch-card-identity-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.studio-batch-card-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #15161c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 3px;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
:is([data-theme="day"], .awebo-day-theme) .studio-batch-card-thumb {
  background: #FFFFFF;
  border-color: #ded5ce;
}
.studio-batch-card-thumb:hover,
.studio-batch-card-thumb:focus-visible {
  border-color: #7B41E7;
  transform: scale(1.04);
  box-shadow: 0 0 0 2px rgba(123, 65, 231, 0.3);
  outline: none;
}
.studio-batch-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.studio-batch-card-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.studio-batch-prod-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:is([data-theme="day"], .awebo-day-theme) .studio-batch-prod-title {
  color: #171312;
}
.studio-cost-chip-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #8d92a4;
  margin-top: 1px;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cost-chip-inline {
  color: #766e65;
}
.studio-cost-chip-inline .studio-cost-label {
  font-weight: 600;
}
.studio-cost-chip-inline .studio-cost-val {
  font-weight: 800;
  color: #10b981;
}
:is([data-theme="day"], .awebo-day-theme) .studio-cost-chip-inline .studio-cost-val {
  color: #059669;
}
.studio-batch-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.studio-batch-customize-btn {
  padding: 8px 18px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  background: #7B41E7 !important;
  border: 1px solid #6530D4 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(123, 65, 231, 0.35) !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
}
:is([data-theme="day"], .awebo-day-theme) .studio-batch-customize-btn {
  background: #6530D4 !important;
  border-color: #5323b8 !important;
}
.studio-batch-customize-btn:hover {
  background: #6530D4 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(123, 65, 231, 0.5) !important;
}

/* 5. Sizes & Colors Section UX Cleanup */
.variant-builder-legend {
  font-size: 14px;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0;
}
:is([data-theme="day"], .awebo-day-theme) .variant-builder-legend {
  color: #171312;
}
.variant-color-microcopy {
  margin-top: 5px;
  font-size: 11px;
  color: #8d92a4;
  font-weight: 600;
}
:is([data-theme="day"], .awebo-day-theme) .variant-color-microcopy {
  color: #766e65;
}
.variant-availability-section {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.variant-availability-label {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8d92a4;
}
:is([data-theme="day"], .awebo-day-theme) .variant-availability-label {
  color: #6a6660;
}
.variant-availability-segmented {
  display: inline-flex;
  width: fit-content;
  background: #15161d;
  border: 1px solid #2d3040;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}
:is([data-theme="day"], .awebo-day-theme) .variant-availability-segmented {
  background: #EEE6DE;
  border-color: #ded5ce;
}
.availability-segment-btn {
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #8d92a4;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: all .14s ease;
}
:is([data-theme="day"], .awebo-day-theme) .availability-segment-btn {
  color: #6E625D;
}
.availability-segment-btn:hover {
  color: #ffffff;
}
:is([data-theme="day"], .awebo-day-theme) .availability-segment-btn:hover {
  color: #171312;
}
.availability-segment-btn.is-active {
  background: #7B41E7;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
:is([data-theme="day"], .awebo-day-theme) .availability-segment-btn.is-active {
  background: #FFFFFF;
  color: #171312;
  box-shadow: 0 1px 3px rgba(68, 48, 45, 0.12);
}

/* 6. Cohesive Visual Collection Selector Card */
.studio-collection-card-unified {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.studio-collection-card-label {
  margin: 0 !important;
  display: block;
}
.studio-collection-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c4a7ff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-collection-card-eyebrow {
  color: #6530D4;
}
.studio-collection-card-eyebrow .required-asterisk {
  color: #ef4444;
}
.studio-batch-destination-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.studio-destination-thumb {
  width: 26px !important;
  height: 26px !important;
  border-radius: 6px !important;
  flex-shrink: 0;
}
.studio-collection-picker {
  position: relative;
  max-width: 440px;
  margin-top: 2px;
}
.studio-collection-picker-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 6px 14px;
  border-radius: 10px;
  background: #1c1e26;
  border: 1px solid #333644;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: all .15s ease;
}
:is([data-theme="day"], .awebo-day-theme) .studio-collection-picker-trigger {
  background: #FFFFFF;
  border-color: #ded5ce;
  color: #171312;
}
.studio-collection-picker-trigger:hover,
.studio-collection-picker-trigger:focus-visible {
  border-color: #7B41E7;
  outline: none;
  box-shadow: 0 0 0 2px rgba(123, 65, 231, 0.2);
}
.studio-collection-picker-thumb-wrap {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #15161c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
:is([data-theme="day"], .awebo-day-theme) .studio-collection-picker-thumb-wrap {
  background: #FAF9F6;
  border-color: #ded5ce;
}
.studio-collection-picker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.studio-collection-picker-placeholder {
  color: #888d9e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.studio-collection-picker-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:is([data-theme="day"], .awebo-day-theme) .studio-collection-picker-name {
  color: #171312;
}
.studio-collection-picker-caret {
  font-size: 12px;
  color: #888d9e;
}
.studio-collection-picker-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 300px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 60;
  background: #1c1e26;
  border: 1px solid #3d4154;
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
:is([data-theme="day"], .awebo-day-theme) .studio-collection-picker-menu {
  background: #FFFFFF;
  border-color: #ded5ce;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.studio-collection-picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 7px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background .12s ease;
}
.studio-collection-picker-option:hover,
.studio-collection-picker-option:focus-visible {
  background: rgba(123, 65, 231, 0.16);
  outline: none;
}
:is([data-theme="day"], .awebo-day-theme) .studio-collection-picker-option:hover,
:is([data-theme="day"], .awebo-day-theme) .studio-collection-picker-option:focus-visible {
  background: #F0EBFA;
}
.studio-collection-picker-option.is-selected {
  background: rgba(123, 65, 231, 0.24);
}
:is([data-theme="day"], .awebo-day-theme) .studio-collection-picker-option.is-selected {
  background: #E8DFF7;
}
.studio-collection-picker-option-name {
  font-size: 13px;
  font-weight: 650;
  color: #ffffff;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:is([data-theme="day"], .awebo-day-theme) .studio-collection-picker-option-name {
  color: #171312;
}
.studio-collection-picker-check {
  color: #a27aff;
  font-weight: 850;
  font-size: 13px;
  margin-left: auto;
}
:is([data-theme="day"], .awebo-day-theme) .studio-collection-picker-check {
  color: #6530D4;
}

/* 7. Concise Detail View Modal Shell, Print Zones with Mini-Thumbnails & Tabs */
.studio-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.studio-detail-nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.studio-detail-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #333644;
  background: #1c1e26;
  color: #9da2b4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all .14s ease;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-close-btn {
  background: #FAF9F6;
  border-color: #ded5ce;
  color: #6a6660;
}
.studio-detail-close-btn:hover {
  background: #7B41E7;
  color: #ffffff;
  border-color: #7B41E7;
}
.studio-detail-hero-media {
  position: relative;
  max-width: 440px;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  background: #181920;
  border: 1px solid #2d3040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-hero-media {
  background: #ffffff;
  border-color: #ded5ce;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.studio-detail-stage-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}
.studio-detail-stage-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(14, 15, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  color: #e2e4ee;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-stage-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.12);
  color: #171312;
}
.studio-detail-stage-cost {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(123, 65, 231, 0.22);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(123, 65, 231, 0.45);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 850;
  color: #c4a7ff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-stage-cost {
  background: rgba(101, 48, 212, 0.12);
  border-color: rgba(101, 48, 212, 0.3);
  color: #5a2eb8;
}
.studio-detail-zones-panel {
  padding: 12px 14px;
  border-radius: 12px;
  background: #181920;
  border: 1px solid #2d3040;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-zones-panel {
  background: #FAF9F6;
  border-color: #ded5ce;
}
.studio-detail-zones-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.studio-detail-zones-header h5 {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a0a4b6;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-zones-header h5 {
  color: #6a6660;
}
.studio-detail-zones-header .help {
  margin: 0;
  font-size: 11px;
  color: #888d9e;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-zones-header .help {
  color: #766e65;
}
.studio-detail-zones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.studio-zone-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
  border-radius: 8px;
  background: #15161c;
  border: 1px solid #333644;
  cursor: pointer;
  transition: all .14s ease;
}
:is([data-theme="day"], .awebo-day-theme) .studio-zone-card {
  background: #FFFFFF;
  border-color: #ded5ce;
}
.studio-zone-card:hover {
  border-color: rgba(123, 65, 231, 0.5);
  transform: translateY(-1px);
}
.studio-zone-card.is-active {
  border-color: #7B41E7;
  background: rgba(123, 65, 231, 0.16);
  box-shadow: 0 0 0 1px #7B41E7;
}
:is([data-theme="day"], .awebo-day-theme) .studio-zone-card.is-active {
  border-color: #6530D4;
  background: #f0ebfa;
  box-shadow: 0 0 0 1px #6530D4;
}
.studio-zone-thumb-box {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: #101116;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
:is([data-theme="day"], .awebo-day-theme) .studio-zone-thumb-box {
  background: #f4f0eb;
}
.studio-zone-mini-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.studio-zone-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #e2e4ee;
}
:is([data-theme="day"], .awebo-day-theme) .studio-zone-label {
  color: #171312;
}
.studio-detail-creator-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(123, 65, 231, 0.08);
  border: 1px solid rgba(123, 65, 231, 0.2);
  font-size: 11.5px;
  line-height: 1.5;
  color: #c4a7ff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-creator-note {
  background: #f5f0fd;
  border-color: #d4c4f5;
  color: #5a2eb8;
}
.studio-detail-creator-note p {
  margin: 0;
}
.studio-sizes-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.studio-sizing-note {
  font-size: 11px;
  color: #888d9e;
}
:is([data-theme="day"], .awebo-day-theme) .studio-sizing-note {
  color: #766e65;
}
.studio-detail-tabs-section {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #2a2d3a;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-tabs-section {
  border-top-color: #ded5ce;
}
.studio-detail-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #2a2d3a;
  padding-bottom: 8px;
  margin-bottom: 16px;
}
:is([data-theme="day"], .awebo-day-theme) .studio-detail-tabs-nav {
  border-bottom-color: #ded5ce;
}
.studio-tab-btn {
  padding: 7px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #9da2b4;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .14s ease;
}
:is([data-theme="day"], .awebo-day-theme) .studio-tab-btn {
  color: #766e65;
}
.studio-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
:is([data-theme="day"], .awebo-day-theme) .studio-tab-btn:hover {
  color: #171312;
  background: #f0ede8;
}
.studio-tab-btn.is-active {
  color: #c4a7ff;
  background: rgba(123, 65, 231, 0.16);
  box-shadow: 0 0 0 1px rgba(123, 65, 231, 0.35);
}
:is([data-theme="day"], .awebo-day-theme) .studio-tab-btn.is-active {
  color: #5a2eb8;
  background: #f0ebfa;
  box-shadow: 0 0 0 1px #d4c4f5;
}
.studio-detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.studio-spec-card {
  padding: 10px 14px;
  border-radius: 10px;
  background: #181920;
  border: 1px solid #2d3040;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
:is([data-theme="day"], .awebo-day-theme) .studio-spec-card {
  background: #FAF9F6;
  border-color: #ded5ce;
}
.studio-spec-label {
  font-size: 10.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #8d92a4;
}
:is([data-theme="day"], .awebo-day-theme) .studio-spec-label {
  color: #766e65;
}
.studio-spec-val {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-spec-val {
  color: #171312;
}
.studio-spec-production-card {
  grid-column: 1 / -1;
}
.studio-size-guide-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.studio-size-table-scroll {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #2d3040;
}
:is([data-theme="day"], .awebo-day-theme) .studio-size-table-scroll {
  border-color: #ded5ce;
}
.studio-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.studio-size-table th {
  background: #181920;
  padding: 8px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  color: #8d92a4;
  border-bottom: 1px solid #2d3040;
}
:is([data-theme="day"], .awebo-day-theme) .studio-size-table th {
  background: #FAF9F6;
  border-bottom-color: #ded5ce;
  color: #6a6660;
}
.studio-size-table th:not(:first-child) {
  text-align: right;
}
.studio-size-table td {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e4ee;
}
:is([data-theme="day"], .awebo-day-theme) .studio-size-table td {
  border-bottom-color: #f0ede8;
  color: #2b2523;
}
.studio-size-table td.measurement-name {
  font-weight: 700;
  color: #ffffff;
}
:is([data-theme="day"], .awebo-day-theme) .studio-size-table td.measurement-name {
  color: #171312;
}
.studio-size-table td.measurement-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #c7cbd8;
}
:is([data-theme="day"], .awebo-day-theme) .studio-size-table td.measurement-val {
  color: #55524e;
}
.studio-size-note {
  font-size: 11px;
  color: #8d92a4;
  margin: 4px 0 0 0;
}
:is([data-theme="day"], .awebo-day-theme) .studio-size-note {
  color: #766e65;
}
.studio-features-care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 768px) {
  .studio-features-care-grid {
    grid-template-columns: 1fr;
  }
}
.studio-features-card,
.studio-care-card {
  padding: 14px 16px;
  border-radius: 10px;
  background: #181920;
  border: 1px solid #2d3040;
}
:is([data-theme="day"], .awebo-day-theme) .studio-features-card,
:is([data-theme="day"], .awebo-day-theme) .studio-care-card {
  background: #FAF9F6;
  border-color: #ded5ce;
}
.studio-features-card h5,
.studio-care-card h5 {
  margin: 0 0 10px 0;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #a0a4b6;
}
:is([data-theme="day"], .awebo-day-theme) .studio-features-card h5,
:is([data-theme="day"], .awebo-day-theme) .studio-care-card h5 {
  color: #6a6660;
}
.studio-feature-list,
.studio-care-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.studio-feature-list li,
.studio-care-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #c7cbd8;
}
:is([data-theme="day"], .awebo-day-theme) .studio-feature-list li,
:is([data-theme="day"], .awebo-day-theme) .studio-care-list li {
  color: #2b2523;
}
.feature-bullet-check {
  color: #10b981;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}
.care-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7B41E7;
  margin-top: 5px;
  flex-shrink: 0;
}
:is([data-theme="day"], .awebo-day-theme) .care-bullet-dot {
  background: #6530D4;
}

/* ==========================================================================
   BRAND STUDIO — ECONOMY UX REFINEMENT
   ========================================================================== */

#studio-brand-economics {
  width: 100%;
}

.studio-econ-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}

.studio-econ-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.studio-econ-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.studio-econ-section-title strong {
  font-size: 14px;
  font-weight: 750;
  color: var(--studio-text-primary);
  letter-spacing: -0.01em;
}

.studio-econ-section-title small {
  font-size: 11.5px;
  color: var(--studio-text-muted);
  font-weight: 550;
}

.studio-econ-desc {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--studio-text-secondary) !important;
}

/* 1. Member Participation Limit */
.studio-econ-locked-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--studio-panel-light-alt, #181920);
  border: 1px solid var(--studio-border-light);
  transition: all 0.2s ease;
}

.studio-econ-locked-info strong {
  display: block;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--studio-text-primary);
  letter-spacing: -0.01em;
}

.studio-econ-locked-info small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--studio-text-secondary);
  line-height: 1.4;
}

.studio-econ-input-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-econ-num-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 220px;
}

.studio-econ-num-input {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  padding: 0 34px 0 14px !important;
  border: 1px solid var(--studio-border-light) !important;
  border-radius: 10px !important;
  background: var(--studio-input-bg, #181920) !important;
  color: var(--studio-text-primary) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  outline: none !important;
  -moz-appearance: textfield !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease !important;
}

.studio-econ-num-input::-webkit-outer-spin-button,
.studio-econ-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.studio-econ-num-input:focus {
  border-color: var(--studio-accent, #7B41E7) !important;
  box-shadow: 0 0 0 3px rgba(123, 65, 231, 0.16) !important;
}

.studio-econ-num-suffix {
  position: absolute;
  right: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--studio-text-muted);
  pointer-events: none;
}

.studio-econ-field-hint {
  margin: 0 !important;
  font-size: 11.5px !important;
  color: var(--studio-text-muted) !important;
  line-height: 1.45 !important;
}

.studio-econ-field-hint strong {
  color: var(--studio-text-primary) !important;
}

/* 2. Member Share Slider */
.studio-econ-slider-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--studio-panel-light-alt, #181920);
  border: 1px solid var(--studio-border-light);
}

.studio-econ-slider-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-econ-slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 650;
  color: var(--studio-text-muted);
  letter-spacing: 0.01em;
}

.studio-econ-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--studio-border-light, #3d4050);
  outline: none;
  cursor: pointer;
  margin: 4px 0;
  transition: background 0.15s ease;
}

.studio-econ-range:focus-visible {
  outline: 2px solid var(--studio-accent, #7B41E7);
  outline-offset: 3px;
}

.studio-econ-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--studio-accent, #7B41E7);
  box-shadow: 0 2px 8px rgba(123, 65, 231, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.studio-econ-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(123, 65, 231, 0.65);
}

.studio-econ-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--studio-accent, #7B41E7);
  box-shadow: 0 2px 8px rgba(123, 65, 231, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.studio-econ-slider-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 54px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--studio-panel-light, #111216);
  border: 1.5px solid var(--studio-accent, #7B41E7);
  box-shadow: 0 2px 10px rgba(123, 65, 231, 0.15);
  flex-shrink: 0;
  text-align: center;
}

.studio-econ-slider-num {
  font-size: 19px;
  font-weight: 850;
  color: var(--studio-accent, #7B41E7);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.studio-econ-slider-badge small {
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--studio-text-muted);
}

/* 3. Save Button */
#studio-brand-economics .brand-studio-savebar {
  position: static !important;
  bottom: auto !important;
  z-index: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  padding: 0 !important;
  margin-top: 16px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.brand-studio-route .studio-save-econ-btn,
.brand-studio-route #studio-brand-economics .brand-studio-savebar button[type="submit"] {
  background: var(--studio-accent, #7B41E7) !important;
  color: #ffffff !important;
  border: 1px solid var(--studio-accent, #7B41E7) !important;
  font-weight: 750 !important;
  font-size: 13.5px !important;
  border-radius: 12px !important;
  min-height: 42px !important;
  min-width: 210px !important;
  padding: 10px 24px !important;
  box-shadow: 0 3px 12px rgba(123, 65, 231, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}

.brand-studio-route .studio-save-econ-btn:hover:not(:disabled),
.brand-studio-route #studio-brand-economics .brand-studio-savebar button[type="submit"]:hover:not(:disabled) {
  background: var(--studio-accent-hover, #6530D4) !important;
  border-color: var(--studio-accent-hover, #6530D4) !important;
  box-shadow: 0 5px 18px rgba(123, 65, 231, 0.45) !important;
  transform: translateY(-1px);
}

.brand-studio-route .studio-save-econ-btn:focus-visible,
.brand-studio-route #studio-brand-economics .brand-studio-savebar button[type="submit"]:focus-visible {
  outline: 2px solid var(--studio-accent, #7B41E7) !important;
  outline-offset: 3px !important;
}

.brand-studio-route .studio-save-econ-btn:disabled,
.brand-studio-route #studio-brand-economics .brand-studio-savebar button[type="submit"]:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 640px) {
  .studio-econ-slider-row {
    flex-direction: column;
    align-items: stretch;
  }
  .studio-econ-slider-badge {
    width: 100%;
    height: 46px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 16px;
  }
}

/* Premium Economy Tabs Navigation */
.studio-econ-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.studio-econ-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  background: transparent;
  color: var(--muted, #a1a1aa);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.studio-econ-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.studio-econ-tab.is-active,
.studio-econ-tab[aria-selected="true"] {
  color: #ffffff;
  background: var(--studio-accent, #7B41E7);
  border-color: var(--studio-accent, #7B41E7);
  box-shadow: 0 2px 8px rgba(123, 65, 231, 0.35);
}

.studio-econ-panels {
  width: 100%;
}

.studio-econ-panel[hidden] {
  display: none !important;
}

.studio-econ-panel.is-active {
  display: block;
  animation: studioPanelFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes studioPanelFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Card Heading Row & Subtext */
.studio-card-heading-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.studio-card-title-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.studio-section-sub {
  display: block;
  font-size: 12px;
  color: var(--muted, #a1a1aa);
  font-weight: 400;
  margin-top: 2px;
}

/* Accessible Tooltip System */
.studio-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted, #a1a1aa);
  border-radius: 50%;
  padding: 2px;
  vertical-align: middle;
  outline: none;
  transition: color 0.15s ease;
}

.studio-tooltip-wrap:hover,
.studio-tooltip-wrap:focus-visible,
.studio-tooltip-wrap.is-open {
  color: var(--studio-accent, #7B41E7);
}

.studio-tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: max-content;
  max-width: 270px;
  padding: 8px 12px;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 400;
  color: #f4f4f5;
  background: #18181b;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 100;
  white-space: normal;
  text-align: left;
}

.studio-tooltip-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #18181b transparent transparent transparent;
}

.studio-tooltip-wrap:hover .studio-tooltip-bubble,
.studio-tooltip-wrap:focus-visible .studio-tooltip-bubble,
.studio-tooltip-wrap.is-open .studio-tooltip-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Split Pills */
.studio-split-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-split-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.studio-split-pill.members {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.studio-split-pill.treasury {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

/* Split Visual Bar */
.studio-econ-split-bar {
  display: flex;
  height: 9px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-split-seg {
  height: 100%;
  transition: width 0.15s ease;
}

.studio-split-seg.members {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.studio-split-seg.treasury {
  background: linear-gradient(90deg, #7c3aed, #c084fc);
}

/* Simulation Box */
.studio-sim-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}

.studio-sim-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #a1a1aa);
  margin-bottom: 12px;
}

.studio-sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.studio-sim-col {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  border-left: 3px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.studio-sim-col.members {
  border-left-color: #3b82f6;
}

.studio-sim-col.treasury {
  border-left-color: #a855f7;
}

.sim-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted, #a1a1aa);
}

.sim-amount {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.studio-sim-col small {
  font-size: 11px;
  color: var(--muted, #71717a);
  line-height: 1.4;
  margin-top: 3px;
}

/* Sole Owner State Card (Section B) */
.studio-team-state-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.09) 0%, rgba(24, 25, 32, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.28);
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.studio-team-state-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.studio-team-state-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.studio-state-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.studio-team-state-title {
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
}
.studio-team-state-desc {
  font-size: 12.5px;
  color: var(--muted, #a1a1aa);
  margin: 0;
  line-height: 1.45;
}
.studio-team-state-action {
  flex-shrink: 0;
}
.studio-team-state-action button {
  white-space: nowrap;
  gap: 6px;
}

/* Collaboration Setup Panel (Section B & D) */
.studio-collab-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-strong, #3d4050);
  margin-bottom: 24px;
}

/* Collab Pending Banner */
.studio-collab-pending-banner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
}
.studio-collab-pending-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.studio-badge-tag.pending {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}
.studio-collab-pending-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.studio-collab-pending-banner strong {
  font-size: 14px;
  font-weight: 750;
  color: #ffffff;
}
.studio-collab-pending-banner p {
  font-size: 12.5px;
  color: var(--muted, #a1a1aa);
  line-height: 1.45;
  margin: 0;
}
.studio-collab-pending-banner code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 5px;
  border-radius: 4px;
  color: #c084fc;
}

/* Collab Actions Bar */
.studio-collab-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.studio-collab-actions-bar button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted, #a1a1aa);
}
.studio-collab-actions-hint {
  font-size: 11.5px;
  color: var(--muted, #71717a);
  line-height: 1.4;
}
.studio-collab-actions-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  color: #c084fc;
}

/* 1. Base Toggle Grid (100 vs 1,000 units only) */
.studio-base-toggle-grid,
.studio-access-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 6px;
}
.studio-base-card,
.studio-access-card {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong, #3d4050);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.16s ease;
}
.studio-base-card:hover,
.studio-access-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.04);
}
.studio-base-card.is-active,
.studio-access-card.is-active {
  border-color: #a855f7 !important;
  background: rgba(168, 85, 247, 0.1) !important;
  box-shadow: 0 0 0 1px #a855f7 !important;
}
.studio-base-card-content,
.studio-access-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.studio-base-card strong,
.studio-access-card strong {
  font-size: 13.5px;
  font-weight: 750;
  color: #ffffff;
}
.studio-base-card small,
.studio-access-card small {
  font-size: 11.5px;
  color: var(--muted, #a1a1aa);
  line-height: 1.35;
}
.studio-base-badge,
.studio-access-badge {
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted, #a1a1aa);
  margin-bottom: 2px;
}
.studio-base-badge.active,
.studio-access-badge.is-open {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.studio-base-note {
  font-size: 11.5px;
  color: var(--muted, #a1a1aa);
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-left: 2px solid #a855f7;
}

/* Formula Box */
.studio-formula-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  margin-top: 8px;
}
.studio-formula-line {
  font-size: 12px;
  color: var(--muted, #a1a1aa);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.studio-formula-line code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #c084fc;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.studio-formula-calc {
  font-size: 12.5px;
  color: #ffffff;
}

/* Distinction Notice */
.studio-distinction-notice {
  font-size: 12px !important;
  margin-top: 8px !important;
  line-height: 1.45 !important;
}

/* Dynamic Participation Math Box */
.studio-collab-math-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(147, 51, 234, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.studio-collab-math-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.studio-collab-math-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.studio-collab-math-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.studio-collab-math-item .studio-math-lbl {
  font-size: 11px;
  color: var(--muted, #a1a1aa);
  font-weight: 550;
}
.studio-collab-math-item .studio-math-val {
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.studio-collab-math-item.kept .studio-math-val {
  color: #c084fc;
}
.studio-collab-math-item.pool .studio-math-val {
  color: #38bdf8;
}
.studio-collab-math-item small {
  font-size: 10.5px;
  color: var(--muted, #71717a);
}
.studio-collab-limit-input {
  max-width: 140px;
}
.studio-limit-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media(max-width:768px){
  .studio-team-state-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .studio-collab-math-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Team Members List (Primary View in Team Tab) */
.studio-team-members-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.studio-team-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.studio-team-member-row:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.studio-member-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-member-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.studio-member-meta strong {
  font-size: 13.5px;
  font-weight: 650;
  color: #ffffff;
}

.studio-member-username {
  font-size: 11.5px;
  color: var(--muted, #71717a);
}

.studio-member-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-member-pct {
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.studio-member-pct small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #71717a);
  font-weight: 600;
  margin-left: 2px;
}

/* Payout Settings Grid */
.studio-payout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.studio-payout-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.studio-payout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.studio-payout-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.studio-payout-header small {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #a1a1aa);
}

.studio-payout-card strong {
  font-size: 17px;
  font-weight: 750;
  color: #ffffff;
}

.studio-payout-card p {
  font-size: 12px;
  color: var(--muted, #a1a1aa);
  line-height: 1.45;
  margin: 0;
}

.studio-badge-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.studio-badge-tag.owner {
  background: rgba(123, 65, 231, 0.18);
  color: #c084fc;
  border-color: rgba(123, 65, 231, 0.35);
}

/* Transfer Grid */
.studio-econ-transfer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.studio-econ-stat-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.studio-econ-stat-box small {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #a1a1aa);
}

.studio-econ-stat-box strong {
  font-size: 17px;
  font-weight: 750;
  color: #ffffff;
}

/* Inline Invite and Transfer Form */
.studio-inline-invite-form .fields,
.studio-transfer-form .fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 10px;
}

/* Economy Consolidated Single-Page Styles */
.studio-econ-accordion {
  margin-top: 4px;
}

.studio-econ-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.studio-econ-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 12px;
  line-height: 1.3;
}

.studio-econ-meta-pill .studio-meta-lbl {
  color: var(--muted, #a1a1aa);
  font-weight: 500;
}

.studio-econ-meta-pill strong {
  color: #ffffff;
  font-weight: 650;
}

.studio-team-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 18px;
}

.studio-team-pool-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.studio-team-pool-text {
  font-size: 13px;
  color: var(--muted, #a1a1aa);
}

.studio-team-pool-text strong {
  color: #ffffff;
  font-weight: 650;
}

.studio-team-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-contextual-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(123, 65, 231, 0.28);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.studio-contextual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.studio-close-inline-btn {
  background: transparent;
  border: none;
  color: var(--muted, #a1a1aa);
  font-size: 15px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: all 0.15s ease;
}

.studio-close-inline-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.studio-collab-framework-box {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.02);
}

.studio-collab-pending-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-collab-pending-pill {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #a1a1aa);
}

.studio-collab-fw-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.studio-collab-fw-desc {
  font-size: 12.5px;
  color: var(--muted, #a1a1aa);
  line-height: 1.45;
  margin: 0 0 16px;
}

.studio-team-members-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-team-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  gap: 12px;
  flex-wrap: wrap;
}

.studio-member-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-member-meta {
  display: flex;
  flex-direction: column;
}

.studio-member-meta strong {
  font-size: 13.5px;
  font-weight: 650;
  color: #ffffff;
}

.studio-member-username {
  font-size: 11.5px;
  color: var(--muted, #a1a1aa);
}

.studio-member-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-member-pct {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 13px;
  color: #ffffff;
}

.studio-member-pct small {
  color: var(--muted, #a1a1aa);
  font-size: 11px;
}

.studio-member-pct.is-admin-only {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.studio-badge-tag.subtle {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted, #a1a1aa);
  border-color: rgba(255, 255, 255, 0.08);
}

.studio-badge-tag.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

/* AWEBO BRAND STUDIO BUTTON CONSISTENCY HOTFIX 01 */

/* Save bars: normal document flow, no floating overlays */
.brand-studio-route .brand-studio-savebar {
  position: static !important;
  bottom: auto !important;
  z-index: auto !important;
  margin-top: 16px !important;
  padding: 12px 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Brand Studio Action Button Color System */
/* 1. Primary actions */
.brand-studio-route .brand-studio-savebar button[type="submit"],
.brand-studio-route button.primary,
.brand-studio-route .button.primary,
.brand-studio-route .studio-create-collection-btn,
.brand-studio-route .studio-save-collection-btn,
.brand-studio-route .studio-save-product-btn,
.brand-studio-route .studio-batch-customize-btn,
.brand-studio-route .studio-batch-add-another-btn,
.brand-studio-route .studio-detail-add-btn,
.brand-studio-route .studio-publish-btn,
.brand-studio-route #studio-publish-products,
.brand-studio-route .studio-save-econ-btn,
.brand-studio-route #studio-econ-save-btn,
.brand-studio-route .studio-catalog-add,
.brand-studio-route .release {
  background: #7B41E7 !important;
  border: 1px solid #7B41E7 !important;
  color: #FFFFFF !important;
}

.brand-studio-route .brand-studio-savebar button[type="submit"]:hover:not(:disabled),
.brand-studio-route button.primary:hover:not(:disabled),
.brand-studio-route .button.primary:hover:not(:disabled),
.brand-studio-route .studio-create-collection-btn:hover:not(:disabled),
.brand-studio-route .studio-save-collection-btn:hover:not(:disabled),
.brand-studio-route .studio-save-product-btn:hover:not(:disabled),
.brand-studio-route .studio-batch-customize-btn:hover:not(:disabled),
.brand-studio-route .studio-batch-add-another-btn:hover:not(:disabled),
.brand-studio-route .studio-detail-add-btn:hover:not(:disabled),
.brand-studio-route .studio-publish-btn:hover:not(:disabled),
.brand-studio-route #studio-publish-products:hover:not(:disabled),
.brand-studio-route .studio-save-econ-btn:hover:not(:disabled),
.brand-studio-route #studio-econ-save-btn:hover:not(:disabled),
.brand-studio-route .studio-catalog-add:hover:not(:disabled),
.brand-studio-route .release:hover:not(:disabled) {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
  color: #FFFFFF !important;
}

/* 2. Destructive actions */
.brand-studio-route .danger,
.brand-studio-route button.danger,
.brand-studio-route .studio-batch-remove,
.brand-studio-route button.studio-batch-remove,
.brand-studio-route .studio-batch-remove-btn,
.brand-studio-route button.studio-batch-remove-btn,
.brand-studio-route .studio-product-delete,
.brand-studio-route button.studio-product-delete,
.brand-studio-route .studio-collection-delete,
.brand-studio-route button.studio-collection-delete,
.brand-studio-route .studio-collection-delete-btn,
.brand-studio-route button.studio-collection-delete-btn {
  background: #C92D38 !important;
  border: 1px solid #C92D38 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.brand-studio-route .danger:hover:not(:disabled),
.brand-studio-route button.danger:hover:not(:disabled),
.brand-studio-route .studio-batch-remove:hover:not(:disabled),
.brand-studio-route button.studio-batch-remove:hover:not(:disabled),
.brand-studio-route .studio-batch-remove-btn:hover:not(:disabled),
.brand-studio-route button.studio-batch-remove-btn:hover:not(:disabled),
.brand-studio-route .studio-product-delete:hover:not(:disabled),
.brand-studio-route button.studio-product-delete:hover:not(:disabled),
.brand-studio-route .studio-collection-delete:hover:not(:disabled),
.brand-studio-route button.studio-collection-delete:hover:not(:disabled),
.brand-studio-route .studio-collection-delete-btn:hover:not(:disabled),
.brand-studio-route button.studio-collection-delete-btn:hover:not(:disabled) {
  background: #A91F2A !important;
  border-color: #A91F2A !important;
  color: #FFFFFF !important;
}

/* 3. Secondary actions */
.brand-studio-route .secondary:not(.danger):not(.studio-batch-remove):not(.studio-batch-remove-btn),
.brand-studio-route button.secondary:not(.danger):not(.studio-batch-remove):not(.studio-batch-remove-btn),
.brand-studio-route .button.secondary:not(.danger):not(.studio-batch-remove):not(.studio-batch-remove-btn),
.brand-studio-route a.button.secondary,
.brand-studio-route .studio-catalog-details,
.brand-studio-route .studio-catalog-detail-btn,
.brand-studio-route .studio-product-cancel-btn,
.brand-studio-route .studio-product-edit-btn,
.brand-studio-route .studio-back-brand-btn,
.brand-studio-route .studio-view-brand-link,
.brand-studio-route .studio-batch-clear,
.brand-studio-route .studio-clear-products,
.brand-studio-route [data-back-to-catalog] {
  background: #FFFFFF !important;
  border: 1px solid #DED5CE !important;
  color: #19171B !important;
}

.brand-studio-route .secondary:not(.danger):not(.studio-batch-remove):not(.studio-batch-remove-btn):hover:not(:disabled),
.brand-studio-route button.secondary:not(.danger):not(.studio-batch-remove):not(.studio-batch-remove-btn):hover:not(:disabled),
.brand-studio-route .button.secondary:not(.danger):not(.studio-batch-remove):not(.studio-batch-remove-btn):hover:not(:disabled),
.brand-studio-route a.button.secondary:hover,
.brand-studio-route .studio-catalog-details:hover:not(:disabled),
.brand-studio-route .studio-catalog-detail-btn:hover:not(:disabled),
.brand-studio-route .studio-product-cancel-btn:hover:not(:disabled),
.brand-studio-route .studio-product-edit-btn:hover:not(:disabled),
.brand-studio-route .studio-back-brand-btn:hover,
.brand-studio-route .studio-view-brand-link:hover,
.brand-studio-route .studio-batch-clear:hover:not(:disabled),
.brand-studio-route .studio-clear-products:hover:not(:disabled),
.brand-studio-route [data-back-to-catalog]:hover:not(:disabled) {
  background: #F0ECE6 !important;
  border-color: #B8ACA3 !important;
  color: #19171B !important;
}

/* 4. Disabled buttons retain action identity with muted opacity */
.brand-studio-route button:disabled,
.brand-studio-route .button:disabled,
.brand-studio-route .button.disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.brand-studio-route .brand-studio-savebar button[type="submit"]:disabled,
.brand-studio-route button.primary:disabled,
.brand-studio-route .button.primary:disabled,
.brand-studio-route .studio-create-collection-btn:disabled,
.brand-studio-route .studio-save-collection-btn:disabled,
.brand-studio-route .studio-save-product-btn:disabled,
.brand-studio-route .studio-batch-customize-btn:disabled,
.brand-studio-route .studio-batch-add-another-btn:disabled,
.brand-studio-route .studio-detail-add-btn:disabled,
.brand-studio-route .studio-publish-btn:disabled,
.brand-studio-route #studio-publish-products:disabled,
.brand-studio-route .studio-save-econ-btn:disabled,
.brand-studio-route #studio-econ-save-btn:disabled,
.brand-studio-route .studio-catalog-add:disabled,
.brand-studio-route .release:disabled {
  background: #7B41E7 !important;
  border: 1px solid #7B41E7 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   AWEBO DECISION MODAL (Brand Studio Confirmations Hotfix 03)
   Reusable auto-height decision modal inspired by Design Studio discard dialog
   ========================================================================== */

.awebo-decision-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200; /* Stacks cleanly above site header (1000) and Design Studio (950) */
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 16px;
  box-sizing: border-box;
  animation: aweboModalFadeIn 0.15s ease-out;
}

@keyframes aweboModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes aweboModalCardPop {
  from { opacity: 0; transform: scale(0.96) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.awebo-decision-card {
  position: relative;
  width: min(92vw, 420px);
  height: auto;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 26px 24px 22px;
  background: linear-gradient(180deg, #181525 0%, #13141c 45%, #0e0f14 100%);
  border: 1px solid rgba(147, 95, 240, 0.35);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(123, 65, 231, 0.16), 0 0 32px rgba(107, 33, 168, 0.16), 0 24px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(216, 180, 254, 0.28), inset 0 0 20px rgba(35, 18, 62, 0.35);
  text-align: center;
  animation: aweboModalCardPop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.awebo-decision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(167, 139, 250, 0.75) 50%, transparent 100%);
  border-radius: 2px;
  pointer-events: none;
}

.awebo-decision-card.is-compact {
  width: min(92vw, 380px);
  padding: 22px 20px 18px;
}

.awebo-decision-card.is-detailed {
  width: min(92vw, 470px);
}

.awebo-decision-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.awebo-decision-card.tone-danger .awebo-decision-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.28);
}

.awebo-decision-card.tone-warning .awebo-decision-icon {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.awebo-decision-card.tone-success .awebo-decision-icon {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.32);
}

.awebo-decision-card.tone-info .awebo-decision-icon {
  background: rgba(123, 65, 231, 0.14);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.awebo-decision-title {
  font-size: 16.5px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
  color: #f4f4f6 !important;
  letter-spacing: -0.01em !important;
}

.awebo-decision-message {
  font-size: 13.5px;
  line-height: 1.5;
  color: #a4a7b5;
  margin: 0 0 16px;
}

.awebo-decision-list {
  margin: 14px 0 18px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.awebo-decision-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #c4c7d5;
}

.awebo-decision-bullet {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a78bfa;
  margin-top: 6px;
}

.awebo-decision-card.tone-danger .awebo-decision-bullet {
  background: #f87171;
}

.awebo-decision-card.tone-warning .awebo-decision-bullet {
  background: #fbbf24;
}

.awebo-decision-card.tone-success .awebo-decision-bullet {
  background: #34d399;
}

.awebo-decision-note {
  font-size: 12px;
  line-height: 1.4;
  color: #838799;
  margin: 0 0 16px;
}

.awebo-decision-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.awebo-decision-actions button {
  flex: 1;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 650;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Universal Button Rule: Keep Editing / Cancel = purple (#7B41E7) */
.awebo-decision-actions button.awebo-decision-cancel,
button.awebo-decision-cancel,
.awebo-decision-cancel {
  background: #7B41E7 !important;
  border: 1px solid #7B41E7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(123, 65, 231, 0.35) !important;
}

.awebo-decision-actions button.awebo-decision-cancel:hover,
button.awebo-decision-cancel:hover,
.awebo-decision-cancel:hover {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(123, 65, 231, 0.45) !important;
}

.awebo-decision-cancel:active {
  transform: translateY(1px);
}

/* Universal Button Rule: Discard / Delete / Remove = red (#C92D38) */
.awebo-decision-actions button.awebo-decision-confirm.danger,
button.awebo-decision-confirm.danger,
.awebo-decision-confirm.danger {
  background: #C92D38 !important;
  border: 1px solid #C92D38 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(201, 45, 56, 0.35) !important;
}

.awebo-decision-actions button.awebo-decision-confirm.danger:hover,
button.awebo-decision-confirm.danger:hover,
.awebo-decision-confirm.danger:hover {
  background: #A91F2A !important;
  border-color: #A91F2A !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(201, 45, 56, 0.45) !important;
}

.awebo-decision-confirm.danger:active {
  transform: translateY(1px);
}

.awebo-decision-confirm.success {
  background: #10b981 !important;
  border: 1px solid #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.32) !important;
}

.awebo-decision-confirm.success:hover {
  background: #059669 !important;
  border-color: #059669 !important;
}

.awebo-decision-confirm.primary {
  background: #7B41E7 !important;
  border: 1px solid #7B41E7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(123, 65, 231, 0.35) !important;
}

.awebo-decision-confirm.primary:hover {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
}

/* Day Mode styling */
:is([data-theme="day"], .awebo-day-theme) .awebo-decision-card,
[data-theme="day"] .awebo-decision-card {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%) !important;
  border-color: rgba(123, 65, 231, 0.25) !important;
  box-shadow: 0 0 0 1px rgba(123, 65, 231, 0.12), 0 12px 36px rgba(123, 65, 231, 0.08), 0 20px 50px rgba(0, 0, 0, 0.14), inset 0 1px 0 #ffffff !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-card::before,
[data-theme="day"] .awebo-decision-card::before {
  background: linear-gradient(90deg, transparent 0%, rgba(123, 65, 231, 0.45) 50%, transparent 100%) !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-title,
[data-theme="day"] .awebo-decision-title {
  color: #171312 !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-message,
[data-theme="day"] .awebo-decision-message {
  color: #55524e !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-list,
[data-theme="day"] .awebo-decision-list {
  background: #f7f3ee !important;
  border-color: #e5ded6 !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-list li,
[data-theme="day"] .awebo-decision-list li {
  color: #383533 !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-note,
[data-theme="day"] .awebo-decision-note {
  color: #78736d !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-actions button.awebo-decision-cancel,
:is([data-theme="day"], .awebo-day-theme) button.awebo-decision-cancel,
:is([data-theme="day"], .awebo-day-theme) .awebo-decision-cancel,
[data-theme="day"] .awebo-decision-actions button.awebo-decision-cancel,
[data-theme="day"] button.awebo-decision-cancel,
[data-theme="day"] .awebo-decision-cancel {
  background: #7B41E7 !important;
  border: 1px solid #7B41E7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(123, 65, 231, 0.25) !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-actions button.awebo-decision-cancel:hover,
:is([data-theme="day"], .awebo-day-theme) button.awebo-decision-cancel:hover,
:is([data-theme="day"], .awebo-day-theme) .awebo-decision-cancel:hover,
[data-theme="day"] .awebo-decision-actions button.awebo-decision-cancel:hover,
[data-theme="day"] button.awebo-decision-cancel:hover,
[data-theme="day"] .awebo-decision-cancel:hover {
  background: #6530D4 !important;
  border-color: #6530D4 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(123, 65, 231, 0.35) !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-actions button.awebo-decision-confirm.danger,
:is([data-theme="day"], .awebo-day-theme) button.awebo-decision-confirm.danger,
:is([data-theme="day"], .awebo-day-theme) .awebo-decision-confirm.danger,
[data-theme="day"] .awebo-decision-actions button.awebo-decision-confirm.danger,
[data-theme="day"] button.awebo-decision-confirm.danger,
[data-theme="day"] .awebo-decision-confirm.danger {
  background: #C92D38 !important;
  border: 1px solid #C92D38 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(201, 45, 56, 0.25) !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-actions button.awebo-decision-confirm.danger:hover,
:is([data-theme="day"], .awebo-day-theme) button.awebo-decision-confirm.danger:hover,
:is([data-theme="day"], .awebo-day-theme) .awebo-decision-confirm.danger:hover,
[data-theme="day"] .awebo-decision-actions button.awebo-decision-confirm.danger:hover,
[data-theme="day"] button.awebo-decision-confirm.danger:hover,
[data-theme="day"] .awebo-decision-confirm.danger:hover {
  background: #A91F2A !important;
  border-color: #A91F2A !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(201, 45, 56, 0.35) !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-card.tone-danger .awebo-decision-icon,
[data-theme="day"] .awebo-decision-card.tone-danger .awebo-decision-icon {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #dc2626 !important;
  border-color: rgba(239, 68, 68, 0.22) !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-card.tone-success .awebo-decision-icon,
[data-theme="day"] .awebo-decision-card.tone-success .awebo-decision-icon {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #059669 !important;
  border-color: rgba(16, 185, 129, 0.24) !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-card.tone-warning .awebo-decision-icon,
[data-theme="day"] .awebo-decision-card.tone-warning .awebo-decision-icon {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #d97706 !important;
  border-color: rgba(245, 158, 11, 0.24) !important;
}

:is([data-theme="day"], .awebo-day-theme) .awebo-decision-card.tone-info .awebo-decision-icon,
[data-theme="day"] .awebo-decision-card.tone-info .awebo-decision-icon {
  background: rgba(123, 65, 231, 0.12) !important;
  color: #7c3aed !important;
  border-color: rgba(123, 65, 231, 0.24) !important;
}

@media (max-width: 440px) {
  .awebo-decision-actions {
    flex-direction: column-reverse;
    gap: 8px;
  }
  .awebo-decision-actions button {
    width: 100%;
  }
}

/* ==========================================================================
   AWEBO FEEDBACK NOTICE / TOAST (Hotfix 03B)
   Non-blocking feedback toast with enhanced Design Applied support
   ========================================================================== */

#toast {
  position: fixed;
  z-index: 1250; /* Stacks above site header (1000) and dialogs */
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: none;
  max-width: min(520px, calc(100vw - 28px));
  padding: 12px 18px;
  border-radius: 12px;
  background: #151515;
  color: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 13px;
  pointer-events: auto;
  cursor: pointer;
  box-sizing: border-box;
  animation: aweboToastIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#toast.is-exiting {
  animation: aweboToastOut 0.2s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes aweboToastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes aweboToastOut {
  from {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.97);
  }
}

/* Enhanced Design Applied Notice (Non-blocking) */
#toast.is-design-applied {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 16px;
  min-width: 320px;
  max-width: min(470px, calc(100vw - 32px));
  border-radius: 14px;
  background: linear-gradient(180deg, #191526 0%, #111218 100%) !important;
  border: 1px solid rgba(147, 95, 240, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(123, 65, 231, 0.22), 0 0 28px rgba(123, 65, 231, 0.24), 0 20px 50px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(216, 180, 254, 0.32) !important;
}

#toast.is-design-applied::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(167, 139, 250, 0.85) 50%, transparent 100%);
  border-radius: 2px;
  pointer-events: none;
}

.awebo-toast-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7B41E7 0%, #5824c4 100%);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(123, 65, 231, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.awebo-toast-body {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.35;
}

.awebo-toast-title {
  font-size: 13.5px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
}

.awebo-toast-sub {
  font-size: 12px !important;
  color: #b8bbcb !important;
  font-weight: 450 !important;
  margin-top: 1px !important;
}

/* Day Mode Toast */
:is([data-theme="day"], .awebo-day-theme) #toast.is-design-applied,
[data-theme="day"] #toast.is-design-applied {
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ef 100%) !important;
  border: 1px solid rgba(123, 65, 231, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(123, 65, 231, 0.14), 0 8px 24px rgba(123, 65, 231, 0.14), 0 16px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 #ffffff !important;
}

:is([data-theme="day"], .awebo-day-theme) #toast.is-design-applied::before,
[data-theme="day"] #toast.is-design-applied::before {
  background: linear-gradient(90deg, transparent 0%, rgba(123, 65, 231, 0.5) 50%, transparent 100%) !important;
}

:is([data-theme="day"], .awebo-day-theme) #toast.is-design-applied .awebo-toast-title,
[data-theme="day"] #toast.is-design-applied .awebo-toast-title {
  color: #171312 !important;
}

:is([data-theme="day"], .awebo-day-theme) #toast.is-design-applied .awebo-toast-sub,
[data-theme="day"] #toast.is-design-applied .awebo-toast-sub {
  color: #55524e !important;
}



/* Creator Network — dedicated connections view */
.creator-network-page{max-width:1050px;margin:0 auto}
.creator-network-page-header{
  display:flex;align-items:center;gap:18px;
  padding:22px 0;
}
.creator-network-page-header h1{
  margin:0;font-size:25px;line-height:1.2;
}
.creator-network-page-header p{margin:4px 0 0}
.creator-network-page-back{
  display:grid;place-items:center;width:38px;height:38px;
  border-radius:50%;text-decoration:none;
  color:var(--ink);font-size:23px;
}
.creator-network-page-back:hover{background:var(--surface-soft)}
.creator-network-page-tabs{
  display:flex;overflow-x:auto;gap:30px;
  border-bottom:1px solid var(--line);
}
.creator-network-page-tabs a{
  padding:15px 4px;text-decoration:none;white-space:nowrap;
  color:var(--muted);font-size:14px;font-weight:600;
  border-bottom:3px solid transparent;
}
.creator-network-page-tabs a.is-active{
  color:var(--ink);border-bottom-color:#7c3aed;
}
.creator-network-page-results{
  max-width:780px;padding:22px 0;
}
.creator-network-item{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 15px;border-bottom:1px solid var(--line);
  text-decoration:none;color:var(--ink);
}
.creator-network-item:hover{background:var(--surface-soft)}
.creator-network-item-name{font-weight:650}
@media(max-width:600px){
  .creator-network-page-tabs{gap:20px}
  .creator-network-page-tabs a{font-size:12px}
}

/* Creator Network final navigation polish */
.creator-network-page-avatar{
  width:52px;
  height:52px;
  flex:0 0 52px;
  border-radius:50%;
  overflow:hidden;
}
.creator-network-page-avatar .person-avatar,
.creator-network-page-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
}
.creator-network-page-tabs a,
.public-person-social .social-counts span[role="link"]{
  cursor:pointer!important;
}
.creator-network-page-tabs a:hover,
.public-person-social .social-counts span[role="link"]:hover{
  color:#9060ee!important;
}

/* Creator Network — minimal connection rows */
.creator-network-page-results .creator-network-item{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  padding:16px 12px;
  min-height:84px;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
}
.creator-network-page-results .creator-network-item:hover{
  background:var(--surface-soft);
}
.creator-network-avatar,
.creator-network-logo{
  width:52px;
  height:52px;
  min-width:52px;
  flex:0 0 52px;
  overflow:hidden;
}

.creator-network-avatar{
  display:block;
  border-radius:50%;
  aspect-ratio:1 / 1;
}

.creator-network-avatar .person-avatar,
.creator-network-avatar .person-avatar.large{
  display:block;
  width:100% !important;
  height:100% !important;
  min-width:0;
  min-height:0;
  border-radius:50%;
  overflow:hidden;
  line-height:1;
}

.creator-network-avatar .person-avatar img,
.creator-network-avatar img{
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  object-position:center;
  border-radius:50%;
}

.creator-network-logo{
  display:block;
  border-radius:12px;
  background:var(--surface-soft);
}

.creator-network-logo .brand-logo,
.creator-network-logo img{
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  object-position:center;
  border-radius:12px;
}
.creator-network-item-info{
  display:flex;
  flex:1;
  min-width:0;
  flex-direction:column;
  gap:3px;
}
.creator-network-item-info strong{
  color:var(--ink);
  font-size:14px;
  font-weight:700;
}
.creator-network-item-info small{
  color:var(--muted);
  font-size:12px;
}
.creator-network-bio{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  overflow-wrap:anywhere;
}
.creator-network-arrow{
  flex:0 0 auto;
  color:var(--muted);
  font-size:17px;
}
@media(max-width:600px){
  .creator-network-page-results .creator-network-item{
    gap:11px;
    padding:13px 4px;
  }
  .creator-network-avatar,
  .creator-network-logo{
    width:44px;
    height:44px;
    flex-basis:44px;
  }
}
/* Creator Network — Follow controls */
.creator-network-identity{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  flex:1;
  text-decoration:none;
  color:inherit;
}
.creator-network-identity:hover .creator-network-item-info strong{
  color:#9060ee;
}
.creator-network-follow{
  flex-shrink:0;
  min-width:90px;
  border-radius:999px!important;
  font-size:12px;
  cursor:pointer;
}
.creator-network-page-results .creator-network-item{
  justify-content:space-between;
}
@media(max-width:600px){
  .creator-network-identity{gap:10px}
  .creator-network-follow{min-width:76px}
}

/* Creator Network — final follow button states */
.creator-network-page-results button.creator-network-follow{
  appearance:none;
  background:#7c3aed!important;
  color:#fff!important;
  border:1px solid #7c3aed!important;
  border-radius:999px;
  padding:10px 16px;
  font-size:12px;
  font-weight:650;
  cursor:pointer;
  transition:background-color .15s ease;
}
.creator-network-page-results button.creator-network-follow:is(:hover,:active,:focus-visible){
  background:#6930d4!important;
  color:#fff!important;
  border-color:#6930d4!important;
}
.creator-network-page-results button.creator-network-follow[data-following="true"]{
  background:#ede2ff!important;
  color:#7134d6!important;
  border-color:#c9a9fc!important;
}
.creator-network-page-results button.creator-network-follow[data-following="true"]:is(:hover,:active,:focus-visible){
  background:#dec9ff!important;
  color:#6024bf!important;
  border-color:#a77df2!important;
}
.creator-network-page-results button.creator-network-follow:disabled{
  opacity:.65;
  cursor:wait;
}

/* Favourite Creators Cards & Actions */
.favourite-creators-wrap {
  width: 100%;
}
.favourite-creator-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  transition: opacity 0.25s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.favourite-creator-card.is-unfollowed {
  opacity: 0.5;
}
.favourite-creator-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.favourite-card-btn {
  padding: 6px 14px;
  font-size: 12px;
  text-decoration: none;
}
.favourite-creator-card .creator-network-follow {
  margin-left: auto;
}

/* Favourite Creators — Following button contrast (Night Mode) */
html:not([data-theme="day"]) .favourite-creator-card .favourite-unfollow-btn,
[data-theme="night"] .favourite-creator-card .favourite-unfollow-btn {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #ffffff !important;
  font-weight: 700;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

html:not([data-theme="day"]) .favourite-creator-card .favourite-unfollow-btn:is(:hover, :active),
[data-theme="night"] .favourite-creator-card .favourite-unfollow-btn:is(:hover, :active) {
  background: #e5e5e5 !important;
  color: #111111 !important;
  border-color: #e5e5e5 !important;
}

html:not([data-theme="day"]) .favourite-creator-card .favourite-unfollow-btn:focus-visible,
[data-theme="night"] .favourite-creator-card .favourite-unfollow-btn:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

html:not([data-theme="day"]) .favourite-creator-card .favourite-unfollow-btn:disabled,
[data-theme="night"] .favourite-creator-card .favourite-unfollow-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Favourite Creators — Following button contrast (Day Mode) */
html[data-theme="day"] .favourite-creator-card .favourite-unfollow-btn,
[data-theme="day"] .favourite-creator-card .favourite-unfollow-btn {
  background: #171312 !important;
  color: #ffffff !important;
  border: 1px solid #171312 !important;
  font-weight: 700;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

html[data-theme="day"] .favourite-creator-card .favourite-unfollow-btn:is(:hover, :active),
[data-theme="day"] .favourite-creator-card .favourite-unfollow-btn:is(:hover, :active) {
  background: #2b2625 !important;
  color: #ffffff !important;
  border-color: #2b2625 !important;
}

html[data-theme="day"] .favourite-creator-card .favourite-unfollow-btn:focus-visible,
[data-theme="day"] .favourite-creator-card .favourite-unfollow-btn:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

html[data-theme="day"] .favourite-creator-card .favourite-unfollow-btn:disabled,
[data-theme="day"] .favourite-creator-card .favourite-unfollow-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

:is([data-theme="day"], .awebo-day-theme, body[data-theme="day"], body.day-mode) .favourite-creator-actions {
  border-top-color: rgba(0, 0, 0, 0.08);
}
.favourite-creators-empty-wrap {
  padding: 56px 16px;
  text-align: center;
}

/* Favourite Creators Empty State — Sign In button contrast (Night Mode) */
html:not([data-theme="day"]) .favourite-creators-empty-wrap .favourite-signin-btn,
[data-theme="night"] .favourite-creators-empty-wrap .favourite-signin-btn,
html:not([data-theme="day"]) .favourite-creators-empty-wrap a[href="#/login"].button.primary,
[data-theme="night"] .favourite-creators-empty-wrap a[href="#/login"].button.primary {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #ffffff !important;
  font-weight: 700;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

html:not([data-theme="day"]) .favourite-creators-empty-wrap .favourite-signin-btn:is(:hover, :active),
[data-theme="night"] .favourite-creators-empty-wrap .favourite-signin-btn:is(:hover, :active),
html:not([data-theme="day"]) .favourite-creators-empty-wrap a[href="#/login"].button.primary:is(:hover, :active),
[data-theme="night"] .favourite-creators-empty-wrap a[href="#/login"].button.primary:is(:hover, :active) {
  background: #e5e5e5 !important;
  color: #111111 !important;
  border-color: #e5e5e5 !important;
}

html:not([data-theme="day"]) .favourite-creators-empty-wrap .favourite-signin-btn:focus-visible,
[data-theme="night"] .favourite-creators-empty-wrap .favourite-signin-btn:focus-visible,
html:not([data-theme="day"]) .favourite-creators-empty-wrap a[href="#/login"].button.primary:focus-visible,
[data-theme="night"] .favourite-creators-empty-wrap a[href="#/login"].button.primary:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

html:not([data-theme="day"]) .favourite-creators-empty-wrap .favourite-signin-btn:disabled,
html:not([data-theme="day"]) .favourite-creators-empty-wrap .favourite-signin-btn[aria-disabled="true"],
[data-theme="night"] .favourite-creators-empty-wrap .favourite-signin-btn:disabled,
[data-theme="night"] .favourite-creators-empty-wrap .favourite-signin-btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Favourite Creators Empty State — Sign In button contrast (Day Mode) */
html[data-theme="day"] .favourite-creators-empty-wrap .favourite-signin-btn,
[data-theme="day"] .favourite-creators-empty-wrap .favourite-signin-btn,
html[data-theme="day"] .favourite-creators-empty-wrap a[href="#/login"].button.primary,
[data-theme="day"] .favourite-creators-empty-wrap a[href="#/login"].button.primary {
  background: #171312 !important;
  color: #ffffff !important;
  border: 1px solid #171312 !important;
  font-weight: 700;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

html[data-theme="day"] .favourite-creators-empty-wrap .favourite-signin-btn:is(:hover, :active),
[data-theme="day"] .favourite-creators-empty-wrap .favourite-signin-btn:is(:hover, :active),
html[data-theme="day"] .favourite-creators-empty-wrap a[href="#/login"].button.primary:is(:hover, :active),
[data-theme="day"] .favourite-creators-empty-wrap a[href="#/login"].button.primary:is(:hover, :active) {
  background: #2b2625 !important;
  color: #ffffff !important;
  border-color: #2b2625 !important;
}

html[data-theme="day"] .favourite-creators-empty-wrap .favourite-signin-btn:focus-visible,
[data-theme="day"] .favourite-creators-empty-wrap .favourite-signin-btn:focus-visible,
html[data-theme="day"] .favourite-creators-empty-wrap a[href="#/login"].button.primary:focus-visible,
[data-theme="day"] .favourite-creators-empty-wrap a[href="#/login"].button.primary:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

html[data-theme="day"] .favourite-creators-empty-wrap .favourite-signin-btn:disabled,
html[data-theme="day"] .favourite-creators-empty-wrap .favourite-signin-btn[aria-disabled="true"],
[data-theme="day"] .favourite-creators-empty-wrap .favourite-signin-btn:disabled,
[data-theme="day"] .favourite-creators-empty-wrap .favourite-signin-btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Connections — Profile Connections Redesign */
.connections-panel{
  width:100%;
}
.connections-metrics-bar{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-bottom:26px;
}
.connections-metric-item{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:16px 20px;
  border-radius:14px;
  background:var(--surface, #111216);
  border:1px solid var(--line-strong, #3d4050);
  box-shadow:0 2px 10px rgba(0,0,0,0.14);
  cursor:pointer;
  user-select:none;
  outline:none;
  transition:border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.connections-metric-item:hover,
.connections-metric-item:focus-visible{
  border-color:rgba(123, 65, 231, 0.55);
  transform:translateY(-1px);
}
.connections-metric-item.is-active{
  border-color:#7c3aed;
  background:var(--surface-soft, #181920);
}
.connections-metric-item small{
  font-size:11px;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--muted, #a4a7b5);
}
.connections-metric-item strong{
  font-size:26px;
  letter-spacing:-.03em;
  color:var(--ink, #ffffff);
  font-weight:780;
  line-height:1.1;
}

/* Day Mode Metrics */
:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .connections-metric-item{
  background:#ffffff !important;
  border-color:var(--line, #DED5CE) !important;
  box-shadow:0 2px 8px rgba(68, 48, 45, 0.05) !important;
}
:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .connections-metric-item:hover,
:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .connections-metric-item:focus-visible{
  border-color:#a27aff !important;
}
:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .connections-metric-item.is-active{
  border-color:#7c3aed !important;
  background:#FAF7F3 !important;
}
:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .connections-metric-item small{
  color:var(--muted, #968A84) !important;
}
:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .connections-metric-item strong{
  color:var(--ink, #171312) !important;
}

/* Tabs */
.creator-network-page-tabs.connections-tabs{
  margin-bottom:4px;
}
.creator-network-page-tabs button.connection-tab{
  appearance:none;
  background:transparent !important;
  border:none !important;
  border-bottom:3px solid transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:15px 4px;
  margin:0;
  text-decoration:none;
  white-space:nowrap;
  color:var(--muted) !important;
  font-size:14px;
  font-weight:600;
  font-family:inherit;
  cursor:pointer !important;
  outline:none;
  transition:color .15s ease, border-color .15s ease;
}
.creator-network-page-tabs button.connection-tab:hover,
.creator-network-page-tabs button.connection-tab:focus-visible{
  color:#9060ee !important;
}
.creator-network-page-tabs button.connection-tab.is-active,
.creator-network-page-tabs button.connection-tab[aria-selected="true"]{
  color:var(--ink) !important;
  border-bottom-color:#7c3aed !important;
}

:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .creator-network-page-tabs button.connection-tab{
  color:var(--muted, #968A84) !important;
}
:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .creator-network-page-tabs button.connection-tab:hover,
:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .creator-network-page-tabs button.connection-tab:focus-visible{
  color:#7c3aed !important;
}
:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .creator-network-page-tabs button.connection-tab.is-active,
:is([data-theme="day"], html[data-theme="day"], body[data-theme="day"]) .creator-network-page-tabs button.connection-tab[aria-selected="true"]{
  color:var(--ink, #171312) !important;
  border-bottom-color:#7c3aed !important;
}

#profile-connections .creator-network-page-results{
  max-width:100%;
  padding:8px 0 16px;
}

.creator-network-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  margin-top:20px;
  padding:12px 0;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
}
.creator-network-pagination button{
  min-height:36px;
  padding:6px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
}

@media(max-width:640px){
  .connections-metrics-bar{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
    margin-bottom:18px;
  }
  .connections-metric-item{
    padding:12px 10px;
    border-radius:10px;
    gap:4px;
  }
  .connections-metric-item small{
    font-size:9.5px;
    letter-spacing:.03em;
  }
  .connections-metric-item strong{
    font-size:20px;
  }
}
@media(max-width:440px){
  .connections-metrics-bar{
    grid-template-columns:1fr;
    gap:8px;
  }
  .connections-metric-item{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding:12px 14px;
  }
  .connections-metric-item strong{
    font-size:18px;
  }
}


/* Profile Saved — product cards */
.account-workspace #my-favorites.product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px 20px;
}

.account-workspace #my-favorites .product-card{
  width:100%;
  min-width:0;
}

.account-workspace #my-favorites .product-card-media{
  aspect-ratio:1/1;
}

@media(max-width:1100px){
  .account-workspace #my-favorites.product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .account-workspace #my-favorites.product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px 12px;
  }
}

/* Patch 2H — Favorites product cards */
.account-workspace #my-favorites .product-card{
  padding:0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
}
.account-workspace #my-favorites .product-card-media{
  aspect-ratio:1/1;
  background:#12101a;
  border-radius:0;
  overflow:hidden;
}
.account-workspace #my-favorites .product-card-media .product-mockup{
  background:#12101a;
}
[data-theme="day"] .account-workspace #my-favorites .product-card-media,
[data-theme="day"] .account-workspace #my-favorites .product-card-media .product-mockup{
  background:#e9e8f0;
}
.account-workspace #my-favorites .product-card-media>img,
.account-workspace #my-favorites .product-card-media>.product-mockup{
  display:block;
  width:100%;
  height:100%;
  margin:0;
  object-fit:contain;
}
.account-workspace #my-favorites .product-card-body{
  margin:0;
  padding:16px;
  background:var(--surface);
}

/* Patch 2H — All available colors in one row */
.product-card-swatches{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:safe center;
  gap:5px;
  max-width:calc(100% - 20px);
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}
.product-card-swatches::-webkit-scrollbar{
  display:none;
}
.product-card-swatch{
  flex:0 0 auto;
}

/* Product Page — color selector */
.product-color-native{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
.product-detail-colors{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:8px 0 18px;
}
.product-detail-color-swatch{
  display:inline-flex!important;
  flex:0 0 34px;
  align-items:center;
  justify-content:center;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  max-width:34px!important;
  max-height:34px!important;
  aspect-ratio:1/1;
  box-sizing:border-box!important;
  padding:4px!important;
  border:1px solid var(--line,rgba(128,128,128,.35));
  border-radius:50%!important;
  line-height:0!important;
  overflow:visible!important;
  background:transparent;
  cursor:pointer;
}
.product-detail-color-swatch span{
  display:block;
  flex:0 0 auto;
  width:22px!important;
  height:22px!important;
  aspect-ratio:1/1;
  box-sizing:border-box;
  border:1px solid rgba(128,128,128,.2);
  border-radius:50%!important;
}
.product-detail-color-swatch.is-selected{
  border:2px solid var(--accent,#8955e8);
  border-color:var(--accent,#8955e8)!important;
}
.product-detail-color-swatch:focus-visible{
  outline:2px solid var(--accent,#8955e8);
  outline-offset:3px;
}

/* Small swatches — preserve a perfect circle */
.product-card-swatch,
.product-card-swatch .product-swatch-circle{
  aspect-ratio:1/1;
  border-radius:50%!important;
  box-sizing:border-box!important;
}

/* Product cards — unified subtle selection glow */
.product-card .product-card-swatch.is-selected,
.awebo-product-card .product-card-swatch.is-selected{
  outline:none!important;
  border:none!important;
  box-shadow:none!important;
}

.product-card .product-card-swatch.is-selected .product-swatch-circle,
.awebo-product-card .product-card-swatch.is-selected .product-swatch-circle{
  outline:none!important;
  border:1px solid rgba(255,255,255,.20)!important;
  border-radius:50%!important;
  box-shadow:0 0 0 1px rgba(147,100,255,.22),
             0 0 4px rgba(147,100,255,.17)!important;
}

/* Product Page 2.0 — editorial commerce layout */
.product-detail{
  gap:clamp(20px,2.5vw,38px);
  align-items:start;
}
.product-detail .product-info-panel{
  padding:clamp(24px,2.4vw,38px);
  border-radius:22px;
}
.product-detail .product-title{
  font-size:clamp(28px,2.5vw,40px);
  line-height:1.1;
  letter-spacing:-.035em;
  margin:12px 0;
}
.product-detail .product-creator-attribution{
  margin-bottom:18px;
  font-size:13px;
}
.product-detail .product-price-section{
  margin:22px 0;
}
.product-detail .product-price-section .price{
  font-size:clamp(26px,2.3vw,34px);
  font-weight:800;
  letter-spacing:-.025em;
}
.product-detail .product-provenance{
  gap:8px;
  margin:22px 0;
}
.product-detail .provenance-item{
  border-radius:12px;
}
.product-detail .product-detail-colors{
  margin:14px 0 20px;
  gap:12px;
}
.product-detail .product-purchase-cta-wrap button{
  min-height:48px;
  border-radius:12px;
}

/* Product Page 2.0 — Editorial product details */
.published-product-details{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);
  gap:clamp(28px,4vw,64px);
  align-items:start;
  margin:38px 0 24px;
  padding:clamp(28px,3.5vw,48px);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:22px;
  color:var(--ink);
}

.product-details-eyebrow{
  display:block;
  color:var(--accent);
  font-size:10px;
  font-weight:750;
  letter-spacing:.14em;
}

.product-details-intro h2{
  margin:14px 0 20px;
  font-size:clamp(30px,3vw,42px);
  line-height:1.1;
  letter-spacing:-.04em;
}

.product-details-intro p{
  max-width:44ch;
  font-size:14px;
  line-height:1.75;
}

.product-details-content>h3{
  margin:0 0 18px;
  font-size:17px;
  font-weight:700;
}

.product-spec-list{
  margin:0 0 24px;
}

.product-spec-row{
  display:grid;
  grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  font-size:13px;
}

.product-spec-row span{
  color:var(--muted);
}

.product-spec-row strong{
  text-align:right;
  font-weight:550;
}

.product-details-content details{
  padding:18px 0;
  border-bottom:1px solid var(--line);
}

.product-details-content summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  font-size:13px;
  font-weight:650;
  list-style:none;
}

.product-details-content summary::-webkit-details-marker{
  display:none;
}

.product-details-content summary::after{
  content:'+';
  color:var(--muted);
  font-size:19px;
  font-weight:400;
}
.product-details-content details[open] summary::after{
  content:'−';
}
.product-details-content details>p,
.product-details-content details>ul{
  margin:16px 0 0;
  color:var(--muted);
  line-height:1.7;
  font-size:13px;
}
.product-size-table-wrap{
  overflow-x:auto;
  margin-top:18px;
}
.product-size-table{
  width:100%;
  border-collapse:collapse;
  font-size:12px;
}
.product-size-table th,
.product-size-table td{
  padding:12px 10px;
  text-align:left;
  border-bottom:1px solid var(--line);
}
/* Product Page 2.0 — selected color label */
.product-detail .product-color-heading{
  display:flex;
  align-items:center;
  gap:10px;
  margin:20px 0 4px;
  font-size:13px;
}
.product-color-heading span{
  font-weight:700;
}
.product-color-heading strong{
  color:var(--muted);
  font-weight:500;
}

/* Editorial specifications — readability */
.published-product-details .product-details-intro p{
  color:var(--ink);
  opacity:.76;
}
.published-product-details .product-spec-row{
  line-height:1.55;
}

/* Account UX & Password Recovery */
.auth-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
.auth-forgot-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent, #7732d8);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.auth-forgot-link:hover {
  color: var(--accent-light, #9a5cf0);
  text-decoration: underline;
}
.auth-form-footer {
  margin-top: 20px;
  text-align: center;
}
.auth-back-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted, #8e8e93);
  text-decoration: none;
  transition: color 0.15s ease;
}
.auth-back-link:hover {
  color: var(--ink, #ffffff);
  text-decoration: underline;
}
html[data-theme="day"] .auth-back-link:hover {
  color: #111827;
}
.auth-success-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--ink, #ffffff);
}
html[data-theme="day"] .auth-success-card {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: #111216;
}
.auth-success-icon {
  flex-shrink: 0;
  color: #22c55e;
  margin-top: 2px;
}
.auth-success-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.auth-success-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2, #a4a7b5);
}
html[data-theme="day"] .auth-success-card p {
  color: #4b5563;
}

/* Brand Studio — Your story counter & styling */
.studio-story-unit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.studio-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.studio-char-counter {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #8e8e93);
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}
.studio-char-counter.is-overflow {
  color: #ef4444 !important;
  font-weight: 700;
}
.studio-story-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong, #272832);
  background: var(--surface, #111216);
  color: var(--ink, #ffffff);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html[data-theme="day"] .studio-story-textarea {
  background: #ffffff;
  border-color: #d1d5db;
  color: #111827;
}
.studio-story-textarea:focus {
  outline: none;
  border-color: var(--accent, #7732d8);
  box-shadow: 0 0 0 3px rgba(119, 50, 216, 0.15);
}

/* ==========================================================================
   AWEBO — RELEASE 2: NOTIFICATIONS SYSTEM
   Metallic aesthetics, day/night theme, dropdown panel, history & preferences
   ========================================================================== */

/* Header Control & Bell Button */
.notifications-control {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notifications-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line-strong, #3d4050);
  color: var(--ink-2, #d8dae5);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.notifications-icon-btn:hover {
  background: var(--surface-strong, #20222b);
  border-color: #7B41E7;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(123, 65, 231, 0.2);
}

.notifications-icon-btn:active {
  transform: translateY(0);
}

.notifications-bell-icon {
  width: 19px;
  height: 19px;
  transition: transform 0.2s ease;
}

.notifications-icon-btn:hover .notifications-bell-icon {
  transform: rotate(8deg);
}

/* Badge */
.notifications-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0.02em;
  border: 2px solid var(--surface, #111216);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
  animation: badgePop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Dropdown Panel */
.notifications-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 390px;
  max-width: calc(100vw - 24px);
  max-height: 520px;
  background: #111216 !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong, #3d4050) !important;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
  display: flex;
  flex-direction: column;
  z-index: 10002 !important;
  overflow: hidden;
  animation: panelSlideFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes panelSlideFade {
  0% { opacity: 0; transform: translateY(-6px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Panel Header */
.notifications-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line, #272832);
  background: rgba(24, 25, 32, 0.95);
}

.notifications-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notifications-panel-title strong {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--ink, #ffffff);
  letter-spacing: -0.01em;
}

.panel-unread-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(123, 65, 231, 0.18);
  color: #c084fc;
  border: 1px solid rgba(123, 65, 231, 0.35);
}

.panel-action-btn {
  background: transparent;
  border: 0;
  color: var(--muted, #a4a7b5);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.panel-action-btn:hover {
  color: #ffffff;
  background: var(--surface-soft, #181920);
}

/* Panel Feed List */
.notifications-panel-list {
  flex: 1;
  overflow-y: auto;
  max-height: 380px;
  overscroll-behavior: contain;
}

.notifications-panel-list::-webkit-scrollbar {
  width: 6px;
}

.notifications-panel-list::-webkit-scrollbar-track {
  background: transparent;
}

.notifications-panel-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

/* Empty & Loading Panel States */
.notifications-panel-loading,
.notifications-empty-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 44px 24px !important;
  gap: 8px !important;
}
.notifications-panel-loading {
  color: var(--muted, #a4a7b5) !important;
  font-size: 13px !important;
}
.notifications-empty-panel p {
  margin: 0 !important;
  font-size: 14.5px !important;
  font-weight: 650 !important;
  color: var(--ink, #ffffff) !important;
}
.notifications-empty-panel small {
  display: block !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: var(--muted, #a4a7b5) !important;
  max-width: 260px !important;
}

/* Notification Item */
.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line, #272832);
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  transition: background 0.14s ease, border-color 0.14s ease;
  position: relative;
}

.notification-item:last-child {
  border-bottom: 0;
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.notification-item.is-unread {
  background: rgba(123, 65, 231, 0.06);
}

.notification-item.is-unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #a855f7 0%, #7B41E7 100%);
  box-shadow: 0 0 10px rgba(123, 65, 231, 0.6);
}

.notification-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.notification-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line-strong, #3d4050);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #ffffff);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.notification-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.notification-category-icon {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--surface, #111216);
  border: 1px solid var(--line-strong, #3d4050);
  display: grid;
  place-items: center;
  font-size: 9.5px;
  color: var(--muted, #a4a7b5);
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.notification-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #ffffff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-time {
  font-size: 11.5px;
  color: var(--muted, #8e90a0);
  flex-shrink: 0;
}

.notification-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  display: inline-block;
  margin-left: 5px;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.7);
}

.notification-message {
  font-size: 12.5px;
  color: var(--ink-2, #c8cad8);
  line-height: 1.4;
  margin: 2px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-target-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 650;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line, #272832);
  color: var(--muted, #a4a7b5);
}

.notification-item-actions {
  display: flex;
  align-items: center;
  margin-left: 6px;
  align-self: center;
}

.notification-item-read-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  color: var(--muted, #8e90a0);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.14s ease;
}

.notification-item-read-btn:hover {
  opacity: 1;
  color: #ffffff;
  background: var(--surface-soft, #181920);
  border-color: var(--line-strong, #3d4050);
}

/* Panel Footer */
.notifications-panel-footer {
  padding: 11px 18px;
  border-top: 1px solid var(--line, #272832);
  background: rgba(24, 25, 32, 0.4);
  text-align: center;
}

.panel-view-all-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #c084fc;
  text-decoration: none;
  transition: color 0.14s ease;
}

.panel-view-all-link:hover {
  color: #e9d5ff;
  text-decoration: underline;
}

/* Notifications Empty State */
.notifications-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--muted, #8e90a0);
  font-size: 13px;
}

.notifications-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.notifications-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line-strong, #3d4050);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--muted, #8e90a0);
}

.notifications-empty-title {
  font-size: 15px;
  font-weight: 750;
  color: var(--ink, #ffffff);
  margin-bottom: 4px;
}

.notifications-empty-desc {
  font-size: 13px;
  color: var(--muted, #8e90a0);
  max-width: 320px;
}

/* ==========================================================================
   Notifications History Page View (#/profile/notifications)
   ========================================================================== */
.notifications-history-view {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.notifications-history-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.notifications-history-title-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink, #ffffff);
  margin: 2px 0 4px 0;
  letter-spacing: -0.02em;
}

.notifications-history-subtitle {
  font-size: 13.5px;
  color: var(--muted, #8e90a0);
  margin: 0;
}

.notifications-filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
}

.notifications-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line-strong, #3d4050);
  color: var(--ink-2, #d8dae5);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
  user-select: none;
}

.notifications-filter-chip:hover {
  background: var(--surface-strong, #20222b);
  border-color: var(--line-active, #4f5367);
  color: #ffffff;
}

.notifications-filter-chip.is-active {
  background: #7B41E7;
  border-color: #6530D4;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(123, 65, 231, 0.3);
}

.notifications-history-card {
  background: var(--surface, #111216);
  border: 1px solid var(--line-strong, #3d4050);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.notifications-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--line, #272832);
  background: rgba(24, 25, 32, 0.4);
}

.notifications-page-info {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #8e90a0);
}

.notifications-page-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 650;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line-strong, #3d4050);
  color: var(--ink, #ffffff);
  cursor: pointer;
  transition: all 0.14s ease;
}

.notifications-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.notifications-page-btn:not(:disabled):hover {
  background: var(--surface-strong, #20222b);
  border-color: #7B41E7;
}

/* User dropdown notification count badge */
.dropdown-count-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #7B41E7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  box-sizing: border-box;
}

/* Network & Notification Privacy Options in Settings */
.network-privacy-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line-strong, #3d4050);
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink, #ffffff);
  transition: all 0.14s ease;
}

.network-privacy-option:hover {
  background: var(--surface-strong, #20222b);
  border-color: #7B41E7;
}

.network-privacy-option input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #7B41E7;
  cursor: pointer;
}

/* ==========================================================================
   Day Theme Adjustments
   ========================================================================== */
[data-theme="day"] .notifications-icon-btn {
  background: #FFFFFF;
  border-color: var(--line, #DED5CE);
  color: var(--ink, #171312);
  box-shadow: 0 2px 8px rgba(68, 48, 45, 0.08);
}

[data-theme="day"] .notifications-icon-btn:hover {
  background: var(--day-purple-100, #EFE9FF);
  border-color: #7B41E7;
  color: #6530D4;
}

[data-theme="day"] .notifications-badge {
  border-color: #FFFFFF;
}

[data-theme="day"] .notifications-dropdown-panel {
  background: #FFFFFF !important;
  border-color: #E8E2DC !important;
  box-shadow: 0 18px 48px rgba(23, 19, 18, 0.14), 0 2px 8px rgba(23, 19, 18, 0.05) !important;
}

[data-theme="day"] .notifications-panel-header,
[data-theme="day"] .notifications-panel-footer,
[data-theme="day"] .notifications-pagination {
  background: #FAF8F6 !important;
  border-color: #E8E2DC !important;
}

[data-theme="day"] .notifications-panel-title strong,
[data-theme="day"] .notifications-history-title-wrap h2,
[data-theme="day"] .notifications-empty-title,
[data-theme="day"] .notifications-empty-panel p {
  color: #171312 !important;
}

[data-theme="day"] .notifications-empty-panel small,
[data-theme="day"] .notifications-panel-loading {
  color: #78716C !important;
}

[data-theme="day"] .panel-unread-pill {
  background: #F0EAFA !important;
  color: #6530D4 !important;
  border-color: rgba(101, 48, 212, 0.25) !important;
}

[data-theme="day"] .panel-action-btn {
  color: #6530D4 !important;
}

[data-theme="day"] .panel-action-btn:hover {
  color: #4C22A7 !important;
  background: #F0EAFA !important;
}

[data-theme="day"] .notifications-panel-footer a {
  color: #6530D4 !important;
  font-weight: 700 !important;
}

[data-theme="day"] .notification-item {
  border-bottom-color: #F0EAE4 !important;
}

[data-theme="day"] .notification-item:hover {
  background: #FAF8F6 !important;
}

[data-theme="day"] .notification-item.is-unread {
  background: #FAF5FF !important;
}

[data-theme="day"] .notification-item.is-unread:hover {
  background: #F3E8FF !important;
}

[data-theme="day"] .notification-avatar,
[data-theme="day"] .notif-avatar {
  background: #F0EAFA !important;
  border-color: #E8E2DC !important;
  color: #6530D4 !important;
}

[data-theme="day"] .notification-title,
[data-theme="day"] .notif-title {
  color: #171312 !important;
}

[data-theme="day"] .notification-message,
[data-theme="day"] .notif-text {
  color: #574F4A !important;
}

[data-theme="day"] .notif-time {
  color: #928B84 !important;
}

[data-theme="day"] .notifications-history-card {
  background: #FFFFFF;
  border-color: var(--line, #DED5CE);
  box-shadow: 0 8px 24px rgba(68, 48, 45, 0.08);
}

[data-theme="day"] .notifications-filter-chip {
  background: #FFFFFF;
  border-color: var(--line, #DED5CE);
  color: var(--ink, #171312);
}

[data-theme="day"] .notifications-filter-chip:hover {
  background: var(--day-purple-100, #EFE9FF);
  color: #6530D4;
}

[data-theme="day"] .network-privacy-option {
  background: #FFFFFF;
  border-color: var(--line, #DED5CE);
  color: var(--ink, #171312);
}

[data-theme="day"] .network-privacy-option:hover {
  background: var(--day-purple-100, #EFE9FF);
  border-color: #7B41E7;
}

/* Day Mode Transient Validation Flash */
:is([data-theme="day"], .awebo-day-theme) .creator-accordion-item.validation-flash,
:is([data-theme="day"], .awebo-day-theme) .creator-accordion-header.validation-flash {
  border-color: rgba(220, 38, 38, 0.6) !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2), 0 4px 14px rgba(220, 38, 38, 0.12) !important;
}
:is([data-theme="day"], .awebo-day-theme) input.validation-flash {
  border-color: rgba(220, 38, 38, 0.7) !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.18) !important;
}

/* ==========================================================================
   Mobile Responsive Adjustments
   ========================================================================== */
@media (max-width: 600px) {
  .notifications-dropdown-panel {
    position: fixed !important;
    top: calc(var(--header, 62px) + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 84px) !important;
    border-radius: 16px !important;
    z-index: 10002 !important;
  }
  .notifications-history-header {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Item sub-elements generated in notificationItemHtml */
.notif-media {
  flex-shrink: 0;
}
.notif-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface-soft, #181920);
  border: 1px solid var(--line-strong, #3d4050);
}
.notif-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.notif-icon-avatar {
  color: #c084fc;
}
.notif-body {
  flex: 1;
  min-width: 0;
}
.notif-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.notif-cat-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 1px 6px;
  border-radius: 4px;
}
.notif-cat-social {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.notif-cat-brands {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.notif-cat-commerce {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.notif-cat-platform {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.notif-time {
  font-size: 11px;
  color: var(--muted, #8e90a0);
}
.notif-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink, #ffffff);
  line-height: 1.3;
}
.notif-text {
  font-size: 12.5px;
  color: var(--ink-2, #c8cad8);
  margin: 3px 0 0 0;
  line-height: 1.4;
}
.notif-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 8px;
}
.notif-mark-single-read {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong, #3d4050);
  background: var(--surface-soft, #181920);
  color: var(--muted, #8e90a0);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.14s ease;
}
.notif-mark-single-read:hover {
  background: #7B41E7;
  border-color: #6530D4;
  color: #ffffff;
}
.notif-chevron {
  font-size: 14px;
  color: var(--muted, #8e90a0);
  opacity: 0.6;
  transition: transform 0.14s ease, opacity 0.14s ease;
}
.notification-item:hover .notif-chevron {
  opacity: 1;
  transform: translateX(2px);
}
.notifications-history-list {
  display: flex;
  flex-direction: column;
  background: var(--surface, #111216);
  border: 1px solid var(--line-strong, #3d4050);
  border-radius: 16px;
  overflow: hidden;
}
.notif-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.notif-filter-btn {
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
.notif-filter-btn.is-active {
  background: #7B41E7 !important;
  border-color: #6530D4 !important;
  color: #ffffff !important;
}

[data-theme="day"] .notif-avatar {
  background: #FFFFFF;
  border-color: var(--line, #DED5CE);
}
[data-theme="day"] .notif-title {
  color: var(--ink, #171312);
}
[data-theme="day"] .notif-text {
  color: #4b5563;
}
[data-theme="day"] .notifications-history-list {
  background: #FFFFFF;
  border-color: var(--line, #DED5CE);
  box-shadow: 0 4px 18px rgba(68, 48, 45, 0.06);
}
[data-theme="day"] .notif-mark-single-read {
  background: #FFFFFF;
  border-color: var(--line, #DED5CE);
}
[data-theme="day"] .notif-mark-single-read:hover {
  background: #7B41E7;
  color: #ffffff;
}




/* AWEBO PRODUCT DETAIL NIGHT BACKGROUND */
html:not([data-theme="day"]):not(.awebo-day-theme)
body:not([data-theme="day"]):not(.awebo-day-theme)
.product-detail .product-photo.product-main-visual {
  background: #000000 !important;
}

.product-detail :is(
  .product-visual-stage,
  .product-visual-stage > img,
  .product-visual-stage .product-mockup
) {
  background: transparent !important;
}


/* Phase 5.6 — Creator Asset Library */
#studio-upload .studio-library-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
#studio-upload #studio-folder-create {
  display:grid;
  place-items:center;
  width:32px;
  height:30px;
  padding:5px;
  border:1px solid rgba(139,92,246,.3);
  border-radius:7px;
  background:rgba(139,92,246,.09);
  color:#9561ed;
  cursor:pointer;
}
#studio-upload #studio-folder-create svg {
  width:20px;
  height:20px;
}
#studio-upload #studio-folder-navigation {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
  margin:6px 0;
  font-size:11px;
}
#studio-upload #studio-folder-navigation button {
  border:0;
  background:transparent;
  color:#9561ed;
  cursor:pointer;
  padding:4px;
}
#studio-upload .studio-folder-current {
  overflow-wrap:anywhere;
}
#studio-upload #studio-folder-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-bottom:8px;
}
#studio-upload .studio-library-folder {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:82px;
  padding:9px 5px;
  border:1px solid rgba(139,92,246,.25);
  border-radius:8px;
  background:rgba(139,92,246,.07);
  color:inherit;
  cursor:pointer;
}
#studio-upload .studio-library-folder svg {
  width:30px;
  height:30px;
  color:#9561ed;
}
#studio-upload .studio-library-folder span {
  width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  font-weight:600;
}
#studio-upload .studio-library-folder small {
  font-size:9px;
  opacity:.65;
}
#studio-upload .studio-library-folder.is-drop-target {
  outline:2px dashed #9561ed;
  background:rgba(139,92,246,.2);
}
#studio-upload .studio-library-move {
  width:100%;
  min-width:0;
  margin-top:4px;
  padding:4px;
  border:1px solid rgba(139,92,246,.25);
  border-radius:5px;
  background:transparent;
  color:inherit;
  font-size:10px;
}


/* Phase 5.7 - Compact composer and emoji picker */
#profile-post-composer .composer-icon-only {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  border-radius: 8px;
  color: #ff5c35;
}

#profile-post-composer .composer-icon-only:hover {
  background: rgba(255,92,53,.10);
}

#profile-post-composer .composer-icon-only svg {
  width: 19px;
  height: 19px;
}

#profile-post-composer .composer-emoji-picker[hidden] {
  display: none !important;
}

#profile-post-composer .composer-emoji-picker {
  width: min(100%, 340px);
  box-sizing: border-box;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--line-strong, #32364a);
  border-radius: 12px;
  background: var(--surface-soft, #191c27);
  color: var(--ink, #ffffff);
}

.composer-emoji-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}

#composer-emoji-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
}

.composer-emoji-categories {
  max-height: 260px;
  overflow-y: auto;
}

.composer-emoji-categories h4 {
  font-size: 11px;
  color: var(--muted, #8e92a4);
  font-weight: 600;
  margin: 10px 0 6px;
}

.composer-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 3px;
}

.composer-emoji-grid button {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 3px 0;
  font-size: 21px;
  line-height: 1.3;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.composer-emoji-grid button:hover {
  background: rgba(139,92,246,.15);
}


/* Phase 5.7 - Unified inline mentions */

.post-inline-mention {
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.post-inline-mention.brand-mention {
  color: #9561ed;
}

.post-inline-mention.creator-mention {
  color: #ff754f;
}

.post-inline-mention:hover {
  text-decoration: underline;
}

:is([data-theme="day"], .awebo-day-theme, body.day-mode)
.post-inline-mention.brand-mention {
  color: #7138c8;
}

:is([data-theme="day"], .awebo-day-theme, body.day-mode)
.post-inline-mention.creator-mention {
  color: #c34121;
}

#profile-post-composer .composer-toolbar {
  flex-wrap: nowrap;
  gap: 8px;
  padding-top: 8px;
  margin-top: 8px;
}

#profile-post-composer .composer-tools {
  flex: 1 1 auto;
  width: auto;
  gap: 5px;
}

#profile-post-composer .composer-submit-btn {
  width: auto;
  flex: 0 0 auto;
  padding: 0 20px;
}

.composer-mention-filters {
  display: flex;
  flex: 1;
  gap: 5px;
}

.composer-mention-filters button {
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink, #ffffff);
  padding: 6px 9px;
  font-size: 12px;
  cursor: pointer;
}

.composer-mention-filters button[aria-pressed="true"] {
  background: rgba(139,92,246,.15);
  border-color: rgba(139,92,246,.35);
}

.single-mention-category .tag-popover-body {
  grid-template-columns: 1fr;
}

.tag-item-option[data-tag-type="brand"] .tag-opt-avatar {
  border-radius: 6px;
}

.tag-item-option:focus-visible {
  outline: 2px solid #9561ed;
  outline-offset: -2px;
}

/* ==========================================================================
   Phase 5.10.1: Brand Studio Real-Time Publishing Progress
   ========================================================================== */
.studio-publish-progress {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(149, 97, 237, 0.35);
  background: rgba(149, 97, 237, 0.08);
}

.studio-publish-progress.is-complete {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.09);
}

.studio-publish-progress.has-issues {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.08);
}

.studio-publish-progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.studio-publish-progress-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.studio-publish-progress-title {
  font-size: 15px;
  font-weight: 700;
}

.studio-publish-progress-stage {
  font-size: 13px;
  opacity: 0.85;
}

.studio-publish-progress-counter {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(149, 97, 237, 0.18);
  white-space: nowrap;
}

.studio-publish-bar-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}

.studio-publish-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7b41e7, #a78bfa);
  transition: width 180ms ease;
}

.studio-publish-progress.is-complete .studio-publish-bar-fill {
  background: #22c55e;
}

.studio-publish-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.studio-publish-item {
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.studio-publish-item.is-active {
  border-color: rgba(149, 97, 237, 0.6);
}

.studio-publish-item.is-published {
  border-color: rgba(34, 197, 94, 0.4);
}

.studio-publish-item.is-failed,
.studio-publish-item.is-uncertain {
  border-color: rgba(239, 68, 68, 0.45);
}

.studio-publish-item-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.studio-publish-item-name {
  font-size: 13px;
  font-weight: 600;
}

.studio-publish-item-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.studio-publish-item-badge.is-active {
  background: rgba(149, 97, 237, 0.25);
  color: #e9d5ff;
}

.studio-publish-item-badge.is-published {
  background: rgba(34, 197, 94, 0.22);
  color: #bbf7d0;
}

.studio-publish-item-badge.is-failed,
.studio-publish-item-badge.is-uncertain {
  background: rgba(239, 68, 68, 0.22);
  color: #fecaca;
}

.studio-publish-item-error {
  margin: 6px 0 0;
  font-size: 12px;
  color: #fca5a5;
}

.studio-publish-progress-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.studio-batch-product.is-published-card {
  opacity: 0.72;
  border-color: rgba(34, 197, 94, 0.45);
}

:is([data-theme="day"], .awebo-day-theme) .studio-publish-progress {
  background: #f6f2ff;
  border-color: rgba(123, 65, 231, 0.3);
  color: #1f1b2e;
}

:is([data-theme="day"], .awebo-day-theme) .studio-publish-progress.is-complete {
  background: #eefbf3;
  border-color: rgba(22, 163, 74, 0.35);
}

:is([data-theme="day"], .awebo-day-theme) .studio-publish-progress.has-issues {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.35);
}

:is([data-theme="day"], .awebo-day-theme) .studio-publish-bar-track {
  background: rgba(31, 27, 46, 0.1);
}

:is([data-theme="day"], .awebo-day-theme) .studio-publish-item {
  background: #ffffff;
  border-color: rgba(31, 27, 46, 0.1);
}

:is([data-theme="day"], .awebo-day-theme) .studio-publish-item-badge.is-active {
  color: #5b21b6;
}

:is([data-theme="day"], .awebo-day-theme) .studio-publish-item-badge.is-published {
  color: #15803d;
}

:is([data-theme="day"], .awebo-day-theme) .studio-publish-item-badge.is-failed,
:is([data-theme="day"], .awebo-day-theme) .studio-publish-item-badge.is-uncertain,
:is([data-theme="day"], .awebo-day-theme) .studio-publish-item-error {
  color: #b91c1c;
}


/* ==========================================================================
   Global Search & Hashtags 2.0
   ========================================================================== */

/* Clickable Social Hashtags (Night default: #B985F5, Day: #7B41E7 / #6530D4) */
.post-hashtag {
  color: #B985F5;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}

.post-hashtag:hover,
.post-hashtag:focus-visible {
  color: #d4b0ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-hashtag:focus-visible {
  outline: 2px solid #7B41E7;
  outline-offset: 2px;
  border-radius: 3px;
}

:is([data-theme="day"], .awebo-day-theme, body.day-mode) .post-hashtag {
  color: #7B41E7;
}

:is([data-theme="day"], .awebo-day-theme, body.day-mode) .post-hashtag:hover,
:is([data-theme="day"], .awebo-day-theme, body.day-mode) .post-hashtag:focus-visible {
  color: #6530D4;
}

/* Composer # button */
.composer-hashtag-btn .composer-hashtag-glyph {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
}

.composer-hashtag-btn:hover,
.composer-hashtag-btn:focus-visible {
  color: #B985F5;
}

:is([data-theme="day"], .awebo-day-theme, body.day-mode) .composer-hashtag-btn:hover,
:is([data-theme="day"], .awebo-day-theme, body.day-mode) .composer-hashtag-btn:focus-visible {
  color: #7B41E7;
}

/* Prevent header search dropdown clipping */
.site-header,
.site-header .header-inner {
  overflow: visible;
}

#global-search {
  position: relative;
  overflow: visible !important;
}

/* Instant Global Search Autocomplete Dropdown (Night Mode default) */
.global-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 320px;
  max-height: 460px;
  overflow-y: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141418;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(123, 65, 231, 0.12);
  z-index: 1200;
  padding: 6px;
  color: #f4f4f6;
}

.global-search-dropdown[hidden] {
  display: none !important;
}

.gs-results-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gs-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.14s ease, border-color 0.14s ease;
  cursor: pointer;
}

.gs-item:hover,
.gs-item.is-active,
.gs-item:focus-visible {
  background: rgba(123, 65, 231, 0.16);
  outline: none;
}

.gs-item.is-active {
  box-shadow: inset 0 0 0 1px rgba(185, 133, 245, 0.35);
}

.gs-thumb {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gs-thumb-round {
  border-radius: 999px;
}

.gs-thumb-square {
  border-radius: 9px;
}

.gs-thumb-hashtag {
  border-radius: 9px;
  background: rgba(123, 65, 231, 0.2);
  border-color: rgba(185, 133, 245, 0.35);
  color: #B985F5;
  font-size: 16px;
  font-weight: 700;
}

.gs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gs-thumb-product {
  padding: 2px;
}

.gs-thumb-product canvas.product-mockup,
.gs-thumb-product img.product-mockup,
.search-top-match-media.is-product canvas.product-mockup,
.search-top-match-media.is-product img.product-mockup {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.search-top-match-media.is-product {
  padding: 4px;
}

.gs-thumb-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #d4d4dc;
  letter-spacing: 0.04em;
}

.gs-item-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gs-item-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gs-type-hashtag .gs-item-title {
  color: #B985F5;
}

.gs-item-subtitle {
  font-size: 12px;
  color: rgba(244, 244, 246, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gs-item-badge {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  color: rgba(244, 244, 246, 0.68);
  background: rgba(255, 255, 255, 0.06);
}

.gs-status,
.gs-empty {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 12px;
  font-size: 13px;
  color: rgba(244, 244, 246, 0.68);
}

.gs-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(185, 133, 245, 0.28);
  border-top-color: #B985F5;
  animation: aweboSpin 0.7s linear infinite;
  flex: 0 0 14px;
}

@keyframes aweboSpin {
  to { transform: rotate(360deg); }
}

.gs-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #B985F5;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.gs-footer-action:hover,
.gs-footer-action.is-active,
.gs-footer-action:focus-visible {
  background: rgba(123, 65, 231, 0.18);
  color: #e2c7ff;
  outline: none;
}

/* Universal Search Results Page 2.0 */
.search-results-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-page-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-query-summary {
  margin: 0;
  font-size: 14px;
  color: var(--muted, #9a9aa6);
}

.search-canonical-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-canonical-tabs a .search-tab-count {
  font-size: 11px;
  opacity: 0.72;
  margin-left: 3px;
}

.search-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B985F5;
  margin-bottom: 10px;
}

.search-top-match-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(123, 65, 231, 0.34);
  background: linear-gradient(135deg, rgba(123, 65, 231, 0.14), rgba(20, 20, 26, 0.85));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.search-top-match-card:hover,
.search-top-match-card:focus-visible {
  border-color: #7B41E7;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(123, 65, 231, 0.18);
  outline: none;
}

.search-top-match-media {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.search-top-match-media.is-round {
  border-radius: 999px;
}

.search-top-match-media.is-square {
  border-radius: 14px;
}

.search-top-match-media.is-hashtag {
  border-radius: 14px;
  background: rgba(123, 65, 231, 0.24);
  border-color: rgba(185, 133, 245, 0.42);
  color: #B985F5;
  font-size: 28px;
  font-weight: 800;
}

.search-top-match-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-top-match-media.is-fallback {
  font-weight: 700;
  font-size: 18px;
  color: #e5e5ee;
}

.search-top-match-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-top-match-pill {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(123, 65, 231, 0.22);
  color: #d4b0ff;
}

.search-top-match-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.search-top-match-subtitle {
  margin: 0;
  font-size: 13.5px;
  color: rgba(244, 244, 246, 0.74);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-top-match-meta {
  font-size: 12.5px;
  font-weight: 600;
  color: #B985F5;
}

.search-top-match-cta {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 999px;
  background: #7B41E7;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.16s ease;
}

.search-top-match-card:hover .search-top-match-cta {
  background: #6530D4;
}

.search-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.search-view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: #B985F5;
  text-decoration: none;
}

.search-view-all-link:hover {
  text-decoration: underline;
}

.search-hashtags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.hashtag-result-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.hashtag-result-card:hover,
.hashtag-result-card:focus-visible {
  border-color: rgba(185, 133, 245, 0.55);
  background: rgba(123, 65, 231, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.hashtag-card-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(123, 65, 231, 0.2);
  color: #B985F5;
  font-size: 18px;
  font-weight: 800;
}

.hashtag-card-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hashtag-card-tag {
  font-size: 14.5px;
  font-weight: 700;
  color: #B985F5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hashtag-card-count {
  font-size: 12px;
  color: rgba(244, 244, 246, 0.62);
}

.hashtag-card-arrow {
  color: rgba(244, 244, 246, 0.45);
  font-size: 14px;
}

.search-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.search-empty-state {
  padding: 36px 24px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.search-empty-state h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.search-empty-state p {
  margin: 0;
  max-width: 480px;
  font-size: 14px;
  color: var(--muted, #9a9aa6);
}

.search-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 680px) {
  .search-top-match-card {
    flex-wrap: wrap;
    padding: 15px;
    gap: 14px;
  }
  .search-top-match-cta {
    width: 100%;
    text-align: center;
  }
  .search-hashtags-grid {
    grid-template-columns: 1fr;
  }
}
