/* input.css - consolidated styles ordered by DOM */

html, body {
    height: 100%;
    width: 100%;
}

.no-scroll {
    position: fixed;
    overflow: hidden;
    inset: 0;
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: var(--voxr-background, #ffffff);
    font-family: var(--voxr-font);
}

html {
    background-color: var(--voxr-background, #ffffff);
}

body:not(.has-bg) {
    background: linear-gradient(
        to bottom,
        #ffffff 0px,
        #ffffff 110px,
        color-mix(in srgb, var(--voxr-color-2, var(--voxr-color-1, #b57edc)) 18%, #ffffff 82%) 45%,
        color-mix(in srgb, color-mix(in srgb, var(--voxr-color-2, var(--voxr-color-1, #b57edc)) 55%, var(--voxr-color-3, var(--voxr-color-1, #b57edc)) 45%) 38%, #ffffff 62%) 100%
    );
    background-attachment: fixed;
}

html:not(.has-bg) {
    background: linear-gradient(
        to bottom,
        #ffffff 0px,
        #ffffff 110px,
        color-mix(in srgb, var(--voxr-color-2, var(--voxr-color-1, #b57edc)) 18%, #ffffff 82%) 45%,
        color-mix(in srgb, color-mix(in srgb, var(--voxr-color-2, var(--voxr-color-1, #b57edc)) 55%, var(--voxr-color-3, var(--voxr-color-1, #b57edc)) 45%) 38%, #ffffff 62%) 100%
    );
    background-attachment: fixed;
}

body.settings-gradient,
html.settings-gradient {
    background: linear-gradient(
        to bottom,
        #ffffff 0px,
        #ffffff 110px,
        color-mix(in srgb, var(--voxr-color-2, var(--voxr-color-1, #b57edc)) 18%, #ffffff 82%) 45%,
        color-mix(in srgb, color-mix(in srgb, var(--voxr-color-2, var(--voxr-color-1, #b57edc)) 55%, var(--voxr-color-3, var(--voxr-color-1, #b57edc)) 45%) 38%, #ffffff 62%) 100%
    );
    background-attachment: fixed;
}

.fixed-header {
    background-color: var(--voxr-background, #ffffff);
}

body .panel {
    border-color: var(--voxr-background, #ffffff);
    background-color: var(--voxr-background, #ffffff);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.theme-dark .panel {
    border: 1px solid rgba(62, 107, 255, 0.35);
    box-shadow: 0 8px 20px rgba(62, 107, 255, 0.2);
}

:root {
    --input-font-size: 2.8rem;
    --input-radius: 15%;
    --header-height: 100px; /* fallback in case JS fails */
    --footer-height: 18px;
    --voxr-color-1: var(--voxr-farbe-1, #b57edc);
    --voxr-color-2: #7a5ea8;
    --voxr-color-2-text: #000;
    --voxr-background: #ffffff;
}

:root.theme-dark,
body.theme-dark,
.theme-dark :root {
    --voxr-background: #0a1626;
    --voxr-color-2-text: #e8f2ff;
    --voxr-color-1: var(--voxr-farbe-1, #c6afff);
    --voxr-color-2: #2c1c47;
}

body.rounded { --input-radius: 38.4px; }
body.boxed { --input-radius: 6px; }

html.embed-mode,
body.embed-mode {
    background: none !important;
    background-color: transparent !important;
}

.embed-mode #logo-header img,
.embed-mode #scroll-hint-box,
.embed-mode #footer-box {
    display: none !important;
}

.embed-mode #logo-header {
    padding-top: 0;
    padding-bottom: 0;
    gap: 0;
    overflow: hidden;
    min-height: 0;
    height: 0;
}

/* Embed-Kontext (Share-Embed + embedded Action im Infoguide-iframe):
   Die bestehende Regel weiter oben schob den Setname um -10px nach
   oben, um den kollabierten Logo-Header optisch zu schliessen. Mit
   overflow:hidden am #interactive-wrapper landete die erste Zeile
   der Frage dadurch ausserhalb des Clipping-Bereichs und wurde oben
   abgeschnitten. Hier den Versatz im Embed-Kontext wieder auf 0
   ziehen, damit die Frage vollstaendig sichtbar bleibt. */
.embed-mode #setname_container {
    margin-top: 0 !important;
}

.no-logo #logo-header {
    display: none !important;
}

.rounded { border-radius: 19.2px; }

video { max-width: 100%; }
iframe {
    min-width: 100% !important;
    width: 100% !important;
    border-width: 0;
    overflow-y: scroll !important;
    overflow: scroll !important;
    -webkit-overflow-scrolling: touch !important;
}
.iframe_fix {
    min-width: 100%;
    width: 100% !important;
    height: 100%;
    align-items:stretch;
    -webkit-overflow-scrolling: touch;
    overflow-y: visible;
}

.responsive-iframe-container { flex: 1 1 auto; overflow: auto; width: 100%; }
.responsive-iframe-container iframe { position: static; width: 100%; height: 100%; border: none; }

/* Inputs and buttons */
input::placeholder, textarea::placeholder { font-size: 75%; }
.moderator-view.cp-theme-light #modview-switch {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18) !important;
}
.moderator-view.cp-theme-light #modview-switch:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22) !important;
}
.moderator-view:not(.cp-theme-light) #modview-switch {
    box-shadow: 0 9px 21px rgba(0, 0, 0, 0.38), 0 0 7px 2.5px rgba(64, 131, 255, 0.45) !important;
}
.moderator-view:not(.cp-theme-light) #modview-switch:hover {
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.45), 0 0 32px 12px rgba(96, 164, 255, 0.6) !important;
}
.input-lg {
    border-radius: var(--input-radius);
    font-size: 2.5rem;
    background-color: #f8f9fa;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 1) 0%, transparent 50%),
        radial-gradient(
            circle at 95% 95%,
            color-mix(in srgb, var(--voxr-color-2, var(--voxr-color-1, #b57edc)) 15%, transparent) 0%,
            transparent 60%
        ),
        linear-gradient(135deg, #fdfdfd 0%, #eff1f5 100%);
    background-size: 100% 100%;
    height: 70px;
    line-height: 1.33;
    padding: 10px 16px;
    max-width: 90%;
    margin-top: 5px;
}
.thumbnail-stars-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    height: 100%;
    box-sizing: border-box;
}
.thumbnail-stars-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid var(--voxr-color-1, #b57edc);
    background: rgba(255, 255, 255, 0.75);
    background-image: linear-gradient(90deg, color-mix(in srgb, var(--voxr-color-1, #b57edc) 10%, transparent) 0%, transparent 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.thumbnail-stars-label {
    font-size: 12px;
    font-weight: 600;
    color: #1f2a33;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.thumbnail-stars-value {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    letter-spacing: 0.02em;
}
.thumbnail-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4em;
    min-height: 1.4em;
    border-radius: 0.35em;
    --menu-item-color: var(--voxr-color-1, #b57edc);
    background-color: color-mix(in srgb, var(--menu-item-color) 70%, transparent);
    border: 1px solid color-mix(in srgb, var(--menu-item-color) 65%, white);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
    position: relative;
}
.thumbnail-star.is-full {
    background-color: color-mix(in srgb, var(--menu-item-color) 100%, transparent);
    color: #d48400;
    border-color: rgba(245, 179, 1, 0.65);
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.35), inset 0 0 8px rgba(245, 179, 1, 0.2);
    -webkit-text-stroke: 1px #f5b301;
    text-shadow: 0 0 8px rgba(245, 179, 1, 0.55);
}
.thumbnail-star.is-half {
    background-color: color-mix(in srgb, var(--menu-item-color) 100%, transparent);
    color: transparent;
    border-color: rgba(245, 179, 1, 0.65);
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.35), inset 0 0 8px rgba(245, 179, 1, 0.2);
}

.thumbnail-star.is-half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    -webkit-clip-path: inset(0 50% 0 0);
    clip-path: inset(0 50% 0 0);
    color: #d48400;
    -webkit-text-stroke: 1px #f5b301;
    text-shadow: 0 0 8px rgba(245, 179, 1, 0.55);
}
.form-group #keyword {
    font-size: var(--input-font-size) !important;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: var(--input-radius);
}
.keyword-wrapper.msger-inputarea {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        border-radius: var(--input-radius);
    }
    .msger-input {
        font-size: var(--input-font-size);
        padding-top: 20px;
        padding-bottom: 20px;
        border: none;
        border-radius: var(--input-radius);
        -webkit-box-shadow: none;
        box-shadow: none;
        background-color: #f8f9fa;
        background-image:
            radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 1) 0%, transparent 50%),
            radial-gradient(
                circle at 95% 95%,
                color-mix(in srgb, var(--voxr-color-2, var(--voxr-color-1, #b57edc)) 15%, transparent) 0%,
                transparent 60%
            ),
            linear-gradient(135deg, #fdfdfd 0%, #eff1f5 100%);
        background-size: 100% 100%;
    }


    .msger-input::placeholder { font-size: 75%; vertical-align: middle; }
    input[type="email"].msger-input { text-align: left; }
    input[type="email"].msger-input::placeholder { font-size: 60%; text-align: left; }

    .msger-mic-btn i {
        color: var(--chat-icon-color, #757575);
        margin: auto;
        padding: 0;
        font-size: 1.8em;
        line-height: 1;
    }
    .msger-mic-btn {
        margin: 0 0.5em 0 auto;
        background: transparent;
        color: #000;
        cursor: pointer;
        width: 1.8em;
        height: 1.8em;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 50%;
        padding: 0;
        align-self: center;
    }
    .msger-mic-btn.recording {
        background: #d9534f;
        animation: mic-pulse 1.5s ease-in-out infinite;
    }
    @media (min-width: 992px) {
        .msger-mic-btn { display: none !important; }
    }
    .mic-voice-badge {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.6em;
        height: 1.6em;
        border-radius: 50%;
        background: rgba(0,0,0,0.12);
        cursor: default;
        flex-shrink: 0;
        align-self: center;
        border: none;
    }
    .mic-voice-badge i {
        font-size: 0.75em;
        color: var(--chat-icon-color, #555);
        opacity: 0.8;
    }
    .mic-voice-badge::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: calc(100% + 6px);
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,0.82);
        color: #fff;
        font-size: 0.75em;
        line-height: 1.35;
        padding: 5px 9px;
        border-radius: 6px;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.18s;
        z-index: 100;
        white-space: normal;
        max-width: 220px;
        text-align: center;
        min-width: 140px;
    }
    .mic-voice-badge:hover::after,
    .mic-voice-badge.is-open::after {
        opacity: 1;
    }
    @keyframes mic-pulse {
        0%   { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.7); }
        70%  { box-shadow: 0 0 0 10px rgba(217, 83, 79, 0); }
        100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0); }
    }
    .btn-lg {
        border-radius: var(--input-radius);
        font-size: 20px;
        line-height: 1.33;
        padding: 13px 16px;
        max-width: 90%;
        margin-top: 5px;
    }
    body.boxed #submit {
        border-radius: calc(var(--input-radius) + 4px);
    }
    body.boxed .stars-option {
        border-radius: calc(var(--input-radius) + 4px);
    }
    .btn,
    .btn-lg,
    .button_upvote,
    .msger-send-btn {
        box-shadow: 0 0 2px rgba(64, 131, 255, 0.15);
        transition: box-shadow 0.25s ease;
    }
    .btn:hover,
    .btn:focus,
    .btn:active,
    .btn.active,
    .btn-lg:hover,
    .btn-lg:focus,
    .btn-lg:active,
    .btn-lg.active,
    .button_upvote:hover,
    .button_upvote:focus,
    .button_upvote:active,
    .msger-send-btn:hover,
    .msger-send-btn:focus,
    .msger-send-btn:active {
        box-shadow: 0 0 16px rgba(64, 131, 255, 0.4);
    }
    #modview-switch {
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
        transition: transform .2s ease, box-shadow .2s ease;
    }
    #modview-switch:hover,
    #modview-switch:focus,
    #modview-switch:active {
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
        transform: translateY(-2px);
    }
    body.theme-dark #modview-switch {
        box-shadow: 0 9px 21px rgba(0, 0, 0, 0.38), 0 0 7px 2.5px rgba(64, 131, 255, 0.45);
    }
    body.theme-dark #modview-switch:hover,
    body.theme-dark #modview-switch:focus,
    body.theme-dark #modview-switch:active {
        box-shadow: 0 22px 46px rgba(0, 0, 0, 0.45), 0 0 32px 12px rgba(96, 164, 255, 0.6);
        transform: translateY(-2px);
    }
    .text { text-align: center; font-size: 20px; font-style: italic; margin: 15px; }
    .red { color: red; }
    .panel-group .panel { margin-bottom: 10px !important; }
    .panel-title { padding: 10px; font-size: 18px !important; }
    @media screen and (max-device-width: 480px) {
        .setname { font-size: 3.38rem; }
    }

    /* Vote adjustments */
    #before_send { margin: 50px 15px 15px 15px !important; }
    #before_send #img_before_send { max-width: 100% !important; max-height: 32vh !important; }
    #after_send { margin: 50px 15px 15px 15px !important; }
    #after_send #img_after_send { max-width: 100% !important; max-height: 32vh !important; }
    @media (max-height: 500px) and (max-width: 321px) { #before_send p { display: none !important; } }
    @media (max-height: 500px) and (max-width: 321px) { #after_send p { display: none !important; } }
    @media (max-width: 321px) { #before_send p { font-size: 17px !important; } }
    @media (max-width: 321px) { #after_send p { font-size: 17px !important; } }
    @media (max-width: 380px) {
        .form-group #keyword { font-size: var(--input-font-size) !important; min-height: 80px !important; }
    }

    .pattern-background-radial {
        background-color: #ffffff;
        background-image: radial-gradient(#00000005 15%, transparent 16%), radial-gradient(#00000005 15%, transparent 16%);
        background-position: 0 0, 8px 8px;
        background-size: 16px 16px;
    }
    @keyframes lock-pulse {
        0%   { transform: scale(1); opacity: 1; }
        50%  { transform: scale(1.2); opacity: 0.7; }
        100% { transform: scale(1); opacity: 1; }
    }
    #modal_notify .modal-dialog {
        display: flex;
        align-items: center;
        min-height: 92vh;
        min-height: 100dvh;
    }
    #modal_notify .modal-content { margin: auto; }
    #authvote_off_preview_modal .modal-dialog {
        display: flex;
        align-items: center;
        min-height: 92vh;
        min-height: 100dvh;
        width: 100%;
        height: 100%;
        margin: 0;
    }
    #authvote_off_preview_modal .modal-content {
        margin: auto;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    #modal_ack .modal-dialog {
        display: flex;
        align-items: center;
        width: 100%;
        height: 100%;
        margin: 0;
    }
    #modal_ack .modal-content {
        margin: auto;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    #authvote_preview_modal .modal-dialog {
        display: flex;
        align-items: center;
        min-height: 92vh;
        min-height: 100dvh;
    }
    #authvote_preview_modal .modal-content { margin: auto; }
    .authvote_preview_text { font-size: 2rem; }
    .modal-content h4 { margin-top: 2vh; margin-bottom: 1vh; }

    /* Center modals inside Send and ensure they overlay the header and footer */
    /* Use Bootstrap's default backdrop stacking */
    #modals {
        height: 1px;
        margin: 0;
    }
    #modals .modal-dialog {
        width: 100%;
        max-width: 500px;
        padding-left: 3rem;
        padding-right: 3rem;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }
    #modals .modal-content { margin: auto; }

    .modal.voxr-centered.in {
        /* use padding-top (not top or margin-top): iOS Safari misaligns
           touch hit areas when top/margin-top shift position:fixed elements */
        top: 0;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        padding-top: 150px;
        box-sizing: border-box;
        -webkit-overflow-scrolling: auto;
    }
    #authvote_preview_modal.modal.voxr-centered.in { padding-top: 75px; }
    #modal_authvote_disabled.modal.voxr-centered.in { padding-top: 0; }
    #modal_authvote_disabled .modal-dialog { display: block; }
    .modal.voxr-centered.in .modal-dialog {
        margin: 0 auto;
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }

    /* Layout following send.php DOM order */
    #container-box {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: 100%;
        width: 100%;
        max-width: 500px;
        max-height: 960px;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: auto;
        margin-right: auto;
    }
    #logo-header {
        position: relative;
        top: 0;
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        min-height: clamp(40px, min(12vw, 8vh), 80px);
        height: auto;
        width: 100%;
        z-index: 1030;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        background: var(--voxr-background, #fff);
        padding: clamp(2px, 1vh, 10px) 15px;
        /* tatsächliche heigth bestimmt @media */
    }

    #back_arrow { cursor: pointer; display: none; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
    /* Der Pfeil steht exakt da, wo er immer stand. Vergroessert ist nur die
       Trefferflaeche: Innenabstand ringsherum, links um denselben Betrag
       zurueckgenommen, damit das Zeichen sich nicht verschiebt und das Feld
       trotzdem bis an den linken Rand reicht. Ergibt rund 46x56 Punkte
       statt der paar Pixel des Zeichens selbst. */
    #back_arrow.opened {
        display: block;
        font-size: 1.5rem;
        padding: 16px 26px 16px 10px;
        margin-left: -10px;
        -webkit-tap-highlight-color: transparent;
    }
    #back_arrow_lock { cursor: default; display: none; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; }
    #back_arrow_lock.opened { font-size: 1.5rem; }

    /* Ist ein Punkt geoeffnet, schliesst ein Tipp irgendwo auf den Kopf. */
    #logo-header:has(#back_arrow.opened) { cursor: pointer; }

/* Speakerliste im Viewer linksbuendig (zentrierter Default kommt vom Froala-
   fr-view-Wrapper). DB-Content bleibt unveraendert, das ist rein eine
   Darstellungsregel fuer type='speaker'-Container. */
.voxr-speaker-list,
.voxr-speaker-list .voxr-speaker-block,
.voxr-speaker-list .voxr-speaker-block h1,
.voxr-speaker-list .voxr-speaker-block h2,
.voxr-speaker-list .voxr-speaker-block h3,
.voxr-speaker-list .voxr-speaker-block h4,
.voxr-speaker-list .voxr-speaker-block h5,
.voxr-speaker-list .voxr-speaker-block h6,
.voxr-speaker-list .voxr-speaker-block p {
    text-align: left !important;
}

#logo-header {
    overflow: visible;
}

.settings-gradient #logo-header {
    background: transparent;
}

body.glow-effect #logo-header {
    background: transparent;
}

.settings-gradient #submit,
.settings-gradient .multitag_buttons,
.settings-gradient .button_voteinput,
.settings-gradient .button_redirect,
.settings-gradient .menu-item,
.settings-gradient .button_upvote {
    background: linear-gradient(to right, var(--voxr-color-1), color-mix(in srgb, color-mix(in srgb, var(--voxr-color-1) 80%, var(--voxr-color-3, var(--voxr-color-1)) 20%) 66%, black 34%)) !important;
}

#logo-header img {
    width: auto;
    max-width: min(80%, 300px);
    height: auto;
    max-height: min(64px, 18vh);
    max-height: clamp(28px, min(14vw, 8vh), 64px);
    max-width: clamp(140px, min(60vw, 70vw), 300px);
    object-fit: contain;
    border: none;
}

body.has-bg #logo-header img,
body.has-bg #voxr-link-overlay-header img {
    background: #fff;
    padding: clamp(8px, 1.2vh, 14px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.85),
        0 0 0 2px rgba(0, 0, 0, 0.12),
        0 0 10px rgba(255, 255, 255, 0.35),
        0 6px 18px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(6px);
}

/* Transparent logo: no white chip when logo has alpha channel */
body.has-bg.logo-chip-transparent #logo-header img,
body.has-bg.logo-chip-transparent #voxr-link-overlay-header img {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

    #setname_container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
        margin-top: 6px;
        margin-bottom: 0;
    }

@media (max-width: 380px) {
    #logo-header img {
        max-width: 240px;
    }
}

    #bottom_container {
        display: flex;
        flex-direction: column;
        position: relative;
        padding-top: 5vh;
        margin: 0;
        background: transparent;
    }

    body.voxr-link-overlay-open #bottom_container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 10001;
        padding-top: 5px;
        padding-bottom: 5px;
        background: var(--voxr-background, #fff);
    }

    .scroll-hint-hidden #bottom_container {
        padding-top: 0;
    }

    #footer-box {
        flex: 0 0 auto;
        position: relative;
        z-index: 1030;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        /* Textfarbe wird dynamisch via JS (voxrUpdateFooterTextColor und
           applySetname) anhand der Hintergrundfarbe gesetzt - frueher
           stand hier ein festes color:#000 !important, das in Session-
           Child-Szenarien mit dunklem Lead-Hintergrund den von JS
           gesetzten Weisswert ueberschrieben hat. */
        background: transparent !important;
        max-height: 18px;
        margin: 5px 0 0 0;
        height: var(--footer-height);
        line-height: var(--footer-height);
        padding: 0;
        font-size: 1vh;
        /* werden ggf. von @media überschrieben */
    }

    #scroll-hint-box {
        position: absolute;
        z-index: 1031;
        top: 0;
        left: 0;
        right: 0;
        min-height: 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: flex-start; /* Element oben platzieren */
        color: var(--voxr-color-2, var(--voxr-color-1));
        background: transparent !important;
        height: 5vh;
        max-height: 1px;
        cursor: pointer;
        transition: height 1s ease;
        margin: 0;
        padding-top: 0;
        padding-bottom: 0.2em;
    }

    #scroll-hint-box span {
        margin-top: -0.5rem;
    }

    /* z. B. per JS oder via Klasse „fade-out“ */
    #scroll-hint-box.fade-out {
        height: 0;
    }

    .hidden {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    #scroll-hint-box.hidden {
        height: 0;
        display: none;
    }

    .arrow {
        font-size: 1.5em;
        text-align: center;
        margin: 8% 0;
        color: #000;
        text-decoration: none;
    }
.bounce {
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

.bounce-up {
    -webkit-animation: bounce-up 2s infinite;
    animation: bounce-up 2s infinite;
}
    @-webkit-keyframes bounce {
        0%,
        20%,
        50%,
        80%,
        100% {
            -webkit-transform: translateY(0);
            transform: translateY(0);
        }
        40% {
            -webkit-transform: translateY(30px);
            transform: translateY(30px);
        }
        60% {
            -webkit-transform: translateY(15px);
            transform: translateY(15px);
        }
    }
@keyframes bounce {
        0%,
        20%,
        50%,
        80%,
        100% {
            -webkit-transform: translateY(0);
            transform: translateY(0);
        }
        40% {
            -webkit-transform: translateY(30px);
            transform: translateY(30px);
        }
        60% {
            -webkit-transform: translateY(15px);
            transform: translateY(15px);
        }
    }

    @-webkit-keyframes bounce-up {
        0%,
        20%,
        50%,
        80%,
        100% {
            -webkit-transform: translateY(0);
            transform: translateY(0);
        }
        40% {
            -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
        }
        60% {
            -webkit-transform: translateY(-15px);
            transform: translateY(-15px);
        }
    }
    @keyframes bounce-up {
        0%,
        20%,
        50%,
        80%,
        100% {
            -webkit-transform: translateY(0);
            transform: translateY(0);
        }
        40% {
            -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
        }
        60% {
            -webkit-transform: translateY(-15px);
            transform: translateY(-15px);
        }
    }

    @media (min-height: 700px) {
        #logo-header { height: auto; }
        #footer-box { height: var(--footer-height); }
        font-size: 1.5vh;
    }
    @media (min-height: 900px) {
        #logo-header { height: auto; }
        #footer-box { height: var(--footer-height); }
        font-size: 2vh;
    }

    /* Keine height:100% wegen Safari-Flexbox-Bug (überlappt bottom_container) */
    #playport {
        flex: 1 1 auto;
        overflow-y: auto;
        width: 100%;
        display: flex;
        position: relative; /* constrain absolutely positioned children */

        flex-direction: column;
        gap: clamp(2px, 1vh, 10px);
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 0;
        }
    #desktop-send-switch {
        display: none;
    }
    @media (min-width: 992px) {
        #desktop-send-switch {
            display: flex;
            position: fixed;
            bottom: 20px;
            right: 20px;
            top: auto;
            left: auto;
            transform: none;
            align-items: center;
            justify-content: center;
            z-index: 1035;
        }
        #desktop-send-link {
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            color: var(--voxr-color-2, #f07d00);
        }
    }
    #playport.action-open #interactive-wrapper,
    #playport.action-open #input-wrapper,
    #playport.action-open #input-form {
        display: none;
        flex: 0 0 auto;
    }
    /* Shell-Sendbutton im Container-/Action-Modus immer ausblenden,
       sonst zeigt der iframe-Inhalt eigenen Submit-Button UND der
       umgebende Shell ebenfalls einen - doppelter "Senden". */
    body.voxr-action-open #bottom_container {
        display: none !important;
    }
    /* Bei Geraeten breiter als ~iPhone-SE/S8+ (380px) bleibt die
       Infoguide-Headline (Event-Titel ueber dem Menue) auch im
       Container-/Action-Modus sichtbar - sticky am oberen Rand des
       Playports, auf etwa der Haelfte der Originalgroesse. Auf SE/S8+
       (<380px) wie bisher ausgeblendet, weil dort nicht genug Platz. */
    @media (max-width: 379.98px) {
        #playport.action-open #infoguide_heading_section {
            display: none !important;
        }
    }
    @media (min-width: 380px) {
        #playport.action-open #infoguide_heading_section {
            position: sticky;
            top: 0;
            z-index: 1030;
            background: var(--voxr-background, transparent);
            margin-top: 0 !important;
            margin-bottom: 2px !important;
            padding: 2px 0 !important;
        }
        #playport.action-open #infoguide_heading {
            font-size: clamp(14px, min(3vw, 2vh), 20px) !important;
        }
    }
    #playport iframe {
        height: 100%;
    }
    #page-loader { flex: 1 1 0; }
    .loader {
        display: none;
        text-align: center;
        border: 16px solid #f3f3f3;
        border-radius: 50%;
        border-top: 16px solid var(--voxr-color-1);
        width: 80px;
        height: 80px;
        animation: spin 2s linear infinite;
    }
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

    #interactive-wrapper,
    #non-live-wrapper,
    #infoguide-wrapper,
    #input-wrapper {
        flex: 1 1 0;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-height: 100%;
    }
    #interactive-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        min-height: 0;
        overflow: hidden;
    }
    #interactive-wrapper.mailcollector-layout {
        flex-direction: column;
        align-items: stretch;
    }
    #interactive-wrapper.mailcollector-layout > * {
        width: 100%;
    }
    .mailcollector-optin-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 8px 16px;
    }
    .mailcollector-switch {
        position: relative;
        display: inline-block;
        width: 46px;
        height: 26px;
        flex-shrink: 0;
    }
    .mailcollector-switch input {
        display: none;
    }
    .mailcollector-slider {
        position: absolute;
        inset: 0;
        border-radius: 999px;
        background: #506078;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    .mailcollector-slider:before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        left: 3px;
        top: 3px;
        transition: transform 0.3s ease;
    }
    .mailcollector-switch input:checked + .mailcollector-slider {
        background: #2563eb;
    }
    .mailcollector-switch input:checked + .mailcollector-slider:before {
        transform: translateX(20px);
    }
    .mailcollector-optin-label {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.3;
        cursor: pointer;
        user-select: none;
    }
    #input-form {
        min-height: 0;
        margin-top: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        flex: 1 1 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    #input-form > center.upvote-inline-root {
        flex: 0 0 auto;
        margin-top: auto;
    }
    #input-form > center > * {
        margin-top: 15px;
    }
    #multisend_buttons,
    #input-form > [id^="multisend_buttons"] {
        margin-top: 15px;
        display: block;
    }
    .stacked-option-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        flex: 1 1 0;
        width: 100%;
        min-height: 0;
        height: 100%;
        overflow: hidden;
    }
    .stacked-option-area.no-stacked-options {
        flex: 0 0 auto;
        height: auto;
    }
    .no-vote-input-wrapper {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        width: 100%;
        padding-bottom: 2.5vh;
        min-height: 0;
        overflow: hidden;
    }
    #stacked-options-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1 1 0;
        width: 100%;
        min-height: 0;
        height: 100%;
    }
    .stacked-option-list-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex: 1 1 0;
        min-height: 60px;
        width: 96%;
        max-width: 96%;
        margin: 0 auto;
        position: relative;
        isolation: isolate;
    }
    .stacked-option-list {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 10px;
        flex: 1 1 0;
        min-height: 60px;
        width: 96%;
        max-width: 96%;
        margin: 0 auto;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        contain: layout paint;
    }
    .stacked-option-list-wrapper > .stacked-option-list {
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        position: relative;
        z-index: 0;
    }
    .stacked-option-list-wrapper::before,
    .stacked-option-list-wrapper::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 40px;
        pointer-events: none;
        opacity: 0;
        transition: opacity 150ms ease;
        z-index: 2;
        background-color: var(--voxr-background, #ffffff);
        will-change: opacity;
    }
    .stacked-option-list-wrapper::before {
        top: 0;
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    }
    .stacked-option-list-wrapper::after {
        bottom: 0;
        -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    }
    .stacked-option-list-wrapper.has-overflow-top::before {
        opacity: 1;
    }
    .stacked-option-list-wrapper.has-overflow::after {
        opacity: 1;
    }
    .stacked-option-list.has-overflow {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) calc(100% - 40px), rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) calc(100% - 40px), rgba(0, 0, 0, 0) 100%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }
    .stacked-option-list.has-overflow-top {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 40px);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 40px);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }
    .stacked-option-list.has-overflow.has-overflow-top {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 40px, rgba(0, 0, 0, 1) calc(100% - 40px), rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 40px, rgba(0, 0, 0, 1) calc(100% - 40px), rgba(0, 0, 0, 0) 100%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }
    .stacked-option-list-wrapper > .stacked-option-list.has-overflow,
    .stacked-option-list-wrapper > .stacked-option-list.has-overflow-top,
    .stacked-option-list-wrapper > .stacked-option-list.has-overflow.has-overflow-top {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .stacked-option-list .stacked-option {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 9vh;
        min-height: 60px;
        min-height: 11vh;
        min-height: 11dvh;
        width: 100%;
        max-width: 92%;
        align-self: stretch;
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: anywhere;
        text-align: center;
        padding: 10px 20px;
        margin: 0 auto;
        font-size: 18px;
        box-sizing: border-box;
    }
    body:not(.emotions) #vote-option-list .button_voteinput {
        width: 100%;
        max-width: 92%;
        align-self: center;
        margin: 6px auto;
    }
    #lock_screen,
    #compass_preview_lock_screen {
        flex: 1 1 auto;
        min-height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 10px;
        background-color: transparent;
        z-index: 1000;
    }
    #lock_screen_msg {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 90%;
        text-align: center;
    }
    .lock-screen-text { display: flex; flex: 0 1 auto; flex-direction: column; font-size: 4vh; }
    .lock-icon { display: flex; flex: 0 0 1; font-size: 50px; animation: lock-pulse 2s ease-in-out infinite; margin: 10vh 0; }

    #text_link, #privacy_url { color: var(--voxr-color-2, var(--voxr-color-1)); margin-top: 2vh; }
    #privacy_url { padding-top: 5px; }
    #privacy_url, #privacy_url:visited, #privacy_url:active, #privacy_url:hover { text-decoration: none; }
    #more_about_link { color: var(--voxr-color-2, var(--voxr-color-1)); }
    #more_about_link.clicked { color: var(--voxr-color-2, var(--voxr-color-1)); }

    @media (max-width: 767px) {
        #privacy_paragraph {
            font-size: 1.5vh !important;
            font-size: 2.25dvh !important;
            position: relative;
            top: 3px;
        }
    }

    .module-iframe {
        width: 100%;
        height: 100%;
    }

    .embedded-action-container {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        flex: 1 1 0;
        position: relative;
    }


#infoguide_heading_section {
    margin-top: clamp(2px, 1.2vh, 9px);
    margin-bottom: clamp(6px, 2.5vh, 24px);
    padding-top: 0;
}

#infoguide_heading {
    margin: 0;
    font-size: clamp(20px, min(8vw, 5vh), 40px);
    line-height: 1.15;
    word-break: break-word;
}



@media (max-width: 480px) {
    #infoguide_heading_section {
        margin-bottom: clamp(6px, 2vh, 20px);
    }
}
    #setname {
        margin: 0 10px;
        text-align: center;
        font-size: 3.38rem;
        font-size: clamp(1.944rem, 2.808vh, 3.248rem);
        line-height: 1.2;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    #setname .setname-bold { font-weight: 700; }
    /* PARENT-Class-Steuerung der Schriftstaerke:
       option_density.php's fitDenseText() ersetzt die innere Span durch
       eine eigene <span class="voxr-fit-span">, wodurch die alten
       .setname-bold/.setname-normal Klassen verschwinden. Die
       setname-len-bold/normal-Klasse auf dem PARENT <p id="setname">
       ueberlebt das Rebuild und steuert per Vererbung zuverlaessig. */
    #setname.setname-len-bold,
    #setname.setname-len-bold * { font-weight: 700 !important; }
    #setname.setname-len-normal,
    #setname.setname-len-normal * { font-weight: 400 !important; }

    .menu-item {
        --menu-item-color: var(--voxr-color-2);
        background: linear-gradient(to right, var(--voxr-color-1), color-mix(in srgb, color-mix(in srgb, var(--voxr-color-1) 80%, var(--voxr-color-3, var(--voxr-color-1)) 20%) 66%, black 34%)) !important;
        border: 2px solid color-mix(in srgb, var(--voxr-color-2) 50%, white);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex: 1 1 0;
        min-height: 11vh;
        min-height: 11dvh;
        padding: 2px 0;
        border-radius: calc(var(--input-radius) + 4px) !important;
        width: 92%;
        max-width: 92%;
        box-shadow: 0 0 3px color-mix(in srgb, var(--voxr-color-2) 15%, white);
        -webkit-tap-highlight-color: transparent;
        transition: box-shadow 0.25s ease;
    }
    .menu-item:hover,
    .menu-item:focus,
    .menu-item:focus-within,
    .menu-item:active,
    .menu-item.active {
        box-shadow: 0 0 18px color-mix(in srgb, var(--voxr-color-2) 35%, white);
    }
    .menu-item .panel-title {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin: 0;
        width: 100%;
        position: relative;
        padding: 10px 12px 10px calc(20px + 3.75vh);
        flex: 1 1 auto;
    }
    .menu-item .dyncolor_compass,
    .menu-item .dyncolor_compass_2 {
        display: flex;
        width: 100%;
        flex: 1 1 auto;
    }
    .menu-item .icon-container {
        display: flex;
        align-items: center;
        align-self: flex-start;
        margin-top: 2px;
    }
    .menu-item .icon-container {
        width: 3.75vh;
        height: 3.75vh;
        flex: 0 0 3.75vh;
        margin-right: 20px;
        position: relative;
    }
    .menu-item .icon-container .glyphicon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    .menu-item .icon-container .glyphicon::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center, lavender 0%, transparent 70%);
        filter: blur(6px);
        opacity: 0.35;
        z-index: -1;
        pointer-events: none;
    }
    .menu-item .label-container {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
        padding-right: 12px;
        box-sizing: border-box;
        overflow: hidden;
        height: auto;
        min-width: 0;
    }
    .menu-item .label-container span {
        display: flex;
        align-items: center;
        line-height: 1.3;
        text-align: left;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }
    .menu-item .label-container .url-line {
        display: block;
        font-size: 0.8em;
        line-height: 1.2;
        opacity: 0.7;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 2px;
    }
    @media (max-width: 320px) {
        .menu-item .label-container span {
            font-size: 0.704em;
            line-height: 1.3;
        }
    }
    @media (max-width: 1366px) {
        .menu-item .label-container .url-line {
            font-size: 0.7em;
        }
    }
    .menu-item .menu-chevron-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 24px;
        margin-left: auto;
        margin-right: 3px;
    }
    .menu-item .menu-chevron {
        width: 8px;
        height: 8px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
        flex: 0 0 auto;
    }

    .menu-separator {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        /* Asymmetrisches Padding: viel Luft nach oben (visuell trennt
           es die vorherige Gruppe ab), wenig nach unten (das Label
           gehoert zur Gruppe darunter). */
        padding: 10px 0 2px;
        margin: 0;
        background: transparent;
        cursor: default;
        pointer-events: none;
    }
    .menu-separator-line {
        display: block;
        width: 50%;
        height: 2px;
        background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--voxr-color-1, #b57edc) 65%, transparent), transparent);
        margin-bottom: 8px;
    }
    .menu-separator-label {
        font-size: 0.85em;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: color-mix(in srgb, var(--voxr-color-1, #b57edc) 70%, #555);
        text-transform: uppercase;
        text-align: center;
    }

    #menu_list {
        display: flex;
        flex-direction: column;
        flex: 1 1 0;   /*  ⬅️  nimmt den ganzen freien Platz im #playport ein  */
        min-height: 0; /*  iOS-Safari-Fix damit children schrumpfen dürfen    */
        gap: 10px;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        background: transparent;
        position: relative;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(0);
        transition: transform 0.24s ease;
        padding-bottom: 14px;
       }

    #menu_list.has-overflow {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) calc(100% - 50px), rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) calc(100% - 50px), rgba(0, 0, 0, 0) 100%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }

    #menu_list.has-overflow-top {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50px);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50px);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }

    #menu_list.has-overflow.has-overflow-top {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50px, rgba(0, 0, 0, 1) calc(100% - 50px), rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50px, rgba(0, 0, 0, 1) calc(100% - 50px), rgba(0, 0, 0, 0) 100%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }

    #menu_list.slide-out-left {
        transform: translateX(-100%);
    }

    #menu_list.slide-in-left {
        transform: translateX(0);
    }

    #element_container {
        transform: translateX(100%);
        transition: transform 0.24s ease;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    #element_container.has-overflow {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) calc(100% - 15px), rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) calc(100% - 15px), rgba(0, 0, 0, 0) 100%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }

    #element_container.has-overflow-top {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15px);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15px);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }

    #element_container.has-overflow.has-overflow-top {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15px, rgba(0, 0, 0, 1) calc(100% - 15px), rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15px, rgba(0, 0, 0, 1) calc(100% - 15px), rgba(0, 0, 0, 0) 100%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }

    #element_container.slide-in-right {
        transform: translateX(0);
    }

.keyword-wrapper.msger-inputarea {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-end;
    width: 82%;
    margin: 10px auto 0;
    padding: 5px;
    border: 2px solid var(--voxr-color-1);
    border-radius: var(--input-radius);
    background: var(--voxr-background);
}
.msger-input {
    flex: 1;
    background: var(--voxr-background);
    color: #000;
    min-height: 40px;
    max-height: 150px;
    overflow-y: auto;
    resize: none;
    box-sizing: border-box;
    width: 100%;
    font-family: inherit;
    border: none;
    outline: none;
    box-shadow: none;
}

#input-form .keyword-wrapper.msger-inputarea {
    background: #fff;
    background-clip: padding-box;
}
#input-form .msger-input {
    background: #fff;
    background-clip: padding-box;
    border: none;
    outline: none;
    box-shadow: none;
}
#input-form .msger-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

#submit, .multitag_buttons, .button_voteinput, .multitag_button_back, .button_redirect { background: linear-gradient(to right, var(--voxr-color-1), color-mix(in srgb, color-mix(in srgb, var(--voxr-color-1) 80%, var(--voxr-color-3, var(--voxr-color-1)) 20%) 66%, black 34%)); }
#vote-option-list .button_voteinput {
    border: 1px solid color-mix(in srgb, var(--voxr-color-2) 65%, white);
}
/* Selected-State fuer Vote-Buttons (Multi-Choice / Single-Choice).
   Global hier geloest, damit die Klassen-basierte Selection in send.js
   (toggle_vote, updateVoteButtons etc) fuer ALLE Slugs greift, nicht
   nur fuer /dienstag (wo option_density.php geladen wird).
   !important ist noetig um die .settings-gradient-Gradient-Regel in
   Z. 614-618 zu schlagen - die hat selbst !important. Ohne diese
   Spezifitaet war ein inline $btn.css('background-color', ...) vorher
   wirkungslos auf settings-gradient-Seiten (siehe Commit c594214 / ff). */
#vote-option-list .button_voteinput.voxr-vote-selected {
    background: var(--voxr-color-2) !important;
    color: var(--voxr-color-2-text, #ffffff) !important;
}
.submit-timer {
    display: inline-block;
    min-width: 3.5em;
    margin-right: 0.5em;
    font-variant-numeric: tabular-nums;
}
.submit-timer-minutes,
.submit-timer-seconds,
.submit-timer-separator {
    display: inline-block;
}
.button_upvote { background: linear-gradient(to right, var(--voxr-color-1), color-mix(in srgb, color-mix(in srgb, var(--voxr-color-1) 80%, var(--voxr-color-3, var(--voxr-color-1)) 20%) 66%, black 34%)); }
.vote-button {
    border-radius: calc(var(--input-radius) + 4px);
}
.button_upvote:hover,
.button_upvote.active { background: var(--voxr-color-2); color: var(--voxr-color-2-text); }
.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:visited {
    background-color: var(--voxr-color-1) !important;
    border-color: var(--voxr-color-1) !important;
    color: var(--voxr-main-btn-text, var(--voxr-color-1-text, #ffffff)) !important;
}
.btn-session, .btn-session:hover, .btn-session:active, .btn-session:focus, .btn-session:visited {
    background-color: var(--voxr-color-2) !important;
    border-color: var(--voxr-color-2) !important;
    color: var(--voxr-color-2-text) !important;
}
/* Scrollbars entfernen */
::-webkit-scrollbar {
    width: 0px;

    background: transparent;
}
/* Container for each expanded menu item */
/* Geschlossener Zustand */
.element-container {
    display: none;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    overflow: hidden;
   }

/* Geöffneter Zustand */
.element-container.active {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 96%;
    max-width: 96%;
    background: transparent;
    min-height: 100%;
    overflow: visible;
    margin: 0 auto;
}



.iframe-wrapper {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-start;
    align-items: stretch;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
    flex-direction: column;
    width: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.iframe-wrapper::-webkit-scrollbar {
    display: none;
}

.iframe-wrapper iframe {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    height: 100%;
    min-height: 320px; /* Sicherheitswert für sehr kleine Screens */
    border: none;
}




/* Inneres Wrapper-Element (falls du welche hast) */
.element-container > div {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 0; /* Sicherheitswert für sehr kleine Screens */
    overflow: visible;
}


#element_container.active{
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
}

/* Wrapper around iframe layer and iframe itself */
.iframe-wrapper,
.element-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 0;
    gap: 10px;
    width: 100%;
}

.iframe-wrapper {
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.element-inner > .embedded-action-container,
.element-inner > .iframe-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 0;
    gap: 10px;
    width: 100%;
}

.iframe_container {
    display:flex;
    flex: 0 0 auto;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Direct iframe in expanded element containers */
.element-container iframe,
.iframe-wrapper iframe {
    display: flex;
    flex: 1 1 auto;
    min-height: 320px;
    width: 100%;
    height: 100%;
    border: none;
    justify-content: flex-start;
    align-items: stretch;
}
iframe {
    width: 100%;
    height: auto;
    border: none;
    display: block;
}

.iframe_container {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.element-container > div {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 0;
    width: 100%;
}

/* Style modal buttons uniformly with VOXR blue */
.modal .btn,
.modal a.btn {
    background-color: var(--voxr-color-1, #0082cb) !important;
    border-color: var(--voxr-color-1, #0082cb) !important;
    color: var(--voxr-color-1-text, #ffffff) !important;
}
.modal .btn:hover,
.modal a.btn:hover,
.modal .btn:focus,
.modal a.btn:focus {
    background-color: var(--voxr-color-1, #0082cb) !important;
    border-color: var(--voxr-color-1, #0082cb) !important;
    color: var(--voxr-color-1-text, #ffffff) !important;
}


/* Multiple choice send button */
.multiple_choice_div,
.multiple_choice_div_min {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
    background: transparent;
}
.multiple_choice_div { padding: 10px; }
.multiple_choice_div_min { padding: 3px; }
#multiple-choice-btn { display:block; margin:0 auto; max-width:300px; }
#submit,
button#submit,
.form-group #submit,
#multiple-choice-btn {
    font-size: clamp(30px, min(9vw, 5vh), 40px) !important;
    line-height: 1.2 !important;
    padding: clamp(6px, 1.5vh, 10px) 24px !important;
    min-height: clamp(48px, min(14vw, 11vh), 88px) !important;
    max-height: clamp(48px, min(14vw, 11vh), 88px) !important;
}



/* Position modal backdrop below header */
.modal-backdrop {
    --modal-backdrop-rgb: 51,51,51;
    margin: 0;
    width: 100%;
    height: 100%;
    z-index: 1029;
    background: rgba(var(--modal-backdrop-rgb),0.5);
    padding-bottom: var(--footer-height);
}

.modal-backdrop.in {
    opacity: 1;
}

.action-preview-close-wrapper {
    display: flex;
    justify-content: flex-start;
}

#theme_container {
    background: transparent;
    text-align: center;
    overflow: hidden;
}

#theme_container {
    width: 95%;
    height: 240px;
    max-height: 120px;
    margin: 4px auto 16px;
    background-color: var(--voxr-color-1);
    background-image: linear-gradient(to right, var(--voxr-color-1), color-mix(in srgb, color-mix(in srgb, var(--voxr-color-1) 80%, var(--voxr-color-3, var(--voxr-color-1)) 20%) 66%, black 34%));
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    align-self: center;
}
body.infoguide-active #menu_list {
    padding-bottom: 2px;
}
/* Auf flachen Laptop-Bildschirmen (z.B. 13"-Notebooks mit ~720-900px
   Hoehe) den Inhalt eines geoeffneten Infoguide-Containers runter-
   skalieren, damit mehr auf eine Bildschirmseite passt und der User
   weniger scrollen muss. Zoom statt font-size, weil der Froala-Inhalt
   mit inline-Pixel-font-sizes ankommt und auf rein em-basierte
   Skalierung nicht reagiert - zoom skaliert sowohl Schrift als auch
   Abstaende geschlossen. */
@media (min-width: 700px) and (max-height: 900px) {
    [id^="content_"] {
        zoom: 0.92;
    }
}
@media (min-width: 700px) and (max-height: 800px) {
    [id^="content_"] {
        zoom: 0.86;
    }
}
@media (min-width: 700px) and (max-height: 720px) {
    [id^="content_"] {
        zoom: 0.8;
    }
}
/* Etwas Abstand zwischen Header-Leiste (Logo + Event-Name) und dem
   Inhalt eines geoeffneten Containers, sonst klebt der erste Absatz
   bzw. die erste Headline zu weit oben. Zusaetzlich links/rechts mehr
   Luft, damit der Text nicht am Rand klebt und der Inhalt atmet statt
   bastelig zu wirken. box-sizing border-box, damit die 96%-max-width
   das Padding einschliesst und nichts ueberlaeuft. */
[id^="content_"] {
    padding-top: 1.5em;
    padding-left: 1.25em;
    padding-right: 1.25em;
    box-sizing: border-box;
}
#menu_list.menu-few-items {
    justify-content: center !important;
}
#menu_list.menu-few-items > .menu-item {
    flex: 0 0 auto !important;
    min-height: 22vh !important;
    min-height: 22dvh !important;
}
@media (max-height: 499px) {
    body:not(.pre-mode):not(.preview-mode) #theme_container {
        display: none !important;
    }
}
@media (max-height: 499px) {
    #theme_container.theme_force_show {
        display: block !important;
    }
}
#theme_container.theme_hidden { display: none; }

#theme-powered-separator {
    width: 70%;
    height: 1px;
    margin: 0 auto 4px;
    background: linear-gradient(90deg, transparent, var(--voxr-color-1), transparent);
    box-shadow: 0 0 6px var(--voxr-color-1);
    align-self: center;
}
@media (max-height: 499px) {
    body:not(.pre-mode):not(.preview-mode) #theme-powered-separator {
        display: none !important;
    }
}
@media (max-height: 499px) {
    #theme-powered-separator.theme_force_show {
        display: block !important;
    }
}
#theme-powered-separator.theme_hidden { display: none; }

#theme_container.theme-1 {
    -webkit-mask-image: url('../images/theme/infoguide_theme_1.png');
    mask-image: url('../images/theme/infoguide_theme_1.png');
}

#theme_container.theme-2 {
    -webkit-mask-image: url('../images/theme/infoguide_theme_2.png');
    mask-image: url('../images/theme/infoguide_theme_2.png');
}

#theme_container.theme-3 {
    -webkit-mask-image: url('../images/theme/infoguide_theme_3.png');
    mask-image: url('../images/theme/infoguide_theme_3.png');
}

/* Meeting timer styling */
#meeting-timer-wrapper {
    display: none;
    width: 100%;
    min-height: 10vh;
    margin: 0 auto;
    padding: 1.25vh 1.25vw;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

body.meeting-timer-active #meeting-timer-wrapper {
    flex: 1 1 auto;
    margin-top: auto;
    margin-bottom: auto;
}

body.meeting-timer-active #interactive-wrapper {
    flex: 1 1 auto;
}

#meeting-timer-wrapper .meeting-timer-inner {
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5vh;
    position: relative;
    z-index: 1;
}

#meeting-timer-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background-color: var(--voxr-color-1, #1A32B6);
    pointer-events: none;
    transition: height 1s linear;
}

#meeting-timer-label {
    font-size: clamp(1.6rem, 2.8vh, 2.4rem);
    line-height: 1.2;
}

#meeting-timer-countdown {
    font-size: clamp(3.2rem, 7.5vh, 6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    border: none;
    padding: 0.5vh 1.5vw;
    background-color: var(--voxr-color-1, #1A32B6);
}

.meeting-timer-time-part {
    display: inline-block;
    min-width: 0.8em;
}

.meeting-timer-separator {
    display: inline-block;
    margin: 0 0.1em;
}

#meeting-timer-countdown.meeting-timer-warning,
#meeting-timer-countdown.meeting-timer-warning .meeting-timer-time-part,
#meeting-timer-countdown.meeting-timer-warning .meeting-timer-separator {
    color: #d32f2f;
}

@keyframes meeting-timer-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

#meeting-timer-countdown.meeting-timer-pulse {
    animation: meeting-timer-pulse 1s ease-in-out infinite;
}

#meeting-timer-countdown.meeting-timer-pulse,
#meeting-timer-countdown.meeting-timer-pulse .meeting-timer-time-part,
#meeting-timer-countdown.meeting-timer-pulse .meeting-timer-separator {
    color: #d32f2f;
}

#meeting-timer-message {
    font-size: clamp(1.8rem, 3.2vh, 3rem);
    line-height: 1.4;
    max-width: 90vw;
}

#meeting-timer-countdown.meeting-timer-warning,
#meeting-timer-countdown.meeting-timer-pulse {
    background-color: #fff;
}

#meeting-timer-wrapper.gap-mode #meeting-timer-countdown {
    font-size: clamp(3.6rem, 8.5vh, 6.5rem);
}

#meeting-timer-wrapper.gap-mode #meeting-timer-countdown:not(.meeting-timer-warning):not(.meeting-timer-pulse) {
    background-color: var(--voxr-color-2, var(--voxr-color-1, #1A32B6));
}

#meeting-timer-wrapper.gap-mode #meeting-timer-label {
    font-size: clamp(2.2rem, 3.8vh, 3.4rem);
    font-weight: 700;
}

#meeting-timer-wrapper.gap-mode #meeting-timer-overlay {
    display: none;
}

#meeting-timer-wrapper.final-mode #meeting-timer-countdown,
#meeting-timer-wrapper.final-mode #meeting-timer-overlay {
    display: none;
}

#meeting-timer-wrapper.final-mode #meeting-timer-message {
    display: block;
    font-size: clamp(2rem, 3.4vh, 3.2rem);
    font-weight: 700;
}

@media (max-width: 480px) {
    #meeting-timer-countdown {
        font-size: 10vw;
        padding: 0.5vh 0.75vw;
    }

    #meeting-timer-wrapper.gap-mode #meeting-timer-countdown {
        font-size: 12vw;
    }

    #meeting-timer-message {
        font-size: 6vw;
    }
}

#vote-option-list {
    position: relative;
    min-height: 200px;
}
#vote-option-list .button_voteinput {
    display: block;
    width: 100%;
    margin: 6px 0;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18),
        0 0 5px color-mix(in srgb, var(--voxr-color-2) 40%, transparent);
    transition: transform 150ms ease, box-shadow 150ms ease;
}
#vote-option-list .ranking-placeholder {
    background: rgba(0, 0, 0, 0.08);
    border: 2px dashed #999;
    opacity: 0.7;
}
#vote-option-list .button_voteinput:hover,
#vote-option-list .button_voteinput:focus,
#vote-option-list .button_voteinput:active {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28),
        0 0 9px color-mix(in srgb, var(--voxr-color-2) 60%, transparent);
}
#vote-option-list .ranking-dragging {
    opacity: 0.9;
    z-index: 1000;
}
/* Allow the lightbox/main preview iframe to size itself (override global iframe !important rules) */
#main-frame {
    width: 80vw !important;
    min-width: 0 !important;
}

/* ── Glow-Effekt: Lava-artiger Effekt mit Scheinwerfern in Color 1 ── */
/* Performance-kritisch: kein will-change (vermeidet permanente GPU-Layer-Allokation),
   contain: strict auf dem Overlay (isoliert Paint + Layout),
   Animationen pausiert bis Seite geladen (glow-ready), respektiert prefers-reduced-motion. */

/* Pseudo-element glows not used on Send – overlay div provides the spots */
body.glow-effect::before,
body.glow-effect::after {
  display: none;
}

/* Glow overlay container */
.glow-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
body.glow-effect .glow-overlay {
  display: block;
}

.glow-spot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation-play-state: paused;
}
body.glow-effect.glow-ready .glow-spot {
  animation-play-state: running;
}

/* Spot 1 – oben links */
.glow-spot:nth-child(1) {
  width: 70vw;
  height: 70vw;
  top: -20vw;
  left: -15vw;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--voxr-color-1) 38%, transparent) 0%,
    transparent 70%
  );
  animation: glowLava1 16s ease-in-out infinite alternate;
}

/* Spot 2 – unten rechts */
.glow-spot:nth-child(2) {
  width: 65vw;
  height: 65vw;
  bottom: -18vw;
  right: -14vw;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--voxr-color-1) 32%, transparent) 0%,
    transparent 70%
  );
  animation: glowLava2 19s ease-in-out infinite alternate;
}

/* Spot 3 – Mitte, schwebend */
.glow-spot:nth-child(3) {
  width: 55vw;
  height: 55vw;
  top: 15%;
  left: 25%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--voxr-color-1) 22%, transparent) 0%,
    transparent 65%
  );
  animation: glowLava3 14s ease-in-out infinite alternate;
}

/* Spots 4+5 hidden on Send – 3 Spots reichen für den Effekt */
.glow-spot:nth-child(n+4) {
  display: none;
}

@keyframes glowLava1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6vw, 4vw) scale(1.06); }
  100% { transform: translate(-3vw, 5vw) scale(0.97); }
}
@keyframes glowLava2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-5vw, -3vw) scale(1.05); }
  100% { transform: translate(4vw, -5vw) scale(0.95); }
}
@keyframes glowLava3 {
  0%   { transform: translate(0, 0) scale(0.97); }
  50%  { transform: translate(5vw, -4vw) scale(1.08); }
  100% { transform: translate(-4vw, 3vw) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .glow-spot { animation: none; }
}

/* Static glow in Controlpanel preview iframes: keep the radial-gradient paint
   but freeze the transform animation. Per-frame compositor work is what
   multiplies across parallel preview iframes. */
body.glow-static .glow-spot { animation: none; }

body.glow-effect > *:not(.glow-overlay):not(.online-status) {
  position: relative;
  z-index: 1;
}

/* ---- AI Link Agenda <-> Speaker (Standard-Infoguide) ------------------- */
.voxr-speaker-link {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}
.voxr-speaker-link:hover,
.voxr-speaker-link:focus {
  opacity: 0.85;
}
.voxr-slot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 14px;
}
.voxr-slot-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.85em;
  line-height: 1.4;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.85;
}
.voxr-slot-chip:hover,
.voxr-slot-chip:focus {
  opacity: 1;
  outline: none;
}
.voxr-speaker-block,
.voxr-speaker-anchor,
[data-voxr-slot-id] {
  scroll-margin-top: 20px;
}
.voxr-speaker-block[data-voxr-slot-ref],
.voxr-speaker-anchor[data-voxr-slot-ref] {
  cursor: pointer;
}
.voxr-speaker-block[data-voxr-slot-ref]:hover,
.voxr-speaker-anchor[data-voxr-slot-ref]:hover {
  filter: brightness(1.05);
}
.voxr-linknav-highlight {
  animation: voxrLinknavPulse 2.5s ease-out;
  border-radius: 4px;
}
@keyframes voxrLinknavPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 220, 90, 0.75); background-color: rgba(255, 244, 190, 0.8); }
  40%  { box-shadow: 0 0 0 8px rgba(255, 220, 90, 0); background-color: rgba(255, 244, 190, 0.5); }
  100% { box-shadow: 0 0 0 0 rgba(255, 220, 90, 0); background-color: transparent; }
}

/* Confirmation modals (Send & participant views): rounded corners,
   gradient background matching the page fond, 95% width. */
.modal .modal-dialog {
    width: 95% !important;
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.modal .modal-content {
    border-radius: 18px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18) !important;
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        color-mix(in srgb, var(--voxr-color-2, var(--voxr-color-1, #b57edc)) 18%, #ffffff 82%) 55%,
        color-mix(in srgb, color-mix(in srgb, var(--voxr-color-2, var(--voxr-color-1, #b57edc)) 55%, var(--voxr-color-3, var(--voxr-color-1, #b57edc)) 45%) 38%, #ffffff 62%) 100%
    ) !important;
    overflow: hidden;
}
.modal .modal-header,
.modal .modal-body,
.modal .modal-footer {
    background: transparent !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}
#modals .modal-dialog {
    max-width: 95% !important;
}
#modal_ack .modal-content,
#authvote_off_preview_modal .modal-content {
    width: 95% !important;
    height: auto !important;
    border-radius: 18px !important;
}
#modal_ack .modal-dialog,
#authvote_off_preview_modal .modal-dialog {
    width: 95% !important;
    height: auto !important;
}
