/* Guardian — dashboard. Noir profond, émeraude Guardian, bleu ciel et or. */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
:root {
  --bg: #060709; --bg2: #0c0d11; --panel: rgba(255,255,255,.026); --panel2: rgba(255,255,255,.05); --solid: #0f1115;
  --line: rgba(255,255,255,.075); --line2: rgba(255,255,255,.13);
  --txt: #f1f2ee; --mut: #9a9ea6; --dim: #646a74;
  --acc: #10b981; --acc-ink: #03140d; --acc-bg: rgba(16,185,129,.1); --acc-glow: rgba(16,185,129,.35);
  --vio: #38bdf8; --vio-bg: rgba(56,189,248,.12);
  --warn: #fbbf24; --warn-bg: rgba(251,191,36,.11); --red: #ff5d73; --red-bg: rgba(255,93,115,.11); --gold: #ffd166;
  --r: 18px; --ease: cubic-bezier(.2,.8,.2,1);
  --f-title: "Bricolage Grotesque", "Segoe UI", sans-serif; --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: "Geist Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box }
html { -webkit-font-smoothing: antialiased; scroll-padding-top: 90px; background: var(--bg) }
body { margin: 0; background: var(--bg); color: var(--txt); font: 15px/1.6 var(--f-body); min-height: 100vh; position: relative; overflow-x: hidden }
/* fond : deux lueurs qui dérivent + quadrillage qui s'efface + grain */
body::before { content: ""; position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background: radial-gradient(38% 32% at 22% 18%, rgba(16,185,129,.13), transparent 70%),
              radial-gradient(34% 30% at 82% 12%, rgba(56,189,248,.16), transparent 70%),
              radial-gradient(40% 35% at 70% 95%, rgba(16,185,129,.06), transparent 70%);
  animation: drift 26s var(--ease) infinite alternate; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  background-size: 56px 56px, 56px 56px, 160px 160px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%); mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%); }
@keyframes drift { 0% { transform: translate3d(0,0,0) rotate(0) } 50% { transform: translate3d(4%,3%,0) rotate(6deg) } 100% { transform: translate3d(-3%,5%,0) rotate(-4deg) } }
a { color: inherit; text-decoration: none }
svg.i { width: 18px; height: 18px; flex: none; vertical-align: -4px }
button { font: inherit }
::selection { background: var(--acc); color: var(--acc-ink) }
h1, h2, h3 { font-family: var(--f-title); letter-spacing: -.025em; margin: 0 }
h1 { font-size: 40px; font-weight: 800; line-height: 1.05; margin-bottom: 10px }
h2 { font-size: 18px; font-weight: 700 }
h3 { font-size: 15px }
.sub { color: var(--mut); margin: 0 0 30px; font-size: 16px; max-width: 640px }

/* ── boutons ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px;
  border: 1px solid var(--line2); background: var(--panel2); color: var(--txt); font: 600 14px var(--f-body); cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .3s; }
.btn:hover { border-color: rgba(255,255,255,.28); transform: translateY(-1px) }
.btn:active { transform: translateY(1px) scale(.98) }
.btn.primary { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); box-shadow: 0 0 0 0 var(--acc-glow) }
.btn.primary:hover { box-shadow: 0 10px 34px -8px var(--acc-glow) }
.btn.white { background: #f3f4ef; border-color: #f3f4ef; color: #0a0a0b }
.btn.big { height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 14px }
.link { color: var(--acc); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center }
.link:hover { text-decoration: underline; text-underline-offset: 4px }

/* ── barre du haut (pages publiques) ── */
.top { height: 68px; display: flex; align-items: center; gap: 14px; padding: 0 28px; position: sticky; top: 0; z-index: 5;
  background: rgba(6,7,9,.6); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line) }
.brand { display: flex; align-items: center; gap: 10px; font: 800 18px var(--f-title); letter-spacing: -.02em }
.brand img { width: 30px; height: 30px; border-radius: 9px }
.top .sp { flex: 1 }
.who { display: flex; align-items: center; gap: 10px; color: var(--mut); font-size: 14px }
.who img { width: 32px; height: 32px; border-radius: 50% }

/* ── mise en page d'un serveur ── */
.app { display: grid; grid-template-columns: 272px 1fr; min-height: 100vh }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12,13,17,.85), rgba(6,7,9,.6)); backdrop-filter: blur(18px) }
.side .logo { display: flex; align-items: center; gap: 10px; padding: 22px 22px 16px; font: 800 19px var(--f-title); letter-spacing: -.02em }
.side .logo img { width: 30px; height: 30px; border-radius: 9px; filter: drop-shadow(0 4px 14px var(--acc-glow)) }
.switch { margin: 0 14px 12px; position: relative }
.switch summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 14px;
  background: var(--panel); cursor: pointer; transition: border-color .2s, background .2s }
.switch summary:hover { border-color: rgba(255,255,255,.25); background: var(--panel2) }
.switch summary::-webkit-details-marker { display: none }
.switch summary > svg { transition: transform .25s var(--ease) }
.switch[open] summary > svg { transform: rotate(90deg) }
.switch summary img { width: 38px; height: 38px; border-radius: 11px }
.switch .nm { flex: 1; min-width: 0; font-weight: 700; line-height: 1.25 }
.switch .nm span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.switch .nm small { color: var(--mut); font-weight: 500; font-size: 12px }
.switch .menu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #111318; border: 1px solid var(--line2); border-radius: 14px;
  padding: 6px; z-index: 20; box-shadow: 0 24px 60px #000c; animation: pop .22s var(--ease) }
.switch .menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14px }
.switch .menu a:hover { background: var(--panel2) }
.switch .menu img { width: 24px; height: 24px; border-radius: 7px }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98) } }
nav.links { flex: 1; overflow: auto; padding: 4px 14px; scrollbar-width: none }
nav.links a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 11px; color: var(--mut);
  margin-bottom: 2px; font-weight: 500; font-size: 14.5px; transition: color .2s, background .2s }
nav.links a:hover { background: var(--panel2); color: var(--txt) }
nav.links a.on { color: var(--txt); background: linear-gradient(90deg, var(--acc-bg), transparent) }
nav.links a.on::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--acc);
  box-shadow: 0 0 16px var(--acc); animation: grow-y .35s var(--ease) }
nav.links a.on svg { color: var(--acc) }
@keyframes grow-y { from { transform: scaleY(0) } }
nav.links a .cnt { margin-left: auto; font: 500 12px var(--f-num); color: var(--dim) }
nav.links a.on .cnt { color: var(--acc) }
.pill { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--panel2); color: var(--mut); border: 1px solid var(--line2) }
.pill.gold { color: var(--gold); border-color: rgba(255,209,102,.35); background: rgba(255,209,102,.08) }
nav.links .lbl { font: 600 11px var(--f-num); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin: 20px 12px 8px }
.me { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line) }
.me img { width: 34px; height: 34px; border-radius: 50%; outline: 2px solid var(--line2); outline-offset: 2px }
.me div { flex: 1; min-width: 0; line-height: 1.3 }
.me b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.me small { color: var(--mut); font-size: 12px }
.me a { color: var(--dim); transition: color .2s }
.me a:hover { color: var(--red) }
.content { min-width: 0 }
.bar { height: 68px; display: flex; align-items: center; gap: 14px; padding: 0 40px; position: sticky; top: 0; z-index: 5;
  background: rgba(6,7,9,.55); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line) }
.bar .crumb { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--mut) }
.bar .crumb b { color: var(--txt); font-family: var(--f-title); font-size: 16px; letter-spacing: -.01em }
.bar .crumb svg { color: var(--acc) }
.bar .sp { flex: 1 }
.saved { display: flex; align-items: center; gap: 8px; color: var(--mut); font-size: 13.5px }
.saved svg { color: var(--acc) }
.saved.busy, .saved.busy svg { color: var(--warn) }
.saved.busy svg { animation: spin 1s linear infinite }
.saved.err, .saved.err svg { color: var(--red) }
@keyframes spin { to { transform: rotate(360deg) } }
.search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 13px; border: 1px solid var(--line2); border-radius: 12px;
  background: var(--panel); color: var(--dim); cursor: pointer; min-width: 240px; transition: border-color .2s, color .2s }
.search:hover { border-color: rgba(255,255,255,.25); color: var(--mut) }
.search kbd { margin-left: auto; font: 500 11px var(--f-num); padding: 3px 7px; border: 1px solid var(--line2); border-radius: 7px; color: var(--mut); background: var(--bg2) }
.main { padding: 40px 40px 150px; max-width: 1140px }

/* ── apparition en cascade ── */
.rise { opacity: 0; animation: rise .7s var(--ease) forwards; animation-delay: var(--d, 0ms) }
@keyframes rise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }

/* ── cartes : verre + halo qui suit la souris ── */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 20px; overflow: hidden;
  backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06) }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(16,185,129,.07), transparent 60%) }
.card:hover::before { opacity: 1 }
.card > header { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line) }
.card > header .sp { flex: 1 }
.card > header > svg { color: var(--acc); width: 20px; height: 20px }
.card > header p { margin: 2px 0 0; color: var(--mut); font-size: 13.5px }
.row { position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line) }
.row:last-child { border-bottom: 0 }
.row b { font-weight: 600; font-size: 15px }
.row p { margin: 3px 0 0; color: var(--mut); font-size: 13.5px }
:target { animation: flash 1.8s var(--ease) }
@keyframes flash { 0% { background: rgba(16,185,129,.16) } 100% { background: transparent } }

/* ── champs ── */
input, select, textarea { width: 100%; height: 44px; padding: 0 13px; background: rgba(0,0,0,.35); color: var(--txt); border: 1px solid var(--line2);
  border-radius: 12px; font: inherit; font-size: 14.5px; transition: border-color .2s, box-shadow .2s }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9ea6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px }
select option { background: #111318 }
textarea { height: 100px; padding: 11px 13px; resize: vertical }
input:hover, select:hover, textarea:hover { border-color: rgba(255,255,255,.22) }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px rgba(16,185,129,.14) }
.sw { position: relative; display: inline-block; width: 50px; height: 28px; flex: none }
.sw input { opacity: 0; width: 0; height: 0 }
.sw span { position: absolute; inset: 0; background: #2a2d34; border-radius: 99px; transition: background .3s var(--ease), box-shadow .3s; cursor: pointer;
  box-shadow: inset 0 1px 3px #0008 }
.sw span::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #e9eae5; border-radius: 50%;
  transition: transform .35s cubic-bezier(.5,1.6,.4,.9), width .2s; box-shadow: 0 2px 6px #0006 }
.sw span:active::before { width: 28px }
.sw input:checked + span { background: var(--acc); box-shadow: 0 0 18px -2px var(--acc-glow) }
.sw input:checked + span::before { transform: translateX(22px); background: #03140d }
.sw input:checked + span:active::before { transform: translateX(16px) }
.sw input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 3px }

/* ── accueil : héros 3D ── */
.hero3d { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 360px;
  background: radial-gradient(70% 90% at 85% 50%, rgba(16,185,129,.08), transparent 60%), var(--panel) }
.hero3d.mid { background: radial-gradient(70% 90% at 85% 50%, rgba(251,191,36,.09), transparent 60%), var(--panel) }
.hero-l { position: relative; padding: 36px 38px; z-index: 1 }
.srv { display: flex; gap: 14px; align-items: center; margin-bottom: 14px }
.srv img { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 8px 24px #0008 }
.srv small { display: block; color: var(--dim); font: 500 11px var(--f-num); text-transform: uppercase; letter-spacing: .12em }
.hero3d h2 { font-size: 38px; font-weight: 800; line-height: 1.05; letter-spacing: -.035em }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 12px; padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 700 }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: ping 2s infinite }
.status.ok { color: var(--acc); background: var(--acc-bg) }
.status.mid { color: var(--warn); background: var(--warn-bg) }
@keyframes ping { 0% { box-shadow: 0 0 0 0 currentColor } 70%, 100% { box-shadow: 0 0 0 8px transparent } }
.lead { color: var(--mut); margin: 0 0 22px; font-size: 15.5px; max-width: 420px }
.quick { display: flex; gap: 30px; margin-bottom: 26px; flex-wrap: wrap }
.quick b { display: block; font: 500 28px/1 var(--f-num); letter-spacing: -.03em }
.quick b small { color: var(--dim); font-size: 16px }
.quick span { color: var(--mut); font-size: 13px }
.shield3d { position: relative; height: 360px; cursor: grab; touch-action: pan-y }
.shield3d:active { cursor: grabbing }
.shield3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s var(--ease) }
.shield3d .fallback { position: absolute; left: 50%; top: 45%; width: 120px; transform: translate(-50%,-50%); transition: opacity .6s;
  filter: drop-shadow(0 18px 40px var(--acc-glow)); animation: float 4s ease-in-out infinite }
.shield3d.live canvas { opacity: 1 }
.shield3d.live .fallback { opacity: 0 }
@keyframes float { 50% { transform: translate(-50%,-56%) } }
.score-o { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; pointer-events: none }
.score-o b { font: 500 46px/1 var(--f-num); letter-spacing: -.05em; color: var(--acc); text-shadow: 0 0 30px var(--acc-glow) }
.mid .score-o b { color: var(--warn); text-shadow: 0 0 30px rgba(251,191,36,.4) }
.score-o small { font: 500 16px var(--f-num); color: var(--dim) }
.score-o span { display: block; margin-top: 6px; font: 600 11px var(--f-num); text-transform: uppercase; letter-spacing: .14em; color: var(--mut) }
.hint { position: absolute; top: 16px; right: 18px; font: 500 11px var(--f-num); color: var(--dim); letter-spacing: .08em }

/* tuiles 3D */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; perspective: 900px }
.tile { position: relative; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden;
  transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .3s; will-change: transform }
.tile:hover { border-color: var(--line2) }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.07), transparent 60%) }
.tile:hover::before { opacity: 1 }
.tile .k { color: var(--mut); font-size: 13.5px; display: flex; align-items: center; gap: 8px }
.tile .k svg { color: var(--acc) }
.tile .v { font: 600 26px/1.15 var(--f-title); letter-spacing: -.02em; margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  transform: translateZ(30px) }
.tile .v.small { font-size: 17px; line-height: 1.3 }
.tile p { margin: 6px 0 0; color: var(--mut); font-size: 13px; transform: translateZ(18px) }
.tile.alert-on { border-color: rgba(255,93,115,.4); background: linear-gradient(160deg, var(--red-bg), var(--panel) 60%) }
.tile.alert-on .k svg { color: var(--red) }

/* anciennes rangées de stats (page Statistiques) */
.trio { display: grid; grid-template-columns: repeat(3,1fr) }
.trio > div { padding: 20px 22px; border-right: 1px solid var(--line) }
.trio > div:last-child { border-right: 0 }
.trio .k { color: var(--mut); font-size: 13.5px; display: flex; align-items: center; gap: 8px }
.trio .k svg { color: var(--acc) }
.trio .v { font: 500 30px/1.1 var(--f-num); letter-spacing: -.04em; margin-top: 8px }
.trio p { margin: 4px 0 0; color: var(--mut); font-size: 13px }
.trio.four { grid-template-columns: repeat(4,1fr); border-top: 0 }

.cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start }
.cat { position: relative; display: flex; align-items: center; gap: 16px; padding: 15px 22px; border-bottom: 1px solid var(--line); transition: background .2s }
.cat:last-child { border-bottom: 0 }
.cat:hover { background: var(--panel2) }
.cat b { width: 190px; flex: none; font-weight: 600 }
.cat .bar2 { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden }
.cat .bar2 i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #059669, var(--acc)); box-shadow: 0 0 12px var(--acc-glow);
  animation: grow-x 1.2s var(--ease) both; animation-delay: var(--d, 200ms); transform-origin: left }
.cat .bar2 i.mid { background: linear-gradient(90deg, #ff8a3d, var(--warn)); box-shadow: 0 0 12px rgba(251,191,36,.35) }
@keyframes grow-x { from { transform: scaleX(0) } }
.cat span { font: 500 13px var(--f-num); color: var(--mut); width: 46px; text-align: right }
.li { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); transition: background .2s }
.li:last-child { border-bottom: 0 }
a.li:hover { background: var(--panel2) }
.li .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--panel2); color: var(--mut) }
.li .dot.ok { background: var(--acc-bg); color: var(--acc) }
.li .dot.no { background: var(--warn-bg); color: var(--warn) }
.li .dot.bad { background: var(--red-bg); color: var(--red) }
.li > div { flex: 1; min-width: 0 }
.li b { font-weight: 600; font-size: 14.5px }
.li p { margin: 1px 0 0; color: var(--mut); font-size: 13px }
.li .st { font: 500 12.5px var(--f-num); color: var(--mut); white-space: nowrap }
.li .st.ok { color: var(--acc) }
.li .st.no { color: var(--warn) }

/* ── protections ── */
.mod { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 17px 22px; border-bottom: 1px solid var(--line); transition: background .25s }
.mod:last-child { border-bottom: 0 }
.mod:hover { background: rgba(255,255,255,.018) }
.mod:has(input:checked) b { color: var(--txt) }
.mod:not(:has(.sw input:checked)) b { color: var(--mut) }
.mod .txt { flex: 1; min-width: 0 }
.mod b { font-weight: 600; transition: color .2s }
.mod p { margin: 2px 0 0; color: var(--mut); font-size: 13.5px }
.mod select { width: 220px; flex: none }
.mod details { margin-top: 8px }
.mod summary { cursor: pointer; color: var(--dim); font-size: 13px; list-style: none; display: inline-flex; gap: 6px; align-items: center }
.mod summary:hover { color: var(--txt) }
.mod summary::-webkit-details-marker { display: none }
.mod summary::before { content: "+"; font: 600 14px var(--f-num); color: var(--acc); transition: transform .25s var(--ease) }
.mod details[open] summary::before { transform: rotate(45deg) }
.adv { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; color: var(--mut); font-size: 13.5px }
.adv input { width: 96px; height: 38px }
.counter { font: 500 13px var(--f-num); color: var(--acc); background: var(--acc-bg); padding: 3px 10px; border-radius: 99px }
.savebar { position: fixed; left: 272px; right: 0; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 14px 40px;
  background: rgba(6,7,9,.85); backdrop-filter: blur(14px); border-top: 1px solid var(--line) }
.savebar span { color: var(--mut); font-size: 13.5px; margin-right: auto }
.js .savebar { display: none }
.toast { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border: 1px solid rgba(16,185,129,.3); background: var(--acc-bg); border-radius: 14px;
  margin-bottom: 22px; animation: rise .5s var(--ease) }
.toast.bad { border-color: rgba(251,191,36,.35); background: var(--warn-bg) }
.toast svg { color: var(--acc) }
.toast.bad svg { color: var(--warn) }

/* ── liste des serveurs ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; perspective: 900px }
.srvcard { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
  overflow: hidden; transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .3s }
.srvcard:hover { border-color: rgba(16,185,129,.45) }
.srvcard::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(16,185,129,.1), transparent 60%) }
.srvcard:hover::before { opacity: 1 }
.srvcard img { width: 52px; height: 52px; border-radius: 15px; transform: translateZ(24px) }
.srvcard .mut { color: var(--mut); font-size: 13.5px }

/* ── tableaux ── */
table { width: 100%; border-collapse: collapse }
td, th { padding: 13px 22px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px }
th { color: var(--dim); font: 600 11px var(--f-num); text-transform: uppercase; letter-spacing: .1em }
tr:last-child td { border-bottom: 0 }
tbody tr, table tr { transition: background .2s }
tr:hover td { background: rgba(255,255,255,.02) }
.tag { display: inline-block; padding: 3px 9px; border-radius: 8px; background: var(--vio-bg); color: #9ddcfb; font: 500 12px var(--f-num) }
.empty { padding: 30px 22px; color: var(--mut); text-align: center }
pre { white-space: pre-wrap; margin: 0; padding: 22px; font: 13px/1.7 var(--f-num); color: #d6d8d2 }
.perks .li .dot { background: var(--acc-bg); color: var(--acc) }

/* ── recherche Ctrl+K ── */
.pal { position: fixed; inset: 0; background: rgba(3,4,6,.7); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding-top: 12vh; z-index: 50 }
.pal.on { display: flex; animation: fade .2s }
@keyframes fade { from { opacity: 0 } }
.pal .box { width: min(640px, 92vw); background: #0f1115; border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px #000d, 0 0 0 1px rgba(16,185,129,.08);
  animation: pop .25s var(--ease) }
.pal input { height: 58px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 17px; padding: 0 20px }
.pal input:focus { box-shadow: none }
.pal .res { max-height: 52vh; overflow: auto; padding: 6px }
.pal .res a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; transition: background .15s }
.pal .res a.sel, .pal .res a:hover { background: var(--acc-bg) }
.pal .res a.sel { box-shadow: inset 2px 0 0 var(--acc) }
.pal .res small { margin-left: auto; color: var(--dim); font: 500 11.5px var(--f-num) }
.pal .none { padding: 20px; color: var(--mut) }

/* ── pages publiques ── */
.landing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: center; max-width: 1160px; margin: 0 auto; padding: 70px 28px 30px }
.landing .eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border: 1px solid var(--line2); border-radius: 99px; color: var(--mut);
  font: 500 12px var(--f-num); letter-spacing: .06em; margin-bottom: 22px; background: var(--panel) }
.landing .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc) }
.landing h1 { font-size: 64px; line-height: 1; letter-spacing: -.045em; margin: 0 0 20px }
.landing h1 em { font-style: normal; color: var(--acc); text-shadow: 0 0 40px var(--acc-glow) }
.landing p { color: var(--mut); font-size: 18px; margin: 0 0 32px; max-width: 520px }
.landing .ctas { display: flex; gap: 10px; flex-wrap: wrap }
.landing .shield3d { height: 480px }
.feats { max-width: 1160px; margin: 0 auto; padding: 30px 28px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 900px }
.feat { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--panel); overflow: hidden; transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .3s }
.feat:hover { border-color: var(--line2) }
.feat::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(16,185,129,.08), transparent 60%) }
.feat:hover::before { opacity: 1 }
.feat svg { color: var(--acc); width: 26px; height: 26px; transform: translateZ(30px) }
.feat b { display: block; margin: 14px 0 6px; font: 700 18px var(--f-title); letter-spacing: -.02em }
.feat p { margin: 0; color: var(--mut); font-size: 14px }
.narrow { max-width: 700px; margin: 52px auto; padding: 0 24px }
.legal h2 { margin: 34px 0 10px; font-size: 20px }
.legal p { color: #d6d8d2; margin: 0 0 12px }
.legal .upd { color: var(--mut); font-size: 13px; margin-top: 34px }
.foot { display: flex; justify-content: center; gap: 22px; padding: 30px 16px 44px; color: var(--dim); font-size: 13px; flex-wrap: wrap }
.foot a { transition: color .2s }
.foot a:hover { color: var(--acc) }

@media (max-width: 980px) {
  .app { display: block }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line) }
  nav.links { display: flex; gap: 4px; overflow-x: auto; padding: 4px 14px 12px }
  nav.links .lbl, .me, .side .logo, nav.links a .cnt, nav.links .pill { display: none }
  nav.links a { flex: none; margin: 0; padding: 8px 12px }
  nav.links a.on::before { display: none }
  .bar { padding: 0 16px; height: 60px }
  .search { min-width: 0 }
  .search span, .search kbd { display: none }
  .main { padding: 22px 16px 150px }
  h1 { font-size: 30px }
  .row { grid-template-columns: 1fr; gap: 12px }
  .cols, .tiles, .trio { grid-template-columns: 1fr }
  .trio.four { grid-template-columns: 1fr 1fr }
  .trio > div { border-right: 0; border-bottom: 1px solid var(--line) }
  .hero3d { grid-template-columns: 1fr }
  .hero-l { padding: 26px 22px 6px }
  .hero3d h2 { font-size: 30px }
  .shield3d { height: 300px; order: -1 }
  .cat b { width: 120px }
  .savebar { left: 0; padding: 12px 16px }
  .savebar span { display: none }
  .mod { flex-wrap: wrap }
  .mod select { width: 100% }
  .landing { grid-template-columns: 1fr; padding-top: 30px; text-align: center }
  .landing p { margin-left: auto; margin-right: auto }
  .landing .ctas { justify-content: center }
  .landing .shield3d { height: 320px; order: -1 }
  .landing h1 { font-size: 42px }
  .feats { grid-template-columns: 1fr }
  .top { padding: 0 14px }
  .who img { display: none }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
  .rise { opacity: 1 }
}

/* barres des statistiques qui poussent une par une */
rect.b { transform-box: fill-box; transform-origin: 50% 100%; animation: grow-b .8s var(--ease) both; animation-delay: calc(var(--i) * 9ms + 250ms) }
@keyframes grow-b { from { transform: scaleY(0) } }

/* ── transitions entre les pages (le menu reste en place, le contenu glisse) ── */
@view-transition { navigation: auto; }
.side { view-transition-name: side }
.bar { view-transition-name: bar }
::view-transition-old(root) { animation: vt-out .22s var(--ease) both }
::view-transition-new(root) { animation: vt-in .38s var(--ease) both }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px) } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px) } }

/* ── apparition au défilement ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease) }
.reveal.seen { opacity: 1; transform: none }

/* ── protections en cartes lumineuses ── */
.mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px }
.mods .mod { flex-wrap: wrap; border: 1px solid var(--line); border-radius: 15px; padding: 16px; background: rgba(0,0,0,.22);
  transition: border-color .35s, background .35s, box-shadow .35s, transform .3s var(--ease) }
.mods .mod:last-child { border-bottom: 1px solid var(--line) }
.mods .mod:hover { transform: translateY(-2px); border-color: var(--line2) }
.mods .mod:has(.sw input:checked) { border-color: rgba(16,185,129,.38); background: linear-gradient(155deg, rgba(16,185,129,.1), rgba(0,0,0,.2) 55%);
  box-shadow: 0 10px 30px -18px rgba(16,185,129,.6) }
.mods .mod select { width: 100%; order: 3; height: 38px; font-size: 13.5px }
.mods .mod:not(:has(.sw input:checked)) select { opacity: .45 }
.mods .mod .txt { flex: 1 1 60% }

/* ── accueil : démo (onglets + salon + cerveau de Guardian) ── */
.demo { max-width: 1160px; margin: 70px auto 0; padding: 40px 28px }
.demo-head { text-align: center; margin-bottom: 34px }
.demo-head p { margin: 0 auto }
.demo h2, .cta h2 { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin: 0 0 14px }
.demo p, .cta p { color: var(--mut); font-size: 17px; margin: 0; max-width: 520px }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border: 1px solid var(--line2); border-radius: 99px; color: var(--mut);
  font: 500 12px var(--f-num); letter-spacing: .06em; margin-bottom: 20px; background: var(--panel) }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: ping 2s infinite; color: var(--acc) }

.show { position: relative; padding: 14px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  box-shadow: 0 50px 120px -50px #000, inset 0 1px 0 rgba(255,255,255,.06) }
.show::before { content: ""; position: absolute; inset: -1px; border-radius: 28px; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(16,185,129,.5), transparent 35%, transparent 65%, rgba(56,189,248,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px }
.tab { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.25);
  color: var(--mut); text-align: left; cursor: pointer; overflow: hidden; transition: border-color .3s, background .3s, color .3s }
.tab:hover { border-color: var(--line2); color: var(--txt) }
.tab > svg { width: 22px; height: 22px; padding: 9px; box-sizing: content-box; border-radius: 12px; background: var(--panel2); transition: background .3s, color .3s }
.tab b { display: block; font: 700 16px var(--f-title); color: var(--txt); letter-spacing: -.01em }
.tab small { font-size: 13px }
.tab i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--acc); box-shadow: 0 0 12px var(--acc) }
.tab.on { border-color: rgba(16,185,129,.4); background: linear-gradient(150deg, rgba(16,185,129,.12), rgba(0,0,0,.25) 60%); color: var(--txt) }
.tab.on > svg { background: var(--acc); color: var(--acc-ink) }
.tab.play i { animation: tabbar 12.5s linear forwards }
@keyframes tabbar { to { width: 100% } }
.stage { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; height: 470px }

/* salon */
.chat { display: flex; flex-direction: column; min-height: 0; border-radius: 18px; border: 1px solid var(--line); background: #0b0d10; overflow: hidden }
.chat-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line) }
.chat-top .hash { font: 600 20px var(--f-body); color: var(--dim) }
.chat-top b { font-weight: 600 }
.chat-top small { color: var(--dim); font-size: 13px; padding-left: 10px; border-left: 1px solid var(--line2) }
.chat-on { margin-left: auto; display: flex; align-items: center; gap: 7px; font: 500 12px var(--f-num); color: var(--mut) }
.chat-on i { width: 7px; height: 7px; border-radius: 50%; background: #23a55a }
.chat-body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 18px;
  -webkit-mask-image: linear-gradient(transparent, #000 14%); mask-image: linear-gradient(transparent, #000 14%) }
.chat-body > :first-child { margin-top: auto }
.cm { display: flex; gap: 12px; animation: cm-in .45s var(--ease); flex: none; max-height: 220px; transition: max-height .5s var(--ease), opacity .4s, margin .5s }
@keyframes cm-in { from { opacity: 0; transform: translateY(10px) } }
.cav { width: 38px; height: 38px; border-radius: 50%; flex: none }
.cav.bot { background: #0b1020; padding: 5px; box-sizing: border-box; box-shadow: 0 0 0 1px rgba(16,185,129,.4), 0 0 18px -4px rgba(16,185,129,.7) }
.cn { display: flex; align-items: center; gap: 7px; margin-bottom: 1px }
.cn b { font-weight: 600; font-size: 15px }
.cn time { font: 500 11px var(--f-num); color: var(--dim) }
.tag-app { font: 700 9.5px var(--f-body); padding: 2px 5px; border-radius: 4px; background: #5865f2; color: #fff; letter-spacing: .03em }
.ct { color: #d7dae0; font-size: 15px }
.lnk { color: #38bdf8; text-decoration: underline; text-underline-offset: 2px }
.preview { display: block; margin-top: 8px; padding: 10px 12px; max-width: 320px; border-left: 3px solid #5865f2; border-radius: 6px; background: rgba(255,255,255,.04) }
.preview b { display: block; color: #00a8fc; font-size: 14px }
.preview small { color: var(--mut); font-size: 13px }
.cm.gone, .cs.gone { max-height: 0; opacity: 0; margin-top: -14px; overflow: hidden; filter: blur(3px) }
.cm.gone { animation: none }
.cemb { margin-top: 6px; padding: 10px 14px; border-radius: 8px; border-left: 3px solid var(--c); background: rgba(255,255,255,.04) }
.cemb b { display: block; font-size: 14.5px; margin-bottom: 2px }
.cemb p { margin: 0; color: #c9ccd3; font-size: 14px; max-width: none }
.cm.g { animation: cm-in .5s var(--ease), glow 1.6s var(--ease) }
@keyframes glow { 0% { filter: drop-shadow(0 0 12px rgba(16,185,129,.55)) } 100% { filter: none } }
.cs { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--mut); animation: cm-in .4s var(--ease); flex: none;
  max-height: 60px; transition: max-height .5s var(--ease), opacity .4s, margin .5s, background .4s, color .4s, border-color .4s; border: 1px solid transparent }
.cs b { color: var(--txt) }
.cs.flood { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.22) }
.faces { display: flex }
.faces img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #0b0d10; margin-left: -9px; animation: pop-face .3s var(--ease) }
.faces img:first-child { margin-left: 0 }
@keyframes pop-face { from { transform: scale(0) } }
.flood-t b { font-family: var(--f-num) }
.cs.del { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.25); color: #fca5a5 }
.cs.del.back { background: rgba(16,185,129,.09); border-color: rgba(16,185,129,.3); color: #6ee7b7 }

/* cerveau de Guardian */
.brain { --lvl: 6%; position: relative; display: flex; flex-direction: column; min-height: 0; padding: 18px; border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(120% 70% at 100% 0%, rgba(16,185,129,.1), transparent 60%), #0b0d10; overflow: hidden; transition: border-color .5s }
.brain[data-lvl="2"], .brain[data-lvl="3"] { border-color: rgba(248,113,113,.35) }
.brain[data-lvl="3"] { background: radial-gradient(120% 70% at 100% 0%, rgba(248,113,113,.14), transparent 60%), #0b0d10 }
.brain-top { display: flex; align-items: center; gap: 12px }
.brain-top img { width: 40px; height: 40px; padding: 7px; border-radius: 12px; background: #0b1020; box-sizing: border-box; box-shadow: 0 0 0 1px rgba(16,185,129,.35) }
.brain-top b { display: block; font: 700 16px var(--f-title) }
.brain-top small { font: 500 12px var(--f-num); color: var(--acc); text-transform: uppercase; letter-spacing: .1em }
.brain.busy .brain-top small { color: var(--warn) }
.pulse { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); color: var(--acc); animation: ping 1.8s infinite }
.brain.busy .pulse { background: var(--warn); color: var(--warn); animation-duration: .7s }
.threat { margin: 22px 0 18px }
.threat-l { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px }
.threat-l span { font-size: 13px; color: var(--mut) }
.threat-v { font: 600 14px var(--f-num); color: var(--acc); transition: color .3s }
.brain[data-lvl="1"] .threat-v { color: var(--warn) }
.brain[data-lvl="2"] .threat-v, .brain[data-lvl="3"] .threat-v { color: var(--red) }
.threat-bar { position: relative; height: 8px; border-radius: 99px; overflow: hidden; background: linear-gradient(90deg, #10b981, #fbbf24 55%, #f87171) }
.threat-bar i { position: absolute; right: 0; top: 0; bottom: 0; width: calc(100% - var(--lvl)); background: #1c1f24; transition: width .6s var(--ease) }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; overflow: hidden }
.steps li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--mut); animation: cm-in .4s var(--ease) }
.steps li.done { color: var(--txt) }
.steps .sp { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: var(--warn); animation: spin .8s linear infinite }
.steps li.done .sp { border-color: var(--acc); background: var(--acc); animation: none }
.steps li.done .sp::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--acc-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
  animation: tick .3s var(--ease) }
@keyframes tick { from { transform: rotate(45deg) scale(0) } }
.result { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; margin-top: 12px;
  border: 1px solid rgba(16,185,129,.35); background: linear-gradient(140deg, rgba(16,185,129,.16), rgba(16,185,129,.04)); opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease) }
.result svg { grid-row: span 2; width: 28px; height: 28px; color: var(--acc) }
.result b { font: 700 17px var(--f-title) }
.result small { color: var(--mut); font-size: 13px }
.brain.won .result { opacity: 1; transform: none }

@media (max-width: 980px) {
  .demo { padding: 30px 16px }
  .demo h2, .cta h2 { font-size: 32px }
  .show { padding: 10px; border-radius: 22px }
  .tabs { gap: 6px }
  .tab { padding: 10px; justify-content: center }
  .tab span small { display: none }
  .tab > svg { display: none }
  .stage { grid-template-columns: 1fr; height: auto }
  .chat { height: 380px }
  .brain { min-height: 330px }
}

/* ── boutons aimantés ── */
.magnet { transition: transform .25s var(--ease), box-shadow .3s, background .2s }

@media (max-width: 980px) {
  .mods { grid-template-columns: 1fr; padding: 12px }
  .cta { margin: 40px 16px 10px; padding: 40px 20px }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none } }

/* encadré final de l'accueil */
.cta { max-width: 820px; margin: 70px auto 20px; padding: 60px 28px; text-align: center; border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(60% 120% at 50% 0%, rgba(16,185,129,.16), transparent 70%), var(--panel) }
.cta p { margin: 0 auto 28px }
@media (max-width: 980px) { .cta { margin: 40px 16px 10px; padding: 40px 20px } }

/* ── nouveautés et statut ── */
.narrow.wide { max-width: 860px }
.narrow .eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border: 1px solid var(--line2); border-radius: 99px; color: var(--mut);
  font: 500 12px var(--f-num); letter-spacing: .06em; margin-bottom: 18px; background: var(--panel) }
.narrow .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc) }
.rel > header { gap: 16px }
.rel .ver { font: 600 15px var(--f-num); color: var(--acc); background: var(--acc-bg); border: 1px solid rgba(16,185,129,.3); padding: 6px 12px; border-radius: 10px }
.rel h2 { font-size: 20px }
.rel header p { margin: 2px 0 0; color: var(--mut); font-size: 13.5px }
.pill-new { margin-left: auto; font: 700 11px var(--f-num); text-transform: uppercase; letter-spacing: .1em; color: var(--acc-ink); background: var(--acc); padding: 4px 10px; border-radius: 99px }
.rel.new { border-color: rgba(16,185,129,.35); box-shadow: 0 20px 60px -30px rgba(16,185,129,.5) }
.rel-b { padding: 6px 24px 20px }
.rel-b .sum { color: #d6d8d2; font-size: 15.5px; margin: 14px 0 6px }
.rel-b h3 { font-size: 15px; margin: 18px 0 8px }
.rel-b ul { margin: 0; padding-left: 20px; color: #d6d8d2 }
.rel-b li { margin: 6px 0 }
.rel-b li::marker { color: var(--acc) }
.rel-b code, .legal code { font: 500 13px var(--f-num); background: var(--panel2); border: 1px solid var(--line2); padding: 1px 6px; border-radius: 6px }
.status-hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 18px; margin-bottom: 18px; border: 1px solid }
.status-hero.ok { border-color: rgba(16,185,129,.35); background: linear-gradient(135deg, rgba(16,185,129,.14), rgba(16,185,129,.03)) }
.status-hero.bad { border-color: rgba(248,113,113,.4); background: linear-gradient(135deg, rgba(248,113,113,.14), rgba(248,113,113,.03)) }
.status-hero .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--acc); color: var(--acc); animation: ping 1.8s infinite; flex: none }
.status-hero.bad .dot { background: var(--red); color: var(--red) }
.status-hero b { font: 700 22px var(--f-title) }
.status-hero p { margin: 2px 0 0; color: var(--mut) }
.tiles.four { grid-template-columns: repeat(4, 1fr) }
.uptime { display: flex; gap: 3px; height: 44px; padding: 20px 22px 8px; box-sizing: content-box }
.uptime i { flex: 1; border-radius: 3px; background: var(--acc); transition: transform .2s; cursor: default }
.uptime i:hover { transform: scaleY(1.15) }
.uptime i.mid { background: var(--warn) }
.uptime i.down { background: var(--red) }
.uptime i.none { background: rgba(255,255,255,.07) }
.uptime-l { display: flex; justify-content: space-between; padding: 0 22px 18px; color: var(--dim); font: 500 12px var(--f-num) }
@media (max-width: 980px) { .tiles.four { grid-template-columns: 1fr 1fr } .uptime { gap: 1px; padding: 16px 12px 8px } }

/* ── classement public des niveaux ── */
.lb-row { display: grid; grid-template-columns: 44px 48px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line) }
.lb-row:last-child { border-bottom: 0 }
.lb-row.top { background: linear-gradient(90deg, rgba(16,185,129,.08), transparent 60%) }
.lb-n { font: 600 16px var(--f-num); color: var(--mut); text-align: center }
.lb-row.top .lb-n { font-size: 24px }
.lb-row img { width: 48px; height: 48px; border-radius: 50% }
.lb-who b { display: block; font-weight: 600; margin-bottom: 6px }
.lb-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; max-width: 320px }
.lb-bar i { display: block; height: 100%; background: var(--acc); border-radius: 99px }
.lb-lvl { text-align: center; line-height: 1.1 }
.lb-lvl b { display: block; font: 600 22px var(--f-num); color: var(--acc) }
.lb-lvl small { color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .08em }
.lb-xp { font: 500 13px var(--f-num); color: var(--mut); min-width: 90px; text-align: right }
@media (max-width: 980px) { .lb-row { grid-template-columns: 30px 40px 1fr auto; padding: 12px 14px; gap: 10px } .lb-xp { display: none } .lb-row img { width: 40px; height: 40px } }

/* ── éditeur de l'image de bienvenue ── */
.card-ed { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start }
.card-ed .row { grid-template-columns: 1fr 190px; gap: 16px }
.card-prev { padding: 22px; background: repeating-conic-gradient(rgba(255,255,255,.025) 0 25%, transparent 0 50%) 0 0 / 22px 22px }
.card-prev img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 20px 50px -20px #000; transition: opacity .2s }
.card-prev img.wait { opacity: .55 }
.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0 22px 20px }
.presets span { color: var(--mut); font-size: 13px; margin-right: 4px }
.preset { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel2);
  color: var(--txt); font: 600 13px var(--f-body); cursor: pointer; transition: border-color .2s, transform .2s }
.preset:hover { border-color: rgba(255,255,255,.3); transform: translateY(-1px) }
.preset i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 10px currentColor }
input[type=color] { height: 44px; padding: 4px; cursor: pointer }
@media (max-width: 980px) { .card-ed { grid-template-columns: 1fr } .card-ed .row { grid-template-columns: 1fr } }

/* ── éditeur de messages ── */
.msg-ed { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start }
.msg-side { position: sticky; top: 84px }
.msg-ed .row { grid-template-columns: 1fr 260px; gap: 16px }
.msg-send { display: flex; gap: 10px; margin-bottom: 20px }
.brows { padding: 14px 22px 6px; display: flex; flex-direction: column; gap: 10px }
.brow { display: grid; grid-template-columns: 170px 1fr 64px 1fr; gap: 8px }
.brow[hidden] { display: none }
.brow .bx { display: none }
.brow[data-type=link] .bx-link, .brow[data-type=role] .bx-role, .brow[data-type=ticket] .bx-ticket { display: block }
.bemo { text-align: center }
.dprev { padding: 18px; background: #1a1a1e }
.dmsg { display: flex; gap: 14px; font-family: "Noto Sans", var(--f-body) }
.dmsg > img { width: 40px; height: 40px; border-radius: 50%; background: #0b1020; padding: 5px; box-sizing: border-box; flex: none }
.dbody { min-width: 0; flex: 1 }
.dn { display: flex; align-items: center; gap: 6px; margin-bottom: 2px }
.dn b { font-weight: 600; color: #f2f3f5 }
.dn time { font-size: 12px; color: #949ba4 }
.dmsg .dc-app { display: inline-flex; align-items: center; height: 15px; padding: 0 4px; border-radius: 3px; background: #5865f2; color: #fff; font-size: 10px; font-weight: 600 }
.dtx { color: #dbdee1; font-size: 15px; margin-bottom: 4px; overflow-wrap: anywhere }
.demb { max-width: 432px; background: #232428; border-left: 4px solid #10b981; border-radius: 4px; padding: 10px 16px 14px 12px; color: #dbdee1; font-size: 14px }
.det { font-weight: 600; color: #f2f3f5; font-size: 15px; margin-bottom: 4px }
.ded { line-height: 1.45; overflow-wrap: anywhere }
.dei { display: block; max-width: 100%; border-radius: 4px; margin-top: 10px }
.def { font-size: 12px; color: #949ba4; margin-top: 8px }
.dbtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px }
.dbtn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #fff; background: #4e5058 }
.dbtn.ticket { background: #248046 }
@media (max-width: 980px) { .msg-ed { grid-template-columns: 1fr } .msg-side { position: static } .msg-ed .row { grid-template-columns: 1fr } .brow { grid-template-columns: 1fr 1fr } }

/* ── incidents, listes à ajouter ── */
.inc { display: flex; align-items: center; gap: 14px; padding: 15px 22px; border-bottom: 1px solid var(--line) }
.inc:last-child { border-bottom: 0 }
.inc .dot { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--red-bg); color: var(--red) }
.inc-t { flex: 1; min-width: 0 }
.inc-t b { font-weight: 600 }
.inc-t p { margin: 2px 0 0; color: var(--mut); font-size: 13px }
.inc-t small { display: block; margin-top: 4px; color: var(--dim); font: 12px var(--f-num); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.btn.hold { position: relative; overflow: hidden }
.btn.hold::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(248,113,113,.35) }
.btn.hold.holding::after { width: 100%; transition: width 1s linear }
.addform { display: grid; grid-template-columns: 180px 1fr; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line) }
.addform textarea, .addform input[name=msg], .addform input[name=name] { grid-column: 1 / -1 }
.addform .btn { justify-self: start }
.li form { margin-left: 8px }
@media (max-width: 980px) { .addform { grid-template-columns: 1fr } .inc { flex-wrap: wrap } }

/* ── page Premium : or, lumière, offres ── */
.btn.gold { background: linear-gradient(135deg, #fde68a, #fbbf24 45%, #f59e0b); border-color: #fbbf24; color: #1c1300; box-shadow: 0 10px 30px -10px rgba(251,191,36,.7) }
.btn.gold:hover { box-shadow: 0 14px 40px -8px rgba(251,191,36,.85) }
.prem-hero { position: relative; overflow: hidden; text-align: center; padding: 64px 32px 44px; border-radius: 28px; margin-bottom: 22px;
  border: 1px solid rgba(251,191,36,.35); background: radial-gradient(70% 90% at 50% 0%, rgba(251,191,36,.18), transparent 65%), linear-gradient(180deg, #14110a, #0b0b0d) }
.prem-glow { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(251,191,36,.12), transparent 30%); animation: spin 14s linear infinite; pointer-events: none }
.prem-sparks { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.5px 1.5px at 12% 30%, #fde68a, transparent), radial-gradient(1px 1px at 80% 20%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 70% 75%, #fbbf24, transparent), radial-gradient(1px 1px at 25% 80%, #fff, transparent), radial-gradient(2px 2px at 90% 60%, #fde68a, transparent);
  animation: twinkle 3s ease-in-out infinite alternate }
@keyframes twinkle { to { opacity: .2 } }
.prem-hero > * { position: relative }
.prem-crown { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; margin-bottom: 18px;
  background: linear-gradient(135deg, #fde68a, #f59e0b); color: #1c1300; box-shadow: 0 20px 60px -10px rgba(251,191,36,.7); animation: float-c 4s ease-in-out infinite }
.prem-crown svg { width: 42px; height: 42px }
@keyframes float-c { 50% { transform: translateY(-8px) rotate(-4deg) } }
.prem-eyebrow { display: block; font: 600 12px var(--f-num); letter-spacing: .2em; text-transform: uppercase; color: #fbbf24; margin-bottom: 12px }
.prem-hero h1 { font-size: 54px; line-height: 1.02; letter-spacing: -.045em; margin: 0 0 16px }
.prem-hero h1 em { font-style: normal; background: linear-gradient(90deg, #fde68a, #fbbf24, #f59e0b, #fde68a); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite }
@keyframes shine { to { background-position: 200% center } }
.prem-hero > p { color: #cfc7b3; font-size: 17px; max-width: 620px; margin: 0 auto 24px }
.prem-state { display: inline-flex; align-items: center; gap: 12px; text-align: left; padding: 12px 18px; border-radius: 16px; border: 1px solid var(--line2);
  background: rgba(255,255,255,.04); margin-bottom: 22px }
.prem-state svg { width: 26px; height: 26px; color: var(--mut) }
.prem-state.on { border-color: rgba(251,191,36,.45); background: rgba(251,191,36,.1) }
.prem-state.on svg { color: #fbbf24 }
.prem-state b { display: block }
.prem-state span { color: var(--mut); font-size: 13.5px }
.prem-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap }
.pfeats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px }
.pfeat { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, transform .3s var(--ease) }
.pfeat:hover { border-color: rgba(251,191,36,.45); transform: translateY(-3px) }
.pfeat svg { width: 26px; height: 26px; color: #fbbf24 }
.pfeat b { display: block; margin: 12px 0 4px; font: 700 16px var(--f-title) }
.pfeat p { margin: 0; color: var(--mut); font-size: 13.5px }
.prem-h2 { font-size: 30px; text-align: center; margin: 0 0 18px }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; align-items: stretch }
.offer { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 22px; border: 1px solid var(--line2); background: var(--panel) }
.offer.best { border-color: rgba(251,191,36,.6); background: radial-gradient(90% 60% at 50% 0%, rgba(251,191,36,.14), transparent 70%), var(--panel);
  box-shadow: 0 30px 80px -40px rgba(251,191,36,.7); transform: translateY(-6px) }
.offer-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 99px; font: 700 11px var(--f-num);
  text-transform: uppercase; letter-spacing: .1em; color: #1c1300; background: linear-gradient(90deg, #fde68a, #fbbf24) }
.offer h3 { font-size: 22px; margin: 0 0 6px }
.offer > p { color: var(--mut); margin: 0 0 16px; font-size: 14px }
.offer-price { font: 600 26px var(--f-num); letter-spacing: -.02em; margin-bottom: 16px; color: var(--txt) }
.offer ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.offer li { display: flex; gap: 10px; align-items: center; font-size: 14.5px }
.offer li svg { color: #fbbf24; width: 17px; height: 17px }
.offer .btn { width: 100% }
.prem-table td.pv, .prem-table th.pv { color: #fbbf24; font-weight: 600 }
.prem-table tr:hover td.pv { background: rgba(251,191,36,.06) }
.prem-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 20px 22px }
.prem-step span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 15px var(--f-num); color: #1c1300; background: #fbbf24; margin-bottom: 10px }
.prem-step b { display: block; margin-bottom: 4px }
.prem-step p { margin: 0; color: var(--mut); font-size: 13.5px }
.faq { border-bottom: 1px solid var(--line); padding: 0 22px }
.faq:last-child { border-bottom: 0 }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between }
.faq summary::after { content: "+"; color: #fbbf24; font: 600 18px var(--f-num); transition: transform .25s var(--ease) }
.faq[open] summary::after { transform: rotate(45deg) }
.faq summary::-webkit-details-marker { display: none }
.faq p { margin: 0 0 16px; color: var(--mut) }
.preset.locked { opacity: .55 }
@media (max-width: 980px) { .pfeats { grid-template-columns: 1fr 1fr } .offers, .prem-steps { grid-template-columns: 1fr } .offer.best { transform: none }
  .prem-hero { padding: 44px 18px 32px } .prem-hero h1 { font-size: 36px } }

.offer-price.none { font: 500 14px var(--f-body); color: var(--mut) }

/* ── Premium, version haut de gamme : or champagne, filets fins, peu d'effets ── */
.btn.gold { background: linear-gradient(180deg, #1b1812, #12100c); border: 1px solid #c9a961; color: #ecd9a6; box-shadow: inset 0 1px 0 rgba(236,217,166,.18) }
.btn.gold:hover { border-color: #e6cc8a; color: #f6e7bf; box-shadow: inset 0 1px 0 rgba(236,217,166,.25), 0 10px 30px -14px rgba(201,169,97,.6) }
.prem-hero { border: 1px solid rgba(201,169,97,.28); background: radial-gradient(60% 80% at 50% -10%, rgba(201,169,97,.13), transparent 70%), linear-gradient(180deg, #100f0c, #09090a) }
.prem-hero::after { content: ""; position: absolute; left: 50%; top: 0; width: 60%; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(236,217,166,.7), transparent) }
.prem-glow { background: conic-gradient(from 0deg, transparent, rgba(201,169,97,.06), transparent 28%); animation-duration: 30s }
.prem-sparks { display: none }
.prem-crown { width: 72px; height: 72px; border-radius: 22px; background: linear-gradient(180deg, #1a1712, #0f0e0b); border: 1px solid rgba(201,169,97,.55);
  color: #e6cc8a; box-shadow: 0 18px 50px -20px rgba(201,169,97,.55), inset 0 1px 0 rgba(236,217,166,.15); animation: none }
.prem-crown svg { width: 34px; height: 34px }
.prem-eyebrow { color: #c9a961; letter-spacing: .32em; font-size: 11px }
.prem-hero h1 { font-weight: 700 }
.prem-hero h1 em { background: linear-gradient(90deg, #b8955a, #ecd9a6 50%, #b8955a); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation-duration: 9s }
.prem-hero > p { color: #b9b2a3 }
.prem-state.on { border-color: rgba(201,169,97,.4); background: rgba(201,169,97,.07) }
.prem-state.on svg, .pfeat svg, .offer li svg { color: #d7b97a }
.pfeat { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)) }
.pfeat:hover { border-color: rgba(201,169,97,.4) }
.offer { background: linear-gradient(180deg, #111113, #0c0c0e) }
.offer.best { border-color: rgba(201,169,97,.55); background: radial-gradient(80% 50% at 50% 0%, rgba(201,169,97,.1), transparent 70%), linear-gradient(180deg, #121110, #0c0c0d);
  box-shadow: 0 30px 70px -45px rgba(201,169,97,.6) }
.offer-tag { color: #1a1508; background: linear-gradient(90deg, #c9a961, #ecd9a6, #c9a961) }
.offer h3 { font-weight: 700; letter-spacing: -.02em }
.prem-table td.pv, .prem-table th.pv { color: #d7b97a }
.prem-table tr:hover td.pv { background: rgba(201,169,97,.05) }
.prem-step span { background: transparent; color: #e6cc8a; border: 1px solid rgba(201,169,97,.6) }
.faq summary::after { color: #c9a961 }
nav.links .pill.gold { color: #e6cc8a; border-color: rgba(201,169,97,.45); background: rgba(201,169,97,.08) }

/* ════════════════════════════════════════════════════════════════════════════
   Style « sobre et pro » : fond uni, filets fins, une seule police, le vert seulement où il sert.
   Cette couche passe après tout le reste et remplace les effets (lueurs, dégradés, verre, animations).
   ════════════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #0a0a0a; --bg2: #0f0f0f; --panel: #111111; --panel2: #191919; --solid: #111111;
  --line: #1f1f1f; --line2: #2b2b2b; --txt: #ededed; --mut: #a1a1a1; --dim: #6f6f6f;
  --acc: #10b981; --acc-ink: #04130d; --acc-bg: rgba(16,185,129,.1); --acc-glow: transparent;
  --r: 10px; --f-title: var(--f-body);
}
body { font-size: 14px; letter-spacing: -.003em }
body::before, body::after { display: none }
::selection { background: rgba(16,185,129,.35); color: #fff }
h1 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 6px }
h2 { font-size: 15px; font-weight: 600 }
.sub { font-size: 14px; margin-bottom: 24px }
svg.i { width: 16px; height: 16px; vertical-align: -3px }

/* boutons */
.btn { height: 34px; padding: 0 13px; border-radius: 8px; font: 500 13.5px var(--f-body); background: var(--panel2); border-color: var(--line2);
  transition: background .15s, border-color .15s; box-shadow: none }
.btn:hover { transform: none; background: #202020; border-color: #383838 }
.btn:active { transform: none }
.btn.primary { background: var(--acc); border-color: var(--acc); color: #03120b; box-shadow: none }
.btn.primary:hover { background: #0fa877; border-color: #0fa877; box-shadow: none }
.btn.big { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 9px }
.btn.white { background: #ededed; border-color: #ededed }
.link { font-weight: 500; font-size: 13.5px }

/* structure */
.app { grid-template-columns: 240px 1fr }
.side { background: var(--bg); backdrop-filter: none; border-right: 1px solid var(--line) }
.side .logo { padding: 18px 18px 14px; font: 600 15px var(--f-body); letter-spacing: -.01em }
.side .logo img { width: 24px; height: 24px; border-radius: 6px; filter: none }
.switch { margin: 0 10px 10px }
.switch summary { padding: 8px 10px; border-radius: 9px; background: var(--panel); border-color: var(--line) }
.switch summary img { width: 30px; height: 30px; border-radius: 8px }
.switch .menu { background: var(--panel); border-color: var(--line2); border-radius: 10px; box-shadow: 0 16px 40px #000a }
nav.links { padding: 2px 10px }
nav.links a { padding: 7px 10px; border-radius: 7px; font-size: 13.5px; gap: 10px; margin-bottom: 1px }
nav.links a:hover { background: #151515 }
nav.links a.on { background: #1a1a1a; color: var(--txt) }
nav.links a.on::before { left: -10px; top: 9px; bottom: 9px; width: 2px; box-shadow: none; animation: none }
nav.links a.on svg { color: var(--txt) }
nav.links a .cnt { font: 500 11.5px var(--f-num) }
nav.links .lbl { font: 500 11px var(--f-body); letter-spacing: .02em; text-transform: none; color: var(--dim); margin: 18px 10px 6px }
.pill { font-size: 10.5px; font-weight: 600; padding: 1px 7px; background: transparent }
.me { padding: 12px 14px }
.me img { width: 28px; height: 28px; outline: 0 }
.bar { height: 52px; padding: 0 32px; background: var(--bg); backdrop-filter: none }
.bar .crumb b { font: 600 14px var(--f-body) }
.bar .crumb svg { color: var(--mut) }
.search { height: 32px; min-width: 220px; border-radius: 8px; background: var(--panel); border-color: var(--line) }
.main { padding: 28px 32px 120px; max-width: 1180px }
.savebar { left: 240px; background: var(--bg); backdrop-filter: none }

/* cartes et lignes */
.card { background: var(--panel); border-color: var(--line); border-radius: var(--r); backdrop-filter: none; box-shadow: none; margin-bottom: 16px }
.card::before, .tile::before, .srvcard::before, .feat::before, .pfeat::before { display: none }
.card > header { padding: 14px 18px; gap: 10px }
.card > header > svg { color: var(--mut); width: 16px; height: 16px }
.card > header p { font-size: 13px }
.row { padding: 14px 18px; gap: 24px }
.row b { font-size: 14px; font-weight: 500 }
.row p { font-size: 13px }
.li { padding: 11px 18px }
.li .dot { width: 28px; height: 28px; border-radius: 7px; background: var(--panel2) }
.li b { font-size: 14px; font-weight: 500 }
.li .st { font: 500 12px var(--f-body) }
.empty { padding: 26px 18px; font-size: 13.5px }
th { font: 500 12px var(--f-body); text-transform: none; letter-spacing: 0; color: var(--dim) }
td, th { padding: 11px 18px; font-size: 13.5px }
.tag { background: var(--panel2); color: var(--mut); border: 1px solid var(--line2); font: 500 12px var(--f-num) }
:target { animation: none; box-shadow: inset 2px 0 0 var(--acc) }

/* champs */
input, select, textarea { height: 36px; border-radius: 8px; background: var(--bg); border-color: var(--line2); font-size: 13.5px }
textarea { height: 90px }
input:focus, select:focus, textarea:focus { border-color: #3a3a3a; box-shadow: 0 0 0 3px rgba(255,255,255,.06) }
.sw { width: 36px; height: 20px }
.sw span { background: #2c2c2c; box-shadow: none }
.sw span::before { width: 16px; height: 16px; left: 2px; top: 2px; box-shadow: none; transition: transform .2s ease }
.sw input:checked + span { background: var(--acc); box-shadow: none }
.sw input:checked + span::before { transform: translateX(16px); background: #fff }
.sw span:active::before { width: 16px }
.sw input:checked + span:active::before { transform: translateX(16px) }

/* éléments animés ou brillants : calmes */
.rise { animation-duration: .2s }
.status { padding: 3px 9px; font-size: 12px; font-weight: 600 }
.status::before { animation: none; width: 6px; height: 6px }
.saved svg { color: var(--mut) }
.counter { background: transparent; color: var(--mut); padding: 0 }
.cat { padding: 12px 18px }
.cat .bar2 { height: 6px }
.cat .bar2 i { box-shadow: none; background: var(--acc); animation: none }
.cat .bar2 i.mid { background: var(--warn); box-shadow: none }
.cat span { font-size: 12.5px }
.mods { gap: 10px; padding: 14px }
.mods .mod { border-radius: 9px; background: var(--bg); padding: 14px; transition: border-color .15s }
.mods .mod:hover { transform: none }
.mods .mod:has(.sw input:checked) { background: var(--bg); border-color: #2d3b35; box-shadow: none }
.tile, .srvcard, .feat { transform: none !important; transition: border-color .15s }
.toast { border-radius: 9px; padding: 11px 14px; animation: none; font-size: 13.5px }
.pal .box { border-radius: 12px; box-shadow: 0 30px 80px #000c; animation: none }
.pal input { height: 50px; font-size: 15px }

/* accueil du dashboard : en-tête + chiffres clés */
.ov-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px }
.ov-head img { width: 44px; height: 44px; border-radius: 11px }
.ov-head h1 { margin: 0 }
.ov-head .sp { flex: 1 }
.ov-head .status { margin: 0 }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin-bottom: 16px }
.kpi { padding: 16px 18px; border-right: 1px solid var(--line) }
.kpi:last-child { border-right: 0 }
.kpi span { display: block; color: var(--mut); font-size: 12.5px; margin-bottom: 6px }
.kpi b { font: 600 24px var(--f-num); letter-spacing: -.03em }
.kpi b small { font-size: 14px; color: var(--dim); font-weight: 500 }
.kpi .meter { height: 4px; border-radius: 99px; background: #1f1f1f; margin-top: 10px; overflow: hidden }
.kpi .meter i { display: block; height: 100%; background: var(--acc) }
.kpi .meter i.mid { background: var(--warn) }
.kpi p { margin: 4px 0 0; color: var(--dim); font-size: 12px }
.tiles { gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); perspective: none; margin-bottom: 16px }
.tiles .tile { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; padding: 16px 18px }
.tiles .tile:last-child { border-right: 0 }
.tile .k { font-size: 12.5px }
.tile .k svg { color: var(--mut) }
.tile .v { font: 600 18px var(--f-body); transform: none; margin-top: 6px }
.tile .v.small { font-size: 14px }
.tile p { transform: none; font-size: 12.5px }
.tile.alert-on { background: rgba(248,113,113,.06) }

/* Premium : même sobriété, une touche de doré */
.prem-hero { text-align: left; padding: 32px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line) }
.prem-hero::after, .prem-glow, .prem-sparks { display: none }
.prem-crown { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px; box-shadow: none; background: transparent; border: 1px solid rgba(201,169,97,.5) }
.prem-crown svg { width: 20px; height: 20px }
.prem-eyebrow { font: 500 12px var(--f-body); letter-spacing: 0; text-transform: none; color: #c9a961; margin-bottom: 6px }
.prem-hero h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 10px }
.prem-hero h1 em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #d7b97a; animation: none }
.prem-hero > p { margin: 0 0 18px; font-size: 14.5px; max-width: 640px; color: var(--mut) }
.prem-state { padding: 10px 14px; border-radius: 9px; margin-bottom: 18px }
.prem-cta { justify-content: flex-start }
.btn.gold { background: #d7b97a; border-color: #d7b97a; color: #1a1406; box-shadow: none }
.btn.gold:hover { background: #e2c78d; border-color: #e2c78d; box-shadow: none; color: #1a1406 }
.pfeats { gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin-bottom: 28px }
.pfeat { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 18px }
.pfeat:nth-child(4n) { border-right: 0 }
.pfeat:nth-last-child(-n+4) { border-bottom: 0 }
.pfeat:hover { transform: none; border-color: var(--line) }
.pfeat svg { width: 18px; height: 18px }
.pfeat b { font: 600 14px var(--f-body); margin: 10px 0 4px }
.pfeat p { font-size: 13px }
.prem-h2 { font-size: 18px; text-align: left; margin-bottom: 12px }
.offers { gap: 12px }
.offer { padding: 20px; border-radius: var(--r); background: var(--panel); border-color: var(--line) }
.offer.best { transform: none; box-shadow: none; background: var(--panel); border-color: rgba(201,169,97,.55) }
.offer-tag { top: 16px; right: 16px; left: auto; transform: none; background: transparent; color: #d7b97a; border: 1px solid rgba(201,169,97,.5); font: 600 10.5px var(--f-body); letter-spacing: .02em; text-transform: none }
.offer h3 { font-size: 16px; font-weight: 600 }
.offer-price { font: 600 20px var(--f-num) }
.offer li { font-size: 13.5px }
.prem-step span { width: 26px; height: 26px; font-size: 12.5px }
.faq summary { font-weight: 500; font-size: 14px }

@media (max-width: 980px) {
  .app { display: block } .savebar { left: 0 } .main { padding: 20px 16px 120px } .bar { padding: 0 16px }
  .kpis, .tiles { grid-template-columns: 1fr 1fr } .kpi:nth-child(2) { border-right: 0 } .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line) }
  .tiles { grid-template-columns: 1fr } .tiles .tile { border-right: 0; border-bottom: 1px solid var(--line) } .tiles .tile:last-child { border-bottom: 0 }
  .pfeats { grid-template-columns: 1fr 1fr } .pfeat { border-right: 0 }
}

/* ── tarifs Premium par durée ── */
.plans-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); color: var(--mut); font-size: 13.5px; max-width: none }
.plans-note svg { color: #d7b97a; margin-top: 2px }
.plans-note b { color: var(--txt) }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 10px }
.plan { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel) }
.plan.best { border-color: rgba(201,169,97,.6) }
.plan-tag { position: absolute; top: 10px; right: 10px; font: 600 10.5px var(--f-body); color: #d7b97a; border: 1px solid rgba(201,169,97,.45); border-radius: 99px; padding: 1px 7px }
.plan-name { color: var(--mut); font-size: 13px; font-weight: 500 }
.plan-price { font: 600 26px var(--f-num); letter-spacing: -.03em; margin-top: 6px }
.plan-per { color: var(--dim); font-size: 12.5px; min-height: 18px; margin-bottom: 12px }
.plan-per b { color: var(--acc); font-weight: 600 }
.plan .btn { margin-top: auto; width: 100% }
.own { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin-bottom: 28px }
.own-t { flex: 1 }
.own-t b { font-weight: 600 }
.own-t p { margin: 2px 0 0; color: var(--mut); font-size: 13px }
.own-p { text-align: right }
.own-p span { display: block; font: 600 20px var(--f-num) }
.own-p small { color: var(--dim); font-size: 12px }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr 1fr } .own { flex-wrap: wrap } .own-p { text-align: left } }
