/* Espaces connectés en style « Orbite » (comme les pages publiques depuis le
   28 octobre 2026) : noir pur, DM Sans fine, cartes en verre, accent or.
   Chargée en dernier dans espace, coach et streamer : ne change que l'habillage. */

@font-face { font-family: "DM Sans"; src: url("fonts/dmsans-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans-500.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  --bg: #000; --bg-2: #0A0B10;
  --surface: #0A0B10;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.16);
  --ink: #F2F3F7; --ink-dim: #8E94A3; --ink-faint: #565C6A;
  --accent-soft: rgba(255,255,255,.07);
  --glass: rgba(255,255,255,.03); --glass-border: var(--line);
  --title: "DM Sans", system-ui, sans-serif;
  --display: "DM Sans", system-ui, sans-serif;
  --verre: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}

/* ciel : quelques étoiles et deux lueurs, fixes derrière tout */
body { background: #000; font-family: var(--display); font-weight: 400; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(1px 1px at 12% 18%, #fff8, transparent), radial-gradient(1px 1px at 72% 12%, #fff6, transparent),
  radial-gradient(1px 1px at 40% 70%, #fff5, transparent), radial-gradient(1px 1px at 88% 60%, #fff7, transparent),
  radial-gradient(1px 1px at 22% 88%, #fff4, transparent), radial-gradient(1px 1px at 58% 40%, #fff3, transparent),
  radial-gradient(900px 500px at 85% -10%, rgba(184,77,255,.09), transparent 70%),
  radial-gradient(800px 500px at 10% 110%, rgba(245,184,65,.06), transparent 70%); }

/* titres : fini l'Anton en capitales, place au fin et lumineux */
.ap h1, .ap h2, .ap h3, .ap-top h1, .co-title, .co-h2, .ap-modal .boite-tete h4, .prof-name, .fh .nom {
  font-family: var(--title); font-weight: 300; text-transform: none; letter-spacing: -.02em; }
.ap-top h1, .ap h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); text-shadow: 0 0 28px rgba(255,255,255,.2); }
.ap-logo { font-family: var(--title); font-weight: 500; text-transform: none; letter-spacing: .02em; }

/* barre latérale en verre */
.ap-side { background: rgba(0,0,0,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-right-color: var(--line); }
.ap-nav a { font-weight: 400; }
.ap-nav a:hover, .ap-switch-a:hover { background: rgba(255,255,255,.05); }
.ap-nav a.on { background: rgba(255,255,255,.07); box-shadow: inset 2px 0 0 var(--or, #F5B841); }
.ap-nav a .n { background: #F5B841; color: #1a1200; }

/* cartes : verre, coins plus ronds, reflet discret */
.wg, .pn, .co-panel, .st-card, .tile, .card, .card2, .mini-tile, .st-embed, .gc, .co-login, .demo-space, .pg-card, .fb, .prof, .co-plan-item, .se-col {
  background: var(--verre); border-color: var(--line); border-radius: 18px; }
.wg .pn, .wg .gc, .wg .st-embed.auj-stats { background: transparent; }
.wg { padding: 18px 20px; }
.wg-tuile, .co-total, .pg-chip { background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 14px; }
.wg-tuile b, .co-total-v, .st-stat-v, .pg-rank, .prof-lp { font-family: var(--title); font-weight: 300; letter-spacing: -.02em; }
.wg-tuile b { font-size: 1.9rem; }

/* le mot de Mimir : halo or plutôt que violet */
.wg[data-w="mot"] { border-color: rgba(245,184,65,.28); background: linear-gradient(90deg, rgba(245,184,65,.08), rgba(255,255,255,.02) 65%); }
.wg-nom { color: #F5B841; font-family: var(--title); font-size: .85rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
.wg[data-w="mot"] .etape .o { font-size: 1.12rem; font-weight: 300; }
.pastille { border-color: rgba(245,184,65,.45); background: radial-gradient(circle at 50% 40%, rgba(245,184,65,.3), #0a0700 70%); box-shadow: 0 0 18px rgba(245,184,65,.2); }

/* boutons comme sur le site : pas de capitales, coins doux */
.btn, .ap .btn { font-family: var(--title); font-weight: 500; text-transform: none; letter-spacing: 0; border-radius: 10px; }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.chip, .ap .chip { font-family: var(--title); letter-spacing: 0; border-color: var(--line-strong); background: rgba(255,255,255,.03); }

/* champs de saisie */
.ap input, .ap textarea, .ap select, .ap-search { background: rgba(0,0,0,.4); border-color: var(--line-strong); border-radius: 12px; }

/* fenêtres et bulles */
.ap-modal .boite, .pop { background: #0A0B10; border-color: var(--line-strong); border-radius: 18px; }
.ap-modal .voile { background: rgba(0,0,0,.7); }

@media (max-width: 760px) { .wg-tuile b { font-size: 1.45rem; } }
