/* ═══════════════════════════════════════════════
   ESC Voting App — Glassmorphism Design
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --pink:    #ff2d9d;
    --pink2:   #c820e0;
    --cyan:    #00d4ff;
    --cyan2:   #0070c8;
    --gold:    #ffd700;
    --gold2:   #e08000;
    --purple:  #8b5cf6;
    --purple2: #5b21b6;
    --bg:      #050213;
    --glass:   rgba(255,255,255,0.07);
    --glass2:  rgba(255,255,255,0.11);
    --glass3:  rgba(255,255,255,0.17);
    --border:  rgba(255,255,255,0.13);
    --border2: rgba(255,255,255,0.26);
    --text:    #eeeaff;
    --muted:   rgba(238,234,255,0.50);
    --radius:  22px;
}

html { font-size: 16px; -webkit-tap-highlight-color: transparent; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* ── Aurora background ── */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 90% 70% at 5%  95%, rgba(255,45,157,0.25)  0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 95%  5%, rgba(0,212,255,0.20)   0%, transparent 55%),
        radial-gradient(ellipse 55% 55% at 55% 45%, rgba(139,92,246,0.16)  0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 25% 15%, rgba(0,80,200,0.22)    0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 75% 80%, rgba(192,32,224,0.14)  0%, transparent 50%);
}

/* ── Layout ── */
.container {
    max-width: 560px;
    margin: 0 auto;
    padding: 20px 16px 120px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative; z-index: 1;
}

/* ── Glass card ── */
.glass {
    background: var(--glass);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow:
        0 24px 64px rgba(0,0,0,0.60),
        inset 0 1px 0 rgba(255,255,255,0.14),
        inset 0 -1px 0 rgba(0,0,0,0.20);
}
.glass-card { padding: 28px 24px; }

/* ── Screen visibility ── */
.screen { display: none; }
.screen.active { display: block; }

/* ── Typography ── */
h1 {
    font-size: 1.95rem; font-weight: 800; text-align: center;
    margin-bottom: 20px; letter-spacing: -0.02em;
    background: linear-gradient(160deg, #ffffff 30%, rgba(200,180,255,0.85) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
h2 { font-size: 1.22rem; font-weight: 700; margin-bottom: 14px; }
p  { font-size: 1rem; line-height: 1.6; color: var(--muted); }

/* ── Buttons ── */
.btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 24px; font-size: 1.05rem; font-weight: 700;
    border: none; border-radius: 15px; cursor: pointer;
    transition: transform 0.14s, box-shadow 0.18s, filter 0.18s;
    width: 100%; min-height: 54px; letter-spacing: 0.01em;
}
.btn:active  { transform: scale(0.96); filter: brightness(0.9); }
.btn:disabled { opacity: 0.38; cursor: not-allowed; }

.btn-primary {
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink2) 100%);
    color: #fff;
    box-shadow: 0 6px 28px rgba(255,45,157,0.45), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:not(:disabled):hover { box-shadow: 0 8px 36px rgba(255,45,157,0.60); }

.btn-secondary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan2) 100%);
    color: #fff;
    box-shadow: 0 6px 28px rgba(0,212,255,0.32), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-secondary:not(:disabled):hover { box-shadow: 0 8px 36px rgba(0,212,255,0.48); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
    color: #1a0e00;
    box-shadow: 0 6px 28px rgba(255,215,0,0.40), inset 0 1px 0 rgba(255,255,255,0.30);
}
.btn-gold:not(:disabled):hover { box-shadow: 0 8px 36px rgba(255,215,0,0.58); }

.btn-ghost {
    background: var(--glass2); color: var(--muted);
    border: 1px solid var(--border); box-shadow: none;
}
.btn-small { padding: 10px 18px; font-size: 0.88rem; min-height: 40px; border-radius: 11px; }

/* ── Text inputs ── */
.text-input {
    width: 100%; padding: 14px 16px; font-size: 1.1rem;
    border-radius: 14px; border: 1.5px solid var(--border);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    color: var(--text); text-align: center; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.text-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0,212,255,0.14);
}
.text-input::placeholder { color: var(--muted); }

/* ── Spinner ── */
.spinner {
    width: 60px; height: 60px; margin: 24px auto;
    border: 4px solid rgba(255,255,255,0.08);
    border-top-color: var(--pink);
    border-right-color: var(--purple);
    border-radius: 50%;
    animation: spin 0.95s linear infinite;
    box-shadow: 0 0 28px rgba(255,45,157,0.28);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════
   LOGIN SCREEN
   ═══════════════════════════════════════════════ */
.login-screen { text-align: center; }

.avatar-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px;
}
.avatar-btn {
    font-size: 1.8rem; padding: 9px 4px;
    border: 2px solid transparent; border-radius: 14px;
    background: rgba(255,255,255,0.06); cursor: pointer;
    transition: all 0.16s; line-height: 1;
}
.avatar-btn:hover {
    background: rgba(255,255,255,0.12);
    transform: scale(1.08);
}
.avatar-btn.selected {
    border-color: var(--gold);
    background: rgba(255,215,0,0.15);
    transform: scale(1.13);
}

/* ═══════════════════════════════════════════════
   WAITING SCREEN
   ═══════════════════════════════════════════════ */
.waiting-screen { text-align: center; }

.funfact-box {
    margin-top: 22px; padding: 18px 20px;
    background: rgba(255,215,0,0.07);
    border: 1px solid rgba(255,215,0,0.22);
    border-radius: 18px; text-align: left;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(255,215,0,0.06), inset 0 1px 0 rgba(255,215,0,0.12);
}
.funfact-label {
    font-size: 0.70rem; font-weight: 800; color: var(--gold);
    letter-spacing: 0.12em; margin-bottom: 8px; text-transform: uppercase;
}
.funfact-text { font-size: 0.95rem; line-height: 1.62; color: var(--text); }

/* ═══════════════════════════════════════════════
   VOTING SCREEN
   ═══════════════════════════════════════════════ */
.country-display { text-align: center; margin-bottom: 28px; }

.country-flag {
    font-size: 5rem; display: block; margin-bottom: 10px; line-height: 1;
    filter: drop-shadow(0 10px 28px rgba(0,0,0,0.55));
}
.country-info h2 {
    font-size: 1.7rem; margin-bottom: 6px;
    background: linear-gradient(135deg, var(--gold) 0%, #ffaa00 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.country-info p { font-size: 1rem; color: var(--muted); margin-bottom: 3px; }

.funfact-voting {
    margin-top: 14px; padding: 13px 16px;
    background: rgba(255,215,0,0.07);
    border: 1px solid rgba(255,215,0,0.18);
    border-radius: 14px; font-size: 0.88rem;
    color: var(--text); text-align: left; line-height: 1.58;
}

/* ── Sliders ── */
.slider-group { margin-bottom: 22px; }
.slider-label {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px; font-size: 1rem; font-weight: 600;
}
.slider-value {
    padding: 3px 14px; border-radius: 20px;
    font-size: 1.05rem; font-weight: 800; min-width: 44px; text-align: center;
    color: #fff; transition: background 0.25s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

input[type="range"] {
    width: 100%; height: 36px;
    -webkit-appearance: none; appearance: none;
    background: linear-gradient(to right, #4488ff, #22ddaa 40%, #ffcc00 70%, #ff4422);
    border-radius: 18px; outline: none;
    box-shadow: 0 3px 14px rgba(0,0,0,0.35), inset 0 1px 4px rgba(0,0,0,0.25);
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.55), 0 0 0 3px rgba(255,255,255,0.25);
    transition: transform 0.12s;
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.16); }
input[type="range"]::-moz-range-thumb {
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    background: #fff; border: none;
    box-shadow: 0 4px 18px rgba(0,0,0,0.55);
}

.slider-extremes {
    display: flex; justify-content: space-between;
    font-size: 0.78rem; font-weight: 600; margin-top: 6px; padding: 0 3px;
    letter-spacing: 0.02em;
}
.slider-extremes .cold { color: #7799cc; }
.slider-extremes .hot  { color: #ffcc00; }

/* ═══════════════════════════════════════════════
   BONUS SCREEN
   ═══════════════════════════════════════════════ */
.bonus-intro {
    text-align: center; margin-bottom: 24px; padding: 16px 18px;
    background: rgba(255,215,0,0.08);
    border: 1px solid rgba(255,215,0,0.22);
    border-radius: 18px;
    box-shadow: 0 0 32px rgba(255,215,0,0.06);
}
.bonus-intro-pts { font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: 3px; }
.bonus-intro-sub { font-size: 0.85rem; color: var(--muted); }

.bonus-category {
    background: var(--glass2);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 18px; padding: 18px; margin-bottom: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.bonus-category:hover {
    border-color: var(--border2);
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}
.bonus-cat-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bonus-cat-icon { font-size: 2.2rem; line-height: 1; filter: drop-shadow(0 3px 10px rgba(0,0,0,0.4)); }
.bonus-cat-name { font-size: 1.05rem; font-weight: 700; }
.bonus-cat-pts  { font-size: 0.84rem; color: var(--gold); font-weight: 600; margin-top: 3px; }

select {
    width: 100%; padding: 13px 14px; font-size: 1rem;
    border-radius: 13px; border: 1.5px solid var(--border);
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    color: var(--text); cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
select:focus {
    outline: none; border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0,212,255,0.13);
}
select option { background: #120e2e; color: var(--text); }

/* ═══════════════════════════════════════════════
   RESULTS SCREEN
   ═══════════════════════════════════════════════ */
@keyframes podium-reveal {
    from { opacity: 0; transform: translateY(55px) scale(0.88); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}
@keyframes podium-first-glow {
    0%,100% { box-shadow: 0 0 50px rgba(255,215,0,0.10), inset 0 1px 0 rgba(255,215,0,0.28); }
    50%      { box-shadow: 0 0 80px rgba(255,215,0,0.32), inset 0 1px 0 rgba(255,215,0,0.38); }
}

.podium {
    display: flex; justify-content: center; align-items: flex-end;
    gap: 10px; margin: 20px 0; min-height: 200px;
}
.podium-place {
    display: flex; flex-direction: column; align-items: center;
    padding: 16px 12px; border-radius: 18px; min-width: 100px; text-align: center;
    backdrop-filter: blur(12px);
    opacity: 0;
}
.podium-place.reveal {
    animation: podium-reveal 0.65s cubic-bezier(0.34, 1.45, 0.64, 1) forwards;
}
.podium-place.first {
    order: 2; min-height: 230px; height: auto;
    background: rgba(255,215,0,0.14);
    border: 1px solid rgba(255,215,0,0.32);
    box-shadow: 0 0 50px rgba(255,215,0,0.10), inset 0 1px 0 rgba(255,215,0,0.28);
}
.podium-place.first.reveal {
    animation: podium-reveal 0.65s cubic-bezier(0.34, 1.45, 0.64, 1) forwards,
               podium-first-glow 2.4s ease-in-out 0.65s infinite;
}
.podium-place.second {
    order: 1; min-height: 190px; height: auto;
    background: rgba(210,210,225,0.09);
    border: 1px solid rgba(210,210,225,0.18);
}
.podium-place.third {
    order: 3; min-height: 170px; height: auto;
    background: rgba(210,120,40,0.10);
    border: 1px solid rgba(210,120,40,0.20);
}
.podium-rank   { font-size: 2rem; }
.podium-flag   { font-size: 2.4rem; margin: 4px 0; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.45)); }
.podium-name   { font-size: 0.85rem; font-weight: 700; line-height: 1.2; }
.podium-points { font-size: 1.1rem; color: var(--gold); font-weight: 800; margin-top: 4px; }

/* Zwischenergebnis after each country */
.zwischenergebnis-box {
    background: rgba(255,215,0,0.08);
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: 16px; padding: 14px 18px;
    margin: 16px 0; text-align: center;
    animation: podium-reveal 0.5s cubic-bezier(0.34,1.45,0.64,1) forwards;
}
.zwischenergebnis-box .zw-flag   { font-size: 2rem; }
.zwischenergebnis-box .zw-label  { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 4px 0; }
.zwischenergebnis-box .zw-pts    { font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.zwischenergebnis-box .zw-sub    { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

.section-title {
    font-size: 0.75rem; font-weight: 800; text-align: center;
    margin: 24px 0 12px; color: var(--muted);
    letter-spacing: 0.14em; text-transform: uppercase;
}

/* Favorites */
.favorite-card {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: var(--glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 16px; margin-bottom: 10px;
    transition: border-color 0.2s, background 0.2s;
}
.favorite-card:hover { background: var(--glass2); border-color: var(--border2); }
.favorite-avatar { font-size: 1.9rem; min-width: 2rem; text-align: center; }
.favorite-info   { flex: 1; }
.favorite-player { font-weight: 700; font-size: 1rem; }
.favorite-land   { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.favorite-pts    { font-size: 1.2rem; color: var(--gold); font-weight: 800; }

/* All-Ratings Table */
.ratings-table-wrap { overflow-x: auto; margin-top: 10px; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 300px; }
th, td { padding: 9px 10px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.07); }
th {
    background: rgba(255,255,255,0.07); font-weight: 700;
    font-size: 0.76rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
td.pts-cell { text-align: center; font-weight: 700; }
td.pts-cell.top { color: var(--gold); }
tr:hover td { background: rgba(255,255,255,0.03); }

/* Toggle buttons */
.toggle-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 12px; margin-top: 16px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 14px; color: var(--muted); font-size: 0.9rem;
    cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.toggle-btn:hover { background: var(--glass2); border-color: var(--border2); }
.collapsible { display: none; }
.collapsible.open { display: block; }

/* ═══════════════════════════════════════════════
   CHAT
   ═══════════════════════════════════════════════ */
@keyframes fab-pulse {
    0%   { transform: scale(1);    box-shadow: 0 6px 30px rgba(139,92,246,0.55), inset 0 1px 0 rgba(255,255,255,0.20); }
    40%  { transform: scale(1.13); box-shadow: 0 8px 42px rgba(139,92,246,0.80), 0 0 0 8px rgba(139,92,246,0.15), inset 0 1px 0 rgba(255,255,255,0.20); }
    100% { transform: scale(1);    box-shadow: 0 6px 30px rgba(139,92,246,0.55), inset 0 1px 0 rgba(255,255,255,0.20); }
}

#chat-fab {
    position: fixed; bottom: 24px; right: 20px; z-index: 1000;
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple2) 100%);
    box-shadow: 0 6px 30px rgba(139,92,246,0.55), inset 0 1px 0 rgba(255,255,255,0.20);
    display: none; align-items: center; justify-content: center;
    font-size: 1.5rem; cursor: pointer; border: none;
    transition: transform 0.18s, box-shadow 0.18s;
}
#chat-fab:hover { transform: scale(1.08); box-shadow: 0 8px 38px rgba(139,92,246,0.72); }
#chat-fab:active { transform: scale(0.92); }
#chat-fab.visible { display: flex; }
#chat-fab.has-unread { animation: fab-pulse 2.2s ease-in-out infinite; }

#chat-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--pink); color: #fff;
    font-size: 0.68rem; font-weight: 800;
    width: 20px; height: 20px; border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(255,45,157,0.55);
}
#chat-badge.show { display: flex; }

#chat-panel {
    position: fixed; bottom: 92px; right: 16px; left: 16px; z-index: 999;
    max-width: 460px; margin-left: auto;
    background: rgba(10,6,28,0.88);
    backdrop-filter: blur(36px) saturate(200%);
    -webkit-backdrop-filter: blur(36px) saturate(200%);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow:
        0 14px 70px rgba(0,0,0,0.72),
        inset 0 1px 0 rgba(255,255,255,0.12);
    display: none; flex-direction: column;
    max-height: 56vh; overflow: hidden;
}
#chat-panel.open { display: flex; }

#chat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--border);
    font-weight: 700; font-size: 1rem; flex-shrink: 0;
    background: rgba(255,255,255,0.03);
}
#chat-close {
    background: none; border: none; color: var(--muted);
    font-size: 1.4rem; cursor: pointer; padding: 0 4px;
    transition: color 0.15s;
}
#chat-close:hover { color: var(--text); }

#chat-messages {
    flex: 1; overflow-y: auto; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 10px;
    scroll-behavior: smooth;
}
#chat-messages::-webkit-scrollbar { width: 3px; }
#chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 2px; }

.chat-msg { display: flex; gap: 10px; align-items: flex-start; max-width: 88%; }
.chat-msg.own { flex-direction: row-reverse; align-self: flex-end; }

.chat-avatar { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }

.chat-bubble {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 4px 16px 16px 16px;
    padding: 9px 13px; max-width: 100%;
    font-size: 0.92rem; line-height: 1.45;
}
.chat-msg.own .chat-bubble {
    background: rgba(139,92,246,0.22);
    border-color: rgba(139,92,246,0.32);
    border-radius: 16px 4px 16px 16px;
}
.chat-sender { font-size: 0.72rem; font-weight: 700; color: var(--cyan); margin-bottom: 3px; }
.chat-msg.own .chat-sender { text-align: right; color: var(--purple); }

.chat-empty { text-align: center; color: var(--muted); font-size: 0.9rem; padding: 24px 10px; }

#chat-input-row {
    display: flex; gap: 8px; padding: 10px 16px 14px;
    border-top: 1px solid var(--border); flex-shrink: 0;
}
#chat-input {
    flex: 1; padding: 10px 16px; font-size: 0.95rem;
    border-radius: 22px; border: 1.5px solid var(--border);
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    color: var(--text); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#chat-input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(139,92,246,0.16);
}
#chat-send-btn {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--purple), var(--purple2));
    border: none; color: #fff; font-size: 1.05rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(139,92,246,0.45);
    transition: transform 0.15s, box-shadow 0.15s;
}
#chat-send-btn:hover { box-shadow: 0 6px 22px rgba(139,92,246,0.62); }
#chat-send-btn:active { transform: scale(0.9); }

#chat-reactions {
    display: flex; gap: 6px; padding: 8px 16px 0;
}
.reaction-btn {
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px; padding: 5px 12px; font-size: 1.15rem;
    cursor: pointer; color: inherit; line-height: 1;
    transition: background 0.15s, transform 0.12s;
    flex: 1; text-align: center;
}
.reaction-btn:hover  { background: rgba(255,255,255,0.14); }
.reaction-btn:active { transform: scale(0.88); }

/* Geschmacks-Zwilling */
.zwilling-card {
    display: flex; align-items: center; gap: 12px;
    background: rgba(139,92,246,0.10);
    border: 1px solid rgba(139,92,246,0.28);
    border-radius: 16px; padding: 14px 16px; margin-top: 8px;
}
.zwilling-avatar { font-size: 1.8rem; }
.zwilling-info   { flex: 1; }
.zwilling-name   { font-weight: 700; font-size: 1rem; }
.zwilling-sub    { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════
   ADMIN STYLES (admin.php uses style.css too)
   ═══════════════════════════════════════════════ */
.status-warten   { color: #ffaa33; }
.status-voting   { color: #00ff88; }
.status-bonus    { color: var(--pink); }
.status-ergebnis { color: var(--gold); }

/* ═══════════════════════════════════════════════
   UTILS
   ═══════════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

.warning-banner {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 10000;
    background: rgba(255, 45, 80, 0.95); backdrop-filter: blur(12px);
    color: white; text-align: center; padding: 14px; font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 8px 32px rgba(255, 45, 80, 0.6); display: none;
    animation: pulseWarn 1s infinite alternate;
}
@keyframes pulseWarn {
    from { background: rgba(255, 45, 80, 0.95); }
    to { background: rgba(220, 20, 50, 0.98); }
}

@media (min-width: 600px) {
    h1 { font-size: 2.25rem; }
    .container { padding: 28px 24px 120px; }
}
