/* ==========================================================================
   VOW WEDDINGS — LUXURY ACCESSIBILITY & TEXT-TO-SPEECH SUITE (WCAG 2.1 AA)
   Brand Aesthetic: Champagne Gold (#C5A059), Obsidian Black (#1C1917), Ivory (#FDFBF7)
   ========================================================================== */

/* 1. Skip to Main Content Link (Keyboard & Screen Reader Accessible) */
.vow-skip-link {
  position: fixed;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vow-gold, #C5A059);
  color: #1C1917 !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 0 0 8px 8px;
  border: 2px solid #FFFFFF;
  border-top: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 9999999;
  text-decoration: none;
  transition: top 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vow-skip-link:focus,
.vow-skip-link:focus-visible {
  top: 0;
  outline: 3px solid #FFFFFF !important;
  outline-offset: 2px !important;
}

/* 2. Global Accessible Focus Indicators */
:focus-visible {
  outline: 2px solid var(--vow-gold, #C5A059) !important;
  outline-offset: 3px !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--vow-gold, #C5A059) !important;
  outline-offset: 2px !important;
}

/* 3. Screen Reader Live Region Helper */
.sr-only,
.vow-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 4. Accessibility Floating Action Button (FAB) */
.vow-a11y-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1C1917;
  border: 1.5px solid var(--vow-gold, #C5A059);
  color: var(--vow-gold, #C5A059);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 9990;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.vow-a11y-fab:hover {
  transform: scale(1.08);
  background: #24201D;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.45);
  color: #FFFFFF;
}

.vow-a11y-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background: var(--vow-gold, #C5A059);
  border-radius: 50%;
  border: 2px solid #1C1917;
  display: none;
}

body[data-a11y-active="true"] .vow-a11y-fab-badge {
  display: block;
}

/* 5. Accessibility Modal Dialog */
.vow-a11y-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 11, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.vow-a11y-overlay.is-open {
  display: flex;
  opacity: 1;
}

.vow-a11y-dialog {
  background: #1C1917;
  border: 1px solid var(--vow-gold, #C5A059);
  border-radius: 6px;
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
  color: #E7E2DA;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  transform: translateY(15px);
  transition: transform 0.25s ease;
  position: relative;
}

.vow-a11y-overlay.is-open .vow-a11y-dialog {
  transform: translateY(0);
}

.vow-a11y-header {
  padding: 20px 24px;
  border-bottom: 1px solid #38322D;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(36, 32, 29, 0.6);
}

.vow-a11y-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vow-a11y-header-title i {
  color: var(--vow-gold, #C5A059);
  font-size: 1.3rem;
}

.vow-a11y-header-title h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.vow-a11y-header-title p {
  font-size: 0.78rem;
  color: #A8A29E;
  margin: 2px 0 0 0;
}

.vow-a11y-close-btn {
  background: transparent;
  border: 1px solid #38322D;
  color: #E7E2DA;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vow-a11y-close-btn:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--vow-gold, #C5A059);
  color: #FFFFFF;
}

.vow-a11y-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.vow-a11y-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--vow-gold, #C5A059);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vow-a11y-grid-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.vow-a11y-tool-btn {
  background: #24201D;
  border: 1px solid #38322D;
  color: #E7E2DA;
  padding: 12px 14px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.vow-a11y-tool-btn i {
  color: var(--vow-gold, #C5A059);
  font-size: 1rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.vow-a11y-tool-btn:hover {
  background: #2A2522;
  border-color: var(--vow-gold, #C5A059);
  color: #FFFFFF;
}

.vow-a11y-tool-btn.is-active {
  background: rgba(197, 160, 89, 0.18);
  border-color: var(--vow-gold, #C5A059);
  color: #FFFFFF;
  font-weight: 600;
}

.vow-a11y-tool-btn.is-active i {
  color: #FFFFFF;
}

/* Sizing Buttons Segmented */
.vow-a11y-segmented {
  display: flex;
  background: #24201D;
  border: 1px solid #38322D;
  border-radius: 4px;
  overflow: hidden;
}

.vow-a11y-segmented-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-right: 1px solid #38322D;
  color: #E7E2DA;
  padding: 10px 14px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.vow-a11y-segmented-btn:last-child {
  border-right: none;
}

.vow-a11y-segmented-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.vow-a11y-segmented-btn.is-active {
  background: var(--vow-gold, #C5A059);
  color: #1C1917;
  font-weight: 700;
}

/* Speech Speed Row */
.vow-a11y-speech-panel {
  background: rgba(36, 32, 29, 0.7);
  border: 1px solid #38322D;
  border-radius: 4px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vow-a11y-speech-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #A8A29E;
}

.vow-a11y-speech-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}



.vow-a11y-dialog-footer {
  padding: 16px 24px;
  border-top: 1px solid #38322D;
  background: rgba(36, 32, 29, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.vow-a11y-shortcuts-hint {
  font-size: 0.75rem;
  color: #A8A29E;
}

.vow-a11y-shortcuts-hint kbd {
  background: #24201D;
  border: 1px solid #443E38;
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--vow-gold, #C5A059);
  font-family: inherit;
  font-size: 0.72rem;
}

.vow-a11y-reset-btn {
  background: transparent;
  border: 1px solid #443E38;
  color: #A8A29E;
  font-family: inherit;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vow-a11y-reset-btn:hover {
  border-color: #EF4444;
  color: #EF4444;
}

/* ==========================================================================
   6. STATE MODES & OVERRIDES (Font Size, Contrast, Dyslexia, Motion)
   ========================================================================== */

/* Font Size Scaling */
html[data-a11y-font-size="large"] {
  font-size: 115% !important;
}

html[data-a11y-font-size="xlarge"] {
  font-size: 130% !important;
}

/* ==========================================================================
   HIGH CONTRAST MODE (WCAG AAA Compliant: Deep Obsidian & Vivid Luminance)
   Guarantees all cards, containers, sections, text, badges, and buttons
   render with perfect contrast (12:1 to 21:1 contrast ratio)
   ========================================================================== */
html[data-a11y-contrast="high"] {
  --vow-bg: #000000 !important;
  --vow-bg-alt: #0a0a0a !important;
  --vow-dark: #FFFFFF !important; /* Vital: Titles and headings using var(--vow-dark) become crisp white */
  --vow-dark-card: #121212 !important;
  --vow-dark-border: #FFD700 !important;
  --vow-text: #FFFFFF !important;
  --vow-text-muted: #E7E2DA !important;
  --vow-text-light: #FFFFFF !important;
  --vow-border: #FFD700 !important;
  --vow-gold: #FFD700 !important;
  --vow-gold-light: #FFE033 !important;
  --vow-champagne: #1A1A1A !important;
  color-scheme: dark !important;
}

html[data-a11y-contrast="high"] body,
html[data-a11y-contrast="high"] main,
html[data-a11y-contrast="high"] section,
html[data-a11y-contrast="high"] article {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

/* 1. ALL CARDS & CONTAINERS: Solid Obsidian Black Background & Crisp Gold High-Contrast Border */
html[data-a11y-contrast="high"] .story-card,
html[data-a11y-contrast="high"] .service-card,
html[data-a11y-contrast="high"] .mastery-card,
html[data-a11y-contrast="high"] .blog-card,
html[data-a11y-contrast="high"] .venue-card-editorial,
html[data-a11y-contrast="high"] .testimonial-card,
html[data-a11y-contrast="high"] .editorial-quote-card,
html[data-a11y-contrast="high"] .editorial-ledger-card,
html[data-a11y-contrast="high"] .vertical-reel-card,
html[data-a11y-contrast="high"] .pillar-card,
html[data-a11y-contrast="high"] .error-nav-card,
html[data-a11y-contrast="high"] .toc-card,
html[data-a11y-contrast="high"] .in-content-toc,
html[data-a11y-contrast="high"] .faq-item,
html[data-a11y-contrast="high"] .spec-item,
html[data-a11y-contrast="high"] .venue-specs-grid,
html[data-a11y-contrast="high"] .pricing-card,
html[data-a11y-contrast="high"] .price-card,
html[data-a11y-contrast="high"] .package-card,
html[data-a11y-contrast="high"] .contact-card,
html[data-a11y-contrast="high"] .info-card,
html[data-a11y-contrast="high"] .modal-container,
html[data-a11y-contrast="high"] .tts-player,
html[data-a11y-contrast="high"] .journey-step-item,
html[data-a11y-contrast="high"] .heritage-stat-col,
html[data-a11y-contrast="high"] [class*="-card"],
html[data-a11y-contrast="high"] .grid-3 > div,
html[data-a11y-contrast="high"] .services-grid-row > div,
html[data-a11y-contrast="high"] .services-grid-2x2 > div,
html[data-a11y-contrast="high"] div[style*="background"] {
  background-color: #121212 !important;
  background-image: none !important;
  border: 2px solid #FFD700 !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.25) !important;
}

html[data-a11y-contrast="high"] .story-card-body,
html[data-a11y-contrast="high"] .service-card-body,
html[data-a11y-contrast="high"] .showcase-body,
html[data-a11y-contrast="high"] .showcase-media,
html[data-a11y-contrast="high"] .showcase-media-inner,
html[data-a11y-contrast="high"] .blog-card-body,
html[data-a11y-contrast="high"] .venue-card-content,
html[data-a11y-contrast="high"] .venue-hero-image-wrap,
html[data-a11y-contrast="high"] .faq-question,
html[data-a11y-contrast="high"] .faq-answer {
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="high"] .services-tabs-nav,
html[data-a11y-contrast="high"] .showcase-quick-nav {
  background-color: #121212 !important;
  border: 2px solid #FFD700 !important;
}

html[data-a11y-contrast="high"] .services-tab-btn {
  color: #FFFFFF !important;
  border-right-color: #333333 !important;
}

html[data-a11y-contrast="high"] .services-tab-btn .tab-title {
  color: #FFFFFF !important;
}

html[data-a11y-contrast="high"] .services-tab-btn.active {
  background-color: #222222 !important;
  border-bottom: 3px solid #FFD700 !important;
}

html[data-a11y-contrast="high"] .services-tab-btn.active .tab-title {
  color: #FFD700 !important;
}

html[data-a11y-contrast="high"] .showcase-inclusions-box {
  background-color: #1A1A1A !important;
  border-left: 3px solid #FFD700 !important;
}

html[data-a11y-contrast="high"] .showcase-title,
html[data-a11y-contrast="high"] .inclusions-list li,
html[data-a11y-contrast="high"] .showcase-nav-btn {
  color: #FFFFFF !important;
}

/* 2. Text Color & Typography in High Contrast Mode (15:1 to 21:1 Contrast) */
html[data-a11y-contrast="high"] p,
html[data-a11y-contrast="high"] li,
html[data-a11y-contrast="high"] h1,
html[data-a11y-contrast="high"] h2,
html[data-a11y-contrast="high"] h3,
html[data-a11y-contrast="high"] h4,
html[data-a11y-contrast="high"] h5,
html[data-a11y-contrast="high"] h6,
html[data-a11y-contrast="high"] label,
html[data-a11y-contrast="high"] .testimonial-quote,
html[data-a11y-contrast="high"] .testimonial-author,
html[data-a11y-contrast="high"] .blog-card-title,
html[data-a11y-contrast="high"] .blog-card-excerpt,
html[data-a11y-contrast="high"] .journey-step-item h3,
html[data-a11y-contrast="high"] .journey-step-item p,
html[data-a11y-contrast="high"] .heritage-stat-title,
html[data-a11y-contrast="high"] .heritage-stat-desc,
html[data-a11y-contrast="high"] span:not(.badge-tag):not(.venue-tag-overlay):not(.btn *):not(.arrow-icon):not(.btn-gold *) {
  color: #FFFFFF !important;
  text-shadow: none !important;
}

/* High-Visibility Gold Accents */
html[data-a11y-contrast="high"] strong,
html[data-a11y-contrast="high"] b,
html[data-a11y-contrast="high"] .text-gold,
html[data-a11y-contrast="high"] .testimonial-venue,
html[data-a11y-contrast="high"] .testimonial-stars,
html[data-a11y-contrast="high"] .arrow-icon,
html[data-a11y-contrast="high"] .journey-step-phase,
html[data-a11y-contrast="high"] .heritage-stat-num,
html[data-a11y-contrast="high"] .mastery-pill,
html[data-a11y-contrast="high"] .blog-card-category {
  color: #FFD700 !important;
}

/* Carousel side buttons */
html[data-a11y-contrast="high"] .carousel-side-btn,
html[data-a11y-contrast="high"] .carousel-btn {
  background-color: #000000 !important;
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;
}

/* 3. Links & Hyperlinks */
html[data-a11y-contrast="high"] a:not(.btn):not(.btn-gold):not(.btn-story-detail):not(.vow-skip-link):not(.vow-a11y-fab):not(.carousel-side-btn):not(.mobile-menu-btn) {
  color: #FFD700 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

html[data-a11y-contrast="high"] a:not(.btn):not(.btn-gold):hover {
  color: #FFFFFF !important;
}

/* 4. Buttons (Crucial: Black text on bright gold = 12:1 contrast ratio!) */
html[data-a11y-contrast="high"] .btn-gold,
html[data-a11y-contrast="high"] .btn:not(.btn-outline-white):not(.btn-secondary):not(.tts-btn-secondary),
html[data-a11y-contrast="high"] button[type="submit"] {
  background: #FFD700 !important;
  color: #000000 !important;
  border: 2px solid #FFFFFF !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

html[data-a11y-contrast="high"] .btn-gold *,
html[data-a11y-contrast="high"] .btn:not(.btn-outline-white):not(.btn-secondary) * {
  color: #000000 !important;
}

html[data-a11y-contrast="high"] .btn-outline-white,
html[data-a11y-contrast="high"] .btn-secondary,
html[data-a11y-contrast="high"] .tts-btn-secondary {
  background: #000000 !important;
  color: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
}

html[data-a11y-contrast="high"] .btn-story-detail {
  color: #FFD700 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

html[data-a11y-contrast="high"] .btn-story-detail .arrow-icon {
  color: #FFD700 !important;
}

/* 5. Micro Badges & Tags */
html[data-a11y-contrast="high"] .badge-tag,
html[data-a11y-contrast="high"] .venue-tag-overlay,
html[data-a11y-contrast="high"] .venue-number-tag,
html[data-a11y-contrast="high"] .spec-label {
  background-color: #000000 !important;
  color: #FFD700 !important;
  border: 1.5px solid #FFD700 !important;
  font-weight: 700 !important;
}

/* 6. Form Inputs & Selects */
html[data-a11y-contrast="high"] input,
html[data-a11y-contrast="high"] select,
html[data-a11y-contrast="high"] textarea {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border: 2px solid #FFD700 !important;
}

html[data-a11y-contrast="high"] input::placeholder,
html[data-a11y-contrast="high"] textarea::placeholder {
  color: #A8A29E !important;
}

/* 7. Tables & Matrix */
html[data-a11y-contrast="high"] table,
html[data-a11y-contrast="high"] tr,
html[data-a11y-contrast="high"] td {
  background-color: #121212 !important;
  color: #FFFFFF !important;
  border: 1px solid #FFD700 !important;
}

html[data-a11y-contrast="high"] th {
  background-color: #24201D !important;
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;
}

/* 8. Icons & Visual Accents */
html[data-a11y-contrast="high"] i.fas,
html[data-a11y-contrast="high"] i.fab,
html[data-a11y-contrast="high"] i.far {
  color: #FFD700 !important;
}

html[data-a11y-contrast="high"] .btn-gold i,
html[data-a11y-contrast="high"] .btn:not(.btn-outline-white) i {
  color: #000000 !important;
}

/* 9. Header & Navigation */
html[data-a11y-contrast="high"] .site-header {
  background-color: #000000 !important;
  border-bottom: 2px solid #FFD700 !important;
}

html[data-a11y-contrast="high"] .site-footer {
  background-color: #000000 !important;
  border-top: 2px solid #FFD700 !important;
}

/* Dyslexia-Friendly Typography */
html[data-a11y-font="dyslexic"] body,
html[data-a11y-font="dyslexic"] p,
html[data-a11y-font="dyslexic"] span,
html[data-a11y-font="dyslexic"] a,
html[data-a11y-font="dyslexic"] li,
html[data-a11y-font="dyslexic"] input,
html[data-a11y-font="dyslexic"] textarea,
html[data-a11y-font="dyslexic"] button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: 0.06em !important;
  word-spacing: 0.12em !important;
  line-height: 1.85 !important;
}

/* Highlight Links Mode */
html[data-a11y-links="highlight"] a:not(.vow-skip-link):not(.vow-a11y-fab) {
  text-decoration: underline 2px var(--vow-gold, #C5A059) !important;
  text-underline-offset: 4px !important;
  background-color: rgba(197, 160, 89, 0.12) !important;
  padding: 0 3px !important;
  border-radius: 2px !important;
}

/* Reduced Motion Mode */
html[data-a11y-motion="reduced"] *,
html[data-a11y-motion="reduced"] *::before,
html[data-a11y-motion="reduced"] *::after {
  animation: none !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

/* Big High-Visibility Cursor */
html[data-a11y-cursor="big"],
html[data-a11y-cursor="big"] * {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="0 0 24 24" fill="%23C5A059" stroke="%231C1917" stroke-width="2"><polygon points="3,3 21,11 12,13 8,21"/></svg>'), auto !important;
}

/* ==========================================================================
   7. TEXT-TO-SPEECH (TTS) IN-BLOCK BUTTONS & ACTIVE HIGHLIGHTS
   ========================================================================== */

/* Block-level "Listen to Section" Micro Button */
.vow-tts-block-btn {
  background: rgba(28, 25, 23, 0.88);
  border: 1px solid var(--vow-gold, #C5A059);
  color: var(--vow-gold, #C5A059);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.vow-tts-block-btn:hover {
  background: var(--vow-gold, #C5A059);
  color: #1C1917;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
}

.vow-tts-block-btn.is-playing {
  background: var(--vow-gold, #C5A059);
  color: #1C1917;
  border-color: var(--vow-gold, #C5A059);
}

.vow-tts-block-btn.is-paused {
  background: #24201D;
  color: #FFFFFF;
  border-color: var(--vow-gold, #C5A059);
}

/* Active Highlight on the Block being Spoken */
.vow-tts-speaking-active {
  box-shadow: 0 0 0 2px var(--vow-gold, #C5A059), 0 10px 35px rgba(197, 160, 89, 0.22) !important;
  border-radius: 4px;
  transition: box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
}

/* Floating Bottom Mini-Player Bar */
.vow-tts-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: rgba(28, 25, 23, 0.94);
  border: 1px solid var(--vow-gold, #C5A059);
  border-radius: 30px;
  padding: 10px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9980;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  max-width: 90vw;
}

.vow-tts-floating-bar.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.vow-tts-floating-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #E7E2DA;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vow-tts-floating-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vow-tts-floating-btn {
  background: transparent;
  border: 1px solid #443E38;
  color: #E7E2DA;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vow-tts-floating-btn:hover {
  border-color: var(--vow-gold, #C5A059);
  color: var(--vow-gold, #C5A059);
}

.vow-tts-floating-btn.primary {
  background: var(--vow-gold, #C5A059);
  border-color: var(--vow-gold, #C5A059);
  color: #1C1917;
}

.vow-tts-floating-btn.primary:hover {
  background: var(--vow-gold-light, #D4AF37);
}

@media (max-width: 768px) {
  .vow-a11y-fab {
    bottom: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .vow-tts-floating-bar {
    bottom: 74px;
    width: 92vw;
    justify-content: space-between;
    padding: 8px 14px;
  }

  .vow-tts-floating-title {
    max-width: 140px;
  }
}
