/* =========================================
   CutyBody • Premium Liquid Glass (FULL)
   Drop-in stylesheet for Bootstrap 5
   ========================================= */

/* Legal documents */
.cb-legal{max-width:860px;margin:0 auto;padding:32px 20px 48px;line-height:1.75;overflow-wrap:anywhere;color:var(--cb-text)}
.cb-legal-header h1{font-size:clamp(2rem,6vw,3rem);font-weight:750;margin:8px 0 16px;line-height:1.15}
.cb-legal-kicker,.cb-legal-version{font-size:.82rem;color:var(--cb-muted)}
.cb-legal a{color:#c6beff;text-decoration:underline;text-underline-offset:3px}
.cb-legal a:focus-visible{outline:3px solid #fff;outline-offset:4px;border-radius:3px}
.cb-legal-tabs,.cb-legal-footer{display:flex;flex-wrap:wrap;gap:12px 24px;margin:24px 0}
.cb-legal-tabs a{padding:8px 14px;border:1px solid var(--cb-stroke);border-radius:12px}
.cb-legal-tabs a[aria-current]{background:var(--cb-surface-2);color:#fff;font-weight:700}
.cb-legal-draft{padding:20px;border:1px solid #c3a35e;border-radius:16px;background:rgba(195,163,94,.08)}
.cb-legal-draft p{margin:8px 0 0}
.cb-legal-index{margin:28px 0;padding:24px;border:1px solid var(--cb-stroke);border-radius:16px}
.cb-legal h2{font-size:1.2rem;line-height:1.4;font-weight:700;margin:0 0 16px}
.cb-legal-index ol{margin:0;padding-left:22px}
.cb-legal-index li{padding:4px 0}
.cb-legal-sections section{padding:26px 0;border-bottom:1px solid var(--cb-stroke);scroll-margin-top:100px}
.cb-legal-sections p:last-child{margin-bottom:0}
.cb-legal li{margin-bottom:6px}
@media print{.cb-legal{color:#000;max-width:none;padding:0}.cb-legal a{color:#000}.cb-legal-tabs,.cb-legal-footer{display:none}.cb-legal-sections section{break-inside:avoid}.cb-legal-kicker,.cb-legal-version{color:#444}}

/* ---------- Tokens ---------- */
:root{
  --cb-accent:#ff3d6d;
  --cb-accent-2:#6a5cff;

  --cb-bg0:#070A10;
  --cb-bg1:#0B0F14;

  --cb-text: rgba(255,255,255,.92);
  --cb-muted: rgba(255,255,255,.62);
  --cb-dim: rgba(255,255,255,.45);

  --cb-surface: rgba(10,14,22,.60);
  --cb-surface-2: rgba(255,255,255,.08);
  --cb-stroke: rgba(255,255,255,.12);

  --cb-shadow: 0 16px 50px rgba(0,0,0,.35);
  --cb-shadow2: 0 10px 30px rgba(0,0,0,.22);

  --cb-radius: 22px;
  --cb-radius-sm: 16px;
  --cb-blur: 18px;

  --cb-bottom-space: 92px;
}

/* ---------- Base ---------- */
html, body { height: 100%; }

body{
  margin:0;
  padding-bottom: var(--cb-bottom-space);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--cb-text);

  background:
    radial-gradient(900px 500px at 15% 0%, rgba(255,61,109,.28), transparent 55%),
    radial-gradient(700px 500px at 85% 10%, rgba(106,92,255,.28), transparent 52%),
    radial-gradient(800px 600px at 50% 100%, rgba(0,210,255,.10), transparent 60%),
    linear-gradient(180deg, var(--cb-bg0), var(--cb-bg1));
}

/* subtle noise overlay */
body:before{
  content:"";
  position: fixed;
  inset:0;
  pointer-events:none;
  opacity:.07;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, #000000a6 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, #000000a6 1px 4px);
  mix-blend-mode: overlay;
}

h1,h2,h3,h4,h5{ letter-spacing:-0.02em; }

/* layout */
.container{ padding-left:14px; padding-right:14px; }
main.pb-5{ padding-bottom: var(--cb-bottom-space) !important; }

/* bootstrap helpers */
.bg-light{ background: #000000a6 !important; }
.text-muted, .small, .text-secondary, .text-body-secondary{ color: var(--cb-muted) !important; }
.border, .border-top, .border-bottom{ border-color: rgba(255,255,255,.12) !important; }

/* links */
a{ color: var(--cb-text); }
a:hover{ opacity:.88; }
a.text-muted{ color: var(--cb-muted) !important; }

/* ---------- Glass surfaces (global) ---------- */
.cb-glass,
.cb-card,
.card,
.navbar.bg-white,
.bg-white,
.modal-content,
.dropdown-menu{
  background: var(--cb-surface) !important;
  border: 1px solid var(--cb-stroke) !important;
  color: var(--cb-text) !important;

  backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  box-shadow: var(--cb-shadow2);
}

.cb-card,
.card{
  border-radius: var(--cb-radius);
  overflow:hidden;
}

.rounded, img.rounded{ border-radius: var(--cb-radius-sm) !important; }

/* Card micro-interaction */
.cb-card{ transition: transform .15s ease, box-shadow .15s ease; }
.cb-card:active{ transform: scale(.985); }

/* ---------- Buttons ---------- */
.btn{ border-radius: 16px; }

.btn-dark{
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.10)) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: var(--cb-text) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.btn-dark:hover{
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.12)) !important;
}

.btn-outline-dark{
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: var(--cb-text) !important;
}
.btn-outline-dark:hover{ background: rgba(255,255,255,.10) !important; }

/* gradient button utility */
.cb-btn{
  background: linear-gradient(135deg, var(--cb-accent), var(--cb-accent-2)) !important;
  border: 0 !important;
  color:#fff !important;
  font-weight: 800;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.cb-btn:hover{ opacity:.92; }

/* ---------- Badges ---------- */
.badge.text-bg-light,
.badge.bg-light{
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: var(--cb-text) !important;
}

/* ---------- Forms ---------- */
.form-control, .form-select, .input-group-text{
  border-radius: 16px !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: var(--cb-text) !important;
}
.form-control::placeholder{ color: var(--cb-dim) !important; }

.form-control:focus, .form-select:focus{
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(106,92,255,.45) !important;
  box-shadow: 0 0 0 .2rem rgba(106,92,255,.18) !important;
}

/* ---------- New card / SOPay ---------- */
.cb-newcard-shell{ max-width: 620px; }

.cb-newcard-hero{
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.035)),
    linear-gradient(135deg, rgba(255,61,109,.55), rgba(106,92,255,.52) 58%, rgba(0,210,255,.24));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 26px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.28);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
}

.cb-newcard-orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: .7;
}
.cb-newcard-orb-one{
  width: 210px;
  height: 210px;
  right: -70px;
  top: -80px;
  background: radial-gradient(circle, rgba(255,255,255,.45), rgba(255,255,255,0) 68%);
}
.cb-newcard-orb-two{
  width: 180px;
  height: 180px;
  left: -80px;
  bottom: -105px;
  background: radial-gradient(circle, rgba(0,210,255,.34), rgba(0,210,255,0) 70%);
}

.cb-newcard-chip{
  width: 46px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.48);
  background:
    linear-gradient(90deg, transparent 46%, rgba(255,255,255,.34) 47% 53%, transparent 54%),
    linear-gradient(0deg, transparent 44%, rgba(255,255,255,.28) 45% 54%, transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 24px rgba(0,0,0,.18);
}

.cb-newcard-eyebrow{ letter-spacing: .14em; }
.cb-newcard-form-card{ overflow: visible; }
.cb-newcard-input{ min-height: 54px; }

.cb-newcard-stripe{
  min-height: 54px;
  padding: 17px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.cb-newcard-stripe.StripeElement--focus{
  background: rgba(255,255,255,.08);
  border-color: rgba(106,92,255,.55);
  box-shadow: 0 0 0 .2rem rgba(106,92,255,.18);
}
.cb-newcard-stripe.StripeElement--invalid{ border-color: rgba(255,105,140,.72); }
.cb-newcard-error,
.cb-newcard-message-error{ color: #ff9ab2; }
.cb-newcard-message-info{ color: var(--cb-muted); }

.cb-newcard-security{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: var(--cb-muted);
  font-size: .82rem;
  line-height: 1.45;
}
.cb-newcard-security i{ color: #85e8cb; }

.cb-newcard-submit{
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cb-newcard-submit:disabled{ opacity: .65; }

.cb-newcard-success-icon{
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06130f;
  background: linear-gradient(135deg, #b8ffe8, #6ee7bd);
  box-shadow: 0 16px 38px rgba(110,231,189,.24);
  font-size: 2rem;
}

@media (max-width: 575.98px){
  .cb-newcard-hero{ min-height: 230px; padding: 23px; border-radius: 25px; }
}

/* ---------- Alerts ---------- */
.alert{
  border-radius: var(--cb-radius) !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: var(--cb-text) !important;
}

/* ---------- Modal details ---------- */
.modal-header{ border-bottom: 1px solid rgba(255,255,255,.10) !important; }

.cb-checkout-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:16px;
  background:rgba(255,255,255,.045);
  cursor:pointer;
  transition:border-color .15s ease, background .15s ease, transform .15s ease;
}
.cb-checkout-card:hover{ background:rgba(255,255,255,.075); }
.cb-checkout-card:has(input:checked){
  border-color:rgba(255,61,109,.7);
  background:rgba(255,61,109,.1);
  box-shadow:0 0 0 3px rgba(255,61,109,.1);
}
.cb-checkout-card:active{ transform:scale(.99); }
.cb-checkout-card.is-disabled{ cursor:not-allowed; opacity:.58; }
.cb-checkout-card.is-disabled:hover{ background:rgba(255,255,255,.045); }
.cb-checkout-card .form-check-input{ flex:0 0 auto; margin:0; }
#checkoutSubmit:disabled{ opacity:.58; }
.modal-footer{ border-top: 1px solid rgba(255,255,255,.10) !important; }
.modal-title{ color: var(--cb-text) !important; }
.btn-close{ filter: invert(1) opacity(.75); }
.btn-close:hover{ opacity:1; }

/* ---------- List group ---------- */
.list-group-item{
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.10) !important;
  color: var(--cb-text) !important;
}
.list-group-item-action:hover{ background: rgba(255,255,255,.10) !important; }

/* ---------- Tables ---------- */
.table{ color: var(--cb-text) !important; }
.table td, .table th{ border-color: rgba(255,255,255,.10) !important; }

/* =========================================
   Topbar Premium Glass
   ========================================= */
.cb-topbar{
  position: sticky;
  top: 0;
  z-index: 1100;
  padding: 10px 0;
  background: rgba(10,14,22,.55);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--cb-blur)) saturate(140%);
}

.cb-topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.cb-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--cb-text);
}

.cb-brand-dot{
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--cb-accent), var(--cb-accent-2));
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
}

.cb-brand-text{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.cb-topbar-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

/* icon buttons */
.cb-iconbtn{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  text-decoration:none;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  transition: transform .15s ease, background .15s ease;
}
.cb-iconbtn i{ font-size: 18px; }
.cb-iconbtn:active{ transform: scale(.96); }
.cb-iconbtn:hover{ background: rgba(255,255,255,.10); }

/* =========================================
   Search Sheet
   ========================================= */
.cb-search-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 1200;
}
.cb-search-backdrop.open{
  opacity: 1;
  pointer-events: auto;
}

.cb-search-sheet{
  position: fixed;
  left: 0;
  right: 0;
  top: 10px;
  z-index: 1201;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.cb-search-sheet.open{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cb-search-card{
  margin: 0 auto;
  width: min(720px, calc(100% - 20px));
  border-radius: 22px;
  background: rgba(10,14,22,.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--cb-shadow);
  backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  overflow: hidden;
}

.cb-search-form{ padding: 12px; }

.cb-search-row{
  display:flex;
  align-items:center;
  gap:10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 10px 12px;
}

.cb-search-row i{
  color: rgba(255,255,255,.75);
  font-size: 18px;
}

.cb-search-input{
  flex:1;
  outline:none;
  border:none;
  background: transparent;
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 14px;
}
.cb-search-input::placeholder{ color: rgba(255,255,255,.45); }

.cb-search-cancel{
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-weight: 900;
  padding: 6px 8px;
  border-radius: 12px;
}
.cb-search-cancel:active{ background: rgba(255,255,255,.06); }

.cb-search-suggestions{ padding: 10px 4px 0 4px; }






/* =========================
   Bottom Dock WOW
   ========================= */


.cb-bottomnav{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 1000;
  pointer-events: none;
}

.cb-bottomnav-inner{
  pointer-events: auto;
  position: relative;
  margin: 0 auto;
  width: min(560px, calc(100% - 20px));
  height: 78px;
  border-radius: 28px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 76px repeat(2, minmax(0, 1fr));
  align-items: center;
  padding: 0 8px;
  box-sizing: border-box;

  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.12);

  box-shadow:
    0 24px 60px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.10);

  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);

  overflow: visible;
}

/* soft glow */
.cb-bottomnav-inner::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 28px;
  background:
    radial-gradient(240px 80px at 10% 0%, rgba(255,61,109,.10), transparent 60%),
    radial-gradient(240px 80px at 90% 0%, rgba(106,92,255,.10), transparent 60%);
  pointer-events:none;
}

/* nav items */
.cb-nav-item{
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  text-decoration: none;
  color: rgba(255,255,255,.62);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  transition: transform .16s ease, color .16s ease, opacity .16s ease;
}

/* Reserve the middle column for the floating create button. */
.cb-nav-item[data-ind="2"]{ grid-column: 4; }
.cb-nav-item[data-ind="3"]{ grid-column: 5; }

.cb-nav-item:active{
  transform: scale(.96);
}

.cb-nav-item.active{
  color: rgba(255,255,255,.96);
}

/* icon capsule */
.cb-nav-icon-wrap{
  width: 34px;
  height: 34px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.04);
  border: 1px solid transparent;

  transition: all .18s ease;
}

.cb-nav-item i{
  font-size: 18px;
  line-height: 1;
}

.cb-nav-item.active .cb-nav-icon-wrap{
  background:
    linear-gradient(rgba(10,14,22,.65), rgba(10,14,22,.65)) padding-box,
    linear-gradient(135deg, rgba(255,61,109,.65), rgba(106,92,255,.65)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
}

.cb-nav-label{
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  opacity: .92;
}

/* indicator */
.cb-nav-indicator{
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cb-accent), var(--cb-accent-2));
  transform: translateX(-999px);
  transition: transform .24s ease, opacity .2s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  opacity: .95;
}

/* create button */
.cb-create{
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  transition: transform .18s ease;
}

.cb-create:active{
  transform: translateX(-50%) scale(.95);
}

.cb-create.open{
  transform: translateX(-50%) scale(1.04);
}

.cb-create-ring{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255,61,109,.90), rgba(106,92,255,.90));
  box-shadow:
    0 20px 40px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.22) inset;
}

.cb-create-ring::after{
  content:"";
  position:absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.08));
  opacity: .35;
}

.cb-create-core{
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-1px);
}

/* avatar profile item */
.cb-nav-avatar{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  overflow: hidden;

  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,.85);

  border: 1px solid transparent;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.cb-nav-avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
}

.cb-nav-item.active .cb-nav-avatar{
  background:
    linear-gradient(rgba(10,14,22,.65), rgba(10,14,22,.65)) padding-box,
    linear-gradient(135deg, rgba(255,61,109,.65), rgba(106,92,255,.65)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
  transform: scale(1.04);
}

/* create menu */
.cb-create-menu{
  position: absolute;
  left: 50%;
  bottom: calc(100% + 38px);
  transform: translateX(-50%) translateY(10px);
  width: min(340px, calc(100vw - 28px));
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1001;
}

.cb-create-menu.open{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cb-create-menu-card{
  border-radius: 24px;
  overflow: hidden;

  background:
    linear-gradient(180deg, rgba(19,23,33,.98), rgba(8,11,18,.98));
  border: 1px solid rgba(255,255,255,.14);

  box-shadow:
    0 24px 60px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.10);

  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.cb-create-action{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 16px;
  text-decoration:none;
  color: rgba(255,255,255,.92);
  transition: background .15s ease;
}

.cb-create-action + .cb-create-action{
  border-top: 1px solid rgba(255,255,255,.10);
}

.cb-create-action:hover{
  background: rgba(255,255,255,.04);
}

.cb-create-action:active{
  background: rgba(255,255,255,.06);
}

.cb-create-action .left{
  display:flex;
  align-items:center;
  gap:12px;
}

.cb-create-action .left > i:first-child{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 18px;
}

.cb-create-action .title{
  font-weight: 800;
  line-height: 1.1;
}

.cb-create-action .sub{
  font-size: 12px;
  color: rgba(255,255,255,.58);
  margin-top: 3px;
}

/* mobile */
@media (max-width: 480px){
  .cb-bottomnav-inner{
    width: calc(100% - 16px);
    height: 74px;
    border-radius: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) 72px repeat(2, minmax(0, 1fr));
    padding: 0 4px;
  }

  .cb-create{
    width: 64px;
    height: 64px;
    top: -22px;
  }

  .cb-nav-label{
    font-size: 10px;
  }
}










/* ---------- Utility: nicer separators ---------- */
hr{
  border-color: rgba(0, 0, 0, 0.1) !important;
  opacity: 1;
}


/* Authentication: isolated from the feed and other app surfaces. */
body.cb-auth-page{
  --cb-auth-muted: #b5b8c8;
  min-height: 100%;
  height: auto;
  padding-bottom: 0;
  color: #f5f5fa;
  background: radial-gradient(ellipse 650px 360px at 50% 0%, rgba(106,92,255,.12), transparent 75%) no-repeat, #0d1017 !important;
}
body.cb-auth-page:before{ display:none; }
.cb-auth-page main.pb-5{ padding-bottom: 0 !important; }
.cb-auth-page .cb-topbar{ box-shadow:none; border-bottom:1px solid #232632; }
.cb-auth-shell{ width:100%; max-width:440px; margin:0 auto; padding:clamp(32px, 6vh, 64px) 16px 24px; }
.cb-auth-heading{ text-align:center; margin-bottom:28px; }
.cb-auth-kicker{ color:#b9b0ff; font-size:.75rem; font-weight:700; letter-spacing:.12em; margin-bottom:12px; }
.cb-auth-heading h1{ font-size:2rem; font-weight:750; line-height:1.2; margin:0 0 12px; }
.cb-auth-heading p{ color:var(--cb-auth-muted); font-size:1rem; line-height:1.5; margin:0; }
.cb-auth-page .cb-auth-card{ position:relative; overflow:hidden; padding:28px; border:1px solid #303240; border-radius:24px; background:#161923; box-shadow:0 18px 48px rgba(0,0,0,.2); }
.cb-auth-page .cb-auth-card:before{ content:""; position:absolute; top:0; left:24px; right:24px; height:2px; background:linear-gradient(90deg,#ed3670,#7962ef); pointer-events:none; }
.cb-auth-form{ display:flex; flex-direction:column; gap:20px; }
.cb-auth-page .form-label{ font-size:.875rem; font-weight:600; color:#f5f5fa; margin-bottom:8px; }
.cb-auth-page .cb-input{ position:relative; display:flex; align-items:center; gap:10px; min-height:52px; padding:3px 4px 3px 14px; background:#202430; border:1px solid #565d70; border-radius:12px; }
.cb-auth-page .cb-input > i{ flex:0 0 20px; width:20px; text-align:center; font-size:18px; color:#b5b8c8; }
.cb-auth-page .cb-input-field{ min-width:0; width:100%; background:transparent !important; color:#f5f5fa !important; border:0 !important; box-shadow:none !important; padding:8px 0 !important; margin:0 !important; font-size:1rem; line-height:1.5; }
.cb-auth-page .cb-input-field::placeholder{ color:#abb1c3 !important; opacity:1; }
.cb-auth-page .cb-input:focus-within{ border-color:#b7a5ff; outline:3px solid rgba(183,165,255,.28); outline-offset:2px; }
.cb-auth-page .cb-input-invalid{ border-color:#ff9eaf; }
.cb-auth-page .cb-eye{ flex:0 0 44px; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:9px; background:transparent; color:#c4c8d6; }
.cb-auth-page .cb-eye i{ color:inherit; font-size:18px; }
.cb-auth-page .cb-eye:hover{ background:#34394a; }
.cb-auth-page .form-text{ color:var(--cb-auth-muted); font-size:.875rem; line-height:1.45; margin:8px 0 0; }
.cb-auth-page .cb-auth-submit{ width:100%; min-height:52px; padding:12px 16px; border:0; border-radius:12px; color:#fff; background:linear-gradient(110deg,#c82359,#6444d6) !important; font-size:1rem; font-weight:700; box-shadow:none; }
.cb-auth-page .cb-auth-submit:hover{ filter:brightness(1.08); }
.cb-auth-switch{ margin:24px 0 0; padding-top:20px; border-top:1px solid #303442; color:var(--cb-auth-muted); text-align:center; font-size:.875rem; line-height:1.8; }
.cb-auth-switch a{ color:#d4c9ff; font-weight:650; text-decoration:underline; text-underline-offset:3px; display:inline-block; padding:4px 2px; }
.cb-auth-footer{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; column-gap:16px; margin-top:16px; color:var(--cb-auth-muted); font-size:.875rem; }
.cb-auth-footer a{ display:inline-flex; align-items:center; min-height:44px; color:var(--cb-auth-muted); text-decoration:none; }
.cb-auth-footer a:hover{ text-decoration:underline; }
.cb-auth-page a:focus-visible,.cb-auth-page button:focus-visible{ outline:3px solid #c4b5ff; outline-offset:4px; }
.cb-auth-notice{ padding:14px 16px; margin-bottom:20px; border:1px solid; border-radius:12px; font-size:.875rem; line-height:1.5; }
.cb-auth-notice strong{ display:block; }
.cb-auth-notice ul{ padding-left:18px; margin:6px 0 0; }
.cb-auth-error{ background:#321e2a; color:#ffc5d0; border-color:#ac6074; }
.cb-auth-success{ background:#162e2b; color:#b3ebd6; border-color:#4b8a77; }
.cb-auth-field-error{ color:#ffb1c2; margin:8px 0 0; font-size:.875rem; line-height:1.45; }
.cb-auth-honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
@media(max-width:480px){
  .cb-auth-shell{ padding-top:28px; }
  .cb-auth-heading{ margin-bottom:24px; }
  .cb-auth-heading h1{ font-size:1.75rem; }
  .cb-auth-page .cb-auth-card{ padding:22px 18px; border-radius:20px; }
  .cb-auth-form{ gap:18px; }
}

/* =========================
   Explore inline search
   ========================= */

.cb-search-inline{
  display:flex;
  align-items:center;
  gap:12px;

  padding: 10px 14px;
  border-radius: 22px;

  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.14);

  backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--cb-blur)) saturate(140%);

  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}

.cb-search-inline i{
  font-size: 18px;
  color: rgba(0, 0, 0, 0.7);
}

.cb-search-inline-input{
  flex:1;
  border:0;
  outline:none;
  background: transparent;
  color: var(--cb-text);
  font-weight:600;
  font-size: 14px;
}

.cb-search-inline-input::placeholder{
  color: rgba(0, 0, 0, 0.45);
}

.cb-search-inline:focus-within{
  border-color: rgba(106,92,255,.45);
  box-shadow: 0 0 0 .2rem rgba(106,92,255,.18);
  background: rgba(0, 0, 0, 0.08);
}

.cb-search-inline-btn{
  border:0;
  padding: 8px 14px;
  border-radius: 16px;
  font-weight: 700;

  background: linear-gradient(135deg, var(--cb-accent), var(--cb-accent-2));
  color: #fff;

  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: transform .15s ease, opacity .15s ease;
}

.cb-search-inline-btn:hover{
  opacity:.92;
}

.cb-search-inline-btn:active{
  transform: scale(.96);
}



/* =========================
   Post Create • Spaziale
   ========================= */

.cb-create-card{
  border-radius: 26px;
  background: rgba(10,14,22,.72);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 70px rgba(0,0,0,.40);
  backdrop-filter: blur(var(--cb-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--cb-blur)) saturate(150%);
  overflow: hidden;
}

.cb-create-card-head{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}

.cb-create-preview{
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.cb-create-preview img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.02);
}

.cb-create-preview-empty{
  text-align:center;
  padding: 18px;
  color: rgba(0,0,0,.78);
}

.cb-create-preview-icon{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  margin: 0 auto 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.cb-create-preview-icon i{ font-size: 22px; }

.cb-create-preview.drag{
  outline: 2px solid rgba(106,92,255,.55);
  outline-offset: -2px;
}

.cb-create-actions{
  padding: 14px 16px 16px;
}

.cb-file-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.cb-file-btn input{
  display:none;
}

.cb-divider{
  height: 1px;
  background: rgba(0,0,0,.10);
}

/* segmented control */
.cb-seg{
  display:flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.12);
}

.cb-seg-btn{
  flex:1;
  border:0;
  background: transparent;
  color: rgba(0,0,0,.70);
  border-radius: 999px;
  padding: 10px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  font-weight: 800;
  transition: background .15s ease, transform .15s ease, color .15s ease;
}
.cb-seg-btn i{ font-size: 16px; }

.cb-seg-btn:active{ transform: scale(.98); }

.cb-seg-btn.active{
  background: rgba(0,0,0,.12);
  color: rgba(0,0,0,.92);
  border: 1px solid rgba(0,0,0,.14);
}

/* paid box */
.cb-paid-box{
  border-radius: 20px;
  padding: 14px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.12);
}

.cb-price-pill{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.12);
  font-weight: 900;
}

/* tip box */
.cb-create-tip{
  border-radius: 22px;
  padding: 14px 16px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.12);
}

/* shop create micro-tweak */
.cb-create-preview.has-image img{
  transform: scale(1.01);
}





/* =========================
   Inbox Premium
   ========================= */

.cb-empty{
  border-radius: 22px;
  padding: 30px 20px;
  text-align:center;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.cb-empty-icon{
  width:60px;height:60px;
  margin:0 auto 12px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0, 0, 0, 0.06);
  border:1px solid rgba(0, 0, 0, 0.12);
  font-size:22px;
}

.cb-inbox-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cb-inbox-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px;
  border-radius:22px;
  text-decoration:none;
  background: rgba(0, 0, 0, 0.06);
  border:1px solid rgba(0, 0, 0, 0.12);
  transition: transform .15s ease, background .15s ease;
}

.cb-inbox-item:hover{
  background: rgba(0, 0, 0, 0.1);
}

.cb-inbox-item:active{
  transform: scale(.98);
}

.cb-inbox-avatar{
  width:52px;height:52px;
  border-radius:16px;
  overflow:hidden;
  background: rgba(0, 0, 0, 0.1);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:14px;
}

.cb-inbox-avatar img{
  width:100%;height:100%;
  object-fit:cover;
}

.cb-inbox-content{
  flex:1;
  min-width:0;
}

.cb-inbox-preview{
  font-size:13px;
  color: rgba(0, 0, 0, 0.65);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.cb-inbox-chevron{
  color: rgba(0, 0, 0, 0.45);
  font-size:14px;
}






/* =========================
   Chat View • Liquid Glass
   ========================= */

.cb-chat-head{
  padding: 10px 12px;
}
.cb-chat-head-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.cb-chat-peer{
  flex:1;
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.cb-chat-peer-avatar{
  width:44px;height:44px;
  border-radius:16px;
  overflow:hidden;
  background: rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}
.cb-chat-peer-avatar img{
  width:100%;height:100%;
  object-fit:cover;
}
.cb-chat-peer-meta{
  min-width:0;
}
.cb-chat-peer-meta .fw-bold{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Body scroll area */
.cb-chat-body{
  height: min(62vh, 520px);
  overflow:auto;
  padding: 14px 12px;
}
.cb-chat-messages{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.cb-chat-empty{
  padding: 18px 10px;
  text-align:center;
  opacity: .9;
}

/* Message rows */
.cb-msg-row{
  display:flex;
}
.cb-msg-row.me{ justify-content:flex-end; }
.cb-msg-row.them{ justify-content:flex-start; }

.cb-msg-bubble{
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--cb-blur)) saturate(140%);
}

.cb-msg-row.me .cb-msg-bubble{
  background: linear-gradient(135deg, rgba(255,61,109,.22), rgba(106,92,255,.18));
  border-color: rgba(255,255,255,.16);
}

.cb-msg-text{
  font-size: 14px;
  line-height: 1.25rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.cb-msg-meta{
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255,255,255,.62);
}

/* Composer */
.cb-chat-compose{
  padding: 12px;
}
.cb-chat-form{
  display:flex;
  gap:10px;
  align-items:flex-end;
}
.cb-chat-input{
  flex:1;
  resize:none;
  border-radius: 18px;
  padding: 10px 12px;
  min-height: 44px;
  max-height: 140px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  outline: none;
}
.cb-chat-input::placeholder{
  color: rgba(255,255,255,.45);
}
.cb-chat-send{
  width:44px;height:44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.cb-chat-send:active{ transform: scale(.96); }
.cb-chat-send:disabled{
  opacity:.5;
}

.cb-chat-hint{
  margin-top: 10px;
}

/* =========================
   Market shared UI
   ========================= */
.cb-market-shell{
  max-width: 980px;
}

.cb-market-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.cb-market-tabs{
  overflow-x:auto;
  scrollbar-width:none;
}
.cb-market-tabs::-webkit-scrollbar{ display:none; }
.cb-market-tabs .cb-tab{
  min-width:max-content;
  white-space:nowrap;
}

.cb-market-product-card,
.cb-market-order-card{
  background:var(--cb-surface);
  border:1px solid var(--cb-stroke);
  box-shadow:var(--cb-shadow2);
  backdrop-filter:blur(var(--cb-blur)) saturate(140%);
  -webkit-backdrop-filter:blur(var(--cb-blur)) saturate(140%);
}

.cb-market-product-card{
  border-radius:var(--cb-radius);
  overflow:hidden;
  transition:transform .16s ease, border-color .16s ease;
}
.cb-market-product-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.22);
}
.cb-market-product-card:active{ transform:scale(.985); }

.cb-market-product-media{
  position:relative;
  aspect-ratio:1 / 1;
  overflow:hidden;
  background:rgba(255,255,255,.04);
}
.cb-market-product-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .25s ease;
}
.cb-market-product-card:hover .cb-market-product-media img{ transform:scale(1.025); }

.cb-market-product-body{ padding:13px 14px 15px; }
.cb-market-product-creator{
  color:var(--cb-muted);
  font-size:12px;
  margin-bottom:3px;
}
.cb-market-product-title{
  font-weight:750;
  line-height:1.25;
  min-height:2.5em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.cb-market-product-price{
  margin-top:9px;
  font-size:15px;
  font-weight:800;
}

.cb-market-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cb-market-order-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px;
  border-radius:var(--cb-radius);
  color:var(--cb-text);
  text-decoration:none;
  transition:transform .15s ease, border-color .15s ease;
}
a.cb-market-order-card:hover{
  color:var(--cb-text);
  opacity:1;
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.22);
}
.cb-market-order-card-manage{ display:block; }
.cb-market-order-thumb{
  flex:0 0 68px;
  width:68px;
  height:68px;
  border-radius:16px;
  object-fit:cover;
  background:rgba(255,255,255,.06);
}
.cb-market-order-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--cb-muted);
}
.cb-market-order-copy{ flex:1; min-width:0; }
.cb-market-order-title{
  font-weight:750;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.cb-market-order-price{ font-weight:800; margin-top:1px; }
.cb-market-order-arrow{ color:var(--cb-muted); }

.cb-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.07);
  color:rgba(255,255,255,.82);
  font-size:11px;
  font-weight:750;
  white-space:nowrap;
}
.cb-status-pill.is-pending{ color:#ffd88a; background:rgba(255,184,0,.11); }
.cb-status-pill.is-paid{ color:#83e7b2; background:rgba(30,190,110,.12); }
.cb-status-pill.is-shipped{ color:#91c7ff; background:rgba(58,139,255,.13); }
.cb-status-pill.is-completed{ color:#e8e8ee; background:rgba(255,255,255,.10); }
.cb-status-pill.is-cancelled{ color:#b6b6c0; background:rgba(255,255,255,.05); }

.cb-order-filters{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-bottom:2px;
  scrollbar-width:none;
}
.cb-order-filters::-webkit-scrollbar{ display:none; }
.cb-filter-chip{
  flex:0 0 auto;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:var(--cb-muted);
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}
.cb-filter-chip.active{
  color:#fff;
  border-color:rgba(255,255,255,.2);
  background:linear-gradient(135deg,rgba(255,61,109,.25),rgba(106,92,255,.25));
}

@media (max-width:575.98px){
  .cb-market-head{ align-items:flex-start; }
  .cb-market-tabs{ margin-left:-4px; margin-right:-4px; }
  .cb-market-tabs .cb-tab{ padding:9px 11px; font-size:12px; }
  .cb-market-order-card{ gap:10px; }
  .cb-market-order-thumb{ flex-basis:58px; width:58px; height:58px; border-radius:14px; }
  .cb-market-order-card-manage > .d-flex{ align-items:flex-start; }
  .cb-market-order-card-manage .cb-status-pill{ font-size:10px; }
}

.cb-chat-error{
  margin-top: 10px;
  color: rgba(255,120,120,.95);
}

/* Segmented control glass */
.cb-tabs{
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);

  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.cb-tab{
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 999px;

  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;

  color: rgba(255,255,255,.65);
  text-decoration: none;

  transition: all .2s ease;
  position: relative;
}

/* hover leggero */
.cb-tab:hover{
  color: rgba(255,255,255,.9);
}

/* ACTIVE = glass pieno */
.cb-tab.active{
  color: #fff;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,.18),
    rgba(255,255,255,.08)
  );

  border: 1px solid rgba(255,255,255,.18);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 8px 20px rgba(0,0,0,.25);

  backdrop-filter: blur(22px) saturate(160%);
}

/* micro glow brand */
.cb-tab.active::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    rgba(255,61,109,.15),
    rgba(106,92,255,.15)
  );

  pointer-events: none;
}


/* =========================
   Explore WOW Search
   ========================= */

.cb-explore-hero{
  padding: 4px 0 2px;
}

.cb-explore-hero-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* main search capsule */
.cb-search-wow{
  position: relative;
  display:flex;
  align-items:center;
  gap:12px;

  padding: 12px;
  border-radius: 26px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.14);

  box-shadow:
    0 18px 50px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.10);

  backdrop-filter: blur(var(--cb-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--cb-blur)) saturate(150%);

  overflow: hidden;
}

.cb-search-wow::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(300px 140px at 10% 0%, rgba(255,61,109,.14), transparent 60%),
    radial-gradient(260px 140px at 100% 0%, rgba(106,92,255,.16), transparent 62%);
  pointer-events:none;
}

/* left icon bubble */
.cb-search-wow-icon{
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 16px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);

  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.cb-search-wow-icon i{
  font-size: 19px;
  color: rgba(255,255,255,.88);
}

/* input area */
.cb-search-wow-body{
  position: relative;
  z-index: 1;
  flex:1;
  min-width:0;
}

.cb-search-wow-label{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 2px;
}

.cb-search-wow-input{
  width:100%;
  border:0;
  outline:none;
  background: transparent;
  color: var(--cb-text);
  font-size: 15px;
  font-weight: 700;
  padding: 0;
}

.cb-search-wow-input::placeholder{
  color: rgba(255,255,255,.40);
}

/* right action */
.cb-search-wow-btn{
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 18px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: linear-gradient(135deg, var(--cb-accent), var(--cb-accent-2));
  color: #fff;

  box-shadow: 0 14px 30px rgba(0,0,0,.30);
  transition: transform .15s ease, opacity .15s ease;
}

.cb-search-wow-btn i{
  font-size: 24px;
  line-height: 1;
}

.cb-search-wow-btn:hover{
  opacity:.94;
}

.cb-search-wow-btn:active{
  transform: scale(.96);
}

/* focus state */
.cb-search-wow:focus-within{
  border-color: rgba(106,92,255,.34);
  box-shadow:
    0 20px 60px rgba(0,0,0,.30),
    0 0 0 0.18rem rgba(106,92,255,.14),
    inset 0 1px 0 rgba(255,255,255,.12);
}

/* suggestion chips */
.cb-search-suggest{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.cb-search-chip-label{
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-weight: 700;
}

.cb-search-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 7px 12px;
  border-radius: 999px;

  text-decoration:none;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.88) !important;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);

  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);

  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.cb-search-chip:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

.cb-search-chip:active{
  transform: scale(.97);
} 


/* =========================
   Segmented WOW (shop status)
   ========================= */

.cb-seg-wow{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cb-seg-wow-btn{
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border-radius: 22px;
  padding: 12px 14px;

  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;

  color: rgba(255,255,255,.72);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--cb-blur)) saturate(140%);

  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.cb-seg-wow-btn:hover{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
}

.cb-seg-wow-btn:active{
  transform: scale(.985);
}

.cb-seg-wow-icon{
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.cb-seg-wow-icon i{
  font-size: 18px;
  line-height: 1;
}

.cb-seg-wow-copy{
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cb-seg-wow-title{
  font-weight: 800;
  font-size: 14px;
  color: rgba(255,255,255,.92);
  line-height: 1.1;
}

.cb-seg-wow-sub{
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
  line-height: 1.1;
}

/* stato attivo */
.cb-seg-wow-btn.active{
  border-color: rgba(255,255,255,.18);
  background:
    radial-gradient(260px 120px at 0% 0%, rgba(255,61,109,.14), transparent 60%),
    radial-gradient(260px 120px at 100% 0%, rgba(106,92,255,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 18px 40px rgba(0,0,0,.24);
}

.cb-seg-wow-btn.active .cb-seg-wow-icon{
  background:
    linear-gradient(rgba(10,14,22,.62), rgba(10,14,22,.62)) padding-box,
    linear-gradient(135deg, var(--cb-accent), var(--cb-accent-2)) border-box;
  border: 1px solid transparent;
  color: #fff;
}

.cb-seg-wow-btn.active .cb-seg-wow-title{
  color: #fff;
}

.cb-seg-wow-btn.active .cb-seg-wow-sub{
  color: rgba(255,255,255,.72);
}

/* =========================
   WOW segmented / tabs
   ========================= */

.cb-seg-wow,
.cb-tabs-wow{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cb-seg-wow-btn,
.cb-tabs-wow-item{
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border-radius: 22px;
  padding: 12px 14px;

  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;

  color: rgba(255,255,255,.72);
  text-decoration: none;

  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(var(--cb-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--cb-blur)) saturate(140%);

  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.cb-seg-wow-btn:hover,
.cb-tabs-wow-item:hover{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
}

.cb-seg-wow-btn:active,
.cb-tabs-wow-item:active{
  transform: scale(.985);
}

.cb-seg-wow-icon,
.cb-tabs-wow-icon{
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.cb-seg-wow-icon i,
.cb-tabs-wow-icon i{
  font-size: 18px;
  line-height: 1;
}

.cb-seg-wow-copy,
.cb-tabs-wow-copy{
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cb-seg-wow-title,
.cb-tabs-wow-title{
  font-weight: 800;
  font-size: 14px;
  color: rgba(255,255,255,.92);
  line-height: 1.1;
}

.cb-seg-wow-sub,
.cb-tabs-wow-sub{
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
  line-height: 1.1;
}

/* active */
.cb-seg-wow-btn.active,
.cb-tabs-wow-item.active{
  border-color: rgba(255,255,255,.18);
  background:
    radial-gradient(260px 120px at 0% 0%, rgba(255,61,109,.14), transparent 60%),
    radial-gradient(260px 120px at 100% 0%, rgba(106,92,255,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 18px 40px rgba(0,0,0,.24);
}

.cb-seg-wow-btn.active .cb-seg-wow-icon,
.cb-tabs-wow-item.active .cb-tabs-wow-icon{
  background:
    linear-gradient(rgba(10,14,22,.62), rgba(10,14,22,.62)) padding-box,
    linear-gradient(135deg, var(--cb-accent), var(--cb-accent-2)) border-box;
  border: 1px solid transparent;
  color: #fff;
}

.cb-seg-wow-btn.active .cb-seg-wow-title,
.cb-tabs-wow-item.active .cb-tabs-wow-title{
  color: #fff;
}

.cb-seg-wow-btn.active .cb-seg-wow-sub,
.cb-tabs-wow-item.active .cb-tabs-wow-sub{
  color: rgba(255,255,255,.72);
}

/* desktop layout */
@media (min-width: 768px){
  .cb-tabs-wow{
    flex-direction: row;
  }

  .cb-tabs-wow-item{
    flex: 1;
  }
}









/* =========================
   Settings Premium
   ========================= */

.cb-settings-section-title{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: rgba(255,255,255,.52);
  margin-bottom: 10px;
  padding-left: 4px;
}

.cb-settings-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cb-settings-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:22px;
  text-decoration:none;

  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);

  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.cb-settings-item:hover{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
}

.cb-settings-item:active{
  transform: scale(.985);
}

.cb-settings-icon{
  width:42px;
  height:42px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
}

.cb-settings-icon i{
  font-size: 18px;
  line-height: 1;
}

.cb-settings-copy{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
}

.cb-settings-title{
  font-weight:800;
  color:#fff;
  line-height:1.1;
}

.cb-settings-sub{
  font-size:12px;
  color:rgba(255,255,255,.55);
  margin-top:2px;
}

.cb-settings-arrow{
  color: rgba(255,255,255,.45);
}

.cb-settings-item-danger{
  border-color: rgba(255,120,120,.18);
  background: linear-gradient(180deg, rgba(255,90,90,.10), rgba(255,255,255,.04));
}

.cb-settings-item-danger .cb-settings-icon{
  color: rgba(255,140,140,.95);
  border-color: rgba(255,120,120,.18);
  background: rgba(255,90,90,.08);
}






/* =========================
   Profile Hero
   ========================= */

.cb-profile-hero{
  overflow:hidden;
}

.cb-profile-cover{
  position: relative;
  height: 220px;
  background: rgba(255,255,255,.06);
}

.cb-profile-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.cb-profile-cover-fallback{
  width:100%;
  height:100%;
  background:
    radial-gradient(500px 220px at 20% 0%, rgba(255,61,109,.30), transparent 60%),
    radial-gradient(420px 220px at 90% 10%, rgba(106,92,255,.30), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.cb-profile-avatar-wrap{
  position:absolute;
  left:50%;
  bottom:-42px;
  transform: translateX(-50%);
}

.cb-profile-avatar{
  width:92px;
  height:92px;
  border-radius:26px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

.cb-profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.cb-profile-avatar-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:24px;
  color:#fff;
  background: rgba(255,255,255,.08);
}

.cb-profile-body{
  padding: 56px 18px 18px;
}

.cb-profile-top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}

.cb-profile-meta{
  min-width:0;
  flex:1;
}

.cb-profile-userline{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.cb-profile-username{
  font-size: 20px;
  font-weight: 900;
  line-height:1.05;
}

.cb-profile-display{
  font-size: 13px;
  color: rgba(255,255,255,.62);
  font-weight: 600;
}

.cb-profile-bio{
  margin-top:10px;
  font-size: 14px;
  color: rgba(255,255,255,.84);
  line-height: 1.35;
  white-space: pre-wrap;
}

.cb-profile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}

.cb-profile-stats{
  display:flex;
  gap:10px;
  margin-top:18px;
}

.cb-profile-stat{
  flex:1;
  border-radius:18px;
  padding:12px 10px;
  text-align:center;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}

.cb-profile-stat-num{
  font-weight:900;
  font-size:18px;
  line-height:1;
}

.cb-profile-stat-label{
  margin-top:4px;
  font-size:12px;
  color: rgba(255,255,255,.58);
}

.cb-lock-glass{
  background: rgba(10,14,22,.66);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:12px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 16px 50px rgba(0,0,0,.35);
}

@media (max-width: 767px){
  .cb-profile-cover{
    height: 180px;
  }

  .cb-profile-avatar{
    width:82px;
    height:82px;
    border-radius:24px;
  }

  .cb-profile-body{
    padding: 52px 14px 14px;
  }

  .cb-profile-top{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  
  .cb-profile-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:flex-end;
  }
}


/* =========================
   Profile shared polish
   ========================= */

.cb-profile-cover-actions{
  position:absolute;
  top:12px;
  right:12px;
  display:flex;
  gap:8px;
}


@media (max-width: 767px){
  .cb-profile-cover-actions{
    top:10px;
    right:10px;
  }
}

/* =========================
   Post View polish
   ========================= */

.cb-post-meta-line{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.cb-post-caption{
  font-size:14px;
  line-height:1.4;
}



/* =========================
   Product View Premium
   ========================= */

.cb-product-media img{
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.cb-product-desc{
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.cb-product-pricebox{
  min-width: 150px;
  text-align: right;
}

.cb-product-price{
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.cb-product-meta{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cb-product-meta-item{
  border-radius: 18px;
  padding: 12px 10px;
  text-align: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}

.cb-product-meta-label{
  font-size: 12px;
  color: rgba(255,255,255,.58);
}

.cb-product-meta-value{
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

@media (max-width: 767px){
  .cb-product-pricebox{
    width: 100%;
    text-align: left;
  }

  .cb-product-meta{
    grid-template-columns: 1fr;
  }
}






/* =========================
   CHAT FULLSCREEN MOBILE
   ========================= */

.cb-chat{
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
}

/* HEADER */
.cb-chat-header{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  background: rgba(10,14,22,.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.cb-chat-user{
  display:flex;
  align-items:center;
  gap:10px;
}

.cb-chat-avatar{
  width:36px;height:36px;
  border-radius:12px;
  overflow:hidden;
  background: rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}

/* BODY */
.cb-chat-body{
  flex:1;
  overflow-y:auto;
  padding: 12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* MESSAGES */
.cb-msg{
  display:flex;
}
.cb-msg.me{ justify-content:flex-end; }
.cb-msg.them{ justify-content:flex-start; }

.cb-msg-bubble{
  max-width: 75%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 14px;
}

.cb-msg.me .cb-msg-bubble{
  background: linear-gradient(135deg,#ff3d6d,#6a5cff);
  color:#fff;
}

.cb-msg.them .cb-msg-bubble{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

/* INPUT */
.cb-chat-input{
  display:flex;
  gap:8px;
  padding: 10px;
  background: rgba(10,14,22,.55);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,.10);
}

/* 👇 QUESTO È IL FIX CRITICO */
.cb-chat-input input{
  flex:1;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;

  font-size: 16px; /* 🔥 evita zoom iOS */
}

/* SEND */
.cb-send{
  width:44px;
  height:44px;
  border-radius:14px;
  border:none;
  background: linear-gradient(135deg,#ff3d6d,#6a5cff);
  color:#fff;
}


/* =========================
   UPLOAD FEEDBACK
   ========================= */

.cb-upload-button-loading{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  opacity: .82;
  cursor: wait;
}

.cb-upload-progress{
  width: 100%;
  margin-top: 8px;
}

.cb-upload-progress-track{
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(106, 92, 255, .14);
}

.cb-upload-progress-bar{
  position: absolute;
  inset-block: 0;
  left: -42%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff3d6d, #6a5cff);
  animation: cb-upload-progress 1.15s ease-in-out infinite;
}

.cb-upload-progress-label{
  margin-top: 7px;
  color: var(--bs-secondary-color, #6c757d);
  font-size: .82rem;
  text-align: center;
}

@keyframes cb-upload-progress{
  from { transform: translateX(0); }
  to { transform: translateX(340%); }
}

@media (prefers-reduced-motion: reduce){
  .cb-upload-progress-bar{
    left: 0;
    width: 100%;
    animation: none;
  }
}

/* Cart count in the account navigation. */
.cb-cart-link{position:relative;flex-shrink:0}
.cb-cart-badge{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:#f52b80;color:#fff;border:2px solid #12121d;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;line-height:1}
.cb-cart-badge[hidden]{display:none}
@media(max-width:420px){
 .cb-topbar-inner{gap:6px}
 .cb-topbar-actions{gap:5px}
 .cb-topbar-actions .cb-iconbtn{width:32px;height:34px;border-radius:11px;flex-shrink:0}
 .cb-topbar-actions #cb-cookie-open{font-size:11px;padding:5px}
 .cb-brand{gap:6px;flex-shrink:0}
 .cb-brand-text{font-size:15px}
}
.cb-feed-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(74vh, 680px);
  object-fit: contain;
  margin-inline: auto;
}
.cb-feed-caption { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; font-size: 14px; line-height: 1.65; color: #e1e0e8; }
.cb-feed-caption-collapsed { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#feedList [data-feed-caption] { color: var(--cb-text, #f0f2f5); text-decoration: underline; }
#feedList [data-feed-caption]:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Feed: scoped visual hierarchy, full-width photography and compact premium cards. */
.cb-feed-page { background: radial-gradient(ellipse at 0 0, #262033 0, transparent 52%), #101116; min-height: 100vh; color: #f4f2f8; padding: 12px 0 44px; }
.cb-feed-shell { max-width: 680px; }
.cb-feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px 26px; }
.cb-feed-eyebrow { margin: 0 0 9px; color: #c4b1e9; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.cb-feed-heading h1 { margin: 0; font-size: clamp(27px, 5vw, 36px); font-weight: 650; letter-spacing: -.055em; line-height: 1.15; }
.cb-feed-intro { margin: 10px 0 0; color: #b4afbf; font-size: 12px; line-height: 1.6; }
.cb-feed-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; flex-shrink: 0; }
.cb-feed-tool { border: 1px solid #ffffff24; background: #ffffff06; color: #f4f2f8; border-radius: 12px; padding: 10px 12px; font-size: 12px; text-decoration: none; min-height: 44px; }
.cb-feed-tool-accent { background: #d2b4fa; color: #261637; border-color: transparent; }
.cb-feed-tool:hover { color: #fff; background: #ffffff15; }
.cb-feed-tool-accent:hover { background: #e2c9ff; color: #261637; }
.cb-feed-tool:disabled { opacity: .5; cursor: wait; }
#feedList { gap: 24px !important; }
#feedList .cb-feed-card { background: #191a22; border: 1px solid #ffffff13; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px #00000014; }
.cb-feed-card-header { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cb-feed-author { display: flex; gap: 11px; align-items: center; color: #f4f2f8; text-decoration: none; min-width: 0; }
.cb-feed-author:hover { color: #d6bafb; }
.cb-feed-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, #685574, #303249); color: #fff; border: 1px solid #ffffff26; font-size: 14px; font-weight: 700; }
.cb-feed-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cb-feed-author-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cb-feed-username { font-size: 13px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-feed-date { font-size: 10px; color: #b4afbf; }
.cb-feed-access { padding: 5px 9px; border-radius: 7px; background: #ffffff07; color: #bfb9cb; font-size: 10px; white-space: nowrap; }
.cb-feed-access-premium { background: #c6a4f21a; color: #dfc7ff; }
.cb-feed-media { display: block; background: #101116; text-decoration: none; }
.cb-feed-media-unavailable { padding: 64px 20px; text-align: center; color: #b4afbf; }
.cb-feed-card-footer { padding: 18px 20px 16px; }
.cb-feed-read-more { background: none; border: 0; padding: 8px 0; font-size: 12px; min-height: 44px; }
.cb-feed-detail { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #ffffff12; color: #c9c2d4; font-size: 11px; text-decoration: none; min-height: 44px; }
.cb-feed-detail:hover { color: #f4f2f8; }
.cb-feed-locked { margin: 0 12px; padding: 30px 20px; border-radius: 15px; text-align: center; background: radial-gradient(ellipse at 50% 0%, #75528140, transparent 75%), linear-gradient(135deg, #302639, #202333); border: 1px solid #e0baff18; }
.cb-feed-lock-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; color: #e6d1ff; background: #dfbdff12; border: 1px solid #e0baff22; margin-bottom: 16px; }
.cb-feed-lock-kicker { font-size: 9px; font-weight: 650; letter-spacing: .14em; color: #c8acd8; margin: 0 0 10px; }
.cb-feed-locked h2 { font-size: clamp(19px, 4.2vw, 24px); letter-spacing: -.035em; margin: 0 0 10px; color: #fbf8ff; }
.cb-feed-lock-description { color: #c5bbd0; font-size: 12px; line-height: 1.6; margin: 0 0 22px; }
.cb-feed-unlock { display: inline-flex; align-items: center; justify-content: center; gap: 22px; background: #e2c8ff; border: 0; border-radius: 11px; padding: 12px 18px; color: #281c35; font-size: 12px; font-weight: 650; min-height: 44px; text-decoration: none; }
.cb-feed-unlock:hover { background: #efddff; color: #281c35; }
.cb-feed-page :is(button,a):focus-visible { outline: 2px solid #d2b4fa; outline-offset: 4px; }
@media (max-width: 480px) {
  .cb-feed-heading { flex-wrap: wrap; gap: 16px; padding-top: 14px; }
  .cb-feed-tools { width: 100%; justify-content: flex-start; }
  .cb-feed-tool { padding: 9px 14px; }
  .cb-feed-card-header { padding: 14px; gap: 8px; }
  .cb-feed-card-footer { padding: 15px; }
  .cb-feed-username { max-width: 170px; }
  #feedList .cb-feed-card { border-radius: 18px; }
}
