﻿/* =========================
   Root & Base
   ========================= */
:root {
    --primary: #3fc99c;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --text-dark: #222;
    --text-light: #fff;
    --radius: 0.5rem;
    --spacing: 1rem;
    --icon-size: 1.2rem;
    --modal-bg: #000;
    --overlay-bg: rgba(0, 0, 0, 0.6);
    --livechat-viewport-height: 100vh;
    --livechat-viewport-width: 100vw;
    /* Note: --systemLogoColor / --systemLogoColorTransparent expected from app theme */
}

@supports (height: 100dvh) {
    :root {
        --livechat-viewport-height: 100dvh;
    }
}

@supports (width: 100dvw) {
    :root {
        --livechat-viewport-width: 100dvw;
    }
}

html, body {
    overscroll-behavior-y: contain;
}

    /* make sure the body containers are using up the full screen height even after toggling between fullscreen states */
    body.is-livechat-fullscreen #mastercontainer {
        min-height: var(--livechat-viewport-height, 100vh);
        height: var(--livechat-viewport-height, 100vh);
    }

    body.is-livechat-fullscreen #masterrow {
        min-height: var(--livechat-viewport-height, 100vh);
        height: var(--livechat-viewport-height, 100vh);
    }

    body.is-livechat-fullscreen #maincontentcontainer {
        min-height: var(--livechat-viewport-height, 100vh);
        height: var(--livechat-viewport-height, 100vh);
    }

#wsmaincol {
    text-align: center;
}

#videodiv {
    height: 100%;
}

#videoContainer {
    height: 100%;
}

    #videoContainer.mobile-video-resize-enabled {
        position: relative;
    }

.wheel-close {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999999;
    /* Gold + Tiefenlook passend zum Wheel */
    background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95) 0 18%, rgba(255,255,255,0) 19%), radial-gradient(circle at 50% 45%, #fff2b6 0%, #ffd86a 35%, #f2b535 62%, #b86a17 100%);
    /* Ring + Tiefe */
    box-shadow: 0 0 0 2px rgba(255,234,153,.95), /* heller Gold-Ring */
    0 0 12px rgba(255,199,64,.55), /* Glow wie die Bulbs */
    0 8px 18px rgba(0,0,0,.35), /* Schatten nach unten */
    inset 0 2px 2px rgba(255,255,255,.55), /* Licht oben */
    inset 0 -3px 6px rgba(0,0,0,.28); /* Tiefe unten */

    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    filter: saturate(1.05);
}

    /* Mach das X hübsch, ohne extra Icon */
    .wheel-close::before,
    .wheel-close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 2.2px;
        background: rgba(70,35,8,.95); /* dunkles Braun/Gold – passt zu Segmenten */
        border-radius: 2px;
        transform-origin: center;
        box-shadow: 0 1px 0 rgba(255,255,255,.35); /* mini highlight */
    }

    .wheel-close::before {
        transform: translate(-50%,-50%) rotate(45deg);
    }

    .wheel-close::after {
        transform: translate(-50%,-50%) rotate(-45deg);
    }

    .wheel-close:hover {
        transform: translateY(-1px) scale(1.06);
        box-shadow: 0 0 0 2px rgba(255,234,153,1), 0 0 16px rgba(255,210,90,.75), 0 10px 22px rgba(0,0,0,.40), inset 0 2px 2px rgba(255,255,255,.62), inset 0 -3px 6px rgba(0,0,0,.25);
        filter: saturate(1.12) brightness(1.03);
    }

#promo-container {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#promo-wheel {
    width: 50px;
    height: 50px;
    transform-origin: center center;
    transition: transform 3s cubic-bezier(.17,.67,.14,1.02);
}

#spin-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: sans-serif;
    font-weight: 900;
    font-size: 15px;
    color: #ffd966;
    text-shadow: 0 0 6px #ffcc33, 0 0 12px #ff9900, 0 0 18px rgba(255,150,0,0.6);
    pointer-events: none; /* damit Wheel klickbar bleibt */
}

.wheel-text-inner.pulsewheel {
    animation: pulseWinner 0.9s ease-in-out infinite;
}

@keyframes pulseWinner {
    0% {
        font-size: 22px;
    }

    50% {
        font-size: 28px;
    }

    100% {
        font-size: 22px;
    }
}

#wheel-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #ffcc33;
    color: black;
    font-size: 32px;
    padding: 10px 14px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    z-index: 9999;
    transition: background 0.2s ease;
}

    #wheel-toggle.open {
        display: none;
    }

@media (max-width: 768px) and (orientation: portrait) {
    #wheel-toggle.open {
        display: none;
    }

    #wheel-toggle {
        position: fixed;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        background: #ffcc33;
        color: black;
        font-size: 32px;
        padding: 4px 8px;
        border-radius: 10px 0 0 10px;
        cursor: pointer;
        z-index: 9999;
        transition: background 0.2s ease;
    }

    #promo-container {
        width: 30px;
        height: 30px;
    }

    #spin-text {
        font-weight: 900;
        font-size: 8px;
    }

    #spinningWheelActionButton {
        font-size: 12px;
        padding: 8px 16px;
        box-shadow: unset;
    }
}
/* Dein Panel */
.spinning-wheel-clip {
    position: fixed;
    top: 50%;
    right: 0;
    width: 0; /* eingeklappt */
    height: 540px;
    transform: translateY(-50%);
    overflow: hidden;
    z-index: 999;
    transition: width 0.3s ease;
    pointer-events: auto;
}

    /* geöffnet */
    .spinning-wheel-clip.open {
        width: 240px;
    }

.spinning-wheel-container {
    position: absolute;
    top: 0;
    width: 210px;
    height: 460px;
    pointer-events: none;
    display: none;
}

    .spinning-wheel-container.spinning-wheel-ready {
        display: block;
    }

    .spinning-wheel-container .spinning-wheel-outer {
        position: relative;
        left: 0;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transition: transform 4.2s cubic-bezier(0.19, 1, 0.22, 1);
        will-change: transform;
        overflow: hidden;
    }

.spinning-wheel-face {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    padding: 12px;
    text-align: center;
}

.spinning-wheel-entry-list {
    position: relative;
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 11px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

    .spinning-wheel-entry-list li {
        position: absolute;
        top: 50%;
        left: 50%;
        transform-origin: 50% 50%; /* wichtig! */
        white-space: nowrap;
        pointer-events: none;
    }

        .spinning-wheel-entry-list li span {
            position: absolute;
            transform-origin: 0 50% !important; /* Text beginnt am Rand */
            font-size: 92px;
        }



    .spinning-wheel-entry-list small {
        display: block;
        font-size: 10px;
        opacity: 0.9;
    }

.spinning-wheel-pointer {
    inset: 20px;
    position: absolute;
    left: 25px;
    top: calc(50% - 20px);
    transform: translate(-50%, -50%) scaleX(-1);
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-right: 28px solid #ffce54;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    z-index: 1;
}

.spinning-wheel-button {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: radial-gradient(circle at 50% 35%, #ffdd66 0%, #ffbe34 40%, #e69b00 100% );
    color: #4a2500;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #ffea99;
    border-radius: 20px;
    padding: 12px 24px;
    width: auto;
    box-shadow: 0 0 10px rgba(255, 196, 0, 0.8), 0 0 22px rgba(255, 160, 0, 0.5), inset 0 2px 4px rgba(255,255,255,0.4), inset 0 -4px 8px rgba(0,0,0,0.25);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 9999;
}

    /* Hover Effekt */
    .spinning-wheel-button:hover {
        transform: scale(1.08);
        box-shadow: 0 0 16px rgba(255, 200, 0, 1), 0 0 32px rgba(255, 150, 0, 0.6), inset 0 2px 6px rgba(255,255,255,0.5), inset 0 -4px 8px rgba(0,0,0,0.3);
    }

    .spinning-wheel-button:disabled {
        cursor: not-allowed;
        opacity: 0.7;
    }

.spinning-wheel-price-label {
    display: block;
    font-size: 16px;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 4px;
    opacity: 0.9;
    font-weight: bold; /* → macht den Text fett */
}

.spinning-wheel-status {
    position: fixed;
    left: 50%;
    top: 10%;
    transform: translate(-50%, -50%); /* exakte Zentrierung */

    width: 380px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 28px;
    padding: 14px 18px;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 9999999; /* wichtig: über dem Wheel */
}
.spinning-wheel-status.is-error {
    background: rgba(190, 46, 46, 0.85);
}

.spinning-wheel-status.is-success {
    background: rgba(46, 190, 120, 0.85);
}


.wheel-frame {
    left: 52px;
    top: 22px;
    width: 420px;
    height: 420px;
    position: relative;
    border-radius: 50%;
    z-index: 9999999;
}

    .wheel-frame::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        z-index: 2;
        background: radial-gradient( circle,
        /* inner area bleibt frei */
        transparent 65%,
        /* Start der Füllung */
        rgba(160, 40, 20, 0.9) 63%,
        /* wärmerer Rotton */
        rgba(180, 55, 25, 0.95) 68%,
        /* weicher orange-brauner Glow wie im Bild */
        rgba(220, 100, 40, 0.85) 73%,
        /* außen dunkler rot-braun wie im Bild */
        rgba(90, 20, 10, 1) 78%,
        /* wieder transparent am äußeren Rand */
        transparent 79% );
    }


/* Äußerer gelber Ring */
.outer-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 50%;
    border: 5px solid gold;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    z-index: 3;
}

/* Innerer gelber Ring */
.inner-ring {
    position: absolute;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border-radius: 50%;
    border: 3px solid gold;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    z-index: 3;
}

#bulbs span {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    /* Warmes, softes Licht */
    background: radial-gradient( circle, #ffd86b 0%, /* helle Mitte */
    #e0a800 55%, /* warmes Gold */
    #b88600 100% /* sanfter Rand */
    );
    /* Mildes Leuchten */
    box-shadow: 0 0 6px rgba(255, 204, 80, 0.6), 0 0 12px rgba(255, 188, 20, 0.3);
    transform: translate(-50%, -50%);
    z-index: 3;
}

    /* nur leuchtende Bulbs */
    #bulbs span.on {
        background: radial-gradient(circle, #fff6c5, #ffb200);
        box-shadow: 0 0 8px #ffd200, 0 0 16px #ff8800;
    }

@media (max-width: 968px) {
    .spinning-wheel-clip {
        height: 420px;
    }

        .spinning-wheel-clip.open {
            width: 200px;
        }

    .spinning-wheel-container {
        width: 180px;
        height: 340px;
    }

        .spinning-wheel-container .spinning-wheel-outer {
            width: 320px;
            height: 320px;
        }

    .spinning-wheel-face {
        inset: 14px;
        padding: 8px;
    }

    .spinning-wheel-entry-list {
        font-size: 9px;
    }

        .spinning-wheel-entry-list li span {
            font-size: 68px;
        }

    .spinning-wheel-pointer {
        left: 18px;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        border-right: 22px solid #ffce54;
    }

    .spinning-wheel-button {
        left: 14px;
        bottom: 14px;
        font-size: 14px;
        padding: 10px 18px;
    }

    .wheel-frame {
        left: 40px;
        top: 16px;
        width: 320px;
        height: 320px;
    }

    .outer-ring {
        top: -4px;
        left: -4px;
        width: calc(100% + 8px);
        height: calc(100% + 8px);
        border: 4px solid gold;
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
    }

    .inner-ring {
        top: 12px;
        left: 12px;
        width: calc(100% - 24px);
        height: calc(100% - 24px);
        border: 3px solid gold;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    }

    #bulbs span {
        width: 11px;
        height: 11px;
        box-shadow: 0 0 5px rgba(255, 204, 80, 0.6), 0 0 10px rgba(255, 188, 20, 0.3);
    }
}
/* === Wheel Switch: sieht aus wie Teil vom Wheel === */
.wheel-switch {
    position: absolute;
    top: 10px;
    right: -15px; /* gleiche X-Logik wie .wheel-frame */
    width: 180px;
    height: 34px;
    z-index: 99999999;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px;
    /* Goldener "Ring"-Look */
    background: radial-gradient(circle at 50% 35%, rgba(255,221,102,0.95) 0%, rgba(255,190,52,0.85) 45%, rgba(213,84,31,0.85) 100%);
    border: 2px solid rgba(255,234,153,0.95);
    box-shadow: 0 10px 26px rgba(0,0,0,0.45), 0 0 14px rgba(255, 196, 0, 0.45), inset 0 2px 6px rgba(255,255,255,0.35), inset 0 -4px 10px rgba(0,0,0,0.25);
    /* “angeschraubt” am Ring */
    transform: translateY(-6px);
}

.wheel-switch-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .04em;
    font-size: 12px;
    cursor: pointer;
    background: rgba(0,0,0,0.22);
    color: rgba(255,255,255,0.92);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, filter .12s ease;
    box-shadow: inset 0 2px 6px rgba(255,255,255,0.08);
}

    .wheel-switch-btn:hover {
        transform: scale(1.05);
        filter: brightness(1.05);
    }

    .wheel-switch-btn:disabled {
        opacity: .45;
        cursor: not-allowed;
        transform: none;
    }
/* Wrapper oben im Panel */
.wheel-switch-wrapper {
  position: relative;
  padding: 10px 12px 6px 12px;
  margin-bottom: 6px;
}

/* Das Mini-Wheel sitzt "dahinter" und etwas höher */
.wheel-switch-wheel {
  position: absolute;
  top: -18px;           /* höher */
  right: 10px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  opacity: 0.38;        /* leicht transparent */
  filter: blur(0.1px);
  transform: rotate(-18deg);
  cursor: pointer;
  z-index: 0;           /* hinter Content */
  transition: opacity .15s ease, transform .15s ease;
}

.wheel-switch-wheel:hover {
  opacity: 0.58;
  transform: rotate(-10deg) scale(1.02);
}

/* Glasiger Ring + Glow */
.wheel-switch-wheel::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), rgba(255,255,255,0) 55%),
              radial-gradient(circle at 70% 75%, rgba(255,255,255,0.10), rgba(255,255,255,0) 55%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10),
    0 10px 30px rgba(0,0,0,0.25);
  pointer-events: none;
}

/* Nabe */
.wheel-switch-wheel::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  pointer-events: none;
}

/* Kleiner "Pointer"/Marker für aktives Wheel */
.wheel-switch-indicator {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  pointer-events: none;
}

/* Text davor (damit die UI nicht "verschwindet") */
.wheel-switch-caption {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
  padding-right: 90px; /* Platz für das Wheel rechts */
  user-select: none;
}

.wheel-switch-caption b {
  color: #fff;
}
/* Optional: Mobile-Anpassung analog zu deinen Breakpoints */
@media (max-width: 968px) {
    .wheel-switch {
        gap: 0;
        right: -20px; /* wie .wheel-frame */
    }

}
#videoContainer .mobile-video-resize-handle {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 18px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    touch-action: none;
    cursor: ns-resize;
    pointer-events: auto;
    z-index: 40;
}

    #videoContainer .mobile-video-resize-handle::before {
        content: "";
        width: 36px;
        height: 4px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.8);
    }

#videoContainer.mobile-video-resize-ready .mobile-video-resize-handle {
    display: flex;
}

#videoContainer.mobile-video-resize-dragging .mobile-video-resize-handle {
    background: rgba(0, 0, 0, 0.5);
}

#root,
#guppyplayer4,
.manifestPlayerContainer {
    height: 100%;
}

    #root > div {
        height: 100%;
    }

        #root > div > div {
            height: 100%;
        }

.manifestPlayer > div > div > video {
    object-fit: contain;
    height: 100% !important;
    background-color: transparent !important;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.manifestPlayerFullscreen {
    height: 100%;
}

    .manifestPlayerFullscreen > div > div > video {
        object-fit: cover !important;
    }

body.is-livechat-smartdevice.is-livechat-fullscreen.is-livechat-landscape .manifestPlayerFullscreen > div > div > video {
    object-fit: contain !important;
}

body.video-portrait.is-livechat-fullscreen .manifestPlayerFullscreen > div > div > video {
    object-fit: contain !important;
}

body.is-livechat-smartdevice.is-livechat-smartphone.video-portrait.is-livechat-fullscreen .manifestPlayerFullscreen > div > div > video {
    width: var(--livechat-viewport-width, 100vw) !important;
    height: var(--livechat-viewport-height, 100vh) !important;
}

div [class*="video-videoWrapper-root"] {
    background-color: transparent !important;
}

body.mobile-chat-full-view {
    overflow: hidden;
    background-color: #000;
}

    body.mobile-chat-full-view #LiveChatProxyContainer,
    body.mobile-chat-full-view #wsmaincol,
    body.mobile-chat-full-view #chatVideoAndOverlaysDIV {
        width: var(--livechat-viewport-width, 100vw);
        max-width: none;
        min-height: var(--livechat-viewport-height, 100vh);
        height: var(--livechat-viewport-height, 100vh);
    }

/* this class is applied in fullscreen mode */
.toolbarToggleWrapper {
    position: fixed !important;
    left: 10px;
    top: 45px;
    width: calc(100% - 20px) !important;
    max-width: 420px;
}

    .toolbarToggleWrapper > #btnToolbar.toolbar-grid {
        grid-template-columns: 70px repeat(auto-fit, minmax(120px, 1fr));
    }

/* Collapsible container the script creates */
#btnToolbar .toolbar-collapsible {
    overflow: hidden;
    max-height: 0; /* collapsed */
    opacity: 0;
    transition: max-height 250ms ease, opacity 200ms ease;
    will-change: max-height, opacity;
}

    /* Fancy stagger for child buttons */
    #btnToolbar .toolbar-collapsible .featbtn {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
        transition: opacity 220ms ease, transform 220ms ease;
        transition-delay: calc(var(--i, 0) * 40ms);
    }
    /* When wrapper is expanded, reveal children */
    #btnToolbar .toolbar-collapsible.expanded .featbtn {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

@media (max-width: 768px) and (orientation: portrait) {
    body .mobile-chat-full-view #LiveChatProxyContainer, body.mobile-chat-full-view #wsmaincol, body.mobile-chat-full-view #chatVideoAndOverlaysDIV {
        height: var(--livechat-viewport-height, 100vh);
    }

    body.mobile-chat-full-view #LiveChatProxyContainer {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    body.mobile-chat-full-view #chatVideoAndOverlaysDIV {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        padding: 0;
    }

    body.mobile-chat-full-view #videodiv {
        flex: 1 1 auto;
        position: relative;
    }

        body.mobile-chat-full-view #videodiv > *,
        body.mobile-chat-full-view #videodiv .manifestPlayer,
        body.mobile-chat-full-view #videodiv .manifestPlayer > *,
        body.mobile-chat-full-view #videodiv video,
        body.mobile-chat-full-view #videodiv canvas,
        body.mobile-chat-full-view #videodiv img {
            width: 100%;
            height: 100%;
        }

    body.mobile-chat-full-view #wschatbelowvideo {
        display: none !important;
    }

    /* BUTTON TOOLBAR */

    /* Cosmetic: toggle look */
    #btnToolbar .toolbar-toggle {
        gap: .35rem;
        white-space: nowrap;
        width: 70px;
    }

    /* Respect users who prefer reduced motion */
    @media (prefers-reduced-motion: reduce) {
        #btnToolbar .toolbar-collapsible,
        #btnToolbar .toolbar-collapsible .featbtn {
            transition: none !important;
        }
    }

    /* Mobile-first grid that lets buttons fill available width */
    .btn-toolbar-wrapper {
        width: 100%;
        padding-left: 2px;
        padding-right: 4px;
        z-index: 500;
    }

    #btnToolbar.toolbar-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: .3rem; /* space between buttons */
    }

        /* Flatten the groups so the grid treats their children (buttons) as direct items */
        #btnToolbar.toolbar-grid .btn-group {
            display: contents;
        }

        /* Make buttons behave nicely in the grid */
        #btnToolbar.toolbar-grid .featbtn {
            width: 100%;
            white-space: normal; /* allow label wrapping */
            text-align: center;
            line-height: 1em;
            font-size: 80%;
            height: 50px;
        }

            #btnToolbar.toolbar-grid .featbtn .fa {
                position: absolute;
                top: 50%;
                left: 5%;
                transform: translateY(-50%);
                font-size: 19px;
            }

            #btnToolbar.toolbar-grid .featbtn small {
                position: initial;
                top: 50%;
                left: 5px;
                transform: translateY(-50%);
                font-size: 19px;
            }

    #btnToolbar #btnSupportChatModal.admin-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        line-height: 1.2;
        padding: 0.5rem 0.75rem;
    }

        #btnToolbar #btnSupportChatModal.admin-menu-button .fa {
            font-size: 1.15rem;
        }

        #btnToolbar #btnSupportChatModal.admin-menu-button .admin-button-label {
            white-space: nowrap;
            font-size: 0.9rem;
        }

    body.mobile-chat-full-view .btn-toolbar-wrapper {
        width: 100%;
    }

    body.mobile-chat-full-view #btnToolbar {
        opacity: 1 !important;
        margin-top: auto;
        width: 100%;
        padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 45%, rgba(0, 0, 0, 0.85) 100%);
        border-radius: 0;
    }

        body.mobile-chat-full-view #btnToolbar.toolbar-grid {
            display: flex;
            flex-wrap: nowrap;
            gap: 0.5rem;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
        }

            body.mobile-chat-full-view #btnToolbar.toolbar-grid::-webkit-scrollbar {
                height: 6px;
            }

            body.mobile-chat-full-view #btnToolbar.toolbar-grid::-webkit-scrollbar-thumb {
                background-color: rgba(255, 255, 255, 0.35);
                border-radius: 999px;
            }

            body.mobile-chat-full-view #btnToolbar.toolbar-grid::-webkit-scrollbar-track {
                background: transparent;
            }

            body.mobile-chat-full-view #btnToolbar.toolbar-grid .btn-group {
                display: contents;
            }

            body.mobile-chat-full-view #btnToolbar.toolbar-grid .featbtn {
                flex: 0 0 130px;
                min-width: 130px;
                min-height: 56px;
                width: auto;
            }
}

body.mobile-chat-full-view #btnToolbar #btnSupportChatModal.admin-menu-button {
    flex: 0 0 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 0.5rem;
}

    body.mobile-chat-full-view #btnToolbar #btnSupportChatModal.admin-menu-button .admin-button-label {
        display: none;
    }

    body.mobile-chat-full-view #btnToolbar #btnSupportChatModal.admin-menu-button .fa {
        font-size: 1.35rem;
    }

body.mobile-chat-full-view #btnToolbar .featbtn.featbtn-sound-active {
    background: rgba(145, 70, 255, 0.95);
    border-color: rgba(145, 70, 255, 1);
    color: #fff;
    opacity: 1;
    box-shadow: 0 0 12px rgba(145, 70, 255, 0.45);
}

    body.mobile-chat-full-view #btnToolbar .featbtn.featbtn-sound-active .fa {
        color: #fff;
    }

#pbcpopover {
    top: 26px;
}

label[for="layer.score"] {
    font-size: 14px;
}

input[aria-label="Quality"] {
    display: none;
}

#manifestPlayerOverlayTopLeft {
    display: none;
}
/* =========================
   Payments
   ========================= */
#paymentlistroot {
    position: absolute;
    top: 3px;
    right: 72px;
    z-index: 121;
}

.PaymentMethodListInnerContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.PaymentMethodListEntrySmall {
    width: calc(33% - 12px);
    cursor: pointer;
    padding: 4px;
    border: 2px solid #333;
    border-radius: 4px;
    background: #eee;
    margin: 4px;
    text-align: center;
}

    .PaymentMethodListEntrySmall > .PaymentMethodListEntryImage {
        width: 80%;
        margin: 2px auto;
        display: block;
    }

.PaymentMethodListEntry {
    width: 100%;
    position: relative;
}

    .PaymentMethodListEntry > .PaymentMethodListEntryImage {
        width: 20%;
        position: absolute;
        top: 0;
        right: 18px;
        margin-top: -101px;
        z-index: 1999;
    }

.PaymentMethodListEntryHeader {
    font-weight: 700;
    font-size: 13pt;
    height: 2rem;
    overflow-y: hidden;
}

.PaymentMethodListEntryDescription {
    font-size: 8pt;
    display: none;
}

.PaymentMethodListEntryPrices {
    font-size: 10pt;
    height: 16rem;
    overflow-y: auto;
}

.PaymentMethodListEntryPricesInnerContainer > .list-group-item {
    color: #fff;
    background: #333;
    cursor: pointer;
}

    .PaymentMethodListEntryPricesInnerContainer > .list-group-item:hover {
        color: #333;
        background: #bbb;
    }

.paymentListHeaderClass {
    position: relative;
}

.paymentListCloseButton {
    position: absolute;
    top: 3px;
    right: 6px;
    z-index: 500001;
}

/* =========================
   Inline feedback helpers
   ========================= */
.btn-loading {
    pointer-events: none;
}

.fade-in-up {
    animation: fadeInUpShort 0.25s ease-out;
}

@keyframes fadeInUpShort {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Local Video / Audio
   ========================= */
#localVideoContainer {
    position: absolute;
    z-index: 5000;
    width: 20%;
    max-width: 320px;
    min-width: 140px;
    height: auto !important;
    left: 4px;
    top: 4px;
    overflow: auto;
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #000;
    resize: both;
}

#localVideoLabel {
    text-align: center;
}

#localVideoContainer video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

#localVideoContainer #localVideoLabel {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    box-sizing: border-box;
    font-size: 12px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

@media (max-width: 768px) {
    #localVideoContainer {
        width: 160px;
        height: 180px;
        max-width: 160px;
        max-height: 160px;
        left: 8px;
        top: 480px;
    }

        #localVideoContainer video {
            width: 150px;
            height: 200px;
            margin-left: auto;
            margin-right: auto;
            object-fit: cover;
            border-radius: 8px;
        }
}

@media (max-width: 768px) and (max-height: 844px) {
    #localVideoContainer {
        top: 530px;
    }
}

/* Base switch-cam button (can be reused elsewhere) */
.switch-cam-btn {
    position: absolute;
    z-index: 501;
    left: 2px;
    top: 2px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 2px 4px;
    font-size: 12px;
}

/* Local video container variant (slightly larger, translucent) */
#localVideoContainer .switch-cam-btn {
    left: 4px;
    top: 4px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 6px;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.2s;
}

    #localVideoContainer .switch-cam-btn:hover {
        background: rgba(255, 255, 255, 0.4);
    }

#localVideoContainer .close-local-video {
    position: absolute;
    z-index: 501;
    right: 4px;
    top: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    padding: 4px 6px;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.2s;
}

    #localVideoContainer .close-local-video:hover {
        background: rgba(255, 255, 255, 0.4);
    }

.resize-btn {
    position: absolute;
    z-index: 502;
    right: 36px;
    top: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    padding: 6px 8px;
    font-size: 16px;
    border-radius: 4px;
    transition: background 0.2s;
    display: none; /* toggled on small screens */
}

    .resize-btn:hover {
        background: rgba(255, 255, 255, 0.4);
    }

.minimized {
    width: 94px !important;
    height: auto !important;
    min-width: 100px !important;
}

#localVideoContainer.minimized .resize-btn {
    right: auto !important;
    left: 0 !important;
}


/* Container-Box */
#localAudioContainer {
    margin-top: 35px;
    position: absolute;
    z-index: 5000;
    width: 260px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    font-family: "Segoe UI", Roboto, sans-serif;
    color: #fff;
    overflow: hidden;
    animation: popup-fade 0.3s ease;
}

/* Drag-Bar (Handle) */
#localAudioLabel.drag-handle {
    background: linear-gradient( 90deg, var(--systemLogoColor), color-mix(in srgb, var(--systemLogoColor) 70%, deeppink) ) !important;
    color: #fff;
    font-weight: 600;
    padding: 8px 12px;
    font-size: 14px;
    cursor: grab;
    user-select: none;
    position: relative;
}

    #localAudioLabel.drag-handle:active {
        cursor: grabbing;
    }

.local-audio-close {
    position: absolute;
    right: 8px !important;
    top: 6px !important;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s ease;
}

    .local-audio-close:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: scale(1.15);
    }

    /* Icon (Font Awesome) etwas feiner */
    .local-audio-close i {
        pointer-events: none;
        font-size: 12px;
        line-height: 1;
    }

/* Inhalt */
#localAudioContainerInner {
    padding: 14px;
    background: rgba(0, 0, 0, 0.6);
}

/* Select-Box */
#audioInputSelect {
    width: 100%;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(30, 30, 30, 0.9);
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

    #audioInputSelect:focus {
        border: 1px solid #f107a3;
        box-shadow: 0 0 6px rgba(241,7,163,0.6);
    }

#audioSelectButton {
    display: block;
    align-items: center; /* vertikal zentrieren */
    justify-content: center; /* horizontal zentrieren */
    width: auto;
    min-width: 100px;
    margin: 12px auto 0 auto;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    background: linear-gradient(90deg, var(--systemLogoColor), color-mix(in srgb, var(--systemLogoColor) 70%, deeppink));
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.3s ease;
}

    #audioSelectButton:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 14px rgba(241,7,163,0.4);
        background: linear-gradient(90deg, color-mix(in srgb, var(--systemLogoColor) 70%, deeppink), var(--systemLogoColor));
    }

    #audioSelectButton:active {
        transform: scale(0.97);
        box-shadow: 0 3px 8px rgba(0,0,0,0.5);
    }

    #audioSelectButton:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 10px rgba(241,7,163,0.4);
    }

/* sanftes Einblenden */
@keyframes popup-fade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


button[data-selenium="bitrate-button"] {
    position: absolute;
    bottom: 30px; /* etwas höher, damit er nicht abgeschnitten wird */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    /* Styling */
    background: rgba(0, 0, 0, 0.6); /* halbtransparenter Hintergrund */
    border: none; /* keine Standardrahmen */
    border-radius: 8px; /* leicht abgerundet */
    padding: 8px 10px; /* Luft um das Icon */
    cursor: pointer;
    transition: all 0.3s ease; /* weiche Animation */
}

    button[data-selenium="bitrate-button"] svg {
        width: 24px;
        height: 24px;
        stroke: #fff; /* Icon in Weiß */
    }

    button[data-selenium="bitrate-button"]:hover {
        background: rgba(255, 215, 0, 0.8); /* goldiger Akzent beim Hover */
        transform: translateX(-50%) scale(1.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    }

/* =========================
   Start / Device Controls
   ========================= */
#startLocalMediaButton {
    display: block;
    margin: 0.5rem auto;
    padding: 0.5rem 1rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    background: var(--systemLogoColor) !important;
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    width: 180px;
    text-align: center;
}

    #startLocalMediaButton:hover {
        background: #34b383;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    }

    #startLocalMediaButton:active {
        transform: translateY(0);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

div[class*="video-tooltip-root"] {
    display: none; /* Macht aktuell Probleme*/
    position: absolute;
    bottom: 60px; /* sitzt knapp über dem Button */
    left: 50%;
    z-index: 10000;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(8px); /* Glassmorphism */
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-family: "Segoe UI", sans-serif;
    opacity: 0;
    transform: translate(-50%, 20px) scale(0.95);
    pointer-events: none;
}

    /* Öffnen → SlideUp mit sanftem Zoom */
    div[class*="video-tooltip-root"].active {
        animation: slideUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
        pointer-events: auto;
    }

    /* Schließen → SlideDown */
    div[class*="video-tooltip-root"].closing {
        animation: slideDown 0.25s ease forwards;
        pointer-events: none;
    }

/* Keyframes */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }

    to {
        opacity: 0;
        transform: translate(-50%, 20px) scale(0.95);
    }
}

/* Optional: Optionen im Tooltip */
div[class*="video-tooltip-root"] [role="button"] {
    transition: background 0.2s ease;
}

    div[class*="video-tooltip-root"] [role="button"]:hover {
        background: rgba(255, 215, 0, 0.2); /* goldener Hover-Effekt */
    }


#startCam2CamContainer {
    margin-top: 20px;
}

#switchCamButton { /* intentionally empty for future overrides */
}

#videoSelect {
    width: calc(100% - 16px);
    margin: 8px;
    padding: 6px 32px 6px 12px;
    font-size: 14px;
    color: #fff;
    background: #2b2b2b;
    border: 1px solid #444;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 7px;
}

    #videoSelect:focus {
        outline: none;
        border-color: var(--systemLogoColor) !important;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 4px rgba(63, 201, 156, 0.7);
    }

#deviceSelectButton {
    display: inline-block;
    margin: 8px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: var(--systemLogoColor) !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.15s ease-in-out, transform 0.1s;
}

    #deviceSelectButton:hover {
        background: #35b38c;
    }

    #deviceSelectButton:active {
        transform: scale(0.98);
    }

/* =========================
   Live Chat / Video Overlay
   ========================= */
#LiveChatProxyContainer {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

#mastercontainer {
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

    #mastercontainer > .row {
        margin-right: 0 !important;
    }

#maincontentcontainer {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#videodiv,
#videoContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#videoContainer {
    background: #000;
}

body.mobile-chat-full-view #videoContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--livechat-viewport-width, 100vw);
    max-width: none;
    height: var(--livechat-viewport-height, 100vh);
}

    body.mobile-chat-full-view #videoContainer > #root {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: var(--livechat-viewport-width, 100vw);
        height: 100%;
    }

    body.mobile-chat-full-view #videoContainer .manifestPlayer,
    body.mobile-chat-full-view #videoContainer .manifestPlayer > div {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: var(--livechat-viewport-width, 100vw);
        height: 100%;
    }

        body.mobile-chat-full-view #videoContainer .manifestPlayer > div > div {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
        }

#wsloadingspin {
    font-size: 24pt;
}

#wschatcontainer {
    padding: 0 2px;
}

#wschatdiv {
    overflow-y: auto;
    text-align: left;
    font-size: 10pt;
    color: #fff;
    padding: 2px;
    background: rgba(0, 0, 0, 0.35);
}

#wschatdivabs {
    overflow-y: auto;
    text-align: left;
    height: auto;
    padding: 0.25em;
    scrollbar-width: none; /* Firefox */
    font-size: 10pt;
    -ms-overflow-style: none; /* IE */
    margin-bottom: 10px;
}

    #wschatdivabs::-webkit-scrollbar {
        display: none;
    }
/* WebKit */

#videoOverlayTopLeft,
#videoOverlayTopLeft2,
#featureIconsOverlay {
    position: absolute;
    left: 0;
    padding: 2px 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

#videoOverlayTopLeft2 {
    top: 20px;
    font-size: 8pt;
}

#featureIconsOverlay {
    top: 64px;
    font-size: 16pt;
    z-index: 13;
}

#closeDIV,
#fullScreenDIV {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, rgba(42, 35, 44, 0.7), rgba(27, 22, 28, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5), -4px -4px 8px rgba(80, 70, 90, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 79;
    transition: all 0.25s ease;
    text-align: center;
}

    #closeDIV:hover,
    #fullScreenDIV:hover {
        transform: translateY(-3px) scale(1.04);
        box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.5), -3px -3px 10px rgba(255, 255, 255, 0.05);
    }

    #closeDIV i,
    #fullScreenDIV i {
        font-size: 22px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
        color: gold;
        transform-style: preserve-3d;
    }

#fullScreenDIV {
    top: 10px;
    bottom: unset;
    right: 65px;
}

@media (max-width: 768px) and (orientation: portrait) {
    #fullScreenDIV {
        top: unset;
        bottom: 10px;
        right: 10px;
    }
}

body.is-livechat-fullscreen #fullScreenDIV {
    top: 10px;
    right: 55px;
}

@media (max-width: 768px) and (orientation: portrait) {
    body.is-livechat-fullscreen #fullScreenDIV {
        position: absolute;
        width: 44px;
        height: 44px;
    }
}

#fullScreenDIV {
    z-index: 9999;
}

#closeDIV {
    top: 10px;
    right: 10px;
    z-index: 9999;
}

    #closeDIV.is-pressed {
        transform: translateY(1px) scale(0.94);
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.45), -2px -2px 4px rgba(255, 255, 255, 0.06);
        background: radial-gradient(circle at 30% 30%, rgba(58, 51, 64, 0.8), rgba(27, 22, 28, 0.85));
    }
.is-livechat-smartphone .emoji-picker{
  position: fixed !important;
  left: 0;
  right: auto !important;
  left: max(8px, env(safe-area-inset-left, 0px)) !important;
  inset-inline: max(8px, env(safe-area-inset-left, 0px))
                max(8px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}


/* Optional: Wenn du wirklich KANTE-KANTE willst ohne margin */
.is-livechat-smartphone.is-edge-to-edge .emoji-picker {
    margin: 0;
    border-radius: 14px 14px 0 0;
}
.emoji-picker {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 320px;
    border-radius: 10px;
    padding: 8px;
    z-index: 1000;
    border: 1px solid rgba(255,255,255,0.14);
    background: radial-gradient(700px 420px at 20% 0%, rgba(255,58,168,0.12), transparent 60%), radial-gradient(700px 420px at 85% 30%, rgba(45,247,255,0.10), transparent 62%), rgba(20,18,26,0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.55);
    /* Picker selbst NICHT scrollen */
    overflow: hidden;
}

.emoji-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    font-size: 14px;
    font-weight: bold;
}

    .emoji-header span {
        color: rgba(255,255,255,0.92);
    }

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-left: -10px;
    padding: 4px;
    box-sizing: border-box;
    /* reserviert Platz für Scrollbar ohne Layout-Verschiebung */
    scrollbar-gutter: stable both-edges;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.22) rgba(255,255,255,0.06);
}


    .emoji-grid span {
        cursor: pointer;
        text-align: center;
        border-radius: 10px;
        background: rgba(255,255,255,0.04);
        filter: drop-shadow(0 10px 18px rgba(0,0,0,0.25));
        font-size: 20px;
        position: relative;
        z-index: 0;
        transform-origin: center;
        transition: transform 0.1s ease, background 0.12s ease;
    }

        .emoji-grid span:hover {
            z-index: 1;
            transform: scale(1.22); /* 1.3 ist brutal bei 8 Spalten + Scrollbar */
            background: rgba(255,255,255,0.10);
        }

/* Close button */
#emojiCloseBtnAbs {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.90);
    /* Glass base */
    background: radial-gradient(140px 80px at 30% 20%, rgba(255,58,168,0.14), transparent 60%), radial-gradient(160px 90px at 80% 30%, rgba(45,247,255,0.10), transparent 62%), rgba(20,18,26,0.55);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 10px 26px rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 120ms ease, filter 120ms ease, background 120ms ease, border-color 120ms ease;
}

    /* Gradient ring like your menu */
    #emojiCloseBtnAbs::before {
        content: "";
        position: absolute;
        width: 34px;
        height: 34px;
        border-radius: 12px;
        padding: 1px;
        background: linear-gradient(135deg, rgba(255,58,168,0.40), rgba(45,247,255,0.28));
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        opacity: .55;
    }

/* Icon nicer than plain text */
#emojiCloseBtnAbs {
    position: relative; /* needed for ::before */
    font-size: 16px;
    line-height: 1;
}

    /* Hover/active */
    #emojiCloseBtnAbs:hover {
        filter: brightness(1.08);
        border-color: rgba(255,255,255,0.22);
    }

    #emojiCloseBtnAbs:active {
        transform: translateY(1px) scale(0.98);
    }

    #emojiCloseBtnAbs:focus {
        outline: none;
    }

    #emojiCloseBtnAbs:focus-visible {
        box-shadow: 0 0 0 3px rgba(45,247,255,0.18), 0 0 0 6px rgba(255,58,168,0.10), 0 10px 26px rgba(0,0,0,0.35);
    }

/* Mobile: etwas größer + einfacher (perf) */
.is-livechat-smartphone #emojiCloseBtnAbs {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .is-livechat-smartphone #emojiCloseBtnAbs::before {
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }
    .emoji-grid::-webkit-scrollbar {
        width: 10px;
    }

    .emoji-grid::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.06);
        border-radius: 10px;
    }

    .emoji-grid::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.18);
        border-radius: 10px;
    }

        .emoji-grid::-webkit-scrollbar-thumb:hover {
            background: rgba(255,255,255,0.26);
        }

#premiumShowCountdown,
#videoStateDIV,
#statsDIV {
    position: absolute;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 5px;
    color: #fff;
    z-index: 9999;
    text-align: left;
    display: none;
}

#premiumShowCountdown {
    top: 180px;
    font-size: 24px;
    line-height: 15px;
    z-index: 10000;
}

#videoStateDIV,
#statsDIV {
    top: 20px;
    font-size: 11px;
    line-height: 13px;
}

.MouseOverFullOpacity {
    opacity: 0.5 !important;
}

#wsmaincol:hover .MouseOverFullOpacity {
    opacity: 1.0 !important;
}


#wschatcontainerabspfeilout,
#wschatcontainerabspfeilin {
    position: absolute;
    z-index: 999;
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 28px;
}

#wschatcontainerabspfeilout {
    bottom: 90px;
    right: 10px;
}

#wschatcontainerabspfeilin {
    bottom: 2px;
    right: 2px;
}

#wschatcontainerabs {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 998;
}

@media (min-width: 981px) {
    #wschatcontainerabs {
        width: 40%;
        max-width: 420px;
    }
}

@media (max-width: 980px) {
    #wschatcontainerabs {
        width: 50%;
    }
}

@media (max-width: 600px) {
    #wschatcontainerabs {
        position: absolute;
        bottom: 10px;
        right: 10px;
        z-index: 998;
        width: calc(100% - 20px);
    }

    #txtInputGroupAbs {
        margin-left: 00px;
        width: calc(100% - 110px);
    }
}

.wschattransparent {
    background: transparent;
    color: #fff;
}

.wsinputtransparent {
    background: transparent;
    color: #fff;
    font-size: 16px;
}

.wsbtntransparent {
    border: 1px solid #fff;
    color: #fff;
}

#wsmaincol {
    width: 100%;
    position: relative;
}

#chatVideoAndOverlaysDIV {
    text-align: center;
    width: 100%;
    position: relative;
    padding: 0;
}

.debugchatmsg {
    display: none;
}

/* =========================
   Chat Bubbles / Input
   ========================= */
#wschatdivabs .girl-bubble {
    background: rgba(0, 0, 0, 0.9);
    border-left: 3px solid rgb(255, 218, 185);
    padding: 7px 12px;
    border-radius: 8px;
    margin: 6px 7px 0;
    width: fit-content;
    word-wrap: break-word;
    align-self: flex-start;
    max-width: 80%;
    color: #c9aae7;
    font-weight: 700;
}

.girlmsg {
    color: #fff !important;
}

#wschatdiv .girl-bubble {
    background: #663399;
    border-left: 3px solid #e6e6fa;
    padding: 7px 12px;
    border-radius: 8px;
    margin: 6px 7px 0;
    width: fit-content;
    word-wrap: break-word;
    align-self: flex-start;
    max-width: 80%;
    font-weight: 700;
}

    #wschatdiv .girl-bubble .girlname {
        color: rgb(255, 218, 185) !important;
    }

    #wschatdiv .girl-bubble i {
        color: #fff !important;
    }

.user-bubble {
    background: rgba(255, 165, 0, 0.9);
    border-left: 3px solid #fff;
    padding: 7px 12px;
    border-radius: 8px;
    margin: 6px 7px 0;
    width: fit-content;
    word-wrap: break-word;
    color: #fff !important;
    align-self: flex-start;
    max-width: 80%;
    font-weight: 700;
}

    .user-bubble i {
        color: #fff !important;
    }

    .user-bubble .username {
        color: #3a5a40 !important;
    }

.support-bubble {
    background: rgba(40, 50, 70, 0.95);
    border-left: 4px solid #f26322;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 10px 7px 0;
    max-width: 80%;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.support-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.support-badge {
    background: rgb(255, 218, 185);
    color: #ec0808;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
}

.supporticon {
    width: 14px;
    height: 14px;
    background-image: url('https://guppytabupload.s3.eu-west-1.amazonaws.com/SupportChatIconNoBG.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.supportname {
    font-weight: 700;
    color: #a2ffd5;
    font-size: 0.95rem;
}

.supportmsg {
    color: #f0f0f0;
    font-size: 0.95rem;
}

.chat-input-group {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 25px;
    padding: 5px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.chat-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 10px !important;
    color: #fff !important;
    font-size: 16px !important;
    outline: none !important;
}

    .chat-input::placeholder {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .chat-input:focus {
        border: 0 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        transition: all 0.3s ease-in-out !important;
        color: #fff !important;
        caret-color: #fff !important;
        border-radius: 30px !important;
    }

.chat-send-btn {
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

    .chat-send-btn i {
        color: rgb(255, 218, 185);
        font-size: 22px;
    }

    .chat-send-btn:hover i {
        color: #fff;
        transform: scale(1.1);
    }

/* =========================
   Badges & States
   ========================= */
.importantdenymsg {
    background: orangered;
    color: #fff;
    font-weight: 700;
    transition: background-color 3000ms linear;
}

.coinsdisplay,
.coinsdisplayplus {
    cursor: pointer;
}

.LivecamList {
    width: 100%;
}

.featbtndisabled {
    background: #333 !important;
}

/* =========================
   Tip Overlay / Modal
   ========================= */
#tipOverlay.modal-overlay {
    min-width: 600px;
    position: absolute;
    background: none;
    z-index: 10005;
}

.modal-backdrop {
    z-index: 10004;
}

.modal {
    z-index: 10006;
}

#tipOverlay.modal-overlay.visible {
    display: block;
}

#tipOverlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

    #tipOverlay.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #tipOverlay .modal-content {
        background: var(--modal-bg);
        border-radius: var(--radius);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        max-width: 420px;
        padding: var(--spacing);
        display: flex;
        flex-direction: column;
        gap: var(--spacing);
    }

.modal-animate-in {
    animation: fadePopIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, opacity, box-shadow;
}

.modal-animate-out {
    animation: fadePopOut 0.25s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
    will-change: transform, opacity, box-shadow;
}

/* --- Keyframes --- */
@keyframes fadePopIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
        box-shadow: 0 30px 50px rgba(0, 0, 0, 0);
    }

    60% {
        opacity: 1;
        transform: scale(1.02);
        filter: blur(0);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }
}

@keyframes fadePopOut {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    40% {
        opacity: 0.6;
        transform: scale(0.96);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    }

    100% {
        opacity: 0;
        transform: scale(0.95);
        filter: blur(6px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0);
    }
}



#tipOverlay .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray);
    padding-bottom: 0.5rem;
}

    #tipOverlay .modal-header h2 {
        margin: 0;
        font-size: 1.25rem;
        color: var(--text-dark);
    }

#tipOverlay .btn-close {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    filter: none;
    color: var(--text-dark);
}

#tipOverlay .modal-tabs {
    display: flex;
    border-bottom: 1px solid #444;
    margin-bottom: 1rem;
    gap: 0;
}

    #tipOverlay .modal-tabs.is-hidden {
        display: none !important;
    }

#tipOverlay .modal-header.no-tabs {
    border-bottom: none !important;
}

#tipOverlay .tab {
    flex: 1;
    text-align: center;
    padding: 0.6rem 0;
    background: transparent;
    color: #aaa;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

    #tipOverlay .tab:hover {
        color: var(--text-light);
    }

    #tipOverlay .tab.active {
        color: var(--systemLogoColor);
        border-color: var(--systemLogoColor);
    }

#tipOverlay .promo-banner {
    background: #f0fdf7;
    border-radius: var(--radius);
    padding: var(--spacing);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-dark);
}

#tipOverlay .btn-fanclub {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
}

    #tipOverlay .btn-fanclub .icon {
        width: var(--icon-size);
        height: var(--icon-size);
        fill: currentColor;
    }

#tipOverlay .tip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    row-gap: 0.5rem;
    max-height: 500px;
    overflow-y: auto;
}

    #tipOverlay .tip-list li {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem var(--spacing);
        border-radius: var(--radius);
        background: rgb(42, 42, 42);
        font-size: 0.95rem;
        color: #fff;
        cursor: pointer;
        transition: background 0.2s;
    }

        #tipOverlay .tip-list li:hover {
            background: var(--gray);
        }

#tipOverlay .payment-section {
    margin-top: var(--spacing);
    padding-top: var(--spacing);
    border-top: 1px solid var(--gray);
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}

#tipOverlay .preset-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.presetamountsbutton {
    flex: 1 1 20%;
    padding: 0.6rem 0;
    background: rgb(42, 42, 42);
    border: none;
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

    .presetamountsbutton .icon-coin {
        position: absolute;
        left: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: var(--icon-size);
        height: var(--icon-size);
        fill: #e1ad01;
    }

    .presetamountsbutton.active {
        border: 2px solid #fff;
        background: var(--systemLogoColor);
        color: #fff;
    }

    .presetamountsbutton button:hover {
        background: var(--gray);
    }

#tipOverlay .custom-amount input {
    width: 100%;
    font-size: 1rem;
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: -5px;
}

    #tipOverlay .custom-amount input:focus {
        border-color: --var(primary);
    }

.slider-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #fff;
    margin-bottom: 20px;
    padding: 0 4px;
}

    .slider-scale span {
        width: 1ch;
        text-align: center;
    }

#tipOverlay .btn-primary {
    width: 100%;
    padding: 0.75rem;
    color: var(--text-light);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#tipOverlay .tokens-info {
    font-size: 0.85rem;
    text-align: center;
    color: #777;
}

.tipactive {
    background: var(--systemLogoColor) !important;
    color: #fff !important;
}

    .tipactive:focus {
        outline: 3px solid rgba(255, 255, 255, 0.6);
        outline-offset: 2px;
    }

/* Tip overlay animations & emphasis */
@keyframes slideUpFull {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

@keyframes pulse-trinkgeld {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.attention-pulse {
    animation: pulse-trinkgeld 1.8s ease-out 0s 2;
    border-color: gold !important;
}

/* Default (desktop/tablet) */
#tipOverlay.modal-overlay {
    min-width: 600px;
}

/* Tipoverlay Mobile overrides */
@media (max-width: 600px) {
    #tipOverlay.modal-overlay {
        min-width: auto; /* remove hard minimum */
        width: 100%; /* let it shrink with viewport */
        left: 0; /* make sure it aligns correctly */
        right: 0;
    }

    #tipOverlay .modal-content {
        max-width: 100%;
        padding: 0.75rem; /* tighter padding on phones */
        display: flex;
        flex-direction: column;
        gap: 0.6rem; /* shrink vertical rhythm between sections */
    }

    #tipOverlay .modal-header {
        padding-bottom: 0.35rem; /* reduce space below the header */
    }

        #tipOverlay .modal-header h2 {
            font-size: 1rem; /* smaller heading for compact view */
        }

    #tipOverlay .modal-tabs {
        margin-bottom: 0.5rem; /* tighten distance to content */
    }

    #tipOverlay .tab {
        font-size: 0.78rem; /* reduce tab text size */
        padding: 0.35rem 0;
    }

    #tipOverlay .modal-tabs .tab {
        margin-inline: 0.15rem; /* slight separation without large gaps */
    }

    .presetamountsbutton {
        flex: 1 1 45%; /* make tip buttons fit nicely in grid */
    }

    #tipOverlay .tab-content {
        padding-top: 0.25rem; /* reduce whitespace above content */
    }
}

/* Phone-sized screens in landscape: keep tab menu narrow */
@media (orientation: landscape) {
    #tipOverlay .modal-tabs {
        /* cap the tab row to half the viewport width, centered */
        width: clamp(220px, 50vw, 420px);
        margin-inline: auto;
        justify-content: center; /* center the tabs */
        gap: 0.5rem; /* tiny breathing room */
    }

        /* make each tab size to contents instead of stretching */
        #tipOverlay .modal-tabs .tab {
            flex: 0 1 auto; /* no forced equal-stretch */
            padding: 0.45rem 0.75rem; /* slimmer touch target in landscape */
            font-size: 0.85rem;
        }
}

/* =========================
   Premium Bubble / Overlay
   ========================= */
.premium-bubble-wrapper {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, -10px);
    z-index: 90;
}

/* Fullscreen: anchor the premium bubble next to the icon toolbar instead of above the bottom toolbar. */
body.is-livechat-fullscreen .premium-bubble-wrapper {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0px));
    /* Prefer to the right of the icon toolbar; clamp keeps it on-screen if the viewport is narrow. */
    left: clamp(16px, calc(16px + 132px + 12px), calc(100vw - 316px));
    bottom: auto;
    transform: none;
    z-index: 10050;
}

.premium-bubble {
    background: linear-gradient(145deg, #1a1a1a, #2c2c2c);
    color: #ddd;
    padding: 14px 20px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Roboto, sans-serif;
    border: 1px solid #fff;
    opacity: 0;
    transform: translateY(5px);
    animation: fadeInBubble 0.4s ease-out forwards;
    max-width: 300px;
    min-width: 300px;
    white-space: normal;
}

body.is-livechat-fullscreen .premium-bubble {
    /* Avoid horizontal overflow on smaller fullscreen viewports. */
    min-width: 220px;
    width: min(300px, calc(100vw - 32px));
}

    .premium-bubble::after {
        content: "";
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #fff;
        filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.3));
    }

body.is-livechat-fullscreen .premium-bubble::after {
    /* Point towards the icon toolbar (left side) in fullscreen placement. */
    bottom: auto;
    top: 24px;
    left: -8px;
    transform: none;
    border-left: 0;
    border-right: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    filter: drop-shadow(1px 0 0 rgba(255, 255, 255, 0.3));
}

.checklist div {
    margin-bottom: 5px;
    font-weight: 500;
}

    .checklist div::before {
        content: "✔";
        color: #b28df5;
        margin-right: 8px;
    }

.premium-bubble small {
    font-weight: 400;
    font-size: 12px;
    color: #ffd54f;
    margin-top: 2px;
}

@keyframes fadeInBubble {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-overlay-shield {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 11;
    pointer-events: all;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
    color: #fff;
    cursor: pointer;
}

.premium-neukunden {
    background: linear-gradient(135deg, #fff3cd, #ffe8a1);
    border: 1px solid #f0c36d;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #3d2b00;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    margin-top: 12px;
    animation: pulse-highlight 3s ease-in-out infinite;
}

@keyframes pulse-highlight {
    0% {
        box-shadow: 0 0 0 rgba(255, 204, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 12px rgba(255, 204, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 0 rgba(255, 204, 0, 0.3);
    }
}

.premium-cta-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    color: #000;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease-in-out;
}

    .premium-cta-button:hover {
        background: linear-gradient(135deg, #ffaa00, #ffcc00);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .premium-cta-button:active {
        transform: scale(0.98);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

.premium-badge {
    background: #ffc107;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 8px;
}

.premium-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 22px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

    .premium-close:hover {
        background: rgba(0, 0, 0, 0.7);
    }

/* =========================
   Tip Feed Items
   ========================= */
.tip-bubble {
    background: rgba(40, 50, 70, 0.95);
    border-left: 3px solid #fff;
    padding: 7px 12px;
    border-radius: 8px;
    margin: 6px 7px 0;
    width: fit-content;
    word-wrap: break-word;
    align-self: flex-start;
    max-width: 80%;
    color: #c9aae7;
    font-weight: 700;
}

.tipusername {
    font-weight: 900;
    margin-right: 5px;
    text-transform: uppercase;
    color: var(--systemLogoColor) !important;
}

.tipmsg {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 340px;
    color: #fff;
}

.tipaction {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    color: #fff;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    text-transform: uppercase;
}

/* =========================
   Tooltips
   ========================= */
.trinkgeld-tooltip .tooltip-inner {
    background: rgba(20, 20, 20, 0.65);
    color: #fff;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    max-width: none;
    white-space: normal;
    line-height: 1.4;
}

.trinkgeld-tooltip .tooltip-icon {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: #ffd500;
}

.trinkgeld-tooltip .tooltip-text {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.trinkgeld-tooltip .tooltip-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   Modern Modal Variants
   ========================= */
.glassy-modern {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f1f1f1;
    position: relative;
}

.premium-upsell-modal .modal-dialog {
    max-width: 660px;
    margin: 1.5rem auto;
}

.premium-upsell-modal__content {
    padding: 2rem 2.25rem 2.25rem;
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.94), rgba(30, 41, 59, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
    color: #f8fafc;
    overflow: hidden;
}

    .premium-upsell-modal__content::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.25), transparent 55%), radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.18), transparent 50%);
        pointer-events: none;
        opacity: 0.8;
    }

.premium-upsell-modal__header {
    position: relative;
    border: 0;
    padding: 0;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

.premium-upsell-modal__header-text {
    position: relative;
    z-index: 1;
}

.premium-upsell-modal__title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}

.premium-upsell-modal__subtitle {
    color: rgba(226, 232, 240, 0.9);
    font-size: 1rem;
    line-height: 1.55;
}

.premium-upsell-modal__close {
    position: relative;
    z-index: 1;
    border: none;
    background: rgba(148, 163, 184, 0.16);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8fafc;
    transition: all 0.2s ease;
}

    .premium-upsell-modal__close:hover,
    .premium-upsell-modal__close:focus {
        background: rgba(148, 163, 184, 0.28);
        color: #fff;
        text-decoration: none;
        outline: none;
    }

.premium-upsell-modal__body {
    position: relative;
    z-index: 1;
    padding: 1.5rem 0 0;
}

.premium-upsell-modal__benefit-intro {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.88);
}

.premium-upsell-modal__benefits {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
    color: rgba(226, 232, 240, 0.95);
}

    .premium-upsell-modal__benefits li {
        display: flex;
        align-items: flex-start;
        gap: 0.8rem;
        font-size: 0.97rem;
        line-height: 1.55;
    }

.premium-upsell-modal__benefit-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 211, 153, 0.16);
    color: #34d399;
    font-size: 0.85rem;
    margin-top: 2px;
}

.premium-upsell-modal__benefit-text {
    flex: 1;
    color: rgba(226, 232, 240, 0.92);
}

.premium-upsell-modal__offer {
    position: relative;
    margin-top: 2.25rem;
    padding: 1.5rem 1.5rem 1.25rem;
    background: rgba(30, 64, 175, 0.12);
    border-radius: 18px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

    .premium-upsell-modal__offer .buycoins-special-offer__eyebrow {
        color: #38bdf8;
        letter-spacing: 0.1em;
    }

    .premium-upsell-modal__offer .buycoins-special-offer__headline {
        color: #f8fafc;
        font-size: 1.35rem;
    }

    .premium-upsell-modal__offer .buycoins-special-offer__description {
        color: rgba(226, 232, 240, 0.88);
    }

    .premium-upsell-modal__offer .buycoins-special-offer__highlight {
        background: rgba(15, 23, 42, 0.45);
        border: 1px solid rgba(148, 163, 184, 0.35);
    }

    .premium-upsell-modal__offer .buycoins-special-offer__icon {
        background: rgba(56, 189, 248, 0.18);
        color: #38bdf8;
    }

    .premium-upsell-modal__offer .buycoins-special-offer__highlight-body p {
        color: rgba(226, 232, 240, 0.95);
    }

    .premium-upsell-modal__offer .buycoins-special-offer__footnote {
        color: rgba(148, 163, 184, 0.85);
        margin-top: 1rem;
    }

.premium-upsell-modal__footer {
    position: relative;
    z-index: 1;
    padding: 1.75rem 0 0;
}

.premium-upsell-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.premium-upsell-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(124, 58, 237, 0.35);
}

    .premium-upsell-modal__cta .fas {
        font-size: 1.1rem;
    }

.premium-upsell-modal__note {
    font-size: 0.85rem;
    color: rgba(191, 219, 254, 0.9);
    text-align: center;
    line-height: 1.4;
}

.premium-upsell-modal__secondary {
    border-radius: 12px;
    border-width: 1px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.35);
    padding: 0.78rem 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .premium-upsell-modal__secondary:hover,
    .premium-upsell-modal__secondary:focus {
        background: rgba(148, 163, 184, 0.2);
        color: #fff;
        border-color: rgba(148, 163, 184, 0.55);
    }

@media (max-width: 576px) {
    .premium-upsell-modal .modal-dialog {
        margin: 1rem;
    }

    .premium-upsell-modal__content {
        padding: 1.5rem 1.5rem 1.75rem;
    }

    .premium-upsell-modal__title {
        font-size: 1.45rem;
    }

    .premium-upsell-modal__benefits li {
        font-size: 0.94rem;
    }

    .premium-upsell-modal__offer {
        padding: 1.25rem 1.25rem 1.1rem;
    }
}

.modal-header-modern {
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

    .modal-header-modern img {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #fff;
    }

    .modal-header-modern h5 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 600;
    }

.feature-modal-header {
    gap: 12px;
}

.feature-modal-header-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.feature-modal-header-icon {
    font-size: 1.6rem;
}

.feature-modal-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .feature-modal-header-text p {
        margin: 0;
    }

@media (max-width: 576px) {
    .feature-modal-header-icon-wrapper {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .feature-modal-header-icon {
        font-size: 1.4rem;
    }
}

.badge-modern {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.show-option-card {
    background: rgba(40, 40, 40, 0.9);
    padding: 28px;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

    .show-option-card:hover {
        transform: translateY(-5px);
    }

    .show-option-card h4 {
        font-weight: 700;
        margin-top: 8px;
    }

.btn-modern-purple {
    background: linear-gradient(135deg, var(--systemLogoColor), #ff55c9);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(var(--systemLogoColorTransparent), 0.4);
    transition: 0.3s;
}

    .btn-modern-purple:hover {
        opacity: 0.95;
        box-shadow: 0 6px 16px rgba(255, 85, 201, 0.5);
    }

.modal-content .fst-italic {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.4;
}

.btn-close {
    filter: invert(1);
}

.checklist-card {
    background: rgba(30, 30, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 22px;
    color: #eaeaea;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
}

    .checklist-card ul {
        padding-left: 0;
        list-style: none;
        margin: 0;
        border-radius: 16px;
    }

        .checklist-card ul li {
            display: flex;
            align-items: center;
            font-size: 0.95rem;
            margin-bottom: 12px;
        }

.highlight-mode-card {
    background: rgba(145, 70, 255, 0.1);
    border: 1px solid #9146ff;
}

/* =========================
   Misc
   ========================= */
#bubbleDIV {
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 10px;
    z-index: 4;
    width: 144px;
    height: 140px;
}

#afdhclock {
    position: absolute;
    top: 45px;
    left: 10px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 11pt;
    padding: 2px 4px;
}

.autoTransButton {
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .autoTransButton.active {
        color: #00c853 !important;
    }

/* Lovense panel tweaks */
lvs-clink-pl__switch-btn:nth-child(1) {
    display: none;
}

.lvs-clink-pl__logo-lovense {
    display: none;
}

.lvs-clink-pl__inner-content {
    background: #fff1f0;
}

.lvs-clink-pl__header {
    background: #ff4d4f;
    color: #fff;
}

.lvs-clink-pl__control-l-time {
    color: #fff;
}

.lvs-clink-pl__m-t-item {
    background: #fff;
}

#videoOverlayTopLeft {
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* Vertikaler Verlauf: oben fast schwarz, unten transparent */
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100% );
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 40px;
    border-bottom: none; /* braucht man nicht mehr */
}


.modern-left-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

#videoOverlayTopLeft #featureIconsOverlay {
    position: static;
    top: auto;
    left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    background: transparent;
    font-size: 14px;
    color: inherit;
    line-height: 1;
    z-index: auto;
}

    #videoOverlayTopLeft #featureIconsOverlay .fa {
        font-size: 14px;
        color: inherit;
        opacity: 0.85;
        transition: opacity 0.2s ease;
    }

        #videoOverlayTopLeft #featureIconsOverlay .fa:hover {
            opacity: 1;
        }

.modern-model-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.modern-model-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.modern-live-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(45deg, #ff3366, #ff6b9d);
    padding: 3px 8px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 1px 6px rgba(255, 51, 102, 0.3);
    animation: liveGlow 2s infinite alternate;
    white-space: nowrap;
}
/* ===== Support Modal Spezifisches CSS ===== */


/* Glassy Modern Effect für Modal */
.glassy-modern {
    background: rgba(30, 30, 45, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    color: #ffffff;
}

/* Modal Header Modern */
.modal-header-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

    .modal-header-modern img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 3px solid rgba(168, 85, 247, 0.5);
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    }

    .modal-header-modern h5 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 600;
        color: #ffffff;
    }

.badge-modern {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

/* Tab Navigation Modern */
.nav-tabs-modern {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-item {
    margin-bottom: -2px;
}

.nav-link-modern {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px 20px;
    border-radius: 10px 10px 0 0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

    .nav-link-modern:hover {
        background: rgba(168, 85, 247, 0.1);
        color: rgba(255, 255, 255, 0.9);
    }

    .nav-link-modern.active {
        background: linear-gradient(135deg, #a855f7, #ec4899);
        color: white;
        box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    }

    .nav-link-modern i {
        margin-right: 6px;
    }

/* Tab Content */
.tab-content {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

    /* Custom Scrollbar */
    .tab-content::-webkit-scrollbar {
        width: 8px;
    }

    .tab-content::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    .tab-content::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #a855f7, #ec4899);
        border-radius: 10px;
    }

/* Settings Section */
.settings-section {
    padding: 10px;
}

.section-title-modern {
    color: #a855f7;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form Groups Modern */
.form-group-modern {
    margin-bottom: 20px;
}

    .form-group-modern label {
        display: block;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 8px;
    }

/* Input Groups */
.input-group {
    display: flex;
    align-items: stretch;
}

.form-control-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 15px;
    border-radius: 10px !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
}

.input-group .form-control-modern {
    border-radius: 10px 0 0 10px;
}

.form-control-modern:focus {
    outline: none;
    border-color: #a855f7;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.form-control-modern::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-group-text-modern {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 0 10px 10px 0;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Select Dropdown */
.form-control-modern option {
    background: #1e1e2d;
    color: white;
}

/* Textarea */
textarea.form-control-modern {
    resize: vertical;
    min-height: 80px;
}

/* Toggle Group */
.toggle-group-modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toggle-item-modern {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

    .toggle-item-modern:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(168, 85, 247, 0.3);
    }

.toggle-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 3px;
}

.toggle-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Modern Toggle Switch */
.switch-modern {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

    .switch-modern input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider-modern {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .slider-modern:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 3px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

.switch-modern input:checked + .slider-modern {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-color: transparent;
}

    .switch-modern input:checked + .slider-modern:before {
        transform: translateX(24px);
    }

.switch-modern input:focus + .slider-modern {
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.3);
}

/* Badge New */
.badge-new {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons Modern */ !important;
.btn-modern-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-modern-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
    color: white;
}

.btn-modern-purple:active {
    transform: translateY(0);
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    border-radius: 12px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

    .btn-secondary-modern:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: #a855f7;
        color: white;
    }

/* Responsive Design */
@media (max-width: 768px) {
    #SupportChatModal .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }

    .tab-content {
        max-height: 200px;
    }

    .nav-tabs-modern {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .nav-link-modern {
        font-size: 0.85rem;
        padding: 10px 15px;
    }

        .nav-link-modern i {
            display: none;
        }

    .toggle-item-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .switch-modern {
        align-self: flex-end;
    }
}

@keyframes liveGlow {
    0% {
        box-shadow: 0 1px 6px rgba(255, 51, 102, 0.3);
    }

    100% {
        box-shadow: 0 1px 10px rgba(255, 51, 102, 0.6);
    }
}

.modern-pulse-dot {
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.modern-premium-show {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    color: #fff;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.4);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

    .modern-premium-show::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        animation: shimmer 3s infinite;
    }

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.modern-countdown {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.modern-pricing-info {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    padding: 4px 10px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 12px;
}

    .modern-pricing-info:hover {
        background: rgba(255,255,255,0.18);
        transform: translateY(-1px);
    }

.modern-price-icon {
    color: #ffd700;
    font-size: 12px;
}


.modern-price-text {
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
}

.modern-user-count {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #b8b8b8;
    font-size: 12px;
    background: rgba(255,255,255,0.08);
    padding: 4px 8px;
    border-radius: 10px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

    .modern-user-count:hover {
        color: #fff;
    }

.modern-right-section {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    flex-shrink: 0;
}

.modern-status-icons {
    display: none;
    align-items: center;
    gap: 6px;
}

.modern-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

    .modern-status-icon i {
        line-height: 1;
    }

.sound-status-icon {
    background: rgba(145, 70, 255, 0.9);
}

.modern-free-chat-info {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(45deg, #28a745, #20c997);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
    white-space: nowrap;
}

.coinsdisplay {
    margin-left: -230px; /* schiebt 30px nach links */
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 7px 12px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border: none;
    font-size: 12px;
    white-space: nowrap;
    user-select: none;
}

    .coinsdisplay::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .coinsdisplay:hover::before {
        left: 100%;
    }

    .coinsdisplay:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 16px rgba(255, 107, 53, 0.4);
    }

    .coinsdisplay .fa-coins {
        font-size: 13px;
        color: #fff;
    }

.coinsdisplayplus {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin-left: 4px;
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
}

    .coinsdisplayplus:hover {
        background: rgba(255,255,255,0.3);
        transform: scale(1.1) rotate(180deg);
    }

.modern-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 10px;
    min-width: 180px;
    max-width: 240px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 1001;
    pointer-events: none;
}

.coinsdisplay:hover .modern-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.modern-tooltip-header {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modern-tooltip-content {
    font-size: 11px;
    color: #b8b8b8;
    line-height: 1.3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #videoOverlayTopLeft {
        padding: 6px 12px;
        gap: 8px;
        flex-direction: row; /* nebeneinander */
        flex-wrap: nowrap; /* kein Umbruch */

        align-items: center;
        justify-content: flex-start;
    }

    .modern-left-section {
        flex: 1 1 auto; /* nimmt Platz ein */
        justify-content: flex-start;
        min-width: 0; /* verhindert Overflow */
    }

    .modern-right-section {
        margin-left: 0px; /* kleiner fixer Abstand */
    }

    .modern-model-name {
        font-size: 14px;
    }

    .modern-pricing-info,
    .modern-user-count {
    }

    .coinsdisplay {
        padding: 3px 8px;
        font-size: 11px;
    }

    .modern-tooltip {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    #videoOverlayTopLeft {
        padding: 3px 10px;
        gap: 4px;
        flex-direction: row; /* nebeneinander */
        flex-wrap: nowrap; /* kein Umbruch */

        align-items: center;
        justify-content: space-between;
    }

    body.is-livechat-fullscreen #fullScreenDIV {
        top: auto;
        bottom: 10px;
        right: 10px;
    }

    .modern-left-section {
        flex: 1 1 auto; /* nimmt Platz ein */
        justify-content: flex-start;
        min-width: 0; /* verhindert Overflow */
    }

    .modern-right-section {
        flex-shrink: 0; /* bleibt rechts stehen */
        margin-left: 10px;
        justify-content: flex-end;
    }

    .modern-model-name {
        font-size: 11px;
    }

    #closeDIV {
        top: 50px;
    }

    .coinsdisplay {
        padding: 3px 6px;
        font-size: 11px;
    }

    .modern-tooltip {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* Make the modern top bar fully transparent on mobile devices */
body.is-livechat-smartdevice #videoOverlayTopLeft,
body.is-livechat-smartphone #videoOverlayTopLeft {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
}



/* =========================
   Responsive
   ========================= */

/* Payment tiles at tablet */
@media (max-width: 772px) {
    .PaymentMethodListEntrySmall {
        width: calc(50% - 12px);
    }
}

/* Phone portrait */
@media only screen and (max-device-width: 480px) and (orientation: portrait) {
    .paymentListCloseButton {
        top: 3px;
        right: 26px;
        z-index: 500001;
        padding: 10px;
        font-size: 24px;
    }

    #localVideoContainer {
        z-index: 6000;
    }

    .manifestPlayer-encoder {
        position: relative;
        z-index: 6000;
    }

    .chat-input-group {
        position: relative;
        z-index: 200;
    }

    #paymentlistroot {
        position: absolute;
        bottom: 60px;
        right: 3px;
        top: unset;
        left: unset;
        z-index: 121;
    }

        #paymentlistroot > .App > .App-header > .btn-primary {
            padding: 4px 6px !important;
            font-size: 0.8rem !important;
            line-height: 1.1rem !important;
            z-index: 40000;
        }
}

/* Phone landscape */
@media only screen and (max-device-width: 480px) and (orientation: landscape) {
    .paymentListCloseButton {
        top: 3px;
        right: 26px;
        z-index: 500001;
        padding: 10px;
        font-size: 24px;
    }

    #paymentlistroot {
        position: absolute;
        top: 43px;
        left: 3px;
        right: unset;
        z-index: 121;
    }

        #paymentlistroot > .App > .App-header > .btn-primary {
            padding: 4px 6px !important;
            font-size: 0.8rem !important;
            line-height: 1.1rem !important;
            z-index: 40000;
        }
}

/* Small screens: local video / audio sizing & controls */
@media (max-width: 600px) {
    .resize-btn {
        display: inline-block;
    }

    #localAudioContainer {
        font-size: 10px;
        width: 35%;
        top: 220px;
        left: 4px;
    }


    #startLocalMediaButton {
        width: 96%;
        white-space: break-spaces;
        line-height: 16px;
        height: auto;
        font-size: 14px;
        margin: 5px auto 0;
        background: #444;
        color: #fff;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    #tipOverlay .tab {
        padding: 0.8rem 0;
        font-size: 1rem;
    }

    #tipOverlay.modal-overlay {
        min-width: auto !important;
        left: auto !important;
    }

    #tipOverlay .preset-amounts {
        gap: 0.3rem !important;
    }

    #lovenseTipList {
        max-height: 220px !important;
    }
}

@media (max-height: 980px) {
    #tipOverlay.modal-overlay {
        min-width: auto !important;
        left: auto !important;
    }

    #tipOverlay .preset-amounts {
        gap: 0.3rem !important;
    }

    #lovenseTipList {
        max-height: 320px !important;
    }
}

@media (max-height: 680px) {
    #lovenseTipList {
        max-height: 140px !important;
    }
}

/* Modal padding on very small devices */
@media (max-width: 576px) {
    .modal-content.glassy-modern {
        padding: 20px 15px;
    }

    #lovenseTipList {
        max-height: 320px;
    }
}

.icon-lush {
    display: inline-block;
    width: 1.6em;
    height: 1.6em;
    background-image: url('https://guppytabupload.s3.eu-west-1.amazonaws.com/1244d1ad-4186-45bf-a4e6-c1eb6c55e2bb.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.icon-dildo {
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    background-image: url('https://guppytabupload.s3.eu-west-1.amazonaws.com/dildo-icon2025.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* Tweak for very small phones—stack full width if needed */
@media (max-width: 360px) {
    #btnToolbar.toolbar-grid {
        grid-template-columns: 1fr;
        gap: .15rem; /* space between buttons */
    }
}

/* Optional: slightly larger tap targets on touch */
@media (pointer: coarse) {
    #btnToolbar.toolbar-grid .btn {
        padding-top: .25rem;
        padding-bottom: .25rem;
        padding-left: 0;
        padding-right: 0;
        font-size: 80%;
        min-height: 2.5rem;
    }
}

/* Tip menu panel */
#tipOverlay .modal-content {
    background: #121216; /* slightly lighter than pure black */
    border: 1px solid rgba(255,255,255,0.08); /* soft, neutral border */
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.03);
    overflow: hidden; /* keep header corners clean */
}

    /* Optional: gold accent border on focus/hover */
    #tipOverlay .modal-content:focus-within,
    #tipOverlay .modal-content:hover {
        border-color: rgba(255,193,7,0.28); /* matches your warning/gold theme */
    }


/* give the header a separator */
#tipOverlay .modal-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* tabs separator line */
#tipOverlay .modal-tabs {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* autotranslate */
.chat-autotranslate-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 12px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.autoTransButton {
    color: #ffdab9;
    font-size: 90%;
}

.autotranslate-dropdown-btn {
    font-size: 90%;
}

/* Hide cancel buttons by default */
.manifestPlayer-encoder .cancel-btn {
    display: none;
    background: rgba(0, 0, 0, 0.5); /* half-transparent */
}

/* Show cancel button when hovering over parent */
.manifestPlayer-encoder:hover .cancel-btn {
    display: inline-block;
}

/* sanftes Glühen rundum */
.spinicon::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/* Hover = "Klick mich"-Vibe */
.spinicon:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    cursor: pointer;
}

    .spinicon:hover::after {
        opacity: 1;
    }

/* Glühender 3D-Effekt nur am Icon */
.spinicon .fa {
    color: #ffd700;
    top: 30% !important;
    z-index: 1;
    animation: coinFloatFlip 3s ease-in-out infinite;
    transform-origin: center;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

@media (max-width: 1430px) {
    #btnToolbar.toolbar-grid .featbtn .fa {
        margin-right: 5px;
        position: unset;
        top: unset;
        left: unset;
        transform: none;
    }

    .icon-dildo {
        width: 1.1em;
        height: 1.1em;
    }

    .icon-lush {
        width: 1.1em;
        height: 1.1em;
    }
}

/* Kombinierte Bewegung: Drehen + sanftes Schweben */
@keyframes coinFloatFlip {
    0% {
        transform: translateY(0) rotateY(0deg);
    }

    25% {
        transform: translateY(-2px) rotateY(90deg);
    }

    50% {
        transform: translateY(0) rotateY(180deg);
    }

    75% {
        transform: translateY(2px) rotateY(270deg);
    }

    100% {
        transform: translateY(0) rotateY(360deg);
    }
}
/* Motion-Respect */
@media (prefers-reduced-motion: reduce) {
    .spinicon .fa {
        animation: none;
    }
}

.sound-button {
    border: none;
    cursor: pointer;
    border-radius: 16px;
    padding: 14px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    transition: transform .08s ease, box-shadow .2s ease;
    position: relative;
    z-index: 2;
}

    .sound-button:hover {
        box-shadow: 0 10px 32px rgba(0,0,0,0.3);
        transform: scale(1.02);
    }

    .sound-button:active {
        transform: scale(0.97);
    }

    .sound-button svg {
        width: 28px;
        height: 28px;
        display: block;
    }

/* Neue, weichere Pulsanimation */
.pulse {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%);
    animation: pulseGlow 2s ease-out infinite;
    filter: blur(2px);
    z-index: 1;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.modern-model-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-avatar-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--systemLogoColor); /* z.B. pinker Rand für Live */
}

.modern-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tipIcon-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
}

/* moderner, cleaner Button */
.tipIcon-button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, rgba(42, 35, 44, 0.7), rgba(27, 22, 28, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5), -4px -4px 8px rgba(80, 70, 90, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
    cursor: pointer;
}

    .tipIcon-button:hover {
        transform: translateY(-3px) scale(1.04);
        box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.5), -3px -3px 10px rgba(255, 255, 255, 0.05);
    }

.coin-icon {
    position: relative;
    display: inline-block;
    font-size: 22px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    z-index: 2;
    color: gold;
    transform-style: preserve-3d;
}

.coin-bounce {
    animation: spin 0.6s cubic-bezier(0.28, 0.84, 0.42, 1);
}

@keyframes spin {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* aktiver Zustand */
.tipIcon-button:has(.activeCoin) {
    background-color: #2a2a2a;
    border: 1px solid #f5d000;
    transform: scale(1.04);
}

    .tipIcon-button:has(.activeCoin) .coin-icon {
        opacity: 1;
        transform: scale(1.05);
    }

#btnToolbarCollapsible {
    max-width: 150px;
}

.toolbarToggleWrapper #btnToolbar #btnToolbarGroup #btnToolbarToggle {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, rgba(42, 35, 44, 0.7), rgba(27, 22, 28, 0.7));
    color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5), -4px -4px 8px rgba(80, 70, 90, 0.2), inset 1px 1px 2px rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
    cursor: pointer;
}

    /* Hover-Effekt – leicht aufgehellt, mehr Tiefe */
    .toolbarToggleWrapper #btnToolbar #btnToolbarGroup #btnToolbarToggle:hover {
        background: radial-gradient(circle at 25% 25%, rgba(60, 55, 65, 0.8), rgba(25, 20, 25, 0.8));
        transform: translateY(-1px);
        color: #f5f5f5;
        border: 2px red;
        box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.6), -3px -3px 6px rgba(100, 90, 110, 0.25), inset 1px 1px 3px rgba(255, 255, 255, 0.08);
    }

/* Aktiver Zustand – etwas heller, gedrückt */
.toolbarToggleWrapper #btnToolbar #btnToolbarToggle.active {
    background: radial-gradient(circle at 40% 40%, rgba(80, 75, 85, 0.85), rgba(30, 25, 35, 0.85));
    transform: translateY(1px);
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.4), inset -1px -1px 2px rgba(255, 255, 255, 0.05);
}


/* Collapsible-Bereich */
.toolbarToggleWrapper #btnToolbar .toolbar-collapsible {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    background: rgba(25, 25, 25, 0.3);
    padding: 0 6px;
    border-radius: 20px;
}

    /* Aktivierter Zustand */
    .toolbarToggleWrapper #btnToolbar .toolbar-collapsible.expanded {
        max-height: 500px;
        opacity: 1;
        padding: 10px;
    }

    /* Buttons im Overlay */
    .toolbarToggleWrapper #btnToolbar .toolbar-collapsible button {
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.18);
        color: #fff;
        font-size: 14px;
        border-radius: 12px;
        padding: 8px 14px;
        backdrop-filter: blur(10px);
        transition: background 0.25s ease, transform 0.2s ease;
    }

        .toolbarToggleWrapper #btnToolbar .toolbar-collapsible button:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateX(-4px);
        }

    /* Kleine Glüh-Animation beim Öffnen */
    .toolbarToggleWrapper #btnToolbar .toolbar-collapsible.expanded button {
        animation: fadeSlideIn 0.3s ease forwards;
    }

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fullScreenOpacity {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.icon-toolbar-container {
    position: absolute;
    left: 10px;
    top: 50px;
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    align-items: flex-start;
}

.icon-toolbar {
    display: none;
    flex-direction: column;
    gap: 0;
}

.icon-toolbar-button {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, rgba(42, 35, 44, 0.7), rgba(27, 22, 28, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5), -4px -4px 8px rgba(80, 70, 90, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
    cursor: pointer;
    margin-bottom: 6px; /* Hier kommt der Abstand */
}

    .icon-toolbar-button:disabled {
        opacity: 0.4;
        background: radial-gradient(circle at 30% 30%, rgba(30, 25, 32, 0.6), rgba(20, 18, 22, 0.6));
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.02);
        cursor: not-allowed;
        transform: none; /* verhindert Hover-Animationseffekte */
    }

    .icon-toolbar-button i {
        position: relative;
        display: inline-block;
        font-size: 22px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
        z-index: 2;
        color: white;
    }

    .icon-toolbar-button:hover {
        background: radial-gradient(circle at 30% 30%, rgb(35, 45, 55, 0.8), rgb(35, 36, 36, 0.8));
        box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.6), inset 1px 1px 2px rgba(255, 255, 255, 0.25);
        transform: translateY(-1px);
    }

    .icon-toolbar-button:active {
        transform: translateY(0);
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5), inset 1px 1px 2px rgba(255, 255, 255, 0.15);
    }

    .icon-toolbar-button.active {
        background: radial-gradient(circle at 30% 30%, rgb(45, 100, 180, 0.7), rgb(30, 60, 120, 0.7));
    }

    .icon-toolbar-button svg {
        width: 22px;
        height: 22px;
        stroke: rgba(255, 255, 255, 0.9);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.reportcontrol-button-fullscreen {
    position: relative;
    padding: 4px 4px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, rgba(42, 35, 44, 0.7), rgba(27, 22, 28, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5), -4px -4px 8px rgba(80, 70, 90, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
    cursor: pointer;
}

    .reportcontrol-button-fullscreen:disabled {
        opacity: 0.4;
        background: radial-gradient(circle at 30% 30%, rgba(30, 25, 32, 0.6), rgba(20, 18, 22, 0.6));
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.02);
        cursor: not-allowed;
        transform: none; /* verhindert Hover-Animationseffekte */
    }

    .reportcontrol-button-fullscreen i {
        position: relative;
        display: inline-block;
        font-size: 12px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
        z-index: 2;
        color: white;
    }

    .reportcontrol-button-fullscreen:hover {
        background: radial-gradient(circle at 30% 30%, rgb(35, 45, 55, 0.8), rgb(35, 36, 36, 0.8));
        box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.6), inset 1px 1px 2px rgba(255, 255, 255, 0.25);
        transform: translateY(-1px);
    }

    .reportcontrol-button-fullscreen:active {
        transform: translateY(0);
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5), inset 1px 1px 2px rgba(255, 255, 255, 0.15);
    }

    .reportcontrol-button-fullscreen.active {
        background: radial-gradient(circle at 30% 30%, rgb(45, 100, 180, 0.7), rgb(30, 60, 120, 0.7));
    }

    .reportcontrol-button-fullscreen svg {
        width: 12px;
        height: 12px;
        stroke: rgba(255, 255, 255, 0.9);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@media only screen and (min-width: 1025px) {
    .icon-toolbar-container {
        top: 250px;
    }
}

.fullscreen-livecam-overlay {
    position: relative;
}
.fullscreen-livecam-toolbar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
}
.fullscreen-shop-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.82);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    position: relative;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.fullscreen-livecam-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.82);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    position: relative;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

    .fullscreen-livecam-toggle:hover {
        background: rgba(32, 32, 32, 0.88);
    }

    .fullscreen-livecam-toggle.is-active,
    .fullscreen-shop-toggle.is-active {
        border-color: rgba(255, 255, 255, 0.48);
        background: rgba(40, 40, 40, 0.92);
    }

.fullscreen-livecam-toggle-icon {
    font-size: 0.85rem;
}

.fullscreen-livecam-toggle-label {
    font-weight: 600;
    font-size: 0.82rem;
}

.fullscreen-livecam-shell {
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.fullscreen-livecam-panel {
    display: none;
}

#fullscreenLivecamOverlay {
    margin: 0 auto;
}

.fullscreen-livecam-panel-girls.is-active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#LivecamListmoregirlsmobi.LivecamList {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    max-width: 1160px;
}

#fullscreenLivecamContent .pagination,
#fullscreenLivecamContent nav[id^="pagination"] {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.fullscreen-shop-content {
    display: none !important;
}
body.is-livechat-fullscreen #fullscreenLivecamOverlay {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(96vw, 1200px);
    max-width: 1200px;
    pointer-events: none;
    z-index: 1035;
}

    body.is-livechat-fullscreen #fullscreenLivecamOverlay .fullscreen-livecam-toggle,
    body.is-livechat-fullscreen #fullscreenLivecamOverlay .fullscreen-shop-toggle {
        display: flex;
        pointer-events: auto;
    }

    body.is-livechat-fullscreen #fullscreenLivecamOverlay .fullscreen-livecam-shell {
        background: rgba(8, 8, 8, 0.92);
        backdrop-filter: blur(14px);
        border-radius: 18px 18px 0 0;
        padding: 16px 20px 20px;
        max-height: 42vh;
        overflow-y: auto;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
        transform: translateY(calc(100% + 16px));
        opacity: 0;
        pointer-events: auto;
    }

    body.is-livechat-fullscreen #fullscreenLivecamOverlay .fullscreen-livecam-panel {
        overflow-y: auto;
        max-height: calc(42vh - 36px);
    }

    body.is-livechat-fullscreen #fullscreenLivecamOverlay .fullscreen-livecam-panel.is-active {
        display: block;
    }

    body.is-livechat-fullscreen #fullscreenLivecamOverlay.is-open {
        pointer-events: auto;
    }

        body.is-livechat-fullscreen #fullscreenLivecamOverlay.is-open .fullscreen-livecam-toolbar {
            bottom: calc(100% + 8px);
        }

        body.is-livechat-fullscreen #fullscreenLivecamOverlay.is-open .fullscreen-livecam-shell {
            transform: translateY(0);
            opacity: 1;
        }

body.is-livechat-smartdevice #fullscreenLivecamOverlay .fullscreen-livecam-toggle {
    display: none;
}

body.is-livechat-fullscreen .icon-toolbar-container {
    position: fixed;
    top: 60px;
    left: 16px;
    display: flex !important;
    max-width: 132px;
}

body.is-livechat-fullscreen .icon-toolbar {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    grid-auto-rows: 48px;
    gap: 10px 8px;
    max-width: 132px;
    max-height: calc(100vh - 160px);
    padding: 8px 8px 96px 8px;
    overflow-y: auto;
    box-sizing: border-box;
}

body.is-livechat-fullscreen .icon-toolbar-button {
    margin-bottom: 0;
}

body.is-livechat-fullscreen.is-livechat-landscape #videoOverlayTopLeft {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
}

#reportcontrol .reportcontrol-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    #reportcontrol .reportcontrol-button i {
        font-size: 0.95rem;
    }

body.is-livechat-fullscreen .icon-toolbar-report {
    display: block !important;
}

body.is-livechat-fullscreen #reportcontrol:not(.reportcontrol-floating) .reportcontrol-button {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    padding: 0;
    justify-content: center;
    gap: 0;
}

    body.is-livechat-fullscreen #reportcontrol:not(.reportcontrol-floating) .reportcontrol-button i {
        font-size: 1rem;
    }

body.is-livechat-fullscreen #videoContainer {
    position: relative;
}

body.is-livechat-fullscreen #reportcontrol.reportcontrol-floating {
    position: absolute;
    bottom: 10px;
    z-index: 10000;
    width: auto;
    padding: 0;
}

body.is-livechat-fullscreen #reportcontrol.reportcontrol-floating {
    position: absolute;
    bottom: 10px;
    left: 100px;
    height: 34px;
}

body.is-livechat-fullscreen #reportcontrol .reportcontrol-label {
    font-size: 11px;
    color: #ffffff;
    white-space: nowrap;
    margin-left: 4px;
    line-height: 15px;
}

@media (max-width: 768px) and (orientation: portrait) {
    body.is-livechat-fullscreen #reportcontrol .reportcontrol-label {
        display: none;
    }

    body.is-livechat-fullscreen #reportcontrol.reportcontrol-floating .reportcontrol-label {
        display: none;
    }

    body.is-livechat-fullscreen .reportcontrol-button-floating {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: radial-gradient(circle at 30% 30%, rgba(42, 35, 44, 0.7), rgba(27, 22, 28, 0.7));
        box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5), -4px -4px 8px rgba(80, 70, 90, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.05);
        gap: 0;
    }

        body.is-livechat-fullscreen .reportcontrol-button-floating i {
            font-size: 20px;
            color: #ffffff;
        }
}

body.is-livechat-fullscreen #fullScreenDIV.fullscreen-toolbar-button {
    position: static !important;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 44px;
    height: 44px;
    z-index: auto;
}

    body.is-livechat-fullscreen #fullScreenDIV.fullscreen-toolbar-button .fa {
        font-size: 1rem;
        color: #ffffff;
    }

@media (max-width: 768px) and (orientation: portrait) {
    body.is-livechat-fullscreen #reportcontrol.reportcontrol-floating {
        top: 8px;
        left: 8px;
        bottom: unset;
    }

    body.is-livechat-fullscreen .modern-left-section {
        padding-left: 30px;
    }
}

.backdropBlurr {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(80px) !important;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9998; /* wichtig: über Inhalt, unter Modal */
}

div[class^="video-select-selectContainer"] select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 10px 40px 10px 14px;
    font-size: 15px;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

    div[class^="video-select-selectContainer"] select:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    div[class^="video-select-selectContainer"] select:focus {
        outline: none;
        border-color: rgba(255, 255, 255, 0.6);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    }

div[class^="video-select-selectContainer"] option {
    background-color: #1e1e1e;
    color: #fff;
    padding: 8px;
}

[class^="video-select-label-"] {
    display: none !important;
}

.mute-toggle-button {
    position: fixed !important;
    left: 15px !important;
    top: 300px !important;
    bottom: unset !important;
    width: 48px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: radial-gradient(circle at 30% 38%, rgba(42, 45, 44, 0.7), rgba(27, 22, 28, 0.7)) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5), -4px 4px 8px rgba(80, 70, 90, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
    cursor: pointer;
    margin-bottom: 6px;
}

    .mute-toggle-button:after {
        content: "";
        position: fixed;
        top: 50%;
        left: 50%;
        width: 24px;
        height: 3px;
        background: #f44;
        transform: translate(-50%, -50%) rotate(45deg);
        opacity: 0;
        transition: opacity .2s ease;
        pointer-events: none;
        z-index: 10;
    }

.muteinfo {
    position: fixed !important;
    left: 0% !important;
    width: 170px;
    left: 15px !important;
    top: 240px !important;
    bottom: unset !important;
    right: 0 !important;
    transform: none !important;
    margin-left: 0 !important;
}

body.is-livechat-fullscreen .mute-toggle-button {
    top: unset !important;
    bottom: 100px !important;
}

body.is-livechat-fullscreen .muteinfo {
    top: unset !important;
    bottom: 158px !important;
}

.muteinfotriangle {
    right: unset !important;
}

@media (max-width: 600px) {
    .mute-toggle-button {
        bottom: 570px !important;
    }

    .muteinfo {
        bottom: 625px !important;
    }

    body.is-livechat-fullscreen .mute-toggle-button {
        bottom: 450px !important;
        left: auto !important;
        right: 15px;
    }

    body.is-livechat-fullscreen .muteinfo {
        position: fixed !important;
        left: 0% !important;
        width: 130px;
        left: auto !important;
        right: 15px !important;
        bottom: 505px !important;
        right: 0 !important;
        transform: none !important;
        margin-left: 0 !important;
        height: 60px;
        white-space: break-spaces !important;
    }

    .muteinfotriangle {
        left: unset !important;
        right: 20px !important;
    }
}

body.is-livechat-smartdevice.is-livechat-portrait .mute-toggle-button {
    bottom: 5px !important;
    left: 60px !important;
}

body.is-livechat-smartdevice.is-livechat-portrait .muteinfo {
    bottom: 60px !important;
    left: 60px !important;
}

body.is-livechat-smartdevice.is-livechat-fullscreen.is-livechat-landscape .mute-toggle-button {
    bottom: 5px !important;
    left: 60px !important;
}


body.is-livechat-smartdevice.is-livechat-fullscreen.is-livechat-landscape .muteinfo {
    bottom: 60px !important;
    left: 60px !important;
}

body.is-livechat-fullscreen #lovenseSliderDIV {
    bottom: 250px !important;
}

body.is-livechat-fullscreen #dildoSliderDIV {
    bottom: 250px !important;
}

@media only screen and (orientation: portrait) {
    .mute-toggle-button {
        position: fixed !important;
    }
}

.uielement {
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1); /* sehr weich, modern */
    pointer-events: auto;
}

.ui-hidden {
    opacity: 0.3;
    pointer-events: none;
    transition-delay: 0.1s; /* winzige Nachlaufzeit für harmonisches Ausfaden */
}

.autoplay-overlay {
    position: fixed !important;
}

.loading-glass {
    background: rgba(30, 30, 40, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
}

.loading-spinner {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: #bf5af2;
    animation: spinner 0.8s linear infinite;
    margin: auto;
}

#spinningWheelVisual {
    transition: transform 4.2s cubic-bezier(.12, .85, .32, 1);
}

@keyframes spinner {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

body.is-livechat-fullscreen #tipKingOverlay {
    display: none !important;
}

.confetti-piece {
    position: fixed;
    width: var(--size);
    height: var(--size);
    background: var(--color);
    pointer-events: none;
    top: var(--startY);
    left: var(--startX);
    opacity: 0.9;
    transform: translate3d(0,0,0) rotateZ(0deg);
    animation: confetti-fall var(--duration) linear forwards;
    border-radius: var(--rounding);
}

@keyframes confetti-fall {
    0% {
        transform: translate3d(0,0,0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    100% {
        transform: translate3d(var(--xMove), var(--yMove), 0) rotateX(var(--xRot)) rotateY(var(--yRot)) rotateZ(var(--zRot));
    }
}
body.is-livechat-fullscreen #fullscreenLivecamOverlay .fullscreen-livecam-panel.fullscreen-shop-content.is-active {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: stretch;
}

#btnSendCoins.tip-send-disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.7);
}
#userpseudotext {
    position: fixed;
    top: 55%;
    right: 5px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 200px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    color: #ffeb9c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    white-space: normal;
    word-break: break-word;
    pointer-events: none;
    z-index: 99999999;
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease;
}

    @media (max-width: 968px) {
        #userpseudotext {
            font-size: 16px;
        }
    }

    #userpseudotext.show {
        opacity: 1;
    }
    .other-user-mixed {
        opacity: 0.6;
        filter: grayscale(80%) brightness(70%);
    }

/* ---------------------------------------------------
   TIPGOALMODAL – Premium Modern UI
-----------------------------------------------------*/
#tipgoalmodal {
    position: absolute;
    transform: translateX(-50%) translateY(-100%);
    z-index: 999999;
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 20px;
    width: 280px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 48px rgba(236, 72, 153, 0.12);
    animation: tipgoalmodal-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    z-index: 999999;
}

@keyframes tipgoalmodal-in {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-95%) scale(0.92);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(-100%) scale(1);
    }
}

/* --- Header mit Progress --- */
.htm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.htm-progress-label {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 700;
}

.htm-current {
    font-size: 20px;
    color: #ffffff;
}

.htm-separator {
    font-size: 16px;
    color: #666;
    margin: 0 2px;
}

.htm-target {
    font-size: 16px;
    color: #888;
}

.htm-unit {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    margin-left: 2px;
}

.htm-percentage {
    font-size: 14px;
    font-weight: 700;
    color: #10b981;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
}

/* --- Remaining Info --- */
.htm-remaining {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
    font-size: 13px;
    color: #b8b8b8;
}

    .htm-remaining svg {
        flex-shrink: 0;
        opacity: 0.6;
    }

    .htm-remaining strong {
        color: #ffffff;
        font-weight: 700;
    }

/* --- Buttons --- */
.htm-button {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.htm-button--primary {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #000000;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
    margin-bottom: 16px;
}

    .htm-button--primary:hover {
        background: linear-gradient(135deg, #059669, #10b981);
        box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
        transform: translateY(-2px);
    }

    .htm-button--primary:active {
        transform: translateY(0);
    }

    .htm-button--primary svg {
        stroke-width: 3;
    }

/* --- Divider --- */
.htm-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

    .htm-divider::before,
    .htm-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(255, 255, 255, 0.06);
    }

/* --- Input Row --- */
.htm-inputrow {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.htm-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.htm-input {
    width: 100%;
    padding: 12px 44px 12px 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    background: rgba(30, 30, 30, 0.5);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s ease;
    outline: none;
}

    .htm-input::placeholder {
        color: #666;
        font-weight: 500;
    }

    .htm-input:focus {
        border-color: rgba(236, 72, 153, 0.4);
        background: rgba(30, 30, 30, 0.7);
        box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.08);
    }

    .htm-input:hover:not(:focus) {
        border-color: rgba(255, 255, 255, 0.12);
    }

    .htm-input::-webkit-outer-spin-button,
    .htm-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.htm-input-unit {
    position: absolute;
    right: 14px;
    color: #888;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
}

.htm-button--send {
    width: 48px;
    height: 48px;
    padding: 0;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
    flex-shrink: 0;
}

    .htm-button--send:hover {
        background: linear-gradient(135deg, #db2777, #ec4899);
        box-shadow: 0 6px 24px rgba(236, 72, 153, 0.5);
        transform: translateY(-2px) rotate(5deg);
    }

    .htm-button--send:active {
        transform: translateY(0) rotate(0deg);
    }

    .htm-button--send svg {
        stroke-width: 2.5;
    }

/* --- Progress Preview auf Card --- */
.tip-goal-card__progress {
    position: relative;
    overflow: hidden;
}

.tip-goal-card__progress-preview {
    position: absolute;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.45), rgba(253, 224, 71, 0.45));
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-radius: inherit;
    animation: previewPulse 2s ease-in-out infinite;
}

@keyframes previewPulse {
    0%, 100% {
        opacity: 0.45;
    }

    50% {
        opacity: 0.75;
    }
}

.tip-goal-card__progress--full {
    animation: progressGlow 1.2s ease-in-out infinite;
}

.tip-goal-card__progress-preview--full {
    background: linear-gradient(90deg, #fbbf24, #fde047) !important;
    animation: previewGlowFull 1s ease-in-out infinite !important;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.7), inset 0 0 20px rgba(253, 224, 71, 0.4);
}
.htm-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.htm-input {
    width: 100%;
    padding: 12px 80px 12px 48px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    background: rgba(30, 30, 30, 0.5);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s ease;
    outline: none;
    text-align: center;
}

    .htm-input::placeholder {
        color: #666;
        font-weight: 500;
    }

    .htm-input:focus {
        border-color: rgba(236, 72, 153, 0.4);
        background: rgba(30, 30, 30, 0.7);
        box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.08);
    }

    .htm-input:hover:not(:focus) {
        border-color: rgba(255, 255, 255, 0.12);
    }

    .htm-input::-webkit-outer-spin-button,
    .htm-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
.htm-stepper {
    position: absolute;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    z-index: 2;
}

.htm-stepper--minus {
    left: 8px;
}

.htm-stepper--plus {
    right: 48px;
}

.htm-stepper:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.08);
}

.htm-stepper:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.15);
}

.htm-stepper svg {
    opacity: 0.8;
}

.htm-input-unit {
    position: absolute;
    right: 14px;
    color: #888;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    z-index: 1;
}
.poll-wrap {
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255,255,255,.04);
}

.poll-grid {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Modern Poll ===== */
.mp-poll {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

.mp-poll-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.mp-poll-title {
    color: rgba(255,255,255,.92);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.mp-poll-sub {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.80);
    font-size: 12px;
}

.mp-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.mp-dot-base {
    background: rgba(0, 230, 160, .95);
    box-shadow: 0 0 12px rgba(0,230,160,.45);
}

.mp-dot-mp {
    background: rgba(255, 60, 120, .95);
    box-shadow: 0 0 12px rgba(255,60,120,.45);
}

.mp-poll-grid {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Donut */
.mp-donut {
    width: 170px;
    height: 170px;
    position: relative;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.10), rgba(255,255,255,0) 55%);
}

.mp-donut-svg {
    width: 170px;
    height: 170px;
    transform: rotate(-90deg);
}

.mp-track {
    fill: none;
    stroke: rgba(255,255,255,.10);
    stroke-width: 12;
}

.mp-arc {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    filter: url(#mpGlow);
    transition: stroke-dashoffset .45s ease, opacity .25s ease;
    opacity: .95;
}

.mp-arc-base {
    stroke: rgba(0, 230, 160, .98);
}

.mp-arc-mp {
    stroke: rgba(255, 60, 120, .98);
}

.mp-donut-center {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: rgba(15,15,20,.72);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}

.mp-center-top {
    color: rgba(255,255,255,.88);
    font-weight: 800;
    letter-spacing: .4px;
    font-size: 12px;
}

.mp-center-mid {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 2px;
    margin-bottom: 4px;
    color: #fff;
    font-weight: 900;
    font-size: 26px;
}

.mp-center-mid-sub {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.70);
}

.mp-center-bot {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.75);
}

/* Cards */
.mp-cards {
    min-width: 210px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mp-card {
    width: 100%;
    text-align: left;
    border-radius: 16px;
    padding: 12px 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    color: #fff;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

    .mp-card:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.07);
    }

    .mp-card:disabled {
        opacity: .65;
        cursor: not-allowed;
        transform: none;
    }

.mp-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mp-card-name {
    font-weight: 900;
    font-size: 14px;
}

.mp-card-sub {
    font-size: 12px;
    color: rgba(255,255,255,.72);
    margin-top: 1px;
}

.mp-card-right {
    text-align: right;
}

.mp-card-val {
    font-size: 18px;
    font-weight: 900;
}

.mp-card-pct {
    font-size: 12px;
    font-weight: 800;
    color: rgba(255,255,255,.75);
}

.mp-card-base.mp-selected {
    border-color: rgba(0,230,160,.55);
    box-shadow: 0 0 0 3px rgba(0,230,160,.14);
}

.mp-card-mp.mp-selected {
    border-color: rgba(255,60,120,.55);
    box-shadow: 0 0 0 3px rgba(255,60,120,.14);
}

.mp-price {
    margin-top: 2px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px dashed rgba(255,255,255,.18);
    background: rgba(255,255,255,.03);
    color: rgba(255,255,255,.80);
    font-weight: 700;
    text-align: center;
}

/* Ergebnisbox */
.mp-result {
    margin-top: 12px;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
}

.mp-result-title {
    color: rgba(255,255,255,.85);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.mp-result-winner {
    color: #fff;
    font-weight: 900;
    font-size: 14px;
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 0 16px rgba(251, 191, 36, 0.6), 0 2px 10px rgba(251, 191, 36, 0.4);
    }

    50% {
        box-shadow: 0 0 32px rgba(251, 191, 36, 0.9), 0 4px 20px rgba(251, 191, 36, 0.6);
    }
}

@keyframes previewGlowFull {
    0%, 100% {
        opacity: 0.9;
        filter: brightness(1.15);
    }

    50% {
        opacity: 1;
        filter: brightness(1.5);
    }
}
