/* =========================================
   Meus Jogos — Sub-tabs
   ========================================= */
.tuh-mj-nav {
    display: flex !important;
    gap: 4px !important;
    background: rgba(255,255,255,.08) !important;
    border-radius: 12px !important;
    padding: 5px !important;
    margin-bottom: 20px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.tuh-mj-btn {
    flex: 1 !important;
    padding: 9px 14px !important;
    border: none !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #a0a0a8 !important;
    font-size: .8rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all .25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    font-family: inherit !important;
    line-height: 1 !important;
}

.tuh-mj-btn:hover {
    color: #ddd !important;
    background: rgba(255,255,255,.06) !important;
    border-radius: 9px !important;
}

.tuh-mj-btn.active {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, .35) !important;
    border-radius: 9px !important;
}

.tuh-mj-btn.active .tuh-mj-btn-label,
.tuh-mj-btn.active .tuh-mj-btn-icon {
    color: #ffffff !important;
}

.tuh-mj-btn-icon { font-size: 1rem; }

/* Panels */
.tuh-mj-pane { display: none !important; opacity: 1 !important; }
.tuh-mj-pane.active { display: block !important; opacity: 1 !important; }

/* Panel content alignment */
.tuh-mj-pane .tdn-empty {
    text-align: center !important;
    padding: 40px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.tuh-mj-pane .tdn-empty-t {
    margin-top: 12px;
    font-size: .95rem;
    font-weight: 600;
    color: #a0a0a8;
}

.tuh-mj-pane .tdn-empty-s {
    margin-top: 4px;
    font-size: .82rem;
    color: #6b6b74;
}

/* Rules banner */
.tuh-mj-rules {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    background: rgba(220, 38, 38, .07);
    border: 1px solid rgba(220, 38, 38, .18);
    border-left: 4px solid #dc2626;
    font-size: .8rem;
    line-height: 1.6;
}

.tuh-mj-rules-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.tuh-mj-rules-body { color: #a0a0a8; }
.tuh-mj-rules-body p { margin: 0 0 4px; }
.tuh-mj-rules-body p:last-child { margin-bottom: 0; }
.tuh-mj-rules-title { color: #dc2626; display: block; margin-bottom: 4px; font-size: .84rem; }
.tuh-mj-forbidden { color: #ef4444; font-weight: 700; }
.tuh-mj-allowed { color: #22c55e; font-weight: 700; }

/* Sidebar highlight */
.tuh-nav-item[data-section="meus-jogos"] {
    background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(109,40,217,.06)) !important;
    border-left: 3px solid #7c3aed !important;
}

.tuh-nav-item[data-section="meus-jogos"] .tuh-nav-label {
    color: #7c3aed !important;
    font-weight: 700 !important;
}

.tuh-nav-item[data-section="meus-jogos"] .tuh-nav-icon svg {
    stroke: #7c3aed !important;
}

.tuh-nav-item[data-section="meus-jogos"].active {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
}

.tuh-nav-item[data-section="meus-jogos"].active .tuh-nav-label {
    color: #fff !important;
}

.tuh-nav-item[data-section="meus-jogos"].active .tuh-nav-icon svg {
    stroke: #fff !important;
}

/* Force ALL steam content visibility inside meus-jogos panel */
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-plat-grid,
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-tut-section,
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-wrapper,
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-split,
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-left,
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-right,
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-tut-grid,
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-tut-card,
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-form-area {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-split {
    display: flex !important;
}
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-plat-grid {
    display: flex !important;
}
.tuh-mj-pane[data-subtab-panel="tutoriais"] .sg-tut-grid {
    display: grid !important;
}

/* Mobile */
@media (max-width: 600px) {
    .tuh-mj-btn { padding: 8px 10px !important; font-size: .75rem !important; }
    .tuh-mj-btn-label { display: none; }
    .tuh-mj-btn-icon { font-size: 1.1rem; }
    .tuh-mj-btn.active .tuh-mj-btn-label { display: inline; }
}
