/* =====================================================================
   METROVA OS – Basis: Tokens, Gerät, Systemebenen, Homescreen, Lock, CC
   ===================================================================== */
:root {
    /* METROVA OS 3.0 – Premium Dark: tiefes Schwarz, dunkles Navy, dezente blaue und goldene Akzente (Standard „navy“). */
    --a1: 212, 175, 55;      /* Hauptakzent (Gold) */
    --a2: 91, 140, 255;      /* Linien/Fokus (Blau) */
    --a3: 160, 124, 30;      /* Akzent dunkel */
    --a4: 64, 110, 220;      /* Zweitakzent */
    --a5: 255, 240, 205;     /* Lichtschein */
    --t0: 2, 4, 9;           /* Flächen-Tönung (sehr dunkel) */
    --t1: 10, 16, 30;        /* Flächen-Tönung */
    --t2: 16, 26, 48;        /* Flächen-Tönung hell */
    --ink: 10, 16, 30;
    --ink-hex: #0a101e;
    --pink: #d4af37;         /* historischer Name: primärer Akzent */
    --pink-2: #e8c96e;
    --pink-3: #f4e2a8;
    --magenta: #a07c1e;
    --violet: #5b8cff;
    --gold: #e8c96e;
    --green: #2fd08a;
    --red: #ff4d5e;
    --blue: #5b8cff;
    --on-accent: #0a0f1a;
    --deep: #03060c;
    --chrome-1: #f6efe0;
    --chrome-2: #b9c0cf;

    --bg: #010204;
    --app-bg: #04070d;
    --surface: rgba(12, 20, 36, 0.66);
    --surface-solid: #0b1322;
    --surface-2: rgba(18, 30, 54, 0.72);
    --surface-hi: rgba(255, 255, 255, 0.06);
    --line: rgba(91, 140, 255, 0.22);
    --line-soft: rgba(255, 255, 255, 0.08);
    --text: #f4f6fb;
    --text-2: rgba(232, 238, 250, 0.8);
    --muted: rgba(220, 228, 245, 0.5);
    --glow: 0 0 16px rgba(212, 175, 55, 0.38);
    --glow-soft: 0 0 22px rgba(91, 140, 255, 0.16);
    --neon-border: 1px solid rgba(212, 175, 55, 0.45);
    --chrome: linear-gradient(135deg, #fbf6e8 0%, #a7adbb 30%, #2e3442 52%, #d8cfb5 75%, #4c5262 100%);
    --grad: linear-gradient(135deg, #f0d687 0%, #d4af37 48%, #9a7417 100%);
    --blur: blur(24px) saturate(150%);
    --radius: 22px;
    --radius-sm: 14px;
    --ease: cubic-bezier(0.2, 0.9, 0.25, 1);
    --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
    --font: "Inter", "SF Pro Display", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
    --scale: 1;
    color-scheme: dark;
}

/* Akzent „neon“: das ursprüngliche METROVA-Pink (wählbar in Einstellungen → Darstellung) */
:root[data-accent="neon"] {
    --a1: 255, 45, 149; --a2: 255, 79, 170; --a3: 212, 18, 122; --a4: 180, 77, 255; --a5: 255, 220, 240;
    --t0: 5, 2, 6; --t1: 30, 12, 26; --t2: 40, 14, 32; --ink: 27, 10, 21; --ink-hex: #1b0a15;
    --pink: #ff2d95; --pink-2: #ff5fb4; --pink-3: #ff9ad3; --magenta: #d4127a; --violet: #b44dff; --gold: #ffc23d; --blue: #4d9bff;
    --on-accent: #fff; --deep: #0a0408; --chrome-1: #ffe3f3; --chrome-2: #c9b8c4;
    --bg: #050307; --app-bg: #07040a; --surface: rgba(24, 10, 20, 0.62); --surface-solid: #140a12; --surface-2: rgba(40, 14, 32, 0.7);
    --line: rgba(255, 79, 170, 0.28); --text: #fff; --text-2: rgba(255, 255, 255, 0.78); --muted: rgba(255, 255, 255, 0.52);
    --glow: 0 0 18px rgba(255, 45, 149, 0.55); --glow-soft: 0 0 24px rgba(255, 45, 149, 0.25); --neon-border: 1px solid rgba(255, 79, 170, 0.55);
    --chrome: linear-gradient(135deg, #f6f6f8 0%, #9c98a3 30%, #3a3640 52%, #c9c6ce 75%, #5a5560 100%);
    --grad: linear-gradient(135deg, #ff5fb4 0%, #ff2d95 45%, #b0106b 100%);
}
/* Akzent „emerald“: Navy mit Smaragd und Gold */
:root[data-accent="emerald"] {
    --a1: 46, 196, 140; --a2: 212, 175, 55; --a3: 20, 120, 86; --a4: 46, 196, 140; --a5: 220, 255, 240;
    --pink: #2ec48c; --pink-2: #6fdcb3; --pink-3: #bff0dc; --magenta: #158a62; --violet: #d4af37;
    --on-accent: #04120c; --line: rgba(212, 175, 55, 0.2);
    --glow: 0 0 16px rgba(46, 196, 140, 0.35); --neon-border: 1px solid rgba(46, 196, 140, 0.45);
    --grad: linear-gradient(135deg, #7fe3be 0%, #2ec48c 48%, #137a57 100%);
}

:root[data-theme="light"] {
    --bg: #eef1f7;
    --app-bg: #f4f6fa;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-solid: #ffffff;
    --surface-2: rgba(236, 241, 250, 0.9);
    --surface-hi: rgba(10, 16, 30, 0.05);
    --line: rgba(var(--a3), 0.28);
    --line-soft: rgba(10, 16, 30, 0.08);
    --text: #0a101e;
    --text-2: rgba(10, 16, 30, 0.78);
    --muted: rgba(10, 16, 30, 0.5);
    --glow-soft: 0 6px 24px rgba(10, 16, 30, 0.12);
    --t1: 236, 241, 250; --t2: 226, 233, 246; --t0: 245, 247, 251;
    color-scheme: light;
}
:root[data-theme="light"][data-accent="neon"] { --bg: #f3edf2; --app-bg: #f7f2f6; --surface-2: rgba(255, 240, 248, 0.86); --text: #1b0a15; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
    font-family: var(--font);
    background: #020103;
    color: var(--text);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img, video { display: block; }
.ic { flex: none; }
.muted { color: var(--muted); }

/* ------------------------------------------------------------- Bühne & Gerät */
#stage {
    position: fixed; inset: 0;
    display: grid; place-items: center;
    background:
        radial-gradient(1200px 700px at 70% 110%, rgba(var(--a1), 0.16), transparent 60%),
        radial-gradient(900px 600px at 0% 0%, rgba(var(--a4), 0.10), transparent 60%),
        #030104;
}
.ambient {
    position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(90deg, rgba(var(--a1), 0.025) 0 1px, transparent 1px 80px);
    mask-image: linear-gradient(transparent, #000 70%);
}
.device {
    position: relative;
    width: 418px; height: 872px;
    padding: 14px;
    border-radius: 66px;
    transform: scale(var(--scale));
    transform-origin: center;
    background:
        linear-gradient(160deg, #2a2730 0%, #0d0c10 18%, #1d1a22 50%, #08070a 80%, #2b2831 100%);
    box-shadow:
        0 0 0 1.5px #3c3843,
        0 0 0 3px #0a090c,
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.10),
        inset 0 0 18px rgba(var(--a1), 0.18),
        0 40px 120px rgba(0, 0, 0, 0.8),
        0 0 70px rgba(var(--a1), 0.22);
    transition: transform 0.5s var(--ease), opacity 0.4s;
}
.device-edge {
    position: absolute; inset: 4px; border-radius: 62px; pointer-events: none;
    border: 1.5px solid transparent;
    background: linear-gradient(180deg, rgba(var(--a2), 0.9), rgba(var(--a1), 0.1) 30%, rgba(var(--a1), 0.05) 70%, rgba(var(--a2), 0.8)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    filter: drop-shadow(0 0 6px rgba(var(--a1), 0.8));
    opacity: 0.85;
}
.side-btn {
    position: absolute; width: 4px; border-radius: 2px;
    background: linear-gradient(90deg, #4a4650, #18161b);
    cursor: pointer;
}
.side-btn.power { right: -3px; top: 220px; height: 96px; box-shadow: 0 0 8px rgba(var(--a1), 0.5); }
.side-btn.vol.up { left: -3px; top: 190px; height: 58px; }
.side-btn.vol.down { left: -3px; top: 262px; height: 58px; }

.screen {
    position: relative;
    width: 390px; height: 844px;
    border-radius: 52px;
    overflow: hidden;
    background: #000;
    isolation: isolate;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    contain: layout paint;
}
.screen input, .screen textarea { user-select: text; -webkit-user-select: text; }

/* Gerät immer exakt zentriert – auch wenn das Fenster kleiner als das Gerät ist */
.device { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(var(--scale)); }
body.phone-hidden .device { transform: translate(-50%, 70%) scale(var(--scale)) !important; }
body.embedded:not(.fullscreen):not(.demo-frame) .device { left: auto; top: auto; right: 24px; bottom: 8px; transform: scale(var(--scale)); transform-origin: bottom right; }
body.embedded.phone-hidden:not(.fullscreen):not(.demo-frame) .device { transform: translateY(110%) scale(var(--scale)) !important; }
body.fullscreen .device { position: relative; left: auto; top: auto; right: auto; bottom: auto; }
body.fullscreen.phone-hidden .device { transform: translateY(110%) !important; }
body.fullscreen #stage { place-items: stretch; }
body.fullscreen .device { width: 100vw; height: 100dvh; padding: 0; border-radius: 0; transform: none; box-shadow: none; background: #000; }
body.fullscreen .device-edge, body.fullscreen .side-btn { display: none; }
body.fullscreen .screen { width: 100%; height: 100%; border-radius: 0; }
body.fullscreen .app-window { border-radius: 0; }

/* Eingebettet im Spiel: transparent, unten rechts, ein-/ausblendbar */
html:has(body.embedded) { color-scheme: normal; background: transparent; }
html:has(body.demo-frame) { color-scheme: dark; }
body.embedded, body.embedded #stage { background: transparent; }
body.embedded .ambient { display: none; }
body.embedded:not(.fullscreen) #stage { place-items: end; padding: 8px 24px; }
body.embedded:not(.fullscreen) .device { transform-origin: bottom right; }
body.embedded.demo-frame #stage { place-items: center; padding: 0; }
body.embedded.demo-frame .device { transform-origin: center; }
body.phone-hidden .device { transform: translateY(110%) scale(var(--scale)); opacity: 0; pointer-events: none; }

/* ------------------------------------------------------------- Ebenen */
#wallpaper, #home, #apps, #multitask, #lock, #nc, #cc, #call, #banners, #overlays, #toasts, #boot, #brightness, #torch { position: absolute; inset: 0; }
#wallpaper { z-index: 0; background-size: cover; background-position: center; transition: filter 0.5s, transform 0.6s var(--ease); }
#wallpaper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.7) 100%); transition: opacity 0.5s; }
.locked #wallpaper::after { opacity: 0.4; }
#home { z-index: 1; }
#apps { z-index: 5; pointer-events: none; }
#multitask { z-index: 6; pointer-events: none; }
#lock { z-index: 20; pointer-events: none; }
#nc { z-index: 30; pointer-events: none; }
#cc { z-index: 31; pointer-events: none; }
#call { z-index: 40; pointer-events: none; }
#banners { z-index: 88; pointer-events: none; }
#overlays { z-index: 60; pointer-events: none; }
#toasts { z-index: 70; pointer-events: none; }
#statusbar { position: absolute; z-index: 80; top: 0; left: 0; right: 0; height: 52px; display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 0 34px; pointer-events: none; }
#island { z-index: 81; }
#homebar { position: absolute; z-index: 85; left: 50%; bottom: 0; transform: translateX(-50%); width: 180px; height: 26px; display: grid; place-items: center; cursor: grab; touch-action: none; }
#homebar span { width: 134px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); box-shadow: 0 0 10px rgba(var(--a1), 0.6); transition: width 0.25s, background 0.25s; }
#homebar.mt-armed span { width: 160px; background: var(--pink-2); }
:root[data-theme="light"] .in-app #homebar span { background: rgba(var(--ink), 0.8); }
#brightness { z-index: 95; background: #000; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
#torch { z-index: 94; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), rgba(var(--a5), 0.4) 40%, transparent 70%); mix-blend-mode: screen; transition: opacity 0.3s; }
.screen.torch #torch { opacity: 0.25; }
#boot { z-index: 100; pointer-events: none; opacity: 0; background: #000; transition: opacity 0.6s; display: grid; place-items: center; }
#boot.open { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------- Statusleiste & Island */
.sb-left, .sb-right-btn { pointer-events: auto; height: 34px; display: flex; align-items: center; }
.sb-time { font-weight: 650; font-size: 16.5px; letter-spacing: 0.2px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.sb-right { display: flex; align-items: center; gap: 6px; }
.sb-signal { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.sb-signal i { width: 3px; background: currentColor; border-radius: 1px; }
.sb-signal.weak i:nth-child(n+3) { opacity: 0.3; }
.sb-ic.off { opacity: 0.35; }
.sb-ic.dnd { color: #b9a6ff; }
.sb-battery { display: inline-flex; align-items: center; height: 14px; padding: 0 4px; min-width: 30px; border-radius: 5px; background: #fff; color: #000; font-size: 10.5px; font-weight: 800; justify-content: center; position: relative; }
.sb-battery::after { content: ""; position: absolute; right: -3px; top: 4px; width: 2px; height: 6px; border-radius: 0 2px 2px 0; background: rgba(255, 255, 255, 0.6); }
:root[data-theme="light"] .in-app .sb-battery { background: var(--ink-hex); color: #fff; }
:root[data-theme="light"] .in-app #statusbar { color: var(--ink-hex); }
:root[data-theme="light"] .in-app .sb-time { text-shadow: none; }
.locked #statusbar, .cc-open #statusbar, .nc-open #statusbar, .mt-open #statusbar { color: #fff !important; }

#island {
    position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
    width: 122px; height: 35px; border-radius: 20px; background: #000;
    display: flex; align-items: center; justify-content: center;
    transition: width 0.45s var(--spring), height 0.45s var(--spring), border-radius 0.4s;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
    cursor: pointer;
}
.island-cam { position: absolute; right: 13px; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a6b, #090a12 60%); box-shadow: inset 0 0 0 1.5px #15161c; }
.island-content { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0 14px; font-size: 12.5px; font-weight: 600; opacity: 0; transition: opacity 0.2s; }
#island.wide { width: 232px; }
#island.wide .island-content { opacity: 1; }
#island.wide .island-cam { display: none; }
#island.pulse { width: 150px; height: 38px; box-shadow: 0 0 18px rgba(var(--a1), 0.7); }
.isl-left { color: var(--green); display: grid; place-items: center; }
.isl-left.art { width: 20px; height: 20px; border-radius: 6px; background: var(--grad); color: var(--on-accent); }
.isl-mid { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #fff; }
.isl-right { color: var(--green); font-variant-numeric: tabular-nums; }
.isl-eq { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.isl-eq i { width: 3px; background: var(--pink-2); border-radius: 2px; animation: eq 0.9s infinite ease-in-out; }
.isl-eq i:nth-child(2) { animation-delay: -0.3s; } .isl-eq i:nth-child(3) { animation-delay: -0.6s; } .isl-eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.locked #island.music { width: 122px; } .locked #island.music .island-content { opacity: 0; }

/* ------------------------------------------------------------- Homescreen */
#home { padding-top: 0; display: flex; flex-direction: column; transition: transform 0.45s var(--ease), filter 0.45s, opacity 0.45s; }
#home.behind { transform: scale(0.92); filter: blur(6px) brightness(0.55); }
.locked #home { transform: scale(1.06); filter: blur(10px) brightness(0.5); }
.home-pages { flex: 1; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.home-pages::-webkit-scrollbar { display: none; }
.home-page { flex: 0 0 100%; scroll-snap-align: start; overflow-y: auto; scrollbar-width: none; padding-bottom: 8px; }
.home-page::-webkit-scrollbar { display: none; }
.home-header { position: relative; height: 206px; overflow: hidden; margin-bottom: -12px; }
.home-header-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-header-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 35%, transparent 70%, rgba(0, 0, 0, 0.85)); }
.home-logo { position: absolute; top: 50px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.home-logo-text {
    font-size: 30px; font-weight: 700; letter-spacing: 3px;
    background: linear-gradient(180deg, #fff 0%, var(--chrome-1) 40%, #b9a7b4 55%, #fff 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 6px rgba(var(--a1), 0.7)) drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6));
}
.logo-mark { display: inline-block; }
.blimp {
    position: absolute; top: 62px; right: 14px; width: 112px; height: 34px; border-radius: 50%;
    background: linear-gradient(180deg, rgb(var(--t2)), rgb(var(--t0)) 70%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), 0 0 12px rgba(var(--a1), 0.4);
    display: grid; place-items: center;
    animation: blimp 12s ease-in-out infinite;
}
.blimp::after { content: ""; position: absolute; right: -10px; top: 9px; border: 8px solid transparent; border-left: 14px solid rgb(var(--t1)); }
.blimp span { font-size: 8.5px; font-weight: 800; letter-spacing: 1.5px; color: var(--pink-2); text-shadow: 0 0 6px var(--pink); }
@keyframes blimp { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(-16px, 6px) rotate(-4deg); } }

.widgets { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px 16px; }
.widget {
    position: relative; text-align: left; border-radius: 22px; padding: 12px 13px;
    background: linear-gradient(160deg, rgba(var(--t2), 0.78), rgba(var(--t0), 0.78));
    border: var(--neon-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 18px rgba(var(--a1), 0.22);
    backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    overflow: hidden; color: #fff;
    transition: transform 0.2s;
}
.widget:active { transform: scale(0.97); }
.widget::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, 0.10), transparent 40%); pointer-events: none; }
.w-city { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.w-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }
.w-main { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; }
.w-temp { font-size: 28px; font-weight: 600; }
.w-label { font-size: 12.5px; color: var(--text-2); }
.weather-icon { color: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)); }
.weather-icon.wi-fill svg path { fill: rgba(255, 255, 255, 0.85); }
.widget-profile { display: flex; align-items: center; gap: 9px; padding-right: 10px; }
.p-info { min-width: 0; }
.p-name { display: flex; align-items: center; gap: 4px; font-weight: 650; font-size: 14px; white-space: nowrap; letter-spacing: -0.1px; }
.p-name span { overflow: hidden; text-overflow: ellipsis; }
.p-id { font-size: 12px; color: var(--text-2); margin: 3px 0; }
.p-vip { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--gold); }
.p-vip.basic { color: var(--muted); font-weight: 500; }
.p-verified { position: absolute; top: 10px; right: 10px; display: flex; }
.p-online { position: absolute; right: 12px; bottom: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.p-online.off { background: #777; box-shadow: none; }

.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 11px; padding: 2px 12px 0; }
.app-icon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform 0.18s var(--ease); }
.app-icon.pressed { transform: scale(0.9); }
.app-label { font-size: 12px; font-weight: 500; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8); max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-tile {
    position: relative; display: grid; place-items: center;
    color: var(--pink-2);
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(var(--a2), 0.22), transparent 60%),
        linear-gradient(160deg, rgb(var(--t2)) 0%, rgb(var(--t1)) 55%, rgb(var(--t0)) 100%);
    border: 1.5px solid rgba(var(--a1), 0.85);
    box-shadow:
        inset 0 0 14px rgba(var(--a1), 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 14px rgba(var(--a1), 0.45),
        0 6px 14px rgba(0, 0, 0, 0.5);
}
.app-tile::before { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 42%); pointer-events: none; }
.app-tile .ic { filter: drop-shadow(0 0 4px rgba(var(--a1), 0.9)) drop-shadow(0 0 1px #fff); }
.app-tile.tile-logo .ic { color: var(--pink); }
.icon-badge {
    position: absolute; top: -6px; right: 6px; min-width: 22px; height: 22px; padding: 0 6px;
    border-radius: 11px; background: linear-gradient(180deg, #ff3b5c, #d0102f); color: #fff;
    font-size: 12px; font-weight: 700; display: grid; place-items: center;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 59, 92, 0.7);
    animation: badge-pop 0.4s var(--spring);
}
@keyframes badge-pop { from { transform: scale(0); } }
.page-dots { display: flex; justify-content: center; gap: 8px; padding: 4px 0 8px; }
.page-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); transition: all 0.25s; }
.page-dots .dot.active { background: #fff; width: 18px; border-radius: 4px; box-shadow: 0 0 8px var(--pink); }
.dock {
    margin: 0 12px 24px; height: 90px; border-radius: 36px;
    display: flex; justify-content: space-around; align-items: center; padding: 0 10px;
    background: linear-gradient(180deg, rgba(var(--t2), 0.6), rgba(var(--t0), 0.75));
    border: var(--neon-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 22px rgba(var(--a1), 0.3);
    backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.dock .app-label { display: none; }
.dock-empty { font-size: 12px; color: var(--muted); }
.editing .app-icon:not(.in-dock) .app-tile { animation: jiggle 0.28s infinite alternate ease-in-out; }
.editing .app-icon:nth-child(2n) .app-tile { animation-delay: -0.14s; }
@keyframes jiggle { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
.edit-done { position: absolute; z-index: 3; top: 52px; right: 18px; padding: 6px 16px; border-radius: 16px; background: var(--grad); font-weight: 700; font-size: 14px; box-shadow: var(--glow); display: none; }
.editing .edit-done { display: block; }
.drag-ghost { position: fixed; z-index: 1000; pointer-events: none; transform: scale(1.12); opacity: 0.9; }
.drag-source { opacity: 0.25; }
.page-head { padding: 64px 22px 12px; font-size: 28px; font-weight: 750; }
.page-widgets .widgets2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
.widget.wide { grid-column: span 2; }
.wc-time { font-size: 44px; font-weight: 250; letter-spacing: -1px; }
.wc-date { font-size: 13px; color: var(--text-2); }
.wb-head, .we-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pink-3); font-weight: 600; }
.wb-amount { font-size: 30px; font-weight: 700; margin-top: 8px; }
.wb-sub, .we-sub, .wm-sub { font-size: 12.5px; color: var(--text-2); }
.we-title { font-size: 17px; font-weight: 650; margin-top: 8px; }
.we-body { margin-top: 4px; }
.wm-art { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; box-shadow: var(--glow); margin-bottom: 10px; }
.wm-title { font-weight: 650; }
.wmsg-icon { color: var(--pink-2); }
.wmsg-count { font-size: 40px; font-weight: 700; line-height: 1.1; margin-top: 6px; }
.wmsg-label { font-size: 12px; color: var(--text-2); }
.page-library .search-bar { margin: 0 16px 14px; }
.lib-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 14px; padding: 0 12px; }

/* ------------------------------------------------------------- App-Fenster */
.app-window {
    position: absolute; inset: 0; pointer-events: auto;
    background: var(--app-bg);
    border-radius: 52px; overflow: hidden;
    transform-origin: 0 0;
    transition: transform 0.46s var(--ease), border-radius 0.46s var(--ease), opacity 0.3s;
    will-change: transform;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}
.app-window.from-icon, .app-window.closing {
    transform: translate(var(--ix), var(--iy)) scale(var(--isx), var(--isy));
    border-radius: 120px;
    transition-duration: 0.42s;
}
.app-window.from-icon { transition: none; }
.app-window.closing { opacity: 0; transition: transform 0.4s var(--ease), border-radius 0.4s, opacity 0.32s 0.08s; }
.app-window.hidden { visibility: hidden; pointer-events: none; }
.app-window.killed { opacity: 0; transform: translateY(-40%) scale(0.5); transition: all 0.3s; }
.app-window.in-mt { transition: none; border-radius: 34px; pointer-events: none; visibility: visible; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line); }
.app-window.in-mt .app-content { pointer-events: none; }
.app-content { position: absolute; inset: 0; opacity: 0; transition: opacity 0.25s 0.1s; }
.app-window.ready .app-content { opacity: 1; }
.app-window.from-icon .app-content, .app-window.closing .app-content { opacity: 0; transition: opacity 0.12s; }
.app-splash { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transition: opacity 0.25s; }
.app-window.ready .app-splash { opacity: 0; }
.app-crash { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; }

/* ------------------------------------------------------------- Multitasking */
.mt-open #apps { z-index: 7; }
.mt-open #multitask { pointer-events: auto; background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mt-track { position: absolute; inset: 0; display: flex; gap: 22px; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 calc(50% - 128px); scrollbar-width: none; }
.mt-track::-webkit-scrollbar { display: none; }
.mt-card { flex: 0 0 256px; scroll-snap-align: center; display: flex; flex-direction: column; gap: 10px; transition: transform 0.25s var(--ease), opacity 0.25s; touch-action: pan-x; }
.mt-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; }
.mt-preview { width: 256px; height: 554px; border-radius: 34px; }
.mt-hint { position: absolute; bottom: 44px; width: 100%; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.mt-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: rgba(255, 255, 255, 0.7); }

/* ------------------------------------------------------------- Sperrbildschirm */
#lock { opacity: 0; transition: opacity 0.4s, transform 0.5s var(--ease); }
.locked #lock { pointer-events: auto; opacity: 1; }
.unlocking #lock { transform: translateY(-8%); opacity: 0; }
.lock-content { position: absolute; inset: 0; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), opacity 0.35s; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 30%, transparent 60%, rgba(0, 0, 0, 0.55)); }
.lock-top { padding-top: 60px; text-align: center; }
.lock-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; color: #fff; opacity: 0.9; }
.lock-date { font-size: 18px; font-weight: 550; margin-top: 6px; color: rgba(255, 255, 255, 0.9); }
.lock-clock { font-size: 96px; font-weight: 600; letter-spacing: -2px; line-height: 1; margin-top: 2px; background: linear-gradient(180deg, #fff 0%, var(--chrome-1) 60%, var(--pink-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(var(--a1), 0.55)); }
.lock-weather { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, 0.85); }
.lock-notifs { flex: 1; overflow-y: auto; padding: 20px 14px 0; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
.lock-notif { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 20px; background: rgba(var(--t1), 0.55); border: 1px solid rgba(var(--a2), 0.25); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); animation: rise 0.4s var(--ease) both; cursor: pointer; }
.ln-main { flex: 1; min-width: 0; }
.ln-head { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.ln-head b { color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; font-size: 11px; }
.ln-title { font-weight: 650; font-size: 14px; margin-top: 2px; }
.ln-body { font-size: 13.5px; color: rgba(255, 255, 255, 0.82); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lock-bottom { display: flex; align-items: center; justify-content: space-between; padding: 0 44px 46px; }
.lock-quick { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--t1), 0.6); border: 1px solid rgba(var(--a2), 0.35); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transition: transform 0.2s, background 0.2s; }
.lock-quick:active { transform: scale(1.12); }
.lock-quick.on { background: #fff; color: #000; }
.lock-hint { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: rgba(255, 255, 255, 0.7); animation: hint 2.4s ease-in-out infinite; }
.lock-hint .ic { transform: rotate(180deg); }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(-6px); opacity: 1; } }
.pin-pad-wrap { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); opacity: 0; pointer-events: none; transition: opacity 0.3s; display: grid; place-items: center; }
.pin-pad-wrap.open { opacity: 1; pointer-events: auto; }
.pin-pad { display: flex; flex-direction: column; align-items: center; gap: 16px; transform: translateY(20px); transition: transform 0.4s var(--ease); }
.pin-pad-wrap.open .pin-pad { transform: none; }
.pin-lock { color: var(--pink-2); }
.pin-msg { font-size: 17px; font-weight: 500; min-height: 24px; text-align: center; padding: 0 30px; }
.pin-dots { display: flex; gap: 18px; height: 16px; }
.pin-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #fff; transition: background 0.15s, box-shadow 0.15s; }
.pin-dot.on { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 10px var(--pink); }
.shake { animation: shake 0.45s; }
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.pin-keys { display: grid; grid-template-columns: repeat(3, 78px); gap: 16px 24px; margin-top: 14px; }
.pin-key { width: 78px; height: 78px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(var(--a2), 0.25); transition: background 0.12s, transform 0.12s; }
.pin-key:active { background: rgba(var(--a1), 0.45); transform: scale(0.95); }
.pin-key.text { background: none; border: 0; font-size: 15px; }
.pk-num { font-size: 32px; font-weight: 400; line-height: 1; }
.pk-sub { font-size: 9px; letter-spacing: 2px; color: rgba(255, 255, 255, 0.7); margin-top: 2px; }

/* ------------------------------------------------------------- Kontrollzentrum */
.cc-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); opacity: 0; transition: opacity 0.35s; }
.cc-panel { position: absolute; inset: 0; padding: 70px 18px 0; transform: translateY(-30px) scale(0.96); opacity: 0; transition: transform 0.4s var(--spring), opacity 0.3s; pointer-events: none; }
.cc-open #cc { pointer-events: auto; }
.cc-open .cc-backdrop { opacity: 1; }
.cc-open .cc-panel { transform: none; opacity: 1; pointer-events: auto; }
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-block { border-radius: 26px; background: rgba(var(--t1), 0.6); border: 1px solid rgba(var(--a2), 0.28); padding: 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.cc-conn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background 0.2s, box-shadow 0.2s, transform 0.15s; }
.cc-tile:active { transform: scale(0.94); }
.cc-tile.on { background: var(--grad); box-shadow: var(--glow); }
.cc-tile-label { font-size: 10.5px; font-weight: 600; text-align: center; line-height: 1.1; }
.cc-music { display: flex; flex-direction: column; justify-content: space-between; }
.cc-music-title { font-weight: 650; font-size: 14px; }
.cc-music-sub { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.cc-music-ctrl { display: flex; justify-content: space-around; align-items: center; }
.cc-mbtn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.cc-mbtn:active { background: rgba(255, 255, 255, 0.15); }
.cc-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-slider { position: relative; height: 160px; border-radius: 26px; overflow: hidden; background: rgba(var(--t1), 0.6); border: 1px solid rgba(var(--a2), 0.28); --p: 50%; }
.cc-slider::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--p); background: linear-gradient(0deg, #fff, var(--pink-3)); pointer-events: none; }
.cc-vslider { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ns-resize; writing-mode: vertical-lr; direction: rtl; margin: 0; }
.cc-slider-ic { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: var(--magenta); pointer-events: none; }
.cc-small { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-tile.sq { border-radius: 22px; background: rgba(var(--t1), 0.6); border: 1px solid rgba(var(--a2), 0.28); justify-content: center; }
.cc-handle { width: 40px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.5); margin: 26px auto 0; }

/* ------------------------------------------------------------- Mitteilungszentrale */
.nc-panel { position: absolute; inset: 0; padding: 64px 14px 40px; display: flex; flex-direction: column; background: rgba(var(--t0), 0.55); backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%); transform: translateY(-100%); transition: transform 0.45s var(--ease); pointer-events: auto; }
.nc-open #nc { pointer-events: auto; }
#nc .nc-panel { pointer-events: none; }
.nc-open #nc .nc-panel { transform: none; pointer-events: auto; }
.nc-head { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 12px; }
.nc-title { font-size: 28px; font-weight: 750; color: #fff; }
.nc-clear { font-size: 13px; padding: 6px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.12); color: #fff; }
.nc-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; scrollbar-width: none; }
.nc-group-head { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: rgba(255, 255, 255, 0.6); padding: 0 8px 6px; }
.nc-item { display: flex; gap: 10px; padding: 12px; border-radius: 20px; background: rgba(var(--t1), 0.65); border: 1px solid rgba(var(--a2), 0.22); margin-bottom: 8px; color: #fff; transition: transform 0.25s, opacity 0.25s; cursor: pointer; touch-action: pan-y; }
.nc-item.read { opacity: 0.7; }
.nc-item.removing { transform: translateX(110%); opacity: 0; }
.nc-main { flex: 1; min-width: 0; }
.nc-row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.nc-time { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.nc-body { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); margin-top: 2px; }
.nc-del { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); align-self: center; }
.nc-handle { width: 40px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.5); margin: 10px auto 0; }
.nc-loading { text-align: center; color: rgba(255, 255, 255, 0.6); padding: 30px; }

/* ------------------------------------------------------------- Banner & Toasts */
.banner {
    position: absolute; left: 10px; right: 10px; top: 10px;
    display: flex; gap: 10px; padding: 12px 14px; border-radius: 26px;
    background: rgba(var(--t1), 0.82); border: 1px solid rgba(var(--a2), 0.4);
    backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(var(--a1), 0.25);
    pointer-events: auto; cursor: pointer; color: #fff;
    transform: translateY(-120%) scale(0.6); opacity: 0; transform-origin: 50% 0;
    transition: transform 0.5s var(--spring), opacity 0.3s;
}
.banner.in { transform: none; opacity: 1; }
.banner.out { transform: translateY(-110%) scale(0.8); opacity: 0; transition-timing-function: var(--ease); }
.banner-main { flex: 1; min-width: 0; }
.banner-head { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255, 255, 255, 0.6); }
.banner-head b { text-transform: uppercase; letter-spacing: 0.5px; font-size: 11px; color: rgba(255, 255, 255, 0.85); }
.banner-title { font-weight: 650; font-size: 14.5px; }
.banner-body { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast { position: absolute; top: 58px; left: 50%; transform: translate(-50%, -20px); opacity: 0; display: flex; align-items: center; gap: 8px; max-width: 330px; padding: 10px 16px; border-radius: 20px; font-size: 13.5px; font-weight: 550; background: rgba(var(--t1), 0.9); border: 1px solid rgba(var(--a2), 0.45); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: transform 0.35s var(--spring), opacity 0.25s; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.toast.in { transform: translate(-50%, 0); opacity: 1; }
.toast-error { border-color: rgba(255, 59, 92, 0.7); }
.toast-error .ic { color: var(--red); }
.toast-success .ic { color: var(--green); }
.toast-info .ic { color: var(--pink-2); }

/* ------------------------------------------------------------- Anruf */
#call { opacity: 0; transition: opacity 0.35s; }
#call.open { opacity: 1; pointer-events: auto; }
.call-bg { position: absolute; inset: -40px; display: grid; place-items: center; filter: blur(50px) brightness(0.45) saturate(1.4); transform: scale(2); }
.call-bg .avatar { border-radius: 0 !important; }
#call::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--t2), 0.7), rgba(0, 0, 0, 0.9)); z-index: 0; }
.call-inner { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 90px 30px 60px; color: #fff; }
.call-min { position: absolute; top: 56px; left: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); }
.call-top { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.call-avatar-wrap { position: relative; border-radius: 50%; margin-bottom: 10px; }
.call-avatar-wrap.pulsing::before, .call-avatar-wrap.pulsing::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--pink); animation: ring 1.8s infinite; }
.call-avatar-wrap.pulsing::after { animation-delay: 0.9s; }
@keyframes ring { from { transform: scale(0.9); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.call-name { font-size: 30px; font-weight: 650; }
.call-number { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.call-status { font-size: 16px; color: var(--pink-3); font-variant-numeric: tabular-nums; min-height: 22px; }
.call-incoming { display: flex; justify-content: space-between; width: 100%; padding: 0 20px; }
.call-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cb-circle { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); transition: transform 0.15s, background 0.2s; }
.call-btn:active .cb-circle { transform: scale(0.92); }
.call-btn.on .cb-circle { background: #fff; color: #000; }
.cb-label { font-size: 12.5px; color: rgba(255, 255, 255, 0.85); }
.call-btn.accept .cb-circle { background: var(--green); box-shadow: 0 0 24px rgba(47, 224, 138, 0.6); animation: bounce 1.4s infinite; }
.call-btn.decline .cb-circle { background: var(--red); box-shadow: 0 0 24px rgba(255, 59, 92, 0.5); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.call-active { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 100%; position: relative; }
.call-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 30px; }
.call-keypad { position: absolute; bottom: 120px; left: 50%; transform: translateX(-50%) scale(0.9); opacity: 0; pointer-events: none; display: grid; grid-template-columns: repeat(3, 70px); gap: 12px 22px; transition: all 0.25s; background: rgba(0, 0, 0, 0.75); padding: 20px; border-radius: 30px; }
.call-keypad.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) scale(1); }
.ck { width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); font-size: 28px; }
.call-ended-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: var(--red); }

/* ------------------------------------------------------------- Boot & Login */
.boot-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: rise 0.8s var(--ease); width: 100%; padding: 0 26px; }
.boot-inner .logo-mark { animation: logo-glow 2.4s ease-in-out infinite; }
@keyframes logo-glow { 0%, 100% { filter: drop-shadow(0 0 10px rgba(var(--a1), 0.6)); } 50% { filter: drop-shadow(0 0 26px rgba(var(--a1), 1)); } }
.boot-title { font-size: 26px; font-weight: 700; letter-spacing: 6px; background: linear-gradient(180deg, #fff, var(--chrome-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.boot-title.small { font-size: 18px; letter-spacing: 4px; }
.boot-sub { font-size: 10px; letter-spacing: 3px; color: rgba(255, 255, 255, 0.45); }
.boot-bar { width: 140px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; margin: 18px 0 8px; }
.boot-bar-fill { height: 100%; width: 40%; background: var(--grad); box-shadow: var(--glow); animation: load 1.1s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.login { justify-content: flex-start; padding-top: 80px; height: 100%; }
.login-box { width: 100%; display: flex; flex-direction: column; gap: 14px; margin-top: 18px; overflow: hidden; flex: 1; }
.login-text { text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; }
.login-text p { margin: 6px 0 0; font-size: 14px; }
.login-text p:first-of-type { font-weight: 650; font-size: 16px; }
.login-list { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; padding-bottom: 40px; scrollbar-width: none; }
.login-player { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: rgba(var(--t1), 0.7); border: 1px solid rgba(var(--a2), 0.25); text-align: left; color: #fff; transition: transform 0.15s, border-color 0.2s; }
.login-player:hover { border-color: var(--pink); }
.login-player.loading { opacity: 0.6; }
.lp-name { font-weight: 650; display: flex; gap: 6px; align-items: center; }
.lp-sub { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.vip-mini { color: var(--gold); display: inline-flex; }

/* ------------------------------------------------------------- Testmodus-Panel */
.dev-panel { position: absolute; left: 24px; top: 24px; width: 250px; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: rgba(var(--t1), 0.8); border: 1px solid rgba(var(--a2), 0.3); color: #fff; font-size: 13px; }
.dev-title { font-weight: 700; letter-spacing: 1px; color: var(--pink-2); margin-bottom: 4px; }
.dev-btn { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); color: #fff; text-decoration: none; text-align: left; font-size: 13px; }
.dev-btn:hover { background: rgba(var(--a1), 0.25); }
.dev-btn.on { background: var(--grad); }
.dev-note { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); line-height: 1.5; margin-top: 4px; }
@media (max-width: 1100px) { .dev-panel { display: none; } }

@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
