/* ============================================
      GLOBAL - ZELO  v6.4
      ✅ CORRIGIDO: Blog (.zb-container) EXCLUÍDO da regra
         de texto branco via :not() — o tema Aurora volta
         a aplicar cores, gradientes e layout próprios.
      © 2026 LITE STUDIO
      ============================================ */
 *, *::before, *::after {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }
 html, body {
     height: 100%;
     overflow: hidden !important;
     -webkit-overflow-scrolling: auto;
     overscroll-behavior: none;
 }
 html {
     font-size: 16px;
     -webkit-text-size-adjust: 100%;
     -webkit-user-select: text;
     -moz-user-select: text;
     -ms-user-select: text;
     user-select: text;
 }
 body {
     background: var(--bg-void);
     color: var(--text-primary);
     font-family: var(--font-main);
     -webkit-font-smoothing: antialiased;
     position: relative;
     -webkit-user-select: text;
     -moz-user-select: text;
     -ms-user-select: text;
     user-select: text;
     -webkit-touch-callout: default;
 }
 * { -webkit-touch-callout: default; }
 h1, h2, h3, h4, h5, h6, p, span, div, li, label, input, textarea, a {
     -webkit-user-select: text !important;
     -moz-user-select: text !important;
     -ms-user-select: text !important;
     user-select: text !important;
     -webkit-touch-callout: default !important;
 }
 button, [role="button"], .st-bottom-nav, .st-bottom-nav-item,
 .st-home-add-small, .st-home-clock-btn, .st-home-slide-delete, .st-home-empty-btn,
 .st-p2-btn, .st-p2-bio-edit, .st-p2-back, .st-p2-settings,
 .st-modal-btn, .st-home-dot, .st-install-btn, .st-install-btn-close,
 a.st-btn, .st-icon, svg {
     -webkit-user-select: none !important;
     -moz-user-select: none !important;
     -ms-user-select: none !important;
     user-select: none !important;
     -webkit-touch-callout: none !important;
     cursor: pointer;
 }
 input, textarea {
     -webkit-user-select: text !important;
     user-select: text !important;
     cursor: text;
     font-size: 16px !important;
     font-family: var(--font-main);
 }
 button, [role="button"], a:not(.st-copyable) { -webkit-tap-highlight-color: transparent; }
 body::before {
     content: '';
     position: fixed;
     inset: 0;
     background:
         radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
         radial-gradient(ellipse at 80% 70%, rgba(201, 169, 97, 0.02) 0%, transparent 50%);
     pointer-events: none;
     z-index: 0;
 }
 body::after {
     content: '';
     position: fixed;
     inset: 0;
     background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0px, rgba(0, 0, 0, 0.1) 1px, transparent 1px, transparent 3px);
     pointer-events: none;
     z-index: 0;
     opacity: 0.2;
 }
 #app {
     width: 100%;
     height: 100%;
     position: relative;
     z-index: 2;
     background: var(--bg-primary);
     display: flex;
     flex-direction: column;
     overflow: hidden;
 }
 @media (min-width: 600px) {
     #app {
         max-width: 480px;
         margin-left: auto;
         margin-right: auto;
         border-left: 1px solid var(--border-default);
         border-right: 1px solid var(--border-default);
         box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
     }
 }
 .st-auth-container, .st-home-container, .st-setup-container, .st-timer-container,
 .st-profile-container, .st-ach-container, .st-privacy-container, .st-p2-container {
     position: fixed !important;
     top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
     z-index: 2;
     display: flex;
     flex-direction: column;
     overflow: hidden !important;
     background: rgba(0, 0, 0, 0.3);
     animation: fadeIn 0.6s var(--ease-out);
 }
 @media (min-width: 600px) {
     .st-auth-container, .st-home-container, .st-setup-container, .st-timer-container,
     .st-profile-container, .st-ach-container, .st-privacy-container, .st-p2-container {
         left: 50% !important;
         transform: translateX(-50%);
         max-width: 480px;
     }
 }
 .st-scroll-content {
     flex: 1;
     overflow-y: auto !important;
     overflow-x: hidden !important;
     -webkit-overflow-scrolling: touch;
     overscroll-behavior: contain;
     touch-action: pan-y;
     min-height: 0;
     padding: 20px;
     padding-top: calc(20px + env(safe-area-inset-top, 20px));
     padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
 }
 .st-scroll-content::-webkit-scrollbar { width: 6px; }
 .st-scroll-content::-webkit-scrollbar-track { background: transparent; }
 .st-scroll-content::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
 h1, h2, h3, h4 {
     font-family: var(--font-display);
     font-weight: 600;
     letter-spacing: 0.08em;
     text-transform: uppercase;
     line-height: 1.1;
     color: var(--text-primary);
 }
 h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
 h2 { font-size: clamp(1.5rem, 4vw, 1.8rem); }
 h3 { font-size: clamp(1.1rem, 3vw, 1.3rem); }
 p { color: var(--text-secondary); line-height: 1.5; }
 a { color: var(--accent); text-decoration: none; }
 ::-webkit-scrollbar { width: 6px; }
 ::-webkit-scrollbar-track { background: var(--bg-primary); }
 ::-webkit-scrollbar-thumb { background: var(--metal); border-radius: 2px; }
 .st-hidden { display: none !important; }
 .st-fade-in { animation: stFadeIn 0.5s ease forwards; }
 @keyframes stFadeIn {
     from { opacity: 0; transform: translateY(10px); }
     to { opacity: 1; transform: translateY(0); }
 }
 @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
 .st-loading-screen {
     display: flex; flex-direction: column; align-items: center; justify-content: center;
     height: 100%; gap: 20px; z-index: 10; flex: 1;
 }
 .st-loading-spinner {
     width: 50px; height: 50px;
     border: 2px solid var(--metal);
     border-top-color: var(--accent);
     border-right-color: var(--accent);
     clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
     animation: stSpin 1s linear infinite;
 }
 @keyframes stSpin { to { transform: rotate(360deg); } }
 .st-loading-text {
     font-family: var(--font-mono);
     font-size: 0.75rem;
     color: var(--text-tertiary);
     letter-spacing: 0.2em;
     text-transform: uppercase;
 }
 ::selection { background: var(--accent); color: var(--bg-void); }
 .st-bottom-nav {
     position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
     width: 100%; max-width: 480px;
     background: rgba(10, 10, 10, 0.85);
     backdrop-filter: blur(12px);
     -webkit-backdrop-filter: blur(12px);
     border-top: 2px solid var(--border-default);
     display: flex; justify-content: space-around;
     padding: 10px 0;
     padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
     z-index: 100;
 }
 @media (min-width: 600px) {
     .st-bottom-nav { border-left: 1px solid var(--border-default); border-right: 1px solid var(--border-default); }
 }
 .st-bottom-nav-item {
     flex: 1; background: transparent; border: none;
     color: var(--text-muted);
     display: flex; flex-direction: column; align-items: center; gap: 4px;
     padding: 6px 4px; transition: all 0.2s ease;
     font-family: var(--font-display); font-size: 0.7rem;
     letter-spacing: 0.15em; text-transform: uppercase;
 }
 .st-bottom-nav-item.active { color: var(--accent); }
 .st-bottom-nav-item.active .st-icon { filter: drop-shadow(0 0 6px var(--gold-glow)); }
 .st-bottom-nav-item .st-icon { width: 22px; height: 22px; }
 .st-toast {
     position: fixed;
     top: max(20px, env(safe-area-inset-top, 20px));
     left: 50%; transform: translateX(-50%);
     min-width: 280px; max-width: 90%;
     padding: 14px 20px;
     background: var(--bg-card);
     border: 1.5px solid var(--border-strong);
     color: var(--text-primary);
     display: flex; align-items: center; gap: 12px;
     z-index: 1000;
     font-family: var(--font-main); font-size: 0.9rem; font-weight: 600;
     clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
     animation: stToastIn 0.3s ease;
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
 }
 .st-toast.success { border-color: var(--accent); }
 .st-toast.info { border-color: var(--accent-border); }
 .st-toast.warning { border-color: var(--warning); }
 .st-toast.error { border-color: var(--danger); }
 @keyframes stToastIn {
     from { opacity: 0; transform: translate(-50%, -20px); }
     to { opacity: 1; transform: translate(-50%, 0); }
 }
 .st-toast-icon { display: flex; flex-shrink: 0; }
 .st-toast-icon .st-icon { width: 18px; height: 18px; }
 .st-modal-overlay {
     position: fixed; inset: 0;
     background: rgba(0, 0, 0, 0.85);
     backdrop-filter: blur(8px);
     -webkit-backdrop-filter: blur(8px);
     display: flex; align-items: center; justify-content: center;
     z-index: 1000; padding: 20px;
 }
 .st-modal {
     width: 100%; max-width: 360px;
     background: var(--bg-card);
     border: 2px solid var(--border-strong);
     padding: 28px 24px; text-align: center;
     clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
     animation: modalSlideIn 0.4s ease;
     max-height: 90vh; overflow-y: auto;
 }
 @keyframes modalSlideIn {
     from { opacity: 0; transform: translateY(20px) scale(0.95); }
     to { opacity: 1; transform: translateY(0) scale(1); }
 }
 .st-modal-icon { width: 60px; height: 60px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
 .st-modal-title {
     font-family: var(--font-display); font-size: 1.4rem;
     color: var(--text-primary); margin-bottom: 12px;
     letter-spacing: 0.1em; text-transform: uppercase;
 }
 .st-modal-text { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
 .st-modal-actions { display: flex; gap: 10px; }
 .st-modal-btn {
     flex: 1; padding: 14px;
     border: 2px solid var(--border-default); background: transparent;
     color: var(--text-primary);
     font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
     letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer;
     transition: all 0.2s ease;
     clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
 }
 .st-modal-btn-cancel:hover { background: var(--metal); }
 .st-modal-btn-confirm { background: var(--accent); color: var(--bg-void); border-color: var(--accent); }
 .st-modal-btn-confirm:hover { background: var(--accent-light); }
 .st-modal-btn-danger { background: var(--danger); border-color: var(--danger); }
 .st-achievement-img { border-radius: 50%; object-fit: cover; display: block; pointer-events: none; }
 .st-achievement-fallback {
     display: flex; align-items: center; justify-content: center;
     background: var(--bg-elevated); border: 1px solid var(--border-default);
     border-radius: 50%; color: var(--accent-light);
     font-family: var(--font-display); font-weight: 700;
 }
 .st-global-particles {
     position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
     pointer-events: none; z-index: 1; opacity: 1; transition: opacity 0.3s ease;
 }
 .st-install-prompt {
     position: fixed;
     bottom: calc(90px + env(safe-area-inset-bottom, 0px));
     left: 50%; transform: translateX(-50%);
     width: calc(100% - 24px); max-width: 460px;
     background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
     border: 2px solid var(--accent);
     border-radius: 12px; padding: 16px 20px;
     display: flex; align-items: center; gap: 14px;
     z-index: 500;
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-glow);
     animation: installPromptSlideIn 0.5s var(--ease-out);
     clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
 }
 @keyframes installPromptSlideIn {
     from { opacity: 0; transform: translateX(-50%) translateY(100px); }
     to { opacity: 1; transform: translateX(-50%) translateY(0); }
 }
 .st-install-prompt.hiding { animation: installPromptSlideOut 0.4s ease forwards; }
 @keyframes installPromptSlideOut { to { opacity: 0; transform: translateX(-50%) translateY(100px); } }
 .st-install-icon {
     width: 48px; height: 48px;
     background: linear-gradient(135deg, var(--metal) 0%, var(--bg-card) 100%);
     border: 2px solid var(--accent);
     display: flex; align-items: center; justify-content: center;
     color: var(--accent); flex-shrink: 0;
     clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
     box-shadow: 0 0 15px var(--accent-glow);
 }
 .st-install-icon .st-icon, .st-install-icon svg { width: 24px; height: 24px; }
 .st-install-text { flex: 1; min-width: 0; }
 .st-install-title {
     font-family: var(--font-display); font-size: 1rem; font-weight: 600;
     color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px;
 }
 .st-install-desc { font-family: var(--font-main); font-size: 0.8rem; color: var(--text-secondary); line-height: 1.3; }
 .st-install-actions { display: flex; gap: 8px; flex-shrink: 0; }
 .st-install-btn {
     padding: 10px 16px; background: var(--accent); color: var(--bg-void); border: none;
     font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
     letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer;
     transition: all 0.2s ease;
     clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
     box-shadow: 0 0 12px var(--accent-glow);
 }
 .st-install-btn:hover { background: var(--accent-light); box-shadow: 0 0 20px var(--accent-glow); }
 .st-install-btn-close {
     width: 32px; height: 32px; background: transparent;
     border: 1.5px solid var(--border-strong); color: var(--text-muted);
     display: flex; align-items: center; justify-content: center;
     cursor: pointer; transition: all 0.2s ease; font-size: 1.2rem; border-radius: 6px;
 }
 .st-install-btn-close:hover { background: var(--danger); border-color: var(--danger); color: #FFF; }
 @media (display-mode: standalone) { .st-install-prompt { display: none !important; } }
 @media (max-width: 380px) {
     .st-install-prompt { padding: 14px 16px; gap: 10px; }
     .st-install-icon { width: 40px; height: 40px; }
     .st-install-title { font-size: 0.9rem; }
     .st-install-desc { font-size: 0.75rem; }
     .st-install-btn { padding: 8px 12px; font-size: 0.75rem; }
 }
 * { -webkit-tap-highlight-color: transparent !important; }
 button, .st-btn, a { -webkit-tap-highlight-color: transparent !important; }
 button:active, .st-btn:active { transform: scale(0.96); opacity: 0.85; }
 .st-home-container,
 .st-profile-container .st-p2-scroll,
 .st-ach-container .st-ach-scroll-content,
 .st-timer-container .st-timer-scroll-content,
 .st-setup-container .st-setup-scroll-content,
 .st-privacy-container .st-privacy-scroll-content {
     padding-bottom: calc(80px + env(safe-area-inset-bottom, 10px)) !important;
 }
 @media (max-width: 380px) {
     .st-home-container,
     .st-profile-container .st-p2-scroll,
     .st-ach-container .st-ach-scroll-content,
     .st-timer-container .st-timer-scroll-content,
     .st-setup-container .st-setup-scroll-content,
     .st-privacy-container .st-privacy-scroll-content {
         padding-bottom: calc(70px + env(safe-area-inset-bottom, 8px)) !important;
     }
 }
 /* ============================================================
    ⚪ TEXTO BRANCO GLOBAL — ZELO v6.4
    ✅ CORRIGIDO: tudo DENTRO de .zb-container (Blog Aurora)
    fica EXCLUÍDO via :not() — o blog mantém seu tema próprio.
    ============================================================ */
 h1:not(.zb-container *), h2:not(.zb-container *), h3:not(.zb-container *),
 h4:not(.zb-container *), h5:not(.zb-container *), h6:not(.zb-container *),
 p:not(.zb-container *), span:not(.zb-container *), li:not(.zb-container *),
 label:not(.zb-container *), small:not(.zb-container *), strong:not(.zb-container *),
 em:not(.zb-container *), b:not(.zb-container *), i:not(.zb-container *), u:not(.zb-container *),
 div:not(.zb-container):not(.zb-container *), a:not(.zb-container *),
 button:not(.zb-container *), input:not(.zb-container *), textarea:not(.zb-container *),
 select:not(.zb-container *), td:not(.zb-container *), th:not(.zb-container *),
 dt:not(.zb-container *), dd:not(.zb-container *), figcaption:not(.zb-container *),
 blockquote:not(.zb-container *), cite:not(.zb-container *), time:not(.zb-container *),
 output:not(.zb-container *) {
     color: #FFFFFF !important;
 }
 .st-icon { color: #C9A961 !important; }
 .st-home-clock-btn .st-icon, .st-home-empty-btn .st-icon, .st-home-add-small .st-icon,
 .st-setup-create-btn .st-icon, .st-install-btn .st-icon, .st-chat-send-btn .st-icon,
 .st-modal-btn-confirm .st-icon, .st-auth-google-btn .st-icon {
     color: #000000 !important;
 }
 .st-timer-reset-btn .st-icon, .st-home-slide-delete .st-icon,
 .st-ban-icon, .st-ban-icon svg, .st-empty-state-icon, .st-empty-state-icon .st-icon,
 .st-modal-btn-danger .st-icon, .st-install-btn-close .st-icon {
     color: #EF4444 !important;
 }
 .st-home-clock-btn, .st-home-empty-btn, .st-home-add-small,
 .st-setup-create-btn, .st-install-btn, .st-chat-send-btn,
 .st-modal-btn-confirm, .st-auth-google-btn,
 .st-blog-category-btn.active, .st-blog-post-category,
 .st-p2-level-badge, .st-ach-node-check {
     color: #000000 !important;
 }
 input::placeholder, textarea::placeholder {
     color: rgba(255, 255, 255, 0.35) !important;
 }
 .st-bottom-nav-item.active { color: #FFFFFF !important; }