/* ==========================================================================
   TALEFLOW — MODERN VIRAL NOVEL & STORY MONETIZATION PLATFORM
   Designed for supreme reading comfort, high retention, and elegant monetization.
   Zero resemblance to outdated, cluttered clickbait portals.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,500;0,7..72,600;0,7..72,700;1,7..72,400&family=Merriweather:ital,wght@0,300;0,400;0,700;1,400&display=swap');

/* ==========================================================================
   DESIGN TOKENS & COLOR THEMES
   ========================================================================== */
:root {
  /* Default: Clean Modern Editorial (Light Theme) */
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-hover: #f1f5f9;
  --bg-elevated: #ffffff;

  --text-title: #0b1329;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: #6366f1;

  /* Modern Royal Accent: Indigo Violet & Sunset Glow */
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-soft: rgba(99, 102, 241, 0.08);
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --accent-glow: rgba(99, 102, 241, 0.25);

  --success: #10b981;
  --warning: #f59e0b;

  /* Native Sponsored Ad Styling (Tinh tế, sang trọng, không dùng viền vàng đứt nét) */
  --ad-bg: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --ad-border: rgba(99, 102, 241, 0.16);
  --ad-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
  --ad-badge-bg: rgba(99, 102, 241, 0.08);
  --ad-badge-color: #6366f1;

  /* ==========================================================================
     FLUID AUTO-SCALING TYPOGRAPHY TOKENS (TỰ ĐỘNG CO GIÃN THEO MÀN HÌNH)
     Tất cả font chữ, khoảng cách tự động điều chỉnh mượt mà theo clamp()
     ========================================================================== */
  --font-2xs: clamp(0.68rem, 0.62rem + 0.2vw, 0.76rem);   /* ~10px - 12px */
  --font-xs: clamp(0.75rem, 0.7rem + 0.22vw, 0.85rem);    /* ~11px - 13.5px */
  --font-sm: clamp(0.84rem, 0.78rem + 0.28vw, 0.95rem);   /* ~12.5px - 15px */
  --font-base: clamp(0.92rem, 0.86rem + 0.32vw, 1.05rem); /* ~14px - 16.8px */
  --font-md: clamp(1.05rem, 0.96rem + 0.45vw, 1.25rem);   /* ~16px - 20px */
  --font-lg: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);     /* ~18px - 24.5px */
  --font-xl: clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem);     /* ~21px - 31px */
  --font-2xl: clamp(1.65rem, 1.3rem + 1.6vw, 2.45rem);    /* ~25px - 39px */
  --font-3xl: clamp(1.95rem, 1.5rem + 2.2vw, 3.2rem);     /* ~29px - 51px */

  /* Fluid Spacing & Radius */
  --gap-xs: clamp(4px, 0.5vw, 8px);
  --gap-sm: clamp(8px, 0.9vw, 14px);
  --gap-md: clamp(12px, 1.4vw, 20px);
  --gap-lg: clamp(18px, 2vw, 32px);
  --radius-sm: clamp(8px, 0.8vw, 12px);
  --radius-md: clamp(12px, 1.2vw, 18px);
  --radius-lg: clamp(16px, 1.6vw, 24px);

  /* Reader Typography: Chuẩn hóa 100% cho Tiếng Việt */
  --reader-font-size: clamp(17px, 1.05rem + 0.4vw, 21px);
  --reader-line-height: 1.88;
  --reader-font: 'Literata', 'Merriweather', Georgia, serif;
  --ui-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --content-max-width: 740px;
}

/* 📜 Warm Sepia / Kindle Paperback Theme */
body.theme-sepia {
  --bg-app: #f7f1e5;
  --bg-surface: #fffdf7;
  --bg-card: #fffdf7;
  --bg-hover: #ede4d1;
  --bg-elevated: #fffcf4;

  --text-title: #2b221b;
  --text-body: #473a30;
  --text-muted: #786657;
  --text-faint: #a18e7e;

  --border: #ebdcc4;
  --border-light: #f2e7d3;
  --border-focus: #c26a1b;

  --accent: #b45309;
  --accent-hover: #92400e;
  --accent-soft: rgba(180, 83, 9, 0.1);
  --accent-gradient: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  --accent-glow: rgba(180, 83, 9, 0.2);

  --ad-bg: linear-gradient(145deg, #fffdf8 0%, #f5ecdc 100%);
  --ad-border: rgba(180, 83, 9, 0.2);
  --ad-shadow: 0 4px 18px -2px rgba(67, 56, 45, 0.06);
  --ad-badge-bg: rgba(180, 83, 9, 0.1);
  --ad-badge-color: #b45309;
}

/* 🌙 Midnight OLED / Deep Dark Mode */
body.theme-dark {
  --bg-app: #080c14;
  --bg-surface: #0f172a;
  --bg-card: #0f172a;
  --bg-hover: #1e293b;
  --bg-elevated: #162033;

  --text-title: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --border: #1e293b;
  --border-light: #162033;
  --border-focus: #818cf8;

  --accent: #818cf8;
  --accent-hover: #6366f1;
  --accent-soft: rgba(129, 140, 248, 0.15);
  --accent-gradient: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  --accent-glow: rgba(129, 140, 248, 0.3);

  --ad-bg: linear-gradient(145deg, #131c31 0%, #0c1220 100%);
  --ad-border: rgba(129, 140, 248, 0.22);
  --ad-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.4);
  --ad-badge-bg: rgba(129, 140, 248, 0.15);
  --ad-badge-color: #a5b4fc;
}

/* ==========================================================================
   BASE RESETS & GLOBAL STYLES
   ========================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: clamp(14px, 0.82rem + 0.35vw, 16.5px);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--ui-font);
  background-color: var(--bg-app);
  color: var(--text-body);
  transition: background-color 0.25s ease, color 0.25s ease;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

/* ==========================================================================
   READING PROGRESS BAR (Glow Effect)
   ========================================================================== */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: var(--accent-gradient);
  box-shadow: 0 0 10px var(--accent);
  z-index: 9999;
  transition: width 0.12s ease-out;
}

/* ==========================================================================
   MODERN GLASS HEADER & BRANDING
   ========================================================================== */
/* ==========================================================================
   MODERN GLASS HEADER & BRANDING (FLUID AUTO-SCALING)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 500;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s, border-color 0.25s;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

body.theme-sepia .site-header {
  background: rgba(255, 253, 247, 0.94);
}

body.theme-dark .site-header {
  background: rgba(15, 23, 42, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(56px, 5vw, 68px);
  gap: clamp(10px, 1.2vw, 20px);
  padding: 8px 0;
}

/* Brand Logo */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 12px);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-symbol {
  width: clamp(32px, 2rem + 0.4vw, 40px);
  height: clamp(32px, 2rem + 0.4vw, 40px);
  border-radius: clamp(10px, 1vw, 14px);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(16px, 1rem + 0.3vw, 20px);
  box-shadow: 0 4px 14px var(--accent-glow);
  transform: none;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.brand-link:hover .brand-symbol {
  transform: rotate(0deg) scale(1.05);
}

.brand-title {
  font-size: clamp(17px, 1.15rem + 0.4vw, 22px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-title);
  line-height: 1.1;
  white-space: nowrap !important;
}

.brand-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: clamp(9.5px, 0.65rem + 0.1vw, 11px);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 2px;
  display: block;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .brand-tagline {
    display: none;
  }
}

/* Header Right Side Tools (Search, Live, Theme, Chapters) */
.header-right-tools {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  flex-shrink: 0;
}

/* ==========================================================================
   CATEGORY RIBBON BAR (CUỘN NGANG TỰ NHIÊN, KHÔNG BAO GIỜ BỊ VỠ CHỮ)
   Chuẩn whispers.dauaquarium.com & editorial platforms
   ========================================================================== */
.category-ribbon {
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface);
  transition: background-color 0.25s, border-color 0.25s;
}

.category-ribbon-inner {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 10px);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  padding: 8px 0;
}

.category-ribbon-inner::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  white-space: nowrap !important;
  flex-shrink: 0;
  font-size: clamp(12px, 0.74rem + 0.25vw, 13.8px);
  padding: clamp(6px, 0.6vw, 8px) clamp(12px, 1vw, 16px);
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cat-pill:hover {
  color: var(--text-title);
  background: var(--bg-hover);
  border-color: var(--border);
}

.cat-pill.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(99, 102, 241, 0.22);
  font-weight: 700;
}

/* Legacy support for header-nav if needed */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all 0.2s;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--text-title);
  background: var(--bg-hover);
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
}

/* ==========================================================================
   READER TOOLBAR CONTROLS (Top Bar on Desktop / Header)
   ========================================================================== */
.reader-toolbar {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.6vw, 8px);
  flex-shrink: 0;
}

.tool-pill {
  height: clamp(34px, 2.4vw, 38px);
  padding: 0 clamp(8px, 1vw, 14px);
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-title);
  font-size: clamp(11.5px, 0.72rem + 0.2vw, 13px);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.tool-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-hover);
  transform: translateY(-1px);
}

.tool-pill.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.tool-icon-btn {
  width: clamp(34px, 2.4vw, 38px);
  height: clamp(34px, 2.4vw, 38px);
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-title);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(13px, 0.85rem + 0.2vw, 15px);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.tool-icon-btn:hover {
  border-color: var(--accent);
  background: var(--bg-hover);
  transform: scale(1.05);
}

/* ĐIỀU CHỈNH CHUẨN MOBILE: Phân chia Toolbar Desktop và Header Mobile */
.desktop-reader-toolbar {
  display: flex;
}

.mobile-reader-header-tools {
  display: none;
}

@media (max-width: 768px) {
  .desktop-reader-toolbar {
    display: none !important;
  }

  .mobile-reader-header-tools {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }

  .desktop-only-live {
    display: none !important;
  }
}

/* ==========================================================================
   TOP EDITORIAL SPONSORED SHOWCASE (Thanh thoát, sang trọng, auto co giãn)
   Thay thế hoàn toàn khối quảng cáo thô cứng cũ
   ========================================================================== */
.top-showcase-container {
  margin-top: clamp(12px, 1.4vw, 20px);
  margin-bottom: clamp(14px, 1.8vw, 24px);
}

.showcase-banner {
  background: var(--ad-bg);
  border: 1px solid var(--ad-border);
  border-radius: var(--radius-md);
  box-shadow: var(--ad-shadow);
  padding: clamp(10px, 1.2vw, 14px) clamp(14px, 2vw, 22px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.5vw, 24px);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
}

.showcase-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px var(--accent-glow);
}

.showcase-left {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  flex: 1;
  min-width: 0;
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(9px, 0.62rem + 0.15vw, 10.5px);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ad-badge-color);
  background: var(--ad-badge-bg);
  padding: clamp(3px, 0.4vw, 5px) clamp(8px, 0.8vw, 12px);
  border-radius: 999px;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.showcase-text-wrap {
  min-width: 0;
}

.showcase-headline {
  font-size: clamp(12.5px, 0.8rem + 0.35vw, 15px);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.35;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-sub {
  font-size: clamp(11px, 0.72rem + 0.2vw, 12.8px);
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: clamp(7px, 0.7vw, 10px) clamp(16px, 1.5vw, 22px);
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-size: clamp(12px, 0.74rem + 0.2vw, 13.5px);
  font-weight: 700;
  white-space: nowrap !important;
  flex-shrink: 0;
  box-shadow: 0 3px 12px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.showcase-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--accent-glow);
}

@media (max-width: 768px) {
  .showcase-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .showcase-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }
  .showcase-headline, .showcase-sub {
    white-space: normal;
  }
  .showcase-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
}

/* ==========================================================================
   NATIVE SPONSORED CARDS (THAY THẾ TOÀN BỘ QUẢNG CÁO XẤU/RÁC)
   Không viền sọc vàng, không hoa văn sọc chéo gây rối mắt.
   ========================================================================== */
.ad-slot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: clamp(18px, 2vw, 28px) auto;
  border-radius: var(--radius-md);
  background: var(--ad-bg);
  border: 1px solid var(--ad-border);
  box-shadow: var(--ad-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.ad-slot:hover {
  box-shadow: 0 8px 30px -4px rgba(99, 102, 241, 0.1);
}

/* Subtle Sponsored Pill */
.ad-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(9px, 0.62rem + 0.15vw, 10.5px);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ad-badge-color);
  background: var(--ad-badge-bg);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  white-space: nowrap !important;
}

/* Dimensions for standard IAB units */
.ad-header-slot {
  max-width: 820px;
  min-height: auto;
  padding: clamp(12px, 1.4vw, 18px);
  margin: clamp(14px, 1.5vw, 22px) auto;
}

.ad-inarticle-slot {
  max-width: 680px;
  min-height: 180px;
  padding: clamp(16px, 2vw, 24px);
  margin: clamp(24px, 3vw, 36px) auto;
}

.ad-rect-slot {
  width: 300px;
  max-width: 100%;
  min-height: 250px;
  padding: 20px;
  margin: 20px auto;
}

.ad-sidebar-slot {
  width: 320px;
  max-width: 100%;
  min-height: 520px;
  padding: 24px 18px;
  margin: 0 auto;
}

/* Modern Card Content Inside Ads */
.ad-native-card {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-native-headline {
  font-family: var(--ui-font);
  font-size: clamp(13.5px, 0.85rem + 0.3vw, 15.5px);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 6px;
  max-width: 500px;
}

.ad-native-body {
  font-size: clamp(12px, 0.76rem + 0.2vw, 13.5px);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 480px;
}

.ad-native-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(7px, 0.7vw, 10px) clamp(16px, 1.5vw, 22px);
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-size: clamp(12px, 0.74rem + 0.2vw, 13px);
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.ad-native-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* ==========================================================================
   MOBILE FLOATING STICKY ANCHOR (Sang trọng, có nút thu nhỏ)
   ========================================================================== */
.mobile-anchor-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0 12px 10px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  transition: bottom 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

/* ĐIỀU CHỈNH CHUẨN MOBILE: Khi có thanh đọc Dock dưới chân, Anchor Ad tự động nổi lên trên Dock */
body.has-dock .mobile-anchor-wrapper {
  bottom: 64px;
}

.mobile-anchor-wrapper.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.mobile-anchor-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 520px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  animation: slideUpAnchor 0.4s ease-out;
}

@keyframes slideUpAnchor {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.anchor-text-wrap {
  flex: 1;
  text-align: left;
}

.anchor-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
}

.anchor-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.anchor-close-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-hover);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.anchor-close-btn:hover {
  background: var(--border);
  color: var(--text-title);
}

/* ==========================================================================
   MOBILE FLOATING READER DOCK (Dành riêng cho màn hình điện thoại)
   Cho phép thao tác 1 tay: Chuyển chương, đổi phông, chỉnh màu nền, mở mục lục
   ========================================================================== */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  z-index: 800;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

@media (max-width: 768px) {
  .mobile-bottom-dock.active {
    display: flex;
  }
  /* Bổ sung khoảng trống chân trang chuẩn xác khi bật mobile dock & anchor ad */
  body.has-dock {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body:not(.has-dock) {
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  padding: 5px 6px;
  border-radius: 8px;
  transition: all 0.2s;
  flex: 1;
  white-space: nowrap !important;
  cursor: pointer;
}

.dock-item:hover, .dock-item.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.dock-item:active {
  transform: scale(0.92);
}

.dock-icon {
  font-size: 16px;
  line-height: 1;
}

/* ==========================================================================
   READER VIEWPORT (Centred, High-Comfort Reading Architecture)
   ========================================================================== */
.reader-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  margin: 32px auto 80px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .reader-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 20px;
  }
}

/* Main Reading Article Container (Fluid Auto-Scaling) */
.reader-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(24px, 3.5vw, 48px);
  box-shadow: 0 4px 25px -4px rgba(15, 23, 42, 0.03);
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  transition: background-color 0.25s, border-color 0.25s;
}

@media (max-width: 768px) {
  .reader-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 10px auto 32px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }

  .reader-sidebar {
    display: none !important;
  }

  .reader-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 18px 14px 30px !important;
    border-radius: 18px !important;
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04) !important;
    overflow: hidden !important;
  }
}

/* Article Meta Header */
.reader-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: clamp(12px, 1.5vw, 18px);
  width: 100%;
  box-sizing: border-box;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: clamp(11px, 0.68rem + 0.15vw, 12px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}

.read-stats {
  font-size: clamp(11.5px, 0.72rem + 0.2vw, 13px);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}

/* Story Headline (Fluid Auto-Scaling) */
.story-headline {
  font-family: var(--ui-font);
  font-size: clamp(1.35rem, 1.1rem + 1.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.32;
  color: var(--text-title);
  letter-spacing: -0.4px;
  margin-bottom: clamp(14px, 1.6vw, 18px);
  word-break: break-word;
}

@media (max-width: 768px) {
  .story-headline {
    font-size: 24px;
    margin-bottom: 14px;
  }
}

.author-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13.5px;
  color: var(--text-muted);
  width: 100%;
  box-sizing: border-box;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.author-byline > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
  line-height: 1.5;
}

.byline-name {
  font-weight: 700;
  color: var(--text-title);
}

/* ==========================================================================
   CHAPTER NAVIGATION BAR & QUICK RIBBON
   ========================================================================== */
.chapter-hero-badge {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.chapter-badge-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}

.pill-chap-tag {
  background: var(--accent-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 8px;
  flex-shrink: 0;
}

.pill-chap-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-title);
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  flex: 1 1 auto;
}

.btn-open-toc {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-title);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-open-toc:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Quick Chapter Horizontal Swipe Ribbon */
.chapter-pills-ribbon {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 28px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.chapter-pills-ribbon::-webkit-scrollbar {
  height: 4px;
}

.chapter-pills-ribbon::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.pill-ch-btn {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pill-ch-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-hover);
}

.pill-ch-btn.active {
  background: var(--accent-gradient);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* ==========================================================================
   STORY READING BODY (Typography Sublime - Chuẩn hóa 100% Tiếng Việt)
   ========================================================================== */
.story-body {
  font-family: var(--reader-font);
  font-size: var(--reader-font-size);
  line-height: var(--reader-line-height);
  color: var(--text-body);
  transition: font-size 0.2s ease, font-family 0.2s ease;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

body.font-sans-reader .story-body {
  font-family: 'Be Vietnam Pro', -apple-system, sans-serif !important;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.story-body p {
  margin-bottom: 24px;
  letter-spacing: -0.005em;
  font-feature-settings: "kern" 1, "liga" 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

.story-body p:first-of-type::first-letter {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  float: none;
}

/* ==========================================================================
   NEXT CHAPTER HOOK CARD (Tối ưu chuyển chương, nhân 10x CPM)
   ========================================================================== */
.hook-next-card {
  margin: 40px 0 20px;
  padding: 32px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-hover) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hook-next-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.hook-kicker {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 8px;
}

.hook-chap-title {
  font-family: var(--ui-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 12px;
  line-height: 1.35;
}

.hook-quote {
  font-family: var(--reader-font);
  font-style: italic;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.btn-read-next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 24px var(--accent-glow);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-read-next:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px var(--accent-glow);
}

/* ==========================================================================
   DESKTOP STICKY SIDEBAR
   ========================================================================== */
.reader-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-sticky-wrap {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.03);
}

.widget-title {
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-title);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Chapter Checklist Widget */
.sidebar-chap-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-chap-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-hover);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
}

.side-chap-item:hover {
  border-color: var(--accent);
  background: var(--bg-surface);
}

.side-chap-item.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

/* ==========================================================================
   CHAPTER DRAWER / MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-title);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-hover);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--border);
  color: var(--text-title);
}

.modal-body {
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-chap-card {
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-chap-card:hover {
  border-color: var(--accent);
  background: var(--bg-surface);
  transform: translateX(4px);
}

.modal-chap-card.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.modal-chap-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.modal-chap-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}

.modal-chap-status {
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   HOMEPAGE (PORTAL) DESIGN SYSTEM
   Modern Magazine / Bento Card Architecture
   ========================================================================== */
.hero-portal {
  margin: 32px auto 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Big Hero Feature Story */
.hero-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 25px -4px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.hero-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px -6px rgba(15, 23, 42, 0.08);
}

.hero-thumb-link {
  position: relative;
  aspect-ratio: 16/9;
  display: block;
  overflow: hidden;
}

.hero-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-feature-card:hover .hero-thumb-link img {
  transform: scale(1.04);
}

.hero-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hero-title {
  font-family: var(--ui-font);
  font-size: 25px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.35;
  margin: 12px 0;
  transition: color 0.2s;
}

.hero-feature-card:hover .hero-title {
  color: var(--accent);
}

.hero-excerpt {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

/* Category Filter Tabs */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 36px 0 24px;
  scrollbar-width: none;
}

.cat-tab-btn {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-tab-btn:hover {
  color: var(--text-title);
  border-color: var(--accent);
  background: var(--bg-hover);
}

.cat-tab-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* Grid of Stories (Fluid Auto-Scaling) */
.stories-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(280px, 28vw, 360px), 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(36px, 4vw, 60px);
}

@media (max-width: 640px) {
  .stories-bento-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.32);
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.card-thumb-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: block;
  background: #0f172a;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Soft Vignette Overlay to soften raw images */
.card-thumb-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.story-card:hover .card-thumb-wrap img {
  transform: scale(1.05);
  filter: brightness(1.03) contrast(1.02);
}

/* Subtle Shimmer Sweep on Card Hover */
.card-thumb-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 2;
}

.story-card:hover .card-thumb-wrap::after {
  left: 160%;
}

/* Frosted Glass Badge on Image */
.card-glass-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: clamp(10px, 0.65rem + 0.15vw, 11px);
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.3px;
  z-index: 3;
  white-space: nowrap !important;
}

.card-content {
  padding: clamp(16px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--ui-font);
  font-size: clamp(14.5px, 0.95rem + 0.35vw, 17.5px);
  font-weight: 700;
  line-height: 1.42;
  color: var(--text-title);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card:hover .card-title {
  color: var(--accent);
}

.card-desc {
  font-size: clamp(12.5px, 0.8rem + 0.2vw, 14px);
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: clamp(14px, 1.5vw, 20px);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(11.5px, 0.72rem + 0.2vw, 13px);
  color: var(--text-faint);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   CINEMATIC MEDIA FRAME (Trang trí ảnh bài viết mềm mại, không khô cứng)
   ========================================================================== */
.media-cinematic-wrap {
  position: relative;
  margin: 22px 0 26px;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.media-glow-aura {
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0.14;
  filter: blur(16px);
  border-radius: 20px;
  z-index: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.media-cinematic-wrap:hover .media-glow-aura {
  opacity: 0.32;
}

.media-cinematic-frame {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 440px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5);
  background: #0f172a;
}

body.theme-dark .media-cinematic-frame {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.media-cinematic-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.media-cinematic-wrap:hover .media-cinematic-frame img {
  transform: scale(1.035);
  filter: brightness(1.02);
}

.media-cinematic-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.media-cinematic-wrap:hover .media-cinematic-frame::after {
  left: 160%;
}

.media-caption-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  padding-left: 6px;
}

/* ==========================================================================
   SUPPORT PAGES (About, Contact, Privacy, Terms, DMCA)
   ========================================================================== */
.support-page-shell {
  max-width: 800px;
  margin: 40px auto 80px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: 0 4px 25px -4px rgba(15, 23, 42, 0.04);
}

@media (max-width: 640px) {
  .support-page-shell {
    padding: 28px 20px;
    margin: 20px auto 40px;
    border-radius: 18px;
  }
}

.support-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.support-prose p {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 15px;
}

.support-prose h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-title);
  margin: 28px 0 12px;
}

.support-box {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}

/* ==========================================================================
   FOOTER (Clean & Legal-Ready)
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 70px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-faint);
}

/* Scroll To Top Button */
#btn-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-title);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 700;
}

#btn-top.show {
  opacity: 1;
  pointer-events: auto;
}

#btn-top:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   ADVANCED FEATURES INSPIRED BY WHISPERS.DAUAQUARIUM.COM
   - Trending Rank 01, 02, 03, 04, 05 (High CTR viral design)
   - Hero Full-Bleed Dark Gradient Overlay
   - Category Section Accent Bars (border-l-4)
   - Live Pulsing Badge
   - Rewarded Ad Modal & Frequency Capping
   - Search Bar Component
   ========================================================================== */

/* 1. Live Pulsing Indicator */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
}

.live-pulse-dot {
  width: 7.5px;
  height: 7.5px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 2. Top Header Search Bar (Fluid Auto-Scaling) */
.nav-search-form {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.nav-search-input {
  width: clamp(140px, 14vw, 220px);
  height: clamp(34px, 2.4vw, 38px);
  padding: 0 12px 0 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-hover);
  color: var(--text-title);
  font-size: clamp(12px, 0.74rem + 0.2vw, 13px);
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
}

.nav-search-input:focus {
  width: clamp(170px, 18vw, 250px);
  background: var(--bg-surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.nav-search-icon {
  position: absolute;
  left: 11px;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

@media (max-width: 600px) {
  .nav-search-input {
    width: clamp(110px, 28vw, 150px);
  }
}

/* 3. Hero Card with Full-Bleed Gradient Overlay (Fluid Auto-Scaling) */
.hero-overlay-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(380px, 42vw, 520px);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.16), 0 20px 45px -12px var(--accent-glow);
  background: #0f172a;
}

.hero-overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-overlay-card:hover .hero-overlay-bg {
  transform: scale(1.04);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.96) 100%);
  pointer-events: none;
}

.hero-overlay-content {
  position: relative;
  z-index: 2;
  padding: clamp(18px, 2.5vw, 36px);
  color: #ffffff;
}

.hero-overlay-title {
  font-family: var(--ui-font);
  font-size: clamp(1.2rem, 1rem + 1.2vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.32;
  margin: 10px 0 12px;
  letter-spacing: -0.4px;
}

.hero-overlay-excerpt {
  color: #cbd5e1;
  font-size: clamp(0.85rem, 0.78rem + 0.25vw, 0.98rem);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: clamp(14px, 1.5vw, 20px);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 4. Numbered Trending Ranking (01, 02, 03, 04, 05 - Fluid Auto-Scaling) */
.trending-rank-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 1.8vw, 26px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
}

.rank-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(12px, 1.5vw, 20px);
  font-size: clamp(13px, 0.8rem + 0.2vw, 14.5px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-title);
  white-space: nowrap !important;
}

.rank-header-icon {
  color: var(--accent);
  font-size: 18px;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 16px);
}

.rank-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 1.2vw, 16px);
  padding-bottom: clamp(10px, 1.2vw, 16px);
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: transform 0.2s;
}

.rank-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rank-item:hover {
  transform: translateX(4px);
}

.rank-number {
  font-size: clamp(26px, 1.8rem + 1vw, 38px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -1.5px;
  color: var(--accent);
  opacity: 0.35;
  font-family: var(--ui-font);
  flex-shrink: 0;
  width: clamp(34px, 2.2rem + 0.5vw, 44px);
}

.rank-item:hover .rank-number {
  opacity: 0.85;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-tag {
  font-size: clamp(10px, 0.65rem + 0.15vw, 11px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  display: block;
  margin-bottom: 3px;
  white-space: nowrap !important;
}

.rank-title {
  font-size: clamp(13px, 0.8rem + 0.25vw, 15px);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}


/* 5. Section Accent Bar (border-l-4 kiểu whispers - Fluid Auto-Scaling) */
.section-accent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid var(--accent);
  padding-left: clamp(12px, 1.2vw, 16px);
  margin: clamp(28px, 3.5vw, 46px) 0 clamp(14px, 1.8vw, 22px);
  gap: 12px;
}

.section-accent-title {
  font-size: clamp(16px, 1.05rem + 0.4vw, 21px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-title);
  white-space: nowrap !important;
}

.section-accent-link {
  font-size: clamp(12px, 0.76rem + 0.2vw, 13.5px);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.section-accent-link:hover {
  gap: 8px;
}

/* 6. Rewarded Ad Modal (Tối ưu doanh thu x2) */
.rewarded-modal-wrap {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rewarded-modal-wrap.show {
  display: flex;
}

.rewarded-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: modalScaleIn 0.25s ease-out;
}

.rewarded-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px var(--accent-glow);
}

.rewarded-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 8px;
}

.rewarded-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* ==========================================================================
   TALEFLOW MOBILE PERFECTION (TỐI ƯU HÓA 100% TRẢI NGHIỆM ĐIỆN THOẠI)
   Giải quyết triệt để mọi điểm lệch, chật chội, tràn viền, đơ giật trên mobile
   ========================================================================== */
@media (max-width: 640px) {
  /* Khung bao chung: Ngăn tràn viền tuyệt đối, chuẩn lề 16px của iOS Safari */
  .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 1. Header & Branding cực kỳ gọn gàng */
  .header-inner {
    min-height: 52px;
    padding: 6px 0;
    gap: 8px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .brand-link {
    gap: 8px;
    min-width: 0;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .brand-symbol {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    border-radius: 9px !important;
    transform: none !important;
    flex-shrink: 0 !important;
  }

  .brand-title {
    font-size: 16px;
    letter-spacing: -0.3px;
  }

  .brand-tagline {
    display: none !important;
  }

  /* 2. Dải Danh Mục (Category Ribbon) cuộn mượt mà có chỉ báo mép */
  .category-ribbon {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .category-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24px;
    background: linear-gradient(90deg, transparent, var(--bg-surface));
    pointer-events: none;
    z-index: 2;
  }

  .category-ribbon-inner {
    padding: 6px 12px;
    gap: 6px;
  }

  .cat-pill {
    font-size: 12px;
    padding: 5px 12px;
  }

  /* 3. Khung Tìm Kiếm & Nút Công Cụ trên Mobile */
  .nav-search-input {
    width: clamp(100px, 26vw, 130px);
    height: 32px;
    padding: 0 10px 0 28px;
    font-size: 11.5px;
  }

  .nav-search-input:focus {
    width: clamp(140px, 42vw, 180px);
  }

  .nav-search-icon {
    left: 8px;
    width: 13px;
    height: 13px;
  }

  .tool-icon-btn {
    width: 32px;
    height: 32px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .tool-pill {
    height: 32px;
    padding: 0 9px;
    font-size: 11.5px;
    flex-shrink: 0;
  }

  .mobile-reader-header-tools {
    gap: 6px;
    flex-shrink: 0;
  }

  /* 4. Top Showcase Banner trên Mobile */
  .top-showcase-container {
    margin-top: 8px;
    margin-bottom: 12px;
  }

  .showcase-banner {
    padding: 12px;
    border-radius: 14px;
    gap: 10px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .showcase-headline {
    font-size: 13px;
    line-height: 1.35;
  }

  .showcase-sub {
    font-size: 11.5px;
    line-height: 1.4;
  }

  .showcase-btn {
    width: 100%;
    justify-content: center;
    padding: 9px 14px;
    font-size: 12.5px;
  }

  /* 5. Hero Portal & Trending Section trên Mobile */
  .hero-portal {
    margin-top: 10px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-overlay-card {
    min-height: 340px;
    border-radius: 16px;
  }

  .hero-overlay-content {
    padding: 16px 12px;
  }

  .hero-overlay-title {
    font-size: 18px;
    line-height: 1.34;
    margin: 8px 0 10px;
  }

  .hero-overlay-excerpt {
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .trending-rank-panel {
    border-radius: 16px;
    padding: 16px 12px;
  }

  .rank-header {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .rank-list {
    gap: 10px;
  }

  .rank-item {
    gap: 10px;
    padding-bottom: 10px;
  }

  .rank-number {
    font-size: 24px;
    width: 28px;
  }

  .rank-title {
    font-size: 13px;
    line-height: 1.38;
  }

  /* 6. Section Accent Bar & Bento Story Cards trên Mobile */
  .section-accent-header {
    margin: 24px 0 12px;
    padding-left: 10px;
  }

  .section-accent-title {
    font-size: 15px;
  }

  .stories-bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 26px;
  }

  .story-card {
    border-radius: 16px;
  }

  .card-content {
    padding: 14px 12px;
  }

  .card-title {
    font-size: 15px;
    line-height: 1.4;
  }

  .card-desc {
    font-size: 12.5px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  /* 7. Trang Đọc Bài (article.html) trên Mobile */
  .reader-layout {
    display: block !important;
    margin: 8px auto 28px !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }

  .reader-sidebar {
    display: none !important;
  }

  .reader-card {
    display: block !important;
    padding: 16px 14px 28px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04) !important;
    overflow: hidden !important;
  }

  .reader-meta-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-bottom: 12px !important;
  }

  .read-stats {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px 6px !important;
    font-size: 11.5px !important;
    white-space: normal !important;
  }

  .story-headline {
    font-size: 19px !important;
    line-height: 1.34 !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .author-byline {
    font-size: 12px !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
    gap: 8px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .author-avatar {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }

  .author-byline > div {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px 6px !important;
    min-width: 0 !important;
    width: 100% !important;
    line-height: 1.5 !important;
  }

  .media-cinematic-wrap {
    margin: 14px 0 16px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .media-glow-aura {
    display: none !important;
  }

  .media-cinematic-frame {
    border-radius: 16px !important;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.12) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .media-caption-bar {
    font-size: 11.5px !important;
    padding-left: 2px !important;
    line-height: 1.4 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }

  .chapter-hero-badge {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    gap: 8px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .chapter-badge-left {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px 8px !important;
  }

  .pill-chap-tag {
    font-size: 10.5px !important;
    padding: 3px 8px !important;
    flex-shrink: 0 !important;
  }

  .pill-chap-title {
    font-size: 13.5px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .btn-open-toc {
    width: 100% !important;
    justify-content: center !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
  }

  .chapter-pills-ribbon {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 2px 0 10px !important;
    margin-bottom: 18px !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
  }

  .pill-ch-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
  }

  .hook-next-card {
    padding: 20px 14px !important;
    border-radius: 16px !important;
    margin: 24px 0 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hook-chap-title {
    font-size: 16px !important;
    word-break: break-word !important;
  }

  .btn-read-next {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }

  /* 8. Chapter Modal Drawer trên Mobile */
  .modal-window {
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
  }

  /* 9. Tối ưu phần nội dung đọc truyện (Reader Typography) */
  #story-content-area {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  #story-content-area p {
    font-size: 17px !important;
    line-height: 1.74 !important;
    margin-bottom: 18px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

