.member-profile #main{max-width:1180px;margin:auto;padding:0 32px 60px}.member-profile #main>section{padding:38px 0;border:0;scroll-margin-top:110px}.member-profile #main>.member-hero{padding:32px 0 26px}.member-hero .container{padding:0;max-width:none}.member-hero h1{font-family:Inter,system-ui,sans-serif;font-size:clamp(32px,4.5vw,48px);letter-spacing:-.055em;line-height:1.12;max-width:780px;margin:18px 0}.member-intro{font:16px/1.8 Inter,system-ui,sans-serif;color:#b6c6cf;max-width:850px}.member-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.member-nav a{padding:10px 17px;border:1px solid #6f8d9c40;border-radius:30px;background:#ffffff04;font:500 12px/1.5 Inter,system-ui,sans-serif;color:#d4e9e7}.member-nav a:hover{background:#9af2d313;border-color:#94eacb}.member-overview{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);gap:22px;align-items:start}.member-overview>section{padding:26px!important;border:1px solid #72869240;border-radius:24px;background:linear-gradient(145deg,#152332,#101622);scroll-margin-top:110px;min-width:0}.member-overview .container,.member-overview .wallet-panel{max-width:none!important;padding:0;margin:0!important;border:0;background:none;box-shadow:none;width:100%}.member-section-heading h2{font:600 23px/1.25 Inter,system-ui,sans-serif;letter-spacing:-.025em;margin:10px 0}.member-section-heading>p{font:13px/1.75 Inter,system-ui,sans-serif;color:#b6c6cf;margin:0 0 24px}.member-section-heading .eyebrow{font-size:9px;letter-spacing:.16em;color:#9de4cf}.member-wallet .empty-state{padding:12px 0}.member-wallet .empty-state>svg{width:36px;height:36px;margin:0 auto 18px}.member-profile [data-profile-social]{display:grid;grid-template-columns:1fr 1fr;gap:12px}.member-profile .raffle-connection-card{display:flex;flex-direction:column;gap:12px;margin:0;padding:18px;border:1px solid #6e8b9b40;background:#0b131f88;border-radius:16px;min-width:0}.member-social-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.member-social-heading strong{font:700 19px Inter,system-ui,sans-serif}.member-social-badge{font:500 10px/1.5 Inter,system-ui,sans-serif;padding:4px 8px;border-radius:20px;background:#536b8526;color:#b9c7d7;white-space:nowrap}.is-linked .member-social-badge{background:#6ddbb41c;color:#98f0ce}.member-profile .raffle-connection-card p{font:12px/1.6 Inter,system-ui,sans-serif;margin:0;overflow-wrap:anywhere;color:#b6c6cf}.member-profile .raffle-connection-card .btn{margin-top:auto;font:600 12px/1.5 Inter,system-ui,sans-serif;padding:11px 12px;border-radius:10px;min-height:42px}.member-social-status{font:12px/1.75 Inter,system-ui,sans-serif;padding:13px 16px;margin:16px 0;border-left:2px solid #9de4cf;background:#9de4cf08;border-radius:0 10px 10px 0;color:#c7d6de}.member-connection-actions{display:flex;gap:8px;flex-wrap:wrap}.member-connection-actions .btn{font:500 11px/1.5 Inter,system-ui,sans-serif}.member-fineprint{font:11px/1.8 Inter,system-ui,sans-serif;color:#90a6b5;margin:17px 0 0}.member-profile #main>section>.container{max-width:none;padding:0}.member-profile #main>section>.container>.wallet-panel{max-width:none!important;margin:0!important;padding:30px;border-radius:24px}.member-profile .hub-preview{border-radius:18px}.member-profile #member-public h3,.member-profile #raffle-history h2{font:600 28px/1.3 Inter,system-ui,sans-serif;letter-spacing:-.025em}.member-profile .hub-privacy{max-width:800px}.member-profile .hub-dash-stats{gap:12px}.member-profile .profile-stats-grid{gap:8px}.member-profile .hub-form-grid{gap:18px}.member-profile .hub-field input,.member-profile .hub-field textarea,.member-profile .hub-field select{border-radius:10px}.member-profile #raffle-history{border-top:1px solid #72869230}.member-profile .raffle-connection-card.is-linked{border-color:#85dfbc55}.member-profile .raffle-connection-card button:disabled{opacity:.65}.member-profile [hidden]{display:none!important}
@media(max-width:850px){.member-overview{grid-template-columns:1fr}.member-profile #main{padding:0 20px 40px}.member-profile #main>.member-hero{padding-top:35px}.member-overview>section,.member-profile #main>section>.container>.wallet-panel{padding:22px!important}.member-profile #main>section{padding:24px 0}.member-hero h1{font-size:38px}}
@media(max-width:420px){.member-profile #main{padding-inline:14px}.member-profile [data-profile-social]{grid-template-columns:1fr}.member-profile .raffle-connection-card{gap:10px}.member-overview>section,.member-profile #main>section>.container>.wallet-panel{padding:18px!important}.member-nav a{padding:9px 12px}.member-hero h1{font-size:34px}}

.member-profile .guide-greeting{display:none}
.member-wallet .profile-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-wallet .profile-stat-card{min-width:0;overflow-wrap:anywhere}
/* Onglets du profil (profile-tabs.js) : un seul groupe de sections a la fois. */
.member-profile .is-tab-off{display:none!important}
.member-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:26px;scroll-margin-top:96px}
.member-tabs a{display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px 16px;border:1px solid var(--border,#6f8d9c40);border-radius:16px;background:var(--art-raised,#ffffff04);color:var(--text,#d4e9e7);text-decoration:none;transition:border-color .16s,background-color .16s}
.member-tabs strong{font:600 15px/1.3 Inter,system-ui,sans-serif}
.member-tabs small{font:12px/1.45 Inter,system-ui,sans-serif;color:var(--text-muted,#90a6b5)}
.member-tabs a:hover{border-color:var(--art-link,#94eacb)}
.member-tabs a[aria-current=page]{border-color:var(--art-link,#94eacb);box-shadow:inset 0 -3px var(--art-link,#94eacb)}
.member-tabs a[aria-current=page] strong{color:var(--art-link,#9de4cf)}
.member-tabs a:focus-visible{outline:2px solid var(--art-link,#9de4cf);outline-offset:2px}
.member-profile #main>.member-placeholder{max-width:720px;margin:12px auto 0;padding:30px;border:1px solid var(--border,#72869240);border-radius:24px;background:var(--art-raised,#101622)}
.member-placeholder h2{font:600 24px/1.3 Inter,system-ui,sans-serif;letter-spacing:-.02em;margin:10px 0}
.member-placeholder p{font:14px/1.7 Inter,system-ui,sans-serif;color:var(--text-muted,#b6c6cf);margin:0 0 18px}
.member-rules{margin-top:16px;font:12px/1.7 Inter,system-ui,sans-serif;color:var(--text-muted,#90a6b5)}
.member-rules summary{cursor:pointer;color:var(--text,#c7d6de);font-weight:600}
.member-rules ul{margin:10px 0 0;padding-left:18px;display:grid;gap:6px}
@media(max-width:760px){.member-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.member-tabs a{padding:12px}.member-tabs small{display:none}.member-profile #main>.member-placeholder{padding:20px}}
/* Page publique : une fois le nom reserve, le tableau de bord suffit. Le choix du nom revient avec Edit (renommer). */
#member-public .wallet-panel:has(>[data-hub-summary]:not([hidden])) .hub-claim-block{display:none}
.hub-more-stats{margin-top:12px}
.hub-more-stats:not(:has(>.hub-dash-stats:not([hidden])) ){display:none}
.hub-more-stats>summary{cursor:pointer;font:600 13px/1.6 Inter,system-ui,sans-serif;color:var(--text-muted,#b6c6cf);padding:6px 0}
.hub-more-stats[open]>summary{margin-bottom:8px}
/* body est en flex : sans largeur explicite, #main prenait la largeur de son contenu et changeait d'un onglet a l'autre. */
.member-profile #main{width:100%;box-sizing:border-box}
.member-intro a{color:var(--art-link,#9de4cf);text-decoration:underline;text-underline-offset:3px}
