/* ============================
   ☕ Kaffeekränzchen User Panel
   OG / Admin — Radio + Server
   ============================ */

:root {
    --bg: #0a0706;
    --surface: #141010;
    --surface-2: #1c1614;
    --surface-3: #251e1a;
    --border: rgba(244, 232, 212, 0.06);
    --border-hover: rgba(244, 232, 212, 0.12);
    --gold: #d4a053;
    --gold-light: #e8c87e;
    --gold-dim: #b38539;
    --gold-glow: rgba(212, 160, 83, 0.12);
    --cream: #f4e8d4;
    --cream-50: rgba(244, 232, 212, 0.5);
    --cream-30: rgba(244, 232, 212, 0.3);
    --cream-15: rgba(244, 232, 212, 0.15);
    --cream-08: rgba(244, 232, 212, 0.08);
    --green: #4ade80;
    --red: #ef4444;
    --blue: #60a5fa;
    --purple: #a78bfa;
    --discord: #5865F2;
    --radius: 12px;
    --radius-lg: 16px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', -apple-system, sans-serif;
    color: var(--cream);
    line-height: 1.6;
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #1a0f08; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ---- LOGIN OVERLAY ---- */
.login-overlay {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse at 30% 20%, rgba(50, 30, 15, 0.5), transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(40, 20, 10, 0.4), transparent 60%),
                var(--bg);
    padding: 20px;
}
.login-overlay.hidden { display: none; }

.login-card {
    max-width: 400px; width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212,160,83,0.04);
    animation: fadeInUp 0.5s ease forwards;
}
.login-logo {
    width: 64px; height: 64px; border-radius: 14px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.login-card h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem; font-weight: 800;
    margin-bottom: 6px;
}
.login-card > p {
    color: var(--cream-50); font-size: 0.85rem;
    margin-bottom: 24px;
}
.login-methods { display: flex; flex-direction: column; gap: 12px; }

.login-method-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 20px; border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 700; font-family: inherit;
    cursor: pointer; transition: all 0.2s ease; border: none;
}
.discord-login {
    background: var(--discord); color: white;
    box-shadow: 0 4px 16px rgba(88,101,242,0.25);
}
.discord-login:hover {
    background: #4752c4; transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(88,101,242,0.35);
}

.login-hint {
    margin-top: 16px; font-size: 0.75rem; color: var(--cream-30);
}

/* ---- PANEL NAV ---- */
.panel-nav {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 56px;
    background: rgba(10, 7, 6, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.panel-nav-left { display: flex; align-items: center; gap: 10px; }
.panel-back {
    color: var(--cream-50); text-decoration: none;
    font-size: 0.85rem; font-weight: 600;
    transition: color 0.2s ease;
}
.panel-back:hover { color: var(--gold); }
.panel-nav-logo { width: 28px; height: 28px; border-radius: 6px; }
.panel-nav-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem; font-weight: 700;
}
.panel-nav-right { display: flex; align-items: center; gap: 10px; }
.panel-user {
    font-size: 0.82rem; color: var(--cream-50);
    display: flex; align-items: center; gap: 6px;
}
.panel-logout {
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    font-family: inherit; font-size: 0.78rem; font-weight: 700;
    cursor: pointer; transition: all 0.2s ease;
}
.panel-logout:hover { background: rgba(239, 68, 68, 0.22); }

/* ---- TABS ---- */
.panel-tabs {
    display: flex; gap: 4px;
    padding: 12px 24px 0;
    border-bottom: 1px solid var(--border);
}
.panel-tab {
    padding: 8px 18px;
    background: transparent;
    border: none; border-bottom: 2px solid transparent;
    color: var(--cream-50);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
}
.panel-tab:hover { background: var(--cream-08); color: var(--cream); }
.panel-tab.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
    background: var(--cream-08);
}

/* ---- CONTENT ---- */
.panel-main {
    max-width: 1200px;
    margin: 0 auto;
}
.panel-content { display: none; padding: 24px; animation: fadeIn 0.3s ease; }
.panel-content.active { display: block; }
.panel-section-header {
    margin-bottom: 16px;
}
.panel-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem; font-weight: 800;
}
.panel-section-header p {
    color: var(--cream-50); font-size: 0.85rem; margin-top: 4px;
}

/* ---- SERVER ---- */
.server-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px; margin-bottom: 24px;
}
.server-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden; transition: all 0.2s ease;
}
.server-card:hover { border-color: var(--border-hover); }
.server-card-header {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 20px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}
.server-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem; font-weight: 700;
}
.server-status-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--cream-30);
    transition: all 0.3s ease;
}
.server-status-dot.online {
    background: var(--green);
    box-shadow: 0 0 10px rgba(74,222,128,0.5);
}
.server-status-dot.offline {
    background: var(--red);
    box-shadow: 0 0 10px rgba(239,68,68,0.5);
}
.server-status-dot.checking {
    background: var(--gold);
    animation: radioPulse 1s infinite;
}
.server-details { padding: 16px 20px; }
.server-detail {
    display: flex; justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.server-detail:last-child { border-bottom: none; }
.detail-label { font-size: 0.82rem; color: var(--cream-50); font-weight: 600; }
.detail-value {
    font-size: 0.82rem; font-weight: 700; color: var(--cream);
    font-family: 'JetBrains Mono', monospace;
}
.server-actions {
    padding: 12px 20px; background: var(--surface-2);
    border-top: 1px solid var(--border);
    display: flex; gap: 8px;
}
.server-btn {
    padding: 8px 16px; border-radius: 8px;
    font-family: inherit; font-size: 0.82rem; font-weight: 700;
    cursor: pointer; transition: all 0.2s ease; border: none;
}
.server-btn.refresh {
    background: var(--cream-08); color: var(--cream);
    border: 1px solid var(--border);
}
.server-btn.refresh:hover { background: var(--cream-15); }

/* =====================================================
   RADIO
   ===================================================== */
.radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.radio-card {
    background: linear-gradient(145deg, rgba(40, 25, 15, 0.85), rgba(25, 15, 8, 0.85));
    border: 1px solid var(--cream-15);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    transition: border-color 0.2s ease;
}
.radio-card:hover { border-color: rgba(212, 160, 83, 0.3); }
.radio-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: var(--gold-light);
    margin: 0 0 6px 0;
    font-weight: 600;
}
.radio-muted {
    color: var(--cream-30);
    font-size: 0.82rem;
    margin: 0 0 12px 0;
}

/* Status card */
.radio-status-card { display: flex; flex-direction: column; gap: 14px; }
.radio-status-header { display: flex; align-items: center; gap: 14px; }
.radio-status-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #555;
    box-shadow: 0 0 0 3px rgba(85, 85, 85, 0.2);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.radio-status-dot.idle { background: #888; box-shadow: 0 0 0 3px rgba(136, 136, 136, 0.2); }
.radio-status-dot.connecting { background: #e8c87e; box-shadow: 0 0 0 3px rgba(232, 200, 126, 0.25); animation: radioPulse 1.5s infinite; }
.radio-status-dot.playing { background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); animation: radioPulse 2s infinite; }
.radio-status-dot.paused { background: #facc15; box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.25); }
.radio-status-dot.stopped { background: #888; box-shadow: 0 0 0 3px rgba(136, 136, 136, 0.2); }
.radio-status-dot.error { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25); }
.radio-status-dot.downloading { background: #60a5fa; box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25); animation: radioPulse 1s infinite; }
.radio-status-dot.connected { background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }

/* Performance mode toggle */
.radio-perf-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 6px;
}
.radio-perf-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.radio-perf-toggle input { display: none; }
.radio-perf-slider {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    background: #555;
    border-radius: 22px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.radio-perf-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s;
}
.radio-perf-toggle input:checked + .radio-perf-slider { background: #4ade80; }
.radio-perf-toggle input:checked + .radio-perf-slider::after { transform: translateX(18px); }
.radio-perf-label { font-weight: 600; font-size: 0.95rem; }
.radio-perf-hint { font-size: 0.78rem; color: var(--cream-30); flex: 1; min-width: 200px; }

/* Queue badges */
.radio-queue-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 600;
    vertical-align: middle;
}
.radio-queue-badge.ready { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.radio-queue-badge.loading { background: rgba(96, 165, 250, 0.2); color: #60a5fa; }
.radio-queue-progress {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}
.radio-queue-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
    transition: width 0.4s linear;
}

@keyframes radioPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.radio-status-info { display: flex; flex-direction: column; gap: 2px; }
.radio-status-label {
    font-size: 0.72rem;
    color: var(--cream-30);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.radio-status-text {
    font-size: 1.05rem;
    color: var(--cream);
    font-weight: 600;
}
.radio-channel-row { display: flex; flex-direction: column; gap: 8px; }
.radio-channel-row label {
    font-size: 0.78rem;
    color: var(--cream-50);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.radio-channel-row select {
    background: rgba(15, 10, 5, 0.7);
    border: 1px solid var(--cream-15);
    color: var(--cream);
    padding: 10px 12px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease;
    cursor: pointer;
}
.radio-channel-row select:focus { border-color: var(--gold); }
.radio-channel-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
}

/* Buttons */
.radio-btn {
    background: rgba(255, 255, 255, 0.06);
    color: var(--cream);
    border: 1px solid var(--cream-15);
    padding: 9px 16px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.radio-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}
.radio-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.radio-btn.primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: #1a0f08;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(212, 160, 83, 0.3);
}
.radio-btn.primary:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(212, 160, 83, 0.45);
}
.radio-btn.danger {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}
.radio-btn.danger:hover:not(:disabled) { background: rgba(239, 68, 68, 0.22); }
.radio-btn.small { padding: 6px 12px; font-size: 0.78rem; }
.radio-btn.tiny { padding: 4px 9px; font-size: 0.72rem; }

/* Now Playing */
.radio-now-playing {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 190px;
}
.radio-np-header {
    font-size: 0.75rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.radio-np-empty {
    color: var(--cream-30);
    font-size: 0.92rem;
    text-align: center;
    padding: 30px 16px;
    line-height: 1.6;
}
.radio-np-content { display: flex; gap: 16px; align-items: flex-start; }
.radio-np-thumb-wrap {
    flex-shrink: 0;
    width: 120px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
}
.radio-np-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.radio-np-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.radio-np-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.35;
}
.radio-np-meta {
    font-size: 0.8rem;
    color: var(--cream-50);
    font-variant-numeric: tabular-nums;
}
.radio-np-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}
.radio-np-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
    transition: width 0.5s linear;
}
.radio-np-bar-fill.downloading {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    animation: downloadPulse 1.5s ease-in-out infinite;
}
@keyframes downloadPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.radio-np-controls { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* Volume slider */
.radio-volume-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 6px 0;
}
.radio-volume-icon {
    font-size: 1rem;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    cursor: pointer;
}
.radio-volume-label {
    font-size: 0.78rem;
    color: var(--cream-50);
    font-variant-numeric: tabular-nums;
    min-width: 32px;
    text-align: right;
}
.radio-volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}
.radio-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 2px 8px rgba(212, 160, 83, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease;
}
.radio-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.radio-volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 2px 8px rgba(212, 160, 83, 0.4);
    cursor: pointer;
}
.radio-volume-slider::-moz-range-track {
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
}

/* Add row */
.radio-add-row { display: flex; gap: 10px; }
.radio-add-row input[type="text"] {
    flex: 1;
    background: rgba(15, 10, 5, 0.7);
    border: 1px solid var(--cream-15);
    color: var(--cream);
    padding: 11px 15px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease;
}
.radio-add-row input[type="text"]:focus { border-color: var(--gold); }

/* Search wrapper + suggestions */
.radio-search-wrap {
    flex: 1;
    position: relative;
}
.radio-search-wrap input[type="text"] {
    width: 100%;
    box-sizing: border-box;
}
.radio-search-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid var(--cream-15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.radio-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    margin-top: 4px;
    background: rgba(20, 14, 8, 0.97);
    border: 1px solid var(--cream-15);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    max-height: 340px;
    overflow-y: auto;
}
.radio-sug-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.12s ease;
}
.radio-sug-item:hover,
.radio-sug-item.active {
    background: rgba(212, 160, 83, 0.12);
}
.radio-sug-item + .radio-sug-item {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.radio-sug-thumb {
    width: 64px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
}
.radio-sug-thumb.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.radio-sug-info {
    flex: 1;
    min-width: 0;
}
.radio-sug-title {
    font-size: 0.85rem;
    color: var(--cream);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.radio-sug-dur {
    font-size: 0.72rem;
    color: var(--cream-30);
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

/* Queue — full width */
.radio-queue-card { grid-column: 1 / -1; }
.radio-grid > .radio-card:nth-child(3) { grid-column: 1 / -1; }
.radio-queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.radio-queue-header h3 { margin: 0; }
.radio-queue-count {
    color: var(--cream-30);
    font-weight: 400;
    font-size: 0.92rem;
}
.radio-queue-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 4px;
}
.radio-queue-empty {
    color: var(--cream-30);
    text-align: center;
    padding: 30px 16px;
    font-size: 0.9rem;
}
.radio-queue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--cream-08);
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.18s ease;
}
.radio-queue-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--cream-15);
}
.radio-queue-pos {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(212, 160, 83, 0.18);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.radio-queue-thumb {
    width: 60px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.radio-queue-thumb.placeholder { color: var(--cream-30); }
.radio-queue-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.radio-queue-title {
    color: var(--cream);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.radio-queue-dur {
    color: var(--cream-30);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
}

/* ---- TOAST ---- */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}
.toast {
    padding: 10px 24px;
    background: var(--gold); color: #1a0f08;
    border-radius: 10px; font-size: 0.85rem; font-weight: 800;
    opacity: 0; transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 6px 24px rgba(212,160,83,0.3);
    pointer-events: auto;
}
.toast.show {
    opacity: 1; transform: translateY(0);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 820px) {
    .radio-grid { grid-template-columns: 1fr; }
    .radio-np-content { flex-direction: column; }
    .radio-np-thumb-wrap { width: 100%; max-width: 260px; }
}
@media (max-width: 768px) {
    .panel-nav { padding: 0 12px; }
    .panel-nav-title { font-size: 0.82rem; }
    .panel-back { display: none; }
    .panel-tabs { gap: 2px; padding: 8px 12px 0; }
    .panel-tab { padding: 6px 12px; font-size: 0.78rem; }
    .panel-content { padding: 16px; }
    .server-grid { grid-template-columns: 1fr; }
    .login-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .panel-user { display: none; }
}
