/* ============================================================================
     SMART ADDRESS ENGINE V2.0 (CÔ LẬP TUYỆT ĐỐI CỘT I & CỘT P GPS BẢO MẬT)
     ============================================================================ */
  .hs-loc-quickbar {
      display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px;
  }
  .hs-loc-pill {
      display: inline-flex; align-items: center; justify-content: center; gap: 7px;
      padding: 10px 10px; border-radius: 12px; cursor: pointer;
      font-family: var(--font-body); font-size: 12.5px; font-weight: 700;
      transition: all 0.22s ease; border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(255, 255, 255, 0.045); color: #eee;
  }
  .hs-loc-pill.studio {
      background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.38); color: #6ee7b7;
  }
  .hs-loc-pill.studio:hover { background: rgba(52, 211, 153, 0.22); border-color: #34d399; color: #fff; }
  .hs-loc-pill.map {
      background: rgba(255, 215, 0, 0.09); border-color: rgba(255, 215, 0, 0.36); color: #FFD700;
  }
  .hs-loc-pill.map:hover { background: rgba(255, 215, 0, 0.2); border-color: #FFD700; color: #fff; }

  /* Danh sách gợi ý địa chỉ thả xuống lúc đang gõ */
  .hs-addr-suggest {
      display: none; margin-top: 6px; border-radius: 14px; overflow: hidden;
      background: rgba(16, 17, 23, 0.98); border: 1px solid rgba(255, 215, 0, 0.38);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85); max-height: 230px; overflow-y: auto;
  }
  .hs-addr-suggest.open { display: block; }
  .hs-suggest-item {
      display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06); cursor: pointer; transition: 0.18s;
  }
  .hs-suggest-item:last-child { border-bottom: none; }
  .hs-suggest-item:hover { background: rgba(255, 215, 0, 0.12); }
  .hs-suggest-item i { color: #FFD700; margin-top: 3px; font-size: 13px; flex-shrink: 0; }
  .hs-suggest-main { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.35; }
  .hs-suggest-sub { font-size: 11px; color: #94a3b8; margin-top: 2px; line-height: 1.3; }

  /* Popup Bản đồ kéo ghim tương tác kiểu Grab (Lazy-load Leaflet) */
  .hs-mappick-overlay {
      position: fixed; inset: 0; z-index: 9999998;
      background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
      display: none; align-items: center; justify-content: center; padding: 14px;
  }
  .hs-mappick-overlay.show { display: flex; }
  .hs-mappick-sheet {
      width: 100%; max-width: 520px; border-radius: 26px; overflow: hidden;
      background: #14151c; border: 1px solid rgba(212, 175, 55, 0.45);
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95);
      display: flex; flex-direction: column;
  }
  .hs-mappick-head {
      padding: 15px 18px; display: flex; align-items: center; justify-content: space-between;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(10, 11, 16, 0.95);
  }
  .hs-mappick-title {
      font-size: 14.5px; font-weight: 800; color: #FFD700; letter-spacing: 0.4px;
      display: flex; align-items: center; gap: 8px;
  }
  .hs-mappick-canvas-wrap {
      position: relative; width: 100%; height: 340px; background: #0c0d12;
  }
  #hsLeafletMap { width: 100%; height: 100%; z-index: 1; }
  .hs-center-pin {
      position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
      z-index: 600; pointer-events: none; font-size: 36px; color: #ff4757;
      filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.8));
      transition: transform 0.15s ease;
  }
  .hs-center-pin.moving { transform: translate(-50%, -118%) scale(1.08); }
  .hs-center-dot {
      position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
      width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 71, 87, 0.45);
      border: 2px solid #fff; z-index: 599; pointer-events: none;
  }
  .hs-map-float-tools {
      position: absolute; right: 12px; bottom: 12px; z-index: 650;
      display: flex; flex-direction: column; gap: 8px;
  }
  .hs-map-tool-btn {
      width: 40px; height: 40px; border-radius: 50%;
      background: rgba(15, 16, 22, 0.92); border: 1px solid rgba(255, 215, 0, 0.55);
      color: #FFD700; font-size: 15px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
  }
  .hs-mappick-foot {
      padding: 15px 18px 18px; background: #12131a;
      display: flex; flex-direction: column; gap: 11px;
  }
  .hs-mappick-stats {
      display: flex; align-items: center; justify-content: space-between; gap: 10px;
      padding: 10px 13px; border-radius: 13px;
      background: rgba(255, 215, 0, 0.07); border: 1px solid rgba(255, 215, 0, 0.25);
      font-size: 12.5px; color: #e2e8f0;
  }
  .hs-mappick-hint {
      font-size: 11.5px; color: #94a3b8; line-height: 1.45; text-align: center;
  }

/* ============================================================================
     HISTORY STUDIO CLIENT APP OS V1.0 (ADAPTIVE MOBILE APP <= 900PX — CÔ LẬP 100%)
     - Giữ nguyên 100% giao diện Web trên Máy Tính (> 900px)
     - Thanh trượt nổi kiểu Instagram (Floating Liquid Glass Dark Gold + Scrubbing)
     - 4 Tab App: Dịch Vụ · Lịch Trống (chạm chọn giờ) · Đặt Lịch · Vé VIP (Logo tròn)
     - Đồng bộ thời gian thực Google Sheets (15s Lịch / 30s CMS / Tức thì khi chuyển tab)
     - Lưu QR 1 chạm, tự ghép nội dung CK, tự điền khách quen & Ví Vé VIP lưu trên máy
     ============================================================================ */
  /* Ẩn hoàn toàn các thành phần App trên Máy Tính (> 900px) */
  .hs-app-topbar,
  .hs-ig-dock-wrap,
  .hs-app-pane,
  .hs-app-only-mobile {
      display: none;
  }

  @media (max-width: 900px) {
      /* 1. ẨN 4 CỤM NÚT NỔI CŨ ĐỂ MÀN HÌNH ĐIỆN THOẠI SẠCH SẼ CHUẨN APP */
      .cart-float-btn,
      .calendar-float-btn,
      .ios-dynamic-cart-bar,
      #lang-switcher-wrapper,
      .back-btn {
          display: none !important;
      }

      body {
          padding-top: calc(56px + env(safe-area-inset-top));
          padding-bottom: calc(96px + env(safe-area-inset-bottom));
      }

      .hero { padding: 12px 0 10px !important; }
      .main-logo-img { max-width: 240px !important; width: 58% !important; }
      .logo-wrapper { margin-bottom: 12px !important; }
      .welcome-box { padding: 16px 18px !important; margin-bottom: 14px !important; font-size: 0.9em !important; }
      .main-tabs-wrapper { top: calc(62px + env(safe-area-inset-top)) !important; z-index: 120 !important; }
      .footer { padding: 26px 14px calc(105px + env(safe-area-inset-bottom)) !important; }
      .toast {
          top: calc(64px + env(safe-area-inset-top)) !important;
          left: 50% !important;
          transform: translateX(-50%) !important;
          width: auto !important;
          max-width: calc(100vw - 28px) !important;
          min-width: 180px;
          padding: 11px 18px !important;
          border-radius: 18px !important;
          font-size: 13px !important;
          line-height: 1.45 !important;
          text-align: center !important;
          white-space: normal !important;
          word-break: break-word !important;
          z-index: 100001 !important;
      }
      .payment-container { padding: 18px 14px !important; margin-top: 6px !important; border-radius: 24px !important; }
      .payment-header { margin-bottom: 16px !important; padding-bottom: 10px !important; }
      .form-row-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }

      /* 2. TOP APP BAR KÍNH MỜ 1 DÒNG TRÊN CÙNG */
      .hs-app-topbar {
          display: flex;
          position: fixed;
          top: 0; left: 0; right: 0;
          z-index: 9500;
          align-items: center;
          justify-content: space-between;
          gap: 10px;
          padding: calc(8px + env(safe-area-inset-top)) 14px 9px;
          background: rgba(10, 9, 6, 0.72);
          background-image: linear-gradient(180deg, rgba(252, 246, 186, 0.08) 0%, transparent 100%);
          backdrop-filter: blur(22px) saturate(185%);
          -webkit-backdrop-filter: blur(22px) saturate(185%);
          border-bottom: 1px solid rgba(212, 175, 55, 0.24);
          box-shadow: 0 8px 26px rgba(0, 0, 0, 0.52);
      }
      .hs-atb-brand {
          display: flex; align-items: center; gap: 9px; min-width: 0; cursor: pointer;
      }
      .hs-atb-logo {
          width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
          border: 1.5px solid rgba(212, 175, 55, 0.65);
          box-shadow: 0 0 12px rgba(212, 175, 55, 0.28);
          flex-shrink: 0;
      }
      .hs-atb-title {
          font-family: 'Pinyon Script', cursive;
          font-size: 26px; line-height: 1; font-weight: 400;
          background: var(--luxury-gold-gradient);
          -webkit-background-clip: text; -webkit-text-fill-color: transparent;
          padding-right: 4px;
      }
      .hs-atb-live {
          width: 7px; height: 7px; border-radius: 50%; background: #34d399;
          box-shadow: 0 0 8px #34d399; flex-shrink: 0;
          animation: hsLiveBlink 2.4s infinite;
      }
      .hs-atb-live.syncing { background: #FFD700; box-shadow: 0 0 10px #FFD700; }
      @keyframes hsLiveBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

      .hs-atb-actions { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
      .hs-atb-btn {
          height: 34px; min-width: 34px; padding: 0 10px;
          border-radius: 999px;
          background: rgba(255, 255, 255, 0.06);
          border: 1px solid rgba(212, 175, 55, 0.34);
          color: #FCF6BA; font-family: var(--font-body); font-size: 11.5px; font-weight: 700;
          display: inline-flex; align-items: center; justify-content: center; gap: 5px;
          cursor: pointer; text-decoration: none; transition: transform 0.16s ease, background 0.2s ease;
      }
      .hs-atb-btn:active { transform: scale(0.92); background: rgba(212, 175, 55, 0.22); }
      .hs-atb-btn img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }

      .hs-atb-lang-menu {
          position: fixed; top: calc(54px + env(safe-area-inset-top)); right: 14px;
          z-index: 9600; min-width: 146px; padding: 5px;
          border-radius: 16px; background: rgba(16, 15, 12, 0.96);
          backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
          border: 1px solid rgba(212, 175, 55, 0.45);
          box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
          display: none; flex-direction: column; gap: 2px;
      }
      .hs-atb-lang-menu.open { display: flex; }
      .hs-atb-lang-opt {
          display: flex; align-items: center; gap: 9px; padding: 10px 12px;
          border-radius: 11px; color: #f3f4f6; font-size: 13px; font-weight: 600; cursor: pointer;
      }
      .hs-atb-lang-opt:active, .hs-atb-lang-opt.active { background: rgba(212, 175, 55, 0.18); color: #FFD700; }
      .hs-atb-lang-opt img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

      /* 3. THANH TRƯỢT NỔI KIỂU INSTAGRAM (FLOATING LIQUID GLASS CAPSULE DARK GOLD) */
      .hs-ig-dock-wrap {
          display: flex;
          justify-content: center;
          position: fixed;
          left: 14px; right: 14px;
          bottom: max(12px, env(safe-area-inset-bottom));
          z-index: 9500;
          pointer-events: none;
          transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
      }
      .hs-ig-dock-wrap.dock-hidden {
          transform: translate3d(0, 115px, 0);
          opacity: 0;
      }

      .hs-ig-dock {
          pointer-events: auto;
          position: relative;
          width: 100%; max-width: 400px;
          display: grid; grid-template-columns: repeat(4, 1fr);
          padding: 5px;
          border-radius: 999px;
          background: rgba(14, 12, 8, 0.58);
          background-image: linear-gradient(
              180deg,
              rgba(252, 246, 186, 0.18) 0%,
              rgba(212, 175, 55, 0.05) 36%,
              rgba(0, 0, 0, 0) 64%,
              rgba(212, 175, 55, 0.09) 100%
          );
          backdrop-filter: blur(26px) saturate(195%);
          -webkit-backdrop-filter: blur(26px) saturate(195%);
          border: 1px solid rgba(212, 175, 55, 0.42);
          box-shadow:
              inset 0 1px 0 rgba(255, 250, 224, 0.48),
              inset 0 -1px 1px rgba(170, 119, 28, 0.28),
              0 16px 40px rgba(0, 0, 0, 0.78),
              0 0 24px rgba(212, 175, 55, 0.14);
          touch-action: none;
          user-select: none; -webkit-user-select: none;
      }

      /* Viên thuốc kính pha lê trượt đàn hồi kiểu Instagram */
      .hs-ig-pill {
          position: absolute;
          top: 5px; bottom: 5px; left: 5px;
          width: calc((100% - 10px) / 4);
          border-radius: 999px;
          background: linear-gradient(
              180deg,
              rgba(252, 246, 186, 0.26) 0%,
              rgba(212, 175, 55, 0.22) 48%,
              rgba(170, 119, 28, 0.14) 100%
          );
          border: 1px solid rgba(252, 246, 186, 0.56);
          box-shadow:
              inset 0 1px 1px rgba(255, 255, 255, 0.65),
              inset 0 -1px 1px rgba(170, 119, 28, 0.32),
              0 6px 18px rgba(0, 0, 0, 0.52),
              0 0 16px rgba(212, 175, 55, 0.26);
          transform: translate3d(calc(var(--hs-ig-idx, 0) * 100%), 0, 0);
          transition: transform 0.38s cubic-bezier(0.32, 1.28, 0.54, 1), box-shadow 0.2s ease;
          pointer-events: none;
          z-index: 1;
      }
      .hs-ig-dock.scrubbing .hs-ig-pill {
          transition: transform 0.12s ease-out;
          transform: translate3d(calc(var(--hs-ig-idx, 0) * 100%), 0, 0) scale(1.04);
      }

      .hs-ig-btn {
          position: relative; z-index: 2;
          background: transparent; border: none;
          padding: 7px 2px 6px; border-radius: 999px;
          color: rgba(255, 255, 255, 0.62);
          font-family: var(--font-body); font-size: 9.2px; font-weight: 600;
          display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
          cursor: pointer; transition: color 0.2s ease, transform 0.16s ease;
      }
      .hs-ig-btn i { font-size: 16px; transition: transform 0.26s cubic-bezier(0.32, 1.4, 0.56, 1), color 0.2s ease; }
      .hs-ig-btn:active { transform: scale(0.9); }
      .hs-ig-btn.active { color: #FCF6BA; font-weight: 700; }
      .hs-ig-btn.active i {
          color: #FFD700;
          transform: translateY(-1px) scale(1.08);
          filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.55));
      }

      /* Logo tròn vị trí ngoài cùng bên phải giống Avatar Instagram */
      .hs-ig-avatar-wrap {
          position: relative; width: 22px; height: 22px; border-radius: 50%;
          padding: 1.5px;
          background: linear-gradient(135deg, rgba(212, 175, 55, 0.5), rgba(252, 246, 186, 0.25));
          transition: transform 0.24s ease, box-shadow 0.24s ease;
      }
      .hs-ig-btn.active .hs-ig-avatar-wrap {
          background: var(--luxury-gold-gradient);
          box-shadow: 0 0 12px rgba(255, 215, 0, 0.55);
          transform: scale(1.08);
      }
      .hs-ig-avatar-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
      .hs-ig-vip-dot {
          display: none; position: absolute; right: -2px; bottom: -2px;
          width: 8px; height: 8px; border-radius: 50%;
          background: #34d399; border: 1.5px solid #0b0a08; box-shadow: 0 0 8px #34d399;
      }
      .hs-ig-cal-dot {
          position: absolute; top: 5px; right: calc(50% - 14px);
          width: 6px; height: 6px; border-radius: 50%;
          background: #64FFDA; box-shadow: 0 0 6px #64FFDA;
      }
      .hs-ig-badge {
          display: none; position: absolute; top: 3px; right: calc(50% - 19px);
          min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px;
          background: #ff4757; color: #fff; font-size: 9.5px; font-weight: 800; line-height: 17px;
          text-align: center; border: 1.5px solid #0d0c09;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
      }
      .hs-ig-badge.pop { animation: cartJellyBounce 0.55s ease; }

      /* 4. CÁC MÀN HÌNH APP MỚI (LỊCH TRỐNG · GIỎ TRỐNG · VÉ VIP) */
      .hs-app-pane.active {
          display: block;
          animation: hsAppFadeUp 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
      }
      @keyframes hsAppFadeUp {
          from { opacity: 0; transform: translate3d(0, 12px, 0); }
          to { opacity: 1; transform: translate3d(0, 0, 0); }
      }
      .hs-app-card {
          background: rgba(14, 12, 8, 0.58);
          background-image: linear-gradient(180deg, rgba(252, 246, 186, 0.1) 0%, rgba(212, 175, 55, 0.03) 26%, transparent 60%);
          backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
          border: 1px solid rgba(212, 175, 55, 0.34);
          border-radius: 24px; padding: 18px 16px; margin-bottom: 16px;
          box-shadow: inset 0 1px 0 rgba(252, 246, 186, 0.36), 0 20px 48px rgba(0, 0, 0, 0.85);
      }
      .hs-app-head-title {
          font-family: 'Pinyon Script', cursive; font-size: 2.35em; line-height: 1.1; text-align: center;
          background: var(--luxury-gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
          margin-bottom: 4px;
      }
      .hs-app-head-sub {
          text-align: center; font-size: 12px; color: #a8a29e; margin-bottom: 16px; line-height: 1.5;
      }

      /* Giao diện Lịch Trống 24/24 Trực Quan — Dễ Dùng Cho Mọi Khách Hàng */
      .hs-sch-quick-row {
          display: flex; align-items: center; gap: 7px; overflow-x: auto;
          padding: 2px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
      }
      .hs-sch-quick-row::-webkit-scrollbar { display: none; }
      .hs-sch-qpill {
          flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
          padding: 8px 12px; border-radius: 999px;
          background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
          color: #e2e8f0; font-family: var(--font-body); font-size: 12px; font-weight: 600;
          cursor: pointer; transition: all 0.18s ease;
      }
      .hs-sch-qpill.active {
          background: rgba(212, 175, 55, 0.22); border-color: #FFD700; color: #FCF6BA; font-weight: 800;
      }
      .hs-sch-qpill.date-jump {
          position: relative; overflow: hidden;
          background: rgba(100, 255, 218, 0.09); border-color: rgba(100, 255, 218, 0.38); color: #64FFDA;
      }
      .hs-sch-native-date {
          position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer;
      }

      .hs-sch-cal-legend {
          display: flex; align-items: center; justify-content: center; gap: 16px;
          margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.06);
          font-size: 11px; color: #a8a29e;
      }
      .hs-sch-cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
      .hs-leg-ring {
          width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #64FFDA; display: inline-block;
      }
      .hs-leg-dot {
          width: 6px; height: 6px; border-radius: 50%; background: #FFD700; box-shadow: 0 0 6px #FFD700; display: inline-block;
      }

      .hs-sch-booked-toggle {
          width: 100%; margin-top: 12px; padding: 10px 13px; border-radius: 13px;
          background: rgba(212, 175, 55, 0.08); border: 1px dashed rgba(212, 175, 55, 0.36);
          color: #FCF6BA; font-family: var(--font-body); font-size: 12px; font-weight: 700;
          display: flex; align-items: center; justify-content: space-between; cursor: pointer;
      }
      .hs-sch-booked-toggle:active { background: rgba(212, 175, 55, 0.18); }

      /* Thẻ kết quả ngày đang chọn (Câu chữ rõ ràng, dễ hiểu 24/24) */
      .hs-day-verdict {
          display: flex; align-items: center; justify-content: space-between; gap: 8px;
          padding: 12px 13px; border-radius: 15px; margin-bottom: 12px;
      }
      .hs-day-verdict.all-free {
          background: rgba(52, 211, 153, 0.11); border: 1px solid rgba(52, 211, 153, 0.4);
      }
      .hs-day-verdict.has-busy {
          background: rgba(212, 175, 55, 0.09); border: 1px solid rgba(212, 175, 55, 0.34);
      }
      .hs-dv-title { font-size: 14.5px; font-weight: 800; color: #fff; }
      .hs-dv-sub { font-size: 11.5px; color: #cbd5e1; margin-top: 3px; line-height: 1.4; }
      .hs-dv-badge {
          flex-shrink: 0; font-size: 10.5px; font-weight: 800; padding: 4px 10px;
          border-radius: 99px; white-space: nowrap;
      }
      .hs-dv-badge.free { background: #10b981; color: #052e16; }
      .hs-dv-badge.busy { background: rgba(255, 215, 0, 0.18); color: #FFD700; border: 1px solid rgba(255, 215, 0, 0.4); }

      .hs-sch-sec-lbl {
          font-size: 11px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
          color: #FFD700; margin: 12px 0 8px; display: flex; align-items: center; justify-content: space-between;
      }
      .hs-booked-card {
          display: flex; align-items: center; justify-content: space-between; gap: 10px;
          padding: 10px 12px; border-radius: 13px; margin-bottom: 7px;
          background: rgba(255, 71, 87, 0.09); border: 1px solid rgba(255, 71, 87, 0.32);
      }
      .hs-bk-time { font-size: 13.5px; font-weight: 800; color: #ff6b81; white-space: nowrap; }
      .hs-bk-meta { font-size: 11.5px; color: #cbd5e1; margin-top: 2px; line-height: 1.35; }
      .hs-bk-tag {
          font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 99px; white-space: nowrap;
      }
      .hs-bk-tag.ok { background: rgba(52, 211, 153, 0.16); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.38); }
      .hs-bk-tag.hold { background: rgba(251, 191, 36, 0.14); color: #fde68a; border: 1px solid rgba(251, 191, 36, 0.35); }

      .hs-free-win {
          width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
          padding: 13px 14px; border-radius: 15px; margin-bottom: 8px; text-align: left;
          background: rgba(100, 255, 218, 0.08); border: 1px solid rgba(100, 255, 218, 0.36);
          color: #fff; font-family: var(--font-body); cursor: pointer;
          transition: transform 0.16s ease, background 0.2s ease;
      }
      .hs-free-win:active {
          transform: scale(0.98); background: rgba(212, 175, 55, 0.22); border-color: #FFD700;
      }
      .hs-fw-range { font-size: 14px; font-weight: 800; color: #64FFDA; letter-spacing: 0.2px; }
      .hs-fw-sub { font-size: 11.5px; color: #cbd5e1; margin-top: 2px; }
      .hs-fw-cta {
          padding: 8px 13px; border-radius: 99px; flex-shrink: 0;
          background: var(--luxury-gold-gradient); color: #14110a;
          font-size: 11.5px; font-weight: 800; letter-spacing: 0.4px; white-space: nowrap;
      }

      .hs-all-date-card {
          padding: 12px 13px; border-radius: 15px; margin-top: 8px;
          background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(212, 175, 55, 0.24);
          cursor: pointer; transition: border-color 0.2s ease;
      }
      .hs-all-date-card:active { border-color: #FFD700; background: rgba(212, 175, 55, 0.09); }

      /* NÚT TRÒN GIỎ HÀNG TINH TẾ Ở TAB DỊCH VỤ (CHỈ HIỆN KHI ĐÃ CHỌN GÓI) */
      .hs-mob-fab-cart {
          position: fixed;
          right: 16px;
          bottom: calc(82px + env(safe-area-inset-bottom));
          z-index: 9550;
          width: 54px; height: 54px; border-radius: 50%;
          display: flex; align-items: center; justify-content: center;
          background: rgba(18, 15, 9, 0.84);
          background-image: linear-gradient(145deg, rgba(252, 246, 186, 0.22) 0%, rgba(212, 175, 55, 0.14) 55%, rgba(10, 9, 6, 0.85) 100%);
          backdrop-filter: blur(20px) saturate(190%); -webkit-backdrop-filter: blur(20px) saturate(190%);
          border: 1.5px solid rgba(252, 246, 186, 0.58);
          color: #FFD700; font-size: 20px; cursor: pointer;
          box-shadow:
              inset 0 1px 1px rgba(255, 255, 255, 0.55),
              0 12px 30px rgba(0, 0, 0, 0.82),
              0 0 22px rgba(212, 175, 55, 0.32);
          opacity: 0; pointer-events: none;
          transform: translate3d(0, 24px, 0) scale(0.65);
          transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.24s ease;
      }
      .hs-mob-fab-cart.visible {
          opacity: 1; pointer-events: auto;
          transform: translate3d(0, 0, 0) scale(1);
      }
      .hs-mob-fab-cart:active { transform: scale(0.9); }
      .hs-mob-fab-cart.bounce { animation: cartJellyBounce 0.58s ease; }
      .hs-mob-fab-badge {
          position: absolute; top: -4px; right: -3px;
          min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px;
          background: #ff4757; color: #fff; font-family: var(--font-body);
          font-size: 11px; font-weight: 800; line-height: 21px; text-align: center;
          border: 2px solid #0b0a07; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
      }

      /* Lớp nền mờ & Nâng z-index Bảng Xem Lại Đơn Hàng (#cartModal) lên trên thanh IG */
      .hs-mob-cart-backdrop {
          display: none; position: fixed; inset: 0; z-index: 9800;
          background: rgba(0, 0, 0, 0.68);
          backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
          animation: iosFadeIn 0.22s ease forwards;
      }
      .hs-mob-cart-backdrop.show { display: block; }
      .cart-modal {
          z-index: 9850 !important;
          height: 76dvh !important;
      }
      .cart-footer {
          padding-bottom: calc(22px + env(safe-area-inset-bottom)) !important;
      }

      /* Thanh 1 dòng xem nhanh đơn hàng ở đầu Tab 3 (Đặt Lịch) để không phải kéo xuống đáy */
      .hs-booking-mini-cart {
          display: flex; align-items: center; justify-content: space-between; gap: 10px;
          padding: 10px 13px; border-radius: 14px; margin-bottom: 14px;
          background: rgba(212, 175, 55, 0.09); border: 1px solid rgba(212, 175, 55, 0.34);
          font-size: 12.5px; color: #f5ecd7;
      }
      .hs-bmc-btn {
          background: rgba(255, 215, 0, 0.16); border: 1px solid rgba(255, 215, 0, 0.45);
          color: #FFD700; padding: 5px 11px; border-radius: 99px;
          font-family: var(--font-body); font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap;
      }

      /* Tiện ích thông minh trong Tab 3 (Đặt Lịch) chỉ hiện trên Mobile */
      .hs-app-only-mobile { display: block; }
      .hs-step-bar {
          display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px;
      }
      .hs-step-pill {
          padding: 7px 6px; border-radius: 12px; text-align: center;
          font-size: 10.5px; font-weight: 700; color: #94a3b8;
          background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
          transition: all 0.25s ease;
      }
      .hs-step-pill.done {
          background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.42); color: #6ee7b7;
      }
      .hs-step-pill.now {
          background: rgba(212, 175, 55, 0.14); border-color: rgba(212, 175, 55, 0.45); color: #FFD700;
      }

      .hs-autofill-bar {
          display: none; align-items: center; justify-content: space-between; gap: 8px;
          padding: 10px 12px; border-radius: 14px; margin-bottom: 14px;
          background: rgba(100, 255, 218, 0.08); border: 1px dashed rgba(100, 255, 218, 0.4);
          font-size: 12px; color: #E6F1FF;
      }
      .hs-autofill-btn {
          background: var(--luxury-gold-gradient); color: #12100b; border: none;
          padding: 6px 12px; border-radius: 99px; font-family: var(--font-body);
          font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap;
      }

      .hs-bank-tools {
          display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px;
      }
      .hs-bank-tool-btn {
          display: inline-flex; align-items: center; justify-content: center; gap: 6px;
          padding: 10px 10px; border-radius: 12px;
          background: rgba(212, 175, 55, 0.12); border: 1px solid rgba(212, 175, 55, 0.36);
          color: #FCF6BA; font-family: var(--font-body); font-size: 11.5px; font-weight: 700;
          text-decoration: none; cursor: pointer;
      }
      .hs-bank-tool-btn:active { background: #FFD700; color: #111; transform: scale(0.97); }
      .hs-bank-tool-btn.primary {
          grid-column: span 2;
          background: rgba(100, 255, 218, 0.12); border-color: rgba(100, 255, 218, 0.42); color: #64FFDA;
      }

      /* Tab 4: Của Tôi (Lịch hẹn Live · Đặt nhanh · Quy định · Cài App) */
      .hs-my-sec-head {
          display: flex; align-items: center; justify-content: space-between; gap: 8px;
          margin-bottom: 12px;
      }
      .hs-my-sec-title {
          font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
          color: #FFD700; display: inline-flex; align-items: center; gap: 7px;
      }
      .hs-my-status-pill {
          display: inline-flex; align-items: center; gap: 5px;
          padding: 4px 10px; border-radius: 99px; font-size: 10.5px; font-weight: 800;
          white-space: nowrap;
      }
      .hs-my-status-pill.confirmed {
          background: rgba(16, 185, 129, 0.18); border: 1px solid rgba(52, 211, 153, 0.5); color: #6ee7b7;
      }
      .hs-my-status-pill.pending {
          background: rgba(251, 191, 36, 0.14); border: 1px solid rgba(251, 191, 36, 0.42); color: #fde68a;
      }
      .hs-vip-countdown {
          display: inline-flex; align-items: center; gap: 6px;
          padding: 5px 12px; border-radius: 99px; margin-bottom: 10px;
          background: rgba(100, 255, 218, 0.11); border: 1px solid rgba(100, 255, 218, 0.35);
          color: #64FFDA; font-size: 11.5px; font-weight: 700;
      }

      .hs-my-ticket {
          background: rgba(18, 16, 12, 0.82);
          background-image: linear-gradient(145deg, rgba(212, 175, 55, 0.1) 0%, rgba(16, 17, 22, 0.9) 55%, rgba(212, 175, 55, 0.04) 100%);
          border: 1px solid rgba(212, 175, 55, 0.38);
          border-radius: 20px; padding: 16px; text-align: left;
      }
      .hs-my-ticket-top {
          display: flex; align-items: center; justify-content: space-between; gap: 8px;
          padding-bottom: 10px; margin-bottom: 10px;
          border-bottom: 1px dashed rgba(212, 175, 55, 0.28); flex-wrap: wrap;
      }
      .hs-my-btn-row {
          display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px;
      }
      .hs-my-btn {
          display: inline-flex; align-items: center; justify-content: center; gap: 6px;
          padding: 10px 10px; border-radius: 12px;
          background: rgba(212, 175, 55, 0.13); border: 1px solid rgba(212, 175, 55, 0.38);
          color: #FCF6BA; font-family: var(--font-body); font-size: 11.5px; font-weight: 700;
          text-decoration: none; cursor: pointer;
      }
      .hs-my-btn.cyan {
          background: rgba(100, 255, 218, 0.09); border-color: rgba(100, 255, 218, 0.38); color: #64FFDA;
      }
      .hs-my-btn:active { transform: scale(0.97); }

      .hs-my-hist-item {
          display: flex; align-items: center; justify-content: space-between; gap: 8px;
          padding: 10px 12px; border-radius: 13px; margin-top: 8px;
          background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07);
          font-size: 12px;
      }

      /* Thông tin đặt nhanh của bạn */
      .hs-prof-row {
          display: flex; align-items: center; justify-content: space-between; gap: 8px;
          padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
          font-size: 12.5px;
      }
      .hs-prof-row:last-of-type { border-bottom: none; }
      .hs-prof-lbl { color: #94a3b8; font-size: 11.5px; }
      .hs-prof-val { color: #fff; font-weight: 600; text-align: right; word-break: break-word; }
      .hs-prof-input {
          width: 100%; height: 42px; padding: 0 12px; border-radius: 12px; margin-bottom: 8px;
          background: rgba(8, 9, 13, 0.72); border: 1px solid rgba(212, 175, 55, 0.32);
          color: #fff; font-family: var(--font-body); font-size: 14px; outline: none;
      }
      .hs-prof-input:focus { border-color: #FFD700; }

      /* Thông tin Studio & Quy định minh bạch */
      .hs-info-grid {
          display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px;
      }
      .hs-info-tile {
          padding: 10px 11px; border-radius: 13px;
          background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07);
      }
      .hs-info-tile-lbl { font-size: 10px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; }
      .hs-info-tile-val { font-size: 12.5px; font-weight: 700; color: #FCF6BA; margin-top: 3px; line-height: 1.35; }
      .hs-policy-mini {
          padding: 10px 12px; border-radius: 13px;
          background: rgba(255, 71, 87, 0.07); border: 1px solid rgba(255, 71, 87, 0.24);
          font-size: 12px; color: #e2e8f0; line-height: 1.55;
      }
      .hs-prep-details {
          margin-top: 10px; border-radius: 13px;
          background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(212, 175, 55, 0.2);
          padding: 10px 12px;
      }
      .hs-prep-details summary {
          font-size: 12px; font-weight: 700; color: #FCF6BA; cursor: pointer;
          list-style: none; display: flex; align-items: center; justify-content: space-between;
      }

      .hs-check-item {
          display: flex; align-items: center; gap: 10px; padding: 9px 10px;
          border-radius: 11px; background: rgba(255, 255, 255, 0.035);
          border: 1px solid rgba(255, 255, 255, 0.06); margin-top: 7px;
          font-size: 12px; color: #e2e8f0; cursor: pointer;
      }
      .hs-check-item.checked {
          background: rgba(52, 211, 153, 0.09); border-color: rgba(52, 211, 153, 0.35);
          color: #94a3b8; text-decoration: line-through;
      }
      .hs-check-box {
          width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
          border: 1.5px solid rgba(212, 175, 55, 0.55);
          display: inline-flex; align-items: center; justify-content: center;
          font-size: 10px; color: transparent;
      }
      .hs-check-item.checked .hs-check-box {
          background: #34d399; border-color: #34d399; color: #052e16;
      }

      /* Khung Cài App + Hướng dẫn 3 bước gọn gàng ngay trong thẻ */
      .hs-pwa-install-box {
          display: flex; flex-direction: column; gap: 9px;
          padding: 14px; border-radius: 16px;
          background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(14, 12, 8, 0.78));
          border: 1px solid rgba(212, 175, 55, 0.42);
      }
      .hs-pwa-guide-steps {
          display: flex; flex-direction: column; gap: 6px;
          padding: 10px 12px; border-radius: 12px;
          background: rgba(0, 0, 0, 0.45); border: 1px dashed rgba(212, 175, 55, 0.35);
          font-size: 12px; color: #f1f5f9; line-height: 1.5;
      }
  }

/* ============================================================================
     GOLDEN SONIC CLEAVE V1.0 — HIỆU ỨNG CHUYÊN CƠ VÀNG KIM XÉ MÀN LỤA (100% GPU)
     - Chỉ kích hoạt sau khi máy chủ xác nhận đặt lịch thành công (result === 'success')
     - 100% GPU Compositor (transform: translate3d / scale3d / rotateZ & opacity)
     - 0% filter:blur động, 0% reflow, Object Pooling 16 hạt bụi vàng, tự xả VRAM sau 1.68s
     ============================================================================ */
  .hs-jc-overlay {
      position: fixed;
      inset: 0;
      z-index: 9999999;
      display: none;
      overflow: hidden;
      pointer-events: all;
      contain: strict;
      transform: translate3d(0, 0, 0);
  }
  .hs-jc-overlay.active {
      display: block;
  }

  /* 2 cánh màn lụa Dark Gold ghép khít trục giữa — tách hình chữ V bằng GPU transform */
  .hs-jc-curtain {
      position: absolute;
      top: -4vh;
      bottom: -8vh;
      width: 50.6vw;
      background: #060504;
      background-image: radial-gradient(circle at 50% 45%, rgba(36, 28, 12, 0.42) 0%, rgba(5, 5, 8, 0.98) 72%);
      will-change: transform, opacity;
      transform: translate3d(0, 0, 0);
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
  }
  .hs-jc-curtain.left {
      left: 0;
      transform-origin: top left;
      border-right: 1px solid rgba(252, 246, 186, 0.08);
  }
  .hs-jc-curtain.right {
      right: 0;
      transform-origin: top right;
      border-left: 1px solid rgba(252, 246, 186, 0.08);
  }

  /* Mép cắt ánh vàng nóng chảy dọc 2 cánh màn (gradient tĩnh — không dùng blur) */
  .hs-jc-seam {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 28px;
      opacity: 0;
      pointer-events: none;
      will-change: opacity;
  }
  .hs-jc-curtain.left .hs-jc-seam {
      right: -1px;
      background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.25) 68%, rgba(252, 246, 186, 0.92) 95%, #ffffff 100%);
  }
  .hs-jc-curtain.right .hs-jc-seam {
      left: -1px;
      background: linear-gradient(270deg, transparent 0%, rgba(212, 175, 55, 0.25) 68%, rgba(252, 246, 186, 0.92) 95%, #ffffff 100%);
  }

  .hs-jc-overlay.active .hs-jc-curtain.left {
      animation: hsJcSplitLeft 0.98s cubic-bezier(0.32, 0.02, 0.14, 1) 0.34s forwards;
  }
  .hs-jc-overlay.active .hs-jc-curtain.right {
      animation: hsJcSplitRight 0.98s cubic-bezier(0.32, 0.02, 0.14, 1) 0.34s forwards;
  }
  .hs-jc-overlay.active .hs-jc-seam {
      animation: hsJcSeamGlow 1.05s ease-out 0.28s forwards;
  }

  /* Nhịp 1: Điểm tụ năng lượng rơi từ tâm xuống đường băng đáy */
  .hs-jc-ignite-orb {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 56px;
      height: 56px;
      margin-left: -28px;
      margin-top: -28px;
      border-radius: 50%;
      background: radial-gradient(circle, #ffffff 0%, #fcf6ba 28%, rgba(212, 175, 55, 0.65) 56%, transparent 74%);
      opacity: 0;
      will-change: transform, opacity;
      pointer-events: none;
  }
  .hs-jc-overlay.active .hs-jc-ignite-orb {
      animation: hsJcIgniteDrop 0.28s cubic-bezier(0.55, 0.02, 0.35, 1) 0s forwards;
  }

  .hs-jc-horizon-flash {
      position: absolute;
      left: 50%;
      bottom: 10px;
      width: 82vw;
      max-width: 520px;
      height: 4px;
      margin-left: calc(min(82vw, 520px) / -2);
      background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.65) 28%, #ffffff 50%, rgba(212, 175, 55, 0.65) 72%, transparent 100%);
      opacity: 0;
      transform: scale3d(0.05, 1, 1);
      will-change: transform, opacity;
      pointer-events: none;
  }
  .hs-jc-overlay.active .hs-jc-horizon-flash {
      animation: hsJcHorizonPulse 0.36s ease-out 0.16s forwards;
  }

  /* Nhịp 2: Cột ánh sáng vàng 3 tầng & 2 sợi chỉ chóp cánh (kéo giãn bằng scaleY trên GPU) */
  .hs-jc-beam-wrap {
      position: absolute;
      inset: 0;
      pointer-events: none;
      transform: translate3d(0, 0, 0);
  }
  .hs-jc-beam-glow,
  .hs-jc-beam-silk,
  .hs-jc-beam-core,
  .hs-jc-contrail {
      position: absolute;
      bottom: 0;
      left: 50%;
      height: 112vh;
      transform-origin: bottom center;
      transform: translate3d(-50%, 0, 0) scale3d(1, 0, 1);
      opacity: 0;
      will-change: transform, opacity;
      pointer-events: none;
  }
  .hs-jc-beam-glow {
      width: 130px;
      background: linear-gradient(90deg, transparent 0%, rgba(191, 149, 63, 0.12) 22%, rgba(252, 246, 186, 0.32) 50%, rgba(191, 149, 63, 0.12) 78%, transparent 100%);
  }
  .hs-jc-beam-silk {
      width: 24px;
      background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.55) 26%, rgba(252, 246, 186, 0.95) 50%, rgba(212, 175, 55, 0.55) 74%, transparent 100%);
  }
  .hs-jc-beam-core {
      width: 3px;
      background: linear-gradient(180deg, #ffffff 0%, #fcf6ba 65%, rgba(255, 255, 255, 0.2) 100%);
  }
  .hs-jc-contrail {
      width: 2px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(252, 246, 186, 0.45) 45%, transparent 100%);
  }
  .hs-jc-contrail.w-left {
      margin-left: -38px;
  }
  .hs-jc-contrail.w-right {
      margin-left: 38px;
  }

  .hs-jc-overlay.active .hs-jc-beam-glow {
      animation: hsJcBeamRise 1.32s cubic-bezier(0.28, 0.04, 0.18, 1) 0.21s forwards;
  }
  .hs-jc-overlay.active .hs-jc-beam-silk {
      animation: hsJcBeamRise 1.28s cubic-bezier(0.28, 0.04, 0.18, 1) 0.20s forwards;
  }
  .hs-jc-overlay.active .hs-jc-beam-core {
      animation: hsJcCoreRise 1.24s cubic-bezier(0.28, 0.04, 0.18, 1) 0.19s forwards;
  }
  .hs-jc-overlay.active .hs-jc-contrail {
      animation: hsJcContrailRise 0.95s cubic-bezier(0.28, 0.04, 0.18, 1) 0.25s forwards;
  }

  /* Khối Chuyên Cơ Vàng Kim Nhìn Từ Trên Xuống + Vòng Sóng Siêu Thanh */
  .hs-jc-jet-stage {
      position: absolute;
      left: 50%;
      top: 0;
      width: 96px;
      height: 124px;
      margin-left: -48px;
      transform: translate3d(0, 114vh, 0) scale3d(0.82, 0.82, 1);
      opacity: 0;
      will-change: transform, opacity;
      pointer-events: none;
      z-index: 5;
  }
  .hs-jc-overlay.active .hs-jc-jet-stage {
      animation: hsJcJetAscend 0.78s cubic-bezier(0.32, 0.04, 0.18, 1) 0.19s forwards;
  }

  .hs-jc-jet-halo {
      position: absolute;
      left: 50%;
      top: 52%;
      width: 190px;
      height: 210px;
      margin-left: -95px;
      margin-top: -105px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(252, 246, 186, 0.32) 0%, rgba(212, 175, 55, 0.14) 36%, transparent 70%);
      pointer-events: none;
  }
  .hs-jc-jet-svg {
      position: relative;
      z-index: 2;
      width: 100%;
      height: 100%;
      display: block;
  }
  .hs-jc-mach-arc {
      position: absolute;
      left: 50%;
      top: -14px;
      width: 146px;
      height: 110px;
      margin-left: -73px;
      opacity: 0;
      transform: scale3d(0.75, 0.75, 1);
      will-change: transform, opacity;
      pointer-events: none;
      z-index: 3;
  }
  .hs-jc-overlay.active .hs-jc-mach-arc {
      animation: hsJcMachFlare 0.56s ease-out 0.32s forwards;
  }

  /* 16 hạt bụi vàng hình thoi tái sử dụng (Object Pooling) */
  .hs-jc-spark-layer {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 6;
      contain: layout style paint;
  }
  .hs-jc-spark {
      position: absolute;
      left: 50%;
      top: 0;
      width: 7px;
      height: 7px;
      margin-left: -3.5px;
      opacity: 0;
      background: radial-gradient(circle, #ffffff 15%, #fcf6ba 52%, rgba(212, 175, 55, 0) 100%);
      will-change: transform, opacity;
      pointer-events: none;
  }

  /* Nhịp 4: Trang Cảm Ơn nổi chiều sâu & vệt sáng vàng quét ngang mặt Thẻ Hẹn */
  #thankyou-view.hs-jc-reveal-prep .thankyou-container {
      opacity: 0.25;
      transform: translate3d(0, 18px, 0) scale3d(0.93, 0.93, 1);
      will-change: transform, opacity;
  }
  #thankyou-view.hs-jc-reveal-in .thankyou-container {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
      transition: transform 0.68s cubic-bezier(0.18, 0.96, 0.32, 1), opacity 0.55s ease;
  }
  .vip-wallet-pass.hs-jc-pass-sheen::after {
      content: "";
      position: absolute;
      top: -20%;
      bottom: -20%;
      left: -75%;
      width: 55%;
      background: linear-gradient(108deg, transparent 0%, rgba(252, 246, 186, 0.08) 32%, rgba(255, 255, 255, 0.42) 50%, rgba(212, 175, 55, 0.14) 68%, transparent 100%);
      transform: translate3d(0, 0, 0) skewX(-18deg);
      pointer-events: none;
      will-change: transform, opacity;
      animation: hsJcPassSweep 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
  }

  /* KEYFRAMES THUẦN GPU (CHỈ TRANSFORM & OPACITY) */
  @keyframes hsJcIgniteDrop {
      0% { opacity: 0.95; transform: translate3d(0, 0, 0) scale3d(1, 1, 1); }
      55% { opacity: 1; transform: translate3d(0, 44vh, 0) scale3d(0.45, 0.45, 1); }
      100% { opacity: 0; transform: translate3d(0, 48vh, 0) scale3d(1.6, 0.2, 1); }
  }
  @keyframes hsJcHorizonPulse {
      0% { opacity: 0; transform: scale3d(0.05, 1, 1); }
      35% { opacity: 1; transform: scale3d(1, 1.5, 1); }
      100% { opacity: 0; transform: scale3d(1.25, 0.3, 1); }
  }
 /* Tinh chỉnh nhịp bay Slow-Mo Cruise (~2.35s — giữ 100% GPU) */
  .hs-jc-overlay.active .hs-jc-jet-stage {
      animation: hsJcJetAscend 1.50s linear 0.20s forwards;
  }
  .hs-jc-overlay.active .hs-jc-mach-arc {
      animation: hsJcMachFlare 1.05s ease-out 0.45s forwards;
  }
  .hs-jc-overlay.active .hs-jc-beam-glow {
      animation: hsJcBeamRise 1.98s linear 0.22s forwards;
  }
  .hs-jc-overlay.active .hs-jc-beam-silk {
      animation: hsJcBeamRise 1.94s linear 0.21s forwards;
  }
  .hs-jc-overlay.active .hs-jc-beam-core {
      animation: hsJcCoreRise 1.90s linear 0.20s forwards;
  }
  .hs-jc-overlay.active .hs-jc-contrail {
      animation: hsJcContrailRise 1.58s linear 0.26s forwards;
  }
  .hs-jc-overlay.active .hs-jc-curtain.left {
      animation: hsJcSplitLeft 1.28s cubic-bezier(0.32, 0.02, 0.16, 1) 0.62s forwards;
  }
  .hs-jc-overlay.active .hs-jc-curtain.right {
      animation: hsJcSplitRight 1.28s cubic-bezier(0.32, 0.02, 0.16, 1) 0.62s forwards;
  }
  .hs-jc-overlay.active .hs-jc-seam {
      animation: hsJcSeamGlow 1.45s ease-out 0.45s forwards;
  }

  @keyframes hsJcJetAscend {
      0% {
          opacity: 0;
          transform: translate3d(0, 112vh, 0) scale3d(0.84, 0.84, 1);
          animation-timing-function: cubic-bezier(0.16, 0.88, 0.32, 1);
      }
      10% { opacity: 1; }
      26% {
          opacity: 1;
          transform: translate3d(0, 50vh, 0) scale3d(1.10, 1.10, 1);
          animation-timing-function: cubic-bezier(0.35, 0.12, 0.35, 0.88);
      }
      60% {
          opacity: 1;
          transform: translate3d(0, 32vh, 0) scale3d(1.16, 1.16, 1);
          animation-timing-function: cubic-bezier(0.55, 0.05, 0.85, 0.25);
      }
      88% {
          opacity: 1;
          transform: translate3d(0, -18vh, 0) scale3d(0.98, 1.04, 1);
      }
      100% {
          opacity: 0;
          transform: translate3d(0, -36vh, 0) scale3d(0.90, 1.08, 1);
      }
  }
  @keyframes hsJcMachFlare {
      0% { opacity: 0; transform: scale3d(0.74, 0.74, 1); }
      30% { opacity: 0.62; transform: scale3d(0.98, 0.98, 1); }
      62% { opacity: 0.95; transform: scale3d(1.08, 1.05, 1); }
      100% { opacity: 0; transform: scale3d(1.28, 1.16, 1); }
  }
  @keyframes hsJcBeamRise {
      0% { opacity: 0; transform: translate3d(-50%, 0, 0) scale3d(0.7, 0.02, 1); }
      8% { opacity: 0.95; }
      20% { opacity: 1; transform: translate3d(-50%, 0, 0) scale3d(1.04, 0.38, 1); }
      46% { opacity: 1; transform: translate3d(-50%, 0, 0) scale3d(1.12, 0.58, 1); }
      68% { opacity: 1; transform: translate3d(-50%, 0, 0) scale3d(1.06, 1, 1); }
      82% { opacity: 0.72; transform: translate3d(-50%, 0, 0) scale3d(0.42, 1, 1); }
      100% { opacity: 0; transform: translate3d(-50%, 0, 0) scale3d(0.05, 1, 1); }
  }
  @keyframes hsJcCoreRise {
      0% { opacity: 0; transform: translate3d(-50%, 0, 0) scale3d(1, 0.02, 1); }
      8% { opacity: 1; }
      20% { opacity: 1; transform: translate3d(-50%, 0, 0) scale3d(1.2, 0.38, 1); }
      46% { opacity: 1; transform: translate3d(-50%, 0, 0) scale3d(1.4, 0.58, 1); }
      68% { opacity: 1; transform: translate3d(-50%, 0, 0) scale3d(1.2, 1, 1); }
      82% { opacity: 0.6; transform: translate3d(-50%, 0, 0) scale3d(0.45, 1, 1); }
      100% { opacity: 0; transform: translate3d(-50%, 0, 0) scale3d(0.08, 1, 1); }
  }
  @keyframes hsJcContrailRise {
      0% { opacity: 0; transform: translate3d(-50%, 0, 0) scale3d(1, 0.02, 1); }
      14% { opacity: 0.75; }
      24% { opacity: 0.75; transform: translate3d(-50%, 0, 0) scale3d(1, 0.36, 1); }
      54% { opacity: 0.7; transform: translate3d(-50%, 0, 0) scale3d(1, 0.55, 1); }
      80% { opacity: 0.45; transform: translate3d(-50%, 0, 0) scale3d(0.9, 1, 1); }
      100% { opacity: 0; transform: translate3d(-50%, 0, 0) scale3d(0.35, 1, 1); }
  }
  @keyframes hsJcSplitLeft {
      0% { transform: translate3d(0, 0, 0) rotateZ(0deg); opacity: 1; }
      32% { transform: translate3d(-14%, 0, 0) rotateZ(2.4deg); opacity: 1; }
      82% { transform: translate3d(-96%, 0, 0) rotateZ(3.2deg); opacity: 0.92; }
      100% { transform: translate3d(-112%, 0, 0) rotateZ(3.2deg); opacity: 0; }
  }
  @keyframes hsJcSplitRight {
      0% { transform: translate3d(0, 0, 0) rotateZ(0deg); opacity: 1; }
      32% { transform: translate3d(14%, 0, 0) rotateZ(-2.4deg); opacity: 1; }
      82% { transform: translate3d(96%, 0, 0) rotateZ(-3.2deg); opacity: 0.92; }
      100% { transform: translate3d(112%, 0, 0) rotateZ(-3.2deg); opacity: 0; }
  }
  @keyframes hsJcSeamGlow {
      0% { opacity: 0; }
      18% { opacity: 1; }
      75% { opacity: 0.85; }
      100% { opacity: 0; }
  }
  @keyframes hsJcPassSweep {
      0% { opacity: 0; transform: translate3d(0, 0, 0) skewX(-18deg); }
      20% { opacity: 1; }
      100% { opacity: 0; transform: translate3d(380%, 0, 0) skewX(-18deg); }
  }

  @media (prefers-reduced-motion: reduce) {
      .hs-jc-overlay.active {
          display: none !important;
      }
  }

/* ============================================================================
     HISTORY STUDIO SMART SCHEDULE V3.1 (THUẦN XEM LỊCH · ĐỦ THỨ/NGÀY/THÁNG/NĂM)
     ============================================================================ */
  .hs-desk-cal-sheet {
      max-width: 560px !important;
      max-height: 86vh !important;
      overflow-y: auto !important;
      padding: 28px 22px 24px !important;
      text-align: left !important;
  }
  .hs-desk-cal-sheet .close-cal {
      top: 16px !important;
      right: 18px !important;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 20px !important;
      line-height: 1;
      z-index: 10;
  }

  .hs-v3-header {
      text-align: center;
      margin-bottom: 14px;
      padding-top: 2px;
  }
  .hs-v3-title {
      font-family: 'Pinyon Script', cursive;
      font-size: 2.55em;
      line-height: 1.08;
      font-weight: 400;
      background: var(--luxury-gold-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 6px;
  }
  .hs-v3-meta-bar {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 6px 10px;
      padding: 6px 13px;
      border-radius: 999px;
      background: rgba(18, 16, 12, 0.72);
      border: 1px solid rgba(212, 175, 55, 0.28);
      font-size: 11px;
      color: #d6d3d1;
  }
  .hs-v3-meta-live {
      color: #64FFDA;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 5px;
  }
  .hs-v3-meta-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #34d399;
      box-shadow: 0 0 8px #34d399;
      display: inline-block;
  }

  .hs-v3-filter-bar {
      display: flex;
      align-items: center;
      gap: 7px;
      overflow-x: auto;
      padding: 2px 0 12px;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
  }
  .hs-v3-filter-bar::-webkit-scrollbar { display: none; }
  .hs-v3-pill {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 8px 13px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #cbd5e1;
      font-family: var(--font-body);
      font-size: 11.8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.18s ease;
  }
  .hs-v3-pill.active {
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.28), rgba(179, 135, 40, 0.12));
      border-color: #FFD700;
      color: #FCF6BA;
      font-weight: 800;
      box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
  }
  .hs-v3-pill.pick-date {
      position: relative;
      overflow: hidden;
      background: rgba(100, 255, 218, 0.09);
      border-color: rgba(100, 255, 218, 0.38);
      color: #64FFDA;
      margin-left: auto;
  }
  .hs-v3-native-date {
      position: absolute;
      inset: 0;
      opacity: 0;
      width: 100%;
      height: 100%;
      cursor: pointer;
  }

  .hs-v3-inspect-banner {
      margin-bottom: 12px;
      padding: 13px 14px;
      border-radius: 16px;
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(52, 211, 153, 0.48);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
  }
  .hs-v3-inspect-banner.is-busy {
      background: rgba(212, 175, 55, 0.11);
      border-color: rgba(252, 246, 186, 0.5);
  }
  .hs-v3-inspect-txt {
      font-size: 12.8px;
      color: #ecfdf5;
      line-height: 1.48;
      flex: 1;
  }
  .hs-v3-clear-btn {
      width: 30px;
      height: 30px;
      flex-shrink: 0;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(0, 0, 0, 0.38);
      color: #cbd5e1;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
  }

  .hs-v3-list-hint {
      font-size: 11.8px;
      color: #a8a29e;
      text-align: center;
      margin: 0 0 11px;
      line-height: 1.5;
  }
  .hs-v3-list-hint b { color: #FCF6BA; }

  .hs-v3-cards-wrap {
      display: flex;
      flex-direction: column;
      gap: 12px;
  }
  .hs-v3-card {
      background: rgba(15, 14, 11, 0.8);
      background-image: linear-gradient(165deg, rgba(252, 246, 186, 0.07) 0%, rgba(212, 175, 55, 0.02) 32%, rgba(8, 9, 13, 0.86) 100%);
      border: 1px solid rgba(212, 175, 55, 0.32);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: inset 0 1px 0 rgba(255, 248, 224, 0.16), 0 14px 32px rgba(0, 0, 0, 0.62);
  }
  .hs-v3-card.is-today {
      border-color: rgba(52, 211, 153, 0.58);
      box-shadow: inset 0 1px 0 rgba(167, 243, 208, 0.25), 0 14px 32px rgba(0, 0, 0, 0.65);
  }
  .hs-v3-card.is-highlight {
      border-color: #FFD700;
      box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.22), 0 16px 36px rgba(0, 0, 0, 0.75);
  }

  .hs-v3-card-top {
      display: grid;
      grid-template-columns: 98px 1fr;
  }
  .hs-v3-date-col {
      background: rgba(212, 175, 55, 0.1);
      border-right: 1px solid rgba(212, 175, 55, 0.22);
      padding: 13px 7px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 2px;
  }
  .hs-v3-card.is-today .hs-v3-date-col {
      background: rgba(16, 185, 129, 0.16);
      border-right-color: rgba(52, 211, 153, 0.36);
  }
  .hs-v3-wk {
      font-size: 10.5px;
      font-weight: 800;
      letter-spacing: 0.6px;
      text-transform: uppercase;
      color: #E8D48B;
      line-height: 1.2;
  }
  .hs-v3-card.is-today .hs-v3-wk { color: #6ee7b7; }
  .hs-v3-dd {
      font-size: 29px;
      font-weight: 800;
      line-height: 1.04;
      color: #ffffff;
      margin: 2px 0 1px;
      font-variant-numeric: tabular-nums;
  }
  .hs-v3-month {
      font-size: 12.8px;
      font-weight: 800;
      color: #FCF6BA;
      letter-spacing: 0.3px;
      text-transform: uppercase;
      line-height: 1.25;
      white-space: nowrap;
  }
  .hs-v3-card.is-today .hs-v3-month { color: #a7f3d0; }
  .hs-v3-year {
      font-size: 12.8px;
      font-weight: 800;
      color: #ffffff;
      letter-spacing: 0.8px;
      font-variant-numeric: tabular-nums;
      padding: 2px 10px;
      margin-top: 2px;
      border-radius: 99px;
      background: rgba(0, 0, 0, 0.42);
      border: 1px solid rgba(255, 255, 255, 0.16);
      line-height: 1.25;
  }
  .hs-v3-cnt-tag {
      margin-top: 5px;
      font-size: 9.8px;
      font-weight: 700;
      color: #cbd5e1;
      opacity: 0.85;
  }

  .hs-v3-slots-col {
      padding: 12px 13px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 9px;
  }
  .hs-v3-slot-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding-bottom: 8px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .hs-v3-slot-row:last-child {
      padding-bottom: 0;
      border-bottom: none;
  }
  .hs-v3-slot-left {
      display: flex;
      align-items: center;
      gap: 9px;
      min-width: 0;
  }
  .hs-v3-avatar {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      flex-shrink: 0;
      background: linear-gradient(145deg, rgba(212, 175, 55, 0.28), rgba(212, 175, 55, 0.05));
      border: 1px solid rgba(252, 246, 186, 0.55);
      color: #FCF6BA;
      font-size: 11.5px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  }
  .hs-v3-avatar.carry {
      background: rgba(148, 163, 184, 0.16);
      border-color: rgba(148, 163, 184, 0.4);
      color: #cbd5e1;
  }
  .hs-v3-slot-info {
      display: flex;
      flex-direction: column;
      min-width: 0;
  }
  .hs-v3-time-range {
      font-size: 13.8px;
      font-weight: 800;
      color: #fff;
      letter-spacing: 0.2px;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
  }
  .hs-v3-time-range .arr {
      color: #FFD700;
      font-weight: 600;
      margin: 0 3px;
  }
  .hs-v3-slot-sub {
      font-size: 10.8px;
      color: #a8a29e;
      margin-top: 1px;
  }
  .hs-v3-busy-badge {
      font-size: 10px;
      font-weight: 800;
      padding: 3px 8px;
      border-radius: 99px;
      background: rgba(251, 113, 133, 0.14);
      border: 1px solid rgba(251, 113, 133, 0.36);
      color: #fda4af;
      white-space: nowrap;
      flex-shrink: 0;
  }

  .hs-v3-card-foot {
      padding: 9px 13px;
      background: rgba(7, 9, 13, 0.72);
      border-top: 1px solid rgba(255, 255, 255, 0.065);
  }
  .hs-v3-free-txt {
      font-size: 12px;
      color: #cbd5e1;
      line-height: 1.45;
  }
  .hs-v3-free-txt b {
      color: #64FFDA;
      font-weight: 700;
  }
  .hs-v3-free-txt.full-day {
      color: #fda4af;
  }

  .hs-pay-sync-box {
      margin: -6px 0 18px 0;
      padding: 11px 13px;
      border-radius: 15px;
      font-size: 12.2px;
      line-height: 1.5;
      display: none;
      flex-direction: column;
      gap: 7px;
  }
  .hs-pay-sync-box.show { display: flex; }
  .hs-pay-sync-box.info {
      background: rgba(212, 175, 55, 0.08);
      border: 1px solid rgba(212, 175, 55, 0.32);
      color: #f5ecd7;
  }
  .hs-pay-sync-box.ok {
      background: rgba(16, 185, 129, 0.11);
      border: 1px solid rgba(52, 211, 153, 0.42);
      color: #d1fae5;
  }
  .hs-pay-sync-box.conflict {
      background: rgba(251, 113, 133, 0.12);
      border: 1px solid rgba(251, 113, 133, 0.48);
      color: #ffe4e6;
  }
  .hs-v3-sug-row {
      display: flex;
      align-items: center;
      gap: 7px;
      flex-wrap: wrap;
  }
  .hs-v3-sug-lbl { font-size: 11.5px; color: #fde68a; font-weight: 600; }
  .hs-v3-sug-chip {
      background: rgba(100, 255, 218, 0.14);
      border: 1px solid rgba(100, 255, 218, 0.5);
      color: #64FFDA;
      padding: 5px 11px;
      border-radius: 999px;
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
  }
  .hs-v3-sug-chip:active { transform: scale(0.94); background: #64FFDA; color: #052e16; }
  #paymentForm .btn-submit:disabled {
      opacity: 0.45 !important;
      cursor: not-allowed !important;
      filter: grayscale(0.35);
      transform: none !important;
  }
  @media (max-width: 390px) {
      .hs-v3-card-top { grid-template-columns: 88px 1fr; }
      .hs-v3-dd { font-size: 25px; }
      .hs-v3-month, .hs-v3-year { font-size: 11.5px; }
      .hs-v3-slots-col { padding: 10px 10px; }
      .hs-v3-time-range { font-size: 12.8px; }
  }