:root { --xph-gold: #d4af37; --xph-dark: #0a0a12; --xph-panel: #1a1428; --xph-success: #27ae60; --xph-danger: #e74c3c; }

.xph-tabs { display: flex; gap: 5px; padding: 15px 20px; background: linear-gradient(180deg, rgba(0,0,0,0.6), transparent); border-bottom: 1px solid rgba(212,175,55,0.2); margin-bottom: 20px; flex-wrap: wrap; justify-content: center; }
.xph-tab { display: flex; align-items: center; gap: 8px; padding: 12px 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #888; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.2s; }
.xph-tab:hover { background: rgba(212,175,55,0.1); border-color: rgba(212,175,55,0.3); color: #fff; }
.xph-tab.active { background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(184,134,11,0.15)); border-color: var(--xph-gold); color: var(--xph-gold); }
.xph-tab-icon { font-size: 1.2rem; }

.xph-section { padding: 25px; margin-bottom: 30px; }
.xph-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(212,175,55,0.2); }
.xph-section-title { font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 700; color: var(--xph-gold); margin: 0; }
.xph-section-stats { display: flex; gap: 15px; color: #888; }

.xph-builds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.xph-build-card { position: relative; display: flex; align-items: center; gap: 15px; padding: 15px; background: linear-gradient(145deg, #1a1a2e, #0d0a15); border: 1px solid #333; border-radius: 12px; text-decoration: none; color: inherit; transition: all 0.2s; }
.xph-build-card:hover { border-color: var(--xph-gold); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.4); }
.xph-build-level { position: absolute; top: 8px; left: 8px; padding: 4px 10px; background: linear-gradient(135deg, #d4af37, #f1c40f); color: #000; font-weight: 900; font-size: 0.85rem; border-radius: 6px; }
.xph-build-icon { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; background: rgba(0,0,0,0.3); padding: 5px; }
.xph-build-info { flex: 1; min-width: 0; }
.xph-build-name { font-weight: 700; color: #fff; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xph-build-class { color: #888; font-size: 0.9rem; }
.xph-build-tags { display: flex; gap: 5px; margin-top: 8px; }
.xph-tag { padding: 3px 8px; background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.3); border-radius: 4px; font-size: 0.75rem; color: var(--xph-gold); }
.xph-build-vis { position: absolute; top: 10px; right: 10px; font-size: 1rem; opacity: 0.7; }

.xph-artisanat-stats, .xph-groupes-stats { display: flex; gap: 20px; margin-bottom: 25px; flex-wrap: wrap; }
.xph-stat-box { display: flex; align-items: center; gap: 10px; padding: 15px 20px; background: rgba(0,0,0,0.3); border: 1px solid #333; border-radius: 10px; }
.xph-stat-box.xph-rating { border-color: rgba(212,175,55,0.3); }
.xph-stat-icon { font-size: 1.5rem; }
.xph-stat-value { font-size: 1.3rem; font-weight: 900; color: var(--xph-gold); font-family: 'Cinzel', serif; }
.xph-stat-label { color: #888; font-size: 0.9rem; }
.xph-stars { display: flex; gap: 2px; }
.xph-star { font-size: 1.2rem; color: #333; }
.xph-star.filled { color: #f1c40f; }
.xph-rating-value { font-weight: 700; color: #fff; margin-left: 10px; }
.xph-rating-count { color: #888; font-size: 0.85rem; }

.xph-artisans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.xph-artisan-card { position: relative; padding: 20px 15px; background: linear-gradient(145deg, #1a1a2e, #0d0a15); border: 1px solid #333; border-radius: 12px; text-align: center; transition: all 0.2s; }
.xph-artisan-card:hover { border-color: var(--xph-gold); transform: translateY(-2px); }
.xph-artisan-level { position: absolute; top: 10px; right: 10px; padding: 4px 10px; background: linear-gradient(135deg, #d4af37, #f1c40f); color: #000; font-weight: 900; font-size: 0.8rem; border-radius: 5px; }
.xph-artisan-metier { font-size: 1.1rem; font-weight: 700; color: var(--xph-gold); margin-bottom: 8px; }
.xph-artisan-name { font-weight: 600; color: #fff; margin-bottom: 5px; }
.xph-artisan-server { color: #888; font-size: 0.9rem; }

.xph-groupes-list { display: flex; flex-direction: column; gap: 10px; }
.xph-groupe-card { display: flex; align-items: center; gap: 15px; padding: 15px; background: linear-gradient(145deg, #1a1a2e, #0d0a15); border: 1px solid #333; border-radius: 10px; transition: all 0.2s; }
.xph-groupe-card:hover { border-color: rgba(212,175,55,0.3); }
.xph-groupe-card.open { border-left: 3px solid var(--xph-success); }
.xph-groupe-card.closed { border-left: 3px solid var(--xph-danger); opacity: 0.7; }
.xph-groupe-status { font-size: 1.2rem; }
.xph-groupe-info { flex: 1; min-width: 0; }
.xph-groupe-type { font-size: 0.85rem; color: var(--xph-gold); text-transform: uppercase; font-weight: 600; margin-bottom: 3px; }
.xph-groupe-name { font-weight: 700; color: #fff; margin-bottom: 3px; }
.xph-groupe-meta { color: #888; font-size: 0.85rem; }
.xph-groupe-date { color: #555; font-size: 0.85rem; }

.xph-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 20px; background: rgba(0,0,0,0.2); border: 2px dashed #333; border-radius: 12px; text-align: center; }
.xph-empty-icon { font-size: 3rem; margin-bottom: 15px; opacity: 0.5; }
.xph-empty p { color: #888; margin: 0 0 15px; }
.xph-btn { display: inline-block; padding: 12px 25px; background: linear-gradient(135deg, var(--xph-gold), #b8860b); color: #000; text-decoration: none; border-radius: 8px; font-weight: 700; transition: all 0.2s; }
.xph-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(212,175,55,0.4); color: #000; }
.xph-error { padding: 20px; background: rgba(231,76,60,0.1); border: 1px solid var(--xph-danger); border-radius: 10px; color: var(--xph-danger); text-align: center; }
.xph-unavailable { padding: 30px; background: rgba(0,0,0,0.3); border: 1px dashed #444; border-radius: 10px; text-align: center; color: #888; }

.xph-profile-hub { min-height: 100vh; background: var(--xph-dark); color: #fff; }
.xph-content { max-width: 1200px; margin: 0 auto; padding: 0 20px 50px; }

@media (max-width: 768px) {
    .xph-tabs { padding: 10px; gap: 8px; }
    .xph-tab { padding: 10px 16px; font-size: 0.85rem; }
    .xph-tab-label { display: none; }
    .xph-section { padding: 15px; }
    .xph-builds-grid, .xph-artisans-grid { grid-template-columns: 1fr; }
    .xph-artisanat-stats, .xph-groupes-stats { flex-direction: column; }
}
