/* ---------- vue profil ---------- */
.profile { max-width: 660px; margin: 0 auto; padding: 0 18px 72px; display: flex; flex-direction: column; gap: 20px; }

.profile-hero {
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; box-shadow: var(--shadow);
}
.profile-crab { width: 122px; height: auto; flex: none; overflow: visible; }
.profile-id .eyebrow { display: block; margin-bottom: 5px; }
.profile-lvl { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.75rem; line-height: 1.05; }
.profile-lvl-name { color: var(--ink-soft); font-size: .92rem; margin-top: 3px; }

.xp-block { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.xp-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; margin-bottom: 9px; }
.xp-head .xp-count { font-family: "IBM Plex Mono", monospace; color: var(--accent); font-weight: 600; }
.xp-bar { height: 15px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.xp-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .55s cubic-bezier(.2,.8,.2,1); }
.xp-sub { margin-top: 9px; font-size: .8rem; color: var(--ink-soft); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 560px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 12px; text-align: center; }
.stat-v { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.2rem; }
.stat-l { font-size: .68rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .07em; margin-top: 5px; }

.prof-section h2 { font-family: "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--ink-soft); margin: 0 0 13px; }
.prof-progs { display: flex; flex-direction: column; gap: 14px; }
.prof-prog { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: .88rem; }
.prof-prog .prof-prog-n { font-family: "IBM Plex Mono", monospace; color: var(--ink-soft); }
.prof-prog .prog-bar { grid-column: 1 / -1; margin-top: 2px; }

.crab-coll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .crab-coll { grid-template-columns: 1fr; } }
.crab-cell { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 14px; text-align: center; }
.crab-cell.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.crab-cell.locked { opacity: .55; }
.crab-cell.locked .coll-crab { filter: grayscale(1) brightness(.65); }
.coll-crab { width: 92px; height: auto; overflow: visible; }
.crab-cell-l { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: .95rem; margin-top: 8px; }
.crab-cell-d { font-size: .74rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.45; }

/* ---------- profil : zone de danger ---------- */
.reset-block h2 { color: var(--ink-soft); }
.reset-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  background: var(--surface); border: 1px dashed var(--border-strong);
  border-radius: 12px; padding: 15px 17px;
}
.reset-txt { flex: 1 1 240px; color: var(--ink-soft); font-size: .86rem; }
.reset-txt.danger { color: var(--bad); font-weight: 500; }
.reset-btn {
  background: none; border: 1px solid var(--border-strong); color: var(--ink-soft);
  border-radius: 8px; padding: 8px 14px; font-size: .82rem; white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.reset-btn:hover { color: var(--bad); border-color: var(--bad); }
.reset-btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.reset-btn.danger:hover { color: #fff; filter: brightness(1.08); }
