/* Squir : site et dashboard. Fond sombre, accent orange de l'écureuil. */
:root {
  --bg: #0f1012; --bg2: #121316; --card: #15161a; --card2: #1a1b20; --card3: #212228;
  --line: #222329; --line2: #2c2d35; --text: #ececf1; --muted: #9c9cab; --dim: #686876;
  --accent: #ff5a1f; --accent2: #ff7b42; --accent-d: #d9430d; --soft: rgba(255, 90, 31, .12); --soft2: rgba(255, 90, 31, .2);
  --ok: #34d399; --warn: #fbbf24; --bad: #f87171;
  --r: 14px; --r-sm: 10px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Red Hat Display', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased }
a { color: inherit; text-decoration: none }
img { display: block; max-width: 100% }
button { font: inherit; color: inherit; cursor: pointer }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; margin: 0 }
svg.lucide { width: 18px; height: 18px; stroke-width: 1.9; flex-shrink: 0 }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto }
.muted { color: var(--muted) } .dim { color: var(--dim) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 11px; border: 1px solid var(--line2); background: var(--card); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s }
.btn:hover { background: var(--card2); border-color: #3a3a48 }
.btn:active { transform: translateY(1px) }
.btn-main { background: linear-gradient(180deg, var(--accent2), var(--accent)); border-color: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset }
.btn-main:hover { background: linear-gradient(180deg, #ff8a55, var(--accent2)); border-color: var(--accent2) }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px }
.btn svg.lucide { width: 16px; height: 16px }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line2); font-size: 12px; font-weight: 600; color: var(--muted) }
.chip.accent { background: var(--soft); border-color: var(--soft2); color: var(--accent2) }

/* ---------- Site public ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(8, 8, 11, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s }
.nav.scrolled { border-bottom-color: var(--line) }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 72px }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.04em }
.brand img { width: 34px; height: 34px } .brand i { color: var(--accent); font-style: normal }
.nav-links { margin: 0 auto; display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(17, 17, 22, .6) }
.nav-links > a, .nav-links > .dd > button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-weight: 600; font-size: 14px }
.nav-links > a:hover, .nav-links > .dd > button:hover, .nav-links > a.on { color: var(--text); background: var(--card2) }
.nav-links svg.lucide { width: 14px; height: 14px }
.dd { position: relative }
.dd-menu { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; padding: 6px; border-radius: 14px; border: 1px solid var(--line2); background: #121218; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s, transform .15s }
.dd.open .dd-menu { opacity: 1; transform: none; pointer-events: auto }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 9px } .dd-menu a:hover { background: var(--card2) }
.dd-menu b { display: block; font-weight: 600; font-size: 14px } .dd-menu small { color: var(--muted); font-size: 12.5px }
.nav-right { display: flex; align-items: center; gap: 8px }
.me { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px }
.me img { width: 30px; height: 30px; border-radius: 8px }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); align-items: center; justify-content: center }

.hero { position: relative; padding: 110px 0 70px; text-align: center; overflow: hidden }
.hero::before { content: ''; position: absolute; left: 50%; top: -260px; width: 1200px; height: 720px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 90, 31, .13), transparent 72%); pointer-events: none }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 120px 100%; -webkit-mask-image: radial-gradient(ellipse at 50% 10%, #000 20%, transparent 65%); mask-image: radial-gradient(ellipse at 50% 10%, #000 20%, transparent 65%); pointer-events: none }
.hero > * { position: relative }
.hero h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.06; font-weight: 700; letter-spacing: -.035em }
.hero h1 span { display: block; color: #6f6f7d }
.hero p.lead { max-width: 600px; margin: 26px auto 0; font-size: 18px; color: var(--muted) }
.hero .ctas { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap }
.hero .ctas .btn { height: 50px; padding: 0 22px; font-size: 15.5px }
.hero-link { margin: 18px 0 0; font-size: 14.5px } .hero-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent2); font-weight: 600 } .hero-link a:hover { color: #ffa57d } .hero-link svg.lucide { width: 15px; height: 15px }
.hero .note { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); font-size: 13px }
.hero .note b { color: var(--text); font-weight: 600 }

/* Aperçu du dashboard sous le titre */
.preview { margin: 64px auto 0; width: min(1080px, 100%); border-radius: 18px; border: 1px solid var(--line2); background: var(--bg2); padding: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); text-align: left }
.preview-in { display: grid; grid-template-columns: 210px 1fr; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); min-height: 420px }
.pv-side { background: #0a0a0e; border-right: 1px solid var(--line); padding: 18px 12px }
.pv-side .brand { font-size: 18px; margin: 0 6px 18px } .pv-side .brand img { width: 26px; height: 26px }
.pv-sel { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line2); border-radius: 10px; margin-bottom: 18px } .pv-sel img { width: 28px; height: 28px; border-radius: 8px } .pv-sel b { font-size: 13px } .pv-sel small { display: block; color: var(--dim); font-size: 11px }
.pv-h { margin: 14px 8px 6px; color: var(--dim); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase }
.pv-it { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; color: var(--muted); font-size: 13px } .pv-it.on { background: var(--card2); color: var(--text) } .pv-it svg.lucide { width: 15px; height: 15px }
.pv-main { padding: 18px 20px; background: var(--bg) }
.pv-banner { height: 150px; border-radius: 12px; background: linear-gradient(120deg, #1a0f0b, #2b130a 50%, #150d0a); border: 1px solid var(--line); position: relative; overflow: hidden }
.pv-banner span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 110px; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08) }
.pv-banner img { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%) }
.pv-banner::before, .pv-banner::after { content: ''; position: absolute; top: -20%; bottom: -20%; width: 1px; background: rgba(255, 255, 255, .08); transform: rotate(24deg) }
.pv-banner::before { left: 30% } .pv-banner::after { right: 26% }
.pv-id { display: flex; align-items: flex-end; gap: 14px; margin: -28px 0 18px 16px; position: relative }
.pv-id img { width: 62px; height: 62px; border-radius: 16px; border: 4px solid var(--bg); background: #000 } .pv-id b { font-family: var(--display); font-size: 18px; padding-bottom: 6px }
.pv-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px }
.pv-card { padding: 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--card) } .pv-card span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600 } .pv-card b { display: block; margin-top: 10px; font-size: 22px; font-family: var(--display) } .pv-card em { font-style: normal; color: var(--ok); font-size: 11.5px; margin-left: 4px } .pv-card small { color: var(--dim); font-size: 11.5px } .pv-card svg.lucide { width: 15px; height: 15px; color: var(--muted) }
.pv-rows { margin-top: 12px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden } .pv-rows div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--line); font-size: 12.5px } .pv-rows div:first-child { border-top: 0; font-weight: 600 } .pv-rows .tag { padding: 1px 7px; border-radius: 6px; background: var(--card2); color: var(--muted); font-size: 11px } .pv-rows .av { width: 20px; height: 20px; border-radius: 50%; background: var(--card3); display: grid; place-items: center; font-size: 10px; color: var(--muted) } .pv-rows .t { flex: 1; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .pv-rows .w { color: var(--dim) }

.trust { padding: 40px 0 10px; text-align: center }
.trust p { color: var(--muted) } .trust p b { color: var(--text) }
.marquee { margin-top: 22px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent) }
.mq-track { display: flex; gap: 12px; width: max-content; animation: mq 70s linear infinite }
.marquee:hover .mq-track { animation-play-state: paused }
@keyframes mq { to { transform: translateX(-50%) } }
.mq { flex-shrink: 0 }
.mq.stat > b { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--accent2); padding: 0 6px 0 8px }
.mq { display: flex; align-items: center; gap: 8px; padding: 5px 11px 5px 5px; border-radius: 10px; border: 1px solid var(--line); background: var(--card) } .mq img { width: 26px; height: 26px; border-radius: 8px } .mq b { font-size: 12.5px; display: block; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .mq small { color: var(--dim); font-size: 11px }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 13.5px } .status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .15) }

.section { padding: 100px 0 }
.eyebrow { color: var(--accent2); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px }
.sec-head h2 { margin-top: 10px; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.05; font-weight: 800 } .sec-head h2 span { display: block; color: #6f6f7d }
.sec-head p { color: var(--muted); font-size: 16.5px; margin: 0 }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.feat { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; transition: border-color .2s, transform .2s }
.feat:hover { border-color: var(--line2); transform: translateY(-2px) }
.feat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px }
.ico { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line2); background: var(--card2); display: grid; place-items: center } .ico svg.lucide { width: 19px; height: 19px }
.feat h3 { font-size: 20px; font-weight: 700 } .feat > p { color: var(--muted); margin: 10px 0 18px; font-size: 14.5px }
.feat ul { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; font-size: 14px }
.feat li { display: flex; align-items: center; gap: 10px } .feat li svg.lucide { width: 16px; height: 16px; color: var(--ok) }

.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px }
.faq h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; font-weight: 800; margin-top: 10px } .faq h2 span { display: block; color: #6f6f7d }
.faq-list { display: flex; flex-direction: column; gap: 10px }
details.q { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden }
details.q summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; cursor: pointer }
details.q summary::-webkit-details-marker { display: none }
details.q summary svg.lucide { color: var(--muted); transition: transform .2s } details.q[open] summary svg.lucide { transform: rotate(90deg) }
details.q p { margin: 0; padding: 0 20px 18px; color: var(--muted) }

.cta-card { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 56px; border-radius: 22px; border: 1px solid var(--line2); background: linear-gradient(140deg, #14100e, #0e0d10 60%); overflow: hidden }
.cta-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent) }
.cta-card h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 800 } .cta-card h2 span { color: var(--accent2) }
.cta-card > div > p { color: var(--muted); margin: 18px 0 26px; font-size: 16px }
.cta-list { display: flex; flex-direction: column } .cta-list div { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line) } .cta-list div:first-child { border-top: 0 }
.cta-list svg.lucide { color: var(--accent2); margin-top: 3px } .cta-list b { display: block } .cta-list span { color: var(--muted); font-size: 14px }
.cta-squirrel { position: absolute; right: 30px; top: 22px; width: 54px; opacity: .9 }

.foot { margin-top: 100px; padding: 60px 0 40px; border-top: 1px solid var(--line) }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px }
.foot-grid p { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 280px }
.foot-grid h4 { margin: 0 0 14px; font-size: 14px } .foot-grid a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0 } .foot-grid a:hover { color: var(--text) }
.foot-bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.step { position: relative; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column }
.step-n { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--soft2); color: var(--accent2); font-family: var(--display); font-weight: 800; margin-bottom: 18px }
.step h3 { font-size: 20px } .step > p { color: var(--muted); font-size: 14.5px; margin: 8px 0 20px }
.step-vis { margin-top: auto; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); font-size: 14px; line-height: 2.1 }
.tg { display: inline-block; vertical-align: middle; width: 30px; height: 17px; border-radius: 999px; background: var(--card3); position: relative; margin-right: 8px } .tg::after { content: ''; position: absolute; left: 3px; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: #6b6b78 } .tg.on { background: var(--accent) } .tg.on::after { left: 16px; background: #fff }
.sl { height: 6px; border-radius: 6px; background: var(--card3); margin: 8px 0 10px } .sl i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent-d), var(--accent2)); position: relative } .sl i::after { content: ''; position: absolute; right: -7px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--soft2) }

/* Page Plus */
.plus-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; padding: 90px 0 60px }
.plus-hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.04; font-weight: 800; margin: 14px 0 18px } .plus-hero p { color: var(--muted); font-size: 17px }
.price { padding: 28px; border-radius: 20px; border: 1px solid var(--soft2); background: linear-gradient(160deg, #17110e, var(--card)) }
.price-top { display: flex; align-items: center; justify-content: space-between } .price-top b { font-size: 17px }
.price .amount { margin: 18px 0 20px; font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -.03em } .price .amount small { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 6px }
.price ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px } .price li { display: flex; gap: 10px; align-items: center } .price li svg.lucide { color: var(--accent2); width: 16px; height: 16px }
.price .btn { width: 100% } .price .fine { color: var(--dim); font-size: 13px; margin: 16px 0 0 }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.box { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--card) } .box h3 { font-size: 17px; margin: 18px 0 8px } .box p { color: var(--muted); font-size: 14.5px; margin: 0 }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 14.5px }
.cmp th, .cmp td { padding: 15px 20px; border-top: 1px solid var(--line); text-align: left } .cmp tr:first-child th { border-top: 0; color: var(--dim); font-size: 12px; letter-spacing: .06em; text-transform: uppercase }
.cmp td:nth-child(n+2), .cmp th:nth-child(n+2) { width: 22% } .cmp td:last-child, .cmp th:last-child { background: rgba(255, 90, 31, .05); color: var(--text) } .cmp th:last-child { color: var(--accent2) }
.cmp svg.lucide { width: 16px; height: 16px } .cmp .no { color: var(--dim) }

/* ---------- Dashboard ---------- */
.app { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--bg2); padding: 22px 16px 14px }
.side .brand { justify-content: center; margin-bottom: 22px }
.ws { position: relative; margin-bottom: 18px }
.ws-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line2); background: var(--card); text-align: left }
.ws-btn:hover { border-color: #3a3a48 }
.ws-btn .gi, .ws-it .gi { position: relative; width: 38px; height: 38px; border-radius: 11px; background: var(--card3); display: grid; place-items: center; flex-shrink: 0; overflow: hidden } .gi img { width: 100%; height: 100% } .gi svg.lucide { color: var(--muted) }
.ws-btn > span:not(.gi) { flex: 1; min-width: 0 } .ws-btn b, .ws-it b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .ws-btn small, .ws-it small { color: var(--dim); font-size: 12px }
.ws-menu { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); padding: 6px; border-radius: 13px; border: 1px solid var(--line2); background: #121218; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); display: none }
.ws.open .ws-menu { display: block }
.ws-it { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; font-size: 13.5px; color: var(--muted) } .ws-it:hover { background: var(--card2); color: var(--text) } .ws-it.cur { background: var(--card2); color: var(--text) } .ws-it.cur small { color: var(--accent2) } .ws-it .gi { width: 30px; height: 30px; border-radius: 9px }
.ws-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0 }
.side-nav { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -6px; padding: 0 6px }
.sn-h { margin: 18px 10px 8px; color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase }
.snv { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 14.5px; border: 1px solid transparent }
.snv:hover { color: var(--text); background: rgba(255, 255, 255, .03) }
.snv.on { color: var(--text); background: var(--card2); border-color: var(--line2) } .snv.on svg.lucide { color: var(--accent2) }
.sn-g > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer } .sn-g > summary::-webkit-details-marker { display: none }
.sn-g > summary:hover { color: var(--text) } .sn-g > summary svg.lucide { width: 15px; height: 15px; transition: transform .2s } .sn-g[open] > summary svg.lucide { transform: rotate(90deg) } .sn-g[open] > summary { color: var(--text) }
.sn-sub { margin: 2px 0 6px 18px; padding-left: 10px; border-left: 1px solid var(--line2) } .sn-sub .snv { font-size: 13.5px; padding: 7px 10px } .sn-sub .snv svg.lucide { width: 16px; height: 16px }
.side-foot { padding-top: 12px; border-top: 1px solid var(--line); margin-top: 10px }
.side-cta { margin: 6px 0 12px; width: 100% }
.side-me { display: flex; align-items: center; gap: 10px; padding: 8px 6px } .side-me img { width: 36px; height: 36px; border-radius: 50% } .side-me > span { flex: 1; min-width: 0 } .side-me b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .side-me small { color: var(--dim); font-size: 12px }
.side-me a { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--muted) } .side-me a:hover { background: var(--card2); color: var(--text) }

.main { min-width: 0; padding: 0 44px 60px }
.top { display: flex; align-items: center; gap: 12px; height: 72px; color: var(--muted); font-size: 14px }
.crumb { display: flex; align-items: center; gap: 8px; min-width: 0 } .crumb a:hover { color: var(--text) } .crumb .cur { color: var(--text) } .crumb svg.lucide { width: 14px; height: 14px; color: var(--dim) } .crumb img { width: 18px; height: 18px; border-radius: 5px }
.top .sp { flex: 1 }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line2); background: var(--card); align-items: center; justify-content: center }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 26px 0 30px }
.page-h .ico { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 18px }
.page-h h1 { font-size: 34px; font-weight: 800 } .page-h p { color: var(--muted); margin: 6px 0 0 }
.hello { display: flex; align-items: center; gap: 18px; margin: 30px 0 30px } .hello img { width: 58px; height: 58px; border-radius: 50% } .hello small { color: var(--muted) } .hello h1 { font-size: 32px; font-weight: 800 }

.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
.card { border-radius: var(--r); border: 1px solid var(--line); background: var(--card); padding: 20px }
.stat { display: flex; flex-direction: column; min-height: 150px; transition: border-color .15s }
.stat:hover { border-color: var(--line2) }
.stat-h { display: flex; align-items: center; justify-content: space-between } .stat-h .ico { width: 40px; height: 40px }
.stat-h a { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); font-size: 12px } .stat-h a:hover { color: var(--text) }
.stat-v { margin-top: auto; font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1 } .stat-v em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ok); margin-left: 6px; letter-spacing: 0 }
.stat-l { margin-top: 8px; font-weight: 600 } .stat-l small { display: block; color: var(--dim); font-weight: 400; font-size: 12.5px }
.grid-dash { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 16px; margin-top: 16px }
.card h2 { font-size: 18px; font-weight: 700 } .card .sub { color: var(--muted); margin: 4px 0 16px; font-size: 14px }
.ring { position: relative; width: 150px; height: 150px; flex-shrink: 0 } .ring svg { width: 100%; height: 100%; transform: rotate(-90deg) } .ring div { position: absolute; inset: 0; display: grid; place-items: center; text-align: center } .ring b { font-family: var(--display); font-size: 32px; font-weight: 800; line-height: 1 } .ring small { display: block; color: var(--dim); font-size: 12px; margin-top: 4px }
.kv { flex: 1; display: flex; flex-direction: column } .kv div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px } .kv b { font-family: var(--display) }
.links .ln { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line) } .links .ln:first-of-type { border-top: 0 }
.links .ln .ico { width: 38px; height: 38px } .links .ln > span:not(.ico) { flex: 1 } .links .ln b { display: block; font-size: 14.5px; font-weight: 600 } .links .ln small { color: var(--dim); font-size: 12.5px } .links .ln > svg.lucide { color: var(--dim) } .links .ln:hover b { color: var(--accent2) }
.links .ln.done b { text-decoration: line-through; color: var(--dim) }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card) }
.tabs button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-weight: 600; font-size: 14px }
.tabs button.on { background: var(--card2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2) } .tabs .n { padding: 0 7px; border-radius: 6px; background: var(--card3); font-size: 12px }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap }
.search { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; width: min(320px, 100%); border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--muted) }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--text); font: inherit; font-size: 14px }
.sv-h { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; font-family: var(--display); font-size: 22px; font-weight: 800 } .sv-h .n { padding: 1px 8px; border-radius: 7px; background: var(--card2); border: 1px solid var(--line2); font-family: var(--font); font-size: 12.5px; color: var(--muted) }
.sv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px }
.sv { border-radius: 16px; border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: border-color .15s, transform .15s } .sv:hover { border-color: var(--line2); transform: translateY(-2px) }
.sv-ban { height: 92px; background: linear-gradient(120deg, #1d120d, #2a1409 55%, #120c0a); background-size: cover; background-position: center }
.sv-body { padding: 0 18px 16px } .sv-body img, .sv-body .gi { width: 58px; height: 58px; border-radius: 16px; border: 4px solid var(--card); margin-top: -29px; background: var(--card3); display: grid; place-items: center }
.sv-body h3 { margin-top: 10px; font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .sv-meta { display: flex; gap: 14px; margin-top: 6px; color: var(--muted); font-size: 13px } .sv-meta span { display: inline-flex; align-items: center; gap: 6px } .sv-meta svg.lucide { width: 14px; height: 14px }
.sv-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--line) } .dot-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px } .dot-ok::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok) }
.sv-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 13px; border: 1px dashed var(--line2); background: var(--bg2) } .sv-row img, .sv-row .gi { width: 40px; height: 40px; border-radius: 11px; background: var(--card3); display: grid; place-items: center; font-size: 13px; color: var(--muted); font-weight: 700 } .sv-row > span:not(.gi) { flex: 1; min-width: 0 } .sv-row b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .sv-row small { color: var(--dim); font-size: 12.5px }
.sv-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: 16px }

/* Accueil d'un serveur */
.g-ban { height: 190px; border-radius: 18px; border: 1px solid var(--line); background-color: var(--bg2); background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 18px 18px; background-position: center; overflow: hidden }
.g-ban.img { background-size: cover }
.g-id { display: flex; align-items: flex-end; gap: 22px; margin: -60px 0 26px 40px; position: relative }
.g-id .av { position: relative; width: 120px; height: 120px; border-radius: 50%; border: 6px solid var(--bg); background: var(--card3); overflow: hidden; display: grid; place-items: center; font-family: var(--display); font-size: 40px; font-weight: 800 } .g-id .av img { width: 100%; height: 100% }
.g-id h1 { flex: 1; font-size: 30px; font-weight: 800; padding-bottom: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.g-id .btn { margin-bottom: 14px }
.health { display: flex; align-items: center; gap: 18px; padding: 18px 22px; margin-bottom: 16px }
.health .ico { width: 42px; height: 42px } .health > span:not(.ico) { flex: 1 } .health b { font-weight: 700 } .health small { color: var(--muted); margin-left: 8px }
.health .links2 { display: flex; gap: 14px; margin-top: 4px; flex-wrap: wrap } .health .links2 a { color: var(--accent2); font-size: 13.5px; font-weight: 600 }
.bar { width: 160px } .bar i { display: block; height: 5px; border-radius: 5px; background: var(--card3); overflow: hidden } .bar i em { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent-d), var(--accent2)) } .bar small { display: block; text-align: right; margin-top: 6px; color: var(--dim); font-size: 12px }
.feed { margin-top: 30px } .feed h2 { font-size: 22px; font-weight: 800 } .feed > p { color: var(--muted); margin: 6px 0 16px }
.feed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px } .feed-grid .card { padding: 0; overflow: hidden }
.fg-h { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 700 }
.fg-row { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 14px } .fg-row:first-of-type { border-top: 0 } .fg-row .av { width: 26px; height: 26px; border-radius: 50%; background: var(--card3); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted); flex-shrink: 0 } .fg-row .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted) } .fg-row .t b { color: var(--text); font-weight: 600 } .fg-row .w { color: var(--dim); font-size: 12.5px; flex-shrink: 0 }
.tag { padding: 2px 8px; border-radius: 6px; background: var(--card2); border: 1px solid var(--line2); font-size: 11.5px; font-weight: 600; color: var(--muted); flex-shrink: 0 }
.fg-empty { padding: 44px 20px; text-align: center; color: var(--muted) } .fg-empty small { display: block; color: var(--dim); margin-top: 4px }

/* Compte */
.acc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; max-width: 1060px }
.field { margin-bottom: 18px } .field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px }
.input { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg2); color: var(--muted) }
.input input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--text); font: inherit }
.pcard { border-radius: 16px; border: 1px solid var(--line); background: var(--card); overflow: hidden; position: sticky; top: 20px }
.pcard-ban { height: 110px; background: linear-gradient(120deg, #2a1409, #120c0a); background-size: cover; background-position: center }
.pcard-body { padding: 0 18px 18px } .pcard-body img { width: 74px; height: 74px; border-radius: 50%; border: 5px solid var(--card); margin-top: -37px }
.pcard-body h3 { margin-top: 8px; font-size: 20px } .pcard-body h3 small { font-family: var(--font); color: var(--dim); font-size: 13px; font-weight: 400; margin-left: 6px }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 } .pc-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; margin-top: 8px } .pc-line svg.lucide { width: 15px; height: 15px }

/* Admin */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 20px }
.gate form { width: min(400px, 100%); padding: 32px; border-radius: 20px; border: 1px solid var(--line2); background: var(--card); text-align: center }
.gate img { width: 64px; height: 64px; margin: 0 auto 16px } .gate h1 { font-size: 24px } .gate p { color: var(--muted); margin: 8px 0 22px }
.gate .input { margin-bottom: 14px } .gate .btn { width: 100% } .gate .err { color: var(--bad); font-size: 14px; margin: -4px 0 14px }

/* Apparition douce */
@keyframes rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.rise { animation: rise .5s cubic-bezier(.2, .7, .3, 1) both } .rise.d1 { animation-delay: .06s } .rise.d2 { animation-delay: .12s } .rise.d3 { animation-delay: .18s }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none } .rise { animation: none } * { transition: none !important } html { scroll-behavior: auto } }

/* Petits écrans */
@media (max-width: 1100px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)) } .grid-dash { grid-template-columns: 1fr 1fr } .grid-dash > :last-child { grid-column: 1 / -1 } .features { grid-template-columns: 1fr 1fr } .acc { grid-template-columns: 1fr } .pcard { position: static } }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr }
  .nav-links { display: none } .burger { display: inline-flex } .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; padding: 8px; background: #111116 } .nav.open .dd-menu { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: 0; padding: 0 0 0 10px }
  .sec-head, .faq, .cta-card, .plus-hero { grid-template-columns: 1fr } .features, .grid3 { grid-template-columns: 1fr } .foot-grid { grid-template-columns: 1fr 1fr } .foot-grid > :first-child { grid-column: 1 / -1 }
  .preview-in { grid-template-columns: 1fr } .pv-side { display: none } .pv-cards { grid-template-columns: 1fr 1fr } .cta-card { padding: 30px }
  .app { grid-template-columns: 1fr } .side { position: fixed; z-index: 40; left: 0; top: 0; width: 290px; transform: translateX(-100%); transition: transform .25s } .app.menu .side { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .55) }
  .main { padding: 0 16px 40px } .menu-btn { display: inline-flex } .grid-dash, .feed-grid { grid-template-columns: 1fr } .g-id { margin-left: 16px } .g-id .av { width: 90px; height: 90px } .g-id h1 { font-size: 22px } .health { flex-wrap: wrap }
}
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr } .hero { padding-top: 70px } .cmp th, .cmp td { padding: 12px 10px; font-size: 13px } }
.ico, .gi { flex-shrink: 0 } .ws-btn .gi { font-size: 13px; font-weight: 700; color: var(--muted) }

/* Dashboard : animations */
.card { transition: border-color .2s, transform .2s, box-shadow .2s, background .2s }
a.card:hover, .sv:hover { transform: translateY(-3px); border-color: rgba(255, 90, 31, .35); box-shadow: 0 14px 34px -18px rgba(255, 90, 31, .45) }
a.card .ico, .links .ln .ico { transition: color .2s, border-color .2s, background .2s }
a.card:hover .ico, .links a.ln:hover .ico { color: var(--accent2); border-color: rgba(255, 90, 31, .35); background: rgba(255, 90, 31, .08) }
.links .ln > svg.lucide { transition: transform .2s } .links a.ln:hover > svg.lucide { transform: translateX(4px); color: var(--accent2) }
.ring circle + circle { transition: stroke-dashoffset 1.2s cubic-bezier(.2, .7, .2, 1) .2s }
.grid-dash > *, .feed, .health, .cards4 + .cards4 { animation: rise .55s cubic-bezier(.2, .7, .3, 1) both }
.grid-dash > :nth-child(1) { animation-delay: .22s } .grid-dash > :nth-child(2) { animation-delay: .3s } .grid-dash > :nth-child(3) { animation-delay: .38s } .feed, .cards4 + .cards4 { animation-delay: .25s }
@media (prefers-reduced-motion: reduce) { .grid-dash > *, .feed, .health, .cards4 + .cards4 { animation: none } a.card:hover, .sv:hover { transform: none } }
/* Bannière par défaut d'un serveur : même fond que l'aperçu de l'accueil */
.g-ban.sq { position: relative; background: linear-gradient(120deg, #1a0f0b, #2b130a 50%, #150d0a) }
.g-ban.sq span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: clamp(80px, 13vw, 160px); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08) }
.g-ban.sq::before, .g-ban.sq::after { content: ''; position: absolute; top: -20%; bottom: -20%; width: 1px; background: rgba(255, 255, 255, .08); transform: rotate(24deg) }
.g-ban.sq::before { left: 30% } .g-ban.sq::after { right: 26% }
.sn-sep { height: 1px; background: var(--line); margin: 10px 6px }
/* Changement de page en fondu, le menu reste en place */
@view-transition { navigation: auto }
.side { view-transition-name: sq-side }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s }
/* Cartes de chiffres : le nombre en haut à gauche, l'icône en haut à droite */
.card.stat { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "v h" "l l"; align-items: start; min-height: 0; gap: 0 }
.card.stat .stat-h { grid-area: h } .card.stat .stat-h .chip { display: none }
.card.stat .stat-v { grid-area: v; margin-top: 2px; font-size: 34px }
.card.stat .stat-l { grid-area: l; margin-top: 22px }

/* Pages « À traiter » et « Succès » */
.ib { max-width: 1040px; margin: 0 auto; padding: 24px 0 60px }
.ib-head .ico { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 18px }
.ib-head h1 { font-size: 32px; font-weight: 700; letter-spacing: -.03em }
.ib-head p { color: var(--muted); margin: 6px 0 0; max-width: 680px; font-size: 15.5px }
.ib-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 22px } .ib-stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.ib-stat { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card) }
.ib-stat > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px } .ib-stat > span:first-child svg.lucide { width: 15px; height: 15px }
.ib-stat b { font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1 } .ib-stat b em { font-style: normal; font-size: 15px; color: var(--dim); font-weight: 600 } .ib-stat b.green { color: #4ade80 } .ib-stat small { font-size: 12.5px }
.ib-bar { height: 5px; border-radius: 5px; background: var(--card3); overflow: hidden } .ib-bar i { display: block; height: 100%; background: linear-gradient(90deg, #d9430d, #ff7b42); border-radius: 5px }
.ib-card { border-radius: 14px; border: 1px solid var(--line); background: var(--card); padding: 18px 20px }
.ib-card-h, .ib-recap summary { display: flex; align-items: flex-start; gap: 14px }
.ib-card-h b, .ib-recap summary b { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px } .ib-card-h small, .ib-recap summary small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px }
.ib-ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; border: 1px solid var(--line2); background: var(--card2); display: grid; place-items: center } .ib-ic svg.lucide { width: 17px; height: 17px; color: var(--muted) }
.ib-sep { height: 1px; background: var(--line); margin: 16px 0 }
.ib-select { position: relative; display: inline-flex; align-items: center; min-width: 280px } .ib-select.wide { min-width: 0; width: min(500px, 100%) }
.ib-select select { appearance: none; width: 100%; padding: 12px 40px 12px 14px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: inherit; font-size: 14.5px; cursor: pointer }
.ib-select select:focus { outline: none; border-color: rgba(255, 90, 31, .5) } .ib-select > svg.lucide { position: absolute; right: 13px; width: 16px; height: 16px; color: var(--muted); pointer-events: none }
.ib-list { display: flex; flex-direction: column; margin-top: 12px }
.ib-item { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-top: 1px solid var(--line); border-radius: 0 } .ib-item:first-child { border-top: 0 }
a.ib-item:hover { background: rgba(255, 255, 255, .02) } .ib-item[hidden] { display: none }
.ib-txt { flex: 1; min-width: 0 } .ib-txt b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .ib-txt small { display: block; color: var(--dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.ib-tag { padding: 3px 9px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line2); font-size: 12px; color: var(--muted) } .ib-ago { color: var(--dim); font-size: 12.5px; min-width: 42px; text-align: right } .ib-item > svg.lucide { width: 16px; height: 16px; color: var(--dim) }
.ib-empty { color: var(--muted); font-size: 14px; margin: 14px 0 2px } .ib-empty[hidden] { display: none }
.ib-field { margin: 26px 0 12px } .ib-field > b { display: block; font-weight: 600; font-size: 15px } .ib-field > small { display: block; color: var(--muted); font-size: 13.5px; margin: 3px 0 10px }
.ib-recap summary { list-style: none; cursor: pointer; align-items: center } .ib-recap summary::-webkit-details-marker { display: none } .ib-recap summary > div { flex: 1 }
.ib-chev { width: 17px; height: 17px; color: var(--muted); transition: transform .2s } .ib-recap[open] .ib-chev { transform: rotate(180deg) }
.ib-state { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line2); font-size: 11.5px; font-weight: 600; color: var(--muted) } .ib-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #6b6b76 } .ib-state.on { color: #4ade80 } .ib-state.on::before { background: #4ade80 }
.ib-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0 } .ib-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1 } .ib-switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--card3); border: 1px solid var(--line2); transition: background .2s } .ib-switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #d4d4d8; transition: transform .2s } .ib-switch input:checked + span { background: var(--accent); border-color: var(--accent) } .ib-switch input:checked + span::after { transform: translateX(20px); background: #fff }
.ib-recap-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line) } .ib-recap-body label > span:first-child { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px } .ib-recap-body .ib-select { min-width: 0; width: 100% }
.ib-saved { display: inline-flex; align-items: center; gap: 6px; color: #4ade80; font-size: 13px; margin-top: 10px } .ib-saved[hidden] { display: none } .ib-saved svg.lucide { width: 14px; height: 14px }
.ach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.ach { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); opacity: .62 } .ach.done { opacity: 1 }
.ach-ic { width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--card3); border: 1px solid var(--line2) } .ach-ic svg.lucide { width: 24px; height: 24px; color: var(--dim) }
.ach.done .ach-ic { background: linear-gradient(135deg, #ff7b42, #d9430d); border-color: transparent; box-shadow: 0 10px 24px -12px rgba(255, 90, 31, .7) } .ach.done .ach-ic svg.lucide { color: #fff }
.ach-txt { flex: 1; min-width: 0 } .ach-txt b { display: block; font-weight: 700; font-size: 15px } .ach-txt small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px }
.ach-meta { display: block; color: var(--dim); font-size: 12px; margin-top: 6px } .ach-meta .ok { color: #4ade80; display: inline-flex; align-items: center; gap: 4px } .ach-meta svg.lucide { width: 12px; height: 12px }
.ach-rew { display: inline-flex; align-items: center; gap: 5px; color: #4ade80; font-weight: 700; font-size: 14px; flex-shrink: 0 } .ach-rew svg.lucide { width: 15px; height: 15px }
@media (max-width: 880px) { .ib-stats, .ib-stats.three, .ach-grid, .ib-recap-body { grid-template-columns: 1fr } .ib { padding-top: 8px } }

/* Bande des serveurs : comme l'ancien site (pastilles compactes, sans lien) */
.mq-track { align-items: center }
.srv { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 11px 18px 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s, transform .2s }
.srv:hover { border-color: var(--line2); transform: translateY(-2px) }
.srv img, .srv-i { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover }
.srv-i { display: grid; place-items: center; background: var(--soft); color: var(--accent2); font-weight: 800 }
.srv > span { display: flex; flex-direction: column; line-height: 1.3 } .srv b { font-size: 14.5px; font-weight: 600; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .srv small { color: var(--muted); font-size: 12.5px }

/* Reflet des cartes au survol : plus discret */
a.card:hover, .sv:hover { transform: translateY(-2px); border-color: var(--line2); box-shadow: 0 10px 28px -18px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04) }
a.card:hover .ico, .links a.ln:hover .ico { color: var(--text); border-color: var(--line2); background: var(--card3) }

/* Barres de défilement sombres et fines */
* { scrollbar-width: thin; scrollbar-color: #2c2d35 transparent }
::-webkit-scrollbar { width: 8px; height: 8px } ::-webkit-scrollbar-track { background: transparent }
::-webkit-scrollbar-thumb { background: #2c2d35; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box } ::-webkit-scrollbar-thumb:hover { background: #3a3b45; background-clip: padding-box }
::-webkit-scrollbar-button { display: none; height: 0; width: 0 }

/* Panel admin */
.adm-badge { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 13px; border: 1px solid rgba(255, 90, 31, .3); background: rgba(255, 90, 31, .07); margin-bottom: 18px }
.adm-badge > svg.lucide { width: 18px; height: 18px; color: var(--accent2) } .adm-badge b { display: block; font-size: 14px } .adm-badge small { color: var(--dim); font-size: 12px }
.adm-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; margin-left: auto } .adm-dot.warn { background: #f59e0b }
.adm.ib { max-width: 1120px }
.adm-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px }
.adm-chart { display: flex; align-items: flex-end; gap: 4px; height: 150px; margin-top: 18px } .adm-chart span { flex: 1; height: 100%; display: flex; align-items: flex-end } .adm-chart i { width: 100%; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #ff7b42, #d9430d); opacity: .85 } .adm-chart span:hover i { opacity: 1 }
.adm-chart-l { display: flex; justify-content: space-between; color: var(--dim); font-size: 12px; margin-top: 8px }
.adm-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px } .adm-kv div { padding: 11px 12px; border-radius: 11px; background: var(--bg2); border: 1px solid var(--line) } .adm-kv span { display: block; color: var(--dim); font-size: 12px } .adm-kv b { font-size: 15px; font-weight: 600 } .adm-kv b.ok { color: #4ade80 } .adm-kv b.warn { color: #f59e0b }
.adm-tools { display: flex; gap: 10px; align-items: center; margin: 24px 0 12px; flex-wrap: wrap } .adm-tools .search { flex: 1; min-width: 240px; max-width: 460px }
.adm-check { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; cursor: pointer } .adm-check input { accent-color: var(--accent) }
.adm-table { padding: 6px 0 } .adm-tr { display: grid; grid-template-columns: minmax(0, 1fr) 110px 120px 130px; align-items: center; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line) } .adm-tr:first-child { border-top: 0 } .adm-tr[hidden] { display: none }
.adm-th { color: var(--dim); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em }
.adm-g { display: flex; align-items: center; gap: 12px; min-width: 0 } .adm-g img, .adm-g > i { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0 } .adm-g > i { display: grid; place-items: center; background: var(--card3); font-style: normal; font-weight: 700; color: var(--muted) }
.adm-g > span { min-width: 0 } .adm-g b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .adm-g small { color: var(--dim); font-size: 12px }
.adm-pill { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(250, 204, 21, .12); color: #facc15; margin-left: 4px; font-weight: 600 }
.adm-acts { display: flex; gap: 6px; justify-content: flex-end } .adm-danger:hover { border-color: rgba(239, 68, 68, .5); color: #f87171 } .adm-acts svg.lucide { width: 15px; height: 15px }
.adm-form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px } .adm-form label > span:first-child { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px }
.adm-form input[type=text], .adm-form input[type=url], .adm-give input { width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: inherit; font-size: 14.5px } .adm-form input:focus, .adm-give input:focus { outline: none; border-color: rgba(255, 90, 31, .5) }
.adm-form .ib-select { min-width: 0; width: 100% } .adm-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.adm-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap } .adm-msg { font-size: 13px } .adm-msg.ok { color: #4ade80 } .adm-msg.err, .err { color: #f87171 }
.adm-warnbtn { background: #b45309; border-color: #b45309 } .adm-warnbtn:hover { background: #d97706; border-color: #d97706 }
.adm-state { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 11px; background: rgba(74, 222, 128, .07); border: 1px solid rgba(74, 222, 128, .25); color: #86efac; font-size: 14px } .adm-state.warn { background: rgba(245, 158, 11, .08); border-color: rgba(245, 158, 11, .3); color: #fcd34d } .adm-state svg.lucide { width: 17px; height: 17px }
.adm-user { margin-top: 4px } .adm-user-h { display: flex; align-items: center; gap: 14px } .adm-user-h img { width: 48px; height: 48px; border-radius: 50% } .adm-user-h > div { flex: 1 } .adm-user-h b { font-size: 17px } .adm-user-h small { display: block; color: var(--dim); font-size: 13px }
.adm-bal { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 22px; font-weight: 800; color: #4ade80 } .adm-bal svg.lucide { width: 18px; height: 18px }
.adm-give { display: grid; grid-template-columns: 180px 1fr auto; gap: 10px; margin-top: 16px; align-items: center } .adm-give .adm-msg { grid-column: 1 / -1 }
.ach-rew.neg { color: #f87171 }
@media (max-width: 880px) { .adm-grid, .adm-2, .adm-give { grid-template-columns: 1fr } .adm-tr { grid-template-columns: minmax(0, 1fr) auto } .adm-tr > span:nth-child(2), .adm-tr > span:nth-child(3) { display: none } }
/* Succès : icône orange sur fond sombre (plus de carré orange plein) */
.ach.done .ach-ic { background: rgba(255, 90, 31, .08); border: 1px solid rgba(255, 90, 31, .28); box-shadow: none } .ach.done .ach-ic svg.lucide { color: var(--accent2) }
.fg-row .av { overflow: hidden; flex-shrink: 0 } .fg-row .av img { width: 100%; height: 100%; object-fit: cover; display: block }
/* Choix du serveur : menu plus large, ouverture fluide, textes non coupés */
.ws-menu { right: auto; min-width: 100%; width: max-content; max-width: 320px; max-height: min(420px, 70vh); overflow-y: auto; z-index: 60 }
.ws.open .ws-menu { animation: wsIn .14s ease-out }
@keyframes wsIn { from { opacity: 0; transform: translateY(-4px) } }
.ws-it { white-space: nowrap } .ws-it > span:not(.gi) { min-width: 0 } .ws-it b { max-width: 230px }

/* Support */
.sup-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 18px }
.sup-q { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s }
.sup-q:hover { border-color: var(--line2) } .sup-q > span:nth-child(2) { flex: 1; min-width: 0 } .sup-q b { display: block; font-size: 14.5px; font-weight: 600 } .sup-q small { color: var(--dim); font-size: 12.5px } .sup-q > svg.lucide { width: 16px; height: 16px; color: var(--dim) }
.sup-alert { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14px } .sup-alert svg.lucide { width: 17px; height: 17px; flex-shrink: 0 }
.sup-alert.ok { background: rgba(74, 222, 128, .07); border: 1px solid rgba(74, 222, 128, .25); color: #86efac } .sup-alert.err { background: rgba(248, 113, 113, .07); border: 1px solid rgba(248, 113, 113, .3); color: #fca5a5 }
.sup-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); width: max-content; max-width: 100%; margin-bottom: 14px; overflow-x: auto }
.sup-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 9px; border: 0; background: none; color: var(--muted); font: 600 14px inherit; cursor: pointer; white-space: nowrap }
.sup-tabs button.on { background: var(--card3); color: var(--text) } .sup-tabs svg.lucide { width: 15px; height: 15px } .sup-tabs .n { font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: var(--soft); color: var(--accent2) }
.sup-form { display: flex; flex-direction: column; gap: 10px } .sup-form[hidden], section[data-sp][hidden] { display: none }
.sup-lbl { font-weight: 600; font-size: 14px; margin-top: 8px } .sup-lbl small { color: var(--dim); font-weight: 400; margin-left: 6px }
.sup-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px }
.sup-topic input { position: absolute; opacity: 0; pointer-events: none }
.sup-topic span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .15s, color .15s, background .15s }
.sup-topic span:hover { color: var(--text) } .sup-topic svg.lucide { width: 17px; height: 17px; flex-shrink: 0 }
.sup-topic input:checked + span { border-color: rgba(255, 90, 31, .55); background: rgba(255, 90, 31, .07); color: var(--text) } .sup-topic input:checked + span svg.lucide { color: var(--accent2) }
.sup-topic input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px }
.sup-ta { position: relative } .sup-ta textarea { width: 100%; box-sizing: border-box; padding: 13px 14px 30px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: inherit; font-size: 14.5px; resize: vertical; min-height: 90px }
.sup-ta textarea:focus { outline: none; border-color: rgba(255, 90, 31, .5) } .sup-ta .cnt { position: absolute; right: 12px; bottom: 9px; color: var(--dim); font-size: 12px }
.sup-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap } .sup-foot .dim { display: inline-flex; align-items: center; gap: 6px; font-size: 13px } .sup-foot .dim svg.lucide { width: 14px; height: 14px }
.sup-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 20px; text-align: center } .sup-empty svg.lucide { width: 28px; height: 28px; color: var(--dim) } .sup-empty small { color: var(--dim) }
.sup-list { display: flex; flex-direction: column; gap: 10px }
.sup-item summary, .sup-rdv-h { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer } .sup-item summary::-webkit-details-marker { display: none } .sup-rdv-h { cursor: default } .sup-rdv-h form { margin: 0 }
.sup-it { flex: 1; min-width: 0 } .sup-it b { display: block; font-weight: 600; font-size: 14.5px } .sup-it small { color: var(--dim); font-size: 12.5px }
.sup-item[open] .ib-chev { transform: rotate(180deg) }
.sup-pill { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap } .sup-pill.wait { background: rgba(245, 158, 11, .12); color: #fbbf24 } .sup-pill.ok { background: rgba(74, 222, 128, .12); color: #4ade80 } .sup-pill.off { background: var(--card3); color: var(--muted) }
.sup-thread { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line) }
.sup-msg { padding: 12px 14px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line) } .sup-msg b { display: flex; align-items: center; gap: 7px; font-size: 13px; margin-bottom: 4px } .sup-msg b img { width: 18px; height: 18px }
.sup-msg p { margin: 0; color: var(--muted); font-size: 14px; white-space: pre-wrap } .sup-msg.team { border-color: rgba(255, 90, 31, .28); background: rgba(255, 90, 31, .05) } .sup-msg.team p { color: var(--text) }
.sup-wait { display: flex; align-items: center; gap: 7px; font-size: 13px; margin: 0 } .sup-wait svg.lucide { width: 14px; height: 14px }
.rdv-slots { display: flex; flex-direction: column; gap: 8px } .rdv-slot { display: grid; grid-template-columns: minmax(0, 1fr) 140px auto; gap: 8px; align-items: center }
.rdv-slot input { padding: 11px 12px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: inherit; color-scheme: dark } .rdv-slot .ib-select { min-width: 0 } #rdvAdd { align-self: flex-start } #rdvAdd[hidden] { display: none }
@media (max-width: 880px) { .sup-quick { grid-template-columns: 1fr } .rdv-slot { grid-template-columns: 1fr 110px auto } }
.side-me-l { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; border-radius: 10px } .side-me-l > span { min-width: 0 } .side-me-l:hover b { color: var(--accent2) } .side-me .side-me-l img { width: 36px; height: 36px; border-radius: 50% } .side-me > a:last-child { width: 32px; height: 32px; flex-shrink: 0 }
.side-me a.side-me-l { width: auto; height: auto; display: flex; color: inherit } .side-me a.side-me-l:hover { background: none }

/* Bandeau cookies */
.ck { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(440px, calc(100vw - 40px)); padding: 18px; border-radius: 16px; border: 1px solid var(--line2); background: #15161af2; backdrop-filter: blur(12px); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); display: flex; flex-direction: column; gap: 14px; animation: rise .4s cubic-bezier(.2, .7, .3, 1) both }
.ck[hidden] { display: none } .ck b { font-family: var(--display); font-size: 16px } .ck p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px } .ck a { color: var(--accent2); font-weight: 600 }
.ck-b { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap }
.preview { position: relative } .pv-tag { position: absolute; z-index: 2; right: 18px; top: 18px; padding: 4px 10px; border-radius: 999px; background: rgba(15, 16, 18, .85); border: 1px solid var(--line2); color: var(--muted); font-size: 12px; font-weight: 600 }

/* Boutique Émeraude */
.em-offer { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--card) }
.em-top { display: flex; align-items: center; gap: 14px } .em-top > div { flex: 1; min-width: 0 } .em-top b { display: block; font-size: 16px; font-weight: 700 } .em-top small { color: var(--dim); font-size: 12.5px }
.em-offer p { margin: 0; color: var(--muted); font-size: 14px } .em-offer .btn { align-self: flex-start } .em-offer .btn:disabled { opacity: .55; cursor: not-allowed; background: var(--card2); border-color: var(--line2); color: var(--muted) }
.em-msg { margin: 14px 0 0; font-size: 14px } .em-msg.ok { color: #4ade80 } .em-msg.err { color: #f87171 } .em-msg[hidden] { display: none }

/* Menu : recherche et favoris */
.sq-search { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; padding: 9px 11px; border-radius: 11px; border: 1px solid #2c2d35; background: #0f1012; color: #686876; cursor: text }
.sq-search:focus-within { border-color: rgba(255, 90, 31, .5) }
.sq-search svg { width: 15px; height: 15px; flex-shrink: 0 }
.sq-search input { flex: 1; min-width: 0; border: 0 !important; background: none !important; outline: none !important; box-shadow: none !important; padding: 0 !important; color: #ececf1; font: 14px 'Inter', system-ui, sans-serif; height: auto !important; border-radius: 0 !important }
.sq-search input::-webkit-search-cancel-button { display: none }
.sq-search kbd { padding: 1px 6px; border-radius: 5px; border: 1px solid #2c2d35; font: 11px ui-monospace, monospace; color: #686876 }
.sq-favs { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #222329 } .sq-favs .sn-h { margin-top: 4px }
.sq-favs[hidden], .sq-none[hidden], .side-nav [hidden] { display: none !important }
.sq-none { margin: 10px 12px; color: #686876; font-size: 13.5px }
.sq-ctx { position: fixed; z-index: 400; min-width: 210px; padding: 6px; border-radius: 12px; border: 1px solid #2c2d35; background: #15161a; box-shadow: 0 18px 40px rgba(0, 0, 0, .6) }
.sq-ctx button { display: block; width: 100%; padding: 9px 11px; border: 0; border-radius: 8px; background: none; color: #ececf1; font: 500 13.5px 'Inter', system-ui, sans-serif; text-align: left; cursor: pointer } .sq-ctx button:hover { background: #1f2026 }

/* Menu Ressources : derniers articles du blog */
.dd-menu .dd-h { margin: 8px 10px 4px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase }
.dd-menu a.dd-post { display: flex; align-items: center; gap: 10px }
.dd-menu a.dd-post img { width: 64px; height: 27px; object-fit: cover; border-radius: 6px; flex-shrink: 0 }
.dd-menu a.dd-post span { min-width: 0 } .dd-menu a.dd-post b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px }

/* Blog : encadrés (> [!info]), citations et séparateurs */
.hint { display: flex; gap: 12px; margin: 20px 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card) }
.hint > svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px }
.hint b { display: block; margin-bottom: 2px } .hint p { margin: 4px 0 0 !important }
.hint-info { border-color: rgba(96, 165, 250, .35); background: rgba(96, 165, 250, .07) } .hint-info > svg { color: #60a5fa }
.hint-astuce, .hint-tip, .hint-succes { border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .07) } .hint-astuce > svg, .hint-tip > svg, .hint-succes > svg { color: #34d399 }
.hint-attention, .hint-warning { border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .07) } .hint-attention > svg, .hint-warning > svg { color: #fbbf24 }
.hint-danger { border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .07) } .hint-danger > svg { color: #f87171 }
.bp-body blockquote, .be-paper blockquote { margin: 18px 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--accent); color: var(--muted) }
.bp-body hr, .be-paper hr { border: 0; border-top: 1px solid var(--line2); margin: 28px 0 }
.bp-edit { float: right; margin-top: -4px }

/* Mode simple du menu (pages squir.fr) : seulement les modules essentiels et ceux déjà activés */
.side-nav.simple:not(.searching) .sn-sub a.snv:not([data-simple]) { display: none }
.side-nav.simple:not(.searching) details.sn-g:not([data-group="settings"]):not(:has(a.snv[data-simple])) { display: none }
.sq-simple-btn { display: flex; align-items: center; gap: 8px; width: 100%; margin: 6px 0 0; padding: 8px 12px; border: 1px dashed var(--line, #2a2a2e); border-radius: 10px; background: transparent; color: var(--muted, #a1a1aa); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left }
.sq-simple-btn:hover { color: var(--text, #fff); border-color: var(--muted, #a1a1aa) }
.sq-simple-btn svg { width: 15px; height: 15px; flex-shrink: 0 }

/* Recherche du menu : pourquoi une page sort (mot-clé), et bouton « chercher partout » */
.snv .snv-why { display: block; flex-basis: 100%; margin: 2px 0 0 28px; font-size: 11.5px; line-height: 1.35; color: #8b8b98; font-weight: 400; white-space: normal }
.side-nav.searching a.snv:has(.snv-why) { flex-wrap: wrap; height: auto; padding-top: 7px; padding-bottom: 7px }
.sq-none button { display: flex; align-items: center; gap: 8px; margin-top: 10px; width: 100%; padding: 9px 12px; border-radius: 9px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #e6e6ea; font: inherit; font-size: 13px; cursor: pointer }
.sq-none button:hover { background: rgba(255,90,31,.12); border-color: rgba(255,90,31,.4) }
.sq-none button svg { width: 15px; height: 15px }

/* ---------- Accueil d'un serveur : en-tête compact, « À faire » à gauche, vie du serveur à droite ---------- */
.hd { display: flex; align-items: center; gap: 16px; padding: 8px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 26px }
.hd-av { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--card3); font: 800 20px var(--display); color: var(--muted); text-transform: uppercase }
.hd-av img { width: 100%; height: 100% }
.hd-id { flex: 1; min-width: 0 }
.hd-id h1 { font-size: 28px; font-weight: 800; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.hd-id p { margin: 4px 0 0; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums }
.hd-id .up { color: var(--ok); font-weight: 600 }
.hd-act { display: flex; gap: 8px; flex-shrink: 0 }
.hd-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start }
.hd-col { display: flex; flex-direction: column; gap: 20px; min-width: 0 }
.hd-panel { border: 1px solid var(--line); border-radius: 16px; background: var(--bg2); overflow: hidden }
.hd-ph { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 20px 12px }
.hd-ph h2 { font-size: 18px; font-weight: 700 }
.hd-note { color: var(--dim); font-size: 13px }
.hd-more { color: var(--accent2); font-size: 13px; font-weight: 600 } .hd-more:hover { text-decoration: underline; text-underline-offset: 3px }
.hd-row { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-top: 1px solid var(--line); color: var(--text); transition: background .15s }
.hd-row:hover { background: var(--card) }
.hd-row > svg.lucide:first-child { color: var(--dim) }
.hd-row.hot > svg.lucide:first-child { color: var(--accent2) }
.hd-rt { flex: 1; min-width: 0 } .hd-rt b { display: block; font-weight: 600; font-size: 14.5px } .hd-rt small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.hd-count { min-width: 26px; height: 24px; padding: 0 8px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--accent2); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums }
.hd-go { color: var(--dim); width: 16px !important; height: 16px !important; transition: transform .15s ease-out } .hd-row:hover .hd-go { transform: translateX(2px); color: var(--muted) }
.hd-score { display: flex; align-items: center; gap: 16px; padding: 4px 20px 16px }
.hd-score b { font: 800 34px/1 var(--display); font-variant-numeric: tabular-nums } .hd-score small { font-size: 15px; color: var(--dim); font-weight: 600; margin-left: 2px }
.hd-meter { flex: 1; height: 8px; border-radius: 8px; background: var(--card3); overflow: hidden } .hd-meter i { display: block; height: 100%; border-radius: 8px; background: var(--accent) }
.hd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line) }
.hd-facts > div { padding: 14px 20px 16px } .hd-facts > div + div { border-left: 1px solid var(--line) }
.hd-facts dt { color: var(--dim); font-size: 12.5px } .hd-facts dd { margin: 4px 0 0; font: 700 20px var(--display); font-variant-numeric: tabular-nums }
.hd-ev { display: flex; align-items: center; gap: 12px; padding: 11px 20px; border-top: 1px solid var(--line); font-size: 13.5px }
.hd-et { flex: 1; min-width: 0; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .hd-et b { color: var(--text); font-weight: 600 }
.hd-ev time { color: var(--dim); font-size: 12.5px; flex-shrink: 0; font-variant-numeric: tabular-nums }
.hd-who { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--card3); display: grid; place-items: center; font-size: 12px; font-weight: 700 } .hd-who img { width: 100%; height: 100% }
.hd-kind { color: var(--accent2); font-size: 12.5px; font-weight: 600 }
.hd-empty { margin: 0; padding: 14px 20px 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px }
@media (max-width: 1100px) { .hd-grid { grid-template-columns: 1fr } }
@media (max-width: 640px) { .hd { flex-wrap: wrap } .hd-act { width: 100% } .hd-act .btn { flex: 1 } .hd-id h1 { font-size: 22px } .hd-facts { grid-template-columns: 1fr 1fr } .hd-facts > div:nth-child(3) { border-left: 0 } .hd-facts > div:nth-child(n+3) { border-top: 1px solid var(--line) } }

.hd-setup .hd-score { padding-top: 0 }
.hd-guide b { color: var(--accent2) } .hd-guide > svg.lucide:first-child { color: var(--accent2) !important }
.hd-flash { display: flex; align-items: center; gap: 10px; margin: -6px 0 20px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(52, 211, 153, .3); background: rgba(52, 211, 153, .08); color: #a7f3d0; font-size: 14px }
