    :root {
      --bg-main: #FAFBFF;
      --bg-section: #FFFFFF;
      --bg-nebula: #F4F7FF;
      --bg-nebula-pink: #F8F5FF;
      --text-primary: #1F2433;
      --text-secondary: #667085;
      --text-helper: #98A2B3;
      --accent-nebula: #8B7CFF;
      --accent-galaxy-blue: #5BA8FF;
      --accent-soft-purple: #C88BFF;
      --accent-highlight: #F7FAFF;
      --page-max: 1180px;
      --brand-grad: linear-gradient(135deg, #8B7CFF 0%, #5BA8FF 100%);
      --soft-card: rgba(255, 255, 255, 0.9);
      --soft-border: rgba(139, 124, 255, 0.18);
      --shadow-lg: 0 12px 36px rgba(31, 36, 51, 0.08);
      --text-main: #2b355d;
      --text-sub: #667085;
      --text-faint: #98A2B3;
    }
    body {
      background:
        radial-gradient(circle at 15% 12%, rgba(139, 124, 255, 0.14), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(91, 168, 255, 0.12), transparent 30%),
        radial-gradient(circle at 50% 85%, rgba(200, 139, 255, 0.1), transparent 34%),
        linear-gradient(180deg, #FFFFFF 0%, #FAFBFF 48%, #F4F7FF 100%);
      color: var(--text-primary);
      font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
      transition: background-color 0.2s ease;
      background-attachment: fixed;
      min-height: 100vh;
      padding-top: 72px;
    }
    .view-section { display: none; padding-bottom: 150px !important; animation: fadeInUp 0.3s ease; width: min(var(--page-max), calc(100% - 32px)); margin: 0 auto; }
    .view-active { display: block; }
    .activity-grid-item { width: 100%; }
    #activityList { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); gap: 14px; justify-content: center; }
    .activity-card { border: none; border-radius: 22px; overflow: hidden; transition: 0.25s; cursor: pointer; background: var(--soft-card); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(31, 36, 51, 0.06); position: relative; border: 1px solid rgba(139, 124, 255, 0.12); height: 100%; }
    .activity-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(31, 36, 51, 0.1), 0 0 16px rgba(139, 124, 255, 0.1); border-color: rgba(139, 124, 255, 0.2); }
    .activity-img-container { width: 100%; aspect-ratio: 16 / 10; background: linear-gradient(145deg, #F7FAFF, #EEF4FF); display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .activity-img { width: 82%; height: 88%; object-fit: contain; padding: 0; }
    .badge-type { position: absolute; top: 10px; right: 10px; border-radius: 50px; font-size: 0.7rem; padding: 4px 10px; z-index: 10; }
    .activity-type-badge {
      background: linear-gradient(135deg, rgba(139, 124, 255, 0.9), rgba(91, 168, 255, 0.9));
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.45);
    }
    .activity-cta {
      margin-top: 10px;
      width: 100%;
      border-radius: 999px;
      min-height: 40px;
      font-size: 0.82rem;
      font-weight: 700;
    }
    .product-card { background: rgba(255, 255, 255, 0.9); border-radius: 22px; margin-bottom: 15px; padding: 14px; border: 1px solid rgba(139, 124, 255, 0.18); box-shadow: 0 12px 36px rgba(31, 36, 51, 0.08); transition: 0.25s; backdrop-filter: blur(6px); position: relative; overflow: hidden; }
    .product-card:hover { transform: translateY(-3px); border-color: rgba(139, 124, 255, 0.28); box-shadow: 0 16px 40px rgba(31, 36, 51, 0.11), 0 0 24px rgba(139, 124, 255, 0.12); }
    .product-grid { display: grid; grid-template-columns: 108px 1fr auto; grid-template-areas: "img info qty" "spec spec spec"; align-items: center; gap: 14px; }
    .grid-img { grid-area: img; }
    .grid-info { grid-area: info; overflow: hidden; }
    .grid-qty { grid-area: qty; display: flex; align-items: center; justify-content: flex-end; }
    .grid-spec { grid-area: spec; width: 100%; margin-top: 5px; }
    .option-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      margin-top: 10px;
    }
    .product-card-main {
      display: grid;
      grid-template-columns: 108px minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
    }
    .product-main-thumb {
      width: 108px;
      height: 108px;
      border-radius: 14px;
      border: 1px solid rgba(139, 124, 255, 0.12);
      background: linear-gradient(145deg, #F7FAFF, #EEF4FF);
      object-fit: contain;
      padding: 6px;
    }
    .group-meta-line {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 6px;
    }
    .group-count-chip {
      font-size: 0.72rem;
      border-radius: 999px;
      padding: 4px 8px;
      border: 1px solid rgba(139, 124, 255, 0.14);
      background: rgba(255, 255, 255, 0.82);
      color: #4C4FA8;
    }
    .picker-toggle-btn {
      min-width: 150px;
      min-height: 40px;
      border-radius: 999px;
      padding: 8px 14px;
      font-weight: 700;
    }
    .variant-picker-wrap {
      margin-top: 10px;
      border-top: 1px dashed rgba(139, 124, 255, 0.2);
      padding-top: 10px;
    }
    .picker-footer {
      margin-top: 10px;
      display: flex;
      justify-content: flex-end;
    }
    .group-inline-actions {
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      flex-wrap: wrap;
    }
    .option-item {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr) auto auto;
      gap: 10px;
      align-items: center;
      background: rgba(255, 255, 255, 0.94);
      border: 1px solid rgba(139, 124, 255, 0.12);
      border-radius: 14px;
      padding: 9px 10px;
      box-shadow: 0 6px 16px rgba(31, 36, 51, 0.05);
    }
    .option-item.no-thumb {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
    }
    .option-thumb {
      width: 96px;
      height: 96px;
      border-radius: 12px;
      border: 1px solid rgba(139, 124, 255, 0.12);
      background: linear-gradient(145deg, #F7FAFF, #EEF4FF);
      object-fit: contain;
      padding: 5px;
    }
    .option-qty-controls {
      display: flex;
      align-items: center;
      gap: 6px;
      justify-content: flex-end;
      white-space: nowrap;
    }
    .option-cta-wrap {
      display: flex;
      align-items: center;
    }
    .option-add-btn {
      min-height: 42px;
      min-width: 120px;
      padding: 8px 14px;
      border-radius: 12px;
      font-weight: 700;
    }
    .product-img-container { width: 108px; height: 108px; background: linear-gradient(145deg, #F7FAFF, #EEF4FF); border-radius: 16px; border: 1px solid rgba(139, 124, 255, 0.16); display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .product-img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
    .cart-footer { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); padding: 18px; box-shadow: 0 -8px 24px rgba(31, 36, 51, 0.12); z-index: 1050; border-top-left-radius: 20px; border-top-right-radius: 20px; border-top: 1px solid rgba(139, 124, 255, 0.18); }
    .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; flex-direction: column; pointer-events: none; }
    .loading-overlay .spinner-border { display: none; }
    .loading-overlay .fw-bold { font-size: 0.68rem; letter-spacing: 0.08em; color: rgba(141, 152, 184, 0.55); margin: 0 auto 12px; font-weight: 500 !important; }
    .intro-overlay {
      position: fixed;
      inset: 0;
      z-index: 10000;
      display: none;
      opacity: 1;
      align-items: center;
      justify-content: center;
      background:
        radial-gradient(circle at 18% 22%, rgba(124, 92, 255, 0.16) 0%, rgba(124, 92, 255, 0) 48%),
        radial-gradient(circle at 78% 30%, rgba(91, 168, 255, 0.14) 0%, rgba(91, 168, 255, 0) 52%),
        radial-gradient(circle at 50% 80%, rgba(200, 139, 255, 0.1) 0%, rgba(200, 139, 255, 0) 55%),
        linear-gradient(145deg, #050816 0%, #0b1026 38%, #131a3a 70%, #1b224a 100%);
      overflow: hidden;
      pointer-events: auto;
    }
    .intro-overlay.show { display: flex; }
    .intro-overlay.fade-out { transition: opacity 0.38s ease; opacity: 0; }
    .intro-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      opacity: 0;
      transition: opacity 0.25s ease;
    }
    .intro-overlay.playing .intro-canvas { opacity: 1; }
    .intro-copy {
      position: relative;
      text-align: center;
      z-index: 2;
      pointer-events: none;
      padding: 0 18px;
    }
    .intro-copy::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: min(56vw, 420px);
      height: min(56vw, 420px);
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: radial-gradient(circle, rgba(121, 224, 255, 0.12) 0%, rgba(124, 92, 255, 0.08) 45%, rgba(124, 92, 255, 0) 75%);
      filter: blur(14px);
      z-index: -1;
      opacity: 0.58;
    }
    .intro-logo-main {
      font-size: clamp(2.1rem, 8.4vw, 3.8rem);
      line-height: 1.05;
      letter-spacing: 0.22em;
      font-weight: 700;
      font-family: "Cormorant Garamond", "DM Serif Display", "Noto Serif TC", serif;
      color: #f7faff;
      opacity: 0;
      filter: blur(16px);
      transform: translateY(4px) scale(0.985);
      transition: opacity 0.62s ease, filter 0.62s ease, transform 0.62s ease, letter-spacing 0.62s ease;
      transition-delay: 0.6s;
      text-shadow: 0 0 16px rgba(123, 165, 255, 0.16), 0 0 30px rgba(124, 92, 255, 0.12);
    }
    .intro-logo-sub {
      margin-top: 8px;
      font-size: clamp(1rem, 3.5vw, 1.28rem);
      letter-spacing: 0.06em;
      font-weight: 500;
      font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
      color: #aeb8d3;
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.36s ease, transform 0.36s ease;
      transition-delay: 1s;
    }
    .intro-logo-tagline {
      margin-top: 8px;
      font-size: clamp(0.7rem, 2.3vw, 0.9rem);
      letter-spacing: 0.08em;
      font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
      color: #8d98b8;
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.36s ease, transform 0.36s ease;
      transition-delay: 1.08s;
    }
    .intro-overlay.playing .intro-logo-main {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0) scale(1);
      letter-spacing: 0.12em;
    }
    .intro-overlay.playing .intro-logo-sub,
    .intro-overlay.playing .intro-logo-tagline {
      opacity: 1;
      transform: translateY(0);
    }
    .intro-overlay.breath .intro-logo-main {
      animation: introBreath 0.36s ease-in-out 1;
    }
    .intro-overlay.ending .intro-copy::before { opacity: 0.18; transition: opacity 0.35s ease; }
    .intro-overlay.ending .intro-logo-sub,
    .intro-overlay.ending .intro-logo-tagline { opacity: 0; transition: opacity 0.26s ease; }
    .intro-overlay.ending .intro-logo-main { opacity: 0.85; transition: opacity 0.34s ease; }
    .intro-overlay.reduced .intro-canvas,
    .intro-overlay.fallback .intro-canvas { opacity: 0; }
    .intro-overlay.reduced .intro-logo-main,
    .intro-overlay.reduced .intro-logo-sub,
    .intro-overlay.reduced .intro-logo-tagline,
    .intro-overlay.fallback .intro-logo-main,
    .intro-overlay.fallback .intro-logo-sub,
    .intro-overlay.fallback .intro-logo-tagline {
      opacity: 1;
      filter: blur(0);
      transform: none;
      transition: none;
    }
    .btn-qty { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; padding: 0; }
    .gift-box { border-radius: 12px; padding: 10px; margin-bottom: 10px; border: 1px solid rgba(139, 124, 255, 0.14); transition: 0.3s; background: rgba(255, 255, 255, 0.88); }
    .carousel-container { background: #1a1a1a; overflow: hidden; border-radius: 15px 15px 0 0; }
    .carousel-item img { height: 400px; width: 100%; object-fit: contain; }
    .img-label { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.5); color: white; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; }
    .smaller { font-size: 0.85rem; }
    .member-badge { background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(241, 246, 255, 0.84)); border: 1px solid rgba(139, 124, 255, 0.12); border-radius: 999px; padding: 6px 12px; box-shadow: 0 6px 16px rgba(31, 36, 51, 0.05); display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
    .member-badge.compact { padding: 6px 12px; }
    .member-badge .meta-title { font-size: 0.72rem; color: #667085; margin-right: 2px; }
    .member-badge .meta-main { font-size: 0.82rem; font-weight: 700; color: #1F2433; line-height: 1.2; }
    .member-badge .meta-sub { font-size: 0.74rem; color: #667085; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .sticky-nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; padding: 10px 6px; pointer-events: none; }
    .sticky-nav { width: 100%; max-width: none; margin: 0; padding: 0; pointer-events: auto; }
    .sticky-nav .btn { border-radius: 999px; font-size: 0.82rem; }
    .sticky-nav .btn.active { background: var(--brand-grad); color: #fff; border-color: transparent; }
    .nav-line-btn {
      border: 1px solid rgba(139, 124, 255, 0.24);
      background: rgba(255, 255, 255, 0.96);
      color: #445070;
      border-radius: 999px;
      padding: 7px 12px;
      width: auto;
      height: auto;
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8rem;
      font-weight: 600;
      line-height: 1;
      white-space: nowrap;
    }
    .nav-line-btn:hover { background: #ffffff; color: #1f2433; }
    .nav-line-btn.compact {
      padding: 4px;
      width: 42px;
      height: 42px;
    }
    .nav-line-avatar {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      object-fit: cover;
      border: 1px solid rgba(139, 124, 255, 0.3);
      flex-shrink: 0;
    }
    .nav-line-avatar-fallback {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.72rem;
      color: #5a6691;
      background: rgba(220, 230, 255, 0.9);
    }
    .nav-menu-toggle {
      width: 42px;
      height: 42px;
      border-radius: 999px;
      border: 1px solid rgba(139, 124, 255, 0.24);
      background: rgba(255, 255, 255, 0.96);
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .nav-menu-toggle .bar {
      width: 16px;
      height: 2px;
      background: #475467;
      border-radius: 999px;
      display: block;
      margin: 2px 0;
      transition: transform 0.18s ease, opacity 0.18s ease;
    }
    .nav-menu-toggle.active .bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
    .nav-menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .nav-menu-toggle.active .bar:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
    .nav-menu-dropdown {
      border-radius: 14px;
      border: 1px solid rgba(139, 124, 255, 0.18);
      box-shadow: 0 12px 28px rgba(31, 36, 51, 0.12);
      background: rgba(255, 255, 255, 0.96);
      padding: 6px;
    }
    .nav-menu-dropdown .dropdown-item {
      border-radius: 10px;
      color: #475467;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 7px 10px;
      font-size: 0.86rem;
    }
    .nav-menu-dropdown .dropdown-item:hover {
      background: #f4f7ff;
      color: #1f2433;
    }
    .nav-menu-dropdown .dropdown-item.active {
      background: rgba(139, 124, 255, 0.14);
      color: #6254d9;
      font-weight: 600;
    }
    .cart-chip { min-width: 1.4rem; height: 1.4rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; background: #5ba8ff; color: #08122d; margin-left: 6px; }
    .skeleton-card { border-radius: 16px; background: rgba(38, 50, 102, 0.68); border: 1px solid rgba(184, 201, 245, 0.3); box-shadow: var(--shadow-lg); padding: 10px; }
    .skeleton { position: relative; overflow: hidden; background: rgba(90, 110, 168, 0.42); border-radius: 10px; }
    .skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent); animation: shimmer 1.2s infinite; }
    .skeleton-line { height: 12px; margin-bottom: 8px; }
    .skeleton-line.sm { width: 55%; }
    .skeleton-img-activity { aspect-ratio: 16/9; width: 100%; }
    .skeleton-img-product { width: 108px; height: 108px; }
    .history-legend { background: rgba(255, 255, 255, 0.86); border: 1px solid var(--soft-border); border-radius: 14px; padding: 10px; box-shadow: var(--shadow-lg); }
    .timeline { border-left: 2px solid #dfe7fb; margin-left: 7px; padding-left: 13px; }
    .timeline-row { position: relative; margin-bottom: 8px; }
    .timeline-row::before { content: ""; position: absolute; left: -18px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #4b9dff; }
    .status-pill { border-radius: 999px; padding: 2px 8px; font-size: 0.75rem; font-weight: 700; }
    .status-processing { background: rgba(141, 152, 184, 0.18); color: #4B5565; }
    .status-confirm { background: rgba(200, 139, 255, 0.16); color: #7C3AED; }
    .status-shipping { background: rgba(91, 168, 255, 0.16); color: #2563EB; }
    .status-arrived { background: rgba(121, 224, 255, 0.18); color: #2775C7; }
    .brand-title { font-family: "Cormorant Garamond", "DM Serif Display", "Noto Serif TC", serif; font-size: clamp(1.6rem, 4.5vw, 2.2rem); line-height: 1.15; font-weight: 700; letter-spacing: 0.06em; background: linear-gradient(120deg, #2d3d73 0%, #445b9a 46%, #5f75b6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .brand-home-link { cursor: pointer; user-select: none; }
    .btn { transition: transform 0.18s ease, box-shadow 0.18s ease; min-height: 44px; }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary { background: linear-gradient(135deg, #8B7CFF 0%, #5BA8FF 100%); border: none; color: #FFFFFF; box-shadow: 0 10px 28px rgba(91, 168, 255, 0.24); }
    .btn-primary:hover { box-shadow: 0 12px 30px rgba(91, 168, 255, 0.3); color: #FFFFFF; }
    .line-contact-fab {
      position: fixed;
      right: 16px;
      bottom: 18px;
      z-index: 1060;
      width: 54px;
      height: 54px;
      border-radius: 999px;
      background: #06c755;
      color: #fff;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.72rem;
      font-weight: 700;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
      border: 2px solid #fff;
    }
    .line-contact-fab:hover { color: #fff; text-decoration: none; transform: translateY(-1px); }
    .line-contact-fab.cart-up { bottom: 122px; }
    .site-footer-links { font-size: 0.8rem; color: var(--text-faint); }
    .site-footer-links a { color: var(--text-sub); text-decoration: none; }
    .site-footer-links a:hover { color: #f7faff; text-decoration: underline; }
    .text-muted { color: var(--text-secondary) !important; }
    .text-dark { color: var(--text-main) !important; }
    .bg-white { background-color: rgba(255, 255, 255, 0.9) !important; color: var(--text-main); border: 1px solid rgba(184, 201, 245, 0.32); }
    .form-control { background: rgba(255, 255, 255, 0.92); border-color: rgba(184, 201, 245, 0.38); color: #2b355d; }
    .form-control:focus { background: #ffffff; color: #2b355d; border-color: #5ba8ff; box-shadow: 0 0 0 0.18rem rgba(91, 168, 255, 0.2); }
    .btn-outline-primary { color: #475467; border-color: rgba(139, 124, 255, 0.26); background: rgba(255, 255, 255, 0.88); }
    .btn-outline-primary:hover { color: #08122d; background: #dce6ff; border-color: #dce6ff; }
    .btn-outline-secondary { color: #475467; border-color: rgba(139, 124, 255, 0.26); background: rgba(255, 255, 255, 0.88); }
    .btn-outline-secondary:hover { color: #08122d; background: #aeb8d3; border-color: #aeb8d3; }
    #shopView {
      position: relative;
      isolation: isolate;
      background:
        radial-gradient(circle at 12% 18%, rgba(139, 124, 255, 0.12), transparent 26%),
        radial-gradient(circle at 88% 22%, rgba(91, 168, 255, 0.1), transparent 28%),
        radial-gradient(circle at 52% 90%, rgba(200, 139, 255, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.82), rgba(250,251,255,0.9));
      border-radius: 24px;
      padding: 24px;
      width: min(1280px, calc(100% - 48px));
      margin: 0 auto;
    }
    #shopView::before,
    #shopView::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: -1;
    }
    #shopView::before {
      background:
        radial-gradient(circle at 20% 36%, rgba(139, 124, 255, 0.22) 0 1px, transparent 2px),
        radial-gradient(circle at 72% 28%, rgba(91, 168, 255, 0.24) 0 1px, transparent 2px),
        radial-gradient(circle at 64% 72%, rgba(200, 139, 255, 0.22) 0 1px, transparent 2px);
      opacity: 0.32;
      animation: shopStarsDrift 18s linear infinite;
    }
    #shopView::after {
      background:
        radial-gradient(circle at 22% 26%, rgba(139, 124, 255, 0.18), transparent 35%),
        radial-gradient(circle at 78% 74%, rgba(91, 168, 255, 0.14), transparent 32%);
      opacity: 0.24;
      filter: blur(10px);
    }
    #shopView .bg-white {
      background-color: rgba(255, 255, 255, 0.9) !important;
      border-color: rgba(139, 124, 255, 0.18);
      box-shadow: 0 12px 28px rgba(31, 36, 51, 0.07);
    }
    #shopView .product-card {
      background: rgba(255, 255, 255, 0.9);
      border-color: rgba(139, 124, 255, 0.18);
      box-shadow: 0 12px 36px rgba(31, 36, 51, 0.08);
    }
    #shopView .product-img-container {
      background: linear-gradient(145deg, #F7FAFF, #EEF4FF);
      border-color: rgba(139, 124, 255, 0.18);
    }
    #shopView .text-muted {
      color: #667085 !important;
    }
    #shopView .text-primary {
      color: #6254D9 !important;
    }
    #shopView .btn-outline-secondary {
      color: #475467;
      border-color: rgba(139, 124, 255, 0.26);
      background: rgba(255, 255, 255, 0.9);
    }
    #shopView .btn-outline-secondary:hover {
      color: #08122d;
      background: #dce6ff;
      border-color: #dce6ff;
    }
    .admin-preview-banner {
      border: 1px solid rgba(244, 193, 73, 0.48);
      border-left: 4px solid #ffbf47;
      background: linear-gradient(180deg, rgba(255, 248, 225, 0.96), rgba(255, 253, 244, 0.95));
      color: #574000;
      box-shadow: 0 10px 24px rgba(255, 197, 80, 0.16);
      border-radius: 16px;
    }
    .preview-lock-hint {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #6f5a1a;
      background: rgba(255, 241, 205, 0.8);
      border: 1px solid rgba(244, 193, 73, 0.42);
      border-radius: 999px;
      padding: 2px 10px;
      font-size: 0.72rem;
      font-weight: 600;
    }
    .shop-activity-hero {
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(255, 255, 255, 0.86);
      border: 1px solid rgba(139, 124, 255, 0.16);
      border-radius: 16px;
      padding: 12px 14px;
      margin-bottom: 10px;
      box-shadow: 0 8px 24px rgba(31, 36, 51, 0.08);
    }
    .shop-activity-thumb {
      width: 86px;
      height: 86px;
      border-radius: 14px;
      object-fit: cover;
      background: #f4f7ff;
      border: 1px solid rgba(139, 124, 255, 0.16);
      flex-shrink: 0;
    }
    .shop-activity-title {
      margin: 0;
      color: #2D3D73;
      font-size: 1.28rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      line-height: 1.3;
    }
    .shop-activity-meta {
      margin-top: 4px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .shop-activity-meta .meta-pill {
      font-size: 0.72rem;
      border-radius: 999px;
      padding: 4px 9px;
      background: rgba(139, 124, 255, 0.1);
      color: #4C4FA8;
      border: 1px solid rgba(139, 124, 255, 0.14);
    }
    .shop-main-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 24px;
      align-items: start;
    }
    .shop-summary-card {
      position: sticky;
      top: 24px;
      width: 100%;
      max-width: 340px;
      border: 1px solid rgba(139, 124, 255, 0.12);
      box-shadow: 0 8px 22px rgba(31, 36, 51, 0.06);
    }
    .shop-summary-checkout[disabled] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
    .activity-list-head {
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(139, 124, 255, 0.1);
      border-radius: 14px;
      box-shadow: 0 4px 12px rgba(31, 36, 51, 0.04);
      padding: 9px 12px;
      margin-bottom: 10px;
    }
    #homeView .brand-title { margin-bottom: 10px !important; }
    #homeView #memberBadge { margin-bottom: 10px !important; }
    .content-card {
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(139, 124, 255, 0.16);
      border-radius: 18px;
      box-shadow: 0 12px 30px rgba(31, 36, 51, 0.08);
      padding: 14px;
    }
    .info-card {
      background: linear-gradient(135deg, rgba(248, 245, 255, 0.95), rgba(244, 247, 255, 0.92));
      border: 1px solid rgba(139, 124, 255, 0.14);
      border-radius: 16px;
      box-shadow: 0 8px 18px rgba(31, 36, 51, 0.06);
      padding: 12px;
      margin-bottom: 12px;
    }
    .info-card .info-title {
      font-size: 0.82rem;
      font-weight: 700;
      color: #445070;
      margin-bottom: 6px;
    }
    .section-title {
      margin-bottom: 4px;
      font-size: 0.95rem;
      font-weight: 700;
      color: #1F2433;
    }
    .section-subtitle {
      margin-bottom: 10px;
      font-size: 0.78rem;
      color: #667085;
    }
    .sale-badge {
      border-radius: 999px;
      font-size: 0.7rem;
      font-weight: 700;
      padding: 4px 10px;
      border: 1px solid transparent;
    }
    .badge-sale-open {
      background: rgba(91, 168, 255, 0.14);
      color: #2563EB;
      border-color: rgba(91, 168, 255, 0.22);
    }
    .badge-sale-soon {
      background: rgba(200, 139, 255, 0.16);
      color: #7C3AED;
      border-color: rgba(200, 139, 255, 0.24);
    }
    .badge-sale-closed {
      background: rgba(102, 112, 133, 0.12);
      color: #667085;
      border-color: rgba(102, 112, 133, 0.22);
    }
    .badge-sale-soldout {
      background: rgba(31, 36, 51, 0.1);
      color: #475467;
      border-color: rgba(31, 36, 51, 0.18);
    }
    .badge-second-pay {
      background: rgba(139, 124, 255, 0.14);
      color: #6254D9;
      border-color: rgba(139, 124, 255, 0.22);
    }
    .badge-no-second-pay {
      background: rgba(91, 168, 255, 0.12);
      color: #2775C7;
      border-color: rgba(91, 168, 255, 0.2);
    }
    .btn-success { background: linear-gradient(135deg, #8B7CFF 0%, #5BA8FF 100%); border: none; color: #FFFFFF; }
    .btn-success:hover { color: #FFFFFF; }
    #shopView .btn-secondary {
      background: rgba(102, 112, 133, 0.18);
      color: #667085;
      border-color: rgba(102, 112, 133, 0.24);
    }
    .modal-content,
    .offcanvas {
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.94));
      color: var(--text-main);
      border: 1px solid rgba(139, 124, 255, 0.18);
      box-shadow: 0 18px 38px rgba(31, 36, 51, 0.12);
    }
    .offcanvas-header,
    .offcanvas-body,
    .modal-header,
    .modal-body,
    .modal-footer { border-color: rgba(159, 178, 228, 0.2) !important; }
    .accordion-item {
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(139, 124, 255, 0.18);
      color: var(--text-main);
    }
    .accordion-button {
      background: rgba(247, 250, 255, 0.92);
      color: #445070;
      box-shadow: none;
    }
    .accordion-button:not(.collapsed) {
      background: rgba(235, 242, 255, 0.95);
      color: #1f2433;
    }
    .accordion-button:focus { box-shadow: 0 0 0 0.16rem rgba(91, 168, 255, 0.22); }
    .accordion-button::after { filter: invert(0.9) hue-rotate(170deg) saturate(0.6); }
    .alert-warning {
      background: rgba(244, 247, 255, 0.95);
      border-color: rgba(139, 124, 255, 0.2);
      color: #445070;
    }
    .bg-light,
    .bg-light-subtle {
      background: rgba(247, 250, 255, 0.96) !important;
      color: var(--text-main) !important;
      border: 1px solid rgba(139, 124, 255, 0.14);
    }
    .btn-close {
      filter: invert(0.92) hue-rotate(165deg) saturate(0.45);
      opacity: 0.8;
    }
    .toast {
      background: rgba(255, 255, 255, 0.94) !important;
      color: var(--text-main);
      border: 1px solid rgba(139, 124, 255, 0.18);
    }
    .toast.toast-success {
      background: rgba(231, 248, 239, 0.96) !important;
      color: #184d32 !important;
      border-color: rgba(52, 168, 83, 0.35) !important;
    }
    .toast.toast-warning {
      background: rgba(255, 245, 224, 0.96) !important;
      color: #7a4a00 !important;
      border-color: rgba(245, 158, 11, 0.38) !important;
    }
    .toast.toast-error {
      background: rgba(254, 236, 238, 0.96) !important;
      color: #8a1c24 !important;
      border-color: rgba(220, 38, 38, 0.34) !important;
    }
    .toast.toast-info {
      background: rgba(236, 244, 255, 0.96) !important;
      color: #1e3a8a !important;
      border-color: rgba(59, 130, 246, 0.32) !important;
    }
    .toast .toast-body { color: inherit !important; }
    @keyframes shopStarsDrift {
      0% { transform: translate3d(0, 0, 0); opacity: 0.24; }
      50% { transform: translate3d(0, -6px, 0); opacity: 0.34; }
      100% { transform: translate3d(0, 0, 0); opacity: 0.24; }
    }
    @media (max-width: 768px) {
      body { padding-top: 64px; }
      .sticky-nav-wrap { padding: 8px 4px; }
      .nav-line-btn { min-width: 42px; padding: 7px 10px; }
      .nav-line-btn.compact { padding: 4px; width: 42px; height: 42px; }
      .nav-line-btn .nav-line-label { display: none; }
      .carousel-item img { height: 260px; }
      .view-section { padding-bottom: 180px !important; width: calc(100% - 32px); }
      #shopView { width: calc(100% - 32px); padding: 16px; border-radius: 18px; }
      .cart-footer .btn { min-height: 46px; }
      #activityList { grid-template-columns: 1fr; gap: 12px; }
      #shopView::before { opacity: 0.18; animation-duration: 24s; }
      #shopView::after { opacity: 0.15; }
      #shopView .product-card { border-radius: 18px; }
      #shopView .product-grid { grid-template-columns: 1fr; grid-template-areas: "img" "info" "qty" "spec"; gap: 10px; }
      #shopView .grid-qty { justify-content: flex-start; }
      #shopView .product-img-container { width: 100%; max-width: 160px; height: 160px; margin: 0 auto; }
      .shop-activity-thumb { width: 72px; height: 72px; }
      .shop-activity-title { font-size: 1.12rem; }
      #shopView .content-card .col-6 { width: 100%; }
      .shop-main-layout { grid-template-columns: 1fr; gap: 12px; }
      .shop-summary-card { max-width: none; position: static; }
      .product-card-main { grid-template-columns: 1fr; }
      .product-main-thumb { width: 100%; max-width: 160px; height: 160px; margin: 0 auto; }
      .picker-toggle-btn { width: 100%; }
      .group-inline-actions { justify-content: flex-start; }
      .option-item { grid-template-columns: 1fr; }
      .option-item.no-thumb { grid-template-columns: 1fr; }
      .option-thumb { width: 100%; max-width: 150px; height: 150px; margin: 0 auto; }
      .option-qty-controls { justify-content: flex-start; width: 100%; }
      .option-cta-wrap { width: 100%; }
      .option-add-btn { width: 100%; }
      .line-contact-fab { bottom: 84px; }
      .line-contact-fab.cart-up { bottom: 150px; }
    }
    @media (min-width: 769px) and (max-width: 1100px) {
      #activityList { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
      .shop-main-layout { grid-template-columns: 1fr; }
    }
    @media (prefers-reduced-motion: reduce) {
      #shopView::before,
      #shopView::after { animation: none !important; opacity: 0.12; }
      .product-card,
      .activity-card,
      .btn { transition: none !important; }
    }
    @keyframes shimmer { 100% { transform: translateX(100%); } }
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes introBreath {
      0% { transform: translateY(0) scale(1); text-shadow: 0 0 18px rgba(123, 165, 255, 0.18), 0 0 34px rgba(124, 92, 255, 0.14); }
      50% { transform: translateY(0) scale(1.012); text-shadow: 0 0 26px rgba(121, 224, 255, 0.26), 0 0 42px rgba(124, 92, 255, 0.2); }
      100% { transform: translateY(0) scale(1); text-shadow: 0 0 18px rgba(123, 165, 255, 0.18), 0 0 34px rgba(124, 92, 255, 0.14); }
    }
    #shopAnnouncementBlock { white-space: pre-wrap; }
    #cartFooter { display: none; }
    #infoDesc { white-space: pre-wrap; }
    #noticeModalBody { white-space: normal; }
  
