:root, html, body {
    background-color: #0b0b14;
    color: #f8fafc;
}

dialog.gh-modal-backdrop {
    border: none;
    margin: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    color: inherit;
}
/* Main Content Layout */
main {
    flex: 1;
    width: 100%;
    margin: 0 auto;
    padding: 7rem 0 4rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    z-index: 100;
    padding: 2.5rem 1.5rem 2.5rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 0.75s ease-out;
}

/* Hero Logo Backdrop / Watermark */
.hero-logo-backdrop {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 98vw);
    max-width: 1200px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.28;
    filter: drop-shadow(0 0 70px rgba(139, 92, 246, 0.75)) drop-shadow(0 0 140px rgba(56, 189, 248, 0.35));
    user-select: none;
    display: flex;
    justify-content: center;
}

.hero-logo-backdrop img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.version-badge,
.hero-title,
.hero-subtitle,
.cta-group,
.platform-info,
.stats-widget {
    position: relative;
    z-index: 2;
}



.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(139, 92, 246, 0.12);
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
    color: var(--primary-light);
    border: 1px solid rgba(139, 92, 246, 0.35);
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.pulse-dot,
.version-badge .pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse-emerald 2s infinite ease-in-out;
    flex-shrink: 0;
}

.pulse-dot-green {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse-emerald 2s infinite ease-in-out;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2.3rem, 5.5vw, 4.1rem);
    line-height: 1.12;
    margin-bottom: 1.25rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.035em;
    font-weight: 800;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #c084fc 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 2rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Call to Actions */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1.85rem;
    border-radius: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn svg,
.btn i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 20px rgba(124, 58, 237, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(124, 58, 237, 0.65),
        0 0 45px rgba(139, 92, 246, 0.5);
    color: #ffffff;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.25;
}

.btn-primary-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.btn-primary-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: #ffffff;
    background: #241942;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-discord {
    background: #18193f;
    border: 1px solid rgba(88, 101, 242, 0.45);
    color: #e0e7ff;
}

.btn-discord:hover {
    background: #272863;
    color: #ffffff;
    border-color: #5865f2;
    transform: translateY(-2px);
}

/* Platform Trust Row */
.platform-info {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin: 1.25rem auto 1.75rem;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9999px;
    transition: all var(--transition-fast);
}

.platform-badge svg,
.platform-badge img,
.platform-badge i {
    width: 15px;
    height: 15px;
    color: var(--primary-light);
    opacity: 0.9;
    flex-shrink: 0;
}

.platform-badge:hover {
    color: var(--text-main);
    border-color: rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.09);
}


/* ==========================================================================
   Interactive GenHub Desktop Simulation (Replicating Native Client)
   ========================================================================== */
.showcase-container {
    position: relative;
    z-index: 10;
    max-width: 1220px;
    margin: 2.5rem auto 5rem;
    padding: 0 1.5rem;
}

.showcase-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.app-showcase-frame {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
}

.app-ambient-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse 65% 50% at 50% 35%, rgba(139, 92, 246, 0.35) 0%, rgba(56, 189, 248, 0.15) 45%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}

/* App Window Shell */
/* ==========================================================================
   GENHUB NATIVE AVALONIA CLIENT SIMULATION (1:1 FIDELITY)
   ========================================================================== */


.genhub-app-window input,
.genhub-app-window textarea,
.genhub-app-window select {
    user-select: text;
}

.genhub-app-window {
    --gh-accent: #8b5cf6;
    --gh-accent-hover: #7c3aed;
    --gh-accent-glow: rgba(139, 92, 246, 0.4);
    --gh-accent-light: rgba(139, 92, 246, 0.18);
    --gh-accent-border: rgba(139, 92, 246, 0.45);
    position: relative;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gh-accent-border, rgba(139, 92, 246, 0.35));
    box-shadow: 
        0 24px 70px -12px rgba(0, 0, 0, 0.9),
        0 0 45px var(--gh-accent-glow, rgba(124, 58, 237, 0.15));
    background: #111118;
    user-select: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 740px;
    max-height: 85vh;
}

/* Window Titlebar (MainWindow.axaml) */
.genhub-titlebar {
    height: 40px;
    background: #161622;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}

.genhub-titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 180px;
}

.genhub-titlebar-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.genhub-titlebar-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #ffffff;
}

.genhub-titlebar-center {
    display: flex;
    justify-content: center;
    flex: 1;
}

.genhub-pill-nav {
    display: inline-flex;
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}

.genhub-pill-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.genhub-pill-btn:hover {
    color: #ffffff;
}

.genhub-pill-btn.active {
    background: var(--gh-accent, #7c3aed);
    color: #ffffff;
    box-shadow: 0 2px 8px var(--gh-accent-glow, rgba(139, 92, 246, 0.4));
}

.genhub-titlebar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 180px;
    justify-content: flex-end;
}

.genhub-title-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.genhub-tb-btn {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.genhub-tb-btn:hover {
    background: #232332;
    color: #ffffff;
}

.genhub-tb-btn.active {
    background: var(--gh-accent-light, rgba(139, 92, 246, 0.2));
    color: var(--gh-accent, #7c3aed);
    border: 1px solid var(--gh-accent-border, rgba(139, 92, 246, 0.4));
}

.gh-bell-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #dc2626;
    color: #ffffff;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.genhub-window-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gh-win-btn {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

/* Notification Feed Flyout (NotificationFeedView.axaml) */
.gh-notification-flyout {
    position: absolute;
    top: 44px;
    right: 14px;
    width: 360px;
    background: #181824;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    z-index: 1200;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: ghFadeIn 0.15s ease;
}

.gh-notification-flyout.active {
    display: flex;
}

.gh-notif-header {
    padding: 12px 14px;
    background: #1e1e2d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gh-notif-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-notif-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

.gh-notif-badge {
    font-size: 10px;
    font-weight: 700;
    color: #38bdf8;
    background: #0c2333;
    padding: 2px 7px;
    border-radius: 10px;
}

.gh-notif-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gh-notif-act-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 11.5px;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: inherit;
    transition: all 0.15s;
}

.gh-notif-act-btn:hover {
    color: #ffffff;
    background: #232332;
}

.gh-notif-list {
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.gh-notif-item {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: background 0.15s;
}

.gh-notif-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.gh-notif-item.unread {
    background: rgba(139, 92, 246, 0.05);
}

.gh-notif-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gh-notif-icon-wrap.update { background: #0c2333; color: #38bdf8; }
.gh-notif-icon-wrap.hardlink { background: #0c271e; color: #34d399; }
.gh-notif-icon-wrap.replay { background: #231638; color: #c084fc; }

.gh-notif-content {
    flex: 1;
}

.gh-notif-item-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.gh-notif-item-text {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.35;
}

.gh-notif-item-time {
    font-size: 10px;
    color: #64748b;
    margin-top: 4px;
}

/* App Viewport */
.genhub-app-viewport {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #0f0f16;
}

.genhub-view-pane {
    display: none;
    animation: ghFadeIn 0.18s ease;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.genhub-view-pane.active {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

#gh-pane-profiles {
    overflow-y: auto;
}

#gh-pane-profiles.active {
    display: block;
    flex: 1;
    min-height: 0;
}

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

/* Toast Notifications Container (NotificationToastView.axaml) */
.genhub-toast-container {
    position: absolute;
    top: 18px;
    right: 18px;
    bottom: auto;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.genhub-toast {
    pointer-events: auto;
    width: 320px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    background: #181824;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
    padding: 10px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: ghSlideInToast 0.22s ease;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

@keyframes ghSlideInToast {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes ghSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gh-loading-spinner {
    animation: ghSpin 0.8s linear infinite;
}

.genhub-toast-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.genhub-toast.success .genhub-toast-icon { background: #0c271e; color: #34d399; }
.genhub-toast.info .genhub-toast-icon { background: #0c2333; color: #38bdf8; }
.genhub-toast.warning .genhub-toast-icon { background: #2f2008; color: #fbbf24; }

.genhub-toast-body {
    flex: 1;
}

.genhub-toast-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.genhub-toast-desc {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.35;
}

.genhub-toast-close {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.genhub-toast-close:hover {
    color: #ffffff;
}

/* ==========================================================================
   MODALS SYSTEM (ProfileSelectionView, SetupWizardView, Settings)
   ========================================================================== */
.gh-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: ghFadeIn 0.18s ease;
}

.gh-modal-backdrop.active {
    display: flex;
}

.gh-modal-window {
    background: #161622;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gh-modal-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
    padding: 4px 8px;
    border-radius: 4px;
}

.gh-modal-close-btn:hover {
    background: #dc2626;
    color: #ffffff;
}

/* Profile Selection Modal (Image 2) */
.gh-modal-window.profile-selection {
    max-width: 820px;
}

.gh-sel-header {
    padding: 16px 22px 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gh-sel-title-wrap h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.gh-sel-subtitle {
    font-size: 12px;
    color: #c084fc;
    font-weight: 500;
}

.gh-sel-body {
    padding: 18px 22px;
    max-height: 520px;
    overflow-y: auto;
}

.gh-sel-subheading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.gh-sel-subheading .title {
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff;
}

.gh-sel-subheading .count-badge {
    font-size: 12px;
    font-weight: 600;
    color: #a7f3d0;
    background: #064e3b;
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 2px 10px;
    border-radius: 12px;
}

.gh-sel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.gh-sel-card {
    position: relative;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    background: #14141e;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.18s ease;
}

.gh-sel-card:hover {
    border-color: #34d399;
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.35);
    transform: translateY(-2px);
}

.gh-sel-add-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #047857;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.gh-sel-card.create-new {
    border: 2px dashed rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.gh-sel-card.create-new:hover {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.08);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.gh-sel-create-icon {
    font-size: 40px;
    font-weight: 300;
    color: #c084fc;
    line-height: 1;
    margin-bottom: 6px;
}

.gh-sel-create-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.gh-sel-create-sub {
    font-size: 11.5px;
    color: #94a3b8;
}

.gh-wizard-chk {
    width: 18px;
    height: 18px;
    accent-color: var(--gh-accent, #7c3aed);
    cursor: pointer;
}

.gh-form-group {
    margin-bottom: 14px;
}

.gh-form-row {
    display: flex;
    gap: 12px;
}

.gh-form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 5px;
}

.gh-form-input, .gh-form-select {
    width: 100%;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12.5px;
    color: #ffffff;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.gh-form-input:focus, .gh-form-select:focus {
    border-color: #a855f7;
}

.gh-btn-secondary {
    background: #232332;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.gh-btn-secondary:hover {
    background: #2a2a3c;
    color: #ffffff;
}

.gh-btn-primary {
    background: var(--gh-accent, #7c3aed);
    border: 1px solid var(--gh-accent-hover, #7c3aed);
    color: #ffffff;
    border-radius: 6px;
    padding: 7px 20px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 2px 10px var(--gh-accent-glow, rgba(139, 92, 246, 0.35));
    transition: all 0.15s ease;
}

.gh-btn-primary:hover {
    background: var(--gh-accent-hover, #7c3aed);
    border-color: var(--gh-accent, #7c3aed);
    box-shadow: 0 0 12px var(--gh-accent-glow, rgba(168, 85, 247, 0.4));
}

/* ==========================================================================
   TAB 1: GAME PROFILES VIEW (GameProfileLauncherView.axaml)
   ========================================================================== */
.gh-profiles-view {
    padding: 16px 20px;
}

.gh-profiles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.gh-profiles-titles h2 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.gh-profiles-titles p {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    display: inline-block;
}

.gh-loaded-count {
    font-size: 11.5px;
    color: #a855f7;
    margin-left: 10px;
    font-weight: 600;
}

.gh-scan-btn {
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.gh-scan-btn:hover {
    background: #272535;
    border-color: var(--gh-accent-border, rgba(168, 85, 247, 0.5));
    box-shadow: 0 0 10px var(--gh-accent-glow, rgba(168, 85, 247, 0.2));
}

.gh-profiles-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 16px;
    padding: 4px 2px 20px;
    max-height: 520px;
    overflow-y: auto;
}

.gh-profile-card {
    position: relative;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    background: #161622;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 0.18s ease;
}

.gh-profile-card:hover {
    transform: translateY(-2px);
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35), 0 8px 24px rgba(0, 0, 0, 0.6);
}

.gh-profile-card.active-profile {
    border-color: #10b981 !important;
    box-shadow: 0 0 22px rgba(16, 185, 129, 0.4), 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

.gh-running-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #047857;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 12px;
    display: none;
    align-items: center;
    gap: 5px;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.gh-profile-card.active-profile .gh-running-badge {
    display: inline-flex;
}

.gh-running-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    animation: ghPulse 1.2s infinite ease-in-out;
}

@keyframes ghPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; }
}

/* Hover Action Buttons on Profile Card (Steam, Edit, Clone, Pin, Trash - Image 7) */
.gh-card-actions-bar {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 25;
    opacity: 0;
    transform: translateY(-3px);
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.gh-profile-card:hover .gh-card-actions-bar,
.gh-profile-card:focus-within .gh-card-actions-bar,
.gh-profile-card.active-profile .gh-card-actions-bar {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gh-card-act-btn {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: rgba(17, 17, 24, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.14s ease;
    padding: 0;
}

.gh-card-act-btn:hover {
    background: #7c3aed;
    border-color: #a855f7;
    color: #ffffff;
    transform: scale(1.12);
}

.gh-act-icon-img {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

.gh-card-act-btn.delete-btn:hover {
    background: #ef4444;
    border-color: #f87171;
}

.gh-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.gh-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 14, 0.96) 0%, rgba(10, 10, 14, 0.65) 48%, rgba(10, 10, 14, 0.12) 100%);
}

.gh-card-meta {
    position: relative;
    z-index: 2;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gh-card-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gh-card-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    flex-shrink: 0;
}

.gh-card-badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gh-card-texts {
    min-width: 0;
    flex: 1;
}

.gh-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.gh-card-sub {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gh-card-tags {
    display: flex;
    gap: 5px;
    margin-left: 46px;
}

.gh-tag {
    font-size: 10px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 2px 6px;
    white-space: nowrap;
}

/* Hover Overlay / Launch Button */
.gh-card-hover {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 16, 0.45);
    backdrop-filter: blur(2px);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: opacity 0.2s ease;
}

.gh-profile-card:hover .gh-card-hover,
.gh-profile-card:focus-within .gh-card-hover {
    opacity: 1;
    pointer-events: auto;
}

.gh-profile-card:hover,
.gh-profile-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.gh-launch-btn {
    background: #ffffff;
    color: #111118;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    padding: 7px 22px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s, background 0.15s;
    font-family: inherit;
}

.gh-launch-btn:hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

.gh-launch-btn svg {
    width: 13px;
    height: 13px;
    fill: #111118;
}

.gh-profile-card.active-profile .gh-launch-btn {
    background: #dc2626;
    color: #ffffff;
}

.gh-profile-card.active-profile .gh-launch-btn svg {
    fill: #ffffff;
}

/* Add New Profile Card (GameProfileLauncherView.axaml Button.add-profile-button) */
.gh-profile-card.add-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px dashed rgba(255, 255, 255, 0.22);
    box-shadow: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
}

.gh-profile-card.add-card:hover {
    background: var(--gh-accent-glow, rgba(139, 92, 246, 0.08));
    border-color: var(--gh-accent, #8b5cf6) !important;
    box-shadow: 0 0 16px var(--gh-accent-glow, rgba(139, 92, 246, 0.25)) !important;
    transform: translateY(-2px);
}

.gh-add-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.gh-add-icon-circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 50%;
    background: #1c1c2b;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.2s ease;
}

.gh-profile-card.add-card:hover .gh-add-icon-circle {
    border-color: #7c3aed;
    background: #25173e;
    color: #d8b4fe;
    transform: scale(1.08);
}

.gh-add-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.gh-add-sub {
    font-size: 11.5px;
    color: #94a3b8;
    max-width: 220px;
    line-height: 1.35;
}

/* ==========================================================================
   TAB 2: DOWNLOADS VIEW (DownloadsBrowserView.axaml)
   ========================================================================== */
.gh-downloads-view {
    display: flex;
    height: 100%;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}


.gh-publishers-sidebar {
    width: 230px;
    min-width: 230px;
    max-width: 230px;
    flex: 0 0 230px;
    background: #14141e;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding: 14px;
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
}

.gh-publishers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

.gh-close-sidebar-btn {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 13px;
}

.gh-publishers-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow-y: auto;
}

.gh-pub-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.gh-pub-btn img {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.gh-pub-btn span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.gh-pub-btn:hover {
    background: #232332;
    color: #ffffff;
}

.gh-pub-btn.active {
    background: #281742 !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
    font-weight: 600;
}

.gh-manifest-folder-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.15s;
    font-family: inherit;
}

.gh-manifest-folder-btn:hover {
    background: #232332;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.gh-downloads-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.gh-browser-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}

.gh-downloads-topbar {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #11111a;
}

.gh-downloads-pub-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px 0;
}

.gh-downloads-pub-info p {
    font-size: 11.5px;
    color: #94a3b8;
    margin: 0;
}

.gh-downloads-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-downloads-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.gh-downloads-search-wrap svg {
    position: absolute;
    left: 8px;
    color: #64748b;
}

.gh-downloads-search {
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 6px 10px 6px 28px;
    font-size: 12px;
    color: #ffffff;
    font-family: inherit;
    outline: none;
    width: 160px;
    transition: border-color 0.15s ease, width 0.15s ease;
}

.gh-downloads-search:focus {
    border-color: #7c3aed;
    width: 200px;
}

.gh-downloads-filter {
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #cbd5e1;
    font-family: inherit;
    outline: none;
}

.gh-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    gap: 14px;
    padding: 16px 18px 75px 18px;
    flex: 1;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.gh-content-card {
    background: #151520;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: all 0.18s ease;
    min-height: 310px;
    box-sizing: border-box;
}

.gh-content-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.gh-content-banner {
    height: 92px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1a1a26;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gh-content-banner img.gh-banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-content-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(21, 21, 32, 0.95) 0%, rgba(21, 21, 32, 0.4) 60%, transparent 100%);
}

.gh-content-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.gh-content-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.gh-content-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gh-chip {
    font-size: 10px;
    font-weight: 600;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border-radius: 4px;
    padding: 2px 6px;
}

.gh-chip.badge-tag {
    background: #25173e;
    border-color: rgba(139, 92, 246, 0.35);
    color: #d8b4fe;
}

.gh-content-desc {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.4;
    flex: 1;
}

.gh-content-action {
    padding: 0 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    flex-shrink: 0;
}

.gh-content-action .gh-btn-secondary,
.gh-content-action .gh-action-btn {
    width: 100%;
    min-height: 34px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}


.gh-action-btn {
    width: 100%;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
}


.gh-action-btn.add-profile {
    background: #047857;
    border: 1px solid #059669;
    color: #ffffff;
}

.gh-action-btn.add-profile:hover {
    background: #059669;
}

/* ==========================================================================
   TAB 3: TOOLS VIEW (ToolsView.axaml, ReplayManagerView.axaml)
   ========================================================================== */
.gh-tools-view {
    display: flex;
    height: 100%;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}

.gh-tools-sidebar {
    width: 210px;
    min-width: 210px;
    max-width: 210px;
    flex: 0 0 210px;
    background: #14141e;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding: 14px;
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
}

.gh-tools-sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.gh-tools-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

.gh-sidebar-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--gh-accent, #7c3aed);
    border: none;
    color: #ffffff;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}

.gh-sidebar-action-btn:hover {
    background: var(--gh-accent-hover, #7c3aed);
}

.gh-sidebar-action-btn.secondary {
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    width: 100%;
    justify-content: center;
    padding: 7px 10px;
}

.gh-sidebar-action-btn.secondary:hover {
    background: #232332;
    color: #ffffff;
}

.gh-tools-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.gh-tool-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    width: 100%;
    transition: all 0.15s ease;
}

.gh-tool-item:hover {
    background: #232332;
    color: #ffffff;
}

.gh-tool-item.active {
    background: #281742 !important;
    border-color: var(--gh-accent-border, rgba(139, 92, 246, 0.45)) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.gh-tools-sidebar-bottom {
    margin-top: auto;
}

.gh-tools-main {
    flex: 1;
    min-width: 0;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.gh-tool-subpane {
    display: none;
    height: 100%;
    min-height: 0;
    flex: 1;
}

.gh-tool-subpane.active {
    display: flex;
    flex-direction: column;
}

/* Replay Manager Panel */
.gh-replay-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    flex: 1;
}

.gh-replay-header {
    padding: 12px 16px;
    background: #11111a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gh-subtab-group {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px;
}

.gh-subtab {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}

.gh-subtab.active {
    background: #7c3aed;
    color: #ffffff;
}

.gh-replay-import-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 200px;
}

.gh-import-input {
    flex: 1;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #ffffff;
    font-family: inherit;
    outline: none;
}

.gh-import-btn {
    background: #047857;
    border: none;
    color: #ffffff;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

.gh-browse-btn {
    background: #232332;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gh-replay-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.gh-replay-search-wrap svg {
    position: absolute;
    left: 8px;
    color: #64748b;
}

.gh-search-input {
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 6px 10px 6px 28px;
    font-size: 12px;
    color: #ffffff;
    font-family: inherit;
    outline: none;
    width: 140px;
}

.gh-replay-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gh-replay-action-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gh-replay-action-icon:hover {
    background: #232332;
    color: #ffffff;
}

.gh-table-container {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0;
}

.gh-replay-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    color: #cbd5e1;
}

.gh-replay-table th {
    background: #14141e;
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
}

.gh-replay-table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.gh-replay-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.gh-client-text {
    font-weight: 500;
    color: #e2e8f0;
    font-size: 11.5px;
}

.gh-crc-badge {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10.5px;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #38bdf8;
}

.gh-compat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
}

.gh-compat-dot {
    font-size: 8px;
    line-height: 1;
}

.gh-compat-pill.compatible {
    background: #064e3b;
    color: #a7f3d0;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.gh-compat-pill.req-profile {
    background: #0c2333;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.gh-compat-pill.downloadable {
    background: #451a03;
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.gh-table-actions-cell {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
}

.gh-btn-table {
    height: 24px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    transition: opacity 0.15s, background-color 0.15s;
}

.gh-btn-table:hover {
    opacity: 0.9;
}

.gh-btn-table.primary {
    background: #22c55e;
    color: #0b1510;
}

.gh-btn-table.primary.accent {
    background: #4338ca;
    color: #ffffff;
}

.gh-btn-table.primary.download {
    background: #f59e0b;
    color: #1a1205;
}

.gh-btn-table.secondary {
    background: #232334;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

.gh-btn-table.secondary:hover {
    background: #2b2b40;
    color: #ffffff;
}

.gh-table-act-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.gh-table-act-icon:hover {
    background: #232334;
    color: #ffffff;
}

.gh-table-act-icon.danger:hover {
    background: #450a0a;
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.gh-table-act-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 11px;
    padding: 0;
    font-family: inherit;
}

.gh-table-act-btn:hover {
    background: #232334;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.gh-table-act-btn.delete:hover,
.gh-table-act-btn.danger:hover {
    background: #450a0a;
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.gh-table-act-btn.watch:hover {
    background: #052e16;
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

.gh-replay-action-bar {
    padding: 8px 14px;
    background: #13131e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gh-replay-action-left,
.gh-replay-action-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-replay-selected-count {
    font-size: 11px;
    color: #94a3b8;
}

.gh-replay-selected-count strong {
    color: #818cf8;
}

.gh-zip-name-input {
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
    color: #ffffff;
    width: 140px;
    outline: none;
}

.gh-split-btn-group {
    display: inline-flex;
    align-items: center;
}

.gh-split-btn-group .split-left {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 28px;
    padding: 0 10px;
    font-size: 11.5px;
}

.gh-split-btn-group .split-right {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    height: 28px;
    padding: 0 7px;
    cursor: pointer;
}

.gh-table-status-bar {
    padding: 8px 16px;
    background: #11111a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
}


/* Tool Transparent Icons */
.gh-tool-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

/* GenHotkeys Visual Hotkeys Editor & GenPatcher */
.gh-hotkeys-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    min-height: 0;
    padding: 14px;
    box-sizing: border-box;
}

.gh-hotkeys-topbar {
    background: #14141e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
}

.gh-hotkeys-topbar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.gh-hotkey-field-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gh-hotkeys-topbar-left label,
.gh-hotkey-field-group label {
    font-size: 11.5px;
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.gh-hotkeys-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Specific styling for all select dropdowns in hotkeys view to prevent clipping */
.gh-hotkeys-view select.gh-downloads-filter,
.gh-hotkeys-view select {
    height: 30px !important;
    padding: 4px 28px 4px 10px !important;
    font-size: 12px !important;
    line-height: 20px !important;
    background-position: right 8px center !important;
    background-size: 13px 13px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
}

#ghHotkeyProfileSelect {
    width: 205px !important;
}

#ghHotkeyPresetSelect {
    width: 175px !important;
}

#ghHotkeyGeneralSelect {
    width: 195px !important;
}

#ghHotkeyCornerSelect {
    height: 26px !important;
    padding: 2px 24px 2px 8px !important;
    font-size: 11px !important;
    line-height: 20px !important;
    width: 120px !important;
    background-position: right 6px center !important;
    background-size: 11px 11px !important;
}

.gh-hotkeys-topbar-right .gh-conflict-pill {
    height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
}

.gh-hotkeys-topbar-right .gh-btn-table {
    height: 30px;
    padding: 0 14px;
    border-radius: 6px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
}

.gh-hotkeys-filterbar {
    background: #14141e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
}

.gh-hotkeys-filterbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-faction-tabs {
    display: flex;
    gap: 6px;
    align-items: center;
}

.gh-faction-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.gh-faction-btn img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.gh-faction-btn:hover {
    background: #252538;
    color: #ffffff;
}

.gh-faction-btn.active[data-faction="usa"] {
    background: #0f2744;
    border-color: #3b82f6;
    color: #93c5fd;
    font-weight: 600;
}

.gh-faction-btn.active[data-faction="china"] {
    background: #450a0a;
    border-color: #ef4444;
    color: #fca5a5;
    font-weight: 600;
}

.gh-faction-btn.active[data-faction="gla"] {
    background: #064e3b;
    border-color: #10b981;
    color: #a7f3d0;
    font-weight: 600;
}

.gh-category-pills {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.gh-cat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.gh-cat-pill:hover {
    background: #1c1c2b;
    color: #e2e8f0;
}

.gh-cat-pill.active {
    background: #281742;
    border-color: rgba(139, 92, 246, 0.5);
    color: #e9d5ff;
    font-weight: 600;
}

.gh-conflict-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
}

.gh-conflict-pill.valid {
    background: #064e3b;
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #a7f3d0;
}

.gh-conflict-pill.conflict {
    background: #450a0a;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    cursor: pointer;
}

.gh-hotkey-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    gap: 10px;
    flex: 1;
    min-height: 260px;
    max-height: 380px;
    overflow-y: auto;
    padding: 4px;
    box-sizing: border-box;
}

.gh-action-card {
    background: #14141e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    box-sizing: border-box;
    height: auto;
    align-self: start;
}

.gh-action-card:hover {
    background: #1b1b28;
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

.gh-action-card.selected {
    background: #201736;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 1px #8b5cf6;
}

.gh-cameo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1.15 / 1;
    border-radius: 6px;
    overflow: hidden;
    background: #09090f;
}

.gh-cameo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gh-hotkey-stamp {
    position: absolute;
    bottom: 3px;
    right: 4px;
    background: #0a0a0f;
    border: 1px solid #fbbf24;
    color: #fef08a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.gh-action-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.gh-action-title {
    font-size: 11px;
    font-weight: 500;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.gh-key-badge {
    background: #252538;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #f8fafc;
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 5px;
    min-width: 18px;
    text-align: center;
}

.gh-action-card:hover .gh-key-badge {
    background: #6d28d9;
    border-color: #8b5cf6;
    color: #ffffff;
}

.gh-hotkeys-footer {
    background: #11111a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #94a3b8;
    gap: 10px;
    box-sizing: border-box;
}

.gh-hotkeys-footer-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gh-hotkeys-footer-left label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    cursor: pointer;
    line-height: 1;
}

.gh-hotkeys-footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.gh-genpatcher-view {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gh-gp-header-card {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gh-gp-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gh-gp-item-left h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 2px 0;
}

.gh-gp-item-left p {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

/* Statusbar */
.genhub-statusbar {
    height: 28px;
    background: #11111a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-size: 11px;
    color: #94a3b8;
}

.genhub-sb-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-sb-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.genhub-sb-right {
    font-family: monospace;
    font-size: 10.5px;
}

/* ==========================================================================
   GENHUB AVALONIA ENGINE EXACT PARITY EXTENSIONS
   Window modals, ContentDetailView, MapManager DataGrid, Settings, Info
   ========================================================================== */

/* GameProfileSettingsWindow.axaml */
.gh-profile-settings-window {
    background: #0f0f15;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    width: 880px;
    max-width: 94%;
    height: 600px;
    max-height: 92%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 45px rgba(139, 92, 246, 0.25);
    transition: width 0.2s ease, height 0.2s ease, max-width 0.2s ease, max-height 0.2s ease, border-radius 0.2s ease;
}

.gh-profile-settings-window.fullscreen-max {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
}

.gh-win-accent-edge {
    height: 2.5px;
    background: linear-gradient(90deg, var(--gh-accent, #7c3aed), #ec4899, #3b82f6);
    width: 100%;
}

.gh-win-header {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #13131e;
}

.gh-win-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gh-win-profile-icon {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: #1e1e2d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gh-win-profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-win-titles {
    display: flex;
    flex-direction: column;
}

.gh-win-profile-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.gh-win-profile-sub {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #a78bfa;
    text-transform: uppercase;
}

.gh-win-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gh-win-tool-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.gh-win-tool-btn:hover {
    background: #232332;
    color: #ffffff;
}

.gh-win-tool-btn.close-btn:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #ef4444;
}

/* Top Navigation Bar: GameProfileNavigationView.axaml */
.gh-win-nav-bar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: #11111b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gh-win-nav-btn {
    width: 60px;
    height: 56px;
    border-radius: 12px;
    background: #1a1a28;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.15s;
}

.gh-win-nav-btn:hover {
    background: #232332;
    color: #ffffff;
}

.gh-win-nav-btn.active {
    background: #281742;
    border-color: rgba(139, 92, 246, 0.6);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.3);
}

.gh-win-nav-btn span {
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gh-win-content-body {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
}

.gh-win-tab-panel {
    flex: 1;
    display: none;
    overflow-y: auto;
    padding: 20px 24px 70px 24px;
    flex-direction: column;
}

.gh-win-tab-panel.active {
    display: flex;
}

/* Floating Save FAB */
.gh-win-footer-fab-row {
    position: absolute;
    bottom: 16px;
    right: 24px;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 50;
}

.gh-save-profile-fab {
    pointer-events: auto;
    height: 46px;
    padding: 0 28px;
    border-radius: 23px;
    background: linear-gradient(135deg, var(--gh-accent, #7c3aed), var(--gh-accent-hover, #7c3aed)) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 10px 25px -4px var(--gh-accent-glow, rgba(139, 92, 246, 0.65)) !important;
    transition: all 0.2s;
}

.gh-save-profile-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -4px rgba(139, 92, 246, 0.85);
}

/* Content Editor Toolbar & Attached Cards */
.gh-content-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.gh-attached-content-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gh-attached-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #14141f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.15s;
}

.gh-attached-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.gh-attached-card.locked {
    background: #11111a;
    border-color: rgba(16, 185, 129, 0.2);
}

.gh-att-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #1b1b28;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gh-att-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-att-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gh-att-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-att-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

.gh-att-desc {
    font-size: 11.5px;
    color: #94a3b8;
}

.gh-att-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gh-locked-tag {
    font-size: 10.5px;
    font-weight: 700;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gh-att-remove-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    opacity: 0.8;
    transition: opacity 0.15s;
}

.gh-att-remove-btn:hover {
    opacity: 1;
}

/* General Settings Sub-Sidebar */
.gh-general-settings-grid {
    display: flex;
    height: 100%;
    gap: 20px;
}

.gh-sub-sidebar {
    width: 190px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.gh-sub-nav-btn {
    height: 38px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
    width: 100%;
}

.gh-sub-nav-btn:hover {
    background: #232332;
    color: #ffffff;
}

.gh-sub-nav-btn.active {
    background: #281742;
    border-color: rgba(139, 92, 246, 0.35);
    color: #ffffff;
}

.gh-sub-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
}

.gh-sub-panel {
    display: none;
    flex-direction: column;
    gap: 14px;
}

.gh-sub-panel.active {
    display: flex;
}

.gh-icon-picker-grid {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.gh-icon-pick-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #14141f;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    padding: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

.gh-icon-pick-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.gh-icon-pick-btn.active {
    border-color: #7c3aed;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.gh-icon-pick-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gh-cover-preview-card {
    position: relative;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gh-cover-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Downloads: ContentDetailView */
.gh-detail-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: 20px 24px;
    gap: 16px;
}

.gh-detail-header-nav {
    display: flex;
    align-items: center;
}

.gh-back-to-browse-btn {
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.gh-back-to-browse-btn:hover {
    background: #232332;
    color: #ffffff;
}

.gh-detail-grid {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 20px;
}

.gh-detail-banner-card {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #14141e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
}

.gh-detail-banner-thumb {
    width: 74px;
    height: 74px;
    border-radius: 10px;
    overflow: hidden;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.gh-detail-banner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-detail-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.gh-detail-title-row h2 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.gh-detail-meta-row {
    font-size: 12px;
    color: #94a3b8;
}

.gh-detail-gallery {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.gh-detail-gallery img {
    height: 120px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.gh-detail-action-card {
    background: #14141e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.gh-action-card-header {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.gh-detail-meta-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    font-size: 11.5px;
    color: #94a3b8;
}

.gh-detail-meta-list .meta-row {
    display: flex;
    justify-content: space-between;
}

.gh-release-item, .gh-dep-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #13131e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-size: 12px;
}

/* Map Manager View */
.gh-map-manager-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 12px;
    padding: 18px 22px;
}

.gh-map-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gh-map-utilities {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.gh-map-import-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 500px;
}

.gh-map-url-input {
    flex: 1;
    height: 34px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0 12px;
    color: #ffffff;
    font-size: 12px;
}

.gh-map-search-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0 10px;
    height: 34px;
    width: 200px;
}

.gh-map-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 12px;
    width: 100%;
}

.gh-map-datagrid-wrap {
    flex: 1;
    overflow-y: auto;
    background: #0e0e16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.gh-map-datagrid {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.gh-map-datagrid th {
    text-align: left;
    padding: 10px 14px;
    background: #141420;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 2;
}

.gh-map-datagrid td {
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    color: #e2e8f0;
}

.gh-map-datagrid tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.gh-map-table-thumb {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Settings View Expanders & Navigation */
.gh-settings-view {
    display: flex;
    height: 100%;
}

.gh-settings-sidebar {
    width: 210px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #101018;
    flex-shrink: 0;
}

.gh-settings-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    padding: 0 10px 10px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.gh-settings-content {
    flex: 1;
    padding: 20px 24px 80px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.gh-settings-expander {
    background: #14141e;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gh-settings-expander.open {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.gh-expander-header {
    width: 100%;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: 13px 18px;
    background: #171725;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.gh-expander-header:hover {
    background: #1f1f34;
}

.gh-expander-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

.gh-expander-chevron {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.22s ease, color 0.2s ease;
}

.gh-settings-expander.open .gh-expander-chevron {
    transform: rotate(180deg);
    color: #c084fc;
}

.gh-expander-body {
    display: none;
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #111119;
}

.gh-settings-expander.open .gh-expander-body {
    display: block;
}

.gh-data-dirs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
}

.gh-install-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-size: 12px;
}

.gh-theme-swatches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gh-theme-swatch {
    height: 40px;
    border-radius: 10px;
    background: #1a1a28;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    cursor: pointer;
    color: #e2e8f0;
    font-size: 11.5px;
    font-weight: 600;
    transition: all 0.15s;
}

.gh-theme-swatch .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--swatch-c);
    box-shadow: 0 0 8px var(--swatch-c);
}

.gh-theme-swatch.active {
    border-color: var(--swatch-c);
    background: #232332;
    color: #ffffff;
}

/* Info View Components */
.gh-info-view {
    display: flex;
    flex-direction: row;
    height: 100%;
    min-height: 0;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    width: 100%;
}

.gh-info-sidebar {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #101018;
    flex-shrink: 0;
    box-sizing: border-box;
    align-self: stretch;
    min-height: 0;
}

.gh-info-module-select-wrap {
    margin-bottom: 8px;
    flex-shrink: 0;
}

.gh-info-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.gh-info-content {
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 20px 24px 80px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.gh-info-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.gh-info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.gh-info-card-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.gh-info-expand-btn {
    align-self: flex-start;
    background: transparent;
    border: none;
    color: #a78bfa;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 4px;
    transition: color 0.15s ease;
}

.gh-info-expand-btn:hover {
    color: #c084fc;
}

.gh-info-detailed-content {
    display: none;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-top: 6px;
    overflow-wrap: break-word;
    overflow-wrap: anywhere;
}

.gh-info-detailed-content.active {
    display: block;
}

.gh-info-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.gh-demo-wrapper {
    margin-bottom: 16px;
    padding: 18px 20px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

.gh-demo-wrapper .gh-profile-card {
    max-width: 100%;
}

.gh-workspace-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}


/* ==========================================================================
   Ecosystem Trust Bar (Verified Partners Only)
   ========================================================================== */
.ecosystem-section {
    padding: 3.5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.ecosystem-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 2rem;
}

.ecosystem-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.ecosystem-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.ecosystem-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: #ffffff;
}

.ecosystem-item img {
    height: 28px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(0.15);
    transition: filter 0.2s ease;
}

.ecosystem-item:hover img {
    filter: grayscale(0);
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
    padding: 5rem 1.5rem;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
    width: 100%;
}

.faq-item {
    background: #151522;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.85rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    border-color: var(--gh-accent-border, rgba(139, 92, 246, 0.45));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.faq-item.open {
    border-color: var(--gh-accent, #7c3aed);
    box-shadow: 0 4px 24px var(--gh-accent-glow, rgba(139, 92, 246, 0.2));
}

.faq-question {
    width: 100%;
    padding: 1.35rem 1.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: inherit;
    gap: 1rem;
}

.faq-question:hover {
    color: #c4b5fd;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: #a78bfa;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--gh-accent, #7c3aed);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, visibility 0.35s ease;
    padding: 0 1.5rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.65;
    box-sizing: border-box;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    visibility: visible;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: #cbd5e1;
}

/* ==========================================================================
   Community Feedback / Question Card
   ========================================================================== */
.community-question-section {
    padding: 2rem 1.5rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.community-question-card {
    background: rgba(26, 16, 52, 0.85);
    border: 1px dashed rgba(139, 92, 246, 0.5);
    border-radius: 1.25rem;
    padding: 2.5rem;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    z-index: 10;
}

.community-question-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: #22163e;
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    margin-bottom: 1.25rem;
}

.community-question-card h3 {
    font-size: 1.4rem;
    color: #f8fafc;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.community-question-card p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    font-style: italic;
}

.community-question-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------- */
/* UNIVERSAL DARK DROPDOWN (AVALONIA COMBOBOX) STYLING           */
/* ------------------------------------------------------------- */
.genhub-app-window select,
.gh-form-select,
.gh-downloads-filter,
#ghCatalogFilter,
#ghDetailTargetProfile,
#ghSettingStrategy,
#ghInfoModuleSelect,
#ghProfileGameType,
#ghProfileStrategy,
#ghGameResPreset {
    color-scheme: dark !important;
    background-color: #171725 !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 6px !important;
    padding: 7px 34px 7px 12px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    outline: none !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' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' 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 10px center !important;
    background-size: 14px 14px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}

.genhub-app-window select:hover,
.gh-form-select:hover,
.gh-downloads-filter:hover {
    border-color: rgba(255, 255, 255, 0.35) !important;
    background-color: #1c1c2e !important;
}

.genhub-app-window select:focus,
.gh-form-select:focus,
.gh-downloads-filter:focus {
    border-color: #8b5cf6 !important;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3) !important;
    background-color: #1c1c2e !important;
}

.genhub-app-window select option,
.gh-form-select option,
.gh-downloads-filter option {
    background-color: #171725 !important;
    color: #f1f5f9 !important;
    padding: 8px 12px !important;
    font-size: 12.5px !important;
}

.genhub-app-window select optgroup,
.gh-form-select optgroup {
    background-color: #11111a !important;
    color: #a78bfa !important;
    font-weight: 700 !important;
}

.gh-import-input:focus-visible,
.gh-search-input:focus-visible,
.gh-map-search-input:focus-visible,
.gh-map-url-input:focus-visible,
.gh-downloads-search:focus-visible {
    outline: none;
    border-color: var(--gh-accent, #7c3aed);
    box-shadow: 0 0 0 2px var(--gh-accent-glow, rgba(139, 92, 246, 0.3));
}

.gh-range-slider {
    accent-color: var(--gh-accent, #7c3aed);
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    cursor: pointer;
}

.gh-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 8px;
}

/* Settings & Info Shared Component Specs */
.gh-settings-nav-list, .gh-info-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gh-setting-nav-btn, .gh-info-nav-btn {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: #e2e8f0;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    width: 100%;
    transition: background 0.15s ease, color 0.15s ease;
}

.gh-setting-nav-btn:hover:not(.active), .gh-info-nav-btn:hover:not(.active) {
    background: #232332;
    color: #d8b4fe;
}

.gh-setting-nav-btn.active, .gh-info-nav-btn.active {
    background: #281742 !important;
    border-color: rgba(139, 92, 246, 0.45) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.gh-settings-page-header h2, .gh-info-page-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.gh-settings-page-header p, .gh-info-page-header p {
    font-size: 12.5px;
    color: #94a3b8;
    margin: 0;
}

.gh-settings-card, .gh-info-card {
    background: #14141e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 18px;
}

.gh-settings-card h4, .gh-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.gh-settings-card p, .gh-info-card p {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   PROFILE SHARING & IMPORT INSPECTION (PR #400 Parity)
   ShareProfileDialogWindow.axaml & ImportProfileInspectionWindow.axaml
   ========================================================================== */
.gh-modal-window.share-profile {
    max-width: 580px;
}

.gh-modal-window.import-inspection {
    max-width: 680px;
}

.gh-share-body, .gh-import-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 520px;
    overflow-y: auto;
}

.gh-share-summary-card, .gh-import-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #14141f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
}

.gh-share-cover-thumb, .gh-import-cover-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #1c1c2b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.gh-share-cover-thumb img, .gh-import-cover-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-share-summary-info, .gh-import-summary-info {
    flex: 1;
    min-width: 0;
}

.gh-share-summary-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.gh-theme-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.gh-share-summary-sub, .gh-import-summary-sub {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gh-quota-card {
    background: #12121c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gh-quota-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    font-weight: 600;
}

.gh-quota-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.gh-quota-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #38bdf8);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.gh-share-section-box {
    background: #14141f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gh-share-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.gh-share-input-row input {
    flex: 1;
    font-family: monospace;
    font-size: 11.5px;
    padding: 7px 10px;
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #cbd5e1;
    outline: none;
}

.gh-share-input-row input:focus {
    border-color: var(--gh-accent, #8b5cf6);
}

.gh-manifest-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gh-manifest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #11111a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 12px;
    gap: 8px;
}

.gh-manifest-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.gh-manifest-title {
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gh-manifest-prov {
    font-size: 11px;
    color: #94a3b8;
}

.gh-manifest-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.gh-status-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

.gh-status-badge.data-only {
    background-color: #241442;
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #ffffff;
}

.gh-status-badge.cached {
    background-color: #064e3b;
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #ffffff;
}

.gh-status-badge.download {
    background-color: #0c4a6e;
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #ffffff;
}

.gh-modal-footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #11111a;
}
