/* 
   RESONANCE THREADS — rt-pages.css
   Page-specific styles v1.0
   Replaces: page-specific parts of theme-pages.css, pages.css
    */

/* 
   1. STORE PAGE
 */
.store-page { min-height: 100vh; padding: 0 0 60px; }

.store-hero {
  background: rgba(22, 22, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,78,205,0.12);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.store-hero-title { font-size: clamp(20px,2.5vw,32px); font-weight: 900; letter-spacing: 3px; color: var(--rt-text); }
.store-hero-sub { font-size: 14px; color: var(--rt-muted); margin-top: 4px; }
[data-theme="light"] .store-hero { background: rgba(255,255,255,0.88); border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .store-hero-title { color: var(--rt-text); }

.store-search-wrap { display: flex; gap: 8px; flex: 1; max-width: 480px; }
.store-cat-dropdown { padding: 10px 14px; border-radius: 30px; border: 1px solid var(--rt-border-2); background: var(--rt-surface-2); color: var(--rt-text); font-size: 12px; font-family: inherit; outline: none; cursor: pointer; min-width: 140px; }
.store-cat-dropdown:focus { border-color: var(--rt-pink); }
.store-search-input { flex: 1; padding: 11px 18px; border-radius: 30px; border: 1px solid var(--rt-border-2); font-size: 14px; font-family: inherit; outline: none; background: var(--rt-surface-2); color: var(--rt-text); }
.store-search-input:focus { border-color: var(--rt-pink); }
.store-search-input::placeholder { color: var(--rt-muted); }
.store-search-btn { padding: 11px 22px; background: var(--rt-grad); color: #000; border: none; border-radius: 30px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .2s; white-space: nowrap; }
.store-search-btn:hover { opacity: 0.88; }

/* Quick Nav Chips */
.store-quick-nav { display: flex; gap: 8px; padding: 12px 24px; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.store-quick-nav::-webkit-scrollbar { display: none; }
.store-qn-chip { padding: 8px 16px; border-radius: 24px; border: 1px solid var(--rt-border-2); background: transparent; color: var(--rt-muted); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: all .15s; display: inline-flex; align-items: center; gap: 4px; }
.store-qn-chip:hover { border-color: var(--rt-pink); color: var(--rt-pink); background: rgba(255,78,205,.06); }
.store-qn-chip.active { border-color: var(--rt-pink); color: #000; background: var(--rt-grad); font-weight: 800; }

.store-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--rt-border);
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
  background: var(--rt-surface);
  position: sticky;
  top: var(--rt-nav-h);
  z-index: 10;
}

.store-filter-bar::-webkit-scrollbar { display: none; }

.filter-chip {
  padding: 7px 18px;
  border-radius: 30px;
  border: 1.5px solid var(--rt-border-2);
  background: transparent;
  color: var(--rt-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: var(--rt-trans);
  text-decoration: none;
  display: inline-block;
}

.filter-chip:hover, .filter-chip.active {
  border-color: var(--rt-pink);
  color: var(--rt-pink);
  background: rgba(255,78,205,.08);
}

.sort-select {
  padding: 7px 14px;
  border: 1.5px solid var(--rt-border-2);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  color: var(--rt-text);
  background: var(--rt-surface-2);
  transition: border-color .2s;
}

.sort-select:focus { border-color: var(--rt-pink); }

.store-layout { padding: 16px 24px 0; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.store-card {
  background: var(--rt-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--rt-border-2);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22,.68,0,1.2), box-shadow .3s ease, border-color .3s;
  cursor: pointer;
  position: relative;
}

.store-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
  border-color: rgba(255,78,205,.2);
}

.store-card-img {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--rt-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--rt-muted);
}

.store-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.store-card:hover .store-card-img img { transform: scale(1.1); }

.store-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.badge-trending { background: var(--rt-pink); color: #000; }
.badge-featured  { background: var(--rt-cyan); color: #000; }

.store-card-info { padding: 12px 14px 14px; }
.store-card-cat  { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rt-muted); margin-bottom: 4px; }
.store-card-name { font-size: 14px; font-weight: 700; color: var(--rt-text); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.store-card-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.store-card-price { font-size: 16px; font-weight: 900; color: var(--rt-text); }
.store-card-mrp   { font-size: 12px; color: var(--rt-muted); text-decoration: line-through; }
.store-card-off   { font-size: 11px; font-weight: 700; color: #22c55e; }

.store-card-actions { display: flex; gap: 6px; }

.sc-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  border: none;
  transition: all .2s;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sc-btn-cart { background: var(--rt-surface-3); color: var(--rt-text); border: 1px solid var(--rt-border-2); }
.sc-btn-cart:hover { background: var(--rt-pink); color: #000; border-color: var(--rt-pink); }
.sc-btn-wish { background: rgba(255,78,205,.1); color: var(--rt-pink); border: 1.5px solid rgba(255,78,205,.3); width: 36px; flex: none; }
.sc-btn-wish:hover { background: rgba(255,78,205,.2); }

.store-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--rt-border-2);
  background: var(--rt-surface);
  color: var(--rt-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all .2s;
}

.page-btn:hover, .page-btn.active {
  border-color: var(--rt-pink);
  color: var(--rt-pink);
  background: rgba(255,78,205,.08);
}

/* 
   2. PRODUCT PAGE
─ */
.pp-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 40px;
}

.pp-gallery {
  position: sticky;
  top: calc(var(--rt-nav-h) + 20px);
  align-self: start;
}

.pp-preview-stage {
  position: relative;
  background: var(--rt-surface);
  border-radius: 16px;
  border: 1px solid var(--rt-border-2);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-product-img { width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .3s; }

.pp-angle-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.pp-angle-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--rt-border-2);
  transition: all .2s;
  background: var(--rt-surface);
  flex-shrink: 0;
}
.pp-angle-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-angle-thumb.active { border-color: var(--rt-pink); }
.pp-angle-thumb:hover { border-color: var(--rt-muted); }

.pp-info { display: flex; flex-direction: column; gap: 0; }

.pp-title { font-size: 28px; font-weight: 900; color: var(--rt-text); line-height: 1.2; margin-bottom: 8px; }
.pp-subtitle { font-size: 14px; color: var(--rt-muted); margin-bottom: 14px; }

.pp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pp-stars { color: #f5a623; font-size: 16px; letter-spacing: 1px; }
.pp-rating-count { font-size: 13px; color: var(--rt-muted); }
.pp-rating-score { font-size: 14px; font-weight: 700; color: var(--rt-text); }

.pp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rt-border);
}

.pp-price-main { font-size: 34px; font-weight: 900; color: var(--rt-text); }
.pp-price-mrp   { font-size: 16px; color: var(--rt-muted); text-decoration: line-through; }
.pp-price-off   { font-size: 13px; font-weight: 700; color: #22c55e; background: rgba(34,197,94,.12); padding: 3px 8px; border-radius: 6px; }

.pp-option-group { margin-bottom: 18px; }
.pp-option-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rt-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pp-size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-size-radio { display: none; }
.pp-size-label {
  padding: 8px 16px;
  border: 1.5px solid var(--rt-border-2);
  border-radius: 8px;
  background: var(--rt-surface);
  color: var(--rt-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.pp-size-radio:checked + .pp-size-label { border-color: var(--rt-pink); color: var(--rt-pink); background: rgba(255,78,205,.08); }
.pp-size-label:hover { border-color: var(--rt-muted); color: var(--rt-text); }
.pp-size-label.out-of-stock { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

.pp-color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-color-radio { display: none; }
.pp-color-label {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all .2s;
  position: relative;
}
.pp-color-radio:checked + .pp-color-label { border-color: #fff; transform: scale(1.15); }
.pp-color-label:hover { transform: scale(1.1); }
.pp-color-radio:checked + .pp-color-label::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--rt-pink);
}

.product-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }

.btn-add-cart {
  flex: 1;
  padding: 13px 20px;
  background: var(--rt-surface-2);
  color: var(--rt-text);
  border: 1px solid var(--rt-border-2);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  text-align: center;
}
.btn-add-cart:hover { border-color: var(--rt-pink); color: var(--rt-pink); }

.btn-buy-now {
  flex: 1;
  padding: 13px 20px;
  background: var(--rt-grad);
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-buy-now:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,78,205,.3); }

.btn-wishlist {
  background: rgba(255,78,205,.1);
  color: var(--rt-pink);
  border: 1.5px solid rgba(255,78,205,.3);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 18px;
  cursor: pointer;
  transition: all .2s;
}
.btn-wishlist:hover { background: rgba(255,78,205,.2); }

.btn-customize-product {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  background: rgba(255,78,205,.08);
  border: 1.5px solid rgba(255,78,205,.3);
  color: var(--rt-pink);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
}
.btn-customize-product:hover { background: rgba(255,78,205,.15); }

.pp-reviews { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rt-border); }

.review-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-author { font-size: 14px; font-weight: 700; color: var(--rt-text); }
.review-date   { font-size: 12px; color: var(--rt-muted); margin-left: auto; }
.review-body   { font-size: 14px; color: var(--rt-text-2); line-height: 1.6; }

/* 
   3. CART PAGE
 */
.cart-page { min-height: 100vh; padding: 32px 60px 60px; }

.cart-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 3px;
  background: var(--rt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.cart-sub { font-size: 13px; color: var(--rt-muted); margin-bottom: 28px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.cart-items-wrap { display: flex; flex-direction: column; gap: 14px; }

.cart-item {
  display: flex;
  gap: 16px;
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 16px;
  align-items: center;
  transition: border-color .2s;
}
.cart-item:hover { border-color: rgba(255,78,205,.3); }

.cart-item-img {
  width: 80px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--rt-surface-2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 15px; font-weight: 700; color: var(--rt-text); margin-bottom: 4px; }
.cart-item-meta { font-size: 12px; color: var(--rt-muted); margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.cart-item-meta span { background: var(--rt-surface-2); padding: 2px 8px; border-radius: 20px; }
.cart-item-price { font-size: 15px; font-weight: 800; color: var(--rt-text); }

.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }

.qty-form { display: flex; align-items: center; gap: 6px; }
.qty-form button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1.5px solid var(--rt-border-2);
  background: var(--rt-surface-2);
  color: var(--rt-text);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.qty-form button:hover { border-color: var(--rt-pink); color: var(--rt-pink); }
.qty-form .qty-display { min-width: 36px; text-align: center; font-size: 13px; font-weight: 700; color: var(--rt-text); }

.remove-btn { font-size: 11px; color: var(--rt-muted); background: none; border: none; cursor: pointer; font-family: inherit; transition: color .2s; }
.remove-btn:hover { color: #ef4444; }

.cart-summary {
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-border-2);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: calc(var(--rt-nav-h) + 20px);
}

.summary-title { font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--rt-muted); margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--rt-text-2); margin-bottom: 10px; }
.summary-row.total { font-size: 18px; font-weight: 900; color: var(--rt-text); border-top: 1.5px solid var(--rt-border-2); padding-top: 14px; margin-top: 4px; }
.summary-shipping { font-size: 12px; color: #22c55e; font-weight: 600; }

.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--rt-border-2);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  background: var(--rt-surface-2);
  color: var(--rt-text);
}
.coupon-input:focus { border-color: var(--rt-pink); }
.coupon-btn {
  padding: 10px 16px;
  background: var(--rt-surface-3);
  color: var(--rt-text);
  border: 1px solid var(--rt-border-2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  white-space: nowrap;
}
.coupon-btn:hover { border-color: var(--rt-pink); color: var(--rt-pink); }

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: var(--rt-grad);
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s;
  margin-top: 8px;
  letter-spacing: .5px;
}
.checkout-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,78,205,.3); }

/* 
   4. CHECKOUT PAGE
 */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
  padding: 32px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.checkout-section {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 16px;
}

.checkout-section-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rt-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rt-border);
}

.addr-card {
  border: 1.5px solid var(--rt-border-2);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--rt-trans);
  margin-bottom: 10px;
  position: relative;
}

.addr-card:hover { border-color: rgba(255,78,205,.4); }
.addr-card.selected { border-color: var(--rt-pink); background: rgba(255,78,205,.04); }

.addr-card-name { font-size: 14px; font-weight: 700; color: var(--rt-text); margin-bottom: 4px; }
.addr-card-line { font-size: 13px; color: var(--rt-text-2); line-height: 1.5; }
.addr-card-phone { font-size: 12px; color: var(--rt-muted); margin-top: 4px; }

.addr-radio { position: absolute; top: 14px; right: 14px; accent-color: var(--rt-pink); width: 16px; height: 16px; }

.payment-option {
  border: 1.5px solid var(--rt-border-2);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--rt-trans);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-option:hover { border-color: rgba(255,78,205,.4); }
.payment-option.selected { border-color: var(--rt-pink); background: rgba(255,78,205,.04); }

.payment-option-icon { font-size: 24px; flex-shrink: 0; }
.payment-option-label { font-size: 14px; font-weight: 600; color: var(--rt-text); }
.payment-option-sub { font-size: 12px; color: var(--rt-muted); }

.order-summary-box {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 22px;
  position: sticky;
  top: calc(var(--rt-nav-h) + 20px);
}

/* 
   5. ORDERS PAGE
 */
.orders-page { min-height: 100vh; padding: 32px 60px; }

.order-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: border-color .2s;
}

.order-card:hover { border-color: rgba(255,78,205,.3); }

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rt-border);
  flex-wrap: wrap;
  gap: 10px;
}

.order-id { font-size: 13px; font-weight: 700; color: var(--rt-text); font-family: monospace; }
.order-date { font-size: 12px; color: var(--rt-muted); }
.order-total { font-size: 16px; font-weight: 800; color: var(--rt-text); }

.order-card-body { padding: 16px 20px; }

.order-items-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.order-item-thumb {
  width: 52px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--rt-surface-2);
  border: 1px solid var(--rt-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.order-item-thumb img { width: 100%; height: 100%; object-fit: cover; }

.order-detail-box {
  background: var(--rt-surface-2);
  border-radius: 10px;
  padding: 16px;
  margin-top: 12px;
  display: none;
}

.order-detail-box.open { display: block; }

/* 
   6. VAULT / DESIGNS PAGE
 */
.vault-page { min-height: 100vh; padding: 32px 40px; }

.vault-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.vault-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  background: var(--rt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.vault-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}

.vault-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(255,78,205,.15); }
.vault-card.pinned { border-color: rgba(255,78,205,.4); }

.vault-pin-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--rt-pink);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 1px;
  z-index: 2;
}

.vault-preview { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; background: var(--rt-surface-2); }
.vault-preview-placeholder { width: 100%; aspect-ratio: 4/5; background: var(--rt-surface-2); display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--rt-muted); }

.vault-info { padding: 12px 14px; }
.vault-name { font-size: 14px; font-weight: 700; color: var(--rt-text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vault-product { font-size: 11px; color: var(--rt-muted); margin-bottom: 8px; }

.vault-rsid-badge {
  display: inline-block;
  background: var(--rt-surface-3);
  border: 1px solid var(--rt-border-2);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10px;
  font-family: monospace;
  color: var(--rt-cyan);
  margin-bottom: 8px;
  word-break: break-all;
}

.vault-actions { display: flex; gap: 6px; }
.vault-btn {
  flex: 1;
  padding: 7px 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid var(--rt-border-2);
  background: var(--rt-surface-2);
  color: var(--rt-muted);
  transition: all .2s;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.vault-btn:hover { border-color: var(--rt-pink); color: var(--rt-pink); }
.vault-btn.delete-btn:hover { border-color: #ef4444; color: #ef4444; }

/* 
   7. PROFILE PAGE
 */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 32px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.profile-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 16px;
}

.profile-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--rt-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #000;
  overflow: hidden;
  flex-shrink: 0;
}

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

.profile-name { font-size: 18px; font-weight: 800; color: var(--rt-text); }
.profile-email { font-size: 13px; color: var(--rt-muted); }

.profile-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--rt-border);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.profile-tabs::-webkit-scrollbar { display: none; }

.profile-tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rt-muted);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}

.profile-tab.active { color: var(--rt-pink); border-bottom-color: var(--rt-pink); }
.profile-tab:hover { color: var(--rt-text); }

/* 
   8. DASHBOARD PAGE
 */
.db-wrap { min-height: 100vh; padding: 32px 40px 60px; }

.db-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.db-greeting { font-size: 22px; font-weight: 900; letter-spacing: .5px; color: var(--rt-text); }
.db-greeting span { background: var(--rt-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.db-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.db-kpi {
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 18px 20px;
  transition: box-shadow .2s;
}

.db-kpi:hover { box-shadow: 0 8px 24px rgba(255,78,205,.12); }
.db-kpi-icon { font-size: 24px; margin-bottom: 8px; }
.db-kpi-val { font-size: 28px; font-weight: 900; color: var(--rt-text); line-height: 1; }
.db-kpi-label { font-size: 11px; font-weight: 700; color: var(--rt-muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }

.db-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--rt-border);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.db-tabs::-webkit-scrollbar { display: none; }

.db-tab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rt-muted);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}

.db-tab.active { color: var(--rt-pink); border-bottom-color: var(--rt-pink); }
.db-tab-badge { background: var(--rt-pink); color: #000; font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 10px; margin-left: 4px; }

.db-panel { display: none; }
.db-panel.active { display: block; }

.db-card {
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-border-2);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: border-color .2s;
}

.db-card:hover { border-color: rgba(255,78,205,.3); }

.db-card-row { display: flex; gap: 16px; align-items: center; padding: 16px 20px; }

.db-card-img {
  width: 60px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--rt-surface-2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  overflow: hidden;
}

.db-card-img img { width: 100%; height: 100%; object-fit: cover; }
.db-card-body { flex: 1; min-width: 0; }
.db-card-title { font-size: 14px; font-weight: 800; color: var(--rt-text); margin-bottom: 3px; }
.db-card-meta { font-size: 12px; color: var(--rt-text-2); margin-bottom: 6px; }
.db-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.db-design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.db-design-card {
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-border-2);
  border-radius: 14px;
  overflow: hidden;
  transition: all .2s;
}

.db-design-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,78,205,.12); }

.db-design-thumb {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--rt-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.db-design-thumb img { width: 100%; height: 100%; object-fit: cover; }
.db-design-info { padding: 12px 14px; }
.db-design-name { font-size: 13px; font-weight: 700; color: var(--rt-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-design-meta { font-size: 11px; color: var(--rt-muted); margin: 3px 0 10px; }

/* 
   9. COMMUNITY PAGE
 */
.cm-root { position: relative; z-index: 1; min-height: 100vh; }

.cm-hero {
  background: var(--rt-surface);
  border-bottom: 1px solid var(--rt-border-2);
  padding: 32px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cm-hero-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  background: var(--rt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cm-feed {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding: 28px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.cm-posts { display: flex; flex-direction: column; gap: 16px; }

.cm-post {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 20px;
  transition: border-color .2s;
}

.cm-post:hover { border-color: rgba(255,78,205,.3); }

.cm-post-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cm-post-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--rt-grad); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #000; flex-shrink: 0; overflow: hidden; }
.cm-post-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cm-post-author { font-size: 14px; font-weight: 700; color: var(--rt-text); }
.cm-post-time { font-size: 12px; color: var(--rt-muted); }

.cm-post-body { font-size: 14px; color: var(--rt-text-2); line-height: 1.7; margin-bottom: 12px; }

.cm-post-img { width: 100%; border-radius: 10px; margin-bottom: 12px; max-height: 400px; object-fit: cover; }

.cm-post-actions { display: flex; gap: 12px; align-items: center; }
.cm-action-btn { background: none; border: none; color: var(--rt-muted); font-size: 13px; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 5px; transition: color .2s; padding: 4px 8px; border-radius: 6px; }
.cm-action-btn:hover { color: var(--rt-pink); background: rgba(255,78,205,.06); }

.cm-sidebar { display: flex; flex-direction: column; gap: 16px; }

.cm-sidebar-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 18px;
}

.cm-sidebar-title { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rt-muted); margin-bottom: 14px; }

.cm-create-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--rt-grad);
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: var(--rt-trans);
  text-decoration: none;
}

.cm-create-btn:hover { opacity: .88; transform: translateY(-1px); }

/* 
   10. AUTH PAGES
 */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  background: rgba(19, 19, 28, 0.92);
  border: 1px solid rgba(255, 78, 205, 0.2);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.auth-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 2px;
  background: var(--rt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.auth-sub { font-size: 14px; color: var(--rt-muted); margin-bottom: 28px; }

.auth-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 14px;
}

.auth-input:focus {
  border-color: var(--rt-pink);
  box-shadow: 0 0 0 3px rgba(255, 78, 205, 0.15);
}

.auth-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.auth-btn {
  width: 100%;
  padding: 14px;
  background: var(--rt-grad);
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s;
  margin-top: 4px;
  letter-spacing: .5px;
}

.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 78, 205, 0.35); }

.auth-link { color: var(--rt-pink); text-decoration: none; font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.1); }
.auth-divider span { font-size: 12px; color: var(--rt-muted); }

/* 
   11. INNER PAGES (About, Contact, Legal)
 */
.inner-page {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 40px 80px;
}

/* ── Inner Page — Info Cards (Design & Earn, etc.) ── */
.inner-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 1px;
  background: var(--rt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.inner-page h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: var(--rt-text);
  margin-top: 40px;
  margin-bottom: 16px;
}

.inner-page p {
  font-size: 15px;
  color: var(--rt-text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-sub {
  font-size: 15px;
  color: var(--rt-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0 32px;
}

.info-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 22px 18px;
  transition: all .2s ease;
}

.info-card:hover {
  border-color: rgba(255, 78, 205, .25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

[data-theme="light"] .info-card {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

[data-theme="light"] .info-card:hover {
  border-color: rgba(255, 78, 205, .2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.info-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--rt-text);
  margin: 10px 0 8px;
}

.info-card p {
  font-size: 13px;
  color: var(--rt-text-2);
  line-height: 1.6;
  margin: 0;
}

[data-theme="light"] .info-card p {
  color: #555;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card ul li {
  font-size: 13px;
  color: var(--rt-text-2);
  line-height: 2;
  padding-left: 0;
}

.ic-icon {
  font-size: 28px;
  line-height: 1;
  display: block;
}

/* Design & Earn — responsive grid tweaks */
@media (max-width: 767px) {
  .info-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .inner-page h1 {
    font-size: 26px;
  }

  .inner-page h2 {
    font-size: 18px;
    margin-top: 32px;
  }

  /* Stack 2-column inline grids on mobile */
  .inner-page [style*="grid-template-columns:1fr 1fr"],
  .inner-page [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

.inner-hero {
  background: var(--rt-glass, rgba(22,22,34,0.72));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rt-panel-accent-border, rgba(255,78,205,0.12));
  padding: 48px 60px;
  text-align: center;
  margin-bottom: 0;
}

.inner-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--rt-text);
  letter-spacing: 2px;
  margin-bottom: 8px;
  background: var(--rt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.inner-hero-sub { font-size: 16px; color: var(--rt-muted); }

.inner-section {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 20px;
}

.inner-section h2 { font-size: 20px; font-weight: 800; color: var(--rt-text); margin-bottom: 12px; }
.inner-section p { font-size: 15px; color: var(--rt-text-2); line-height: 1.8; margin-bottom: 12px; }
.inner-section a { color: var(--rt-pink); text-decoration: none; }
.inner-section a:hover { text-decoration: underline; }

/* 
   12. BLOG PAGE
 */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 60px;
}

.blog-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--rt-trans);
  cursor: pointer;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(255,78,205,.15); border-color: rgba(255,78,205,.4); }

.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--rt-surface-2); display: block; }
.blog-card-body { padding: 16px; }
.blog-card-meta { font-size: 11px; color: var(--rt-muted); margin-bottom: 8px; display: flex; gap: 10px; }
.blog-card-title { font-size: 16px; font-weight: 700; color: var(--rt-text); margin-bottom: 8px; line-height: 1.4; }
.blog-card-excerpt { font-size: 13px; color: var(--rt-text-2); line-height: 1.6; }

/* 
   13. BULK ORDERS PAGE
 */
.bulk-hero {
  background: var(--rt-glass, rgba(22,22,34,0.72));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rt-panel-accent-border, rgba(255,78,205,0.12));
  padding: 48px 60px;
  text-align: center;
}

.bulk-hero-title { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: var(--rt-text); letter-spacing: 2px; margin-bottom: 8px; background: var(--rt-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bulk-hero-sub { font-size: 16px; color: var(--rt-muted); }

.bulk-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px 60px;
}

.bulk-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 60px 60px;
}

/* 
   14. CREATOR DASHBOARD
 */
.creator-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.creator-stat-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.creator-stat-val { font-size: 32px; font-weight: 900; color: var(--rt-text); }
.creator-stat-label { font-size: 12px; color: var(--rt-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.creator-designs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.creator-earnings {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  min-height: 200px;
}

/* 
   15. RC CREDITS PAGE
 */
.rc-wallet-card {
  background: linear-gradient(135deg, rgba(255,78,205,.15), rgba(79,220,255,.1));
  border: 1px solid rgba(255,78,205,.3);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  text-align: center;
}

.rc-balance { font-size: 48px; font-weight: 900; background: var(--rt-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.rc-balance-label { font-size: 14px; color: var(--rt-muted); margin-top: 4px; }

.rc-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255,78,205,.15);
  border: 1px solid rgba(255,78,205,.3);
  color: var(--rt-pink);
  margin-top: 12px;
}

.rc-transactions-list { display: flex; flex-direction: column; gap: 8px; }

.rc-transaction-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 10px;
}

.rc-tx-label { font-size: 14px; color: var(--rt-text); }
.rc-tx-date  { font-size: 12px; color: var(--rt-muted); }
.rc-tx-amount { font-size: 15px; font-weight: 800; }
.rc-tx-amount.credit { color: #4ade80; }
.rc-tx-amount.debit  { color: #ef4444; }

.rc-recharge-packs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.rc-pack-card {
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-border-2);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--rt-trans);
}

.rc-pack-card:hover, .rc-pack-card.featured {
  border-color: var(--rt-pink);
  box-shadow: 0 0 0 1px var(--rt-pink), 0 8px 24px rgba(255,78,205,.2);
}

.rc-pack-rc { font-size: 28px; font-weight: 900; background: var(--rt-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.rc-pack-price { font-size: 18px; font-weight: 700; color: var(--rt-text); margin-top: 4px; }
.rc-pack-bonus { font-size: 11px; color: #4ade80; font-weight: 700; margin-top: 4px; }

/* 
   RESPONSIVE OVERRIDES FOR PAGES
 */
@media (max-width: 1023px) {
  .pp-main { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .pp-gallery { position: static; }
  .cm-feed { grid-template-columns: 1fr; padding: 20px; }
  .cm-sidebar { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); padding: 24px; }
}

@media (max-width: 767px) {
  .store-hero { padding: 20px; }
  .store-hero .store-search-wrap { flex-direction: column; max-width: 100%; }
  .store-cat-dropdown { width: 100%; }
  .store-quick-nav { padding: 10px 16px; gap: 6px; }
  .store-qn-chip { padding: 7px 12px; font-size: 11px; }
  .store-filter-bar { padding: 12px; }
  .store-layout { padding: 12px; }
  .cart-page { padding: 16px; }
  .orders-page { padding: 16px; }
  .vault-page { padding: 16px; }
  .profile-layout { grid-template-columns: 1fr; padding: 16px; }
  .checkout-layout { grid-template-columns: 1fr; padding: 16px; }
  .db-wrap { padding: 16px; }
  .cm-hero { padding: 20px; }
  .inner-page { padding: 0 16px 40px; margin: 32px auto; }
  .inner-hero { padding: 32px 20px; }
  .blog-grid { grid-template-columns: 1fr; padding: 16px; }
  .bulk-tiers { padding: 24px 16px; }
  .bulk-form { padding: 0 16px 40px; }
  .rc-recharge-packs { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════════════════════════
   RESONANCE CARD SYSTEM — Product Flip-Tile, Design Card,
   Offer Card, Customer Card, Image Skeleton
   ═══════════════════════════════════════════════════════════════ */

/* ── Image skeleton loading ── */
.rt-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--rt-surface-2);
}

.rt-img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--rt-surface-2) 0%,
    rgba(255,255,255,.06) 50%,
    var(--rt-surface-2) 100%
  );
  background-size: 200% 100%;
  animation: rt-skeleton-shimmer 1.4s infinite;
}

@keyframes rt-skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rt-img-skeleton { animation: none; }
}

.rt-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* ── Product Card Flip-Tile ── */
.rt-product-flip {
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  border-radius: 18px;
  outline: none;
}

.rt-product-flip:focus-visible {
  box-shadow: 0 0 0 3px var(--rt-pink);
}

.rt-pf-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  border-radius: 18px;
}

.rt-product-flip.is-flipped .rt-pf-inner {
  transform: rotateY(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .rt-pf-inner { transition: none; }
}

.rt-pf-front,
.rt-pf-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  box-shadow: var(--rt-shadow);
}

.rt-pf-back {
  transform: rotateY(180deg);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  gap: 12px;
}

/* Image area */
.rt-pf-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--rt-surface-2);
}

.rt-pf-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
  position: relative;
  z-index: 1;
}

.rt-product-flip:hover .rt-pf-img {
  transform: scale(1.04);
}

/* Hover overlay (desktop only) */
.rt-pf-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  padding: 16px;
}

.rt-product-flip:hover .rt-pf-hover-overlay {
  opacity: 1;
}

@media (hover: none) {
  .rt-pf-hover-overlay { display: none; }
}

/* Category label in card info */
.rt-pf-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rt-muted);
  margin-bottom: 4px;
}

/* Discount badge in price row */
.rt-pf-off {
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74,222,128,.12);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Trending/Featured badge */
.rt-pf-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
}

/* Info area */
.rt-pf-info {
  padding: 12px 14px 14px;
}

.rt-pf-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--rt-text);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rt-pf-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rt-pf-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--rt-pink);
}

.rt-pf-mrp {
  font-size: 12px;
  color: var(--rt-muted);
  text-decoration: line-through;
}

.rt-pf-discount {
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74,222,128,.12);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Category badge */
.rt-pf-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

/* Stock badge */
.rt-pf-stock {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
}

.rt-pf-stock--in   { background: rgba(74,222,128,.12); color: #4ade80; }
.rt-pf-stock--low  { background: rgba(245,158,11,.12); color: #f59e0b; }
.rt-pf-stock--out  { background: rgba(239,68,68,.12);  color: #ef4444; }

/* Suspended overlay */
.rt-pf-suspended-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  z-index: 10;
}

.rt-pf-suspended-overlay span {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.5);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
}

/* Back face content */
.rt-pf-back-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.rt-pf-back-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--rt-text);
  line-height: 1.3;
}

.rt-pf-back-desc {
  font-size: 13px;
  color: var(--rt-text-2);
  line-height: 1.6;
  flex: 1;
}

.rt-pf-back-meta {
  font-size: 12px;
  color: var(--rt-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rt-pf-back-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Design Card ── */
.rt-design-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease, border-color 0.3s;
  cursor: pointer;
  position: relative;
}

.rt-design-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,78,205,.4);
  box-shadow: 0 12px 32px rgba(255,78,205,.15);
}

.rt-design-card--approved { border-color: rgba(74,222,128,.25); }
.rt-design-card--pending  { border-color: rgba(245,158,11,.25); }
.rt-design-card--rejected { border-color: rgba(239,68,68,.25); }
.rt-design-card--suspended { border-color: rgba(239,68,68,.3); opacity: .75; }

.rt-dc-img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--rt-surface-2);
}

.rt-dc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.rt-design-card:hover .rt-dc-img {
  transform: scale(1.05);
}

.rt-dc-status-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.rt-dc-status-badge--draft     { background: rgba(255,255,255,.15); color: rgba(255,255,255,.8); }
.rt-dc-status-badge--pending   { background: rgba(245,158,11,.8);   color: #000; }
.rt-dc-status-badge--approved  { background: rgba(74,222,128,.8);   color: #000; }
.rt-dc-status-badge--rejected  { background: rgba(239,68,68,.8);    color: #fff; }
.rt-dc-status-badge--suspended { background: rgba(239,68,68,.8);    color: #fff; }

.rt-dc-info {
  padding: 10px 12px 12px;
}

.rt-dc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--rt-text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rt-dc-meta {
  font-size: 11px;
  color: var(--rt-muted);
  margin-bottom: 8px;
}

.rt-dc-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ── Offer Card ── */
.rt-offer-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.rt-offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,78,205,.2);
}

.rt-oc-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: var(--rt-surface-2);
}

.rt-oc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.rt-oc-info {
  padding: 14px 16px 16px;
}

.rt-oc-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--rt-text);
  margin-bottom: 4px;
}

.rt-oc-discount {
  font-size: 22px;
  font-weight: 900;
  background: var(--rt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.rt-oc-coupon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,78,205,.08);
  border: 1.5px dashed var(--rt-pink);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--rt-pink);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* Countdown timer */
.rt-offer-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.rt-ocd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--rt-surface-2);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 44px;
}

.rt-ocd-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--rt-text);
  line-height: 1;
}

.rt-ocd-lbl {
  font-size: 9px;
  color: var(--rt-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.rt-ocd-sep {
  font-size: 18px;
  font-weight: 900;
  color: var(--rt-muted);
  padding: 0 2px;
}

.rt-offer-ended {
  font-size: 13px;
  font-weight: 700;
  color: var(--rt-muted);
  padding: 8px 0;
}

.rt-oc-cta {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--rt-grad);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.rt-oc-cta:hover { opacity: 0.88; }
.rt-oc-cta:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Admin product overlay ── */
.rt-admin-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.rt-product-flip:hover .rt-admin-overlay,
.rt-design-card:hover .rt-admin-overlay {
  opacity: 1;
}

.rt-ao-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rt-ao-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255,255,255,.7);
  cursor: pointer;
}

.rt-ao-toggle input[type="checkbox"] {
  accent-color: var(--rt-pink);
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.rt-ao-stock {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  align-self: flex-start;
}

.rt-ao-stock--green { background: rgba(74,222,128,.2);  color: #4ade80; }
.rt-ao-stock--amber { background: rgba(245,158,11,.2);  color: #f59e0b; }
.rt-ao-stock--red   { background: rgba(239,68,68,.2);   color: #ef4444; }

.rt-ao-links {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

/* ── Responsive card grids ── */
.rt-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.rt-design-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.rt-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

@media (max-width: 767px) {
  .rt-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rt-design-grid-new { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rt-offer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .rt-product-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD — FLIP-TILE  (Task 11.1)
   Used in store.php product grid
   ═══════════════════════════════════════════════════════════════ */

.rt-product-flip {
  perspective: 1000px;
  cursor: pointer;
  position: relative;
  /* Height is driven by the front face content */
}

.rt-pf-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  border-radius: 14px;
  overflow: visible;
}

.rt-product-flip.is-flipped .rt-pf-inner {
  transform: rotateY(180deg);
}

/* When flipped, disable pointer events on front, enable on back */
.rt-product-flip .rt-pf-front { pointer-events: auto; }
.rt-product-flip .rt-pf-back { pointer-events: none; }
.rt-product-flip.is-flipped .rt-pf-front { pointer-events: none; }
.rt-product-flip.is-flipped .rt-pf-back { pointer-events: auto; }

/* Reduced motion — disable flip animation */
@media (prefers-reduced-motion: reduce) {
  .rt-pf-inner { transition: none; }
}

/* Front and back faces */
.rt-pf-front,
.rt-pf-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.rt-pf-front {
  position: relative;
}

.rt-pf-back {
  transform: rotateY(180deg);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  gap: 12px;
}

.rt-product-flip:hover .rt-pf-front,
.rt-product-flip:hover .rt-pf-back {
  border-color: rgba(255, 78, 205, 0.4);
  box-shadow: 0 12px 32px rgba(255, 78, 205, 0.15);
}

/* Image wrapper */
.rt-pf-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--rt-surface-2);
}

.rt-pf-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.rt-product-flip:hover .rt-pf-img {
  transform: scale(1.05);
}

/* Status badge on front */
.rt-pf-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  background: rgba(255, 78, 205, 0.9);
  color: #000;
}

/* Hover overlay — hidden on touch devices */
.rt-pf-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px 12px 12px;
  display: flex;
  gap: 6px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  z-index: 3;
}

.rt-product-flip:hover .rt-pf-hover-overlay {
  transform: translateY(0);
}

@media (hover: none) {
  .rt-pf-hover-overlay { display: none; }
}

/* Front info section */
.rt-pf-info {
  padding: 10px 12px 12px;
}

.rt-pf-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rt-muted);
  margin-bottom: 3px;
}

.rt-pf-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--rt-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.rt-pf-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.rt-pf-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--rt-text);
}

.rt-pf-mrp {
  font-size: 12px;
  color: var(--rt-muted);
  text-decoration: line-through;
}

.rt-pf-off {
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
}

/* Stock indicator */
.rt-pf-stock { font-size: 11px; font-weight: 600; margin-top: 4px; }
.rt-pf-stock--in   { color: #22c55e; }
.rt-pf-stock--low  { color: #f59e0b; }
.rt-pf-stock--out  { color: #ef4444; }

/* Back face content */
.rt-pf-back-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--rt-text);
}

.rt-pf-back-desc {
  font-size: 13px;
  color: var(--rt-text-2);
  line-height: 1.5;
}

.rt-pf-back-meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--rt-muted);
}

.rt-pf-back-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

/* Suspended overlay */
.rt-pf-suspended-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  z-index: 10;
}

.rt-pf-suspended-overlay span {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(239, 68, 68, 0.8);
  padding: 8px 16px;
  border-radius: 20px;
}

/* Light theme */
[data-theme="light"] .rt-pf-front,
[data-theme="light"] .rt-pf-back {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
}


/* ═══════════════════════════════════════════════════════════════
   IMAGE SKELETON LOADING  (Task 18.2)
   ═══════════════════════════════════════════════════════════════ */

.rt-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.rt-img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--rt-surface-2) 25%,
    var(--rt-surface-3, #2a2a3a) 50%,
    var(--rt-surface-2) 75%
  );
  background-size: 200% 100%;
  animation: rt-skeleton-shimmer 1.5s infinite;
  z-index: 1;
}

@keyframes rt-skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rt-img-skeleton {
    animation: none;
    background: var(--rt-surface-2);
  }
}

.rt-card-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
}

[data-theme="light"] .rt-img-skeleton {
  background: linear-gradient(90deg, #f0f0f5 25%, #e4e4ec 50%, #f0f0f5 75%);
  background-size: 200% 100%;
  animation: rt-skeleton-shimmer 1.5s infinite;
}


/* ═══════════════════════════════════════════════════════════════
   OFFER CARD — COUNTDOWN TIMER  (Task 13.1)
   ═══════════════════════════════════════════════════════════════ */

.rt-offer-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.rt-offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rt-grad);
}

.rt-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(255, 78, 205, 0.2);
  border-color: rgba(255, 78, 205, 0.4);
}

.rt-oc-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--rt-grad);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  align-self: flex-start;
}

.rt-oc-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--rt-text);
  line-height: 1.2;
}

.rt-oc-discount {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rt-oc-pct {
  font-size: 32px;
  font-weight: 900;
  background: var(--rt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.rt-oc-coupon {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--rt-surface-2);
  border: 1px dashed var(--rt-border-2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--rt-text-2);
}

.rt-oc-coupon strong {
  font-family: monospace;
  font-size: 14px;
  color: var(--rt-pink);
  letter-spacing: 1px;
}

.rt-oc-copy-btn {
  margin-left: auto;
  padding: 4px 10px;
  background: var(--rt-grad);
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.rt-oc-copy-btn:hover { opacity: 0.85; }

/* Countdown timer */
.rt-offer-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rt-ocd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 44px;
}

.rt-ocd-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--rt-text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  background: var(--rt-surface-2);
  border: 1px solid var(--rt-border-2);
  border-radius: 8px;
  padding: 6px 8px;
  min-width: 44px;
  text-align: center;
  display: block;
}

.rt-ocd-unit label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rt-muted);
  margin: 0;
}

.rt-ocd-sep {
  font-size: 20px;
  font-weight: 900;
  color: var(--rt-muted);
  margin-bottom: 14px;
  align-self: center;
}

.rt-oc-ended {
  font-size: 14px;
  font-weight: 700;
  color: var(--rt-muted);
  padding: 8px 16px;
  background: var(--rt-surface-2);
  border-radius: 8px;
}

.rt-oc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  background: var(--rt-grad);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: auto;
}

.rt-oc-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.rt-oc-cta[disabled],
.rt-oc-cta.rt-btn-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

[data-theme="light"] .rt-offer-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .rt-ocd-val {
  background: #f4f4fa;
  border-color: rgba(0, 0, 0, 0.12);
}


/* ═══════════════════════════════════════════════════════════════
   DESIGN CARD — STATUS BADGES & ROLE CONTROLS  (Task 15.1)
   Used in admin/designs.php and vault.php
   ═══════════════════════════════════════════════════════════════ */

.rt-design-card {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border-2);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  position: relative;
}

.rt-design-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 78, 205, 0.4);
  box-shadow: 0 12px 32px rgba(255, 78, 205, 0.15);
}

/* Status modifier classes */
.rt-design-card--approved  { border-color: rgba(74, 222, 128, 0.3); }
.rt-design-card--pending   { border-color: rgba(245, 158, 11, 0.3); }
.rt-design-card--rejected  { border-color: rgba(239, 68, 68, 0.3); opacity: 0.85; }
.rt-design-card--suspended { border-color: rgba(239, 68, 68, 0.3); opacity: 0.75; }
.rt-design-card--draft     { border-color: var(--rt-border-2); }

/* Image wrapper — 4:5 portrait ratio */
.rt-dc-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--rt-surface-2);
  flex-shrink: 0;
}

.rt-dc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.rt-design-card:hover .rt-dc-img {
  transform: scale(1.05);
}

/* Status badge — overlaid on image */
.rt-dc-status-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  font-size: 9px !important;
  padding: 2px 8px !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Skeleton inside image wrap */
.rt-dc-img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--rt-surface-2) 25%, var(--rt-surface-3, #2a2a3a) 50%, var(--rt-surface-2) 75%);
  background-size: 200% 100%;
  animation: rt-skeleton-shimmer 1.5s infinite;
  z-index: 1;
}

/* Info section */
.rt-dc-info {
  padding: 10px 12px 12px;
  background: var(--rt-surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rt-dc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--rt-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rt-dc-meta {
  font-size: 11px;
  color: var(--rt-muted);
}

.rt-dc-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Light theme */
[data-theme="light"] .rt-design-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .rt-dc-info {
  background: #fff;
}


/* ═══════════════════════════════════════════════════════════════
   RUID UNIVERSAL PROFILE — Merged from ruid-profile.css
   Premium, clean, LinkedIn/Behance-inspired layout
═══════════════════════════════════════════════════════════════ */

.ruid-root{max-width:1400px;margin:0 auto;padding:0 16px 60px}
.ruid-banner{position:relative;width:100%;height:340px;border-radius:0 0 20px 20px;overflow:hidden;cursor:pointer;background:linear-gradient(135deg,rgba(255,78,205,.15),rgba(79,220,255,.1),rgba(168,85,247,.1))}
.ruid-banner-img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.ruid-banner:hover .ruid-banner-img{transform:scale(1.02)}
.ruid-banner-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%)}
.ruid-banner-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-end;padding:16px;background:linear-gradient(to top,rgba(0,0,0,.4) 0%,transparent 40%);opacity:0;transition:opacity .3s ease}
.ruid-banner:hover .ruid-banner-overlay{opacity:1}
.ruid-banner-edit-btn{padding:8px 16px;background:rgba(0,0,0,.7);border:1px solid rgba(255,255,255,.2);border-radius:20px;color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(8px)}
.ruid-header{background:var(--rt-surface);border:1px solid var(--rt-border);border-radius:0 0 20px 20px;margin-top:-40px;position:relative;z-index:2;overflow:visible}
.ruid-header-inner,.ruid-header-top{display:flex;align-items:flex-start;gap:24px;padding:0 32px 24px;flex-wrap:wrap}
.ruid-avatar-wrap{position:relative;margin-top:-50px;flex-shrink:0;z-index:3}
.ruid-avatar{width:130px;height:130px;border-radius:50%;border:4px solid var(--rt-surface);background:var(--rt-grad);display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.3)}
.ruid-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.ruid-avatar-initial{font-size:40px;font-weight:900;color:#000}
.ruid-avatar-edit{position:absolute;bottom:8px;right:8px;width:28px;height:28px;border-radius:50%;background:var(--rt-surface-2);border:2px solid var(--rt-border);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:11px;color:var(--rt-text-2);transition:all .2s;opacity:.7}
.ruid-avatar-edit:hover{opacity:1;background:var(--rt-surface-3);border-color:var(--rt-pink);color:var(--rt-pink)}
.ruid-info{flex:1;min-width:0;padding-top:16px}
.ruid-name{font-size:26px;font-weight:900;color:var(--rt-text);margin:0 0 4px;line-height:1.2}
.ruid-meta{font-size:13px;color:var(--rt-muted);margin:0 0 8px}
.ruid-bio{font-size:14px;color:var(--rt-text-2);line-height:1.5;margin:0 0 10px;max-width:600px}
.ruid-social{display:flex;gap:8px;flex-wrap:wrap}
.ruid-social-btn{width:32px;height:32px;border-radius:8px;border:1px solid var(--rt-border);background:var(--rt-surface-2);display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;transition:all .2s}
.ruid-social-btn:hover{border-color:var(--rt-pink);background:rgba(255,78,205,.08);transform:translateY(-1px)}
.ruid-stats{display:flex;gap:20px;padding-top:20px;flex-shrink:0}
.ruid-stat{display:flex;flex-direction:column;align-items:center;gap:2px}
.ruid-stat-num{font-size:20px;font-weight:900;color:var(--rt-text);line-height:1}
.ruid-stat-lbl{font-size:10px;font-weight:700;color:var(--rt-muted);text-transform:uppercase;letter-spacing:.5px}
.ruid-private-info{padding:16px 32px;background:rgba(255,78,205,.03);border-top:1px solid var(--rt-border)}
.ruid-private-label{font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:var(--rt-muted);margin-bottom:10px}
.ruid-private-grid{display:flex;gap:24px;flex-wrap:wrap}
.ruid-private-item{display:flex;flex-direction:column;gap:2px}
.ruid-private-key{font-size:10px;font-weight:700;color:var(--rt-muted);text-transform:uppercase;letter-spacing:.5px}
.ruid-private-val{font-size:13px;font-weight:600;color:var(--rt-text)}
.ruid-status-active{color:#4ade80}
.ruid-status-suspended{color:#f87171}
.ruid-status-banned{color:#ef4444}
.ruid-status-new{color:#60a5fa}
.ruid-roles-bar{margin-top:20px;padding:20px 24px;background:var(--rt-surface);border:1px solid var(--rt-border);border-radius:16px}
.ruid-roles-title{font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:var(--rt-muted);margin-bottom:12px}
.ruid-roles-tags{display:flex;gap:10px;flex-wrap:wrap}
.ruid-role-tag{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:12px;border:1.5px solid var(--role-color,#888);background:color-mix(in srgb,var(--role-color,#888) 8%,transparent);color:var(--rt-text);font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:all .2s ease;position:relative}
.ruid-role-tag:hover{background:color-mix(in srgb,var(--role-color,#888) 15%,transparent);transform:translateY(-2px);box-shadow:0 4px 16px color-mix(in srgb,var(--role-color,#888) 20%,transparent)}
.ruid-role-tag.primary{border-width:2px;box-shadow:0 2px 12px color-mix(in srgb,var(--role-color,#888) 25%,transparent)}
.ruid-role-icon{font-size:16px;line-height:1}
.ruid-role-label{font-size:12px;font-weight:700;letter-spacing:.3px}
.ruid-role-primary-dot{width:7px;height:7px;border-radius:50%;background:var(--role-color,#888);box-shadow:0 0 6px var(--role-color,#888)}
.ruid-workspace-selector{margin-top:24px;padding:32px;background:var(--rt-surface);border:2px solid rgba(255,78,205,.2);border-radius:20px;text-align:center}
.ruid-ws-title{font-size:22px;font-weight:900;color:var(--rt-text);margin-bottom:6px}
.ruid-ws-subtitle{font-size:14px;color:var(--rt-muted);margin-bottom:24px}
.ruid-ws-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;max-width:700px;margin:0 auto}
.ruid-ws-card{display:flex;align-items:center;gap:12px;padding:16px 20px;border-radius:14px;border:1.5px solid var(--role-color,var(--rt-border));background:color-mix(in srgb,var(--role-color,#888) 5%,var(--rt-surface));text-decoration:none;color:var(--rt-text);font-weight:700;font-size:14px;transition:all .2s ease}
.ruid-ws-card:hover{background:color-mix(in srgb,var(--role-color,#888) 12%,var(--rt-surface));transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.2)}
.ruid-ws-icon{font-size:24px}.ruid-ws-label{flex:1}
.ruid-ws-arrow{font-size:18px;color:var(--rt-muted);transition:transform .2s}
.ruid-ws-card:hover .ruid-ws-arrow{transform:translateX(4px);color:var(--role-color,var(--rt-pink))}
.ruid-tabs{display:flex;gap:4px;margin-top:24px;padding:4px;background:var(--rt-surface);border:1px solid var(--rt-border);border-radius:14px;overflow-x:auto}
.ruid-tab{padding:12px 24px;border-radius:10px;border:none;background:transparent;color:var(--rt-muted);font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:all .2s;white-space:nowrap}
.ruid-tab:hover{color:var(--rt-text);background:var(--rt-surface-2)}
.ruid-tab.active{background:var(--rt-grad);color:#000}
.ruid-tab-content{display:none;margin-top:20px}
.ruid-tab-content.active{display:block}
.ruid-section-card{background:var(--rt-surface);border:1px solid var(--rt-border);border-radius:16px;padding:24px;margin-bottom:20px}
.ruid-section-title{font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:var(--rt-muted);margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid var(--rt-border)}
.ruid-rc-card{background:linear-gradient(135deg,rgba(255,78,205,.08),rgba(79,220,255,.05));border-color:rgba(255,78,205,.15)}
.ruid-rc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ruid-rc-item{text-align:center;padding:14px;background:rgba(0,0,0,.15);border-radius:12px}
.ruid-rc-val{font-size:22px;font-weight:900;color:var(--rt-text)}
.ruid-rc-lbl{font-size:9px;font-weight:700;color:var(--rt-muted);text-transform:uppercase;margin-top:2px}
.ruid-tier-strip{display:flex;gap:16px;margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,78,205,.15);font-size:12px;font-weight:600;color:var(--rt-pink);flex-wrap:wrap}
.ruid-referral-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.ruid-qr{width:80px;height:80px;border-radius:10px;border:1px solid var(--rt-border);flex-shrink:0}
.ruid-referral-info{flex:1;min-width:0}
.ruid-ref-code{font-size:14px;color:var(--rt-text);margin-bottom:4px}
.ruid-ref-code strong{color:var(--rt-pink)}
.ruid-ref-url{font-size:11px;color:var(--rt-muted);word-break:break-all;margin-bottom:10px}
.ruid-ref-actions{display:flex;gap:8px}
.ruid-btn-sm{padding:6px 14px;border-radius:8px;border:1px solid var(--rt-border);background:var(--rt-surface-2);color:var(--rt-text);font-size:11px;font-weight:700;cursor:pointer;font-family:inherit;transition:all .2s}
.ruid-btn-sm:hover{border-color:var(--rt-pink);color:var(--rt-pink)}
.ruid-quick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.ruid-quick-item{display:flex;align-items:center;gap:8px;padding:14px 16px;background:var(--rt-surface-2);border:1px solid var(--rt-border);border-radius:12px;text-decoration:none;color:var(--rt-text);font-size:13px;font-weight:600;transition:all .2s}
.ruid-quick-item:hover{border-color:var(--rt-pink);color:var(--rt-pink);background:rgba(255,78,205,.06);transform:translateY(-1px)}
.ruid-two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ruid-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ruid-form-grid .full{grid-column:1/-1}
.ruid-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ruid-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.ruid-field label{font-size:11px;font-weight:700;color:var(--rt-muted);letter-spacing:.5px;text-transform:uppercase}
.ruid-field-hint{font-weight:400;font-size:10px;color:var(--rt-muted-2);text-transform:none;letter-spacing:0}
.ruid-field input,.ruid-field textarea,.ruid-field select{padding:11px 14px;border:1.5px solid var(--rt-border-2);border-radius:10px;background:var(--rt-surface-2);color:var(--rt-text);font-size:13px;font-family:inherit;outline:none;transition:border-color .2s;width:100%}
.ruid-field input:focus,.ruid-field textarea:focus,.ruid-field select:focus{border-color:var(--rt-pink)}
.ruid-field textarea{resize:vertical;min-height:80px}
.ruid-social-fields{margin-top:16px;display:flex;flex-direction:column;gap:10px}
.ruid-social-input{display:flex;align-items:center;gap:10px}
.ruid-social-input span{width:36px;height:36px;border-radius:8px;background:var(--rt-surface-2);border:1px solid var(--rt-border);display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
.ruid-social-input input{flex:1;padding:10px 14px;border:1.5px solid var(--rt-border-2);border-radius:10px;background:var(--rt-surface-2);color:var(--rt-text);font-size:13px;font-family:inherit;outline:none;transition:border-color .2s}
.ruid-social-input input:focus{border-color:var(--rt-pink)}
.ruid-btn-primary{margin-top:16px;padding:12px 24px;border-radius:12px;border:none;background:var(--rt-grad);color:#000;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:all .2s;display:inline-flex;align-items:center;gap:6px}
.ruid-btn-primary:hover{opacity:.9;transform:translateY(-1px)}
.ruid-btn-danger{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;border-radius:12px;border:1px solid rgba(239,68,68,.3);background:rgba(239,68,68,.08);color:#ef4444;font-size:13px;font-weight:700;text-decoration:none;transition:all .2s}
.ruid-btn-danger:hover{background:rgba(239,68,68,.15);border-color:rgba(239,68,68,.5)}
.ruid-toggle-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--rt-border);font-size:13px;color:var(--rt-text-2)}
.ruid-toggle-row:last-of-type{border-bottom:none}
.ruid-toggle{position:relative;display:inline-block;width:42px;height:24px;flex-shrink:0}
.ruid-toggle input{opacity:0;width:0;height:0}
.ruid-toggle-track{position:absolute;inset:0;background:var(--rt-border-2);border-radius:24px;cursor:pointer;transition:.3s}
.ruid-toggle-track::before{content:'';position:absolute;width:18px;height:18px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:.3s}
.ruid-toggle input:checked+.ruid-toggle-track{background:var(--rt-pink)}
.ruid-toggle input:checked+.ruid-toggle-track::before{transform:translateX(18px)}
@media(max-width:900px){.ruid-root{padding:0 12px 40px}.ruid-banner{height:200px;border-radius:0 0 16px 16px}.ruid-header-inner,.ruid-header-top{padding:0 20px 20px;gap:16px}.ruid-avatar{width:90px;height:90px}.ruid-avatar-wrap{margin-top:-40px}.ruid-stats{width:100%;justify-content:space-around;padding-top:12px}.ruid-private-info{padding:14px 20px}.ruid-private-grid{gap:16px}.ruid-two-col{grid-template-columns:1fr}.ruid-form-grid{grid-template-columns:1fr}.ruid-ws-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.ruid-banner{height:160px}.ruid-header-inner,.ruid-header-top{flex-direction:column;align-items:center;text-align:center;padding:0 16px 20px}.ruid-avatar-wrap{margin-top:-45px}.ruid-info{padding-top:0;align-items:center;display:flex;flex-direction:column}.ruid-social{justify-content:center}.ruid-name{font-size:22px}.ruid-stats{gap:16px}.ruid-roles-tags{justify-content:center}.ruid-tabs{border-radius:12px}.ruid-tab{padding:10px 16px;font-size:12px}.ruid-rc-grid{grid-template-columns:1fr 1fr}.ruid-quick-grid{grid-template-columns:1fr 1fr}.ruid-form-row{grid-template-columns:1fr}.ruid-ws-grid{grid-template-columns:1fr}.ruid-section-card{padding:18px}}

/* ── KYC Badge ── */
.ruid-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ruid-kyc-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700;letter-spacing:.3px;text-decoration:none;transition:all .2s}
.ruid-kyc-badge.verified,.ruid-kyc-verified{background:rgba(74,222,128,.12);color:#4ade80;border:1px solid rgba(74,222,128,.3)}
.ruid-kyc-badge.unverified,.ruid-kyc-unverified{background:rgba(251,191,36,.1);color:#fbbf24;border:1px solid rgba(251,191,36,.3)}
.ruid-kyc-badge.unverified:hover,.ruid-kyc-unverified:hover{background:rgba(251,191,36,.18);border-color:rgba(251,191,36,.5)}
.ruid-kyc-notice{font-size:12px;color:var(--rt-muted);margin:6px 0 10px;padding:8px 12px;background:rgba(251,191,36,.06);border:1px solid rgba(251,191,36,.15);border-radius:8px}
.ruid-kyc-notice a{color:#fbbf24;text-decoration:none;font-weight:600}
.ruid-kyc-notice a:hover{text-decoration:underline}

/* ── Stats Row (clickable links) ── */
.ruid-stats-row{display:flex;gap:4px;padding:16px 24px;border-top:1px solid var(--rt-border);overflow-x:auto;-webkit-overflow-scrolling:touch}
.ruid-stat-link{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 16px;border-radius:10px;text-decoration:none;color:var(--rt-text);transition:all .2s;min-width:70px;flex:1}
.ruid-stat-link:hover{background:var(--rt-surface-2);color:var(--rt-pink)}
.ruid-stat-link .ruid-stat-num{font-size:18px;font-weight:900;line-height:1}
.ruid-stat-link .ruid-stat-lbl{font-size:9px;font-weight:700;color:var(--rt-muted);text-transform:uppercase;letter-spacing:.5px}
.ruid-stat-link:hover .ruid-stat-lbl{color:var(--rt-pink)}

/* ── Collapsible Sections ── */
.ruid-collapse{background:var(--rt-surface);border:1px solid var(--rt-border);border-radius:14px;margin-bottom:12px;overflow:hidden}
.ruid-collapse-header{padding:16px 20px;font-size:14px;font-weight:700;color:var(--rt-text);cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;transition:background .2s}
.ruid-collapse-header:hover{background:var(--rt-surface-2)}
.ruid-collapse-header::after{content:'▾';margin-left:auto;font-size:12px;color:var(--rt-muted);transition:transform .2s}
.ruid-collapse[open] .ruid-collapse-header::after{transform:rotate(180deg)}
.ruid-collapse-header::-webkit-details-marker{display:none}
.ruid-collapse-body{padding:0 20px 18px}

@media(max-width:600px){
  .ruid-stats-row{padding:12px 16px;gap:2px}
  .ruid-stat-link{padding:8px 10px;min-width:60px}
  .ruid-stat-link .ruid-stat-num{font-size:15px}
  .ruid-name-row{justify-content:center}
  .ruid-collapse-header{padding:14px 16px;font-size:13px}
  .ruid-collapse-body{padding:0 16px 14px}
}
