
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
    }

    :root {
      --bg-dark: #090B10;
      --bg-card: rgba(18, 22, 34, 0.9);
      --bg-card-border: rgba(217, 119, 6, 0.28);
      --ink: #FFFFFF;
      --ink-muted: #9CA3AF;
      --gold-primary: #F59E0B;
      --gold-bright: #FBBF24;
      --gold-gradient: linear-gradient(135deg, #FFE259 0%, #FFA751 50%, #FF8008 100%);
      --gold-glow: rgba(251, 191, 36, 0.45);
      --r: 16px;
    }

    html, body {
      width: 100%;
      min-height: 100%;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: #FFFFFF;
      color: #111827;
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    
    #bridgeView {
      min-height: 100vh;
      min-height: 100dvh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 36px 20px;
      background: #FFFFFF;
      cursor: pointer;
      transition: opacity 0.25s ease, transform 0.25s ease;
      position: relative;
      z-index: 10;
    }

    #bridgeView.fade-out {
      opacity: 0;
      transform: scale(0.97);
      pointer-events: none;
    }

    .bridge-box {
      width: 100%;
      max-width: 760px;
      margin: 0 auto;
      text-align: center;
      user-select: none;
    }

    .pre-headline {
      font-size: 0.95rem;
      font-weight: 800;
      color: #D97706;
      margin-bottom: 18px;
      letter-spacing: 2.5px;
      text-transform: uppercase;
    }

    .main-heading {
      font-size: 2.25rem;
      font-weight: 900;
      color: #000000;
      margin-bottom: 24px;
      line-height: 1.22;
      letter-spacing: -0.025em;
    }

    .sub-headline {
      font-size: 1.18rem;
      color: #1F2937;
      margin-bottom: 24px;
      font-weight: 400;
      line-height: 1.65;
    }

    .link-text {
      font-size: 1.08rem;
      color: #000000;
      margin-bottom: 38px;
      font-weight: 400;
      line-height: 1.7;
    }

    .highlight-gold {
      color: #B45309;
      font-weight: 800;
    }

    .cta-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
      color: #000000;
      font-family: inherit;
      font-size: 1.15rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 1px;
      text-decoration: none;
      padding: 22px 48px;
      border-radius: 14px;
      border: none;
      cursor: pointer;
      box-shadow: 0 8px 30px rgba(255, 165, 0, 0.45);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      overflow: hidden;
    }

    .cta-button::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
      transform: rotate(30deg);
      animation: shimmer 3s infinite;
    }

    @keyframes shimmer {
      0% { transform: translateX(-100%) rotate(30deg); }
      100% { transform: translateX(100%) rotate(30deg); }
    }

    .cta-button:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 12px 36px rgba(255, 165, 0, 0.65);
    }

    .cta-button:active {
      transform: scale(0.97);
      box-shadow: 0 6px 20px rgba(255, 165, 0, 0.5);
    }

    
    #gameWrapper {
      display: none;
      min-height: 100vh;
      min-height: 100dvh;
      background: radial-gradient(circle at top, #1A1F2C 0%, #090B10 100%);
      color: #FFFFFF;
      position: relative;
      opacity: 0;
      transition: opacity 0.4s ease;
      padding-bottom: 60px;
    }

    #gameWrapper.active {
      display: block;
      opacity: 1;
    }

    
    #particleCanvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    
    .game-hud {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(9, 11, 16, 0.94);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(251, 191, 36, 0.18);
      padding: 10px 18px 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }

    .hud-container {
      max-width: 520px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    
    .hud-back-btn {
      position: absolute;
      top: 10px;
      left: 14px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(251, 191, 36, 0.25);
      color: #9CA3AF;
      font-family: inherit;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 20px;
      cursor: pointer;
      z-index: 101;
    }

    
    .hud-back-btn::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 44px;
      height: 44px;
    }

    .hud-back-btn:hover {
      color: #FBBF24;
      border-color: rgba(251, 191, 36, 0.5);
    }

    .hud-back-btn:active {
      color: #FBBF24;
      border-color: rgba(251, 191, 36, 0.6);
      background: rgba(251, 191, 36, 0.12);
      transform: scale(0.96);
    }

    
    .hud-stats-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.8px;
      color: #D1D5DB;
      transition: padding-left 0.15s ease;
    }

    
    .game-hud.has-back-btn .hud-stats-row {
      padding-left: 67px;
    }

    .level-badge {
      color: #FBBF24;
      font-weight: 800;
    }

    .progress-bar-wrap {
      width: 100%;
      height: 7px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      overflow: hidden;
      position: relative;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .progress-bar-fill {
      height: 100%;
      width: 5%;
      background: var(--gold-gradient);
      border-radius: 10px;
      box-shadow: 0 0 12px rgba(251, 191, 36, 0.7);
      transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

    
    .quest-stage {
      max-width: 520px;
      margin: 0 auto;
      padding: 20px 18px;
      position: relative;
      z-index: 2;
    }

    .portal-screen {
      display: none;
      
      animation: questSlideIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    }

    .portal-screen.active {
      display: block;
    }

    @keyframes questSlideIn {
      from { opacity: 0; transform: translateY(16px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    
    #flashOverlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      height: 100dvh;
      z-index: 99999;
      pointer-events: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    #flashOverlay.flashing {
      display: flex;
      animation: tranceBreakerFlash 2s steps(1) forwards;
    }

    @keyframes tranceBreakerFlash {
      0%   { background-color: #10B981; } 
      10%  { background-color: #EF4444; } 
      20%  { background-color: #F59E0B; } 
      30%  { background-color: #3B82F6; } 
      40%  { background-color: #10B981; }
      50%  { background-color: #EF4444; }
      60%  { background-color: #F59E0B; }
      70%  { background-color: #3B82F6; }
      80%  { background-color: #10B981; }
      90%  { background-color: #EF4444; }
      100% { background-color: transparent; }
    }

    .flash-center-box {
      background: rgba(9, 11, 16, 0.94);
      border: 2px solid #FBBF24;
      border-radius: 20px;
      padding: 24px 28px;
      text-align: center;
      box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(251, 191, 36, 0.4);
      max-width: 440px;
      animation: flashPulseBox 0.3s infinite alternate ease-in-out;
    }

    @keyframes flashPulseBox {
      0% { transform: scale(0.96); box-shadow: 0 0 30px rgba(251, 191, 36, 0.3); }
      100% { transform: scale(1.02); box-shadow: 0 0 60px rgba(251, 191, 36, 0.8); }
    }

    .flash-icon {
      font-size: 2.2rem;
      margin-bottom: 6px;
      animation: pulseSparkle 0.5s infinite alternate;
    }

    .flash-alert-title {
      font-family: 'Cinzel', serif;
      font-size: 1.35rem;
      font-weight: 900;
      color: #FFFFFF;
      letter-spacing: 1.5px;
      text-shadow: 0 0 16px rgba(251, 191, 36, 0.8);
      line-height: 1.3;
    }

    .flash-alert-sub {
      font-size: 0.95rem;
      font-weight: 800;
      color: #FBBF24;
      letter-spacing: 0.8px;
      margin-top: 8px;
    }

    
    #quantumLoader {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      height: 100dvh;
      background: rgba(9, 11, 16, 0.96);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      z-index: 9999;
      align-items: center;
      justify-content: center;
      padding: 24px;
      text-align: center;
      flex-direction: column;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    #quantumLoader.active {
      display: flex;
      opacity: 1;
    }

    
    .loader-cross-wrap {
      position: relative;
      width: 120px;
      height: 120px;
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .loader-cross-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      filter: drop-shadow(0 0 25px rgba(251, 191, 36, 0.85));
      animation: pulseCross 1.8s infinite alternate ease-in-out;
    }

    .loader-cross-glow {
      position: absolute;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(251, 191, 36, 0.45) 0%, transparent 70%);
      animation: pulseGlowCircle 2s infinite alternate ease-in-out;
      z-index: -1;
    }

    @keyframes pulseCross {
      0%   { transform: scale(0.95); filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.6)); }
      100% { transform: scale(1.06); filter: drop-shadow(0 0 35px rgba(251, 191, 36, 0.95)); }
    }

    @keyframes pulseGlowCircle {
      0%   { transform: scale(0.8); opacity: 0.5; }
      100% { transform: scale(1.3); opacity: 1; }
    }

    .loader-title {
      font-family: 'Cinzel', serif;
      font-size: 1.3rem;
      font-weight: 900;
      color: #FBBF24;
      margin-bottom: 8px;
      letter-spacing: 1.5px;
      text-shadow: 0 0 16px rgba(251, 191, 36, 0.55);
    }

    .loader-subtitle {
      font-size: 1rem;
      color: #E5E7EB;
      max-width: 380px;
      line-height: 1.55;
      font-weight: 500;
      margin-bottom: 22px;
    }

    
    .loader-progress-box {
      width: 100%;
      max-width: 330px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .loader-status-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.85rem;
      font-weight: 700;
      color: #FBBF24;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }

    .loader-percent-text {
      color: #10B981;
      font-family: monospace;
      font-size: 0.95rem;
      font-weight: 900;
    }

    .loader-bar-wrap {
      width: 100%;
      height: 8px;
      background: rgba(255, 255, 255, 0.12);
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid rgba(251, 191, 36, 0.25);
    }

    .loader-bar-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #F59E0B, #10B981, #FBBF24);
      border-radius: 12px;
      box-shadow: 0 0 14px rgba(251, 191, 36, 0.85);
      transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    



    






    .target-spectrum-pin {
      position: static;
      background: linear-gradient(135deg, #10B981, #059669);
      color: #FFFFFF;
      font-size: 0.74rem;
      font-weight: 900;
      padding: 4px 10px;
      border-radius: 20px;
      letter-spacing: 0.5px;
      animation: pulseGreenPin 1.2s infinite alternate;
      box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
      white-space: nowrap;
      margin-left: auto;
    }

    @keyframes pulseRedPin {
      0%   { transform: scale(0.96); }
      100% { transform: scale(1.06); box-shadow: 0 0 16px rgba(239, 68, 68, 1); }
    }

    @keyframes pulseGreenPin {
      0%   { transform: scale(0.96); }
      100% { transform: scale(1.06); box-shadow: 0 0 16px rgba(16, 185, 129, 1); }
    }

    






    @keyframes pulseTreeIcon {
      0%   { transform: scale(0.95); }
      100% { transform: scale(1.08); filter: drop-shadow(0 0 8px #FBBF24); }
    }

    
    .portal-header-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(251, 191, 36, 0.14);
      border: 1px solid rgba(251, 191, 36, 0.35);
      border-radius: 100px;
      padding: 6px 16px;
      font-size: 0.92rem;
      font-weight: 800;
      color: #FBBF24;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 14px;
      box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
    }

    
    .portal-img-frame {
      width: 100%;
      background: rgba(14, 18, 28, 0.9);
      border: 1px solid rgba(251, 191, 36, 0.35);
      border-radius: 14px;
      padding: 3px;
      margin: 8px 0 14px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(251, 191, 36, 0.15);
      position: relative;
      overflow: hidden;
      aspect-ratio: 16 / 9;
      max-height: 220px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .portal-img-frame.guide-frame {
      max-width: 250px;
      aspect-ratio: 1 / 1;
      max-height: none;
      margin: 8px auto 14px;
      border-radius: 18px;
      border: 1.5px solid rgba(251, 191, 36, 0.45);
      box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(251, 191, 36, 0.25);
    }

    .portal-img-frame img {
      width: 100%;
      height: 100%;
      max-height: 214px;
      object-fit: cover;
      display: block;
      border-radius: 11px;
    }

    /* Tela de pergunta (respostas no fim): imagem mais baixa pras opções caberem na tela */
    .portal-screen:has(> .choice-grid) .portal-img-frame { aspect-ratio: auto; height: auto; margin: 4px 0 10px; }
    .portal-screen:has(> .choice-grid) .portal-img-frame img { height: 88px; max-height: 88px; }
    #alchemyChoices { gap: 8px; margin-top: 2px; }
    #alchemyChoices .choice-item { padding: 13px 16px; font-size: 0.95rem; }
    [data-portal="7"] .quest-card { padding: 16px 18px; }

    .portal-img-frame.guide-frame img {
      width: 100%;
      height: 100%;
      max-height: none;
      object-fit: cover;
      object-position: center 20%;
      border-radius: 15px;
    }

    
    .guide-hero-banner {
      position: relative;
      width: 100%;
      max-height: 220px;
      height: 220px;
      border-radius: 16px;
      overflow: hidden;
      margin: 8px 0 14px;
      border: 1px solid rgba(251, 191, 36, 0.4);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(251, 191, 36, 0.15);
      background: #090D16;
    }

    .guide-hero-banner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 15%;
      display: block;
    }

    .guide-hero-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 14px 16px 12px;
      background: linear-gradient(0deg, rgba(9, 13, 22, 0.98) 0%, rgba(9, 13, 22, 0.85) 60%, rgba(9, 13, 22, 0) 100%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      gap: 4px;
    }

    .guide-hero-overlay .guide-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(251, 191, 36, 0.2);
      border: 1px solid rgba(251, 191, 36, 0.6);
      color: #FDE047;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      padding: 3px 10px;
      border-radius: 20px;
      width: fit-content;
      backdrop-filter: blur(8px);
    }

    .guide-hero-overlay .guide-quote {
      font-size: 0.94rem;
      font-style: italic;
      color: #FEF08A;
      line-height: 1.38;
      margin: 0;
      text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    }

    
    .quest-card {
      background: var(--bg-card);
      border: 1px solid var(--bg-card-border);
      border-radius: var(--r);
      padding: 20px 18px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
      margin-bottom: 14px;
    }

    .quest-card p {
      font-size: 1.05rem;
      line-height: 1.68;
      color: #E5E7EB;
      margin-bottom: 14px;
    }

    .quest-card p:last-child {
      margin-bottom: 0;
    }

    .quest-card p.lead {
      font-size: 1.18rem;
      font-weight: 800;
      color: #FFFFFF;
      line-height: 1.4;
    }

    .quest-card strong {
      color: #FBBF24;
    }

    
    .btn-gold {
      width: 100%;
      background: var(--gold-gradient);
      color: #090B10;
      font-family: inherit;
      font-size: 1.08rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      padding: 20px 24px;
      border-radius: 14px;
      border: none;
      cursor: pointer;
      box-shadow: 0 8px 28px var(--gold-glow);
      transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      line-height: 1.35;
      margin-top: 14px;
      position: relative;
      overflow: hidden;
    }

    .btn-gold::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
      transform: rotate(30deg);
      animation: shimmer 3s infinite;
    }

    .btn-gold:hover {
      transform: translateY(-2px) scale(1.01);
      box-shadow: 0 12px 36px rgba(251, 191, 36, 0.7);
    }

    .btn-gold:active {
      transform: scale(0.985);
    }

    
    .btn-qualify-scan {
      animation: qualifyFlashing10s 10s steps(1) forwards;
    }

    @keyframes qualifyFlashing10s {
      0%   { background: #EF4444; color: #FFF; box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
      5%   { background: #F59E0B; color: #000; box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
      10%  { background: #EF4444; color: #FFF; box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
      15%  { background: #F59E0B; color: #000; box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
      20%  { background: #EF4444; color: #FFF; box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
      25%  { background: #F59E0B; color: #000; box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
      30%  { background: #EF4444; color: #FFF; box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
      35%  { background: #F59E0B; color: #000; box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
      40%  { background: #EF4444; color: #FFF; box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
      45%  { background: #F59E0B; color: #000; box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
      50%  { background: #EF4444; color: #FFF; box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
      55%  { background: #F59E0B; color: #000; box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
      60%  { background: #EF4444; color: #FFF; box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
      65%  { background: #F59E0B; color: #000; box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
      70%  { background: #EF4444; color: #FFF; box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
      75%  { background: #F59E0B; color: #000; box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
      80%  { background: #EF4444; color: #FFF; box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
      85%  { background: #F59E0B; color: #000; box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
      90%  { background: #EF4444; color: #FFF; box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
      95%  { background: #F59E0B; color: #000; box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
      100% { background: linear-gradient(135deg, #10B981 0%, #059669 100%); color: #FFF; box-shadow: 0 0 45px rgba(16, 185, 129, 0.95); }
    }

    @keyframes pulseGlowGreen {
      0% {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.8), 0 0 50px rgba(16, 185, 129, 0.35);
        transform: scale(1);
      }
      50% {
        box-shadow: 0 0 45px rgba(16, 185, 129, 1), 0 0 80px rgba(16, 185, 129, 0.65);
        transform: scale(1.02);
      }
      100% {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.8), 0 0 50px rgba(16, 185, 129, 0.35);
        transform: scale(1);
      }
    }

    
    body.keyboard-open #gameWrapper {
      padding-bottom: 60vh !important;
      transition: padding-bottom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    
    .game-input {
      width: 100%;
      background: rgba(10, 14, 22, 0.9);
      border: 1.5px solid rgba(251, 191, 36, 0.4);
      border-radius: 12px;
      padding: 18px 20px;
      font-size: 17px; 
      font-family: inherit;
      color: #FFFFFF;
      margin: 14px 0 18px;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      scroll-margin-top: 120px;
      scroll-margin-bottom: 280px;
    }

    .game-input:focus {
      outline: none;
      border-color: #FBBF24;
      background: rgba(15, 23, 42, 0.98);
      box-shadow: 0 0 25px rgba(251, 191, 36, 0.45);
    }

    .game-input::placeholder {
      color: #6B7280;
    }

    
    .choice-grid, .game-btn-stack {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 16px;
      width: 100%;
    }

    .choice-item, .game-btn {
      width: 100%;
      background: rgba(18, 24, 38, 0.9);
      border: 1.5px solid rgba(251, 191, 36, 0.35);
      border-radius: 14px;
      padding: 18px 20px;
      font-family: inherit;
      font-size: 1.02rem;
      font-weight: 700;
      color: #FFFFFF;
      cursor: pointer;
      text-align: left;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }

    .choice-item:hover, .game-btn:hover {
      border-color: #FBBF24;
      background: rgba(251, 191, 36, 0.15);
      color: #FBBF24;
      transform: translateX(4px);
      box-shadow: 0 0 22px rgba(251, 191, 36, 0.35);
    }

    .choice-item:active, .game-btn:active {
      transform: scale(0.985);
    }

    
    .offer-card {
      border: 2px solid rgba(255, 255, 255, 0.15);
      background: rgba(18, 24, 38, 0.9);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all 0.25s ease;
    }

    .offer-card.selected {
      border-color: #FBBF24;
      background: rgba(251, 191, 36, 0.15);
      box-shadow: 0 0 25px rgba(251, 191, 36, 0.3);
    }

    .offer-card:active {
      transform: scale(0.985);
    }

    .offer-card .offer-title {
      font-size: 1.15rem;
      font-weight: 900;
      color: #FFFFFF;
    }

    .offer-card.selected .offer-title {
      color: #FBBF24;
    }

    .offer-card .offer-desc {
      font-size: 0.9rem;
      color: #9CA3AF;
      margin-top: 4px;
    }

    .offer-price-tag {
      font-size: 1.4rem;
      font-weight: 900;
      color: #10B981;
      text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
      margin-left: 12px;
      white-space: nowrap;
    }

    
    .quest-card-white {
      background: #FFFFFF !important;
      border: 1.5px solid #E2E8F0 !important;
      border-radius: 20px;
      padding: 26px 20px;
      box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(251, 191, 36, 0.2);
      color: #111827 !important;
      margin-bottom: 18px;
    }

    .quest-card-white .lead {
      color: #0F172A !important;
      font-size: 1.22rem !important;
      font-weight: 900 !important;
      line-height: 1.35;
      text-align: center;
    }

    .quest-card-white .sub-text {
      color: #475569 !important;
      font-size: 0.95rem;
      text-align: center;
      margin-top: 6px;
      margin-bottom: 18px;
      line-height: 1.5;
    }

    
    .picture-choice-btn {
      width: 100%;
      background: #FFFFFF;
      border: 2px solid #E2E8F0;
      border-radius: 16px;
      padding: 16px;
      margin-bottom: 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 14px;
      text-align: left;
      transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
      position: relative;
    }

    .picture-choice-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .picture-choice-btn:active {
      transform: scale(0.985);
    }

    .choice-radio-indicator {
      width: 24px;
      height: 24px;
      min-width: 24px;
      border-radius: 50%;
      border: 2px solid #CBD5E1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 900;
      color: #FFFFFF;
      background: #FFFFFF;
      transition: all 0.2s ease;
    }

    .picture-choice-btn.choice-scarcity {
      border-color: #CBD5E1;
      background: #F8FAFC;
    }

    .picture-choice-btn.choice-scarcity.selected {
      border: 2.5px solid #EF4444;
      background: #FEF2F2;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2), 0 8px 25px rgba(239, 68, 68, 0.15);
    }

    .picture-choice-btn.choice-scarcity.selected .choice-radio-indicator {
      border-color: #EF4444;
      background: #EF4444;
      box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
    }

    .picture-choice-btn.choice-abundance {
      border: 2px solid #E2E8F0;
      background: #FFFFFF;
    }

    .picture-choice-btn.choice-abundance.selected {
      border: 3px solid #F59E0B;
      background: linear-gradient(180deg, #FFFDF5 0%, #FEF9C3 100%);
      box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3), 0 10px 30px rgba(245, 158, 11, 0.25);
    }

    .picture-choice-btn.choice-abundance.selected .choice-radio-indicator {
      border-color: #F59E0B;
      background: #F59E0B;
      box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
    }

    .picture-choice-btn.choice-abundance:hover {
      transform: translateY(-3px) scale(1.01);
      box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35);
      border-color: #D97706;
    }

    .picture-thumb {
      width: 76px;
      height: 76px;
      min-width: 76px;
      border-radius: 12px;
      object-fit: cover;
      display: block;
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .choice-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .choice-pill-tag {
      display: inline-block;
      align-self: flex-start;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      padding: 3px 8px;
      border-radius: 6px;
    }

    .choice-title {
      font-size: 1.08rem;
      font-weight: 900;
      color: #111827;
      line-height: 1.25;
    }

    .choice-desc {
      font-size: 0.92rem;
      color: #64748B;
      line-height: 1.4;
    }

    .choice-price {
      font-size: 1.45rem;
      font-weight: 900;
      white-space: nowrap;
      padding-left: 6px;
    }

    /* Etapa ESCOLHA O SEU DESTINO: conteúdo extra em largura total dentro dos mesmos cards */
    .picture-choice-btn.choice-wrap { flex-wrap: wrap; }
    .picture-choice-btn.choice-wrap .choice-content { flex: 1 1 0; min-width: 0; }
    .choice-extra {
      flex-basis: 100%;
      border-top: 1px solid rgba(0, 0, 0, 0.08);
      padding-top: 12px;
    }
    .choice-extra-title {
      font-size: 0.98rem;
      font-weight: 900;
      color: #854D0E;
      line-height: 1.3;
      margin-bottom: 8px;
    }
    .choice-list {
      list-style: none;
      margin: 8px 0 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }
    .choice-list li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 0.92rem;
      color: #334155;
      line-height: 1.4;
    }
    .choice-list li strong { color: #0F172A; font-weight: 800; }
    .choice-list-icon {
      font-weight: 900;
      min-width: 18px;
      text-align: center;
      line-height: 1.4;
    }
    .choice-extra-divider {
      height: 1px;
      background: rgba(245, 158, 11, 0.35);
      margin: 14px 0;
    }
    .btn-subline {
      display: block;
      font-size: 0.78em;
      font-weight: 800;
      opacity: 0.8;
      margin-top: 4px;
      letter-spacing: 0.5px;
    }

    
    .timer-container {
      background: rgba(239, 68, 68, 0.12);
      border: 1px solid rgba(239, 68, 68, 0.4);
      border-radius: 12px;
      padding: 12px 16px;
      margin: 16px 0;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .timer-digits {
      font-family: monospace;
      font-size: 1.4rem;
      font-weight: 900;
      color: #EF4444;
      letter-spacing: 2px;
      text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    }

    @media (max-width: 600px) {
      .main-heading { font-size: 1.75rem; }
      .pre-headline { font-size: 0.82rem; }
      .cta-button { width: 100%; padding: 18px 20px; font-size: 1rem; }
      .btn-gold { font-size: 0.98rem; padding: 18px 18px; }
      .hud-wordmark { font-size: 13px; }
      .resonance-value { font-size: 11px; }
    }

    
    .witness-scroll {
      background: linear-gradient(180deg, rgba(251,191,36,0.07) 0%, rgba(251,191,36,0.02) 100%);
      border: 1px solid rgba(251,191,36,0.28);
      border-radius: 14px;
      padding: 16px 14px 14px;
      margin: 14px 0;
      position: relative;
    }
    
    .witness-scroll::before,
    .witness-scroll::after {
      content: "";
      position: absolute;
      left: 14px; right: 14px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(251,191,36,0.65), transparent);
    }
    .witness-scroll::before { top: 7px; }
    .witness-scroll::after  { bottom: 7px; }

    .witness-scroll-title {
      font-family: 'Cinzel', serif;
      font-size: 0.86rem;
      font-weight: 900;
      letter-spacing: 0.13em;
      text-align: center;
      color: #FBBF24;
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .witness-card {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 12px 0;
      border-top: 1px solid rgba(251,191,36,0.16);
    }
    .witness-card:first-of-type { border-top: none; padding-top: 4px; }

    
    .witness-seal {
      flex: 0 0 34px;
      width: 34px; height: 34px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Cinzel', serif;
      font-size: 0.82rem;
      font-weight: 900;
      color: #78350F;
      background: radial-gradient(circle at 32% 28%, #FDE68A 0%, #FBBF24 45%, #B45309 100%);
      box-shadow: 0 2px 8px rgba(251,191,36,0.4), inset 0 -1px 3px rgba(120,53,15,0.5);
      margin-top: 2px;
    }

    .witness-body { flex: 1; min-width: 0; }

    .witness-name {
      font-family: 'Cinzel', serif;
      font-size: 0.98rem;
      font-weight: 900;
      color: #FDE68A;
      letter-spacing: 0.05em;
      line-height: 1.25;
      margin-bottom: 4px;
    }
    .witness-name span {
      display: block;
      font-family: 'Inter', sans-serif;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: #F59E0B;
      text-transform: uppercase;
      margin-top: 2px;
    }

    .witness-story {
      font-size: 0.92rem;
      line-height: 1.5;
      color: #E5E7EB;
      margin-bottom: 6px;
    }

    .witness-verse {
      font-size: 0.92rem;
      line-height: 1.45;
      font-style: italic;
      color: #FDE68A;
      border-left: 2px solid rgba(251,191,36,0.5);
      padding-left: 10px;
    }
    .witness-verse b {
      display: block;
      font-style: normal;
      font-weight: 800;
      font-size: 0.74rem;
      letter-spacing: 0.06em;
      color: #F59E0B;
      text-transform: uppercase;
      margin-top: 3px;
    }

    
    .witness-verdict {
      background: rgba(251,191,36,0.14);
      border: 1px solid rgba(251,191,36,0.45);
      border-radius: 12px;
      padding: 13px 15px;
      margin-top: 14px;
    }
    .witness-verdict p { margin-bottom: 8px; }
    .witness-verdict p:last-child { margin-bottom: 0; }

    @media (max-width: 380px) {
      .witness-seal { flex-basis: 28px; width: 28px; height: 28px; font-size: 0.72rem; }
      .witness-card { gap: 9px; }
    }

    .input-reassurance {
      font-size: 0.9rem;
      color: #9CA3AF;
      margin: 10px 0 0;
      text-align: center;
      line-height: 1.45;
    }
    .anchor-100x {
      color: #FBBF24;
      font-weight: 900;
      font-style: normal;
    }
    
    .seeker-count {
      display: inline-block;
      min-width: 2.2em;
      text-align: center;
      color: #FBBF24;
      font-weight: 900;
      font-variant-numeric: tabular-nums;
      transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), color 0.45s ease;
    }
    .seeker-count.up   { transform: translateY(-3px); color: #FCD34D; }
    .seeker-count.down { transform: translateY(3px);  color: #F59E0B; }

    
    .ascent-card {
      background: linear-gradient(180deg, rgba(20,25,38,0.96) 0%, rgba(13,17,27,0.96) 100%);
      border: 1px solid rgba(251,191,36,0.22);
      border-radius: 16px;
      padding: 18px 16px 16px;
      margin: 16px 0;
    }
    .ascent-head { text-align: center; margin-bottom: 16px; }
    .ascent-title {
      font-family: 'Cinzel', serif;
      font-size: 1.02rem;
      font-weight: 900;
      letter-spacing: 0.07em;
      color: #FBBF24;
      text-transform: uppercase;
    }
    .ascent-sub {
      font-size: 0.8rem;
      color: #8B95A5;
      margin-top: 3px;
      letter-spacing: 0.02em;
    }

    
    .ascent-ladder { display: flex; flex-direction: column; gap: 2px; }

    .ascent-step {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 13px 12px;
      border-radius: 10px;
      background: rgba(255,255,255,0.02);
      border: 1px solid transparent;
      position: relative;
    }
    
    .ascent-step:not(:last-child)::after {
      content: "";
      position: absolute;
      left: 17px; bottom: -2px;
      width: 1px; height: 4px;
      background: rgba(251,191,36,0.3);
    }

    .step-mark {
      flex: 0 0 11px;
      width: 11px; height: 11px;
      border-radius: 50%;
      margin-left: 6px;
      border: 2px solid;
    }
    .step-summit .step-mark { border-color: #34D399; background: rgba(52,211,153,0.25); }
    .step-slope  .step-mark { border-color: #F59E0B; background: rgba(245,158,11,0.2); }
    .step-valley .step-mark { border-color: #EF4444; background: #EF4444; }

    .step-body { flex: 1; min-width: 0; }
    .step-name {
      font-size: 0.95rem;
      font-weight: 800;
      color: #F3F4F6;
      line-height: 1.3;
      margin-bottom: 3px;
    }
    .step-desc { font-size: 0.88rem; color: #9CA3AF; line-height: 1.4; }


    
    .ascent-step.is-you {
      background: rgba(239,68,68,0.09);
      border-color: rgba(239,68,68,0.4);
    }

    .ascent-verdict {
      display: flex;
      align-items: center;
      gap: 13px;
      margin-top: 15px;
      padding-top: 14px;
      border-top: 1px solid rgba(251,191,36,0.18);
    }
    .ascent-verdict-num {
      flex: 0 0 auto;
      font-family: 'Cinzel', serif;
      font-size: 2rem;
      font-weight: 900;
      color: #FBBF24;
      line-height: 1;
      font-variant-numeric: tabular-nums;
    }
    .ascent-verdict-txt { font-size: 0.88rem; color: #D1D5DB; line-height: 1.45; }
    .ascent-verdict-txt strong { color: #FDE68A; }

    
    .road {
      border-radius: 12px;
      padding: 14px 10px;
      text-align: center;
      border: 1px solid;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .road-now  { background: rgba(239,68,68,0.07); border-color: rgba(239,68,68,0.3); }
    .road-next { background: rgba(251,191,36,0.09); border-color: rgba(251,191,36,0.45); }
    .road-tree {
      width: 52px; height: 52px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 auto 6px;
      display: block;
      border: 1px solid rgba(251,191,36,0.5);
    }
    .road-label {
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #9CA3AF;
      margin-bottom: 5px;
      line-height: 1.25;
    }
    .road-next .road-label { color: #FBBF24; }
    .road-note { font-size: 0.85rem; color: #9CA3AF; line-height: 1.35; }

    @media (max-width: 360px) {
      .step-desc { font-size: 0.85rem; }
    }

    
    .btn-qualify-scan.scan-red {
      background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%) !important;
      color: #FFFFFF !important;
      box-shadow: 0 0 34px rgba(220, 38, 38, 0.75) !important;
    }
    .btn-qualify-scan.scan-amber {
      background: linear-gradient(135deg, #F59E0B 0%, #B45309 100%) !important;
      color: #1F1300 !important;
      box-shadow: 0 0 34px rgba(245, 158, 11, 0.7) !important;
    }
    .btn-qualify-scan.scan-red,
    .btn-qualify-scan.scan-amber { transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease; }

    
    .ascent-step { position: relative; }
    .ascent-step.step-summit,
    .ascent-step.step-slope { opacity: 0.55; }

    .you-flag {
      flex: 0 0 auto;
      align-self: stretch;
      display: flex;
      align-items: center;
      text-align: center;
      font-size: 0.6rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      line-height: 1.25;
      color: #FFFFFF;
      background: #DC2626;
      border-radius: 7px;
      padding: 0 8px;
      white-space: nowrap;
    }

    
    .reach-block {
      margin-top: 16px;
      padding-top: 15px;
      border-top: 1px solid rgba(251,191,36,0.18);
    }
    .reach-label {
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #9CA3AF;
      text-align: center;
      margin-bottom: 12px;
    }

    .reach-dots {
      display: flex;
      justify-content: center;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 13px;
    }

    
    .measure {
      width: 20px;
      height: 26px;
      border-radius: 4px 4px 11px 11px;
      background: rgba(255,255,255,0.05);
      border: 1.5px solid rgba(156,163,175,0.35);
      display: block;
    }
    .measure.is-full {
      background: linear-gradient(180deg, #FDE68A 0%, #FBBF24 55%, #D97706 100%);
      border-color: #FBBF24;
      box-shadow: 0 0 14px rgba(251,191,36,0.55);
    }

    .reach-key {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px 16px;
      margin-bottom: 12px;
    }
    .key-item {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.76rem;
      color: #9CA3AF;
    }
    .key-swatch {
      width: 11px; height: 14px;
      border-radius: 2px 2px 6px 6px;
      background: rgba(255,255,255,0.05);
      border: 1.5px solid rgba(156,163,175,0.35);
    }
    .key-swatch.is-full {
      background: linear-gradient(180deg, #FDE68A 0%, #FBBF24 60%, #D97706 100%);
      border-color: #FBBF24;
    }

    .reach-sentence {
      font-size: 0.95rem;
      line-height: 1.5;
      color: #E5E7EB;
      text-align: center;
      margin: 0;
    }
    .reach-sentence strong { color: #FBBF24; }

    
    .road-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    .road-dots {
      display: flex;
      justify-content: center;
      gap: 3px;
      flex-wrap: wrap;
      margin: 9px 0 9px;
    }
    .road-dots .measure { width: 11px; height: 15px; border-radius: 2px 2px 6px 6px; border-width: 1.2px; }
    .road-dots .measure.is-full { box-shadow: 0 0 7px rgba(251,191,36,0.5); }
    .road-note strong { color: #F3F4F6; }
    .road-next .road-note strong { color: #FBBF24; }

    @media (max-width: 360px) {
      
      .measure { width: 15px; height: 21px; }
      .reach-dots { gap: 4px; }
      .road-dots .measure { width: 9px; height: 12px; }
      .you-flag { font-size: 0.55rem; padding: 0 6px; }
    }

    
    .portal-screen.screen-light {
      background: #FFFFFF;
      border-radius: 18px;
      padding: 22px 18px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    }
    .screen-light .quest-card {
      background: transparent;
      border: none;
      box-shadow: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      padding: 0;
    }
    
    .screen-light .quest-card p,
    .screen-light .quest-card li,
    .screen-light .quest-card span,
    .screen-light .quest-card strong { color: #334155 !important; }
    .screen-light .quest-card p.lead { color: #0F172A !important; font-weight: 800; }
    .screen-light .portal-header-tag {
      background: rgba(245, 158, 11, 0.14) !important;
      border-color: #F59E0B !important;
      color: #B45309 !important;
    }
    .screen-light .seeker-count { color: #B45309 !important; }
    .screen-light .seeker-count.up   { color: #D97706 !important; }
    .screen-light .seeker-count.down { color: #92400E !important; }
    
    .screen-light .quest-card li[style*="EF4444"],
    .screen-light .quest-card li[style*="EF4444"] strong { color: #DC2626 !important; }
    .screen-light .quest-card li[style*="10B981"],
    .screen-light .quest-card li[style*="10B981"] strong { color: #059669 !important; }
    .screen-light #scanStatusHeadline { color: #B45309 !important; }
    .screen-light #scanStatusSubtitle { color: #64748B !important; }
    .screen-light #scanRulesBox p { color: #B45309 !important; }
    .screen-light #scanRulesBox div[style*="F87171"],
    .screen-light #scanRulesBox div[style*="F87171"] span,
    .screen-light #scanRulesBox div[style*="F87171"] strong { color: #DC2626 !important; }
    .screen-light #scanRulesBox div[style*="34D399"],
    .screen-light #scanRulesBox div[style*="34D399"] span,
    .screen-light #scanRulesBox div[style*="34D399"] strong { color: #047857 !important; }
    .screen-light #qualifyTimerBox { color: #047857 !important; text-shadow: none !important; }

    
    .cta-spacer { display: none; }
    .cta-spacer.active { display: block; }

    .btn-gold.cta-fixed {
      position: fixed;
      left: 18px;
      right: 18px;
      bottom: 0;
      width: auto;
      max-width: 484px;
      margin: 0 auto;
      z-index: 70;
      border-radius: 16px 16px 0 0;
      
      padding-top: 18px !important;
      padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
      box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.55), 0 0 26px var(--gold-glow);
      animation: ctaFixedIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Digitando: o botão volta pro fluxo pra não cobrir o campo */
    body.input-focus .btn-gold.cta-fixed {
      position: relative; left: auto; right: auto; bottom: auto;
      width: 100%; border-radius: 16px; animation: none;
      padding-bottom: 18px !important;
    }
    body.input-focus .cta-spacer.active { display: none; }

    @keyframes ctaFixedIn {
      from { transform: translateY(100%); }
      to   { transform: translateY(0); }
    }

    
    .quiet-link-btn:active {
      color: #FBBF24 !important;
      opacity: 0.8;
    }

    
    @media (prefers-reduced-motion: reduce) {
      .btn-gold.cta-fixed { animation: none; }
    }

  
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

.checkout-link { display: block; text-align: center; text-decoration: none; }

.checkout-link[hidden] { display: none; }
