:root {
  --bg: #05060b;
  --text: #f3f4f8;
  --text2: #c9ccd8;
  --muted: #959bad;
  --line: rgba(255, 255, 255, .08);
  --glass: rgba(255, 255, 255, .045);
  --ok: #3ddc97;
  --warn: #ffb547;
  --down: #ff6b78;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--bg); }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.5 Manrope, system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; }
svg { display: block; }

/* ---------- Fond ---------- */

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.nebula { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* Dégradés déjà doux : pas de flou ni de mélange, la carte graphique ne fait que les déplacer */
.nebula span {
  position: absolute;
  border-radius: 50%;
  opacity: .4;
  will-change: transform;
}
.nebula .n1 { width: 70vmax; height: 70vmax; left: -24vmax; top: -28vmax; background: radial-gradient(closest-side, rgba(255, 43, 90, .9), rgba(255, 43, 90, .35) 45%, transparent); animation: drift1 26s ease-in-out infinite alternate; }
.nebula .n2 { width: 65vmax; height: 65vmax; right: -26vmax; top: 6vmax; background: radial-gradient(closest-side, rgba(37, 89, 216, .95), rgba(37, 89, 216, .35) 45%, transparent); animation: drift2 32s ease-in-out infinite alternate; }
.nebula .n3 { width: 55vmax; height: 55vmax; left: 22vmax; bottom: -34vmax; background: radial-gradient(closest-side, rgba(255, 122, 46, .9), rgba(255, 122, 46, .3) 45%, transparent); opacity: .22; animation: drift3 28s ease-in-out infinite alternate; }

@keyframes drift1 { to { transform: translate3d(10vmax, 8vmax, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-12vmax, 6vmax, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(-8vmax, -10vmax, 0) scale(1.2); } }

.glow-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .07), transparent);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .06;
  background-image: 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)'/%3E%3C/svg%3E");
}

/* ---------- Barre du haut ---------- */

.top, main, .bottom { position: relative; z-index: 2; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px clamp(16px, 4vw, 48px);
  animation: fadeDown .9s var(--ease) .1s backwards;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
}
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(255, 43, 90, .6)); }

.top-right { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 17, 27, .82);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  white-space: nowrap;
}
.pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.clock span { font-family: var(--mono); color: var(--text); }

.dot, .status i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5b6072;
  flex: none;
}
.dot::after, .status i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
}
.is-ok .dot, .status.is-ok i { background: var(--ok); }
.is-warn .dot, .status.is-warn i { background: var(--warn); }
.is-down .dot, .status.is-down i { background: var(--down); }
.is-ok .dot::after, .status.is-ok i::after,
.is-warn .dot::after, .status.is-warn i::after { animation: ping 2s ease-out infinite; }

@keyframes ping {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(3); opacity: 0; }
}

/* ---------- Héros ---------- */

main {
  flex: 1;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(8px, 3vh, 36px) 0 clamp(36px, 6vh, 64px);
}

.emblem {
  position: relative;
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
  animation: emblemIn 1.4s var(--ease) backwards;
}
@keyframes emblemIn {
  from { opacity: 0; transform: scale(.6) rotate(-12deg); filter: blur(14px); }
}

.orbits {
  position: absolute;
  width: 190%;
  height: 190%;
  left: -45%;
  top: -45%;
  pointer-events: none;
}
.orbits .orb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  will-change: transform;
}
.orbits ellipse { fill: none; stroke-width: 1.6; }
.moon {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  will-change: transform, opacity;
}
.m1 { width: 12px; height: 12px; margin: -6px; background: #ff5c7f; box-shadow: 0 0 10px #ff5c7f; }
.m2 { width: 10px; height: 10px; margin: -5px; background: #9cc0ff; box-shadow: 0 0 10px #9cc0ff; }
.m3 { width: 8px; height: 8px; margin: -4px; background: #ffc06b; box-shadow: 0 0 10px #ffc06b; }

.halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 43, 90, .45), rgba(255, 43, 90, .08) 60%, transparent);
  animation: breathe 4s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }

.emblem .logo {
  position: relative;
  width: 240px;
  height: 240px;
  filter: drop-shadow(0 0 22px rgba(255, 43, 90, .55)) drop-shadow(0 0 60px rgba(255, 43, 90, .25));
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes float { 50% { transform: translateY(-10px) rotate(1.5deg); } }

.spark {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 6px #ff5c7f);
  animation: twinkle 3s ease-in-out infinite;
}
.s1 { left: 2%; top: 22%; }
.s2 { right: 4%; top: 6%; width: 10px; height: 10px; animation-delay: 1s; }
.s3 { right: 10%; bottom: 10%; width: 18px; height: 18px; animation-delay: 2s; }
@keyframes twinkle {
  0%, 100% { transform: scale(.3) rotate(0); opacity: .2; }
  50% { transform: scale(1) rotate(45deg); opacity: 1; }
}

.title {
  margin: 28px 0 0;
  font-size: clamp(38px, 6.2vw, 80px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
}
.title .w {
  display: inline-block;
  animation: wordIn 1s var(--ease) backwards;
}
.title .w:nth-child(1) { animation-delay: .35s; }
.title .w:nth-child(2) { animation-delay: .45s; }
.title .w:nth-child(4) { animation-delay: .58s; }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(.6em) rotateX(-40deg); filter: blur(10px); }
}

.grad {
  background: linear-gradient(90deg, #ff2b5a, #ff8a3d, #ffd36b, #7aa7ff, #c084fc, #ff2b5a);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .08em;
  animation: wordIn 1s var(--ease) .58s backwards, shimmer 8s linear infinite !important;
}
@keyframes shimmer { to { background-position: 300% 0; } }

.lead {
  margin: 16px 0 0;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text2);
  animation: fadeUp 1s var(--ease) .75s backwards;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } }

/* ---------- Cartes ---------- */

.portals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
  perspective: 1400px;
}

.card {
  --c: #fff;
  --c2: #fff;
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --px: 50%;
  --py: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 22, 33, .94), rgba(9, 10, 17, .97));
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .9);
  animation: cardIn 1.1s var(--ease) backwards;
  outline: none;
}
#card-staff { --c: #ff2b5a; --c2: #a855f7; animation-delay: .7s; }
#card-weazel { --c: #ff4b2b; --c2: #ffb347; animation-delay: .82s; }
#card-sasp { --c: #3b82f6; --c2: #cfd8e6; animation-delay: .94s; }

@keyframes cardIn {
  from { opacity: 0; translate: 0 70px; filter: blur(10px); }
}

.card.tilting { transition: transform .12s linear, box-shadow .5s var(--ease), border-color .5s; }

.card:hover, .card:focus-visible, .card.is-active {
  --lift: -8px;
  border-color: transparent;
  box-shadow:
    0 40px 80px -30px color-mix(in srgb, var(--c) 55%, transparent),
    0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent);
}

/* Contour lumineux : le dégradé tourne comme un calque, le masque ne garde que le bord */
.card .border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .35;
  transition: opacity .5s;
  z-index: 3;
  pointer-events: none;
}
.card .border i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(transparent 0 55%, var(--c) 70%, var(--c2) 80%, transparent 95%);
  animation: rot 4s linear infinite;
  will-change: transform;
}
.card:hover .border, .card:focus-visible .border, .card.is-active .border { opacity: 1; }

.card .spot {
  position: absolute;
  left: 0;
  top: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 24%, transparent), transparent);
  opacity: 0;
  transition: opacity .4s;
  z-index: 2;
  pointer-events: none;
  will-change: transform, opacity;
}
.card:hover .spot { opacity: 1; }

.card kbd {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 8px;
  background: rgba(10, 12, 20, .7);
  border: 1px solid rgba(255, 255, 255, .16);
  border-bottom-width: 2px;
  color: var(--text);
  font: 600 13px var(--mono);
}

/* Illustration du haut */

.art {
  position: relative;
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
.art img, .art svg { transition: transform .7s var(--ease); }
.card:hover .art img, .card:hover .art .wz-logo { transform: scale(1.06); }

/* Staff */
.art-staff {
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(168, 85, 247, .35), transparent 60%),
    radial-gradient(80% 80% at 50% 30%, rgba(255, 43, 90, .35), transparent 70%),
    #0b0710;
}
.art-staff .grid {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -40%;
  height: 120%;
  overflow: hidden;
  transform: perspective(300px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask: linear-gradient(transparent, #000 60%);
  mask: linear-gradient(transparent, #000 60%);
  opacity: .55;
}
.art-staff .grid span {
  position: absolute;
  left: 0;
  right: 0;
  top: -40px;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 43, 90, .45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 43, 90, .45) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 3s linear infinite;
  will-change: transform;
}
@keyframes gridMove { to { transform: translate3d(0, 40px, 0); } }
.art-staff .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 92, 127, .55);
  translate: -50% -50%;
}
.art-staff .r1 { width: 150px; height: 150px; animation: rot 18s linear infinite; }
.art-staff .r2 { width: 186px; height: 186px; border-style: solid; border-color: rgba(168, 85, 247, .35) transparent rgba(168, 85, 247, .35) transparent; animation: rot 9s linear infinite reverse; }
@keyframes rot { to { rotate: 360deg; } }
.art-staff img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  filter: drop-shadow(0 0 18px rgba(255, 43, 90, .7));
  animation: float 5s ease-in-out infinite;
  will-change: transform;
}
.art-staff .bars {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 46px;
}
.art-staff .bars i {
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(#ff5c7f, #a855f7);
  animation: bar 2.4s ease-in-out infinite;
}
.art-staff .bars i:nth-child(1) { height: 40%; animation-delay: -.2s; }
.art-staff .bars i:nth-child(2) { height: 70%; animation-delay: -.9s; }
.art-staff .bars i:nth-child(3) { height: 55%; animation-delay: -1.4s; }
.art-staff .bars i:nth-child(4) { height: 90%; animation-delay: -.5s; }
.art-staff .bars i:nth-child(5) { height: 65%; animation-delay: -1.9s; }
.art-staff .bars i:nth-child(6) { height: 80%; animation-delay: -1.1s; }
.art-staff .bars i:nth-child(7) { height: 50%; animation-delay: -.7s; }
@keyframes bar { 50% { transform: scaleY(.45); } }
.art-staff .bars i { transform-origin: bottom; }

/* Weazel */
.art-weazel {
  background:
    radial-gradient(90% 90% at 50% 0%, rgba(255, 75, 43, .45), transparent 65%),
    linear-gradient(180deg, #1a0706, #0b0607);
}
.art-weazel .beams {
  position: absolute;
  left: 50%;
  top: -60%;
  width: 160%;
  aspect-ratio: 1;
  translate: -50% 0;
  background: repeating-conic-gradient(from 0deg, rgba(255, 179, 71, .12) 0 6deg, transparent 6deg 22deg);
  -webkit-mask: radial-gradient(closest-side, #000, transparent);
  mask: radial-gradient(closest-side, #000, transparent);
  animation: rot 40s linear infinite;
}
.art-weazel .wz-logo {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 230px;
  margin-left: -115px;
  filter: drop-shadow(0 10px 24px rgba(255, 59, 48, .45));
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
.art-weazel .live {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #a5060e;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}
.art-weazel .live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.2s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .15; } }
.art-weazel .eq {
  position: absolute;
  right: 16px;
  bottom: 44px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}
.art-weazel .eq i {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(#ffd36b, #ff4b2b);
  transform-origin: bottom;
  animation: eq .9s ease-in-out infinite alternate;
}
.art-weazel .eq i:nth-child(odd) { animation-duration: .7s; }
.art-weazel .eq i:nth-child(3n) { animation-duration: 1.1s; }
.art-weazel .eq i:nth-child(1) { animation-delay: -.3s; }
.art-weazel .eq i:nth-child(2) { animation-delay: -.6s; }
.art-weazel .eq i:nth-child(4) { animation-delay: -.1s; }
.art-weazel .eq i:nth-child(5) { animation-delay: -.8s; }
.art-weazel .eq i:nth-child(7) { animation-delay: -.4s; }
.art-weazel .eq i:nth-child(8) { animation-delay: -.2s; }
.art-weazel .eq i:nth-child(10) { animation-delay: -.5s; }
.art-weazel .eq i:nth-child(11) { animation-delay: -.7s; }
@keyframes eq { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.art-weazel .ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(8, 4, 5, .78);
  border-top: 1px solid rgba(255, 75, 43, .4);
}
.art-weazel .track {
  display: flex;
  white-space: nowrap;
  animation: ticker 26s linear infinite;
}
.art-weazel .track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-right: 22px;
  font-size: 13px;
  font-weight: 600;
  color: #f3f4f8;
}
.art-weazel .track span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4b2b;
}
.art-weazel .track { will-change: transform; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* SASP */
.art-sasp {
  background:
    radial-gradient(80% 90% at 50% 45%, rgba(59, 130, 246, .35), transparent 70%),
    linear-gradient(180deg, #071022, #050914);
}
.art-sasp .lightbar {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.art-sasp .lightbar i {
  position: absolute;
  top: -80px;
  width: 70%;
  height: 160px;
  border-radius: 50%;
  --on: .3;
  will-change: opacity;
}
.art-sasp .lightbar .red { left: -20%; background: radial-gradient(closest-side, #ff2b3d, rgba(255, 43, 61, .4) 50%, transparent); animation: strobeA 1.6s infinite; }
.art-sasp .lightbar .blue { right: -20%; background: radial-gradient(closest-side, #2f6bff, rgba(47, 107, 255, .4) 50%, transparent); animation: strobeB 1.6s infinite; }
.card:hover .art-sasp .lightbar i { --on: .75; }
@keyframes strobeA { 0%, 45% { opacity: var(--on); } 50%, 100% { opacity: .04; } }
@keyframes strobeB { 0%, 45% { opacity: .04; } 50%, 100% { opacity: var(--on); } }
.art-sasp .radar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 260px;
  margin: -130px 0 0 -130px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(122, 167, 255, .28), transparent 25%),
    repeating-radial-gradient(circle, transparent 0 28px, rgba(122, 167, 255, .12) 28px 29px);
  -webkit-mask: radial-gradient(closest-side, #000 70%, transparent);
  mask: radial-gradient(closest-side, #000 70%, transparent);
  animation: rot 5s linear infinite;
}
.art-sasp .badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 148px;
  margin: -74px 0 0 -75px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(122, 167, 255, .35));
  will-change: transform;
}
.art-sasp .badge img { width: 100%; height: 100%; }
.art-sasp .shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: url(img/sasp.png) center / contain no-repeat;
  mask: url(img/sasp.png) center / contain no-repeat;
}
.art-sasp .shine::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 60%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45) 50%, transparent);
  animation: shine 4.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes shine {
  0% { transform: translate3d(0, 0, 0); }
  45%, 100% { transform: translate3d(270%, 0, 0); }
}

/* Texte de la carte */

.body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 22px;
}

.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.status.is-ok span { color: var(--text2); }

.card h2 {
  margin: 16px 0 6px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}
.card p {
  margin: 0;
  color: var(--text2);
  font-size: 15px;
  line-height: 1.55;
}

.card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e3e5ec;
  font-size: 14.5px;
}
.card li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat,
    color-mix(in srgb, var(--c) 55%, #000);
}

.foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card ul + .foot { margin-top: 22px; border-top: 1px solid var(--line); }
.card ul + .foot { padding-top: 18px; }

.addr {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font: 500 13px var(--mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.addr svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.go {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 75%, #000), color-mix(in srgb, var(--c) 55%, #000));
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
}
.go::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  translate: -120% 0;
}
.card:hover .go::after { animation: sweep 1s var(--ease); }
@keyframes sweep { to { translate: 120% 0; } }
.go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.card:hover .go svg { transform: translateX(4px); }

.hint {
  margin: 30px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  animation: fadeUp 1s var(--ease) 1.3s backwards;
}
.hint kbd { margin: 0 2px; }

/* ---------- Pied ---------- */

.bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 44px 16px 30px;
  color: var(--muted);
  font-size: 14px;
}
.bottom a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); transition: border-color .3s; }
.bottom a:hover { border-color: #ff5c7f; }

/* ---------- Passage vers un site ---------- */

.warp {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--wx, 50%) var(--wy, 50%), color-mix(in srgb, var(--wc, #fff) 70%, #fff) 0%, var(--wc, #fff) 18%, #05060b 70%);
}
body.warping .warp { animation: warp 1s cubic-bezier(.7, 0, .8, .4) forwards; }
body.warping main, body.warping .top { transition: transform .9s cubic-bezier(.7, 0, .8, .4), opacity .9s; transform: scale(1.08); opacity: 0; }
@keyframes warp {
  0% { opacity: 0; }
  60% { opacity: .35; }
  100% { opacity: 1; }
}

/* ---------- Écrans étroits ---------- */

@media (max-width: 1039px) {
  .portals { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
}

@media (min-width: 680px) and (max-width: 1039px) {
  .card { flex-direction: row; }
  .art { width: 40%; height: auto; min-height: 300px; flex: none; border-bottom: 0; border-right: 1px solid var(--line); }
  .art-staff img, .art-sasp .badge, .art-staff .ring, .art-sasp .radar { top: 50%; }
  .art-weazel .wz-logo { top: calc(50% - 80px); }
  .card kbd { left: 14px; right: auto; }
  .art-weazel .live { top: auto; bottom: 46px; }
}

@media (max-width: 720px) {
  .clock { display: none; }
  .emblem { width: 190px; height: 190px; }
  .emblem .logo { width: 176px; height: 176px; }
  .card kbd, .hint { display: none; }
  .art { height: 190px; }
  .body { padding: 20px; }
}

@media (hover: none) {
  .card kbd, .hint { display: none; }
}
