/* === DESIGN SYSTEM — Desansiedade === */
:root {
  --primary: #10B981;
  --secondary: #059669;
  --accent: #6EE7B7;
  --bg: #050A08;
  --bg2: #0D1A14;
  --bg3: #122018;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.5);
  --text-dim: rgba(255,255,255,0.25);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --font: -apple-system, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --nav-h: 68px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes bounceIn {
  0%   { transform: scale(0.3); opacity: 0; }
  55%  { transform: scale(1.08); opacity: 1; }
  80%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes floatUp {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
@keyframes staggerIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%  { transform: scale(1.1); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.07); }
  70%  { transform: scale(1); }
}

/* === SPLASH SCREEN === */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  background: radial-gradient(ellipse at 50% 40%, #0a2a1a 0%, var(--bg) 70%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
.splash-content {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 32px 24px; max-width: 320px; width: 100%;
}
.splash-logo {
  width: 96px; height: 96px; margin-bottom: 24px;
  animation: bounceIn 0.7s ease 0.1s both, heartbeat 2.5s ease 1.2s infinite;
  filter: drop-shadow(0 0 24px rgba(16,185,129,0.5));
}
.splash-title {
  font-size: 22px; font-weight: 800; line-height: 1.2;
  color: #fff; margin-bottom: 10px;
  animation: fadeInUp 0.6s ease 0.5s both;
}
.splash-tagline {
  font-size: 13px; color: var(--accent); font-weight: 500; letter-spacing: 0.5px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.7s both;
}
.splash-progress-bar {
  width: 100%; height: 3px; background: rgba(255,255,255,0.1);
  border-radius: 99px; overflow: hidden; margin-bottom: 16px;
  animation: fadeIn 0.4s ease 0.9s both;
}
.splash-progress-fill {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
  transition: width 0.05s linear;
}
.splash-loading {
  font-size: 11px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase;
  animation: pulse 1.5s ease 1s infinite;
}

/* === APP SHELL === */
.app-shell {
  display: flex; flex-direction: column;
  height: 100vh; height: 100dvh;
  max-width: 480px; margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* === CONTENT AREA === */
.content-area {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding-bottom: calc(72px + 32px + env(safe-area-inset-bottom, 0px));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.content-area::-webkit-scrollbar { width: 0; }

/* === BOTTOM NAVIGATION — Floating Pill === */
.bottom-nav {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: rgba(13, 20, 18, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.55);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px;
  z-index: 100;
}
.tab-btn {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.tab-btn:active { transform: scale(0.88); }
.nav-indicator {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(16,185,129,0.35);
  transform: scale(0.45);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
  pointer-events: none;
}
.tab-btn.active .nav-indicator { transform: scale(1); opacity: 1; }
.tab-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
}
.tab-icon-ms {
  font-size: 22px;
  color: rgba(255,255,255,0.32);
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  transition: color 0.2s, font-variation-settings 0.2s;
  user-select: none;
}
.tab-btn.active .tab-icon-ms {
  color: var(--bg);
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* === GLASS CARD === */
.glass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
}
.glass-card:hover { border-color: rgba(16,185,129,0.3); }

/* === SECTION HEADER === */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 16px 12px;
}
.section-title {
  font-size: 17px; font-weight: 700;
  background: linear-gradient(90deg, #fff 60%, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.see-all {
  font-size: 13px; font-weight: 600; color: var(--primary);
  background: none; border: none; cursor: pointer; padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: background 0.2s;
}
.see-all:hover { background: rgba(16,185,129,0.12); }

/* === HOME === */
.home-container { padding-bottom: 8px; }
.hero-section {
  padding: 40px 24px 24px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(16,185,129,0.12) 0%, transparent 65%);
}
.logo-small {
  width: 64px; height: 64px; margin: 0 auto 16px;
  animation: heartbeat 2.5s ease infinite;
  filter: drop-shadow(0 0 12px rgba(16,185,129,0.4));
}
.hero-title {
  font-size: 20px; font-weight: 800; line-height: 1.25;
  margin-bottom: 12px; color: #fff;
}
.hero-quote {
  font-size: 14px; color: var(--accent); font-style: italic;
  line-height: 1.6; max-width: 280px; margin: 0 auto;
  animation: fadeIn 0.8s ease both;
}
.quick-actions {
  display: flex; gap: 10px; padding: 16px 16px 8px;
}
.quick-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 11px; font-weight: 600;
  transition: all 0.2s; cursor: pointer;
}
.quick-btn:hover { background: rgba(16,185,129,0.16); border-color: rgba(16,185,129,0.4); }
.quick-btn:active { transform: scale(0.95); }
.quick-icon { font-size: 20px; }
.news-preview { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.install-btn {
  display: block; width: calc(100% - 32px); margin: 16px;
  padding: 14px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(16,185,129,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.install-btn:active { transform: scale(0.97); }

/* === ORDER BUMP === */
.order-bump {
  display: block; margin: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16,185,129,0.3);
  overflow: hidden;
  background: var(--bg2);
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.order-bump:active { transform: scale(0.98); }
.order-bump:hover { border-color: rgba(16,185,129,0.6); }
.order-bump-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 99px;
}
.order-bump-img { width: 100%; height: 160px; object-fit: cover; opacity: 0.9; }
.order-bump-info {
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.order-bump-info strong { font-size: 14px; font-weight: 700; color: #fff; }
.order-bump-cta {
  font-size: 12px; font-weight: 700; color: var(--primary);
  white-space: nowrap;
}

/* === VIDEO CARDS === */
.videos-container { padding: 0 0 8px; }
.video-card {
  margin: 0 16px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden; cursor: pointer;
  animation: staggerIn 0.4s ease both;
  transition: border-color 0.2s, transform 0.15s;
}
.video-card:hover { border-color: rgba(16,185,129,0.3); }
.video-card:active { transform: scale(0.98); }
.video-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--bg3);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-play-btn svg { width: 52px; height: 52px; }
.video-info { padding: 12px 14px; }
.video-channel { font-size: 11px; color: var(--primary); font-weight: 600; margin-bottom: 4px; }
.video-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.video-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* === VIDEO MODAL === */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.9);
  display: flex; flex-direction: column;
  animation: fadeIn 0.2s ease;
}
.modal-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; flex-shrink: 0;
}
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; cursor: pointer;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }
.modal-title {
  font-size: 14px; font-weight: 600; line-height: 1.4;
  flex: 1; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.modal-video-wrap {
  position: relative; aspect-ratio: 16/9; flex-shrink: 0;
  background: #000;
}
.modal-video-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.modal-body { flex: 1; overflow-y: auto; padding: 16px; }
.modal-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* === PODCAST === */
.podcast-container { padding: 0 0 8px; }
.podcast-card {
  margin: 0 16px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  animation: staggerIn 0.4s ease both;
  transition: border-color 0.2s, transform 0.15s;
}
.podcast-card:active { transform: scale(0.98); }
.podcast-card:hover { border-color: rgba(16,185,129,0.3); }
.podcast-thumb-wrap {
  position: relative; height: 160px; overflow: hidden;
  background: var(--bg3);
}
.podcast-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity 0.2s; }
.podcast-card:hover .podcast-thumb-wrap img { opacity: 0.85; }
.podcast-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: background 0.2s;
}
.podcast-card:hover .podcast-play-overlay { background: rgba(0,0,0,0.15); }
.podcast-play-overlay .material-symbols-outlined {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  transition: transform 0.2s;
}
.podcast-card:hover .podcast-play-overlay .material-symbols-outlined { transform: scale(1.1); }
.podcast-duration-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.75); color: var(--accent);
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 99px;
}
.podcast-info { padding: 14px; }
.podcast-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.podcast-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* === EBOOK === */
.ebook-container { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.ebook-progress-bar { height: 3px; background: rgba(255,255,255,0.08); flex-shrink: 0; }
.ebook-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: width 0.4s ease;
}
/* Top bar: ‹ | X/10 | Índice | › */
.ebook-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ebook-nav-arrow {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted); transition: all 0.2s;
}
.ebook-nav-arrow:disabled { opacity: 0.2; cursor: not-allowed; }
.ebook-nav-arrow:not(:disabled):active { background: rgba(16,185,129,0.15); color: var(--primary); }
.ebook-chapter-count { flex: 1; text-align: center; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.ebook-menu-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 7px 13px; border-radius: 99px;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25);
  color: var(--primary); font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.ebook-menu-btn:active { background: rgba(16,185,129,0.2); }
/* Reader area */
.ebook-reader { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ebook-reader::-webkit-scrollbar { width: 0; }
.chapter-illustration { width: 100%; overflow: hidden; }
.chapter-illustration svg { display: block; width: 100% !important; height: auto !important; max-height: 180px; }
.chapter-title {
  font-size: 20px; font-weight: 800; margin: 20px 20px 16px; line-height: 1.3;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ebook-reader h2 {
  font-size: 15px; font-weight: 700; color: var(--accent);
  margin: 20px 20px 10px; line-height: 1.4;
}
.ebook-reader p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.88); margin: 0 20px 14px; }
.ebook-reader ul { margin: 8px 20px 16px; }
.ebook-reader ul li {
  font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.7;
  padding: 6px 0 6px 20px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ebook-reader ul li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
}
/* Bottom nav inside reader */
.ebook-reader-nav {
  display: flex; gap: 8px; padding: 16px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.06); margin-top: 8px;
}
.ebook-nav-btn {
  flex: 1; padding: 11px;
  border-radius: var(--radius-xs); font-size: 13px; font-weight: 700;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2);
  color: var(--primary); cursor: pointer; transition: all 0.2s;
}
.ebook-nav-btn.center { background: var(--primary); color: var(--bg); border-color: var(--primary); flex: 0.8; }
.ebook-nav-btn:active { background: rgba(16,185,129,0.2); }
.ebook-nav-btn.center:active { background: var(--secondary); }
.ebook-nav-btn:disabled { opacity: 0.25; cursor: not-allowed; }
/* Menu / Index view */
.ebook-menu-container { display: flex; flex-direction: column; height: 100%; }
.ebook-menu-header {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0;
}
.ebook-back-btn {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text); transition: all 0.2s;
  font-size: 20px; line-height: 1;
}
.ebook-back-btn:active { background: rgba(16,185,129,0.1); color: var(--primary); }
.ebook-menu-title { font-size: 15px; font-weight: 800; }
.ebook-menu-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.ebook-chapter-index { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ebook-chapter-index::-webkit-scrollbar { width: 0; }
.chapter-index-item {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: none; cursor: pointer; text-align: left;
  transition: background 0.15s;
}
.chapter-index-item:active { background: rgba(255,255,255,0.04); }
.chapter-index-item.active { background: rgba(16,185,129,0.07); }
.chapter-index-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--text-muted);
}
.chapter-index-item.active .chapter-index-num {
  background: var(--primary); border-color: var(--primary); color: var(--bg);
}
.chapter-index-item.read:not(.active) .chapter-index-num {
  border-color: rgba(16,185,129,0.4); color: var(--accent);
}
.chapter-index-info { flex: 1; min-width: 0; }
.chapter-index-title {
  font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.chapter-index-item.active .chapter-index-title { color: var(--accent); }
.chapter-index-badge {
  font-size: 10px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px;
}
.chapter-current-icon { color: var(--primary); font-size: 18px; flex-shrink: 0; }

/* === NEWS === */
.news-container { padding: 0 0 8px; }
.news-card {
  margin: 0 16px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden; cursor: pointer;
  animation: staggerIn 0.4s ease both;
  transition: border-color 0.2s, transform 0.15s;
}
.news-card:hover { border-color: rgba(16,185,129,0.3); }
.news-card:active { transform: scale(0.98); }
.news-hero { height: 140px; overflow: hidden; background: var(--bg3); }
.news-hero svg { display: block; width: 100% !important; height: 100% !important; }
.news-meta {
  padding: 12px 14px 8px;
  display: flex; align-items: center; gap: 8px;
}
.news-category {
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  background: rgba(16,185,129,0.15); color: var(--primary);
  padding: 3px 8px; border-radius: 99px;
}
.news-date { font-size: 11px; color: var(--text-dim); }
.news-read-time { font-size: 11px; color: var(--text-dim); margin-left: auto; }
.news-card-title {
  padding: 0 14px 8px; font-size: 15px; font-weight: 700; line-height: 1.4;
}
.news-lead {
  padding: 0 14px 14px; font-size: 13px; color: var(--text-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* NEWS CARD COMPACT (home preview) */
.news-preview-card {
  display: flex; gap: 12px; padding: 12px;
  background: var(--bg2); border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer; transition: border-color 0.2s;
}
.news-preview-card:hover { border-color: rgba(16,185,129,0.25); }
.news-preview-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.news-preview-thumb svg { width: 100%; height: 100%; }
.news-preview-info { flex: 1; min-width: 0; }
.news-preview-cat { font-size: 10px; font-weight: 700; color: var(--primary); margin-bottom: 4px; text-transform: uppercase; }
.news-preview-title { font-size: 13px; font-weight: 700; line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-preview-date { font-size: 11px; color: var(--text-dim); }

/* === ARTICLE MODAL === */
.article-modal {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column;
  animation: slideUp 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.article-modal-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.article-modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: #fff; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background 0.2s;
}
.article-modal-close:hover { background: rgba(255,255,255,0.14); }
.article-modal-meta { flex: 1; }
.article-modal-cat { font-size: 11px; font-weight: 700; color: var(--primary); margin-bottom: 2px; text-transform: uppercase; }
.article-modal-info { font-size: 11px; color: var(--text-dim); }
.article-modal-body { flex: 1; overflow-y: auto; padding: 20px; -webkit-overflow-scrolling: touch; }
.article-modal-body::-webkit-scrollbar { width: 0; }
.article-hero { height: 180px; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 20px; }
.article-hero svg { width: 100%; height: 100%; }
.article-title { font-size: 20px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.article-lead { font-size: 15px; color: var(--accent); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.article-modal-body h2 { font-size: 16px; font-weight: 700; color: var(--accent); margin: 24px 0 10px; }
.article-modal-body p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.article-modal-body ul { margin: 8px 0 16px 0; }
.article-modal-body ul li {
  font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.7;
  padding: 5px 0 5px 18px; position: relative;
}
.article-modal-body ul li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
}

/* === TOAST === */
.toast {
  background: rgba(16,185,129,0.9); color: #fff;
  padding: 10px 20px; border-radius: 99px;
  font-size: 13px; font-weight: 600;
  animation: fadeInUp 0.3s ease, fadeOut 0.3s ease 1.7s forwards;
  white-space: nowrap;
}
