


.sync-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-deep);
    z-index: 10000;
    width: 300px;
}

.sync-toast-content {
    display: flex;
    gap: 16px;
}

.sync-toast-icon {
    font-size: 24px;
    color: var(--accent);
    display: flex;
    align-items: center;
}

.sync-toast-info {
    flex: 1;
}

.sync-toast-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 12px;
}

.sync-progress-container {
    height: 6px;
    background: var(--bg-hover);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}


.software-center-header {
    margin-bottom: 24px;
    padding: 24px 30px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 10% 20%, rgba(127, 163, 187, 0.08) 0%, transparent 60%), 
                radial-gradient(circle at 90% 80%, rgba(0, 122, 255, 0.06) 0%, transparent 60%),
                var(--bg-panel);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.software-center-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.software-center-header-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: var(--accent);
    margin-right: 12px;
    filter: drop-shadow(0 0 10px rgba(127, 163, 187, 0.35));
    background: transparent;
}



.software-center-header-text h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.software-center-header-text p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

.software-updates-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .software-updates-bento {
        grid-template-columns: 1fr;
    }
}

.bento-card {
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--border-hover);
}

.bento-card-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bento-card-title i {
    color: var(--accent-purple);
}

.bento-list-items {
    display: flex;
    flex-direction: column;
}

.bento-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.bento-list-item:last-child {
    border-bottom: none;
}

.bento-item-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    min-height: 40px;
    position: relative;
}

.bento-item-info i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    transform: none !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.bento-item-info i.accent {
    color: var(--accent-purple);
}

.bento-item-info div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bento-item-info strong,
.bento-item-info span {
    margin: 0;
    padding: 0;
    line-height: 1.15;
}

.bento-item-info strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.bento-item-info span {
    font-size: 12px;
    color: var(--text-muted);
}


.version-badge-pill {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.version-badge-pill.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}


.update-state-panel {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}


.checking-loader-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checking-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--accent-purple);
    border-bottom-color: var(--accent-blue);
    animation: rotateRing 2s linear infinite;
}

.checking-ring-inner {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-left-color: var(--accent-blue);
    border-right-color: var(--accent-purple);
    animation: rotateRingBack 1.5s linear infinite;
    opacity: 0.7;
}

.checking-icon {
    font-size: 22px;
    color: var(--text-dim);
    animation: pulseIcon 1.5s infinite ease-in-out;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateRingBack {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulseIcon {
    0%, 100% { opacity: 0.5; transform: scale(0.9) translateY(1px); }
    50% { opacity: 1; transform: scale(1.1) translateY(1px); }
}




.btn-update-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
    background: var(--bg-hover);
    color: var(--text-main);
    text-decoration: none;
    outline: none;
}



.btn-update-action:hover {
    background: var(--bg-active);
    border-color: var(--accent-purple);
    transform: translateY(-1px);
}

.btn-update-action.btn-gradient {
    background: var(--accent-gradient);
    border: none;
    color: white;
    box-shadow: 0 8px 24px rgba(127, 163, 187, 0.3);
}

.btn-update-action.btn-gradient:hover {
    box-shadow: 0 12px 32px rgba(127, 163, 187, 0.45);
    transform: translateY(-2px);
}

.btn-update-action.btn-gradient:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


.update-found-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.update-found-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.update-found-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.update-badge-pill {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
    width: fit-content;
}

.update-version-label {
    font-size: 32px;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
}

.notes-panel-glass {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    max-height: 150px;
    overflow-y: auto;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-dim);
}

.notes-panel-glass::-webkit-scrollbar {
    width: 4px;
}

.notes-panel-glass::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.notes-panel-glass::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.notes-panel-glass h1,
.notes-panel-glass h2 {
    color: var(--accent-purple);
    font-size: 14px;
    margin-bottom: 8px;
}

.notes-panel-glass ul {
    padding-left: 16px;
}


.glow-backdrop-green {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.glow-backdrop-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(127, 163, 187, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.soft-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
}

.soft-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.soft-badge.accent {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.soft-progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 10px 0;
}

.soft-progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    box-shadow: 0 0 15px var(--accent-glow);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
}

.soft-progress-bar.indeterminate {
    width: 30%;
    position: absolute;
    animation: softProgress 1.5s infinite ease-in-out;
}

@keyframes softProgress {
    0% { left: -30%; }
    100% { left: 100%; }
}


.discord-setup-guide {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 20px 24px;
}

.setup-step {
    display: flex;
    gap: 20px;
    position: relative;
}

.setup-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 36px;
    width: 2px;
    height: calc(100% - 10px);
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.3;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--bg-panel);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--accent-glow);
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.step-content p {
    margin: 0;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

.glass-input-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    margin-top: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.glass-input-card:focus-within {
    border-color: #5865F2;
    
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.5);
}

.glass-input-card i {
    font-size: 16px;
    color: var(--text-dim);
    transition: var(--transition);
}

.glass-input-card:focus-within i {
    color: #5865F2;
}

.glass-input-card input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    width: 100%;
    font-family: inherit;
}

.glass-input-card input::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.discord-badge {
    background: #5865F2;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}



.software-hero {
    margin-bottom: 32px;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.05), transparent 80%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.software-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

.hero-icon-large {
    font-size: 64px;
    margin-bottom: 24px;
    display: inline-block;
}

.hero-title {
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 10px 0;
    color: #fff;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    color: var(--text-dim);
    max-width: 460px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.6;
}


.hero-indigo {
    background: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.15), transparent 80%);
    border-color: rgba(99, 102, 241, 0.1);
}

.hero-indigo .hero-icon-large {
    color: #6366f1;
    filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.5));
}

.hero-emerald {
    background: radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.15), transparent 80%);
    border-color: rgba(16, 185, 129, 0.1);
}

.hero-emerald .hero-icon-large {
    color: #10b981;
    filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.5));
}

.hero-slate {
    background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.1), transparent 80%);
    border-color: rgba(255, 255, 255, 0.05);
}

.hero-slate .hero-icon-large {
    color: #fff;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.3));
}

.hero-discord {
    background: radial-gradient(circle at 50% -20%, rgba(88, 101, 242, 0.15), transparent 80%);
    border-color: rgba(88, 101, 242, 0.1);
}

.hero-discord .hero-icon-large {
    color: #5865f2;
    filter: drop-shadow(0 0 25px rgba(88, 101, 242, 0.5));
}

.discord-hero-card i {
    font-size: 48px;
    color: #5865F2;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.4));
}

.discord-hero-card h2 {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.discord-hero-card p {
    color: var(--text-dim);
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
}


.toast-popup-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-notification {
    background: rgba(20, 20, 22, 0.9);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    width: 320px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.toast-header h3 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.toast-close-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
}

.toast-close-btn:hover {
    color: #fff;
}

.toast-version-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
    align-self: flex-start;
}

.toast-text {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 16px;
}


.sync-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 340px;
    z-index: 100000;
    pointer-events: auto;
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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


.tech-readout-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--text-muted);
}

.tech-value {
    color: var(--accent-bright);
    font-weight: 800;
}

.inspector-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 60px 0;
    
    gap: 0;
}

.studio-card {
    flex: 1 1 240px;
    
    min-width: 220px;
    
    max-width: 480px;
    background: rgba(25, 25, 30, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin: 12px 6px;
    display: flex;
    flex-direction: column;
    
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    height: calc(100% - 24px);
}


.studio-card>div:not(.section-header) {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 16px 20px 16px;
}


.studio-card>div:not(.section-header)::-webkit-scrollbar {
    width: 4px;
}

.studio-card>div:not(.section-header)::-webkit-scrollbar-track {
    background: transparent;
}

.studio-card>div:not(.section-header)::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.studio-card>div:not(.section-header)::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.studio-card:first-child {
    margin-left: 12px;
}

.studio-card .section-header {
    background: rgba(255, 255, 255, 0.04);
    border-top: none;
    padding: 12px 16px;
}


.insp-input {
    background-color: var(--bg-sunken) !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
    padding: 10px 20px !important;
    height: 40px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    outline: none !important;
    color: var(--text-main) !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    display: inline-flex;
    align-items: center !important;
    color-scheme: var(--native-scheme) !important;
}

.insp-input:focus {
    border-color: var(--accent-line) !important;
    box-shadow: 0 0 0 3px var(--accent-soft) !important;
    background-color: var(--bg-sunken) !important;
}


select.insp-input {
    display: inline-block;
    vertical-align: middle !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 14px !important;
    padding-left: 20px !important;
    padding-right: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    cursor: pointer;
    line-height: 38px !important; 
    color-scheme: dark !important;
}

select.insp-input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

select.insp-input option {
    background-color: #101014 !important; 
    color: var(--text-main) !important;
    font-family: inherit !important;
    font-size: 12px !important;
}


input::-webkit-calendar-picker-indicator {
    display: none !important;
}

.inspector-footer {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 20;
}




.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.asset-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 120px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.asset-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.asset-preview {
    display: block;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.asset-name {
    font-size: 10px;
    color: var(--text-dim);
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-controls {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.search-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px;
}

.search-wrap i {
    color: var(--text-dim);
}

.search-wrap input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    flex: 1;
    font-size: 14px;
}

.gallery-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    gap: 16px;
    color: var(--text-dim);
}

.gallery-loading i {
    font-size: 32px;
    color: var(--accent);
}

input:checked+.slider {
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--accent);
}

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


.about-hero-card {
    position: relative;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 50% 0%, rgba(127, 163, 187, 0.12) 0%, rgba(127, 163, 187, 0.03) 50%, var(--bg-panel) 100%);
    border: 1px solid var(--border);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.about-logo-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo-glow {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: var(--accent-gradient);
    filter: blur(20px);
    opacity: 0.35;
    animation: logoPulse 3s infinite ease-in-out;
}

.about-logo-img {
    position: relative;
    width: 76px;
    height: 76px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.about-hero-card h2 {
    font-size: 26px;
    font-weight: 900;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.about-hero-card h2 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-card p {
    font-size: 13px;
    color: var(--text-dim);
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-hero-stats {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.about-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .about-bento-grid {
        grid-template-columns: 1fr;
    }
}

.about-community-card {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .about-community-card {
        grid-column: span 1;
    }
}

.about-community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.community-item-box, .community-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.community-link-card:hover {
    background: rgba(127, 163, 187, 0.04);
    border-color: rgba(127, 163, 187, 0.3);
    transform: translateY(-2px);
}

.community-icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-dim);
    transition: var(--transition);
    background: transparent;
}



.community-item-box .community-icon-box i {
    color: var(--accent-purple);
}

.community-link-card:hover .community-icon-box {
    color: var(--accent-purple);
    transform: scale(1.15);
}

.community-link-card:hover .community-icon-box i {
    color: var(--accent-purple);
}

.community-text-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    text-align: left;
}

.community-text-box strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.community-text-box span {
    font-size: 11px;
    color: var(--text-muted);
}

.arrow-icon {
    font-size: 12px;
    color: var(--text-muted);
    transition: var(--transition);
}

.community-link-card:hover .arrow-icon {
    color: var(--accent-purple);
    transform: translate(2px, -1.5px);
}

.about-footer {
    text-align: center;
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}


i.fa-solid, i.fa-brands, i.fa-regular, i.fa {
    transform: translateY(0.15em);
}


.btn i,
.btn-update-action i,
.nav-btn i,
.btn-icon-only i,
.toast-close-btn i,
.software-center-header-icon i,
.action-item .icon i,
.community-icon-box i,
.insp-preview-icon,
.insp-placeholder i,
.discord-connected-banner:not(i) i, 
.discord-hero-card i,
.gallery-loading i {
    transform: translateY(0.06em) !important;
}


i.fa-spin,
i.fa-pulse,
i.fa-bounce,
i.fa-flip,
.checking-icon,
.success-icon-wrap i {
    transform: translateY(0) !important;
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.sound-grid {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sound-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.sound-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 20px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sound-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(2px);
}

.sound-row-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.sound-row-info i {
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.sound-row-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sound-row-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sound-row-meta {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.sound-row-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sound-row-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.2s;
}

.sound-row-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: var(--accent);
}

.sound-row-btn.play-btn:hover {
    color: var(--success);
    border-color: var(--success);
}

.sound-row-btn.delete-btn:hover {
    color: var(--danger);
    border-color: var(--danger);
}

.sound-row-btn.select-btn {
    width: auto;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sound-row-btn.select-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}


.recording-pulse-badge {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #f87171 !important;
    animation: recPulse 1.5s infinite;
}

@keyframes recPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}




.custom-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 4, 6, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-dialog-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-dialog-card {
    background: var(--bg-raised);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 440px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    transform: scale(0.92) translateY(15px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.custom-dialog-overlay.active .custom-dialog-card {
    transform: scale(1) translateY(0);
}

.custom-dialog-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.dialog-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dialog-title-group h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dialog-icon {
    font-size: 16px;
}

.dialog-icon.confirm {
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.dialog-icon.alert {
    color: var(--danger);
    filter: drop-shadow(0 0 8px var(--danger-glow));
}

.dialog-close-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.dialog-close-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.custom-dialog-body {
    padding: 24px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dim);
    font-weight: 500;
}

.custom-dialog-footer {
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: transparent;
    border-top: 1px solid var(--border);
}

.custom-dialog-footer .btn {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


