/* Centering override for guild page */
@media (min-width: 992px) {
    .page-shell:has(.guild-detail-wrap) .content-grid {
        grid-template-columns: 1fr !important;
    }
    .page-shell:has(.guild-detail-wrap) .sidebar-column {
        display: none !important;
    }
}

.sro-panel {
    background: var(--sro-card);
    border: 1px solid var(--sro-border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sro-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.sro-panel-icon {
    font-size: 1.2rem;
    color: var(--sro-gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sro-panel-title {
    margin: 0;
    font-size: 1.15rem;
    font-family: 'Cinzel', serif;
    color: var(--sro-gold-bright);
    letter-spacing: 1px;
}

.guild-detail-wrap {
    padding: 1rem 0;
}

.guild-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.guild-back:hover {
    color: var(--gold-400);
}

.guild-hero {
    background: linear-gradient(135deg, rgba(13,10,18,0.95) 0%, rgba(30,22,35,0.9) 100%);
    border: 1px solid rgba(201,162,39,0.3);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

.guild-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(201,162,39,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.guild-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.guild-emblem {
    width: 100px;
    height: 100px;
    background: rgba(0,0,0,0.5);
    border: 2px solid var(--gold-500);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gold-400);
    box-shadow: 0 0 20px rgba(201,162,39,0.2);
}

.guild-name {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5rem;
    color: var(--gold-400);
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.guild-stats {
    display: flex;
    gap: 1rem;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-lvl {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-points {
    background: rgba(201,162,39,0.15);
    color: var(--gold-400);
    border: 1px solid rgba(201,162,39,0.3);
}

.member-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 10px;
}

.member-avatar-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-color: #000;
    border: 1px solid rgba(201,162,39,0.2);
}

.member-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.member-link:hover {
    color: var(--gold-400);
}

.sro-table {
    width: 100%;
    border-collapse: collapse;
}

.sro-table th {
    background: rgba(0,0,0,0.6);
    color: var(--gold-400);
    padding: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    text-align: left;
    border-bottom: 1px solid rgba(201,162,39,0.3);
}

.sro-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}

.sro-table tr:last-child td {
    border-bottom: none;
}

.sro-table tbody tr:hover {
    background: rgba(201,162,39,0.05);
}

@media (max-width: 768px) {
    .guild-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .guild-stats {
        justify-content: center;
    }
}
