.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-4);
    animation: overlayFadeIn 0.18s ease;
}
@keyframes overlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 400px;
    max-height: 90dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.2s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.modal-title {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 20px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm);
    transition: color var(--tr-fast), background var(--tr-fast);
}
.modal-close:hover { color: var(--text-primary); background: var(--bg-hover); }
.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--sp-4) var(--sp-5);
}
.section-modal {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.2s ease;
    position: relative;
}
.section-modal-close {
    position: absolute;
    top: var(--sp-3);
    right: var(--sp-3);
    z-index: 2;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 32px; height: 32px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--tr-fast);
}
.section-modal-close:hover { color: var(--text-primary); background: var(--bg-hover); }
#section-content {
    overflow-y: auto;
    flex: 1;
}
.sec-header {
    padding: var(--sp-5) var(--sp-5) var(--sp-4);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.sec-title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-black);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}
.sec-subtitle {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}
.sec-body {
    padding: var(--sp-4) var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.prog-day-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    flex-shrink: 0;
}
.prog-day-tabs::-webkit-scrollbar { display: none; }
.prog-day-tab {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 5px 12px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--tr-fast);
}
.prog-day-tab:hover,
.prog-day-tab.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.prog-grid {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}
.prog-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--sp-3) var(--sp-4);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    transition: border-color var(--tr-fast);
}
.prog-card:hover { border-color: var(--border-focus); }
.prog-time {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--accent);
    flex-shrink: 0;
    min-width: 60px;
}
.prog-info { flex: 1; min-width: 0; }
.prog-name {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}
.prog-dj {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--sp-3);
}
.staff-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    text-align: center;
    transition: border-color var(--tr-fast), transform var(--tr-fast);
}
.staff-card:hover {
    border-color: var(--border-focus);
    transform: translateY(-2px);
}
.staff-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    font-weight: var(--fw-bold);
    color: white;
    overflow: hidden;
}
.staff-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.staff-name {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
}
.staff-role {
    font-size: var(--fs-xs);
    color: var(--accent);
    font-weight: var(--fw-semibold);
    background: var(--bg-active);
    padding: 2px 10px;
    border-radius: 99px;
}
.staff-desc {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.5;
}
.lore-content {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: 1.75;
}
.lore-content p { margin-bottom: var(--sp-4); }
.lore-content strong { color: var(--accent); font-weight: var(--fw-semibold); }
.lore-content .lore-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-xl);
    letter-spacing: 8px;
    margin: var(--sp-4) 0;
}
.history-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}
.history-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--sp-2) var(--sp-3);
    transition: border-color var(--tr-fast);
}
.history-item:hover { border-color: var(--border-focus); }
.history-art {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    object-fit: cover;
    background: var(--bg-base);
    flex-shrink: 0;
}
.history-info { flex: 1; min-width: 0; }
.history-title {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.history-artist {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.history-ago {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    flex-shrink: 0;
}
.whois-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 360px;
    max-height: 90dvh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.2s ease;
    position: relative;
    -webkit-overflow-scrolling: touch;
}
.whois-close {
    position: absolute;
    top: var(--sp-3);
    right: var(--sp-3);
    z-index: 3;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.whois-avatar-wrap {
    background:
        radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 70%),
        linear-gradient(180deg, var(--bg-raised) 0%, var(--bg-surface) 100%);
    padding: var(--sp-4) var(--sp-4) var(--sp-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.whois-avatar {
    width: 160px; height: 160px;
    border-radius: 28px;
    background: var(--bg-raised);
    display: flex; align-items: center; justify-content: center;
    font-size: 64px;
    font-weight: var(--fw-bold);
    color: white;
    overflow: hidden;
    border: 3px solid var(--bg-surface);
    box-shadow: 0 6px 26px rgba(0,0,0,0.45), 0 0 0 2px var(--accent);
}
.whois-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.whois-avatar:not(:has(img)) {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.whois-status-badge {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border-radius: 99px;
    padding: 3px 12px;
}
.whois-info {
    padding: var(--sp-2) var(--sp-4) 0;
    text-align: center;
}
.whois-info h3 {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-black);
    color: var(--text-primary);
}
.whois-idle {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: 2px;
}
.whois-stats {
    display: flex;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-4);
}
.whois-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 5px 12px;
}
.whois-details {
    padding: var(--sp-1) var(--sp-4) var(--sp-2);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0;
}
.whois-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    word-break: break-word;
}
.whois-row:last-child { border-bottom: none; }
.whois-row i { color: var(--accent); width: 16px; text-align: center; font-size: 13px; flex-shrink: 0; }
.whois-actions {
    display: flex;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-4) var(--sp-4);
}
.whois-btn {
    flex: 1;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 8px var(--sp-3);
    color: var(--text-secondary);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all var(--tr-fast);
}
.whois-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.settings-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 420px;
    max-height: 90dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.2s ease;
}
.settings-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--sp-4) var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.s-avatar-section {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-3);
    background: var(--bg-raised);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
}
.s-avatar-preview {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    font-weight: var(--fw-bold);
    color: white;
    overflow: hidden;
    flex-shrink: 0;
}
.s-avatar-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.s-avatar-btns {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.s-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 6px 12px;
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--tr-fast);
}
.s-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
.s-btn-danger:hover { background: rgba(239,68,68,0.15); color: #ef4444; border-color: #ef4444; }
.s-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.s-field.hidden { display: none; }
.s-field label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.s-field input,
.s-field select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 9px 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    outline: none;
    transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
    width: 100%;
}
.s-field input:focus,
.s-field select:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.s-field select option {
    background: var(--bg-raised);
    color: var(--text-primary);
}
.s-check-row { display: flex; align-items: center; }
.s-bday-row {
    display: flex;
    gap: var(--sp-2);
}
.s-bday-row select { flex: 1; }
.s-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--sp-1) 0;
}
.s-theme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2);
}
.s-theme-btn {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 8px var(--sp-3);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--tr-fast);
    text-align: center;
}
.s-theme-btn:hover,
.s-theme-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.cs-check-list, .cs-radio-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cs-check-list .lf-check-label,
.cs-radio-list .lf-check-label {
    color: var(--text-primary);
    font-weight: var(--fw-medium);
}
.cs-hint {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
}
.cs-hint.hidden { display: none; }
.cs-hint--warn { color: var(--accent-2); }
.cs-antipm-fields { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.cs-antipm-fields.hidden { display: none; }
.cs-textarea {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 9px 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    outline: none;
    width: 100%;
    resize: vertical;
    min-height: 46px;
    transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}
.cs-textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.s-save-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    border-radius: var(--r-md);
    padding: 12px;
    color: white;
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity var(--tr-fast), transform var(--tr-fast);
    margin-top: var(--sp-2);
}
.s-save-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.staff-avatar-img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-focus);
    display: block;
    margin: 0 auto;
}
.staff-card .staff-name {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    text-align: center;
    margin-top: var(--sp-2);
}
.staff-quote {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    line-height: 1.5;
    padding: 0 var(--sp-2);
}
.staff-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-top: var(--sp-1);
}
.staff-pill {
    font-size: 10px;
    font-weight: var(--fw-semibold);
    padding: 2px 8px;
    border-radius: 99px;
    text-align: center;
}
.staff-pill--genre {
    background: rgba(var(--accent), 0.15);
    background: var(--bg-active);
    color: var(--accent);
    border: 1px solid var(--border-focus);
}
.staff-pill--hobby {
    background: var(--bg-raised);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.staff-hobbies-label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--sp-2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.staff-socials {
    display: flex;
    justify-content: center;
    gap: var(--sp-3);
    margin-top: var(--sp-2);
    padding-top: var(--sp-2);
    border-top: 1px solid var(--border);
}
.staff-social-link {
    color: var(--text-muted);
    font-size: 16px;
    transition: color var(--tr-fast), transform var(--tr-fast);
    text-decoration: none;
}
.staff-social-link:hover {
    color: var(--accent);
    transform: scale(1.2);
}
.prog-card-img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
}
.modal-card {
    max-height: 88dvh;
    display: flex;
    flex-direction: column;
}
.modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--sp-4) var(--sp-5);
}
.modal-body:has(.bar-modal) {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.bar-modal {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: none;
    min-height: 0;
    flex: 1;
}
.bar-tabs {
    flex-shrink: 0;
    padding: var(--sp-3) var(--sp-4) 0;
    border-bottom: 1px solid var(--border);
}
.bar-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--sp-3) var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.bar-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.modal-body:has(.games-modal),
.modal-body:has(.dj-panel-modal) {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.games-modal {
    display: flex;
    flex-direction: column;
    max-height: none;
    min-height: 0;
    flex: 1;
}
.games-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}
.dj-panel-modal {
    display: flex;
    flex-direction: column;
    max-height: none;
    min-height: 0;
    flex: 1;
}
.dj-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.section-modal {
    max-height: 90dvh;
    display: flex;
    flex-direction: column;
}
#section-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}
.sec-header {
    flex-shrink: 0;
    padding: var(--sp-5) var(--sp-5) var(--sp-4);
    border-bottom: 1px solid var(--border);
}
.sec-body {
    padding: var(--sp-4) var(--sp-5) var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.prog-card {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--sp-3) var(--sp-4);
    transition: border-color var(--tr-fast);
}
.prog-card:hover { border-color: var(--border-focus); }
.prog-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.prog-time {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 5px;
}
.prog-name {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}
.prog-dj {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}
.ch-list { display: flex; flex-direction: column; gap: 8px; }
.ch-list-item {
    background: var(--bg-raised); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 10px 14px; cursor: pointer;
    transition: all var(--tr-fast);
}
.ch-list-item:hover { border-color: var(--accent); background: var(--bg-input); transform: translateX(2px); }
.ch-list-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ch-list-name { font-weight: var(--fw-bold); color: var(--accent); display: flex; align-items: center; gap: 4px; }
.ch-list-name i { font-size: 11px; opacity: 0.7; }
.ch-list-users { font-size: var(--fs-xs); color: var(--text-secondary); white-space: nowrap; }
.ch-list-users i { font-size: 10px; }
.ch-list-topic { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 4px; line-height: 1.4; }
.block-add-row { display: flex; gap: 8px; margin-bottom: var(--sp-3); }
.block-add-row input {
    flex: 1; background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 8px 12px; color: var(--text-primary); font-size: var(--fs-sm);
}
.block-add-row button {
    background: var(--accent); color: #fff; border: none; border-radius: var(--r-md);
    padding: 8px 14px; font-weight: var(--fw-bold); cursor: pointer; font-size: var(--fs-sm);
}
.block-list { display: flex; flex-direction: column; gap: 6px; }
.block-item {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--bg-raised); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 8px 12px;
}
.block-name { display: flex; align-items: center; gap: 8px; font-weight: var(--fw-medium); }
.block-name i { color: #ff6b6b; font-size: 12px; }
.block-unblock {
    background: none; border: 1px solid var(--border); color: var(--text-secondary);
    border-radius: 99px; padding: 4px 12px; font-size: var(--fs-xs); font-weight: var(--fw-bold); cursor: pointer;
    transition: all var(--tr-fast);
}
.block-unblock:hover { border-color: var(--accent); color: var(--accent); }
.s-secondary-btn {
    width: 100%; background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 10px 14px; color: var(--text-primary);
    font-size: var(--fs-sm); font-weight: var(--fw-medium); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all var(--tr-fast);
}
.s-secondary-btn:hover { border-color: var(--accent); color: var(--accent); }
.s-secondary-btn i { color: #ff6b6b; }
.s-secondary-btn:hover i { color: var(--accent); }
.s-secondary-btn--neutral i { color: var(--text-muted); }
.s-secondary-btn--neutral:hover i { color: var(--accent); }
[data-theme="daylight"] .ctx-item,
[data-theme="cream"] .ctx-item,
[data-theme="noir"] .ctx-item { font-weight: var(--fw-bold); }
[data-theme="daylight"] .ctx-warn,
[data-theme="cream"] .ctx-warn,
[data-theme="noir"] .ctx-warn,
[data-theme="daylight"] .ctx-success,
[data-theme="cream"] .ctx-success,
[data-theme="noir"] .ctx-success { font-weight: var(--fw-bold); }
.ban-add-btn {
    width: 100%; background: var(--accent); color: #fff; border: none;
    border-radius: var(--r-md); padding: 9px 14px; font-weight: var(--fw-bold);
    cursor: pointer; margin-bottom: var(--sp-3); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ban-add-btn:hover { opacity: 0.9; }
.ban-list { display: flex; flex-direction: column; gap: 8px; }
.ban-item {
    background: var(--bg-raised); border: 1px solid var(--border);
    border-left: 3px solid #ff6b6b; border-radius: var(--r-md); padding: 10px 12px;
}
.ban-row1 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ban-nick { font-weight: var(--fw-bold); color: var(--text-primary); display: flex; align-items: center; gap: 6px; }
.ban-nick i { color: #ff6b6b; font-size: 12px; }
.ban-remove {
    background: none; border: 1px solid var(--border); color: var(--text-secondary);
    border-radius: 99px; padding: 3px 12px; font-size: var(--fs-xs); font-weight: var(--fw-bold); cursor: pointer;
    transition: all var(--tr-fast);
}
.ban-remove:hover { border-color: #ff6b6b; color: #ff6b6b; background: rgba(255,107,107,0.1); }
.ban-mask { font-family: monospace; font-size: var(--fs-xs); color: var(--text-secondary); margin: 4px 0; word-break: break-all; }
.ban-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: 4px; }
.ban-meta i { font-size: 10px; margin-right: 3px; }
.ban-motivo { font-size: var(--fs-xs); color: var(--text-secondary); font-style: italic; }
.ban-motivo i { color: var(--accent); margin-right: 4px; }
.ec-input {
    width: 100%; background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 9px 12px; color: var(--text-primary);
    font-size: var(--fs-sm); margin-bottom: var(--sp-2);
}
.ficha-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--sp-3); }
.ficha-card { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.ficha-thumb { position: relative; width: 100%; padding: 0; border: 1px solid var(--border); background: var(--bg-raised); border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; display: block; transition: transform var(--tr-fast), box-shadow var(--tr-fast), border-color var(--tr-fast); }
.ficha-thumb img { display: block; width: 100%; height: auto; }
.ficha-thumb:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 10px 26px rgba(0,0,0,0.4); }
.ficha-zoom-hint { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; opacity: 0; transition: opacity var(--tr-fast); }
.ficha-thumb:hover .ficha-zoom-hint { opacity: 1; }
.ficha-socials { display: flex; gap: var(--sp-2); }
.ficha-zoom { position: fixed; inset: 0; z-index: 4200; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; touch-action: none; animation: ecNewsIn 0.2s ease; }
.ficha-zoom-img { max-width: 94vw; max-height: 94vh; max-height: 94dvh; border-radius: 10px; transform-origin: center center; will-change: transform; user-select: none; -webkit-user-drag: none; box-shadow: 0 12px 44px rgba(0,0,0,0.55); }
.ficha-zoom-x { position: fixed; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,0.92); color: #111; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 1; }
.ficha-zoom-x:hover { background: #fff; }
