﻿/* Novela.Web/wwwroot/css/settings-help.css
   ───────────────────────────────────────────────
   The hover notes in Settings (data-hint, settings-help.js) and the Voice command help window.
   Kept in its own file rather than in reader.css.
   ─────────────────────────────────────────────── */

/* The small (i) after a setting that has a note */
.hint-mark {
    margin-left: .35rem;
    font-size: .78em;
    color: var(--reader-muted);
    opacity: .7;
    cursor: help;
    vertical-align: .05em;
}

    [data-hint]:hover > .hint-mark { opacity: 1; color: var(--reader-link); }

/* The note itself: beside the sidebar, or under the setting when there's no room */
.hint-bubble {
    position: fixed;
    z-index: 2100;
    max-width: 300px;
    padding: .6rem .8rem;
    font: .85rem/1.45 system-ui, "Segoe UI", sans-serif;
    text-transform: none;
    letter-spacing: normal;
    color: var(--reader-fg);
    background: var(--chrome-bg);
    border: 1px solid var(--chrome-border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    pointer-events: none;
}

/* Voice command help (uses the import window's look: .ask-overlay / .ask-dialog in reader.css) */
.voice-help .ask-dialog { width: min(520px, calc(100vw - 32px)); }
.voice-help h4 { margin: 1rem 0 .3rem; font-size: .95rem; }
.voice-help p { margin: 0 0 .5rem; line-height: 1.45; }

.voice-list {
    margin: .2rem 0 .4rem;
    padding-left: 1.2rem;
    line-height: 1.5;
}

    .voice-list q { quotes: "“" "”"; }

/* The "Voice command help" link sits on its own line */
.settings-body .voice-help-link { display: block; margin: .1rem 0 .7rem; }
