
    /* Critical offline CSS — page remains usable without Tailwind CDN */
    :root {
      --brand-500: #6366f1;
      --brand-600: #4f46e5;
      --darkbg: #050814;
      --cardbg: rgba(17, 24, 39, 0.72);
      --cardborder: rgba(99, 102, 241, 0.22);
      --gray-100: #f3f4f6;
      --gray-200: #e5e7eb;
      --gray-300: #d1d5db;
      --gray-400: #9ca3af;
      --gray-500: #6b7280;
      --gray-600: #4b5563;
      --gray-700: #374151;
      --gray-800: #1f2937;
      --gray-900: #111827;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; }
    html, body {
      max-width: 100vw;
      overflow-x: hidden;
    }
    body {
      margin: 0;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      -webkit-user-select: none;
      background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79, 70, 229, 0.28), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(16, 185, 129, 0.12), transparent),
        var(--darkbg);
      color: var(--gray-100);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      position: relative;
    }
    /* Dynamic particle canvas — no CDN / no WebGL required */
    #canvas-container {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100dvh;
      max-height: 100dvh;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
      background: transparent;
      isolation: isolate;
    }
    #canvas-container canvas {
      display: block;
      position: absolute;
      inset: 0;
      width: 100% !important;
      height: 100% !important;
    }
    .data-stream-overlay {
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(99, 102, 241, 0.05) 35%,
        transparent 55%,
        rgba(16, 185, 129, 0.04) 75%,
        transparent 100%
      );
      mix-blend-mode: screen;
      animation: stream-drift 12s linear infinite;
      opacity: 0.7;
    }
    .app-shell {
      position: relative;
      z-index: 2;
      min-height: 100dvh;
      height: 100dvh;
      max-height: 100dvh;
      display: flex;
      flex-direction: column;
      flex: 1;
      background: transparent !important;
      overflow: hidden;
    }
    @keyframes stream-drift {
      0% { transform: translate3d(0, 0, 0); opacity: 0.55; }
      50% { opacity: 1; }
      100% { transform: translate3d(0, 0, 0); opacity: 0.55; }
    }
    .hidden { display: none !important; }
    .flex { display: flex; }
    .flex-col { flex-direction: column; }
    .flex-1 { flex: 1 1 0%; }
    .items-center { align-items: center; }
    .items-start { align-items: flex-start; }
    .justify-between { justify-content: space-between; }
    .justify-around { justify-content: space-around; }
    .justify-center { justify-content: center; }
    .shrink-0 { flex-shrink: 0; }
    .min-w-0 { min-width: 0; }
    .w-full { width: 100%; }
    .max-w-md { max-width: 28rem; }
    .max-w-sm { max-width: 24rem; }
    .mx-auto { margin-left: auto; margin-right: auto; }
    .space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.25rem; }
    .space-x-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.375rem; }
    .space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
    .space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
    .space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
    .space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
    .space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
    .space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
    .space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
    .space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
    .gap-2 { gap: 0.5rem; }
    .gap-3 { gap: 0.75rem; }
    .grid { display: grid; }
    .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .relative { position: relative; }
    .absolute { position: absolute; }
    .fixed { position: fixed; }
    .sticky { position: sticky; }
    .inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
    .inset-y-0 { top: 0; bottom: 0; }
    .left-0 { left: 0; }
    .right-0 { right: 0; }
    .bottom-0 { bottom: 0; }
    .top-0 { top: 0; }
    .z-30 { z-index: 30; }
    .z-40 { z-index: 40; }
    .z-50 { z-index: 50; }
    .overflow-x-auto { overflow-x: auto; }
    .pointer-events-none { pointer-events: none; }
    .cursor-pointer { cursor: pointer; }
    .text-left { text-align: left; }
    .text-center { text-align: center; }
    .text-white { color: #fff; }
    .text-gray-200 { color: var(--gray-200); }
    .text-gray-300 { color: var(--gray-300); }
    .text-gray-400 { color: var(--gray-400); }
    .text-gray-500 { color: var(--gray-500); }
    .text-gray-600 { color: var(--gray-600); }
    .text-amber-200\\/90 { color: rgba(253, 230, 138, 0.9); }
    .text-amber-300 { color: #fcd34d; }
    .text-amber-400 { color: #fbbf24; }
    .pl-3 { padding-left: 0.75rem; }
    .mb-1\.5 { margin-bottom: 0.375rem; }
    .-mt-2 { margin-top: -0.5rem; }
    .ml-9 { margin-left: 2.25rem; }
    .region-check-item {
      position: relative;
      padding-left: 0.75rem;
      font-size: 11px;
      color: var(--gray-400);
      line-height: 1.625;
    }
    .region-check-item::before {
      content: '·';
      position: absolute;
      left: 0;
      color: var(--brand-500);
    }
    .text-red-400 { color: #f87171; }
    .text-emerald-400 { color: #34d399; }
    .text-indigo-400 { color: #818cf8; }
    .text-blue-400 { color: #60a5fa; }
    .text-purple-400 { color: #c084fc; }
    .text-brand-400 { color: #818cf8; }
    .text-brand-500 { color: var(--brand-500); }
    .bg-darkbg, .bg-\\[\\#0b0f19\\] { background-color: var(--darkbg); }
    .bg-cardbg { background-color: var(--cardbg); }
    .bg-gray-800 { background-color: var(--gray-800); }
    .bg-gray-800\\/80 { background-color: rgba(31, 41, 55, 0.8); }
    .bg-gray-900 { background-color: var(--gray-900); }
    .bg-gray-900\\/80 { background-color: rgba(17, 24, 39, 0.8); }
    .bg-brand-600 { background-color: var(--brand-600); }
    .bg-black\\/70 { background-color: rgba(0, 0, 0, 0.7); }
    .bg-amber-500\\/10 { background-color: rgba(245, 158, 11, 0.1); }
    .bg-red-500\\/10 { background-color: rgba(239, 68, 68, 0.1); }
    .bg-red-500\\/20 { background-color: rgba(239, 68, 68, 0.2); }
    .bg-amber-500\\/20 { background-color: rgba(245, 158, 11, 0.2); }
    .bg-blue-500\\/10, .bg-blue-500\\/20 { background-color: rgba(59, 130, 246, 0.1); }
    .bg-emerald-500\\/10, .bg-emerald-500\\/20 { background-color: rgba(16, 185, 129, 0.2); }
    .bg-indigo-500\\/20, .bg-indigo-600\\/20 { background-color: rgba(99, 102, 241, 0.2); }
    .bg-purple-500\\/10 { background-color: rgba(168, 85, 247, 0.1); }
    .border { border-width: 1px; border-style: solid; }
    .border-b { border-bottom: 1px solid; }
    .border-t { border-top: 1px solid; }
    .border-gray-700 { border-color: var(--gray-700); }
    .border-gray-800 { border-color: var(--gray-800); }
    .border-cardborder { border-color: var(--cardborder); }
    .border-indigo-500\\/30 { border-color: rgba(99, 102, 241, 0.3); }
    .border-emerald-500\\/30 { border-color: rgba(16, 185, 129, 0.3); }
    .border-amber-500\\/20 { border-color: rgba(245, 158, 11, 0.2); }
    .border-amber-500\\/30 { border-color: rgba(245, 158, 11, 0.3); }
    .border-red-500\\/20 { border-color: rgba(239, 68, 68, 0.2); }
    .border-red-500\\/30 { border-color: rgba(239, 68, 68, 0.3); }
    .rounded-lg { border-radius: 0.5rem; }
    .rounded-xl { border-radius: 0.75rem; }
    .rounded-2xl { border-radius: 1rem; }
    .rounded-full { border-radius: 9999px; }
    .p-3 { padding: 0.75rem; }
    .p-3\.5 { padding: 0.875rem; }
    .p-4 { padding: 1rem; }
    .p-5 { padding: 1.25rem; }
    .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
    .px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
    .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
    .px-4 { padding-left: 1rem; padding-right: 1rem; }
    .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
    .py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
    .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
    .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .pl-3\.5 { padding-left: 0.875rem; }
    .pl-10 { padding-left: 2.5rem; }
    .pr-4 { padding-right: 1rem; }
    .pt-1 { padding-top: 0.25rem; }
    .pt-2 { padding-top: 0.5rem; }
    .pt-2\.5 { padding-top: 0.625rem; }
    .pb-1 { padding-bottom: 0.25rem; }
    .mb-1 { margin-bottom: 0.25rem; }
    .mb-2 { margin-bottom: 0.5rem; }
    .mb-3 { margin-bottom: 0.75rem; }
    .mt-0\.5 { margin-top: 0.125rem; }
    .mt-1 { margin-top: 0.25rem; }
    .mt-2 { margin-top: 0.5rem; }
    .mt-2\.5 { margin-top: 0.625rem; }
    .block { display: block; }
    .font-medium { font-weight: 500; }
    .font-semibold { font-weight: 600; }
    .font-bold { font-weight: 700; }
    .font-extrabold { font-weight: 800; }
    .tracking-wide { letter-spacing: 0.025em; }
    .tracking-tight { letter-spacing: -0.025em; }
    .leading-tight { line-height: 1.25; }
    .leading-relaxed { line-height: 1.625; }
    .text-xs { font-size: 0.75rem; line-height: 1rem; }
    .text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .text-\\[10px\\], .text-\[10px\] { font-size: 10px; line-height: 1.4; }
    .text-\\[11px\\], .text-\[11px\] { font-size: 11px; line-height: 1.4; }
    .text-\\[1\\.75rem\\], .text-\[1\.75rem\] { font-size: 1.75rem; }
    .w-3 { width: 0.75rem; } .h-3 { height: 0.75rem; }
    .w-3\.5 { width: 0.875rem; } .h-3\.5 { height: 0.875rem; }
    .w-4 { width: 1rem; } .h-4 { height: 1rem; }
    .w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }
    .w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
    .w-8 { width: 2rem; } .h-8 { height: 2rem; }
    .w-9 { width: 2.25rem; } .h-9 { height: 2.25rem; }
    .min-h-\\[4\\.75rem\\], .min-h-\[4\.75rem\] { min-height: 4.75rem; }
    .shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
    .transition, .transition-all, .transition-transform { transition: all 0.15s ease; }
    .backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
    button, a.btn-like {
      font: inherit;
      color: inherit;
      cursor: pointer;
      background: none;
      border: none;
    }
    button:active { transform: scale(0.98); }
    input[type="text"], input[type="search"] {
      appearance: none;
      -webkit-appearance: none;
      font: inherit;
    }
    input[type="checkbox"] {
      width: 1rem;
      height: 1rem;
      accent-color: var(--brand-600);
    }
    .quiz-btn {
      padding: 0.5rem 0;
      border-radius: 0.5rem;
      font-size: 0.75rem;
      font-weight: 600;
      border: 1px solid #374151;
      background: #1f2937;
      color: #d1d5db;
      width: 100%;
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s, color 0.15s;
    }
    .quiz-btn.selected-yes {
      background: rgba(239, 68, 68, 0.2);
      border-color: rgba(239, 68, 68, 0.4);
      color: #fca5a5;
    }
    .quiz-btn.selected-no {
      background: rgba(16, 185, 129, 0.2);
      border-color: rgba(16, 185, 129, 0.4);
      color: #6ee7b7;
    }
    .quiz-reset-btn {
      margin-top: 0.75rem;
      width: 100%;
      padding: 0.5rem 0;
      border-radius: 0.5rem;
      font-size: 0.75rem;
      font-weight: 600;
      background: #1f2937;
      border: 1px solid #374151;
      color: #d1d5db;
      cursor: pointer;
    }
    .quiz-start-btn {
      width: 100%;
      padding: 0.875rem 0;
      border-radius: 0.75rem;
      background: var(--brand-600);
      color: #fff;
      font-size: 0.875rem;
      font-weight: 700;
      border: none;
      cursor: pointer;
    }
    .quiz-start-btn:hover { background: var(--brand-500); }
    .quiz-modal-panel {
      background: rgba(18, 36, 56, 0.42);
      backdrop-filter: blur(24px) saturate(1.25);
      -webkit-backdrop-filter: blur(24px) saturate(1.25);
      border: 1px solid rgba(148, 197, 220, 0.28);
      border-radius: 1rem;
      max-width: 24rem;
      width: 100%;
      box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
      color: #e2e8f0;
      max-height: 85vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .quiz-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1rem;
      border-bottom: 1px solid rgba(148, 197, 220, 0.16);
      flex-shrink: 0;
    }
    .quiz-modal-body {
      overflow-y: auto;
      padding: 0.75rem 1rem;
      flex: 1 1 auto;
    }
    .quiz-modal-footer {
      padding: 0.75rem 1rem;
      border-top: 1px solid rgba(226, 232, 240, 0.95);
      flex-shrink: 0;
    }
    .quiz-submit-btn {
      width: 100%;
      padding: 0.75rem 0;
      border-radius: 0.75rem;
      background: var(--brand-600);
      color: #fff;
      font-size: 0.875rem;
      font-weight: 700;
      border: none;
      cursor: pointer;
    }
    .quiz-close-icon-btn {
      padding: 0.375rem;
      border-radius: 0.5rem;
      color: #64748b;
      background: transparent;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      line-height: 1;
    }
    .quiz-close-icon-btn:hover { color: #0f172a; background: #f1f5f9; }
    .quiz-footer-btn {
      padding: 0.625rem 0;
      border-radius: 0.75rem;
      font-size: 0.75rem;
      font-weight: 600;
      border: none;
      cursor: pointer;
      width: 100%;
    }
    .quiz-footer-btn.secondary {
      background: rgba(148, 197, 220, 0.14);
      color: #e2e8f0;
      border: 1px solid rgba(148, 197, 220, 0.2);
    }
    .quiz-footer-btn.primary {
      background: var(--brand-600);
      color: #fff;
    }
    .quiz-spin {
      width: 3rem;
      height: 3rem;
      margin: 0 auto;
      border-radius: 9999px;
      border: 2px solid var(--brand-500);
      border-top-color: transparent;
      animation: quiz-spin 0.8s linear infinite;
    }
    @keyframes quiz-spin {
      to { transform: rotate(360deg); }
    }
    .items-end { align-items: flex-end; }
    .overflow-hidden { overflow: hidden; }
    .overflow-y-auto { overflow-y: auto; }
    .text-center { text-align: center; }
    .text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .font-extrabold { font-weight: 800; }
    .py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .text-amber-300 { color: #fcd34d; }
    .text-\[11px\] { font-size: 0.6875rem; }
    @media (min-width: 640px) {
      .sm\:items-center { align-items: center; }
    }
    .bg-gradient-to-br {
      background-image: linear-gradient(to bottom right, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent));
    }
    .from-indigo-900\\/40, button.from-indigo-900\\/40,
    button.bg-gradient-to-br.from-indigo-900\\/40 {
      background-image: linear-gradient(to bottom right, rgba(49, 46, 129, 0.4), #111827);
    }
    .from-emerald-900\\/40,
    button.bg-gradient-to-br.from-emerald-900\\/40 {
      background-image: linear-gradient(to bottom right, rgba(6, 78, 59, 0.4), #111827);
    }
    /* Explicit card gradients for home buttons */
    .home-card-check {
      background: linear-gradient(to bottom right, rgba(49, 46, 129, 0.4), #111827);
      border: 1px solid rgba(99, 102, 241, 0.3);
    }
    .home-card-verify {
      background: linear-gradient(to bottom right, rgba(6, 78, 59, 0.4), #111827);
      border: 1px solid rgba(16, 185, 129, 0.3);
    }
    .pb-safe { padding-bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
    .pt-safe { padding-top: max(0.75rem, env(safe-area-inset-top)); }
    .nav-pb-safe { padding-bottom: calc(0.375rem + env(safe-area-inset-bottom)); }
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
    .glass-nav {
      background: rgba(8, 12, 24, 0.98);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-color: rgba(99, 102, 241, 0.18) !important;
    }
    /* Main scrolls inside the shell; first paint keeps hero + region peek above nav */
    main.app-main {
      flex: 1 1 auto;
      min-height: 0;
      overflow-x: hidden;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    main.app-main::-webkit-scrollbar { display: none; }
    .region-seg {
      display: flex;
      gap: 0;
      overflow: hidden;
      border-radius: 0.5rem;
      border: 1px solid #374151;
    }
    .region-seg .region-btn {
      flex: 1 1 0;
      min-width: 0;
      border-radius: 0 !important;
      border: none !important;
      border-right: 1px solid #374151 !important;
    }
    .region-seg .region-btn:last-child { border-right: none !important; }
    #tab-home.home-screen {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      min-height: 100%;
    }
    .home-first-fold {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      overflow: hidden;
      box-sizing: border-box;
    }
    .home-first-fold .hero-blend {
      flex: 0 0 auto;
      /* Match user-drawn large shield frame on home */
      min-height: 24rem;
      height: clamp(24rem, 68dvh, 38rem);
    }
    .home-peek-chips {
      flex: 0 0 auto;
      padding: 0.7rem 0.75rem 0.55rem !important;
    }
    .home-region-unit {
      display: flex;
      flex-direction: column;
    }
    .home-region-guide {
      background: rgba(17, 24, 39, 0.55);
    }
    .home-ic3-cta h3 { color: #f87171 !important; }
    .home-ic3-cta p { color: rgba(252, 165, 165, 0.92) !important; }
    .home-rest {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .report-marquee {
      overflow: hidden;
      border-radius: 0.75rem;
      border: 1px solid rgba(248, 113, 113, 0.35);
      background: linear-gradient(90deg, rgba(127, 29, 29, 0.55), rgba(69, 10, 10, 0.4));
      padding: 0.65rem 0;
      white-space: nowrap;
    }
    .report-marquee-track {
      display: inline-flex;
      width: max-content;
      gap: 3rem;
      animation: report-marquee-scroll 28s linear infinite;
      color: #fecaca;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.02em;
    }
    .report-marquee-track span {
      display: inline-block;
      padding: 0 0.5rem;
    }
    @keyframes report-marquee-scroll {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }
    #tab-verify { gap: 0.45rem !important; }
    #tab-verify .verify-card-list {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }
    #tab-verify .verify-card-body {
      border-top: none;
      padding-top: 0.15rem;
    }
    .hero-blend {
      position: relative;
      overflow: hidden;
      flex: 1 1 auto;
      width: 100%;
      height: auto;
      min-height: 0;
      max-height: none;
      box-sizing: border-box;
      border-radius: 1.25rem;
      display: flex;
      flex-direction: column;
      background: linear-gradient(
        165deg,
        rgba(30, 41, 79, 0.12) 0%,
        rgba(15, 23, 42, 0.08) 45%,
        rgba(6, 12, 28, 0.04) 100%
      );
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(129, 140, 248, 0.28);
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 20px 50px rgba(0, 0, 0, 0.28);
      padding: 0.75rem 0.9rem 0.65rem;
    }
    @media (max-height: 740px) {
      .hero-blend {
        padding: 0.65rem 0.85rem 0.55rem;
      }
      .hero-blend-theme { font-size: 1.35rem !important; }
      .hero-blend-actions .feature-glass { padding: 0.75rem !important; }
      .hero-blend-actions .feature-glass .w-9 { width: 2rem; height: 2rem; margin-bottom: 0.5rem; }
    }
    @media (max-height: 640px) {
      .hero-blend-theme { font-size: 1.25rem !important; }
      .hero-blend-subtheme { font-size: 0.72rem !important; }
    }
    #shield-canvas-container {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      opacity: 1;
      overflow: hidden;
      border-radius: inherit;
    }
    #shield-canvas-container canvas {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
    }
    .hero-blend-inner {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      min-height: 0;
      width: 100%;
      justify-content: space-between;
      gap: 0.5rem;
    }
    .hero-blend-copy {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      padding-top: 0.1rem;
      gap: 0.35rem;
    }
    .hero-blend-theme {
      margin: 0;
      font-size: 1.45rem;
      line-height: 1.22;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: #f9fafb;
      text-shadow: 0 2px 24px rgba(99, 102, 241, 0.35);
    }
    .hero-blend-subtheme {
      margin: 0;
      font-size: 0.78rem;
      line-height: 1.4;
      color: #c7d2fe;
      max-width: 22rem;
      opacity: 0.9;
    }
    .hero-blend-actions {
      flex-shrink: 0;
      margin-bottom: 0;
    }
    .hero-blend-actions .feature-glass {
      padding: 0.85rem;
    }
    .hero-blend-actions .feature-glass .mb-3 {
      margin-bottom: 0.55rem;
    }
    .home-below-hero {
      margin-top: 0;
      flex: 0 0 auto;
    }
    .feature-glass {
      background: rgba(15, 23, 42, 0.55);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .home-card-check.feature-glass {
      background: rgba(15, 23, 42, 0.55);
      border: 1px solid rgba(129, 140, 248, 0.3);
      box-shadow: 0 12px 28px rgba(15, 10, 40, 0.4);
    }
    .home-card-verify.feature-glass {
      background: rgba(15, 23, 42, 0.55);
      border: 1px solid rgba(52, 211, 153, 0.3);
      box-shadow: 0 12px 28px rgba(6, 40, 30, 0.4);
    }
    .home-gaso-assist {
      letter-spacing: 0.01em;
      background: transparent;
      color: #6ee7b7;
      border: 1px solid rgba(52, 211, 153, 0.55);
      box-shadow: none;
    }
    .home-gaso-assist:hover,
    .home-gaso-assist:active {
      background: rgba(16, 185, 129, 0.1);
    }
    @keyframes loading-official-spin {
      to { transform: rotate(360deg); }
    }
    .loading-official-spinner {
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 9999px;
      border: 3px solid rgba(148, 197, 220, 0.22);
      border-top-color: #34d399;
      animation: loading-official-spin 0.85s linear infinite;
      margin: 0 auto;
    }
    .detail-popup-panel {
      width: 100%;
      max-width: 24rem;
      border-radius: 1rem;
      border: 1px solid rgba(148, 197, 220, 0.28);
      background: rgba(18, 36, 56, 0.42);
      backdrop-filter: blur(24px) saturate(1.25);
      -webkit-backdrop-filter: blur(24px) saturate(1.25);
      padding: 1.25rem;
      box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
      color: #e2e8f0;
    }
    /* Soft dim — lets page color show through */
    .popup-scrim {
      background: rgba(6, 16, 28, 0.28) !important;
      backdrop-filter: blur(14px) saturate(1.2);
      -webkit-backdrop-filter: blur(14px) saturate(1.2);
    }
    /* Blend with dark teal page — translucent glass, not solid white/black */
    .detail-popup-panel,
    .quiz-modal-panel,
    .natural-popup-panel {
      background: rgba(18, 36, 56, 0.42) !important;
      backdrop-filter: blur(24px) saturate(1.25);
      -webkit-backdrop-filter: blur(24px) saturate(1.25);
      border: 1px solid rgba(148, 197, 220, 0.28) !important;
      box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
      color: #e2e8f0;
    }
    .detail-popup-panel .text-white,
    .quiz-modal-panel .text-white,
    .natural-popup-panel .text-white { color: #f1f5f9 !important; }
    .detail-popup-panel .text-gray-300,
    .detail-popup-panel .text-gray-400,
    .quiz-modal-panel .text-gray-300,
    .quiz-modal-panel .text-gray-400,
    .quiz-modal-panel .text-gray-500,
    .natural-popup-panel .text-gray-300,
    .natural-popup-panel .text-gray-400 { color: #94a3b8 !important; }
    .detail-popup-panel .text-sm.text-gray-300,
    .quiz-modal-panel .quiz-q-text,
    .quiz-modal-panel .text-gray-200 { color: #cbd5e1 !important; }
    .quiz-modal-header,
    .quiz-modal-footer {
      border-color: rgba(148, 197, 220, 0.16) !important;
    }
    .quiz-close-icon-btn { color: #94a3b8 !important; }
    .quiz-close-icon-btn:hover { color: #f1f5f9 !important; background: rgba(148, 197, 220, 0.12) !important; }
    .quiz-modal-panel .bg-cardbg,
    .quiz-modal-panel [data-q] {
      background: rgba(15, 30, 48, 0.55) !important;
      border-color: rgba(148, 197, 220, 0.18) !important;
    }
    .quiz-modal-panel #quiz-modal-result {
      background: rgba(15, 30, 48, 0.55) !important;
      border-color: rgba(148, 197, 220, 0.18) !important;
    }
    .natural-popup-inset {
      background: rgba(15, 30, 48, 0.5) !important;
      border: 1px solid rgba(148, 197, 220, 0.18);
      color: #94a3b8;
    }
    .quiz-footer-btn.secondary {
      background: rgba(148, 197, 220, 0.14) !important;
      color: #e2e8f0 !important;
      border: 1px solid rgba(148, 197, 220, 0.2);
    }
    .lang-picker-list {
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      max-height: min(55vh, 420px);
      padding: 0.5rem;
    }
    .lang-picker-btn {
      width: 100%;
      text-align: left;
      padding: 0.625rem 0.75rem;
      border-radius: 0.75rem;
      font-size: 0.875rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #e2e8f0;
      background: transparent;
      border: 1px solid transparent;
      cursor: pointer;
      margin-bottom: 0.25rem;
    }
    .lang-picker-btn:hover {
      background: rgba(255, 255, 255, 0.05);
    }
    .lang-picker-btn.active {
      background: rgba(99, 102, 241, 0.3);
      color: #fff;
      border-color: rgba(99, 102, 241, 0.4);
    }
    .lang-picker-btn .lang-native { font-weight: 600; display: block; }
    .lang-picker-btn .lang-english {
      display: block;
      font-size: 11px;
      color: #94a3b8;
      margin-top: 0.125rem;
    }
    .lang-picker-btn .lang-short {
      font-size: 11px;
      color: #94a3b8;
      flex-shrink: 0;
      margin-left: 0.5rem;
    }
    .lang-picker-btn.active .lang-english,
    .lang-picker-btn.active .lang-short { color: rgba(199, 210, 254, 0.85); }
    /* Icon fallback when Lucide CDN is unavailable */
    i[data-lucide] {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-style: normal;
      line-height: 1;
      font-size: 0.85em;
      opacity: 0.9;
    }
    i[data-lucide].lucide-ready svg { display: block; width: 100%; height: 100%; }
    ::selection { background: var(--brand-500); color: #fff; }
  
