/* Page « Paramètres du compte » (même identité que le Studio : fond sombre, accents turquoise). */
:root { --bg: #0c1015; --surface: #141b24; --line: #29333f; --ink: #edf2f7; --muted: #9aa8b9; --teal: #2dd4bf; --teal-d: #14b8a6; --red: #f87171; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: radial-gradient(ellipse at 20% 0, rgba(45, 212, 191, .08), transparent 50%), var(--bg); color: var(--ink); font: 15px/1.5 'DM Sans', system-ui, sans-serif; min-height: 100vh; }
a { color: var(--teal); }
.acc-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; max-width: 760px; margin: 0 auto; padding: 18px 16px; }
.acc-header__back { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; }
.acc-header__back:hover { color: var(--ink); }
.acc-header__brand { color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.acc-header__brand span { color: var(--teal); }
.acc { max-width: 760px; margin: 0 auto; padding: 0 16px 60px; display: grid; gap: 18px; }
.acc-hero { display: flex; align-items: center; gap: 18px; padding: 8px 0 6px; }
.acc-hero__avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--teal), 0 12px 30px rgba(0, 0, 0, .45); background: #1b2430; }
.acc-hero h1 { margin: 0; font-size: 1.7rem; letter-spacing: -.02em; overflow-wrap: anywhere; }
.acc-hero p { margin: .2rem 0 0; color: var(--muted); overflow-wrap: anywhere; }
.acc-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.acc-card--center { text-align: center; padding: 40px 20px; }
.acc-big-icon { font-size: 2.6rem; color: var(--teal); }
.acc-card h2 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .5rem; font-size: 1.1rem; }
.acc-card h2 i { color: var(--teal); }
.acc-help { margin: 0 0 1rem; color: var(--muted); font-size: .88rem; }
.acc-note { margin: 0 0 1rem; padding: .6rem .8rem; border-radius: 10px; background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .35); color: #fde68a; font-size: .85rem; }
.acc-avatars { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; margin-bottom: 14px; }
.acc-avatar { display: grid; place-items: center; aspect-ratio: 1; padding: 4px; border: 2px solid transparent; border-radius: 50%; background: #1b2430; cursor: pointer; transition: transform .15s, border-color .15s; }
.acc-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.acc-avatar:hover { transform: translateY(-2px) scale(1.04); }
.acc-avatar.is-active { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, .2); }
.acc-avatar--photo span { display: grid; place-items: center; gap: 4px; font-size: .7rem; color: var(--muted); text-align: center; }
.acc-avatar--photo span i { font-size: 1.2rem; color: var(--teal); }
.acc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-form { display: grid; gap: 12px; }
.acc-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; }
.acc-form label small { font-weight: 500; color: var(--muted); }
.acc-form input { width: 100%; padding: .7rem .8rem; border-radius: 10px; border: 1px solid #2c3745; background: #0f151c; color: var(--ink); font: inherit; }
.acc-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 212, 191, .2); }
.acc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-inline { display: flex; gap: 8px; }
.acc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem 1rem; border-radius: 10px; border: 1px solid #334155; background: #1b2430; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.acc-btn:hover { border-color: var(--teal); }
.acc-btn--primary { background: var(--teal-d); border-color: var(--teal-d); color: #0c1015; justify-self: start; }
.acc-btn--primary:hover { background: var(--teal); }
.acc-btn--ghost { background: transparent; }
.acc-btn--icon { flex: 0 0 auto; width: 46px; padding: 0; font-size: 1.1rem; color: var(--teal); }
.acc-btn:disabled { opacity: .6; cursor: default; }
.acc-flash { margin: 0; padding: .8rem 1rem; border-radius: 12px; font-weight: 600; }
.acc-flash--success { background: rgba(45, 212, 191, .12); border: 1px solid rgba(45, 212, 191, .4); }
.acc-flash--error { background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .4); color: #fecaca; }
.acc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; max-width: calc(100% - 32px); padding: .75rem 1.1rem; border-radius: 12px; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.acc-toast--success { background: #134e4a; color: #ccfbf1; }
.acc-toast--info { background: #1e293b; color: #e2e8f0; }
.acc-toast--error { background: #7f1d1d; color: #fee2e2; }
@media (max-width: 560px) {
  .acc-avatars { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .acc-card { padding: 16px; }
  .acc-grid2 { grid-template-columns: 1fr; }
  .acc-hero__avatar { width: 72px; height: 72px; }
  .acc-hero h1 { font-size: 1.35rem; }
  .acc-btn--primary { justify-self: stretch; }
}
.acc-card--danger { border-color: rgba(248, 113, 113, .35); }
.acc-card--danger h2 i { color: var(--red); }
.acc-btn--danger { background: #7f1d1d; border-color: #b91c1c; color: #fee2e2; justify-self: start; }
.acc-btn--danger:hover { border-color: var(--red); background: #991b1b; }

/* ── Boutons principaux : style néon arcade (comme « Jouer en attendant ») ── */
@property --cta-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.acc-btn--primary {
  position: relative; isolation: isolate; overflow: hidden;
  border: 0 !important; color: #eef2ff !important; font-weight: 800; letter-spacing: .01em;
  background: linear-gradient(rgba(45, 212, 191, .09) 1px, transparent 1px) 0 0 / 100% 7px,
              linear-gradient(90deg, rgba(167, 139, 250, .08) 1px, transparent 1px) 0 0 / 14px 100%,
              radial-gradient(ellipse at 50% 130%, rgba(45, 212, 191, .34), transparent 62%), #0b0f1a !important;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .2), 0 0 20px rgba(45, 212, 191, .2), 0 0 40px rgba(167, 139, 250, .12) !important;
  text-shadow: 0 0 10px rgba(94, 234, 212, .35);
  transition: transform .22s cubic-bezier(.2, .9, .3, 1.3), box-shadow .25s;
  animation: ctaBreath 2.8s ease-in-out infinite, ctaGrid 3.5s linear infinite;
}
.acc-btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--cta-a), #2dd4bf, #a78bfa, #f472b6, #22d3ee, #2dd4bf);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ctaSpin 3s linear infinite;
}
.acc-btn--primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 38%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-20deg);
  animation: ctaShine 3.6s ease-in-out infinite;
}
.acc-btn--primary i { color: #5eead4; filter: drop-shadow(0 0 5px rgba(45, 212, 191, .8)); }
.acc-btn--primary:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02); color: #fff !important;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .45), 0 0 28px rgba(45, 212, 191, .42), 0 0 60px rgba(167, 139, 250, .3), 0 12px 26px rgba(0, 0, 0, .45) !important;
}
.acc-btn--primary:hover:not(:disabled)::before { animation-duration: 1.1s; }
.acc-btn--primary:active:not(:disabled) { transform: translateY(0) scale(.98); }
.acc-btn--primary:focus-visible { outline: 2px solid #5eead4; outline-offset: 3px; }
.acc-btn--primary:disabled { opacity: .55; animation: none; }
.acc-btn--primary:disabled::before, .acc-btn--primary:disabled::after { animation: none; }
@keyframes ctaSpin { to { --cta-a: 360deg; } }
@keyframes ctaGrid { to { background-position: 0 7px, 14px 0, 0 0, 0 0; } }
@keyframes ctaShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
@keyframes ctaBreath { 50% { box-shadow: 0 0 0 1px rgba(167, 139, 250, .32), 0 0 26px rgba(45, 212, 191, .3), 0 0 52px rgba(167, 139, 250, .2); } }
@media (prefers-reduced-motion: reduce) { .acc-btn--primary, .acc-btn--primary::before, .acc-btn--primary::after { animation: none; } }

/* Équipe Entreprise */
.acc-team { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 8px; }
.acc-team li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.acc-team li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--muted, #94a3b8); }
.acc-team li strong { color: var(--ink); margin-right: 6px; }
.acc-team li i { color: var(--teal); }
.acc-team li.is-pending em { font-style: normal; font-size: .8rem; color: #fbbf24; margin-left: 6px; }
.acc-team li.is-empty { color: var(--muted, #94a3b8); justify-content: center; }
.acc-team__invite { margin-bottom: 1rem; padding: 12px; border-radius: 12px; border: 1px solid rgba(45, 212, 191, .4); background: rgba(45, 212, 191, .08); }
