:root {
  --night: #081730;
  --night2: #14315c;
  --red: #cf2334;
  --red-d: #8e0f1c;
  --gold: #f8c95a;
  --cream: #fff6e6;
  --green: #1f7a4d;
  --ink: #2a1b1b;
  --title: "Mountains of Christmas", "Segoe Script", cursive;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--cream);
  background: linear-gradient(180deg, var(--night) 0%, var(--night2) 70%, #2a5a94 100%) fixed;
  overflow-x: hidden;
}
[hidden] { display: none !important; }

/* ---------- Décor ---------- */
.stars {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 18%, #fff, transparent 60%),
    radial-gradient(1px 1px at 22% 42%, #fff, transparent 60%),
    radial-gradient(2px 2px at 37% 12%, #ffe9a8, transparent 60%),
    radial-gradient(1px 1px at 51% 30%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 66% 9%, #fff, transparent 60%),
    radial-gradient(1px 1px at 78% 36%, #fff, transparent 60%),
    radial-gradient(2px 2px at 91% 20%, #ffe9a8, transparent 60%),
    radial-gradient(1px 1px at 14% 62%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 84% 58%, #fff, transparent 60%),
    radial-gradient(1px 1px at 45% 55%, #fff, transparent 60%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }

.moon {
  position: fixed; top: 70px; right: 7vw; width: 86px; height: 86px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 35% 35%, #fffbe6, #f6e3a1 70%);
  box-shadow: 0 0 60px 18px rgba(255, 236, 170, .28);
}

.sleigh {
  position: fixed; top: 96px; left: 0; z-index: 1; pointer-events: none;
  font-size: 34px; white-space: nowrap; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35));
  animation: fly 26s linear infinite;
}
.sleigh span { display: inline-block; animation: bob 1.1s ease-in-out infinite alternate; }
.sleigh span:nth-child(2) { animation-delay: .2s; }
.sleigh span:nth-child(3) { animation-delay: .4s; }
.sleigh .santa { font-size: 40px; margin-left: 6px; animation-delay: .6s; }
@keyframes fly {
  0%   { transform: translate(105vw, 40px) rotate(-4deg); }
  45%  { transform: translate(-40vw, -30px) rotate(-4deg); }
  100% { transform: translate(-40vw, -30px) rotate(-4deg); }
}
@keyframes bob { from { transform: translateY(-4px); } to { transform: translateY(4px); } }

.hills { position: fixed; left: 0; bottom: 0; width: 100%; height: 190px; z-index: 0; pointer-events: none; }
.village {
  position: fixed; left: 0; right: 0; bottom: 34px; z-index: 0; pointer-events: none;
  display: flex; justify-content: space-around; align-items: flex-end; font-size: 44px;
}
.village span:nth-child(odd) { font-size: 58px; transform: translateY(-14px); }
.village span:nth-child(2) { animation: wobble 3s ease-in-out infinite; transform-origin: bottom center; }
@keyframes wobble { 0%,100% { rotate: -6deg; } 50% { rotate: 6deg; } }

#snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 50; pointer-events: none; }

.garland {
  position: fixed; top: 0; left: 0; right: 0; height: 46px; z-index: 20; pointer-events: none;
  display: flex; justify-content: space-around; align-items: flex-start;
  border-top: 4px solid #0e3a25;
}
.bulb {
  --c: #ff4d5e;
  width: 14px; height: 20px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--c); position: relative;
  box-shadow: 0 0 14px 4px var(--c);
  animation: blink 1.6s ease-in-out infinite;
}
.bulb::before { content: ""; position: absolute; top: -6px; left: 4px; width: 6px; height: 7px; background: #0e3a25; border-radius: 2px; }
@keyframes blink { 0%, 100% { opacity: 1; filter: brightness(1.2); } 50% { opacity: .35; filter: brightness(.7); } }

/* ---------- Contenu ---------- */
main { position: relative; z-index: 5; max-width: 1040px; margin: 0 auto; padding: 70px 18px 230px; }

.hero { text-align: center; }
.kicker {
  display: inline-block; margin: 0; padding: 6px 16px; border-radius: 99px;
  background: var(--red); color: #fff; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px;
  box-shadow: 0 4px 0 var(--red-d);
}
h1 {
  font-family: var(--title); font-size: clamp(54px, 11vw, 112px); line-height: 1; margin: 14px 0 4px;
  text-shadow: 0 4px 0 rgba(0,0,0,.25), 0 0 34px rgba(255,255,255,.25); text-wrap: balance;
}
.gold {
  background: linear-gradient(100deg, #f8c95a 20%, #fff3c4 40%, #f8c95a 60%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 3.5s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
.subtitle { font-family: var(--title); font-size: clamp(22px, 4vw, 32px); margin: 0 0 22px; }
.hat { display: inline-block; animation: swing 2.2s ease-in-out infinite; }
.hat:last-child { animation-delay: .5s; }
@keyframes swing { 0%,100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }

.countdown { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.tile {
  min-width: 78px; padding: 10px 8px 8px; border-radius: 14px; text-align: center;
  background: var(--cream); color: var(--red-d);
  box-shadow: 0 5px 0 #e2c9a0, 0 12px 22px rgba(0,0,0,.3);
}
.tile b { display: block; font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tile span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: #9b7a52; }
.countdown .done { font-family: var(--title); font-size: 34px; color: var(--gold); }

/* Écran de tirage : en-tête compact pour que la carte soit visible tout de suite */
.playing main { padding-top: 56px; }
.playing h1 { font-size: clamp(38px, 6vw, 56px); margin-top: 8px; }
.playing .kicker, .playing .subtitle, .playing .countdown { display: none; }
.playing .topbar { margin-top: 8px; }

h2 { font-family: var(--title); font-size: 34px; margin: 0 0 14px; text-wrap: balance; }
.section-title { text-align: center; margin-top: 46px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; margin: 34px 0 22px; }
.steps li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(4px);
  font-weight: 600; line-height: 1.3;
}
.steps b {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--red-d); font-size: 18px;
}

.panel {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
  border-radius: 24px; padding: 24px 22px; text-align: center;
}
.hint { font-size: 13.5px; opacity: .8; margin: 16px 0 0; }
.hint.small { font-size: 12px; margin: 8px 12px 12px; color: #7a6652; opacity: 1; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.person {
  font: inherit; color: var(--ink); cursor: pointer; border: 0; border-radius: 18px; padding: 16px 8px 12px;
  background: var(--cream); box-shadow: 0 5px 0 #e2c9a0;
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 800;
  transition: transform .15s, box-shadow .15s;
  animation: pop .5s backwards cubic-bezier(.2, 1.4, .4, 1);
}
.person:hover, .person:focus-visible { transform: translateY(-5px) rotate(-2deg); box-shadow: 0 10px 0 #e2c9a0, 0 0 0 3px var(--gold); outline: none; }
.person:active { transform: translateY(2px); box-shadow: 0 2px 0 #e2c9a0; }
.person .done { font-size: 11px; font-weight: 600; color: var(--green); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

.avatar {
  --c: var(--red); --s: 64px; position: relative;
  width: var(--s); height: var(--s); border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--c); color: #fff;
  font-weight: 800; font-size: calc(var(--s) * .38); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.25);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar::after { content: "🎅"; position: absolute; top: -30%; left: -22%; font-size: calc(var(--s) * .42); transform: rotate(-22deg); }
.avatar.mystery::after { content: none; }

.polaroids { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 14px; }
.polaroid {
  width: 190px; margin: 0; padding: 10px 10px 8px; background: #fff; color: var(--ink); border-radius: 4px;
  box-shadow: 0 10px 22px rgba(0,0,0,.4); transform: rotate(var(--r)); transition: transform .25s; position: relative;
}
.polaroid::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 22px; translate: -50% 0; rotate: -3deg;
  background: rgba(248, 201, 90, .75);
}
.polaroid:hover { transform: rotate(0) scale(1.12); z-index: 2; }
.polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { font-family: var(--title); font-size: 20px; text-align: center; padding-top: 6px; }

/* ---------- Tirage ---------- */
.topbar { display: flex; justify-content: space-between; align-items: center; margin: 30px 0 10px; gap: 10px; }
.ghost {
  font: inherit; font-weight: 700; color: var(--cream); cursor: pointer; padding: 8px 14px; border-radius: 99px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
}
.ghost:hover { background: rgba(255,255,255,.2); }
.me { display: flex; align-items: center; gap: 10px; font-weight: 800; padding: 5px 14px 5px 6px; border-radius: 99px; background: rgba(8,23,48,.72); border: 1px solid rgba(255,255,255,.25); }
.me .avatar { --s: 40px; }

.stage { display: grid; gap: 26px; justify-items: center; }
.stage.revealed { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: start; justify-items: stretch; }
@media (max-width: 860px) { .stage.revealed { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; } }

.draw { text-align: center; width: 100%; max-width: 380px; margin: 0 auto; }
.lead { margin: 0 0 20px; font-size: 17px; opacity: .92; }

.card-wrap { position: relative; width: min(330px, 84vw); margin: 0 auto; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
.card-wrap.open { animation: tada .9s; }
@keyframes tada {
  0% { transform: scale(1); } 15% { transform: scale(.92) rotate(-4deg); }
  40%, 70% { transform: scale(1.1) rotate(4deg); } 55% { transform: scale(1.1) rotate(-4deg); } 100% { transform: scale(1); }
}
.card {
  position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #fffdf6, #fbe9c6);
  box-shadow: 0 0 0 5px var(--gold), 0 18px 40px rgba(0,0,0,.45);
  color: var(--ink);
}
.card-wrap.open .card { box-shadow: 0 0 0 5px var(--gold), 0 0 60px 12px rgba(248,201,90,.6), 0 18px 40px rgba(0,0,0,.45); }
.card-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; }
.card-in .avatar { --s: 150px; border-width: 5px; margin-top: 26px; }
.card-pre { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: #9b7a52; }
.card-name { margin: 6px 0 0; font-family: var(--title); font-size: 46px; line-height: 1; color: var(--red); }
.card-post { margin: 0; font-size: 14px; font-weight: 600; color: #7a6652; }
#scratch {
  position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; transition: opacity .8s;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='16' fill='%23f8c95a' stroke='%23a8771a' stroke-width='3'/%3E%3Ctext x='20' y='26' font-size='16' text-anchor='middle' fill='%23a8771a' font-family='Arial' font-weight='bold'%3E%E2%82%AC%3C/text%3E%3C/svg%3E") 20 20, crosshair;
}
#scratch.gone { opacity: 0; pointer-events: none; }
.bow { position: absolute; top: -34px; left: 50%; translate: -50% 0; font-size: 62px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); transition: transform .6s, opacity .6s; pointer-events: none; }
.card-wrap.open .bow { transform: translateY(-80px) rotate(40deg) scale(.4); opacity: 0; }

.spark { position: absolute; z-index: 3; pointer-events: none; font-size: 16px; animation: spark .7s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) rotate(180deg) scale(.3); opacity: 0; } }

.progress {
  width: min(260px, 70vw); height: 14px; margin: 26px auto 0; border-radius: 99px; overflow: hidden;
  background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.5);
}
.progress i {
  display: block; height: 100%; width: 0; border-radius: 99px; transition: width .25s;
  background: repeating-linear-gradient(45deg, #fff 0 9px, var(--red) 9px 18px);
}
.rules { font-size: 14px; opacity: .85; margin: 18px 0 0; line-height: 1.5; }

/* ---------- Chat ---------- */
.chat {
  background: var(--cream); color: var(--ink); border-radius: 24px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.4); display: flex; flex-direction: column; min-height: 520px;
  animation: slide .6s .3s backwards cubic-bezier(.2, 1, .3, 1);
}
@keyframes slide { from { transform: translateY(40px); opacity: 0; } }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f1dfbd; }
.tabs button {
  font: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; border: 0; padding: 14px 8px; color: #7a6652;
  background: transparent; border-bottom: 4px solid transparent; line-height: 1.25;
}
.tabs button.on { background: var(--cream); color: var(--red); border-bottom-color: var(--red); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-left: 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: 12px; }

.thread-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px dashed #e2c9a0; }
.thread-head .avatar { --s: 48px; }
.thread-head .avatar.mystery { background: var(--red); font-size: 26px; }
.thread-head b { display: block; font-size: 16px; }
.thread-head small { color: #7a6652; }

.messages { flex: 1; padding: 16px 18px; overflow-y: auto; max-height: 340px; min-height: 220px; display: flex; flex-direction: column; gap: 8px; }
.notice { align-self: center; text-align: center; font-size: 13px; color: #7a6652; background: #f6e7c8; padding: 8px 14px; border-radius: 12px; max-width: 90%; }
.msg { max-width: 78%; padding: 9px 14px; border-radius: 18px; line-height: 1.4; overflow-wrap: anywhere; animation: pop .3s backwards; }
.msg small { display: block; font-size: 10.5px; opacity: .65; margin-top: 2px; }
.msg.mine { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 5px; }
.msg.theirs { align-self: flex-start; background: #fff; border: 1px solid #ecd9b4; border-bottom-left-radius: 5px; }

.chips { display: flex; gap: 8px; padding: 0 18px 10px; flex-wrap: wrap; }
.chips button {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 12px; border-radius: 99px;
  background: #fff; color: var(--green); border: 1.5px solid var(--green);
}
.chips button:hover { background: var(--green); color: #fff; }

#form { display: flex; gap: 8px; padding: 0 18px 4px; }
#input { flex: 1; min-width: 0; font: inherit; padding: 12px 16px; border-radius: 99px; border: 2px solid #e2c9a0; background: #fff; color: var(--ink); }
#input:focus { outline: none; border-color: var(--red); }
#form button {
  flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; font-size: 20px;
  background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-d);
}
#form button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-d); }

footer { text-align: center; margin-top: 50px; font-size: 13px; opacity: .85; }
.link { font: inherit; color: var(--gold); background: none; border: 0; cursor: pointer; text-decoration: underline; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Mini-jeu : les échecs de Noël ---------- */
.btn {
  font: inherit; font-weight: 800; cursor: pointer; padding: 10px 18px; border-radius: 99px;
  background: #fff; color: var(--red-d); border: 2px solid #e2c9a0; box-shadow: 0 4px 0 #e2c9a0;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #e2c9a0; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.primary { background: var(--red); color: #fff; border-color: var(--red-d); box-shadow: 0 4px 0 var(--red-d); }
.play-btn { margin-top: 20px; animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { rotate: 0deg; } 85% { rotate: -4deg; } 90% { rotate: 4deg; } 95% { rotate: -3deg; } }

.modal-open { overflow: hidden; }
.chess-overlay {
  position: fixed; inset: 0; z-index: 40; display: none; place-items: safe center; padding: 10px;
  background: rgba(4, 12, 28, .78); backdrop-filter: blur(5px); overflow-y: auto;
}
.chess-overlay.open { display: grid; }
.chess-box {
  --sq: min(11vw, 6.5vh, 62px);
  position: relative; background: var(--cream); color: var(--ink); border-radius: 24px; padding: 18px 18px 14px;
  box-shadow: 0 0 0 5px var(--gold), 0 24px 60px rgba(0,0,0,.6); max-width: 96vw;
  animation: pop .45s cubic-bezier(.2, 1.4, .4, 1);
}
.chess-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 20px; cursor: pointer; color: #9b7a52; padding: 6px; z-index: 2; }
.chess-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

.chess-intro { text-align: center; max-width: 440px; padding: 10px 8px; }
.chess-intro h2 { color: var(--red); margin: 6px 0 8px; }
.intro-line { font-size: 17px; line-height: 1.5; font-style: italic; margin: 0 0 14px; }
.santa-big { font-size: 84px; line-height: 1; position: relative; display: inline-block; animation: grumble 1.2s ease-in-out infinite; }
.santa-big i { position: absolute; right: -14px; bottom: -4px; font-size: 38px; font-style: normal; }
@keyframes grumble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-3px); } }

.legend { display: flex; flex-wrap: wrap; gap: 6px 8px; justify-content: center; font-size: 13.5px; font-weight: 700; color: #7a6652; }
.legend span { background: #f6e7c8; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.legend.small { margin-top: 12px; font-size: 12px; max-width: calc(var(--sq) * 8); }

.chess-game { width: calc(var(--sq) * 8); }
.santa-row { display: flex; align-items: center; gap: 10px; min-height: 78px; margin: 0 22px 6px 0; }
.santa-face { font-size: 46px; line-height: 1; position: relative; flex: none; }
.santa-face i { position: absolute; right: -10px; bottom: -6px; font-size: 24px; font-style: normal; }
.bubble {
  position: relative; background: #fff; border: 2px solid #e2c9a0; border-radius: 16px; padding: 9px 13px;
  font-weight: 600; font-size: 14.5px; line-height: 1.35; flex: 1;
}
.bubble::before { content: ""; position: absolute; left: -9px; top: 50%; width: 14px; height: 14px; translate: 0 -50%; rotate: 45deg; background: #fff; border-left: 2px solid #e2c9a0; border-bottom: 2px solid #e2c9a0; }
.bubble.pop { animation: pop .35s cubic-bezier(.2, 1.5, .4, 1); }

.caps { min-height: 22px; font-size: 16px; letter-spacing: 1px; line-height: 22px; }
.caps-you { text-align: right; }
.board {
  display: grid; grid-template-columns: repeat(8, var(--sq)); grid-template-rows: repeat(8, var(--sq));
  border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 4px var(--green), 0 8px 18px rgba(0,0,0,.3); margin: 4px 0;
}
.sq { position: relative; border: 0; padding: 0; margin: 0; display: grid; place-items: center; cursor: pointer; font: inherit; }
.sq.light { background: #eef6fd; }
.sq.dark { background: #86b5d9; }
.sq.last { box-shadow: inset 0 0 0 100px rgba(248, 201, 90, .45); }
.sq.sel { box-shadow: inset 0 0 0 100px rgba(31, 122, 77, .45); }
.sq.check { box-shadow: inset 0 0 0 100px rgba(207, 35, 52, .6); }
.sq.dot::after { content: ""; width: 30%; height: 30%; border-radius: 50%; background: rgba(31, 122, 77, .6); }
.sq.take::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; border: 4px solid rgba(207, 35, 52, .85); }

.pc {
  width: 84%; height: 84%; border-radius: 50%; display: grid; place-items: center; position: relative;
  font-size: calc(var(--sq) * .5); line-height: 1; pointer-events: none;
  box-shadow: 0 3px 4px rgba(0,0,0,.3);
}
.pc.you { background: #fff; border: 3px solid var(--gold); }
.pc.santa { background: #2b1418; border: 3px solid var(--red); }
.pc img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pc .crown { position: absolute; top: -38%; left: 50%; translate: -50% 0; font-size: calc(var(--sq) * .34); font-style: normal; }
.pc.moved { animation: pop .3s cubic-bezier(.2, 1.5, .4, 1); }
.chess-status { text-align: center; font-weight: 800; margin: 8px 0 0; color: var(--red-d); min-height: 22px; }

/* message d'accueil sans lien personnel */
.people .invite { grid-column: 1 / -1; margin: 6px 0 4px; text-align: center; font-size: 18px; font-weight: 700; }
.topbar { justify-content: flex-end; }
