/* ==========================================================================
   Lumina Bible Reader - Amazon/Flipkart-grade Mobile & Desktop UI/UX
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Cinzel:wght@500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&family=Noto+Serif+Devanagari:wght@400;500;600;700&family=Tiro+Devanagari+Hindi:ital@0;1&display=swap');

:root {
  --font-serif-garamond: 'Cormorant Garamond', Georgia, serif;
  --font-serif-merri: 'Merriweather', Georgia, serif;
  --font-serif-lora: 'Lora', Georgia, serif;
  --font-serif-playfair: 'Playfair Display', Georgia, serif;
  --font-serif-hindi: 'Noto Serif Devanagari', 'Tiro Devanagari Hindi', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cinzel', 'Cinzel Decorative', Georgia, serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  /* Luxury Gold Palette */
  --color-gold: #c99e32;
  --color-gold-hover: #b38820;
  --color-gold-active: #9b7415;
  --color-gold-light: rgba(201, 158, 50, 0.12);
  --color-gold-border: rgba(201, 158, 50, 0.3);
  --color-gold-glow: rgba(201, 158, 50, 0.25);

  --hl-yellow: #fff2a3;
  --hl-yellow-text: #4a3800;
  --hl-green: #c4f5c2;
  --hl-green-text: #0e450c;
  --hl-blue: #c0e5ff;
  --hl-blue-text: #0a3a63;
  --hl-pink: #ffd4e6;
  --hl-pink-text: #691038;
  --hl-purple: #e7d4ff;
  --hl-purple-text: #3f1272;
  --hl-orange: #ffdfad;
  --hl-orange-text: #613000;

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-fast: 0.15s var(--ease-smooth);
  --transition-normal: 0.28s var(--ease-smooth);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 28px 70px rgba(0, 0, 0, 0.2);

  --reader-font-size: 19px;
  --reader-line-height: 1.85;
  --reader-max-width: 860px;
  --reader-font-family: var(--font-serif-merri);

  --bottom-nav-height: 60px;
}

/* 1. Gutenberg Ivory */
[data-theme="paper"] {
  --bg-app: #faf8f5;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f3eee3;
  --bg-hover: #ebe4d3;
  --text-primary: #1f1d1a;
  --text-secondary: #5e574f;
  --text-muted: #948b7f;
  --border-color: #e4dcce;
  --border-subtle: #eee7db;
  --header-bg: rgba(250, 248, 245, 0.92);
  --audio-bar-bg: #f2ece0;
  --verse-num-color: #a48a66;
  --active-reading-bg: rgba(201, 158, 50, 0.12);
  --pair-border: #ede4d3;
  --pair-bg: #ffffff;
  --bottom-nav-bg: rgba(255, 255, 255, 0.94);
  --sheet-bg: #ffffff;
}

/* 2. Scriptorium Parchment */
[data-theme="sepia"] {
  --bg-app: #f4ede1;
  --bg-surface: #fbf4e8;
  --bg-surface-elevated: #fff9ef;
  --bg-surface-subtle: #ebdcc8;
  --bg-hover: #dfcfb8;
  --text-primary: #382c1e;
  --text-secondary: #6e5941;
  --text-muted: #998369;
  --border-color: #dbcaa9;
  --border-subtle: #e6d8bd;
  --header-bg: rgba(244, 237, 225, 0.92);
  --audio-bar-bg: #ebdec9;
  --verse-num-color: #a37943;
  --active-reading-bg: rgba(201, 158, 50, 0.16);
  --pair-border: #e2d2b5;
  --pair-bg: #fbf4e8;
  --bottom-nav-bg: rgba(251, 244, 232, 0.94);
  --sheet-bg: #fbf4e8;
}

/* 3. Cathedral Slate */
[data-theme="dark"] {
  --bg-app: #121418;
  --bg-surface: #1a1d24;
  --bg-surface-elevated: #222630;
  --bg-surface-subtle: #282d3a;
  --bg-hover: #32394a;
  --text-primary: #ebf0f7;
  --text-secondary: #a3adc2;
  --text-muted: #677287;
  --border-color: #2b3242;
  --border-subtle: #202532;
  --header-bg: rgba(18, 20, 24, 0.92);
  --audio-bar-bg: #1a1d24;
  --verse-num-color: #e5b945;
  --active-reading-bg: rgba(201, 158, 50, 0.2);
  --pair-border: #2b3345;
  --pair-bg: #191d26;
  --bottom-nav-bg: rgba(26, 29, 36, 0.94);
  --sheet-bg: #1f232c;

  --hl-yellow: #524208;
  --hl-yellow-text: #fff6c7;
  --hl-green: #153e1e;
  --hl-green-text: #c8ffd4;
  --hl-blue: #113759;
  --hl-blue-text: #cbe7ff;
  --hl-pink: #4e1832;
  --hl-pink-text: #ffd9e7;
  --hl-purple: #371a57;
  --hl-purple-text: #ebd2ff;
  --hl-orange: #542e07;
  --hl-orange-text: #ffe1be;
}

/* 4. Monastic OLED */
[data-theme="midnight"] {
  --bg-app: #000000;
  --bg-surface: #0a0b0e;
  --bg-surface-elevated: #111318;
  --bg-surface-subtle: #161a22;
  --bg-hover: #202531;
  --text-primary: #f2f5fa;
  --text-secondary: #9aa4b8;
  --text-muted: #5a6477;
  --border-color: #1b202c;
  --border-subtle: #10131b;
  --header-bg: rgba(0, 0, 0, 0.94);
  --audio-bar-bg: #0a0b0e;
  --verse-num-color: #f5c44c;
  --active-reading-bg: rgba(245, 196, 76, 0.24);
  --pair-border: #1d2331;
  --pair-bg: #0e1117;
  --bottom-nav-bg: rgba(10, 11, 14, 0.96);
  --sheet-bg: #12151c;

  --hl-yellow: #463806;
  --hl-yellow-text: #fff4be;
  --hl-green: #113619;
  --hl-green-text: #caffd5;
  --hl-blue: #0f2e4a;
  --hl-blue-text: #cde9ff;
  --hl-pink: #44142b;
  --hl-pink-text: #ffdbe9;
  --hl-purple: #2f164b;
  --hl-purple-text: #ebd5ff;
  --hl-orange: #4a2705;
  --hl-orange-text: #ffe3c2;
}

/* 5. Oxford Royal Navy */
[data-theme="byzantine"] {
  --bg-app: #090e1a;
  --bg-surface: #10182b;
  --bg-surface-elevated: #16213b;
  --bg-surface-subtle: #1e2c4d;
  --bg-hover: #273963;
  --text-primary: #f4f7fc;
  --text-secondary: #a6b7db;
  --text-muted: #64769c;
  --border-color: #24355c;
  --border-subtle: #17223b;
  --header-bg: rgba(9, 14, 26, 0.94);
  --audio-bar-bg: #10182b;
  --verse-num-color: #ffd464;
  --active-reading-bg: rgba(255, 212, 100, 0.22);
  --pair-border: #23345a;
  --pair-bg: #121c32;
  --bottom-nav-bg: rgba(16, 24, 43, 0.96);
  --sheet-bg: #16213b;

  --hl-yellow: #4e400c;
  --hl-yellow-text: #fff8d1;
  --hl-green: #103b1e;
  --hl-green-text: #c5ffda;
  --hl-blue: #113663;
  --hl-blue-text: #cae6ff;
  --hl-pink: #4e1531;
  --hl-pink-text: #ffd5e9;
  --hl-purple: #38175d;
  --hl-purple-text: #ebd0ff;
  --hl-orange: #512b08;
  --hl-orange-text: #ffdfbe;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  overscroll-behavior-y: contain;
}

body.zen-mode .app-header {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
body.zen-mode .mobile-bottom-nav {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

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

button:active {
  transform: scale(0.96);
}

input, select, textarea {
  font-family: inherit;
  color: inherit;
  outline: none;
}

a {
  color: var(--color-gold);
  text-decoration: none;
}

.reading-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold), #f3cf65);
  box-shadow: 0 0 10px var(--color-gold-glow);
  transition: width 0.12s ease-out;
}

/* ==========================================================================
   APP HEADER
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 150;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.app-header.hidden-on-scroll {
  transform: translateY(-100%);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-gold), #886815);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(201, 158, 50, 0.35);
}

.nav-picker-trigger {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-picker-trigger:hover {
  background-color: var(--bg-hover);
  border-color: var(--color-gold);
}

.nav-picker-trigger .chevron {
  font-size: 0.62rem;
  color: var(--text-secondary);
}

/* Translation Switcher */
.translation-pill-select {
  display: flex;
  align-items: center;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 0.25rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.translation-pill-select select {
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-primary);
  cursor: pointer;
}

.cmd-palette-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.95rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.86rem;
  transition: all var(--transition-fast);
}

.cmd-palette-btn:hover {
  background: var(--bg-hover);
  border-color: var(--color-gold-border);
  color: var(--text-primary);
}

.cmd-kbd {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.15rem 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--text-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.btn-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  position: relative;
}

.btn-icon:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.btn-icon.active {
  background-color: var(--color-gold-light);
  color: var(--color-gold);
  border: 1px solid var(--color-gold-border);
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--color-gold);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Audio Player Bar */
.audio-player-bar {
  background-color: var(--audio-bar-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  transition: all var(--transition-normal);
  font-size: 0.86rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.audio-player-bar.hidden {
  display: none;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.audio-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.audio-btn.primary {
  width: 38px;
  height: 38px;
  background: var(--color-gold);
  color: white;
  border: none;
  box-shadow: 0 3px 10px rgba(201, 158, 50, 0.4);
}

.audio-info {
  font-weight: 700;
  color: var(--text-primary);
  min-width: 140px;
  text-align: center;
  font-size: 0.84rem;
}

.audio-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.audio-wave-bar {
  width: 3px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: wavePulse 1.2s ease-in-out infinite alternate;
}
.audio-wave-bar:nth-child(2) { animation-delay: 0.2s; }
.audio-wave-bar:nth-child(3) { animation-delay: 0.4s; }
.audio-wave-bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes wavePulse {
  0% { height: 4px; }
  100% { height: 16px; }
}

.audio-rate-select {
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   READER CONTAINER & MAIN CONTENT
   ========================================================================== */
.reader-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.8rem 1.4rem calc(var(--bottom-nav-height) + 4.5rem);
  position: relative;
  min-width: 0;
  width: 100%;
}

.reader-container {
  width: 100%;
  max-width: var(--reader-max-width);
  margin: 0 auto;
  transition: max-width var(--transition-normal);
}

/* Chapter Heading */
.chapter-header {
  text-align: center;
  margin-bottom: 2.4rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  width: 100%;
}

.chapter-header::after {
  content: '☩';
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-app);
  padding: 0 0.9rem;
  color: var(--color-gold);
  font-size: 1rem;
}

.book-title-sub {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.chapter-title {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.chapter-title-hindi {
  font-family: var(--font-serif-hindi);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.chapter-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
}

.scripture-content {
  font-family: var(--reader-font-family);
  font-size: var(--reader-font-size);
  line-height: var(--reader-line-height);
  color: var(--text-primary);
  letter-spacing: 0.012em;
  width: 100%;
}

/* ==========================================================================
   INTERLINEAR BILINGUAL VERSE CARDS
   ========================================================================== */
.bilingual-verse-card {
  position: relative;
  background-color: var(--pair-bg);
  border: 1px solid var(--pair-border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.95rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.bilingual-verse-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.bilingual-verse-card.selected {
  outline: 2px solid var(--color-gold);
  background-color: var(--color-gold-light) !important;
}

.bilingual-verse-card.reading-active {
  background-color: var(--active-reading-bg) !important;
  box-shadow: inset 4px 0 0 var(--color-gold);
}

.verse-row {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.verse-row.en-row {
  margin-bottom: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--pair-border);
  font-family: var(--reader-font-family);
  font-size: var(--reader-font-size);
  line-height: var(--reader-line-height);
  color: var(--text-primary);
}

.verse-row.hi-row {
  font-family: var(--font-serif-hindi), Georgia, serif;
  font-size: calc(var(--reader-font-size) * 1.04);
  line-height: 2.05;
  color: var(--text-primary);
}

.lang-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.38rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  user-select: none;
  flex-shrink: 0;
}

.lang-badge.en {
  background: rgba(197, 155, 39, 0.18);
  color: var(--color-gold);
  border: 1px solid var(--color-gold-border);
}

.lang-badge.hi {
  background: rgba(230, 126, 34, 0.16);
  color: #d35400;
  border: 1px solid rgba(230, 126, 34, 0.35);
}

.verse-num-badge {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--verse-num-color);
  min-width: 20px;
  user-select: none;
  flex-shrink: 0;
}

.verse-text-content {
  flex: 1;
  min-width: 0;
}

/* Single language verse items */
.scripture-content.mode-verse .verse-item {
  position: relative;
  display: block;
  padding: 0.55rem 0.95rem;
  margin-bottom: 0.4rem;
  border-radius: 10px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.scripture-content.mode-verse .verse-item:hover {
  background-color: var(--bg-surface-subtle);
}

.scripture-content.mode-verse .verse-num {
  font-family: var(--font-sans);
  font-size: 0.72em;
  font-weight: 800;
  color: var(--verse-num-color);
  margin-right: 0.75rem;
  vertical-align: baseline;
  user-select: none;
  opacity: 0.85;
}

/* Highlights */
.bilingual-verse-card.highlight-yellow, .verse-item.highlight-yellow { background-color: var(--hl-yellow) !important; color: var(--hl-yellow-text) !important; }
.bilingual-verse-card.highlight-green, .verse-item.highlight-green { background-color: var(--hl-green) !important; color: var(--hl-green-text) !important; }
.bilingual-verse-card.highlight-blue, .verse-item.highlight-blue { background-color: var(--hl-blue) !important; color: var(--hl-blue-text) !important; }
.bilingual-verse-card.highlight-pink, .verse-item.highlight-pink { background-color: var(--hl-pink) !important; color: var(--hl-pink-text) !important; }
.bilingual-verse-card.highlight-purple, .verse-item.highlight-purple { background-color: var(--hl-purple) !important; color: var(--hl-purple-text) !important; }
.bilingual-verse-card.highlight-orange, .verse-item.highlight-orange { background-color: var(--hl-orange) !important; color: var(--hl-orange-text) !important; }

.verse-item.selected {
  outline: 2px solid var(--color-gold);
  background-color: var(--color-gold-light) !important;
}

.verse-item.reading-active {
  background-color: var(--active-reading-bg) !important;
  box-shadow: inset 4px 0 0 var(--color-gold);
}

.verse-item.is-bookmarked::after, .bilingual-verse-card.is-bookmarked::after {
  content: '🔖';
  font-size: 0.75rem;
  margin-left: 0.45rem;
}

.verse-item.has-note::before, .bilingual-verse-card.has-note::before {
  content: '📝';
  font-size: 0.75rem;
  margin-right: 0.45rem;
}

/* Bottom Chapter Navigation */
.chapter-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
  gap: 0.8rem;
}

.btn-chapter-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  flex: 1;
  justify-content: center;
}

.btn-chapter-nav:hover:not(:disabled) {
  background-color: var(--bg-hover);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-chapter-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ==========================================================================
   AMAZON / FLIPKART STYLE MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background-color: var(--bottom-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  display: none;
  align-items: center;
  justify-content: space-around;
  z-index: 300;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  height: 100%;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  position: relative;
  transition: color var(--transition-fast);
}

.mobile-nav-item .mob-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.mobile-nav-item.active {
  color: var(--color-gold);
}

.mobile-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 0 0 3px 3px;
}

.mob-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 18px);
  background: var(--color-gold);
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ==========================================================================
   RESPONSIVE VERSE ACTION SHEET (BOTTOM SHEET ON MOBILE, PILL ON DESKTOP)
   ========================================================================== */
.verse-action-bar {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(140px);
  opacity: 0;
  pointer-events: none;
  background-color: var(--sheet-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.75rem 1.1rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 400;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 92vw;
}

.verse-action-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.action-bar-header {
  display: none;
}

.action-bar-body {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.action-ref-tag {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-gold);
  font-family: var(--font-sans);
  white-space: nowrap;
}

.action-buttons-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.action-btn {
  padding: 0.45rem 0.75rem;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.action-btn:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--color-gold);
}

.color-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-right: 0.6rem;
  border-right: 1px solid var(--border-color);
}

.color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.color-dot:hover {
  transform: scale(1.25);
}

.dot-yellow { background: #ffd700; }
.dot-green { background: #4caf50; }
.dot-blue { background: #2196f3; }
.dot-pink { background: #e91e63; }
.dot-purple { background: #9c27b0; }
.dot-orange { background: #ff9800; }
.dot-clear { background: var(--bg-surface-subtle); border: 1px dashed var(--text-muted); }

/* ==========================================================================
   MODALS, DRAWERS & UTILITIES
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  width: 92%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: scale(0.96);
  transition: transform var(--transition-normal);
  overflow: hidden;
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

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

.modal-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.modal-close:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: 1.4rem;
  overflow-y: auto;
  flex: 1;
}

.modal-tabs {
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border-color);
  padding: 0 1.4rem;
  background: var(--bg-surface-subtle);
  overflow-x: auto;
}

.modal-tab-btn {
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.modal-tab-btn.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

/* Books & Chapters */
.book-search-input {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-subtle);
  margin-bottom: 1.1rem;
  font-size: 0.94rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.65rem;
}

.book-btn {
  padding: 0.75rem 0.6rem;
  border-radius: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--transition-fast);
}

.book-btn:hover {
  border-color: var(--color-gold);
  background: var(--bg-hover);
}

.book-btn.active {
  background: var(--color-gold);
  color: white;
  border-color: var(--color-gold);
}

.book-btn .status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.book-btn.active .status-badge {
  color: rgba(255, 255, 255, 0.9);
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.chapter-btn {
  height: 48px;
  border-radius: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.chapter-btn:hover {
  border-color: var(--color-gold);
}

.chapter-btn.active {
  background: var(--color-gold);
  color: white;
  border-color: var(--color-gold);
}

/* Command Palette */
.cmd-palette-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 600;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.cmd-palette-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cmd-palette-modal {
  width: 92%;
  max-width: 620px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cmd-palette-input-wrap {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cmd-palette-input {
  flex: 1;
  font-size: 1.1rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 500;
}

.cmd-palette-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.5rem;
}

.cmd-palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.92rem;
}

.cmd-palette-item:hover, .cmd-palette-item.selected {
  background: var(--bg-hover);
  color: var(--color-gold);
}

.cmd-palette-footer {
  padding: 0.55rem 1.4rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Drawers */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 450;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  z-index: 480;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.drawer-body {
  padding: 1.4rem;
  overflow-y: auto;
  flex: 1;
}

/* Settings Options */
.setting-group {
  margin-bottom: 1.6rem;
}

.setting-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: block;
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.theme-btn {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.theme-btn.active {
  border-color: var(--color-gold);
  background: var(--bg-surface-subtle);
}

.theme-preview-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.font-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.font-btn {
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.font-btn.active {
  border-color: var(--color-gold);
  background: var(--color-gold-light);
  color: var(--color-gold);
}

.range-slider-control {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.range-slider-control input[type="range"] {
  flex: 1;
  accent-color: var(--color-gold);
  height: 6px;
}

/* Search Box */
.search-box {
  position: relative;
  margin-bottom: 1.1rem;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-subtle);
  font-size: 0.94rem;
}

.search-icon-inside {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-filters {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.filter-chip.active {
  background: var(--color-gold);
  color: white;
  border-color: var(--color-gold);
}

.search-result-card {
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.search-result-card:hover {
  border-color: var(--color-gold);
  background: var(--bg-hover);
}

.result-meta {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.result-text {
  font-size: 0.92rem;
  line-height: 1.55;
}

.result-highlight {
  background: var(--hl-yellow);
  color: var(--hl-yellow-text);
  font-weight: 800;
  padding: 0.1rem 0.25rem;
  border-radius: 3px;
}

/* Study items */
.study-item-card {
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  margin-bottom: 0.75rem;
}

.study-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.study-ref-badge {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-gold);
  cursor: pointer;
}

.study-item-actions {
  display: flex;
  gap: 0.35rem;
}

.study-action-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.study-action-btn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.study-note-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-primary);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-color);
}

/* Quote Image Generator */
.card-ratio-selector {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.card-ratio-opt {
  padding: 0.45rem 0.9rem;
  border-radius: 16px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 700;
}

.card-ratio-opt.active {
  background: var(--color-gold);
  color: white;
  border-color: var(--color-gold);
}

.verse-card-canvas-wrap {
  width: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #1c2028, #0e1015);
  border-radius: 16px;
  padding: 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.quote-decor {
  font-size: 2.2rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.quote-content-preview {
  font-family: var(--font-serif-garamond);
  font-size: 1.35rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.1rem;
}

.quote-ref-preview {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #f3cf65;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-bg-options {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
  justify-content: center;
}

.card-bg-opt {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
}

.card-bg-opt.active {
  border-color: var(--color-gold);
  transform: scale(1.15);
}

/* Primary Button */
.btn-primary {
  padding: 0.75rem 1.4rem;
  background: var(--color-gold);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 3px 10px var(--color-gold-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--color-gold-hover);
}

/* Note Modal */
.note-textarea {
  width: 100%;
  height: 140px;
  padding: 0.9rem;
  border-radius: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  resize: vertical;
  margin: 1rem 0;
  line-height: 1.5;
}

/* Dropzone */
.upload-lang-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.upload-lang-opt {
  flex: 1;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  font-size: 0.84rem;
  font-weight: 700;
}

.upload-lang-opt.active {
  border-color: var(--color-gold);
  background: var(--color-gold-light);
  color: var(--color-gold);
}

.upload-dropzone {
  border: 2px dashed var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 1.4rem;
  text-align: center;
  background: var(--bg-surface-subtle);
  cursor: pointer;
  margin-bottom: 1.4rem;
}

.upload-icon {
  font-size: 2.6rem;
  color: var(--color-gold);
  margin-bottom: 0.8rem;
}

.upload-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.upload-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.installed-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: var(--bg-surface-subtle);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 1.2rem);
  right: 1.2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.8rem 1.3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  pointer-events: auto;
  animation: toastSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   MOBILE RESPONSIVE BREAKPOINT (AMAZON / FLIPKART STYLE NATIVE APP FEEL)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --reader-font-size: 17.5px;
    --reader-line-height: 1.78;
    --bottom-nav-height: 58px;
  }

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

  .mobile-bottom-nav {
    display: flex;
  }

  .app-header {
    padding: 0.5rem 0.85rem;
    gap: 0.45rem;
  }

  .logo-title {
    display: none;
  }

  .nav-picker-trigger {
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    max-width: 140px;
  }

  .translation-pill-select {
    padding: 0.22rem 0.5rem;
  }

  .translation-pill-select select {
    font-size: 0.78rem;
  }

  .reader-wrapper {
    padding: 1.8rem 0.85rem calc(var(--bottom-nav-height) + 2.5rem);
  }

  .chapter-header {
    margin-bottom: 1.8rem;
    padding-bottom: 1.4rem;
  }

  .chapter-title {
    font-size: 1.75rem;
  }

  .chapter-title-hindi {
    font-size: 1.15rem;
  }

  .bilingual-verse-card {
    padding: 0.85rem 0.95rem;
    margin-bottom: 0.8rem;
    border-radius: 12px;
  }

  .verse-row.en-row {
    margin-bottom: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .btn-chapter-nav {
    padding: 0.75rem 1rem;
    font-size: 0.84rem;
  }

  /* Bottom Sheet Transformation on Mobile */
  .verse-action-bar {
    top: auto;
    bottom: var(--bottom-nav-height);
    left: 0;
    right: 0;
    transform: translateY(100%);
    width: 100%;
    max-width: 100vw;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    padding: 1rem 1.2rem;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
  }

  .verse-action-bar.visible {
    transform: translateY(0);
  }

  .action-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.5rem;
  }

  .action-bar-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-surface-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  .action-bar-body {
    width: 100%;
    flex-direction: column;
    gap: 0.85rem;
  }

  .color-dots {
    width: 100%;
    justify-content: space-around;
    border-right: none;
    padding-right: 0;
    padding-bottom: 0.4rem;
    border-bottom: 1px dashed var(--border-subtle);
  }

  .color-dot {
    width: 26px;
    height: 26px;
  }

  .action-buttons-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }

  .action-btn {
    padding: 0.6rem 0.4rem;
    font-size: 0.76rem;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.25rem;
    border-radius: 10px;
  }

  .drawer {
    max-width: 100vw;
  }

  .modal-card {
    width: 95%;
    max-height: 90vh;
    border-radius: 18px;
  }
}
