/* GitHub Updates Page CSS */

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

*:focus,
*:focus-visible {
    outline: none !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f0f0f;
    color: #fff;
    overflow-x: hidden;
}

/* Navigation styles are handled by /styles.css */

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #5865f2;
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.6);
    margin-left: -20px;
    padding-left: 20px;
}

@media (min-width: 901px) {
    .nav-container {
        padding: 0 20px 0 0 !important;
    }
    .nav-logo {
        margin-left: -20px !important;
        padding-left: 20px !important;
    }
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    animation: logoGlow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.6));
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 5px rgba(88, 101, 242, 0.4)); }
    to { filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.6)); }
}

.login-btn {
    background: #5865f2;
    color: #fff;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

/* Profile Section */
.profile-section {
    position: relative;
}

.profile-avatar {
    cursor: pointer;
}

.avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 220px;
    padding: 0.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.profile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.menu-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 600;
    color: #fff;
    font-size: 0.875rem;
}

.discriminator {
    color: #b9bbbe;
    font-size: 0.75rem;
}

.profile-actions {
    display: flex;
    flex-direction: column;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #b9bbbe;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.profile-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.profile-link i {
    width: 20px;
    text-align: center;
}

/* Notification Container */
.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
}

/* Editor Container */
.editor-container {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Server Management Header */
.server-management-header {
    position: fixed;
    top: var(--kynx-navbar-offset);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    background: rgba(15, 15, 15, 0.3);
    backdrop-filter: var(--kynx-blur);
    -webkit-backdrop-filter: var(--kynx-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    box-sizing: border-box;
    overflow: hidden;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 0;
    height: 100%;
    max-height: 70px;
    overflow: hidden;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 1rem;
    height: 100%;
    max-height: 70px;
    overflow: hidden;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #b9bbbe;
    font-size: 1.125rem;
    height: 100%;
    max-height: 70px;
    overflow: hidden;
    line-height: 1;
}

.breadcrumb-separator {
    color: #5a5a5a;
}

.current-page {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 720px) {
    .server-management-header {
        padding: 0 1rem;
        gap: 0.5rem;
        align-items: center;
    }
    .server-management-header .header-left {
        gap: 0.5rem;
        flex-direction: row;
        align-items: center;
        width: auto;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    .server-management-header .header-right {
        width: auto;
        justify-content: flex-end;
        flex-shrink: 0;
    }
    .server-management-header .breadcrumb {
        font-size: 0.875rem;
        gap: 0.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
        max-width: calc(100vw - 120px);
    }
    .server-management-header .breadcrumb span:not(.breadcrumb-separator) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 150px;
    }
}

/* Main Content */
.main-content {
    padding: 2rem;
    padding-top: 80px; /* Space for fixed server-management-header */
    min-height: calc(100vh - 160px);
    position: relative;
}

.content-wrapper {
    max-width: 1520px;
    margin: 0 auto;
}

.github-updates-content {
    background: rgba(15, 15, 15, 0.3);
    backdrop-filter: var(--kynx-blur);
    -webkit-backdrop-filter: var(--kynx-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    min-height: 400px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1005;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #dcddde;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger active state (turn into X) */
.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    /* Mobile Profile Avatar Fix */
    .nav-menu .mobile-auth-buttons .profile-section .profile-avatar,
    .nav-menu .mobile-auth-buttons .profile-avatar {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-menu .mobile-auth-buttons .profile-section .profile-avatar img,
    .nav-menu .mobile-auth-buttons .profile-avatar img,
    .nav-menu .mobile-auth-buttons .profile-section .profile-avatar .avatar-img,
    .nav-menu .mobile-auth-buttons .profile-avatar .avatar-img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }
    
    /* Header-Styles für Mobile/Tablet */
    .hamburger {
        display: flex !important;
        margin-left: auto;
        z-index: 1005;
        position: relative;
        align-self: center;
        min-width: 30px;
        flex-shrink: 0;
    }
    
    .navbar {
        padding: 1rem 0 !important;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        z-index: 1001 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(10, 10, 15, 0.95) !important;
        backdrop-filter: var(--kynx-blur) !important;
        -webkit-backdrop-filter: var(--kynx-blur) !important;
    }
    
    .nav-container {
        padding: 0 1rem !important;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
        height: 100%;
    }
    
    .nav-logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
        font-size: 1.5rem !important;
        align-items: center !important;
    }
    
    .logo-img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: var(--kynx-navbar-offset) !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - var(--kynx-navbar-offset)) !important;
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(40px) saturate(180%);
        -webkit-backdrop-filter: blur(40px) saturate(180%);
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        flex-direction: column !important;
        padding-top: 1rem !important;
        z-index: 998 !important;
        overflow-y: auto !important;
        border-right: none !important;
    }
    
    .nav-menu.active {
        transform: translateX(0) !important;
    }
    
    .editor-container {
        margin-top: var(--kynx-navbar-offset);
        padding: 1rem;
    }

    .main-content {
        padding: 1rem;
        padding-top: 80px;
    }
    
    .github-updates-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .server-management-header {
        padding: 0 0.75rem;
    }
    
    .main-content {
        padding: 0.75rem;
        padding-top: 80px;
    }
    
    .github-updates-content {
        padding: 1rem;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: var(--kynx-blur);
    -webkit-backdrop-filter: var(--kynx-blur);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    pointer-events: none;
}

.loading-container {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
    background: rgba(15, 15, 15, 0.3);
    backdrop-filter: var(--kynx-blur);
    -webkit-backdrop-filter: var(--kynx-blur);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.logo-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.loading-title h2 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.loading-title p {
    color: #b9bbbe;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.loading-progress {
    margin-bottom: 2rem;
}

.loading-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5865f2, #7289da);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
}

.progress-text {
    color: #b9bbbe;
    font-size: 0.875rem;
    font-weight: 500;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #72767d;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.step i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.step.active {
    color: #5865f2;
}

.step.active i {
    animation: iconPulse 1s ease-in-out infinite;
}

.step.completed {
    color: #43b581;
}

.step.completed i {
    color: #43b581;
}

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

/* GitHub Updates Overview */
.github-updates-overview {
    max-width: 1200px;
    margin: 0 auto;
}

.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.overview-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.overview-title p {
    color: #b9bbbe;
    font-size: 1rem;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.refresh-channels-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
}

.refresh-channels-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.add-channel-btn {
    background: linear-gradient(135deg, #5865f2, #7289da);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    white-space: nowrap;
}

.add-channel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.5);
    background: linear-gradient(135deg, #4752c4, #5865f2);
}

/* Channel List */
.channel-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.channel-card {
    background: rgba(15, 15, 15, 0.3);
    backdrop-filter: var(--kynx-blur);
    -webkit-backdrop-filter: var(--kynx-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: grab;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.channel-card:active {
    cursor: grabbing;
}

.channel-card.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

.channel-card.drag-over {
    border-color: #5865f2;
    background: rgba(15, 15, 15, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.5);
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #5865f2, #7289da);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.channel-card:hover {
    background: rgba(15, 15, 15, 0.4);
    border-color: #5865f2;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.channel-card:hover::before {
    opacity: 1;
}

.channel-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.channel-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865f2;
    font-size: 1.5rem;
}

.channel-card-info h3 {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.channel-card-info span {
    color: #b9bbbe;
    font-size: 0.875rem;
}

.channel-card-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b9bbbe;
    font-size: 0.875rem;
}

.stat-item i {
    color: #5865f2;
}

.delete-channel-btn, .edit-channel-btn {
    position: absolute;
    top: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
}

.delete-channel-btn {
    right: 0.75rem;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4444;
}

.edit-channel-btn {
    right: 3rem;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #5865f2;
}

.channel-card:hover .delete-channel-btn,
.channel-card:hover .edit-channel-btn {
    opacity: 1;
}

.delete-channel-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
    transform: scale(1.1);
}

.edit-channel-btn:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    transform: scale(1.1);
}

.drag-handle {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    color: #72767d;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: grab;
}

.channel-card:hover .drag-handle {
    opacity: 1;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #72767d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #5865f2;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #b9bbbe;
}

.empty-state p {
    color: #72767d;
}

/* Channel Detail View */
.channel-detail-view {
    max-width: 1480px;
    margin: 0 auto;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.back-to-overview-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.back-to-overview-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-4px);
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.channel-icon {
    width: 48px;
    height: 48px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865f2;
    font-size: 1.5rem;
}

.channel-name-container h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.channel-id {
    color: #b9bbbe;
    font-size: 0.875rem;
}

.channel-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.save-btn {
    background: linear-gradient(135deg, #5865f2, #7289da);
    color: #fff;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.manual-game-check-btn {
    background: linear-gradient(135deg, rgba(27, 40, 56, 0.95), rgba(42, 71, 94, 0.95));
    color: #c7d5e0;
    border: 1px solid rgba(102, 192, 244, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.manual-game-check-btn:hover:not(:disabled) {
    color: #fff;
    border-color: rgba(102, 192, 244, 0.85);
    box-shadow: 0 4px 18px rgba(102, 192, 244, 0.2);
    transform: translateY(-2px);
}

.manual-game-check-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

/* Channel Settings */
.channel-settings-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Einstellungen + Live-Vorschau: Grid; Spaltenanzahl nach verfügbarer Hauptspalten-Breite (@container) */
.update-settings-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
}

.update-settings-wrapper > .settings-section {
    min-width: 0;
}

@container gu-main (min-width: 560px) {
    .update-settings-wrapper {
        grid-template-columns: minmax(240px, 40%) minmax(0, 1fr);
    }
}

/* Fallback ohne Container-Queries (Viewport) */
@supports not (container-type: inline-size) {
    @media (min-width: 992px) {
        .update-settings-wrapper {
            grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
        }
    }
}

.update-settings-section {
    flex: 1;
    min-width: 0;
}

.embed-preview-section {
    flex: 1;
    min-width: 0;
}

.recent-updates-section {
    width: 100%;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .embed-preview-section {
        flex: 1;
        position: relative;
        top: 0;
    }
}

.settings-section {
    background: rgba(15, 15, 15, 0.3);
    backdrop-filter: var(--kynx-blur);
    -webkit-backdrop-filter: var(--kynx-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.settings-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.settings-title-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.settings-title-with-action .settings-title {
    margin-bottom: 0;
}

.refresh-updates-btn {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #5865f2;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.refresh-updates-btn:hover:not(:disabled) {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.refresh-updates-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.refresh-updates-btn i.fa-spin {
    animation: fa-spin 1s infinite linear;
}

.settings-title i {
    color: #5865f2;
}

.settings-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    color: #b9bbbe;
    font-weight: 500;
    font-size: 0.875rem;
}

.repository-input, .select-input {
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 12px !important;
    padding-right: 2.5rem;
    cursor: pointer;
    min-height: 48px;
    max-height: 48px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Remove any pattern/background images from select when open */
.select-input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 12px !important;
}

.repository-input:focus, .select-input:focus {
    outline: none;
    border-color: #5865f2;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

/* Custom Select Dropdown Styling - Native select options */
.select-input option {
    background: #000000 !important;
    color: #fff;
    padding: 0.75rem 1rem;
    border: none;
    font-size: 1rem;
}

.select-input option:hover,
.select-input option:focus {
    background: #1a1a1a !important;
}

.select-input option:checked {
    background: #1a1a1a !important;
    color: #fff;
}

/* For better browser compatibility */
.select-input::-ms-expand {
    display: none;
}

/* Custom dropdown styling for repository select */
#repositorySelect {
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#repositorySelect option {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #fff;
    padding: 0.75rem 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

#repositorySelect option:hover {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
}

#repositorySelect option:checked {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
}

/* Limit dropdown height when open (browser-specific) */
#repositorySelect:focus {
    max-height: 200px;
    overflow-y: auto;
}

/* For WebKit browsers (Chrome, Safari, Edge) - Dropdown list styling */
#repositorySelect {
    background-color: #000000 !important;
}

/* Custom scrollbar for dropdown */
#repositorySelect::-webkit-scrollbar {
    width: 8px;
}

#repositorySelect::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 4px;
}

#repositorySelect::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#repositorySelect::-webkit-scrollbar-thumb:hover {
    background: #2a2a2a;
}

/* Ensure text overflow for long repository names */
#repositorySelect,
#repositorySelect option {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.input-hint {
    color: #72767d;
    font-size: 0.75rem;
}

.test-repo-btn {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #5865f2;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.test-repo-btn:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
}

.toggle-group {
    display: flex;
    align-items: center;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.toggle-input {
    display: none;
}

.toggle-slider {
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.toggle-input:checked + .toggle-slider {
    background: #5865f2;
}

.toggle-input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.toggle-text {
    color: #b9bbbe;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5865f2;
}

.checkbox-label span {
    color: #b9bbbe;
}

/* Updates List Container */
.updates-list-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Updates List */
.updates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: none; /* Show all 10 commits without scrolling */
    overflow-y: visible;
    padding-right: 0.5rem;
}

.updates-list::-webkit-scrollbar {
    width: 8px;
}

.updates-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.updates-list::-webkit-scrollbar-thumb {
    background: rgba(88, 101, 242, 0.3);
    border-radius: 4px;
}

.updates-list::-webkit-scrollbar-thumb:hover {
    background: rgba(88, 101, 242, 0.5);
}

.commit-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.commit-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.2);
}

.commit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.commit-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(88, 101, 242, 0.3);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}

.author-login {
    color: #72767d;
    font-size: 0.75rem;
}

.commit-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.commit-post-indicator {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

.commit-post-indicator:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.commit-post-indicator.posted {
    color: #43b581;
}

.commit-post-indicator.posted i {
    color: #43b581;
}

.commit-post-indicator.not-posted {
    color: #72767d;
}

.commit-post-indicator.not-posted i {
    color: #72767d;
}

.commit-post-indicator.not-posted:hover {
    color: #5865f2;
}

.commit-post-indicator.not-posted:hover i {
    color: #5865f2;
}

.commit-date {
    color: #72767d;
    font-size: 0.75rem;
}

.commit-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.commit-message {
    color: #b9bbbe;
    font-size: 0.875rem;
    line-height: 1.5;
}

.commit-message strong {
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}

.commit-description {
    color: #72767d;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.commit-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.commit-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5865f2;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: all 0.3s ease;
}

.commit-link:hover {
    color: #7289da;
    transform: translateX(2px);
}

.commit-link i {
    font-size: 0.875rem;
}

.commit-branch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #72767d;
    font-size: 0.8125rem;
}

.commit-branch i {
    color: #5865f2;
}

.load-more-commits-btn {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #5865f2;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.load-more-commits-btn:hover:not(:disabled) {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.load-more-commits-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-commits-btn i {
    font-size: 0.875rem;
}

/* Post Commit Modal */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #5865f2;
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #b9bbbe;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.commit-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.preview-commit {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.preview-header strong {
    color: #fff;
    font-size: 0.875rem;
    flex: 1;
}

.preview-sha {
    color: #5865f2;
    font-size: 0.75rem;
    font-family: monospace;
    background: rgba(88, 101, 242, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.preview-author {
    color: #72767d;
    font-size: 0.8125rem;
}

/* Embed Preview Styles */
.embed-preview-container {
    background: #2f3136;
    border-radius: 8px;
    padding: 1rem;
    min-height: 200px;
}

.embed-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    color: #72767d;
    text-align: center;
    min-height: 200px;
}

.embed-preview-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

/* Discord Embed Live - Structure like /embeds page */
.discord-embed-live {
    background: #2f3136;
    border-radius: 4px;
    padding: 0.75rem 1rem 0.75rem 0.75rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    transition: all 0.2s ease;
}

.embed-color-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.embed-main-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.discord-embed-live .embed-description {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.45;
}

.discord-embed-preview {
    background: #2f3136;
    border-left: 4px solid #28a745;
    border-radius: 4px;
    padding: 0.75rem 1rem 1rem 0.75rem;
    margin-top: 0.5rem;
    font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.discord-embed-preview .embed-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.discord-embed-preview .embed-author-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.discord-embed-preview .embed-title {
    font-size: 1rem;
    font-weight: 600;
    color: #00aff4;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: block;
}

.discord-embed-preview .embed-title:hover {
    text-decoration: underline;
}

.discord-embed-preview .embed-description {
    font-size: 0.875rem;
    color: #dcddde;
    line-height: 1.375;
    margin-bottom: 0.5rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.discord-embed-preview .embed-fields {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.discord-embed-preview .embed-field {
    font-size: 0.875rem;
}

.discord-embed-preview .embed-field-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.discord-embed-preview .embed-field-value {
    color: #dcddde;
}

/* Footer styles are now in the editor section above */

.discord-message-preview {
    background: #36393f;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #dcddde;
    word-break: break-all;
}

.discord-message-preview a {
    color: #00aff4;
    text-decoration: none;
}

.discord-message-preview a:hover {
    text-decoration: underline;
}

.custom-message-preview {
    background: #36393f;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #dcddde;
    word-break: break-word;
    white-space: pre-wrap;
}

/* Discord Message Text Preview - looks like real Discord message */
.discord-message-text-preview {
    font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.375;
    color: #dcddde;
    text-align: left;
    word-wrap: break-word;
}

/* Editor Mode Styles */
.inline-embed-editor {
    position: relative;
    margin-bottom: 1rem;
}

.inline-embed-editor.editing {
    border: 2px solid #5865f2;
    border-radius: 8px;
    padding: 0.5rem;
}

.inline-embed-editor:not(.editing) .discord-embed-live {
    cursor: pointer;
    transition: all 0.2s ease;
}

.inline-embed-editor:not(.editing) .discord-embed-live:hover {
    background: #36393f;
    border-left-color: #5865f2;
}

/* Image Upload Areas - like /embeds page */
.embed-image-upload {
    position: relative;
    background: #202225;
    border: 2px dashed #2f3136;
    border-radius: 4px;
    min-height: 120px;
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 0.75rem;
    padding: 0;
    overflow: visible;
    transition: all 0.2s ease;
}

.embed-image-upload.has-image {
    border: none;
    min-height: auto;
    height: auto;
    background: transparent;
    padding: 0;
}

.embed-image-upload img {
    width: 100%;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    margin: 0;
}

.embed-image-upload input[type="file"],
.embed-thumbnail-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.inline-embed-editor.editing .embed-image-upload:hover {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.05);
}

.inline-embed-editor:not(.editing) .embed-image-upload {
    cursor: default;
    pointer-events: none;
}

.inline-embed-editor:not(.editing) .embed-image-upload.has-image {
    background: transparent;
}

.embed-thumbnail-upload {
    position: relative;
    width: 80px;
    height: 80px;
    background: #202225;
    border: 2px dashed #2f3136;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: visible;
    flex-shrink: 0;
    transition: all 0.2s ease;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
}

.inline-embed-editor.editing .embed-thumbnail-upload:hover {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.05);
}

.inline-embed-editor:not(.editing) .embed-thumbnail-upload {
    cursor: default;
    pointer-events: none;
}

.inline-embed-editor:not(.editing) .embed-thumbnail-upload.has-image {
    background: transparent;
}

.embed-thumbnail-upload img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #72767d;
}

.thumbnail-placeholder i {
    font-size: 1.5rem;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #72767d;
}

.upload-placeholder i {
    font-size: 2rem;
}

.upload-placeholder span {
    font-size: 0.875rem;
}

.image-delete-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #ed4245;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.image-delete-btn:hover {
    background: #c03537;
    transform: scale(1.1);
}

.image-delete-btn.small {
    width: 18px;
    height: 18px;
    font-size: 0.625rem;
}

.embed-image-upload.has-image .image-delete-btn,
.embed-thumbnail-upload.has-image .image-delete-btn {
    display: flex;
}

.embed-image-upload.has-image:hover .image-delete-btn,
.embed-thumbnail-upload.has-image:hover .image-delete-btn {
    display: flex;
}

.inline-embed-editor:not(.editing) .image-delete-btn {
    display: none !important;
}

/* Footer Section - compact like /embeds page */
.embed-footer-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.embed-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #72767d;
}

.embed-footer-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.embed-timestamp {
    margin-left: auto;
}
    white-space: pre-wrap;
    margin-bottom: 0.5rem;
    padding: 0;
    background: transparent;
    border: none;
    width: 100%;
    display: block;
}

.discord-message-text-preview:first-child {
    margin-top: 0;
}

.discord-message-text-preview:last-child {
    margin-bottom: 0.5rem;
}

/* Custom Message Input Styles */
.custom-message-input-container {
    margin-bottom: 1rem;
}

.custom-message-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b9bbbe;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.custom-message-label i {
    color: #5865f2;
}

.custom-message-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.custom-message-input-wrapper:focus-within {
    border-color: #5865f2;
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.2);
}

.custom-message-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #dcddde;
    font-size: 0.875rem;
    padding: 0.5rem;
    outline: none;
    font-family: inherit;
}

.custom-message-input::placeholder {
    color: #72767d;
}

.emoji-btn {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #5865f2;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.emoji-btn:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

.emoji-btn i {
    font-size: 1rem;
}

/* Image Upload Styles */
.image-upload-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-upload-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.image-upload-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b9bbbe;
    font-size: 0.875rem;
    font-weight: 600;
}

.image-upload-label i {
    color: #5865f2;
}

.image-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.image-upload-btn {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #5865f2;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.image-upload-btn:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

.image-preview {
    position: relative;
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.image-remove-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(237, 66, 69, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.image-remove-btn:hover {
    background: rgba(237, 66, 69, 1);
    transform: scale(1.1);
}

.image-remove-btn i {
    font-size: 0.875rem;
}

/* Embed Image Preview Styles */
.embed-thumbnail-preview {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.embed-thumbnail-preview img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 4px;
    object-fit: cover;
}

.embed-image-preview {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.embed-image-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 4px;
    object-fit: contain;
}

.loading-updates, .no-updates {
    text-align: center;
    padding: 2rem;
    color: #72767d;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.loading-updates i {
    font-size: 2rem;
    color: #5865f2;
}

.no-updates i {
    font-size: 3rem;
    color: #5865f2;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

/* MEE6-Style Emoji Picker CSS */
.mee6-emoji-picker {
    background: #2f3136;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid #40444b;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.emoji-picker-header {
    background: #36393f;
    padding: 16px 20px;
    border-bottom: 1px solid #40444b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: grab;
    user-select: none;
}

.emoji-picker-header:active {
    cursor: grabbing;
}

.search-container {
    flex: 1;
    position: relative;
    margin-right: 12px;
}

.emoji-picker-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emoji-picker-close {
    background: #40444b;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #dcddde;
    transition: all 0.2s ease;
}

.emoji-picker-close:hover {
    background: #5865f2;
    color: white;
}

.emoji-picker-close i {
    font-size: 14px;
}

.emoji-search {
    width: 100%;
    background: #40444b;
    border: none;
    border-radius: 4px;
    padding: 8px 12px 8px 36px;
    color: #dcddde;
    font-size: 14px;
    outline: none;
}

.emoji-search::placeholder {
    color: #72767d;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.variation-selector {
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.variation-selector:hover {
    background: #40444b;
}

.variation-icon {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

.emoji-picker-main {
    display: flex;
    height: 400px;
}

.emoji-categories-sidebar {
    width: 200px;
    background: #36393f;
    border-right: 1px solid #40444b;
    padding: 16px 16px 16px 12px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 400px;
    scrollbar-width: thin;
    scrollbar-color: #40444b #2f3136;
}

.emoji-categories-sidebar::-webkit-scrollbar {
    width: 6px;
}

.emoji-categories-sidebar::-webkit-scrollbar-track {
    background: #2f3136;
}

.emoji-categories-sidebar::-webkit-scrollbar-thumb {
    background: #40444b;
    border-radius: 3px;
}

.emoji-categories-sidebar::-webkit-scrollbar-thumb:hover {
    background: #5865f2;
}

.category-item {
    padding: 12px 16px;
    margin-bottom: 6px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-item:hover {
    background: #40444b;
    opacity: 0.8;
}

.category-item.active {
    background: #5865f2;
    opacity: 1;
}

.category-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    opacity: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.category-name {
    color: #dcddde;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.server-category {
    padding: 12px 16px;
    margin-bottom: 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #40444b;
}

.server-category:hover {
    background: #40444b;
}

.server-category.active {
    background: #5865f2;
}

.server-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.server-name {
    font-size: 13px;
    color: #dcddde;
    font-weight: 600;
    white-space: nowrap;
}

.emoji-content-area {
    flex: 1;
    background: #2f3136;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.category-header {
    background: #36393f;
    padding: 12px 16px;
    border-bottom: 1px solid #40444b;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dcddde;
    font-weight: 600;
    font-size: 14px;
}

.emoji-grid {
    flex: 1;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
    overflow-y: auto;
}

.emoji-grid-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.emoji-grid-item:hover {
    background: #40444b;
}

.emoji-grid-item .emoji {
    width: 32px;
    height: 32px;
    user-select: none;
    -webkit-user-drag: none;
}

.emoji-picker-footer {
    background: #36393f;
    padding: 12px 16px;
    border-top: 1px solid #40444b;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-emoji {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-emoji-img {
    width: 32px;
    height: 32px;
}

.footer-text {
    flex: 1;
}

.footer-text p {
    color: #dcddde;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #72767d;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-results p {
    font-size: 16px;
    margin-bottom: 8px;
    color: #dcddde;
}

.no-results small {
    font-size: 14px;
    opacity: 0.7;
}

.category-server-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.emoji-grid::-webkit-scrollbar {
    width: 8px;
}

.emoji-grid::-webkit-scrollbar-track {
    background: #2f3136;
}

.emoji-grid::-webkit-scrollbar-thumb {
    background: #40444b;
    border-radius: 4px;
}

.emoji-grid::-webkit-scrollbar-thumb:hover {
    background: #4f545c;
}

/* GitHub Auth Styles */
.github-auth-status {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.auth-status-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #b9bbbe;
}

.auth-status-content i {
    font-size: 1.5rem;
    color: #5865f2;
}

.github-login-btn {
    background: linear-gradient(135deg, #24292e, #2f363d);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.github-login-btn:hover {
    background: linear-gradient(135deg, #2f363d, #3a4148);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 41, 46, 0.4);
}

.github-login-btn i {
    font-size: 1.25rem;
}

.github-user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
}

.user-avatar-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.github-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(88, 101, 242, 0.3);
}

#githubUserName {
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}

.github-logout-btn {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4444;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.github-logout-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-1px);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close-btn {
    background: none;
    border: none;
    color: #b9bbbe;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.channel-search {
    position: relative;
    margin-bottom: 1.5rem;
}

.channel-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #72767d;
}

.channel-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.channel-search input:focus {
    outline: none;
    border-color: #5865f2;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.channel-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.channel-option:hover {
    background: rgba(88, 101, 242, 0.1);
    border-color: #5865f2;
    transform: translateY(-2px);
}

.channel-option i {
    color: #5865f2;
}

.loading-channels {
    text-align: center;
    padding: 2rem;
    color: #72767d;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(88, 101, 242, 0.2);
    border-top-color: #5865f2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Notifications */
.notification {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: var(--kynx-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #43b581;
}

.notification-error {
    border-left: 4px solid #f04747;
}

.notification-info {
    border-left: 4px solid #5865f2;
}

.notification-warning {
    border-left: 4px solid #faa61a;
}

/* Mobile Responsive for Channel Management */
@media (max-width: 768px) {
    .overview-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .add-channel-btn span {
        display: none;
    }
    
    .channel-list {
        grid-template-columns: 1fr;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .channel-actions {
        width: 100%;
    }
    
    .action-btn {
        flex: 1;
        justify-content: center;
    }
}

/* Game Updates: drei Spalten — links Posting/Steam-Embed, Mitte Vorschau, rechts Spiele */
.game-updates-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.game-updates-editor-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
}

.game-updates-preview-col {
    min-width: 0;
    flex: 1;
}

.game-updates-controls-col,
.game-updates-games-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Schmale Viewports: zuerst Vorschau, dann Settings, dann Spiele */
@media (max-width: 1099px) {
    .game-updates-editor-row > .game-updates-preview-col {
        order: 1;
    }

    .game-updates-editor-row > .game-updates-controls-col {
        order: 2;
    }

    .game-updates-editor-row > .game-updates-games-col {
        order: 3;
    }
}

.gu-preview-shell {
    margin: 0;
}

.gu-preview-hint {
    margin: 0 0 0.6rem;
    line-height: 1.45;
    font-size: 0.78rem;
    color: #8e9297;
}

.gu-card {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(165deg, rgba(32, 34, 37, 0.65), rgba(15, 15, 15, 0.55));
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.gu-card-title {
    margin: 0;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f2f3f5;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gu-card-title i {
    color: #5865f2;
    opacity: 0.95;
}

.gu-card-body {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.gu-card-footer-hint {
    margin: 0 1rem 0.85rem !important;
    padding-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.65rem;
}

.gu-field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b9bbbe;
    margin-top: 0.25rem;
}

.gu-toggle-inline {
    margin-bottom: 0.25rem;
}

.gu-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem 0.75rem;
}

@media (min-width: 420px) {
    .gu-checkbox-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Steam-News-Embed: Schieberegler (wie „Updates aktiv“) */
.gu-switch-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.gu-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.55rem 0.62rem;
    margin: 0;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.065);
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        background 0.15s ease;
}

.gu-switch-row:hover {
    border-color: rgba(102, 192, 244, 0.2);
    background: rgba(88, 101, 242, 0.07);
}

.gu-switch-text {
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: #e8eaed;
    line-height: 1.38;
}

.gu-switch-track {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

/* Letzte Posts: Kartenliste nicht durch Karten-Clipping unterdrücken */
.game-updates-games-col .gu-card.gu-card--games,
.game-updates-games-col .gu-card.gu-card--games .gu-card-body {
    overflow: visible;
}

.game-updates-last-post-card--orphan {
    border-style: dashed;
}

.gu-last-post-tag {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.68rem !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f5b942 !important;
    line-height: 1.35;
}

.gu-sub-heading {
    margin: 0.75rem 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #dcddde;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.gu-sub-heading:first-of-type {
    margin-top: 0.5rem;
}

.embed-footer-input.gu-steam-footer-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0.15rem 0.35rem;
    color: #b9bbbe;
    font-size: 0.75rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.embed-footer-input.gu-steam-footer-input:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.embed-footer-input.gu-steam-footer-input:focus {
    outline: none;
    background: rgba(79, 84, 92, 0.2);
    border-color: #5865f2;
    color: #dcddde;
}

.gu-embed-footer-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.inline-embed-editor .gu-steam-footer-input {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

@media (min-width: 1100px) {
    .game-updates-editor-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .game-updates-editor-row > .game-updates-controls-col,
    .game-updates-editor-row > .game-updates-preview-col,
    .game-updates-editor-row > .game-updates-games-col {
        order: unset;
    }

    .game-updates-controls-col {
        flex: 0 0 min(292px, 24vw);
        max-width: 320px;
        position: sticky;
        top: 5.5rem;
        align-self: flex-start;
    }

    .game-updates-preview-col {
        flex: 1 1 380px;
        min-width: 0;
        max-width: none;
    }

    .game-updates-games-col {
        flex: 0 0 min(312px, 26vw);
        max-width: 360px;
        position: sticky;
        top: 5.5rem;
        align-self: flex-start;
    }
}

.game-search-results {
    margin-top: 0.75rem;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
}

.game-search-name {
    font-size: 0.9rem;
    color: #dcddde;
    flex: 1;
    min-width: 0;
}

.btn-add-game {
    flex-shrink: 0;
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #5865f2;
    background: rgba(88, 101, 242, 0.15);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.btn-add-game:hover {
    background: rgba(88, 101, 242, 0.35);
}

.selected-games-list {
    margin-top: 0.5rem;
}

.btn-remove-game {
    flex-shrink: 0;
    margin-left: auto;
    background: transparent;
    border: none;
    color: #ed4245;
    cursor: pointer;
    padding: 0.25rem;
}

.game-steam-hint {
    margin: 0;
    width: 100%;
    align-self: stretch;
}

.game-steam-hint-card {
    border-radius: 10px;
    padding: 1rem 1.1rem;
    background: linear-gradient(145deg, rgba(27, 40, 56, 0.35), rgba(15, 15, 15, 0.5));
    border: 1px solid rgba(102, 192, 244, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.game-steam-hint-text {
    margin: 0;
    line-height: 1.55;
    color: #b9bbbe;
    font-size: 0.9rem;
}

.game-steam-hint-text strong {
    color: #e3e6e8;
}

.game-updates-sidebar-panel {
    border-radius: 12px;
    border: 1px solid rgba(102, 192, 244, 0.1);
    background: linear-gradient(180deg, rgba(27, 40, 56, 0.25), rgba(0, 0, 0, 0.2));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.game-updates-sidebar-panel .settings-title {
    color: #c7d5e0;
}

.game-store-search-input:focus {
    border-color: rgba(102, 192, 244, 0.5);
    box-shadow: 0 0 0 2px rgba(102, 192, 244, 0.12);
}

.game-search-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
}

.game-search-row:hover {
    background: rgba(102, 192, 244, 0.06);
}

.game-search-row:last-child {
    border-bottom: none;
}

.game-search-thumb-wrap {
    flex-shrink: 0;
    width: 92px;
    height: 35px;
    border-radius: 4px;
    overflow: hidden;
    background: #1b2838;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-search-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.selected-game-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.4rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.selected-game-row:hover {
    border-color: rgba(102, 192, 244, 0.2);
    background: rgba(102, 192, 244, 0.04);
}

.selected-game-thumb-wrap {
    flex-shrink: 0;
    width: 120px;
    height: 45px;
    border-radius: 5px;
    overflow: hidden;
    background: #1b2838;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.selected-game-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.selected-game-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.selected-game-title {
    font-size: 0.92rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.25;
}

.selected-game-id {
    font-size: 0.75rem;
    color: #8e9297;
}

/* Breite Live-Vorschau + Discord-Chat (an /embeds angelehnt, nur hier gescoped) */
.game-updates-embed-preview-wide {
    margin-top: 1.75rem;
    width: 100%;
}

.update-settings-wrapper .game-updates-embed-preview-wide {
    margin-top: 0;
}

.game-updates-preview-settings-inner {
    padding-top: 0.25rem;
}

.game-updates-preview-hint {
    margin: 0 0 1rem;
    max-width: 920px;
}

.game-updates-discord-preview.discord-chat-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background: rgba(15, 15, 15, 0.35);
    backdrop-filter: var(--kynx-blur);
    -webkit-backdrop-filter: var(--kynx-blur);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-updates-discord-preview .discord-chat-header {
    background: transparent;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-updates-discord-preview .channel-info-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 600;
}

.game-updates-discord-preview .channel-info-header i {
    color: #72767d;
    font-size: 1.25rem;
}

.game-updates-discord-preview .discord-messages-area {
    padding: 1.5rem;
    min-height: 220px;
}

.game-updates-discord-preview .discord-message {
    display: flex;
    gap: 1rem;
}

.game-updates-discord-preview .message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.game-updates-discord-preview .message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-updates-discord-preview .message-content {
    flex: 1;
    min-width: 0;
}

.game-updates-discord-preview .message-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.game-updates-discord-preview .message-author {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.game-updates-discord-preview .message-badge {
    background: #5865f2;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.25rem;
    border-radius: 3px;
}

.game-updates-discord-preview .message-timestamp {
    color: #72767d;
    font-size: 0.75rem;
}

.game-updates-msg-row.input-with-emoji {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.game-updates-discord-preview .game-updates-msg-row .message-text {
    flex: 1;
    min-width: 0;
    min-height: 2.5rem;
    color: #dcddde;
    font-size: 1rem;
    outline: none;
    padding: 0.45rem 0.55rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.game-updates-discord-preview .game-updates-msg-row .message-text:empty:before {
    content: attr(data-placeholder);
    color: #72767d;
    pointer-events: none;
}

.game-updates-discord-preview .game-updates-msg-row .message-text:focus {
    border-color: rgba(102, 192, 244, 0.45);
    background: rgba(79, 84, 92, 0.2);
}

.game-updates-discord-preview .game-updates-msg-row .emoji-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 0.2rem;
}

.game-updates-discord-preview .discord-chat-input {
    background: rgba(15, 15, 15, 0.35);
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
}

.game-updates-discord-preview .add-embed-button {
    background: linear-gradient(135deg, #5865f2, #7289da);
    border: none;
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.game-updates-discord-preview .add-embed-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.game-updates-discord-preview .add-embed-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.game-updates-discord-preview .embed-preview-container {
    background: transparent;
    padding: 0;
    min-height: 0;
}

.game-updates-discord-preview .inline-embed-editor {
    max-width: min(960px, 100%);
}

.game-updates-static-embed-preview {
    max-width: min(960px, 100%);
    margin-bottom: 0.75rem;
}

/* Steam-News-Embed Vorschau: Absätze & Listenzeilen (wie Patchnotes mit „- ”) */
.game-updates-discord-preview .embed-description.embed-description-rich {
    font-size: 0.875rem;
    color: #dcddde;
    line-height: 1.45;
    margin: 0.2rem 0 0;
    word-break: break-word;
    white-space: normal;
}

.game-updates-discord-preview .embed-description.embed-description-rich--pseudo-link {
    cursor: help;
}

.game-updates-discord-preview .gu-embed-prev-line {
    min-height: 1.2em;
}

.game-updates-discord-preview .gu-embed-prev-spacer {
    height: 0.42rem;
    min-height: 0;
}

.game-updates-discord-preview .gu-embed-prev-bullet {
    display: grid;
    grid-template-columns: 1.05em minmax(0, 1fr);
    gap: 0.4rem;
    align-items: baseline;
    margin-bottom: 0.08rem;
}

.game-updates-discord-preview .gu-embed-prev-bullet-mark {
    color: #8e9297;
    font-weight: 700;
    text-align: right;
    font-size: 0.92em;
}

.game-updates-discord-preview .discord-embed-live .embed-title {
    word-break: break-word;
}

.game-updates-discord-preview .discord-embed-live .embed-main-content > .embed-fields {
    margin-top: 0.35rem;
}

.game-updates-extra-embeds-editor {
    margin: 0.5rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.game-extra-embed-card {
    border: 1px solid rgba(102, 192, 244, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.22);
}

.game-extra-embed-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.game-extra-embed-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #c7d5e0;
}

.game-extra-embed-remove {
    background: transparent;
    border: none;
    color: #ed4245;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
}

.game-extra-embed-remove:hover {
    background: rgba(237, 66, 69, 0.12);
}

.game-extra-embed-card .select-input {
    margin-bottom: 0.45rem;
}

.game-extra-embed-textarea {
    min-height: 3.5rem;
    resize: vertical;
    font-family: inherit;
}

.game-extra-embed-row2 {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0.5rem;
}

@media (max-width: 720px) {
    .game-extra-embed-row2 {
        grid-template-columns: 1fr;
    }
}

/* Letzte Steam-Posts (Sidebar, angelehnt an Content „aktive Posts“) */
/* ----- Letzte Posts (kompakte One-Liner) ----- */
.gu-sub-heading {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
    color: #e3e6e8;
}

.gu-sub-heading--tight {
    margin-top: 0.85rem;
}

.gu-sub-heading-meta {
    margin-left: 4px;
    padding: 2px 7px;
    font-size: 0.65rem;
    font-weight: 500;
    color: #66c0f4;
    background: rgba(102, 192, 244, 0.1);
    border: 1px solid rgba(102, 192, 244, 0.25);
    border-radius: 999px;
    letter-spacing: 0.02em;
    cursor: help;
}

.gu-last-posted-refresh {
    margin-left: auto;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c7d5e0;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    font-size: 0.72rem;
    padding: 0;
}

.gu-last-posted-refresh:hover {
    background: rgba(102, 192, 244, 0.12);
    color: #fff;
    border-color: rgba(102, 192, 244, 0.4);
}

.game-updates-last-posted-wrap {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.game-updates-last-posted-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 2px;
}

.game-updates-last-posted-list::-webkit-scrollbar {
    width: 6px;
}

.game-updates-last-posted-list::-webkit-scrollbar-thumb {
    background: rgba(102, 192, 244, 0.35);
    border-radius: 4px;
}

.gu-lp-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 7px;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
    cursor: pointer;
}

.gu-lp-row:hover {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.32);
}

.gu-lp-row--empty {
    cursor: default;
    opacity: 0.65;
}

.gu-lp-row--empty:hover {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.05);
}

.gu-lp-row--orphan {
    border-style: dashed;
}

.gu-lp-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 22px;
    border-radius: 3px;
    object-fit: cover;
    background: #1b2838;
}

.gu-lp-text {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
    overflow: hidden;
}

.gu-lp-game {
    font-size: 0.78rem;
    font-weight: 600;
    color: #dcddde;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.gu-lp-meta {
    font-size: 0.7rem;
    color: #8e9297;
    white-space: nowrap;
    flex-shrink: 0;
}

.gu-lp-action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    color: #949cf7;
    font-size: 0.78rem;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.3);
    transition: background 0.12s ease, color 0.12s ease;
}

.gu-lp-row:hover .gu-lp-action {
    background: rgba(88, 101, 242, 0.32);
    color: #fff;
}

.gu-lp-action--placeholder {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: #6a6f78;
}

.game-updates-last-posted-empty {
    padding: 10px 6px;
    text-align: center;
    font-size: 0.78rem;
    color: #8e9297;
}

/* ----- Info-Strip (Pills) ----- */
.gu-info-strip {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    padding: 0.6rem 0.85rem !important;
}

.gu-info-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #c7d5e0;
    background: rgba(102, 192, 244, 0.06);
    border: 1px solid rgba(102, 192, 244, 0.18);
    border-radius: 999px;
    padding: 4px 10px;
    line-height: 1.35;
}

.gu-info-pill i {
    color: #66c0f4;
    font-size: 0.72rem;
}

.gu-info-pill strong {
    color: #ffffff;
    font-weight: 600;
}

.gu-info-pill em {
    font-style: normal;
    color: #fff;
    font-weight: 500;
}

/* ----- Locale Row (Sprache + Region nebeneinander) ----- */
.gu-locale-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.6rem;
    margin-top: 0.4rem;
}

.gu-locale-cell {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gu-locale-cell .gu-field-label {
    margin: 0 0 4px;
}

.gu-locale-cell .select-input {
    width: 100%;
}

@media (max-width: 540px) {
    .gu-locale-row {
        grid-template-columns: 1fr;
    }
}

/* Spiele hinzufügen: Modal mit Karten-Grid */

.gu-open-add-games-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center !important;
    margin-top: 0 !important;
    width: 100%;
    gap: 0.5rem;
    padding: 9px 14px !important;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(102, 192, 244, 0.45);
    background: linear-gradient(180deg, rgba(23, 29, 37, 0.95), rgba(30, 35, 42, 0.98));
    color: #c7d5e0 !important;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.gu-open-add-games-btn:hover {
    border-color: rgba(102, 192, 244, 0.75);
    background: linear-gradient(180deg, rgba(33, 40, 48, 0.98), rgba(38, 45, 55, 1));
    color: #eef4f9 !important;
}

.gu-open-add-games-btn .fab.fa-steam {
    color: #66c0f4;
    font-size: 1.1rem;
}

.modal-overlay .modal-content.gu-add-games-modal {
    width: min(96vw, 920px);
    max-width: 920px;
    max-height: min(92vh, 840px);
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 22px 64px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
}

.gu-add-games-modal .modal-header {
    flex-shrink: 0;
    padding: 0.95rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gu-add-games-modal .modal-header h3 {
    font-size: 1.06rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.gu-add-games-modal .modal-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    gap: 0.6rem;
    padding: 0.85rem 1.15rem 1.1rem;
    overflow-x: hidden;
    overflow-y: hidden;
}

.gu-add-games-modal .gu-add-games-hint {
    margin-bottom: 0;
    font-size: 0.74rem !important;
    line-height: 1.42;
}

.gu-add-games-modal .gu-game-search-results-modal {
    min-height: min(260px, 34vh);
    max-height: min(62vh, 620px);
    padding: 6px;
    margin: 2px -2px 0;
}

.gu-add-games-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gu-add-games-search-row .gu-add-games-search-icon {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.gu-add-games-search-row .gu-add-games-search-input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}


.gu-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Im Steam-„Spiele hinzufügen“-Modal: alte Sidebar-Limits ignorieren */
.game-search-results.gu-game-search-results-modal {
    margin: 0 -2px;
    border: none;
}

.gu-game-search-results-modal {
    flex: 1;
    min-height: min(260px, 36vh);
    max-height: min(58vh, 560px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px;
    margin: 0 -2px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
}

.gu-game-search-results-modal::-webkit-scrollbar {
    width: 8px;
}

.gu-game-search-results-modal::-webkit-scrollbar-thumb {
    background: rgba(102, 192, 244, 0.35);
    border-radius: 4px;
}

/* Liste: volle Breite für lange Steam-Titel */
.gu-game-pick-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gu-game-pick-card {
    display: grid;
    grid-template-columns: clamp(92px, 18vw, 118px) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 6px;
    padding: 8px 10px;
    margin: 0;
    border-radius: 9px;
    background: rgba(40, 42, 46, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.065);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
    transition:
        border-color 0.12s ease,
        background 0.12s ease,
        box-shadow 0.12s ease;
}

@media (prefers-reduced-motion: reduce) {
    .gu-game-pick-card {
        transition: none;
    }
}

.gu-game-pick-card:hover {
    background: rgba(48, 50, 55, 0.88);
    border-color: rgba(102, 192, 244, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.055) inset,
        0 0 0 1px rgba(102, 192, 244, 0.08);
}

.gu-game-pick-thumb-wrap {
    display: flex;
    align-self: stretch;
}

.gu-game-pick-thumb {
    align-self: center;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
    background: #1b1c20;
}

.gu-game-pick-thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 460 / 215;
}

.gu-game-pick-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: stretch;
    justify-content: center;
    padding-block: 2px;
}

.gu-game-pick-name {
    margin: 0;
    font-size: clamp(0.875rem, 1.85vw + 0.72rem, 0.9725rem);
    font-weight: 600;
    letter-spacing: -0.019em;
    color: #f5f7f9;
    line-height: 1.38;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.gu-game-pick-sub {
    margin: 0;
    padding: 0;
    font-size: 0.7125rem;
    font-weight: 400;
    line-height: 1.43;
    color: #9aa2ac;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .gu-game-pick-sub {
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        max-height: 4rem;
        overflow-y: auto;
    }
}

.gu-game-pick-meta {
    font-size: 0.7rem !important;
    font-weight: 500;
    color: #959ba3 !important;
    margin-top: 0 !important;
    line-height: 1.38;
}

.gu-game-pick-meta .gu-game-pick-appid {
    font-family:
        ui-monospace,
        'Cascadia Mono',
        'Segoe UI Mono',
        Menlo,
        monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.015em;
    color: #a8adb5;
}

.gu-game-pick-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
}

.gu-game-pick-actions .btn-add-game.gu-game-pick-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gu-game-pick-add-btn {
    flex-shrink: 0;
    width: auto !important;
    height: auto !important;
    min-height: 36px !important;
    margin-left: 0 !important;
    padding: 7px 15px !important;
    white-space: nowrap;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
    font-weight: 700;
}

@media (max-width: 520px) {
    .gu-game-pick-card {
        grid-template-columns: 74px minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .gu-game-pick-thumb-wrap {
        grid-row: 1 / span 2;
        align-self: center;
    }

    .gu-game-pick-thumb img {
        min-width: 0;
    }

    .gu-game-pick-actions {
        grid-column: 2 / -1;
        justify-self: stretch;
    }

    .gu-game-pick-actions .btn-add-game.gu-game-pick-add-btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .modal-overlay .modal-content.gu-add-games-modal {
        width: 100vw;
        max-height: none;
        min-height: 70vh;
    }
}

.gu-game-search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 200px;
    padding: 1.25rem;
    text-align: center;
    font-size: 0.82rem !important;
    color: var(--muted) !important;
    margin: 0 !important;
}

.gu-game-search-empty i {
    font-size: 2rem !important;
    opacity: 0.45 !important;
    color: inherit !important;
}

/* --- Game-Updates UI: Channel-Preview kompakt wie GitHub-Updates --- */
.game-updates-page {
    --gu-gap: 0.72rem;
    --gu-radius: 9px;
    --gu-surface: rgba(18, 18, 24, 0.38);
    --gu-border: rgba(255, 255, 255, 0.09);
}

.game-updates-page .content-wrapper {
    max-width: 1440px;
    margin: 0 auto;
}

.game-updates-page .github-updates-overview,
.game-updates-page .channel-detail-view {
    max-width: none;
    margin: 0;
}

.game-updates-page .overview-header.gu-toolbar {
    align-items: center;
    margin-bottom: calc(var(--gu-gap) + 0.15rem);
    gap: 0.9rem;
}

.game-updates-page .overview-title h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.game-updates-page .overview-title h2 i {
    color: #66c0f4;
    font-size: 1.15rem;
}

.game-updates-page .overview-title p {
    font-size: 0.9rem;
    color: #949ba4;
}

.game-updates-page .channel-list {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: calc(var(--gu-gap) + 0.1rem);
}

.game-updates-page .channel-card {
    padding: 1rem 1.1rem 0.9rem;
    border-radius: var(--gu-radius);
    background: var(--gu-surface);
}

.game-updates-page .channel-card-info h3 {
    font-size: 1.02rem;
}

.game-updates-page .refresh-channels-btn {
    min-width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--gu-radius);
}

.game-updates-page .refresh-channels-btn:hover {
    transform: none;
}

.game-updates-page .add-channel-btn {
    padding: 0.65rem 1.15rem;
    border-radius: var(--gu-radius);
    font-size: 0.95rem;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.28);
}

.game-updates-page .add-channel-btn:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.38);
}

.game-updates-page .detail-header.gu-detail-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: calc(var(--gu-gap) + 0.1rem);
    padding: 0.75rem 0.9rem;
    background: var(--gu-surface);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--gu-border);
    border-radius: var(--gu-radius);
}

.game-updates-page .back-to-overview-btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    border-radius: 9px;
    white-space: nowrap;
}

.game-updates-page .back-to-overview-btn:hover {
    transform: none;
}

.game-updates-page .gu-channel-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.game-updates-page .gu-channel-chip .channel-icon {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
    border-radius: 9px;
    flex-shrink: 0;
}

.game-updates-page .channel-name-container h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-updates-page .channel-id {
    font-size: 0.78rem;
    color: #949ba4;
}

.game-updates-page .channel-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.game-updates-page .action-btn {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 9px;
    gap: 0.45rem;
}

.game-updates-page .action-btn .gu-action-short {
    display: none;
}

.game-updates-page .action-btn .gu-action-long {
    display: inline;
}

.game-updates-page .manual-game-check-btn {
    background: rgba(0, 0, 0, 0.28);
    color: #e3e6e8;
    border: 1px solid rgba(102, 192, 244, 0.35);
    box-shadow: none;
}

.game-updates-page .manual-game-check-btn:hover:not(:disabled) {
    color: #fff;
    border-color: rgba(102, 192, 244, 0.55);
    background: rgba(102, 192, 244, 0.12);
    transform: none;
    box-shadow: none;
}

.game-updates-page .save-btn:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.35);
}

.game-updates-page .gu-detail-panels,
.game-updates-page .channel-settings-container {
    display: flex;
    flex-direction: column;
    gap: var(--gu-gap);
}

.game-updates-page .gu-detail-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    gap: calc(var(--gu-gap) + 0.15rem);
    align-items: stretch;
}

.game-updates-page .gu-detail-main {
    display: flex;
    flex-direction: column;
    gap: var(--gu-gap);
    min-width: 0;
}

.game-updates-page .gu-detail-sidebar.game-updates-games-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-top: 0;
    position: sticky;
    top: calc(var(--kynx-navbar-offset, 72px) + 4.5rem);
    align-self: start;
    max-height: calc(100vh - var(--kynx-navbar-offset, 72px) - 5rem);
    overflow: hidden;
}

.game-updates-page .gu-detail-sidebar .gu-card--games {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.game-updates-page .gu-detail-sidebar .gu-card--games .gu-card-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.game-updates-page .gu-channel-editor-row {
    display: grid;
    grid-template-columns: minmax(280px, 328px) minmax(0, 1fr);
    gap: calc(var(--gu-gap) + 0.15rem);
    align-items: stretch;
}

.game-updates-page .game-updates-controls-col {
    flex: none;
    max-width: none;
    width: auto;
    position: static;
    top: auto;
}

.game-updates-page .game-updates-preview-col {
    flex: none;
    max-width: none;
    min-width: 0;
}

.game-updates-page .gu-panel--preview.gu-preview-shell {
    margin: 0;
    padding: 0.75rem 0.85rem;
    border-radius: var(--gu-radius);
    background: var(--gu-surface);
    border: 1px solid var(--gu-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-updates-page .gu-panel--preview .settings-title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.game-updates-page .gu-preview-hint {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    max-width: none;
}

.game-updates-page .gu-preview-body {
    display: flex;
    flex-direction: column;
    gap: 0.58rem;
    flex: 1;
    min-height: 0;
}

.game-updates-page .game-updates-preview-hint {
    max-width: none;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.game-updates-page .game-updates-discord-preview.discord-chat-container {
    width: 100%;
    max-width: 520px;
    margin: 0;
    border-radius: var(--gu-radius);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.game-updates-page .game-updates-discord-preview .discord-chat-header {
    padding: 0.55rem 0.75rem;
}

.game-updates-page .game-updates-discord-preview .channel-info-header {
    font-size: 0.9rem;
}

.game-updates-page .game-updates-discord-preview .channel-info-header i {
    font-size: 1rem;
}

.game-updates-page .game-updates-discord-preview .discord-messages-area {
    padding: 0.65rem 0.75rem;
    min-height: 100px;
}

.game-updates-page .game-updates-discord-preview .discord-message {
    gap: 0.65rem;
}

.game-updates-page .game-updates-discord-preview .message-avatar {
    width: 32px;
    height: 32px;
}

.game-updates-page .game-updates-discord-preview .message-author {
    font-size: 0.88rem;
}

.game-updates-page .game-updates-discord-preview .message-badge {
    font-size: 0.58rem;
}

.game-updates-page .game-updates-discord-preview .message-timestamp {
    font-size: 0.72rem;
}

.game-updates-page .game-updates-discord-preview .game-updates-msg-row .message-text {
    min-height: 2rem;
    font-size: 0.88rem;
    padding: 0.4rem 0.5rem;
}

.game-updates-page .game-updates-discord-preview .discord-chat-input {
    padding: 0.55rem 0.75rem;
}

.game-updates-page .game-updates-discord-preview .add-embed-button {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    gap: 0.45rem;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.28);
}

.game-updates-page .game-updates-discord-preview .add-embed-button:hover:not(:disabled) {
    transform: none;
}

.game-updates-page .game-updates-discord-preview .inline-embed-editor,
.game-updates-page .game-updates-discord-preview .game-updates-static-embed-preview,
.game-updates-page .game-updates-discord-preview .embed-preview-container .discord-message-text-preview,
.game-updates-page .game-updates-discord-preview .embed-preview-container .discord-message-preview,
.game-updates-page .game-updates-discord-preview .embed-preview-container .discord-embed-preview {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.game-updates-page .game-updates-extra-embeds-editor {
    margin: 0.35rem 0 0.5rem;
    gap: 0.5rem;
}

.game-updates-page .game-extra-embed-card {
    padding: 0.55rem 0.7rem;
}

.game-updates-page .gu-card {
    border-radius: var(--gu-radius);
}

.game-updates-page .gu-card-title {
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
}

.game-updates-page .gu-card-body {
    padding: 0.75rem 0.85rem 0.85rem;
    gap: 0.55rem;
}

.game-updates-page .gu-switch-row {
    padding: 0.48rem 0.55rem;
}

.game-updates-page .gu-switch-text {
    font-size: 0.78rem;
}

@media (max-width: 1100px) {
    .game-updates-page .gu-detail-hero-layout {
        grid-template-columns: 1fr;
    }

    .game-updates-page .gu-detail-sidebar.game-updates-games-col {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .game-updates-page .gu-channel-editor-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .game-updates-page .game-updates-editor-row > .game-updates-preview-col {
        order: 1;
    }

    .game-updates-page .game-updates-editor-row > .game-updates-controls-col {
        order: 2;
    }
}

@media (max-width: 720px) {
    .game-updates-page .detail-header.gu-detail-bar {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .game-updates-page .gu-channel-chip {
        grid-column: 1 / -1;
        order: -1;
    }

    .game-updates-page .channel-actions {
        grid-column: 1 / -1;
        width: 100%;
        flex-wrap: wrap;
    }

    .game-updates-page .channel-actions .action-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    .game-updates-page .gu-back-label {
        display: none;
    }

    .game-updates-page .action-btn .gu-action-short {
        display: inline;
    }

    .game-updates-page .action-btn .gu-action-long {
        display: none;
    }
}

/* Indicators workspace: settings links, Vorschau rechts (Discord-Embed max. 432px) */
.indicators-page .channel-settings-container,
.indicators-page .gu-detail-panels {
    overflow: visible;
}

.indicators-page .ind-workspace {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(480px, 520px);
    gap: 1.25rem 1.5rem;
    align-items: start;
    width: 100%;
}

.indicators-page .ind-col--settings {
    grid-column: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(22, 23, 26, 0.52);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
}

.indicators-page .ind-col--preview {
    grid-column: 2;
    position: sticky;
    top: calc(var(--kynx-navbar-offset, 72px) + 5.5rem);
    align-self: start;
}

.indicators-page .ind-preview-panel.gu-panel--preview {
    background: rgba(22, 23, 26, 0.52);
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.indicators-page .ind-preview-chat.game-updates-discord-preview {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.3);
}

.indicators-page .ind-preview-chat .embed-preview-container,
.indicators-page .ind-preview-chat .discord-embed-preview {
    max-width: 432px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .indicators-page .ind-workspace {
        grid-template-columns: 1fr;
    }

    .indicators-page .ind-col--preview {
        grid-column: 1;
        position: static;
    }

    .indicators-page .ind-preview-chat.game-updates-discord-preview {
        max-width: 100%;
    }
}
.indicators-page .ind-settings-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.indicators-page .ind-drag-hint {
    font-size: 0.8rem;
    opacity: 0.65;
    margin-bottom: 0.75rem;
}
.indicators-page .ind-posts-editor-stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    overflow: visible;
    padding-right: 0.15rem;
    padding-bottom: 1.75rem;
}
.indicators-page .ind-post-card {
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    background: linear-gradient(145deg, rgba(88, 101, 242, 0.08) 0%, rgba(0, 0, 0, 0.35) 100%);
    cursor: grab;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.indicators-page .ind-field-block {
    margin-bottom: 0.85rem;
}
.indicators-page .ind-field-block--interval {
    max-width: 220px;
}
.indicators-page .ind-input-title {
    font-size: 1.05rem;
    font-weight: 500;
}
.indicators-page .ind-style-picker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.indicators-page .ind-style-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    color: #dcddde;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.indicators-page .ind-style-chip i {
    color: #5865f2;
    font-size: 1rem;
}
.indicators-page .ind-style-chip.active {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.2);
    box-shadow: 0 0 0 1px rgba(88, 101, 242, 0.5);
}
.indicators-page .ind-style-chip:hover:not(.active) {
    border-color: rgba(88, 101, 242, 0.45);
    background: rgba(88, 101, 242, 0.08);
}
.indicators-page .ind-style-chip-label {
    font-weight: 600;
    font-size: 0.85rem;
}
.indicators-page .ind-style-chip-desc {
    font-size: 0.7rem;
    opacity: 0.65;
    line-height: 1.2;
}
.indicators-page .ind-indicators-block {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.indicators-page .ind-indicators-head h5 {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
}
.indicators-page .ind-add-ind-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    background: rgba(87, 242, 135, 0.12);
    border: 1px dashed rgba(87, 242, 135, 0.35);
}
.indicators-page .ind-btn-danger {
    border-color: rgba(237, 66, 69, 0.4) !important;
    color: #ed4245 !important;
}
.indicators-page .ind-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.indicators-page .ind-publish-all-btn {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    border-color: rgba(88, 101, 242, 0.6);
}
.indicators-page .ind-publish-all-btn:hover:not(:disabled) {
    filter: brightness(1.08);
}
.indicators-page .ind-publish-all-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}
.indicators-page .ind-post-actions--solo {
    justify-content: flex-end;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.indicators-page .ind-preview-loading-inline {
    padding: 0.75rem;
    opacity: 0.6;
}
.indicators-page .discord-embed-preview .embed-footer {
    font-size: 0.72rem;
    color: #949ba4;
    margin-top: 0.5rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
/* Echtes 3-Spalten-Grid in der Vorschau (wie Discord inline fields) */
.indicators-page .discord-embed-preview .embed-fields.embed-fields-grid,
.indicators-page .discord-embed-preview .embed-fields.embed-fields-inline {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 0.65rem;
    flex-direction: unset;
    margin-top: 0.35rem;
}

.indicators-page .discord-embed-preview .embed-fields-grid .embed-field.inline,
.indicators-page .discord-embed-preview .embed-fields-inline .embed-field.inline {
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0.35rem 0.4rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.18);
}

.indicators-page .discord-embed-preview .embed-fields-grid .embed-field-name,
.indicators-page .discord-embed-preview .embed-fields-inline .embed-field-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #b5bac1;
    margin-bottom: 0.2rem;
    line-height: 1.2;
    word-break: break-word;
}

.indicators-page .discord-embed-preview .embed-fields-grid .embed-field-value,
.indicators-page .discord-embed-preview .embed-fields-inline .embed-field-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
}

.indicators-page .discord-embed-preview .embed-fields:not(.embed-fields-grid):not(.embed-fields-inline) {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.indicators-page .discord-embed-preview .embed-fields:not(.embed-fields-grid):not(.embed-fields-inline) .embed-field {
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.15);
}

.indicators-page .discord-embed-preview .embed-description {
    line-height: 1.45;
}

@media (max-width: 520px) {
    .indicators-page .discord-embed-preview .embed-fields.embed-fields-grid,
    .indicators-page .discord-embed-preview .embed-fields.embed-fields-inline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.indicators-page .ind-post-card.dragging {
    opacity: 0.5;
}
.indicators-page .ind-post-card.drag-over {
    border-color: #5865f2;
    box-shadow: 0 0 0 1px rgba(88, 101, 242, 0.4);
}
.indicators-page .ind-post-card-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.indicators-page .ind-post-drag {
    color: rgba(255, 255, 255, 0.4);
    cursor: grab;
}
.indicators-page .ind-post-nr {
    font-weight: 600;
    flex: 1;
}
.indicators-page .ind-post-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}
.indicators-page .ind-badge--live {
    background: rgba(87, 242, 135, 0.2);
    color: #57f287;
}
.indicators-page .ind-badge--draft {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}
.indicators-page .ind-post-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.indicators-page .ind-sub-title {
    margin: 0.75rem 0 0.35rem;
    font-size: 0.85rem;
    opacity: 0.85;
}
.indicators-page .ind-add-ind-btn {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}
.indicators-page .ind-preview-panel {
    margin: 0;
}
.indicators-page .ind-preview-sub {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.75rem;
}
.indicators-page .ind-preview-chat .discord-messages-area {
    min-height: 200px;
}
.indicators-page .ind-preview-message + .ind-preview-message {
    margin-top: 0.35rem;
}
.indicators-page .ind-avatar-spacer {
    visibility: hidden;
}
.indicators-page .ind-preview-loading,
.indicators-page .ind-preview-empty {
    padding: 2rem;
    text-align: center;
    opacity: 0.7;
}
.indicators-page .ind-indicators-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.indicators-page .ind-indicator-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.25);
}
.indicators-page .ind-indicator-row button {
    background: transparent;
    border: none;
    color: #ed4245;
    cursor: pointer;
}
.indicators-page .ind-post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.indicators-page .ind-search-results {
    max-height: 200px;
    overflow-y: auto;
    margin: 0.5rem 0;
}
.indicators-page .ind-coin-pick {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    text-align: left;
}
.indicators-page .ind-coin-pick:hover {
    background: rgba(88, 101, 242, 0.2);
}
.indicators-page .ind-modal-hint {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    opacity: 0.72;
    line-height: 1.35;
}
.indicators-page .ind-coin-pick-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
}
.indicators-page .ind-coin-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.35rem;
    font-size: 0.65rem;
    border-radius: 4px;
    background: rgba(87, 242, 135, 0.2);
    color: #57f287;
    vertical-align: middle;
}
.indicators-page .ind-coin-addr {
    font-size: 0.7rem;
    opacity: 0.65;
    font-family: ui-monospace, monospace;
}
.indicators-page .ind-coin-fallback {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}
.indicators-page .ind-type-tabs--3 .ind-type-tab {
    flex: 1;
    min-width: 0;
    font-size: 0.78rem;
}
.indicators-page .ind-metric-grid--scroll {
    max-height: 200px;
    overflow-y: auto;
}
.indicators-page .ind-kynx-section {
    margin-bottom: 0.75rem;
}
.indicators-page .ind-kynx-section-title {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.65;
    margin-bottom: 0.4rem;
}
.indicators-page .ind-role-picker {
    margin-top: 0.65rem;
}
.indicators-page .ind-role-select {
    width: 100%;
}
.indicators-page .ind-thumbnail-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}
.indicators-page .ind-thumbnail-toggle input {
    width: 1rem;
    height: 1rem;
    accent-color: #5865f2;
}
.indicators-page .ind-thumbnail-auto {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}
.indicators-page .ind-thumbnail-auto img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.2);
}
.indicators-page .ind-thumbnail-auto-label {
    font-size: 0.8rem;
    opacity: 0.8;
}
.indicators-page .ind-thumbnail-upload {
    margin-top: 0.5rem;
}
.indicators-page .ind-thumbnail-preview {
    min-height: 72px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
}
.indicators-page .ind-thumbnail-preview img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}
.indicators-page .ind-thumbnail-placeholder {
    font-size: 0.8rem;
    opacity: 0.55;
}
.indicators-page .ind-thumbnail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.indicators-page .ind-thumbnail-file-btn {
    cursor: pointer;
    margin: 0;
}
.indicators-page .discord-embed-preview .discord-embed {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}
.indicators-page .discord-embed-preview .embed-content {
    flex: 1;
    min-width: 0;
    order: 1;
}
.indicators-page .discord-embed-preview .embed-thumbnail {
    flex-shrink: 0;
    order: 2;
    margin-left: 0.5rem;
}
.indicators-page .discord-embed-preview .embed-thumbnail img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}
/* —— Post-Accordion (inline settings, kein Modal) —— */
.indicators-page .ind-post-accordion {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 0;
    background: rgba(30, 31, 34, 0.65);
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    overflow: hidden;
}

.indicators-page .ind-post-accordion.is-expanded {
    border-color: rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.08);
    overflow: visible;
}
.indicators-page .ind-post-head {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.45rem;
    min-height: 38px;
}
.indicators-page .ind-post-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.indicators-page .ind-post-toggle:hover {
    background: rgba(88, 101, 242, 0.25);
}
.indicators-page .ind-post-accordion.is-expanded .ind-post-toggle i {
    transform: rotate(90deg);
}
.indicators-page .ind-post-toggle i {
    transition: transform 0.15s ease;
    font-size: 0.75rem;
}
.indicators-page .ind-post-head-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
    text-align: left;
    padding: 0.15rem 0.25rem;
}
.indicators-page .ind-post-head-line1 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
}
.indicators-page .ind-post-row-nr {
    font-size: 0.7rem;
    opacity: 0.65;
    flex-shrink: 0;
}
.indicators-page .ind-post-head-title {
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.indicators-page .ind-post-row-meta {
    font-size: 0.72rem;
    opacity: 0.6;
}
.indicators-page .ind-post-head-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.indicators-page .ind-post-delete-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: rgba(237, 66, 69, 0.85);
    cursor: pointer;
}
.indicators-page .ind-post-delete-btn:hover {
    background: rgba(237, 66, 69, 0.15);
}
.indicators-page .ind-post-body {
    display: none;
    padding: 0.28rem 0.45rem 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px) saturate(1.12);
    -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.indicators-page .ind-post-accordion.is-expanded .ind-post-body {
    display: block;
}

.indicators-page .ind-post-body .ind-post-compact-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.3rem 0.45rem;
    align-items: end;
}

.indicators-page .ind-post-body .ind-modal-section {
    margin: 0;
    padding: 0.28rem 0;
    border: none;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.indicators-page .ind-post-body .ind-modal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.indicators-page .ind-post-body .ind-post-compact-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.28rem;
    margin-bottom: 0.05rem;
}

.indicators-page .ind-post-body .ind-post-compact-top .ind-modal-section {
    border-bottom: none;
    padding: 0;
}

.indicators-page .ind-post-body .ind-modal-label {
    margin-bottom: 0.2rem;
    font-size: 0.65rem;
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 500;
    color: #b5bac1;
}

.indicators-page .ind-post-body .ind-modal-input {
    padding: 0.32rem 0.45rem;
    font-size: 0.82rem;
    border-radius: 6px;
}

.indicators-page .ind-post-body .ind-interval-pills--compact {
    gap: 0.2rem;
}

.indicators-page .ind-post-body .ind-interval-pill {
    padding: 0.22rem 0.42rem;
    font-size: 0.68rem;
    line-height: 1.2;
}

.indicators-page .ind-post-body .ind-style-picker--compact {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.22rem;
}

.indicators-page .ind-post-body .ind-style-picker--compact .ind-style-chip {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.28rem 0.2rem;
    min-height: 0;
    border-radius: 6px;
    text-align: center;
}

.indicators-page .ind-post-body .ind-style-picker--compact .ind-style-chip i {
    font-size: 0.72rem;
    margin: 0;
}

.indicators-page .ind-post-body .ind-style-picker--compact .ind-style-chip-label {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.1;
}

.indicators-page .ind-post-body .ind-style-chip-desc {
    display: none;
}

.indicators-page .ind-post-body .ind-modal-section--style {
    padding-top: 0.22rem;
    padding-bottom: 0.28rem;
}

.indicators-page .ind-post-body .ind-thumbnail-compact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.indicators-page .ind-post-body .ind-thumbnail-toggle {
    margin: 0;
    font-size: 0.78rem;
    gap: 0.35rem;
}

.indicators-page .ind-post-body .ind-thumbnail-toggle input {
    width: 0.85rem;
    height: 0.85rem;
}

.indicators-page .ind-post-body .ind-thumbnail-compact-body {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
}

.indicators-page .ind-post-body .ind-thumbnail-auto {
    margin: 0;
    padding: 0.2rem 0.35rem;
    gap: 0.35rem;
    border-radius: 6px;
    flex: 1;
    min-width: 0;
}

.indicators-page .ind-post-body .ind-thumbnail-auto img {
    width: 32px;
    height: 32px;
}

.indicators-page .ind-post-body .ind-thumbnail-auto-label {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.indicators-page .ind-post-body .ind-thumbnail-upload {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.indicators-page .ind-post-body .ind-thumbnail-preview {
    min-height: 0;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin: 0;
    border-radius: 6px;
    padding: 0;
}

.indicators-page .ind-post-body .ind-thumbnail-preview img {
    width: 40px;
    height: 40px;
    max-height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.indicators-page .ind-post-body .ind-thumbnail-placeholder {
    font-size: 0.62rem;
    padding: 0.15rem;
    text-align: center;
}

.indicators-page .ind-post-body .ind-thumbnail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.indicators-page .ind-post-body .ind-thumbnail-actions .ind-modal-btn {
    padding: 0.26rem 0.45rem;
    font-size: 0.68rem;
    border-radius: 6px;
}

.indicators-page .ind-post-body .ind-thumbnail-actions .ind-modal-btn {
    white-space: nowrap;
}

.indicators-page .ind-post-body .ind-modal-section-head--row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.indicators-page .ind-post-body .ind-modal-section-head--row .ind-modal-label {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.indicators-page .ind-post-body .ind-modal-section-head--row .ind-post-add-indicator-btn {
    margin-left: auto;
    flex-shrink: 0;
}

.indicators-page .ind-post-body .ind-modal-section--thumbnail {
    padding-top: 0.22rem;
    padding-bottom: 0.28rem;
}

.indicators-page .ind-post-body .ind-modal-section--indicators {
    padding-top: 0.28rem;
}

.indicators-page .ind-post-body .ind-modal-section-head {
    margin-bottom: 0.2rem;
}

.indicators-page .ind-post-body .ind-modal-chips {
    gap: 0.22rem;
    min-height: 0;
    margin-bottom: 0.28rem;
}

.indicators-page .ind-post-body .ind-chip {
    padding: 0.18rem 0.32rem 0.18rem 0.4rem;
    font-size: 0.72rem;
}

.indicators-page .ind-post-body .ind-post-add-indicator-btn,
.indicators-page .ind-post-body .ind-modal-add-btn.ind-post-add-indicator-btn {
    width: auto;
    margin-top: 0;
    padding: 0.26rem 0.55rem;
    font-size: 0.72rem;
    border-style: solid;
    border-radius: 6px;
    display: inline-flex;
}

.indicators-page .ind-post-add-indicator-btn {
    width: 100%;
    margin-top: 0.35rem;
}

@media (max-width: 480px) {
    .indicators-page .ind-post-body .ind-post-compact-top {
        grid-template-columns: 1fr;
    }

    .indicators-page .ind-post-body .ind-style-picker--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .indicators-page .ind-post-body .ind-style-picker--compact .ind-style-chip {
        justify-content: flex-start;
        padding-left: 0.4rem;
    }
}
.indicators-page .ind-no-post,
.indicators-page .ind-empty-posts {
    opacity: 0.7;
    padding: 1rem;
}
@media (max-width: 1100px) {
    .indicators-page .ind-workspace {
        grid-template-columns: 1fr;
    }
    .indicators-page .ind-col--preview {
        position: static;
        order: -1;
    }
    .indicators-page .ind-posts-editor-stack {
        max-height: none;
    }
}
@media (max-width: 600px) {
    .indicators-page .ind-style-picker {
        grid-template-columns: 1fr;
    }
}

/* —— Compact post list + modern modals —— */
.indicators-page .ind-posts-editor-stack {
    gap: 0.45rem;
}

.indicators-page .ind-post-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.28);
    cursor: grab;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.indicators-page .ind-post-row:hover {
    border-color: rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.06);
}

.indicators-page .ind-post-row.is-editing {
    border-color: #5865f2;
    box-shadow: 0 0 0 1px rgba(88, 101, 242, 0.45);
    background: rgba(88, 101, 242, 0.12);
}

.indicators-page .ind-post-row.dragging {
    opacity: 0.45;
}

.indicators-page .ind-post-row.drag-over {
    border-color: #5865f2;
}

.indicators-page .ind-post-row-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding: 0.15rem 0.35rem;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.indicators-page .ind-post-row-nr {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.55;
    font-weight: 600;
}

.indicators-page .ind-post-row-title {
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.indicators-page .ind-post-row-meta {
    font-size: 0.72rem;
    opacity: 0.6;
}

.indicators-page .ind-post-row-edit {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.15);
    color: #aab0ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicators-page .ind-post-row-edit:hover {
    background: rgba(88, 101, 242, 0.3);
    color: #fff;
}

.indicators-page .ind-modal-overlay {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.72);
}

.indicators-page .ind-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.indicators-page .ind-modal {
    width: 100%;
    max-width: 440px;
    max-height: min(90vh, 720px);
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(165deg, #2b2d31 0%, #1a1b1e 100%);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(88, 101, 242, 0.12);
    overflow: hidden;
}

.indicators-page .ind-post-settings-modal {
    max-width: 480px;
}

.indicators-page .ind-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.indicators-page .ind-modal-kicker {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5865f2;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.indicators-page .ind-modal-head h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.indicators-page .ind-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #b5bac1;
    cursor: pointer;
    flex-shrink: 0;
}

.indicators-page .ind-modal-close:hover {
    background: rgba(237, 66, 69, 0.2);
    color: #ed4245;
}

.indicators-page .ind-modal-body {
    padding: 0.85rem 1.15rem 1rem;
}

.indicators-page .ind-modal-body--scroll {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.indicators-page .ind-modal-section {
    margin-bottom: 1rem;
}

.indicators-page .ind-modal-section:last-child {
    margin-bottom: 0;
}

.indicators-page .ind-modal-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #949ba4;
    margin-bottom: 0.4rem;
}

.indicators-page .ind-modal-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 0.95rem;
}

.indicators-page .ind-modal-input:focus {
    border-color: #5865f2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.25);
}

.indicators-page .ind-style-picker--modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.indicators-page .ind-style-picker--modal .ind-style-chip {
    padding: 0.5rem 0.6rem;
}

.indicators-page .ind-style-picker--modal .ind-style-chip-desc {
    display: none;
}

.indicators-page .ind-interval-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.indicators-page .ind-interval-pill {
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #b5bac1;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.12s;
}

.indicators-page .ind-interval-pill.active {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.25);
    color: #fff;
}

.indicators-page .ind-modal-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}

.indicators-page .ind-modal-count {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
    background: rgba(88, 101, 242, 0.25);
    color: #aab0ff;
}

.indicators-page .ind-modal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    min-height: 2rem;
    margin-bottom: 0.5rem;
}

.indicators-page .ind-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.45rem 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

.indicators-page .ind-chip button {
    border: none;
    background: transparent;
    color: #ed4245;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-size: 0.7rem;
}

.indicators-page .ind-modal-empty {
    font-size: 0.8rem;
    opacity: 0.55;
    margin: 0;
}

.indicators-page .ind-modal-add-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem;
    border-radius: 8px;
    border: 1px dashed rgba(87, 242, 135, 0.4);
    background: rgba(87, 242, 135, 0.08);
    color: #57f287;
    cursor: pointer;
    font-size: 0.85rem;
}

.indicators-page .ind-modal-foot {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 1.15rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.indicators-page .ind-modal-foot--single {
    padding-top: 0.65rem;
}

.indicators-page .ind-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.indicators-page .ind-modal-btn--ghost {
    flex: 1;
    background: transparent;
    border-color: rgba(237, 66, 69, 0.35);
    color: #ed4245;
}

.indicators-page .ind-modal-btn--primary {
    flex: 1;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: #fff;
}

.indicators-page .ind-modal-btn--full {
    width: 100%;
}

.indicators-page .ind-type-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.indicators-page .ind-type-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: #b5bac1;
    cursor: pointer;
    font-size: 0.85rem;
}

.indicators-page .ind-type-tab.active {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.2);
    color: #fff;
}

.indicators-page .ind-search-wrap {
    position: relative;
    margin-bottom: 0.5rem;
}

.indicators-page .ind-search-wrap i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.45;
    font-size: 0.85rem;
}

.indicators-page .ind-search-wrap .ind-modal-input {
    padding-left: 2.1rem;
}

.indicators-page .ind-currency-pills {
    display: flex;
    gap: 0.35rem;
}

.indicators-page .ind-currency-pill {
    flex: 1;
    padding: 0.45rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    color: #b5bac1;
    cursor: pointer;
    font-weight: 600;
}

.indicators-page .ind-currency-pill.active {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.2);
    color: #fff;
}

.indicators-page .ind-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
}

.indicators-page .ind-metric-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0.35rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
    color: #b5bac1;
    font-size: 0.72rem;
    cursor: pointer;
}

.indicators-page .ind-metric-chip i {
    font-size: 0.95rem;
    opacity: 0.85;
}

.indicators-page .ind-metric-chip.active {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.18);
    color: #fff;
}

.indicators-page .ind-search-results--modal {
    max-height: 160px;
    margin-bottom: 0.75rem;
}

@media (max-width: 520px) {
    .indicators-page .ind-modal {
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        max-height: 92vh;
    }
    .indicators-page .ind-modal-overlay.active {
        align-items: flex-end;
        padding: 0;
    }
    .indicators-page .ind-style-picker--modal {
        grid-template-columns: 1fr;
    }
}
