/* ADA State CSS Modifications */
      html.ada-font-sm { font-size: 90% !important; }
      html.ada-font-lg { font-size: 115% !important; }
      html.ada-font-xl { font-size: 130% !important; }

      html.ada-high-contrast, 
      html.ada-high-contrast body,
      html.ada-high-contrast .topbar,
      html.ada-high-contrast .hero,
      html.ada-high-contrast .section,
      html.ada-high-contrast .lane,
      html.ada-high-contrast .quote-panel,
      html.ada-high-contrast footer {
        background-color: #000000 !important;
        color: #ffffff !important;
      }
      html.ada-high-contrast h1,
      html.ada-high-contrast h2,
      html.ada-high-contrast h3,
      html.ada-high-contrast h4,
      html.ada-high-contrast strong,
      html.ada-high-contrast .eyebrow,
      html.ada-high-contrast .kicker {
        color: #ffff00 !important;
      }
      html.ada-high-contrast a {
        color: #ffff00 !important;
        text-decoration: underline !important;
      }
      html.ada-high-contrast button,
      html.ada-high-contrast input,
      html.ada-high-contrast textarea,
      html.ada-high-contrast select {
        background-color: #111111 !important;
        color: #ffffff !important;
        border: 2px solid #ffff00 !important;
      }

      html.ada-grayscale {
        filter: grayscale(100%) !important;
      }

      html.ada-hide-images img:not(#ada-widget-container img),
      html.ada-hide-images svg:not(#ada-widget-container svg),
      html.ada-hide-images picture {
        visibility: hidden !important;
        opacity: 0 !important;
      }

      html.ada-speech p:hover,
      html.ada-speech h1:hover,
      html.ada-speech h2:hover,
      html.ada-speech h3:hover,
      html.ada-speech h4:hover,
      html.ada-speech li:hover,
      html.ada-speech a:hover,
      html.ada-speech button:not(#ada-widget-container button):hover {
        outline: 2px dashed #A27D51 !important;
        cursor: pointer !important;
      }

      html.ada-highlight-links a,
      html.ada-highlight-links button:not(#ada-widget-trigger):not(.ada-close-btn):not(.ada-font-btn):not(.ada-toggle-card):not(.ada-reset-btn) {
        background-color: #ffff00 !important;
        color: #000000 !important;
        outline: 2px dashed #000000 !important;
        text-decoration: underline !important;
        font-weight: bold !important;
        padding: 2px 4px !important;
      }

      html.ada-large-cursor, 
      html.ada-large-cursor * {
        cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='%23000000' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M3 3l7 18 3-7 7-3L3 3z'/%3E%3C/svg%3E"), auto !important;
      }

      html.ada-stop-animations,
      html.ada-stop-animations *,
      html.ada-stop-animations *::before,
      html.ada-stop-animations *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
      }

      html.ada-keyboard-focus *:focus,
      html.ada-keyboard-focus *:focus-visible {
        outline: 4px solid #2563eb !important;
        outline-offset: 3px !important;
        box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.4) !important;
      }

      html.ada-readable-font,
      html.ada-readable-font * {
        font-family: Arial, Helvetica, sans-serif !important;
        letter-spacing: 0.04em !important;
        line-height: 1.8 !important;
      }

      /* Widget Container & Trigger */
      #ada-widget-container {
        position: fixed;
        bottom: 24px;
        left: 24px;
        z-index: 999999;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      }

      .ada-trigger-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #111827;
        border: 2px solid #A27D51;
        color: #A27D51;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
        transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
        position: relative;
        padding: 0;
      }
      .ada-trigger-btn:hover {
        transform: scale(1.08);
        background: #1f2937;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
      }
      .ada-trigger-btn:focus-visible {
        outline: 3px solid #A27D51;
        outline-offset: 3px;
      }
      .ada-trigger-btn svg {
        width: 30px;
        height: 30px;
        fill: currentColor;
      }

      .ada-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        background: #A27D51;
        color: #111827;
        font-size: 11px;
        font-weight: 800;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #111827;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
      }
      .ada-badge[data-count="0"] {
        display: none;
      }

      /* Modal Panel */
      .ada-modal {
        position: fixed;
        bottom: 92px;
        left: 24px;
        width: 360px;
        max-width: calc(100vw - 32px);
        max-height: calc(85vh - 100px);
        background: #18181b;
        color: #f4f4f5;
        border: 1px solid #3f3f46;
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transform: translateY(16px) scale(0.96);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
        z-index: 999999;
        overflow: hidden;
      }
      .ada-modal.ada-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
      }

      .ada-header {
        padding: 16px 20px;
        background: #27272a;
        border-bottom: 1px solid #3f3f46;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .ada-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 700;
        color: #ffffff;
        margin: 0;
      }
      .ada-title svg {
        width: 22px;
        height: 22px;
        fill: #A27D51;
      }
      .ada-close-btn {
        background: transparent;
        border: none;
        color: #a1a1aa;
        font-size: 20px;
        cursor: pointer;
        padding: 4px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.15s ease, background-color 0.15s ease;
      }
      .ada-close-btn:hover {
        color: #ffffff;
        background: #3f3f46;
      }
      .ada-close-btn:focus-visible {
        outline: 2px solid #A27D51;
      }

      .ada-body {
        padding: 16px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
      }

      .ada-section-title {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #a1a1aa;
        margin: 0 0 8px 0;
      }

      /* Font size toolbar */
      .ada-font-controls {
        display: flex;
        gap: 8px;
        background: #27272a;
        padding: 4px;
        border-radius: 10px;
        border: 1px solid #3f3f46;
      }
      .ada-font-btn {
        flex: 1;
        background: transparent;
        border: none;
        color: #e4e4e7;
        padding: 8px 0;
        font-size: 13px;
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease;
        text-align: center;
      }
      .ada-font-btn:hover {
        background: #3f3f46;
        color: #ffffff;
      }
      .ada-font-btn.active {
        background: #A27D51;
        color: #111827;
      }
      .ada-font-btn:focus-visible {
        outline: 2px solid #A27D51;
      }

      /* Toggle Grid */
      .ada-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }
      .ada-toggle-card {
        background: #27272a;
        border: 1px solid #3f3f46;
        border-radius: 10px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        cursor: pointer;
        transition: border-color 0.15s ease, background-color 0.15s ease;
        text-align: left;
        color: #e4e4e7;
        width: 100%;
      }
      .ada-toggle-card:hover {
        background: #323238;
        border-color: #52525b;
      }
      .ada-toggle-card.active {
        background: rgba(162, 125, 81, 0.15);
        border-color: #A27D51;
        color: #ffffff;
      }
      .ada-toggle-card:focus-visible {
        outline: 2px solid #A27D51;
      }
      .ada-toggle-icon {
        width: 22px;
        height: 22px;
        fill: #a1a1aa;
        transition: fill 0.15s ease;
      }
      .ada-toggle-card.active .ada-toggle-icon {
        fill: #A27D51;
      }
      .ada-toggle-label {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
      }

      /* Footer */
      .ada-footer {
        padding: 12px 16px;
        background: #27272a;
        border-top: 1px solid #3f3f46;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
      }
      .ada-reset-btn {
        width: 100%;
        background: #3f3f46;
        border: none;
        color: #f4f4f5;
        padding: 10px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
      }
      .ada-reset-btn:hover {
        background: #52525b;
        color: #ffffff;
      }
      .ada-reset-btn:focus-visible {
        outline: 2px solid #A27D51;
      }

      @media (max-width: 480px) {
        #ada-widget-container {
          bottom: 16px;
          left: 16px;
        }
        .ada-modal {
          left: 16px;
          bottom: 84px;
          width: calc(100vw - 32px);
        }
      }

      html.ada-high-contrast .site-header,
      html.ada-high-contrast .band,
      html.ada-high-contrast .book-card,
      html.ada-high-contrast .site-footer,
      html.ada-high-contrast .trailer-dialog,
      html.ada-high-contrast .page-hero {
        background-color: #000000 !important;
        color: #ffffff !important;
      }
