    /* ═══════════════════════════════════════════════════════════════════════════
       ICE LOGIX - GLASSMORPHISM DESIGN SYSTEM
       Theme: Arctic Ice & Snow (Cozy, Friendly, 3D-inspired)
       ═══════════════════════════════════════════════════════════════════════════ */
    
    :root {
      /* Primary Ice Colors */
      --ice-frost: #E8F4FC;
      --ice-light: #B8E0F6;
      --ice-primary: #5BBFEB;
      --ice-deep: #2E9ED4;
      --ice-arctic: #1A7BB5;
      
      /* Snow & White */
      --snow-white: #FFFFFF;
      --snow-soft: #F5FAFD;
      --snow-mist: rgba(255, 255, 255, 0.95);
      
      /* Background Gradient */
      --bg-gradient-start: #000000;
      --bg-gradient-mid: #000000;
      --bg-gradient-end: #000000;
      
      /* Glassmorphism */
      --glass-bg: rgba(255, 255, 255, 0.08);
      --glass-bg-strong: rgba(255, 255, 255, 0.12);
      --glass-border: rgba(255, 255, 255, 0.15);
      --glass-border-strong: rgba(255, 255, 255, 0.25);
      --glass-blur: 20px;
      
      /* Status Colors */
      --status-success: #34D399;
      --status-warning: #FBBF24;
      --status-error: #F87171;
      --status-info: #60A5FA;
      
      /* Text */
      --text-primary: #FFFFFF;
      --text-secondary: rgba(255, 255, 255, 0.75);
      --text-muted: rgba(255, 255, 255, 0.5);
      
      /* Shadows */
      --shadow-glow: 0 0 30px rgba(91, 191, 235, 0.3);
      --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
      --shadow-island: 0 4px 24px rgba(0, 0, 0, 0.25), 0 0 40px rgba(91, 191, 235, 0.1);
    }
    
    .no-transitions * {
      transition: none !important;
      animation: none !important;
    }
    
    
    * { margin: 0; padding: 0; box-sizing: border-box; }

    /* Performance: safe GPU hint only for scroll containers */
    .scroll-x {
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }

    /* Reduce paint cost for fixed header/footer — promote to GPU layer */
    .app-header, .tab-bar { will-change: transform; }

    /* Disable expensive snow animation on mobile for perf */
    @media (max-width: 767px) {
      body::before { animation: none !important; }
    }
    
    html, body {
      background: linear-gradient(165deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
      background-attachment: fixed !important;
      background-repeat: no-repeat !important;
      background-size: cover !important;
      min-height: 100vh;
    }
    
    html {
      -webkit-tap-highlight-color: transparent;
      scrollbar-width: none;
      overflow-x: hidden;
      max-width: 100vw;
    }
    
    body { 
      font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      color: var(--text-primary);
      overflow-x: hidden;
    }
    
    #app {
      width: 100%;
      overflow-x: hidden;
    }
    
    /* Animated Background Particles */
    body::before {
      content: '';
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(3px 3px at 70% 20%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(2px 2px at 90% 50%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(2px 2px at 10% 80%, rgba(255,255,255,0.15) 0%, transparent 100%),
        radial-gradient(3px 3px at 60% 90%, rgba(255,255,255,0.2) 0%, transparent 100%);
      pointer-events: none;
      z-index: 0;
      will-change: transform;
    }
    
    @media (min-width: 768px) {
      body::before {
        animation: snowfall 30s linear infinite;
      }
    }
    
    @keyframes snowfall {
      0% { transform: translateY(0); }
      100% { transform: translateY(20px); }
    }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       GLASSMORPHISM ISLAND COMPONENTS
       ═══════════════════════════════════════════════════════════════════════════ */
    
    /* Header Island */
    .app-header {
      position: fixed;
      top: 8px;
      left: 8px;
      right: 8px;
      z-index: 90;
      margin: 0;
      padding: 10px 14px;
      background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
      backdrop-filter: blur(var(--glass-blur));
      -webkit-backdrop-filter: blur(var(--glass-blur));
      border: 1px solid var(--glass-border-strong);
      border-radius: 24px;
      box-shadow: var(--shadow-island);
      display: flex;
      align-items: center;
      justify-content: space-between;
      animation: slideDown 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    @keyframes slideDown {
      from { transform: translateY(-20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    
    .header-left { display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-width: 0; }
    .header-center { display: flex; align-items: center; gap: 12px; justify-content: center; flex-shrink: 0; }
    .header-right { display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0; min-width: 0; }
    .header-spacer { flex: 1 1 0%; min-width: 8px; }
    
    .logo-img { 
      box-sizing: content-box;
      display: inline-block;
      vertical-align: middle;
      height: 42px;
      width: auto;
      object-fit: contain;
      cursor: pointer; 
      padding: 0;
      margin: 0;
      border: none !important;
      outline: none !important;
      background: transparent !important;
      box-shadow: none !important;
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      filter: none !important;
    }
    @media (hover: hover) {
      .logo-img:hover { transform: scale(1.05) rotate(-2deg); }
    }
    .logo-img:active { transform: scale(0.95); }

    /* Нативная, плавная анимация клика */
    @keyframes clickPulse {
      0% { transform: scale(1); }
      50% { transform: scale(0.96); }
      100% { transform: scale(1); }
    }
    .click-animate {
      animation: clickPulse 0.15s ease-out !important;
    }

    /* Анимация успеха при добавлении в корзину */
    .addToCartBtn.adding-success {
      background: rgba(16, 185, 129, 0.2) !important;
      border-color: rgba(16, 185, 129, 0.5) !important;
      color: #10b981 !important;
      transform: scale(0.95);
      pointer-events: none;
      transition: all 0.3s ease;
    }
    
    /* Balance Island Widget */
    .balance-island {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px 6px 12px;
      background: linear-gradient(135deg, rgba(91,191,235,0.25) 0%, rgba(46,158,212,0.15) 100%);
      border: 1px solid rgba(91,191,235,0.4);
      border-radius: 20px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.15);
      transition: all 0.2s ease;
    }
    .balance-island:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
    }
    
    .balance-amount {
      font-size: 15px;
      font-weight: 800;
      color: var(--snow-white);
      display: flex;
      align-items: center;
      gap: 6px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    
    .balance-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px; height: 18px;
      flex-shrink: 0;
      vertical-align: middle;
      filter: none !important;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      transition: transform 0.2s ease;
      cursor: pointer;
    }
    .balance-icon:hover {
      transform: scale(1.08);
    }
    .balance-icon img { width: 100%; height: 100%; object-fit: contain; display: block; border: none !important; background: transparent !important; box-shadow: none !important; }
    .balance-icon svg { width: auto; height: 14px; aspect-ratio: 650 / 800; display: block; }
    
    .balance-add {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--ice-primary), var(--ice-deep));
      border: none;
      color: white;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.15s ease;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    }
    .balance-add:active { transform: scale(0.92); }
    
    /* Header Icon Buttons */
    .icon-btn {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      color: var(--text-primary);
      font-size: 18px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .icon-btn:hover {
      background: var(--glass-bg-strong);
      transform: scale(1.1);
      border-color: var(--glass-border-strong);
    }
    .icon-btn:active { transform: scale(0.9); }
    .icon-btn.active-header-btn {
      background: rgba(6, 182, 212, 0.2) !important;
      border-color: rgba(6, 182, 212, 0.6) !important;
      color: #22d3ee !important;
      box-shadow: 0 0 12px rgba(6, 182, 212, 0.3) !important;
    }
    
    /* User Card - Premium Rounded Rectangle Layout */
    .user-card {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 10px;
      background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
      border: 1px solid var(--glass-border-strong);
      border-radius: 16px;
      box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.1);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .user-card .balance-island {
      background: none !important;
      border: none !important;
      padding: 0 !important;
      box-shadow: none !important;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .story-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: inherit;
    }
    
    .user-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--ice-primary), var(--ice-arctic));
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      font-size: 14px;
      font-weight: 700;
      color: white;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
      cursor: pointer;
      transition: transform 0.15s ease;
    }
    @media (hover: hover) {
      .user-avatar:hover {
        transform: scale(1.05);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
      }
    }
    .user-avatar:active {
      transform: scale(0.95);
    }
    .user-avatar img { width: 100%; height: 100%; object-fit: cover; }
    
    .user-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       TAB BAR ISLAND (Footer Navigation)
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .tab-bar {
      position: fixed;
      bottom: 12px;
      left: 12px;
      right: 12px;
      z-index: 100;
      padding: 8px 6px;
      background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
      backdrop-filter: blur(var(--glass-blur));
      -webkit-backdrop-filter: blur(var(--glass-blur));
      border: 1px solid var(--glass-border-strong);
      border-radius: 28px;
      box-shadow: var(--shadow-island);
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      align-items: center;
      animation: slideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: visible;
    }
    
    @keyframes slideUp {
      from { transform: translateY(30px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    
    .tab-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      padding: 8px 4px;
      color: var(--text-muted);
      cursor: pointer;
      border-radius: 16px;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      position: relative;
      min-width: 0;
      overflow: hidden;
    }
    
    @media (hover: hover) {
      .tab-item:hover {
        color: var(--text-secondary);
        background: var(--glass-bg);
      }
    }
    
    .tab-item.active {
      color: var(--ice-primary);
      background: rgba(91, 191, 235, 0.15);
    }
    
    .tab-item.active::after {
      content: '';
      position: absolute;
      bottom: 4px;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      height: 4px;
      background: var(--ice-primary);
      border-radius: 50%;
      box-shadow: none;
    }
    
    .tab-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      font-size: 22px;
      line-height: 1;
      position: relative;
      transition: transform 0.2s ease;
    }

    .tab-item[data-tab="cart"] {
      overflow: visible;
    }

    #tabCartBadge, #cartBadge {
      position: absolute;
      top: -4px;
      right: -7px;
      background: linear-gradient(135deg, #ef4444 0%, #ec4899 100%);
      color: #fff;
      font-size: 9px;
      font-weight: 800;
      line-height: 1;
      padding: 2px 4.5px;
      border-radius: 9999px;
      min-width: 15px;
      text-align: center;
      box-shadow: 0 2px 6px rgba(239, 68, 68, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.4);
      z-index: 10;
      pointer-events: none;
    }
    
    .tab-item:hover .tab-icon,
    .tab-item.active .tab-icon {
      transform: scale(1.1) translateY(-1px);
    }
    
    .tab-label {
      font-size: 10px;
      font-weight: 600;
      max-width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center;
      display: block;
      line-height: 1.2;
    }
    
    /* Central CTA Button */
    .tab-item.new-order {
      background: linear-gradient(135deg, var(--ice-primary) 0%, var(--ice-deep) 100%);
      color: white;
      padding: 10px 8px;
      border-radius: 22px;
      margin: -20px 4px 0;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
      border: 2px solid rgba(255,255,255,0.3);
    }
    
    @media (hover: hover) {
      .tab-item.new-order:hover {
        transform: scale(1.03) translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
      }
    }
    
    .tab-item.new-order::after { display: none; }
    
    .tab-item.new-order .tab-icon { font-size: 20px; }
    .tab-item.new-order .tab-label { font-size: 11px; font-weight: 700; }
    
    /* Product card buttons & quantity stepper styling overrides */
    .addToCartBtn, .buyNowBtn, .cart-stepper {
      height: 32px !important;
      min-height: 32px !important;
      max-height: 32px !important;
      border-radius: 10px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      box-sizing: border-box !important;
      padding: 0 8px !important;
      margin: 0 !important;
      font-size: 12px !important;
      font-weight: 700 !important;
      text-transform: none !important;
      letter-spacing: normal !important;
      transition: all 0.2s ease !important;
    }
    
    .buyNowBtn {
      background: linear-gradient(135deg, var(--ice-primary) 0%, var(--ice-deep) 100%) !important;
      border: 1px solid rgba(255,255,255,0.2) !important;
      color: white !important;
      flex: 1 1 50% !important;
      max-width: 50% !important;
      width: 50% !important;
    }
    .buyNowBtn:hover {
      opacity: 0.9 !important;
      transform: scale(1.02) !important;
    }
    
    .addToCartBtn {
      background: linear-gradient(135deg, #102a43 0%, #1c3d5a 100%) !important;
      border: 1px solid rgba(255,255,255,0.1) !important;
      color: white !important;
      flex: 1 1 50% !important;
      max-width: 50% !important;
      width: 50% !important;
    }
    .addToCartBtn:hover {
      background: linear-gradient(135deg, #183d5d 0%, #244e75 100%) !important;
      transform: scale(1.02) !important;
    }
    
    .cart-stepper {
      background: linear-gradient(135deg, #102a43 0%, #1c3d5a 100%) !important;
      border: 1px solid rgba(255,255,255,0.1) !important;
      padding: 0 !important;
      overflow: hidden !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      flex: 1 1 50% !important;
      max-width: 50% !important;
      width: 50% !important;
    }
    
    .cart-stepper .cart-step-btn {
      flex: 0 0 32px !important;
      height: 32px !important;
      background: transparent !important;
      border: none !important;
      color: white !important;
      font-size: 16px !important;
      font-weight: 700 !important;
      cursor: pointer !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      transition: background 0.2s ease !important;
      outline: none !important;
    }
    .cart-stepper .cart-step-btn:focus {
      outline: none !important;
    }
    @media (hover: hover) {
      .cart-stepper .cart-step-btn:hover {
        background: rgba(255,255,255,0.1) !important;
      }
    }
    .cart-stepper .cart-step-btn:active {
      background: rgba(255,255,255,0.2) !important;
    }
    .cart-stepper .cart-step-count {
      flex: 1 !important;
      text-align: center !important;
      color: white !important;
      font-size: 13px !important;
      font-weight: 700 !important;
      line-height: 32px !important;
    }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       MAIN CONTENT AREA
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .main-content { 
      padding: 16px; 
      padding-top: 82px;
      padding-bottom: 100px;
      position: relative;
      z-index: 1;
    }

    /* ═══════════════════════════════════════════════════════════════════════════
       STANDARDIZED VERTICAL RHYTHM (Top & Footer Spacing Across All Screens)
       ═══════════════════════════════════════════════════════════════════════════ */
    .main-content > *:first-child,
    .main-content > div:first-child > *:first-child {
      margin-top: 0 !important;
    }

    .main-content > .page-enter,
    .main-content > div:not(.app-footer) {
      padding-bottom: 0 !important;
    }

    .main-content > div:not(.app-footer) > *:last-child,
    .main-content > .page-enter > *:last-child {
      margin-bottom: 0 !important;
    }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       GLASS CARDS
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .glass-card {
      background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
      backdrop-filter: blur(var(--glass-blur));
      -webkit-backdrop-filter: blur(var(--glass-blur));
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 20px;
      box-shadow: var(--shadow-card);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .glass-card:hover {
      border-color: rgba(91, 191, 235, 0.3);
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    /* Product Cards - WB Inspired (2 columns edge-to-edge, NO border) */
    .product-card {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-radius: 14px;
      overflow: hidden;
      border: none !important;
      outline: none !important;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      cursor: pointer;
      display: flex;
      flex-direction: column;
    }
    .product-card:hover {
      transform: translateY(-2px) !important;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    }
    .product-card:active { transform: scale(0.98) !important; }

    /* Wildberries-style Floating Circular Cart Button */
    .wb-card-cart-btn {
      position: absolute;
      bottom: 8px;
      right: 8px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #00e5ff;
      color: #041019;
      border: none;
      box-shadow: 0 4px 14px rgba(0, 229, 255, 0.45);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 15;
      transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.18s ease, box-shadow 0.18s ease;
      touch-action: manipulation;
    }
    .wb-card-cart-btn:active {
      transform: scale(0.88);
      background: #38bdf8;
      box-shadow: 0 2px 8px rgba(0, 229, 255, 0.3);
    }
    .wb-card-cart-btn.added-anim {
      animation: wbCartBtnPulse 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      background: #34d399;
      color: #041019;
      box-shadow: 0 4px 14px rgba(52, 211, 153, 0.45);
    }
    @keyframes wbCartBtnPulse {
      0% { transform: scale(0.85); }
      50% { transform: scale(1.18); }
      100% { transform: scale(1); }
    }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       STORY / CATEGORY SQUIRCLES (WB Inspired)
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .story-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      cursor: pointer;
      transition: transform 0.15s ease;
      min-width: 58px;
      max-width: 64px;
      flex-shrink: 0;
    }
    .story-card:active { transform: scale(0.93) !important; }
    
    .story-icon {
      width: 54px;
      height: 54px;
      background: rgba(255, 255, 255, 0.07);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
      transition: transform 0.12s ease, box-shadow 0.12s ease;
      position: relative;
      overflow: hidden;
    }
    .story-icon svg {
      width: 24px;
      height: 24px;
    }
    .story-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 16px;
    }
    .story-card:active .story-icon {
      transform: scale(0.93);
    }
    
    .story-label {
      font-size: 11px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.88);
      text-align: center;
      max-width: 62px;
      line-height: 1.2;
      letter-spacing: -0.2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    
    /* ═══════════════════════════════════════════════════════════════════════════
       BANNER CAROUSEL (WB Inspired Auto-scroll Slider)
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .banner-carousel-wrapper {
      position: relative;
      width: 100%;
      margin-bottom: 18px;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
    }
    
    .banner-carousel {
      display: flex;
      width: 100%;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      scrollbar-width: none;
      -ms-overflow-style: none;
      -webkit-overflow-scrolling: touch;
      border-radius: 18px;
    }
    .banner-carousel::-webkit-scrollbar {
      display: none;
    }
    
    .banner-slide {
      flex: 0 0 100%;
      width: 100%;
      min-width: 100%;
      max-width: 100%;
      height: 200px;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      cursor: pointer;
      overflow: hidden;
      background-size: cover;
      background-position: center;
      position: relative;
      border-radius: 18px;
      display: flex;
      align-items: flex-end;
      padding: 16px 16px 20px 16px;
      box-sizing: border-box;
      user-select: none;
    }
    
    .banner-slide::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.58) 100%);
      pointer-events: none;
      z-index: 1;
    }

    .banner-content {
      position: relative;
      z-index: 2;
      width: 100%;
      color: #ffffff;
    }

    .banner-badge {
      display: inline-block;
      background: #facc15;
      color: #0f172a;
      font-size: 11px;
      font-weight: 800;
      padding: 3px 8px;
      border-radius: 8px;
      margin-bottom: 6px;
      letter-spacing: 0.4px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    }

    .banner-title {
      font-size: 19px;
      font-weight: 900;
      line-height: 1.15;
      margin: 0 0 4px 0;
      text-transform: uppercase;
      letter-spacing: -0.3px;
      text-shadow: 0 2px 8px rgba(0,0,0,0.45);
    }

    .banner-subtitle {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.92);
      margin: 0 0 8px 0;
      font-weight: 500;
      line-height: 1.3;
      text-shadow: 0 1px 4px rgba(0,0,0,0.4);
      max-width: 85%;
    }

    .banner-btn {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(255, 255, 255, 0.22);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: #ffffff;
      font-size: 11px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      transition: background 0.15s ease;
    }
    
    /* ============================================================
       CNY Exchange Rate Special Banner Slide (ICE LOGIX)
       ============================================================ */
    .banner-slide-cny {
      background: radial-gradient(circle at 85% 20%, rgba(6, 182, 212, 0.40) 0%, transparent 60%),
                  linear-gradient(135deg, #051423 0%, #0c2847 48%, #083344 100%) !important;
      border: 1px solid rgba(103, 232, 249, 0.35) !important;
      box-shadow: 0 8px 30px rgba(6, 182, 212, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
      position: relative;
    }

    .banner-slide-cny::before {
      background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(5, 20, 35, 0.72) 100%) !important;
    }

    .cny-watermark {
      position: absolute;
      right: 18px;
      top: -8px;
      font-size: 125px;
      font-weight: 900;
      color: rgba(103, 232, 249, 0.08);
      line-height: 1;
      pointer-events: none;
      user-select: none;
      font-family: system-ui, -apple-system, sans-serif;
      z-index: 1;
    }

    .cny-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
    }

    .cny-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(6, 182, 212, 0.20);
      border: 1px solid rgba(103, 232, 249, 0.45);
      color: #67e8f9;
      font-size: 10px;
      font-weight: 800;
      padding: 3px 8px;
      border-radius: 8px;
      letter-spacing: 0.3px;
    }

    .cny-flag {
      font-size: 12px;
      line-height: 1;
    }

    .cny-live-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #4ade80;
      box-shadow: 0 0 8px #4ade80;
      animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }

    .cny-tagline {
      font-size: 10px;
      color: rgba(255, 255, 255, 0.65);
      font-weight: 600;
      letter-spacing: 0.2px;
    }

    .cny-main-rate {
      font-size: 25px;
      font-weight: 900;
      line-height: 1.1;
      letter-spacing: -0.5px;
      color: #ffffff;
      margin: 2px 0 4px 0;
      text-shadow: 0 2px 14px rgba(6, 182, 212, 0.5);
    }

    .cny-rate-val {
      color: #67e8f9;
      font-family: var(--font-mono, monospace);
    }

    .cny-rate-curr {
      font-size: 15px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.85);
      margin-left: 2px;
    }

    .cny-subtitle {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.82);
      margin: 0 0 8px 0;
      max-width: 95%;
    }

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

    .cny-btn {
      background: rgba(6, 182, 212, 0.25) !important;
      border: 1px solid rgba(103, 232, 249, 0.5) !important;
      color: #ffffff !important;
      font-size: 11px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 12px;
      transition: all 0.2s ease;
    }

    .cny-btn:active {
      transform: scale(0.97);
      background: rgba(6, 182, 212, 0.35) !important;
    }

    .cny-ice-note {
      font-size: 10px;
      color: rgba(255, 255, 255, 0.45);
      font-family: var(--font-mono, monospace);
      font-weight: 600;
    }

    /* ============================================================
       3D Referral & Bonus Program Banner Slide (ICE LOGIX)
       ============================================================ */
    .banner-slide-referral {
      background: radial-gradient(circle at 85% 35%, rgba(6, 182, 212, 0.35) 0%, rgba(16, 185, 129, 0.15) 45%, transparent 70%),
                  linear-gradient(135deg, #071322 0%, #0b2238 45%, #051926 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.32) !important;
      box-shadow: 0 8px 30px rgba(6, 182, 212, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
      position: relative;
      overflow: hidden;
    }

    .banner-slide-referral::before {
      background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(5, 19, 34, 0.70) 100%) !important;
    }

    .referral-3d-visual {
      position: absolute;
      right: -24px;
      bottom: -20px;
      width: 195px;
      height: 195px;
      background-image: url('/assets/banners/referral_3d_gift.webp');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      pointer-events: none;
      user-select: none;
      z-index: 1;
      filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
      animation: referral3dFloat 5s ease-in-out infinite;
      transform-origin: center;
    }

    @keyframes referral3dFloat {
      0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
      }
      50% {
        transform: translateY(-6px) rotate(-1.5deg) scale(1.02);
      }
    }

    .referral-content {
      position: relative;
      z-index: 2;
      max-width: 65%;
      padding-bottom: 2px;
    }

    .referral-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(6, 182, 212, 0.22));
      border: 1px solid rgba(52, 211, 153, 0.45);
      color: #34d399;
      font-size: 10px;
      font-weight: 800;
      padding: 3px 8px;
      border-radius: 8px;
      letter-spacing: 0.3px;
      margin-bottom: 6px;
      box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
    }

    .referral-title {
      font-size: 17px;
      font-weight: 900;
      line-height: 1.15;
      margin: 0 0 4px 0;
      text-transform: uppercase;
      letter-spacing: -0.3px;
      color: #ffffff;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .referral-subtitle {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.85);
      margin: 0 0 10px 0;
      font-weight: 500;
      line-height: 1.3;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    }

    .referral-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(16, 185, 129, 0.22) !important;
      border: 1px solid rgba(52, 211, 153, 0.5) !important;
      color: #ffffff !important;
      font-size: 11px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 12px;
      transition: all 0.2s ease;
      box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
    }

    .referral-btn:active {
      transform: scale(0.97);
      background: rgba(16, 185, 129, 0.35) !important;
    }

    .banner-dots {
      position: absolute;
      bottom: 8px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 6px;
      z-index: 5;
      pointer-events: none;
    }
    
    .banner-dot {
      width: 6px;
      height: 6px;
      border-radius: 3px;
      background: rgba(255, 255, 255, 0.45);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: auto;
      cursor: pointer;
    }
    
    .banner-dot.active {
      width: 20px;
      background: #ffffff;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       FOOTER ISLAND
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .app-footer {
      margin: 24px 12px 12px !important;
      clear: both;
      padding: 20px;
      background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
      backdrop-filter: blur(var(--glass-blur));
      -webkit-backdrop-filter: blur(var(--glass-blur));
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      text-align: center;
      position: relative;
    }
    
    .footer-logo {
      box-sizing: content-box;
      display: block;
      width: auto;
      height: 56px;
      object-fit: contain;
      margin: 0 auto 12px;
      opacity: 0.8;
      padding: 4px;
      filter: none;
    }
    
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }
    
    .footer-link {
      color: var(--text-secondary);
      font-size: 12px;
      font-weight: 500;
      text-decoration: none;
      cursor: pointer;
      padding: 6px 12px;
      border-radius: 12px;
      transition: all 0.2s ease;
    }
    .footer-link:hover {
      color: var(--ice-primary);
      background: var(--glass-bg);
    }
    
    .social-icons {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    
    .social-icon {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .social-icon:hover {
      transform: scale(1.05) translateY(-1px);
      background: var(--glass-bg-strong);
      border-color: rgba(255, 255, 255, 0.3);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }
    
    .copyright {
      font-size: 11px;
      color: var(--text-muted);
      line-height: 1.5;
    }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       STATUS BADGES
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .status-badge {
      padding: 5px 14px;
      border-radius: 40px;
      font-size: 11px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      border: 1px solid transparent;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    .status-pending { background: linear-gradient(135deg, #FBBF24, #F59E0B); color: #1a1a1a; border-color: rgba(251,191,36,0.5); }
    .status-paid { background: linear-gradient(135deg, #34D399, #10B981); color: #fff; border-color: rgba(52,211,153,0.5); }
    .status-bought { background: linear-gradient(135deg, #60A5FA, #3B82F6); color: #fff; border-color: rgba(96,165,250,0.5); }
    .status-on_sklad_cn { background: linear-gradient(135deg, #A78BFA, #8B5CF6); color: #fff; border-color: rgba(167,139,250,0.5); }
    .status-in_transit { background: linear-gradient(135deg, #22D3EE, #06B6D4); color: #fff; border-color: rgba(34,211,238,0.5); }
    .status-in_belarus { background: linear-gradient(135deg, #2DD4BF, #14B8A6); color: #fff; border-color: rgba(45,212,191,0.5); }
    .status-delivered { background: linear-gradient(135deg, #4ADE80, #22C55E); color: #fff; border-color: rgba(74,222,128,0.5); }
    .status-cancelled { background: linear-gradient(135deg, #F87171, #EF4444); color: #fff; border-color: rgba(248,113,113,0.5); }

    @keyframes moveTruck {
      0% { transform: translateX(-3px); }
      50% { transform: translateX(3px); }
      100% { transform: translateX(-3px); }
    }
    .anim-truck {
      display: inline-block;
      animation: moveTruck 2s ease-in-out infinite;
    }

    @keyframes bounceBox {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-3px) scale(1.05); }
    }
    .anim-box {
      display: inline-block;
      animation: bounceBox 1.5s ease-in-out infinite;
    }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       FORM ELEMENTS
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .filter-chip {
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      padding: 8px 16px;
      border-radius: 40px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .filter-chip:hover {
      background: var(--glass-bg-strong);
      border-color: var(--glass-border-strong);
    }
    .filter-chip.active {
      background: linear-gradient(135deg, var(--ice-primary), var(--ice-deep));
      border-color: var(--ice-primary);
      color: white;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    /* Input Fields */
    input[type="text"], input[type="number"], input[type="email"], input[type="tel"],
    textarea, select {
      background: var(--glass-bg) !important;
      border: 1px solid var(--glass-border) !important;
      border-radius: 16px !important;
      color: var(--text-primary) !important;
      font-family: 'Nunito', sans-serif !important;
      font-size: 14px !important;
      padding: 14px 16px !important;
      transition: all 0.3s ease !important;
    }
    
    input:focus, textarea:focus, select:focus {
      outline: none !important;
      border-color: var(--ice-primary) !important;
      box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25) !important;
    }
    
    input::placeholder, textarea::placeholder {
      color: var(--text-muted) !important;
    }
    
    /* Buttons */
    button {
      font-family: 'Nunito', sans-serif;
      font-weight: 600;
      transition: transform 0.15s ease;
    }
    
    /* Primary Button */
    .btn-primary {
      background: linear-gradient(135deg, var(--ice-primary) 0%, var(--ice-deep) 100%);
      border: none;
      color: white;
      padding: 14px 24px;
      border-radius: 16px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }
    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }
    .btn-primary:active { transform: scale(0.97); }
    
    /* Secondary Button */
    .btn-secondary {
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      color: var(--text-primary);
      padding: 12px 20px;
      border-radius: 14px;
      font-size: 14px;
      cursor: pointer;
    }
    .btn-secondary:hover {
      background: var(--glass-bg-strong);
      border-color: var(--glass-border-strong);
    }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       SCROLL & UTILITY
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .scroll-x {
      overflow-x: auto;
      display: flex;
      gap: 12px;
      scroll-snap-type: x mandatory;
      padding-bottom: 8px;
      -webkit-overflow-scrolling: touch;
    }
    .scroll-x::-webkit-scrollbar { display: none; }

    /* Scroll container (fade shadow removed per UI request) */
    .scroll-hint-container {
      position: relative;
    }
    .scroll-hint-container::after {
      display: none !important;
    }
    /* Scroll dots indicator */
    .scroll-dots {
      display: flex;
      justify-content: center;
      gap: 5px;
      margin-top: 6px;
    }
    .scroll-dot {
      width: 5px; height: 5px;
      border-radius: 50%;
      background: rgba(255,255,255,0.2);
      transition: all 0.3s ease;
    }
    .scroll-dot.active {
      width: 16px;
      border-radius: 3px;
      background: var(--ice-primary);
    }
    /* Swipe hint animation */
    @keyframes swipeHint {
      0% { transform: translateX(0); opacity: 1; }
      50% { transform: translateX(8px); opacity: 0.5; }
      100% { transform: translateX(0); opacity: 1; }
    }
    .swipe-hint-icon {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 16px;
      opacity: 0.7;
      animation: swipeHint 2s ease-in-out 1s 3;
      pointer-events: none;
      z-index: 3;
    }
    
    /* Back Button */
    .global-back-btn {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: var(--text-primary, #ffffff);
      font-size: 13px;
      font-weight: 700;
      padding: 8px 14px;
      justify-content: center;
      border-radius: 9999px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      margin-top: 0 !important;
      margin-bottom: 16px !important;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      user-select: none;
      -webkit-tap-highlight-color: transparent;
      z-index: 50;
    }
    .global-back-btn:active {
      transform: scale(0.95);
      background: rgba(255, 255, 255, 0.16);
    }
    @media (hover: hover) {
      .global-back-btn:hover {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(6, 182, 212, 0.4);
        transform: translateX(-3px);
      }
    }
    body.tg-native-back .global-back-btn { display: inline-flex !important; }
    .global-back-btn.\!mb-0,
    .flex > .global-back-btn,
    .full-screen-modal-header .global-back-btn {
      margin-bottom: 0 !important;
    }

    /* Full-Screen Modals & Sections (No center floating dialogs) */
    .full-screen-modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 110;
      width: 100%;
      height: 100dvh;
      background: #090e1a;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      padding: 0;
      margin: 0;
    }
    .full-screen-modal-header {
      padding: 12px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(15, 23, 42, 0.92);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      flex-shrink: 0;
      gap: 12px;
      min-height: 56px;
    }
    .full-screen-modal-body {
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding: 16px;
      padding-bottom: 96px;
    }
    
    /* Review & Course Cards */
    .review-card, .course-card {
      background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-radius: 20px;
      padding: 16px;
      border: 1px solid var(--glass-border);
      margin-bottom: 12px;
      transition: all 0.3s ease;
    }
    .course-card:hover {
      transform: translateY(-4px);
      border-color: rgba(91, 191, 235, 0.4);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    }
    
    .stars { color: #FBBF24; margin-bottom: 8px; letter-spacing: 2px; }
    .wishlist-heart {
      cursor: pointer;
      transition: transform 0.1s ease;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      padding: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.45rem;
    }
    .wishlist-heart:active { transform: scale(0.85); }
    .wishlist-heart .ix, .wishlist-heart svg, .wishlist-heart path { pointer-events: none; }
    
    /* Screenshot Widget */
    .screenshot-widget {
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      padding: 16px;
      margin: 8px 0;
    }
    
    .screenshot-upload-zone {
      border: 2px dashed var(--glass-border-strong);
      border-radius: 12px;
      padding: 24px 16px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .screenshot-upload-zone:hover, .screenshot-upload-zone.drag-over {
      border-color: var(--ice-primary);
      background: rgba(91, 191, 235, 0.1);
    }
    .screenshot-upload-zone.has-file {
      border-style: solid;
      border-color: var(--status-success);
    }
    
    .screenshot-preview { max-width: 200px; max-height: 200px; border-radius: 8px; margin: 12px auto; display: block; }
    .screenshot-actions { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
    
    .confidence-low {
      background: rgba(251, 191, 36, 0.15);
      border: 1px solid rgba(251, 191, 36, 0.4);
      border-radius: 12px;
      padding: 10px 14px;
      margin: 8px 0;
      font-size: 13px;
      color: #FCD34D;
    }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       CUSTOM ALERTS (Ice-themed)
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .ice-alert-overlay {
      position: fixed;
      inset: 0;
      background: rgba(10, 22, 40, 0.85);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 20px;
      animation: fadeIn 0.2s ease;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    .ice-alert-box {
      background: linear-gradient(165deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border-strong);
      border-radius: 28px;
      padding: 28px;
      max-width: 340px;
      width: 100%;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
      animation: alertBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      text-align: center;
    }
    
    @keyframes alertBounce {
      from { transform: scale(0.8) translateY(20px); opacity: 0; }
      to { transform: scale(1) translateY(0); opacity: 1; }
    }
    
    .ice-alert-icon {
      font-size: 48px;
      margin-bottom: 12px;
      display: block;
    }
    
    .ice-alert-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 8px;
    }
    
    .ice-alert-message {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.5;
      margin-bottom: 20px;
    }
    
    .ice-alert-btn {
      background: linear-gradient(135deg, var(--ice-primary), var(--ice-deep));
      border: none;
      color: white;
      padding: 12px 32px;
      border-radius: 14px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      transition: all 0.2s ease;
    }
    .ice-alert-btn:hover {
      transform: scale(1.02);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }
    
    /* ═══════════════════════════════════════════════════════════════════════════
       ANIMATIONS
       ═══════════════════════════════════════════════════════════════════════════ */
    
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }
    
    .animate-float { animation: float 3s ease-in-out infinite; }
    
    @keyframes shimmer {
      0% { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }
    
    .skeleton {
      background: linear-gradient(90deg, var(--glass-bg) 25%, var(--glass-bg-strong) 50%, var(--glass-bg) 75%);
      background-size: 200% 100%;
      animation: shimmer 1.5s infinite;
      border-radius: 8px;
    }
    
    /* Page Transitions */
    .page-enter {
      animation: pageEnter 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .page-exit {
      animation: pageExit 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
      pointer-events: none !important;
    }
    .screen-fade-in {
      animation: screenFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @keyframes pageEnter {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes pageExit {
      from { opacity: 1; transform: translateY(0) scale(1); }
      to { opacity: 0; transform: translateY(16px) scale(0.98); }
    }
    @keyframes screenFadeIn {
      from { opacity: 0.6; transform: translateY(4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Screen Skeletons for Instant 0ms Route Response */
    .screen-skeleton {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
      padding-top: 4px;
      padding-bottom: 32px;
      animation: screenFadeIn 0.15s ease-out;
    }
    .skeleton-box {
      background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
      background-size: 200% 100%;
      animation: shimmer 1.4s infinite ease-in-out;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.06);
    }
    .skeleton-bar {
      height: 14px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.06);
    }

    /* Unify active scale-down for premium click response */
    button:active, .btn-primary:active, .btn-secondary:active, .global-back-btn:active, .story-card:active, .user-card:active, .tab-item:active {
      transform: scale(0.96) translateY(0) !important;
      transition: transform 0.1s ease !important;
    }

    /* Premium custom scrollbar styling */
    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    ::-webkit-scrollbar-track {
      background: transparent;
    }
    ::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      transition: background 0.3s ease;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.25);
    }
    .hide-scrollbar::-webkit-scrollbar {
      display: none !important;
    }
    .hide-scrollbar {
      scrollbar-width: none !important;
      -ms-overflow-style: none !important;
    }

    /* Specific input states overrides */
    input.is-invalid, textarea.is-invalid, select.is-invalid {
      border-color: var(--status-error) !important;
      background: rgba(248, 113, 113, 0.08) !important;
      box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2) !important;
    }
    input.is-valid, textarea.is-valid, select.is-valid {
      border-color: var(--status-success) !important;
      background: rgba(52, 211, 153, 0.08) !important;
      box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2) !important;
    }

    /* Tab active micro-pop animation */
    @keyframes tabPop {
      0% { transform: scale(1); }
      50% { transform: scale(1.15) translateY(-2px); }
      100% { transform: scale(1); }
    }
    .tab-item.active .tab-icon {
      animation: tabPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* AI Legit Score Indicator Glows */
    @keyframes scoreGlow-green {
      0%, 100% { box-shadow: 0 0 15px rgba(52, 211, 153, 0.25), inset 0 0 15px rgba(52, 211, 153, 0.15); border-color: rgba(52, 211, 153, 0.5); }
      50% { box-shadow: 0 0 30px rgba(52, 211, 153, 0.6), inset 0 0 30px rgba(52, 211, 153, 0.4); border-color: rgba(52, 211, 153, 1); }
    }
    @keyframes scoreGlow-yellow {
      0%, 100% { box-shadow: 0 0 15px rgba(251, 191, 36, 0.25), inset 0 0 15px rgba(251, 191, 36, 0.15); border-color: rgba(251, 191, 36, 0.5); }
      50% { box-shadow: 0 0 30px rgba(251, 191, 36, 0.6), inset 0 0 30px rgba(251, 191, 36, 0.4); border-color: rgba(251, 191, 36, 1); }
    }
    @keyframes scoreGlow-red {
      0%, 100% { box-shadow: 0 0 15px rgba(248, 113, 113, 0.25), inset 0 0 15px rgba(248, 113, 113, 0.15); border-color: rgba(248, 113, 113, 0.5); }
      50% { box-shadow: 0 0 30px rgba(248, 113, 113, 0.6), inset 0 0 30px rgba(248, 113, 113, 0.4); border-color: rgba(248, 113, 113, 1); }
    }
    .score-gauge-green { animation: scoreGlow-green 2.5s ease-in-out infinite; }
    .score-gauge-yellow { animation: scoreGlow-yellow 2.5s ease-in-out infinite; }
    .score-gauge-red { animation: scoreGlow-red 2.5s ease-in-out infinite; }

    /* Confetti Particle Styling */
    .confetti-particle {
      position: fixed;
      pointer-events: none;
      z-index: 9999;
      animation: confetti-fall linear forwards;
    }
    @keyframes confetti-fall {
      0% {
        transform: translateY(-10vh) rotate(0deg) scale(1);
        opacity: 1;
      }
      100% {
        transform: translateY(110vh) rotate(720deg) scale(0.5);
        opacity: 0;
      }
    }
    

    /* ═══════════════════════════════════════════════════════════════════════════
       ICE LOGIX ICON SYSTEM
       Inline SVG icons — 24×24 viewBox, currentColor stroke, 1.75-2px stroke.
       Use ix(name, opts) helper from JS to render.
       ═══════════════════════════════════════════════════════════════════════════ */
    .ix {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.15em;
      height: 1.15em;
      flex-shrink: 0;
      vertical-align: -0.25em;
      color: currentColor;
    }
    .ix svg { width: 100%; height: 100%; display: block; }
    .ix.ix-fill svg { fill: currentColor; stroke: none; }
    .ix.ix-accent { color: var(--ice-primary); }
    .ix.ix-mute { color: var(--text-muted); }
    .ix.ix-success { color: var(--status-success); }
    .ix.ix-warning { color: var(--status-warning); }
    .ix.ix-error { color: var(--status-error); }
    .ix.ix-info { color: var(--status-info); }
    /* Size helpers */
    .ix.ix-sm { width: 0.95em; height: 0.95em; }
    .ix.ix-lg { width: 1.5em; height: 1.5em; }
    .ix.ix-xl { width: 2em; height: 2em; vertical-align: -0.35em; }

    /* Brand snowflake — used in balance widget and ice currency annotations */
    .brand-flake {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.25em; height: 1.25em;
      vertical-align: -0.2em;
      filter: drop-shadow(0 0 4px rgba(91, 191, 235, 0.6));
      cursor: pointer;
      transition: transform 0.2s ease;
    }
    .brand-flake:hover {
      transform: scale(1.12);
    }
    .brand-flake img { width: 100%; height: 100%; object-fit: contain; display: block; }
    .brand-flake svg { width: 100%; height: 100%; display: block; }

    /* Marketplace dot — replaces colored emoji circles */
    .mp-dot {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      flex-shrink: 0;
      vertical-align: middle;
      box-shadow: 0 0 0 2px rgba(255,255,255,0.12) inset, 0 1px 3px rgba(0,0,0,0.3);
    }

    /* ═══════════════════════════════════════════════════════════════════════════
       GLASS MODAL — replaces native window.alert / window.confirm
       Used inside the mini-app instead of Telegram's native showAlert dialogs
       for a brand-consistent look. Animation slides up from bottom.
       ═══════════════════════════════════════════════════════════════════════════ */
    .glass-modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 9000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      background: rgba(10, 22, 40, 0.55);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }
    .glass-modal-overlay.show {
      opacity: 1;
      pointer-events: auto;
    }

    .glass-modal {
      width: 100%;
      max-width: 340px;
      margin: 0;
      padding: 22px 22px 18px;
      background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 100%);
      backdrop-filter: blur(28px) saturate(150%);
      -webkit-backdrop-filter: blur(28px) saturate(150%);
      border: 1px solid var(--glass-border-strong);
      border-radius: 24px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 60px rgba(91, 191, 235, 0.15);
      transform: scale(0.9) translateY(10px);
      opacity: 0;
      transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease;
    }
    .glass-modal-overlay.show .glass-modal {
      transform: scale(1) translateY(0);
      opacity: 1;
    }
    @media (min-width: 540px) {
      .glass-modal {
        border-bottom: 1px solid var(--glass-border-strong);
        border-radius: 24px;
        margin: 0 16px;
      }
    }

    .glass-modal-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
    }
    .glass-modal-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--ice-primary);
      background: rgba(91, 191, 235, 0.18);
      box-shadow: inset 0 0 0 1px rgba(91, 191, 235, 0.3);
    }
    .glass-modal-icon.success { color: var(--status-success); background: rgba(52, 211, 153, 0.18); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.3); }
    .glass-modal-icon.warning { color: var(--status-warning); background: rgba(251, 191, 36, 0.18); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.3); }
    .glass-modal-icon.error { color: var(--status-error); background: rgba(248, 113, 113, 0.18); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.3); }
    .glass-modal-icon.info { color: var(--status-info); background: rgba(96, 165, 250, 0.18); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.3); }
    .glass-modal-title {
      font-size: 17px;
      font-weight: 700;
      color: var(--text-primary);
      flex: 1;
      min-width: 0;
      line-height: 1.25;
    }
    .glass-modal-body {
      font-size: 15px;
      line-height: 1.5;
      color: var(--text-secondary);
      white-space: pre-wrap;
      word-break: break-word;
      margin-bottom: 18px;
      max-height: 60vh;
      overflow-y: auto;
    }
    .glass-modal-footer {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .glass-modal-btn {
      flex: 1;
      min-width: 100px;
      padding: 13px 16px;
      border-radius: 16px;
      border: 1px solid var(--glass-border);
      background: var(--glass-bg);
      color: var(--text-primary);
      font-size: 15px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }
    .glass-modal-btn:hover { background: var(--glass-bg-strong); transform: translateY(-1px); }
    .glass-modal-btn:active { transform: translateY(0); }
    .glass-modal-btn.primary {
      background: linear-gradient(135deg, var(--ice-primary) 0%, var(--ice-deep) 100%);
      border-color: rgba(91, 191, 235, 0.5);
      box-shadow: 0 4px 16px rgba(91, 191, 235, 0.35);
    }
    .glass-modal-btn.primary:hover {
      box-shadow: 0 6px 22px rgba(91, 191, 235, 0.5);
      transform: translateY(-1px);
    }
    .glass-modal-btn.danger {
      background: linear-gradient(135deg, rgba(248,113,113,0.85) 0%, rgba(220, 38, 38, 0.85) 100%);
      border-color: rgba(248, 113, 113, 0.5);
      box-shadow: 0 4px 16px rgba(248, 113, 113, 0.3);
    }
    .glass-modal-btn.ghost { background: transparent; border-color: var(--glass-border); color: var(--text-secondary); }

    /* Glass toast (non-blocking) */
    .glass-toast {
      position: fixed;
      top: 78px;
      left: 50%;
      transform: translateX(-50%) translateY(-30px);
      z-index: 9100;
      max-width: calc(100% - 32px);
      padding: 12px 18px 12px 14px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 100%);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid var(--glass-border-strong);
      border-radius: 18px;
      box-shadow: 0 8px 28px rgba(0,0,0,0.35);
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
    }
    .glass-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
    .glass-toast .ix { color: var(--ice-primary); }
    .glass-toast.toast-success .ix { color: var(--status-success); }
    .glass-toast.toast-warning .ix { color: var(--status-warning); }
    .glass-toast.toast-error .ix { color: var(--status-error); }

    /* ═══════════════════════════════════════════════════════════════════════════
       GLASS SELECT — custom dropdown to replace raw <select>
       Native <select> stays hidden but functional (form submission, JS reads).
       Visible UI is a glass button that opens a bottom-sheet picker.
       ═══════════════════════════════════════════════════════════════════════════ */
    .gx-select-wrap { position: relative; }
    .gx-select-wrap select.gx-select-native {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      pointer-events: none;
      z-index: -1;
    }
    .gx-select-trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      width: 100%;
      padding: 13px 14px;
      border-radius: 16px;
      background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--glass-border);
      color: var(--text-primary);
      font-family: inherit;
      font-size: 15px;
      font-weight: 500;
      cursor: pointer;
      text-align: left;
      transition: all 0.2s ease;
    }
    .gx-select-trigger:hover {
      background: var(--glass-bg-strong);
      border-color: var(--glass-border-strong);
    }
    .gx-select-trigger:focus { outline: none; border-color: var(--ice-primary); box-shadow: 0 0 0 3px rgba(91,191,235,0.18); }
    .gx-select-trigger.placeholder { color: var(--text-muted); }
    .gx-select-trigger-value {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .gx-select-trigger .ix-chevron {
      color: var(--text-muted);
      transition: transform 0.25s ease;
      flex-shrink: 0;
    }
    .gx-select-wrap.open .gx-select-trigger .ix-chevron { transform: rotate(180deg); }

    .gx-sheet-overlay {
      position: fixed;
      inset: 0;
      z-index: 9000;
      background: rgba(10, 22, 40, 0.55);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }
    .gx-sheet-overlay.show { opacity: 1; pointer-events: auto; }

    .gx-sheet {
      width: 100%;
      max-width: 480px;
      max-height: 78vh;
      display: flex;
      flex-direction: column;
      background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 100%);
      backdrop-filter: blur(28px) saturate(150%);
      -webkit-backdrop-filter: blur(28px) saturate(150%);
      border: 1px solid var(--glass-border-strong);
      border-bottom: none;
      border-radius: 28px 28px 0 0;
      box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
      transform: translateY(40px);
      opacity: 0;
      transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
    }
    .gx-sheet-overlay.show .gx-sheet { transform: translateY(0); opacity: 1; }

    .gx-sheet-handle {
      width: 40px;
      height: 4px;
      background: rgba(255,255,255,0.35);
      border-radius: 999px;
      margin: 10px auto 6px;
    }
    .gx-sheet-header {
      padding: 8px 20px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .gx-sheet-title {
      font-size: 17px;
      font-weight: 700;
      color: var(--text-primary);
    }
    .gx-sheet-close {
      width: 32px;
      height: 32px;
      border-radius: 10px;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      color: var(--text-muted);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }
    .gx-sheet-close:hover { background: var(--glass-bg-strong); color: var(--text-primary); }
    .gx-sheet-search {
      padding: 0 20px 12px;
      position: relative;
    }
    .gx-sheet-search input {
      width: 100%;
      padding: 11px 14px 11px 40px;
      border-radius: 14px;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      color: var(--text-primary);
      font-family: inherit;
      font-size: 14px;
      outline: none;
    }
    .gx-sheet-search input:focus { border-color: var(--ice-primary); }
    .gx-sheet-search .ix {
      position: absolute;
      left: 32px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
    }
    .gx-sheet-list {
      flex: 1;
      overflow-y: auto;
      padding: 4px 12px 24px;
      -webkit-overflow-scrolling: touch;
    }
    .gx-sheet-group-label {
      padding: 14px 10px 6px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      color: var(--text-muted);
    }
    .gx-sheet-opt {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      padding: 13px 14px;
      border-radius: 14px;
      background: transparent;
      border: none;
      color: var(--text-primary);
      font-family: inherit;
      font-size: 15px;
      text-align: left;
      cursor: pointer;
      transition: background 0.15s ease;
    }
    .gx-sheet-opt:hover { background: var(--glass-bg); }
    .gx-sheet-opt[aria-selected="true"] {
      background: rgba(91, 191, 235, 0.15);
      color: var(--ice-primary);
    }
    .gx-sheet-opt-label {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .gx-sheet-opt-check { color: var(--ice-primary); opacity: 0; flex-shrink: 0; }
    .gx-sheet-opt[aria-selected="true"] .gx-sheet-opt-check { opacity: 1; }
    .gx-sheet-empty {
      padding: 32px 16px;
      text-align: center;
      color: var(--text-muted);
      font-size: 14px;
    }

    /* Star rating helper — replaces ★☆ emoji groups */
    /* Star rating helper — replaces ★☆ emoji groups */
    .star-row { display: inline-flex; gap: 2px; align-items: center; color: var(--status-warning); }
    .star-row .ix { width: 0.95em; height: 0.95em; }
    .star-row.muted { color: rgba(255,255,255,0.25); }

    /* Photo Gallery Sliders & Image Preview Modal */
    .card-photo-container {
      position: relative;
      width: 100%;
      aspect-ratio: 3 / 4 !important;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 14px 14px 0 0;
    }
    .card-slider {
      display: flex;
      width: 100%;
      height: 100%;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      scrollbar-width: none;
      -ms-overflow-style: none;
      touch-action: pan-x;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-x: contain;
    }
    .card-slider::-webkit-scrollbar {
      display: none;
    }
    .card-slide {
      flex: 0 0 100%;
      width: 100%;
      height: 100%;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      cursor: pointer;
    }
    .card-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      pointer-events: auto;
      cursor: pointer;
    }
    .card-dots {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 5px;
      z-index: 10;
      background: rgba(0, 0, 0, 0.45);
      padding: 4px 8px;
      border-radius: 10px;
      backdrop-filter: blur(4px);
    }
    .card-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .card-dot.active {
      background: var(--ice-primary);
      transform: scale(1.3);
      box-shadow: 0 0 8px var(--ice-primary);
    }
    .image-preview-modal {
      position: fixed;
      inset: 0;
      z-index: 10000;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: previewFadeIn 0.3s forwards;
    }
    .image-preview-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(10px);
    }
    .image-preview-inner {
      position: relative;
      width: 92vw;
      max-width: 500px;
      max-height: 88vh;
      display: flex;
      flex-direction: column;
      border-radius: 20px;
      overflow: hidden;
      z-index: 10001;
    }
    .image-preview-close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.55);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: white;
      font-size: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10003;
      transition: all 0.2s ease;
      line-height: 1;
      padding-bottom: 2px;
    }
    .image-preview-close:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: scale(1.05);
    }
    .image-preview-zoom-btn {
      position: absolute;
      top: 12px;
      left: 12px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.55);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: white;
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10003;
      transition: all 0.2s ease;
      line-height: 1;
    }
    .image-preview-zoom-btn:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: scale(1.05);
    }
    .image-preview-slider {
      position: relative;
      width: 100%;
      height: auto;
      min-height: 200px;
      max-height: 80vh;
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      scrollbar-width: none;
      touch-action: pan-x;
      overscroll-behavior-x: contain;
      z-index: 10001;
      background: #000;
    }
    .image-preview-slider::-webkit-scrollbar {
      display: none;
    }
    .image-preview-slide {
      flex: 0 0 100%;
      width: 100%;
      min-height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      overflow: hidden;
    }
    .image-preview-slide img {
      max-width: 100%;
      max-height: 80vh;
      width: 100%;
      object-fit: contain;
      cursor: zoom-in;
      transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
      user-select: none;
      -webkit-user-drag: none;
      touch-action: none;
    }
    .image-preview-slide img.is-zoomed {
      cursor: grab;
      transform: scale(2.2);
    }
    .image-preview-slide img.is-zoomed:active {
      cursor: grabbing;
    }
    .image-preview-dots {
      display: flex;
      justify-content: center;
      gap: 6px;
      padding: 10px;
      background: rgba(0,0,0,0.7);
      z-index: 10002;
    }
    .image-preview-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      transition: all 0.25s ease;
    }
    .image-preview-dot.active {
      background: var(--ice-primary);
      transform: scale(1.2);
      box-shadow: 0 0 8px var(--ice-primary);
    }
    @keyframes previewFadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    @keyframes previewZoomIn {
      from { transform: scale(0.9); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }
    .image-preview-modal.closing {
      animation: previewFadeOut 0.2s forwards;
    }
    .image-preview-modal.closing .image-preview-slide img {
      animation: previewZoomOut 0.2s forwards;
    }
    @keyframes previewFadeOut {
      from { opacity: 1; }
      to { opacity: 0; }
    }
    @keyframes previewZoomOut {
      from { transform: scale(1); opacity: 1; }
      to { transform: scale(0.9); opacity: 0; }
    }

    /* ═══════════════════════════════════════════════════════════════════════════
       NEW SMART REVIEWS SYSTEM (Wildberries & TikTok Inspired)
       ═══════════════════════════════════════════════════════════════════════════ */
    
    .reviews-board {
      background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
      backdrop-filter: blur(var(--glass-blur));
      -webkit-backdrop-filter: blur(var(--glass-blur));
      border: 1px solid var(--glass-border);
      box-shadow: var(--shadow-island);
      border-radius: 24px;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reviews-hub-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-top: 16px;
    }
    
    .reviews-hub-tile-btn {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      padding: 16px;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 110px;
    }
    
    .reviews-hub-tile-btn:hover {
      transform: translateY(-4px);
      border-color: rgba(91, 191, 235, 0.4);
      box-shadow: 0 8px 24px rgba(91, 191, 235, 0.15);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    }
    
    .reviews-hub-tile-btn:active {
      transform: scale(0.96);
    }
    
    .reviews-hub-tile-btn.full-width {
      grid-column: span 2;
      height: 76px;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      gap: 16px;
    }

    .reviews-category-chips, .reviews-country-chips {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding: 4px 2px;
      -webkit-overflow-scrolling: touch;
    }
    .reviews-category-chips::-webkit-scrollbar, .reviews-country-chips::-webkit-scrollbar {
      display: none;
    }
    
    .filter-chip {
      padding: 8px 14px;
      border-radius: 40px;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      border: 1px solid var(--glass-border);
      background: var(--glass-bg);
      color: var(--text-secondary);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      cursor: pointer;
    }
    
    .filter-chip:hover {
      background: var(--glass-bg-strong);
      color: var(--text-primary);
      border-color: var(--glass-border-strong);
    }
    
    .filter-chip.active {
      background: linear-gradient(135deg, var(--ice-primary) 0%, var(--ice-deep) 100%);
      color: white;
      border-color: rgba(255,255,255,0.25);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .filter-chip.disabled-future {
      opacity: 0.4;
      cursor: not-allowed;
      background: rgba(255, 255, 255, 0.02);
      border-color: rgba(255, 255, 255, 0.05);
      color: var(--text-muted);
    }
    .filter-chip.disabled-future:hover {
      transform: none !important;
      background: rgba(255, 255, 255, 0.02) !important;
      color: var(--text-muted) !important;
    }
    
    .reviews-gallery-ribbon {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding: 4px 0;
      -webkit-overflow-scrolling: touch;
      border-radius: 16px;
    }
    .reviews-gallery-ribbon::-webkit-scrollbar {
      display: none;
    }
    
    .reviews-gallery-item {
      width: 76px;
      height: 76px;
      object-fit: cover;
      border-radius: 14px;
      cursor: pointer;
      border: 1px solid var(--glass-border);
      flex-shrink: 0;
      transition: all 0.2s ease;
    }
    
    .reviews-gallery-item:hover {
      transform: scale(1.05);
      border-color: var(--ice-primary);
      box-shadow: 0 4px 12px rgba(91, 191, 235, 0.3);
    }
    
    /* WB-style monolithic review card */
    .review-card-wb {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 18px;
      box-shadow: var(--shadow-card);
      position: relative;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      gap: 12px;
      overflow: hidden;
    }
    
    .review-card-wb:hover {
      border-color: rgba(91, 191, 235, 0.25);
      box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    }
    
    .review-card-wb-header {
      display: flex;
      align-items: center;
      gap: 12px;
      position: relative;
    }
    
    .review-card-wb-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--ice-primary), var(--ice-arctic));
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      font-size: 16px;
      font-weight: 800;
      color: white;
      border: 1.5px solid rgba(255,255,255,0.2);
      box-shadow: 0 3px 8px rgba(0,0,0,0.15);
      flex-shrink: 0;
    }
    
    .review-card-wb-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .review-card-wb-info {
      flex: 1;
      min-width: 0;
      text-align: left;
    }
    
    .review-card-wb-name {
      font-size: 14px;
      font-weight: 800;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    
    .review-card-wb-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 2px;
    }
    
    .review-card-wb-category {
      font-size: 9px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding: 2px 8px;
      border-radius: 20px;
      background: rgba(91, 191, 235, 0.15);
      color: var(--ice-primary);
    }
    
    .review-card-wb-time {
      font-size: 11px;
      color: var(--text-muted);
    }
    
    .review-card-wb-pin-btn {
      position: absolute;
      top: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: var(--text-secondary);
      border-radius: 50%;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 12px;
    }
    
    .review-card-wb-pin-btn:hover {
      transform: scale(1.1);
      background: rgba(255, 255, 255, 0.15);
      color: var(--ice-primary);
    }
    
    .review-card-wb-pin-btn.pinned {
      background: rgba(251, 191, 36, 0.2);
      border-color: rgba(251, 191, 36, 0.4);
      color: #fbbf24;
    }
    
    .review-card-wb-body {
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }
    
    .review-card-wb-media-block {
      width: 80px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex-shrink: 0;
    }
    
    .review-card-wb-media-preview {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .review-card-wb-media-preview:hover {
      transform: scale(1.03);
      border-color: var(--ice-primary);
    }
    
    .review-card-wb-media-more {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      width: 80px;
      height: 80px;
    }
    .review-card-wb-media-more img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.4;
    }
    .review-card-wb-media-more-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 12px;
      font-weight: 800;
    }
    
    .review-card-wb-text-container {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    
    .review-card-wb-stars {
      display: flex;
      gap: 2px;
      font-size: 13px;
      color: #fbbf24;
    }
    
    .review-card-wb-text {
      font-size: 13.5px;
      font-weight: 500;
      line-height: 1.45;
      color: var(--text-primary);
      text-align: left;
    }
    
    /* Collapsible action details */
    .review-card-wb-collapsible {
      margin-top: 4px;
      border-radius: 12px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.05);
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .review-card-wb-collapsible-trigger {
      padding: 6px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      font-size: 11px;
      font-weight: 700;
      color: var(--text-secondary);
      user-select: none;
    }
    
    .review-card-wb-collapsible-trigger:hover {
      background: rgba(255,255,255,0.06);
    }
    
    .review-card-wb-collapsible-content {
      padding: 0 12px 10px;
      display: none;
      border-top: 1px solid rgba(255,255,255,0.03);
      animation: slideDownFade 0.25s ease-out;
    }
    
    .review-card-wb-collapsible-content.expanded {
      display: block;
    }
    
    @keyframes slideDownFade {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .review-card-wb-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 10px;
      margin-top: 4px;
    }
    
    /* TikTok heart like mechanic */
    .review-like-btn-heart {
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      color: var(--text-muted);
      transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      user-select: none;
    }
    
    .review-like-btn-heart svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.2;
      transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .review-like-btn-heart.liked {
      color: #ef4444;
    }
    
    .review-like-btn-heart.liked svg {
      fill: #ef4444;
      stroke: #ef4444;
      transform: scale(1.15);
    }
    
    .review-like-btn-heart:active svg {
      transform: scale(0.85);
    }
    
    .review-card-wb-verified {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 10px;
      font-weight: 800;
      color: #34d399;
      background: rgba(52, 211, 153, 0.12);
      padding: 3px 10px;
      border-radius: 20px;
      border: 1px solid rgba(52, 211, 153, 0.2);
    }

    /* Floating heart double tap animation */
    .double-tap-heart {
      position: absolute;
      width: 60px;
      height: 60px;
      transform: translate(-50%, -50%) scale(0);
      color: #ef4444;
      fill: currentColor;
      pointer-events: none;
      animation: heartPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
      z-index: 10;
      filter: drop-shadow(0 4px 10px rgba(239, 68, 68, 0.4));
    }
    
    @keyframes heartPop {
      0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
      15% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
      30% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
      80% { transform: translate(-50%, -50%) scale(0.9) translateY(-20px); opacity: 0.9; }
      100% { transform: translate(-50%, -50%) scale(0) translateY(-40px); opacity: 0; }
    }
    
    /* Fixed bottom review write button */
    .reviews-write-footer-sticky {
      position: fixed;
      bottom: 82px; /* above the tab bar footer which is bottom: 12px, height is around 50px */
      left: 16px;
      right: 16px;
      z-index: 95;
      display: flex;
      justify-content: center;
      pointer-events: none;
    }
    
    .reviews-write-floating-btn {
      pointer-events: auto;
      background: linear-gradient(135deg, var(--ice-primary) 0%, var(--ice-deep) 100%);
      color: white;
      border-radius: 24px;
      padding: 12px 28px;
      font-size: 13px;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
      border: 1.5px solid rgba(255,255,255,0.3);
      cursor: pointer;
      transition: transform 0.15s ease;
    }
    
    .reviews-write-floating-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }
    
    .reviews-write-floating-btn:active {
      transform: scale(0.97);
    }
    
    @keyframes bounceBtn {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-4px); }
    }

    /* Universal Spotlight Search Styles */
    #spotlightModal {
      transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .spotlight-quick-card {
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .spotlight-quick-card:hover {
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-1px);
    }
    .spotlight-chip {
      transition: all 0.18s ease;
    }
    .spotlight-chip:hover {
      border-color: rgba(6, 182, 212, 0.4);
      background: rgba(6, 182, 212, 0.12);
      color: #fff;
    }

    @media (hover: hover) {
      .tab-item.center-calc-tab:hover,
      .tab-item.new-order:hover {
        transform: scale(1.04) translateY(-3px);
      }
    }

    /* ═══════════════════════════════════════════════════════════════════════
       BELARUSIAN RUBLE (BYN) OFFICIAL CURRENCY SYMBOL SYSTEM
       Strictly calibrated: height 0.72em equals cap-height of digits (0-9)
       ═══════════════════════════════════════════════════════════════════════ */
    .byn-sign {
      display: inline-block;
      vertical-align: -0.02em;
      height: 0.68em;
      width: auto;
      aspect-ratio: 650 / 800;
      fill: currentColor;
      flex-shrink: 0;
      transition: fill 0.2s ease, transform 0.2s ease, filter 0.2s ease;
    }
    .byn-price {
      display: inline-flex;
      align-items: baseline;
      gap: 0.2ch;
    }
    .byn-sign.byn-cyan {
      fill: #00e5ff;
      filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.4));
    }
    .byn-sign.byn-gold {
      fill: #fbbf24;
      filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.4));
    }
    .byn-sign.byn-emerald {
      fill: #34d399;
      filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.4));
    }
    .byn-sign.byn-purple {
      fill: #c084fc;
      filter: drop-shadow(0 0 5px rgba(192, 132, 252, 0.4));
    }
    .byn-sign.byn-white {
      fill: #ffffff;
      filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
    }
    .byn-sign.byn-muted {
      fill: rgba(255, 255, 255, 0.55);
    }

