/* ============================================================
   RÉGLAGES FACILES : couleurs du site
   ============================================================ */
:root {
  color-scheme: light;
  --ink: #16131f;
  --ink-soft: #3b3650;
  --paper: #fffaf0;
  --card: #ffffff;
  --muted: #5e5872;
  --sky-1: #4cc3ff;
  --sky-2: #a9e8ff;
  --grass-1: #6fd83c;
  --grass-2: #3fae1f;
  --grass-3: #2a8a14;
  --gold-1: #ffd84a;
  --gold-2: #ffa91f;
  --blue-1: #5aa9ff;
  --blue-2: #2f6fe0;
  --purple-1: #b07bff;
  --purple-2: #7a3fe0;
  --red-1: #ff6b6b;
  --red-2: #e03a3a;
  --chat-1: #7b8bff;
  --chat-2: #4f5bdb;
  --radius: 18px;
  --shadow: 0 6px 0 var(--ink);
  --line: 3px solid var(--ink);
  --o: 2.5px;
  --outline:
    var(--o) 0 0 var(--ink), calc(-1 * var(--o)) 0 0 var(--ink),
    0 var(--o) 0 var(--ink), 0 calc(-1 * var(--o)) 0 var(--ink),
    var(--o) var(--o) 0 var(--ink), calc(-1 * var(--o)) var(--o) 0 var(--ink),
    var(--o) calc(-1 * var(--o)) 0 var(--ink), calc(-1 * var(--o)) calc(-1 * var(--o)) 0 var(--ink),
    2px 1px 0 var(--ink), -2px 1px 0 var(--ink), 1px 2px 0 var(--ink), -1px 2px 0 var(--ink),
    2px -1px 0 var(--ink), -2px -1px 0 var(--ink), 1px -2px 0 var(--ink), -1px -2px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-2); font-weight: 800; }
h1, h2, h3, .fredoka { font-family: 'Fredoka', system-ui, sans-serif; line-height: 1.1; margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.outline { color: #fff; text-shadow: var(--outline); }
section { scroll-margin-top: 96px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons façon « jeu » ---------- */
.btn {
  --b1: var(--grass-1); --b2: var(--grass-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border: var(--line); border-radius: 16px;
  background: linear-gradient(180deg, var(--b1), var(--b2));
  box-shadow: var(--shadow), inset 0 3px 0 rgba(255,255,255,.45), inset 0 -4px 0 rgba(0,0,0,.14);
  color: #fff; text-decoration: none; text-shadow: var(--outline);
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 19px; letter-spacing: .3px;
  cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s;
}
.btn svg { width: 22px; height: 22px; flex: none; filter: drop-shadow(0 2px 0 var(--ink)); }
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 9px 0 var(--ink), inset 0 3px 0 rgba(255,255,255,.45), inset 0 -4px 0 rgba(0,0,0,.14); filter: saturate(1.1); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink), inset 0 3px 0 rgba(255,255,255,.45); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 4px solid var(--gold-1); outline-offset: 3px; }
.btn.chat { --b1: var(--chat-1); --b2: var(--chat-2); }
.btn.shop { --b1: var(--gold-1); --b2: var(--gold-2); }
.btn.blue { --b1: var(--blue-1); --b2: var(--blue-2); }
.btn.purple { --b1: var(--purple-1); --b2: var(--purple-2); }
.btn.sm { padding: 8px 14px; font-size: 16px; border-radius: 13px; box-shadow: 0 4px 0 var(--ink), inset 0 2px 0 rgba(255,255,255,.45); }
.btn.sm:hover { box-shadow: 0 6px 0 var(--ink), inset 0 2px 0 rgba(255,255,255,.45); }
.btn[aria-disabled="true"] { --b1: #c9c5d6; --b2: #9d98b0; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: var(--shadow); }
.btn.sm[aria-disabled="true"]:hover { box-shadow: 0 4px 0 var(--ink); }

/* ---------- Barre du haut ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: var(--line);
  box-shadow: 0 4px 0 rgba(22,19,31,.12);
}
.top-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-badge {
  width: 52px; height: 52px; display: block; flex: none;
  transform: rotate(-6deg); transition: transform .2s cubic-bezier(.2,1.4,.4,1);
}
.brand-badge img { width: 100%; height: 100%; display: block; }
.brand:hover .brand-badge { transform: rotate(4deg) scale(1.08); }
.brand-name { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 25px; color: #fff; text-shadow: var(--outline); letter-spacing: .5px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; color: var(--ink); font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 16px;
  padding: 8px 11px; border-radius: 12px; border: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { background: #f1ecff; border-color: var(--ink); }
.nav a.on { background: var(--gold-1); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
/* La boutique, une catégorie à part : toujours colorée dans le menu */
.nav a.nav-shop { background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); color: #fff; text-shadow: var(--outline); --o: 1.5px; margin: 0 4px; }
.nav a.nav-shop:hover { filter: brightness(1.06); transform: translateY(-1px); }
.nav a.nav-shop.on { box-shadow: 0 3px 0 var(--ink), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.top-cta { display: flex; align-items: center; gap: 10px; flex: none; }
/* Boutique et Postuler : deux vrais boutons à droite de « Jouer » */
.top-cta .top-link { padding-inline: 16px; }
.top-cta .top-link.on { box-shadow: 0 4px 0 var(--ink), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
/* Sur téléphone, ils passent dans le menu (sinon la barre déborde) */
.nav a.nav-extra { display: none; }
/* Bouton à trois traits (téléphone seulement) */
.nav-toggle {
  display: none; width: 46px; height: 42px; padding: 0; flex: none; cursor: pointer;
  border: var(--line); border-radius: 12px; background: #fff; box-shadow: 0 3px 0 var(--ink); position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 2px; background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle span { top: 50%; margin-top: -1.5px; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; left: 0; margin-left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.top.open .nav-toggle span { background: transparent; }
.top.open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.top.open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 78%);
  padding: 64px 0 150px;
  border-bottom: var(--line);
}
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .9; filter: drop-shadow(0 5px 0 rgba(22,19,31,.12)); animation: drift 60s linear infinite; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 55%; height: 170%; left: 14%; bottom: 20%; }
.cloud::after { width: 38%; height: 130%; right: 14%; bottom: 25%; }
.c1 { width: 170px; height: 44px; top: 70px; left: -200px; }
.c2 { width: 120px; height: 34px; top: 190px; left: -200px; animation-duration: 85s; animation-delay: -40s; }
.c3 { width: 210px; height: 52px; top: 30px; left: -260px; animation-duration: 110s; animation-delay: -70s; }
@keyframes drift { to { transform: translateX(calc(100vw + 400px)); } }

.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-tag {
  display: inline-block; padding: 6px 14px; margin-bottom: 18px;
  background: var(--red-1); border: var(--line); border-radius: 999px; box-shadow: 0 4px 0 var(--ink);
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 15px; color: #fff; text-shadow: var(--outline);
  transform: rotate(-3deg);
}
.hero h1 { font-size: clamp(50px, 8.4vw, 98px); font-weight: 700; letter-spacing: 1px; --o: 4px;  line-height: .98; }
.hero h1 .l2 { display: block; color: var(--gold-1); }
.hero-sub { font-size: 20px; font-weight: 700; max-width: 34ch; margin: 20px 0 28px; color: var(--ink); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 16px; font-weight: 800; font-size: 15px; color: var(--ink-soft); }

.shot-frame {
  position: relative; border: 4px solid var(--ink); border-radius: 22px; overflow: hidden;
  box-shadow: 0 10px 0 var(--ink); transform: rotate(2deg); background: var(--ink);
}
.shot-frame img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.sticker {
  position: absolute; z-index: 2;
  padding: 8px 14px; border: var(--line); border-radius: 14px; box-shadow: 0 5px 0 var(--ink);
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; color: #fff; text-shadow: var(--outline); font-size: 19px;
  animation: bob 3.2s ease-in-out infinite;
}
.st1 { top: -18px; left: -14px; background: linear-gradient(180deg, var(--grass-1), var(--grass-2)); transform: rotate(-8deg); }
.st2 { bottom: -16px; right: -8px; background: linear-gradient(180deg, var(--purple-1), var(--purple-2)); animation-delay: -1.5s; transform: rotate(6deg); }
.hero-art { position: relative; padding: 18px; }
@keyframes bob { 50% { translate: 0 -8px; } }

.floaty { position: absolute; font-size: 38px; filter: drop-shadow(0 4px 0 rgba(22,19,31,.35)); animation: bob 4s ease-in-out infinite; pointer-events: none; }

/* Sol façon plaque à picots */
.ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.35) 0 7px, transparent 8px) 0 0 / 34px 34px,
    radial-gradient(circle at 50% 55%, rgba(0,0,0,.14) 0 8px, transparent 9px) 0 0 / 34px 34px,
    linear-gradient(180deg, var(--grass-1), var(--grass-2));
  border-top: var(--line);
}

/* ---------- Bandeau de chiffres ---------- */
.stats { margin-top: -62px; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stat {
  background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 10px 12px; text-align: center;
}
.stat b { display: block; font-family: 'Fredoka', system-ui, sans-serif; font-size: 32px; font-weight: 700; color: #fff; text-shadow: var(--outline); }
.stat span { font-weight: 800; font-size: 14px; color: var(--muted); }
.stat:nth-child(1) b { color: var(--gold-1); }
.stat:nth-child(2) b { color: var(--grass-1); }
.stat:nth-child(3) b { color: var(--purple-1); }
.stat:nth-child(4) b { color: var(--blue-1); }
.stat:nth-child(5) b { color: var(--red-1); }
.stat:nth-child(6) b { color: #7ee0d0; }

/* ---------- Sections ---------- */
.sec { padding: 84px 0 12px; }
.sec-head { text-align: center; margin-bottom: 38px; }
.kicker {
  display: inline-block; padding: 5px 13px; margin-bottom: 12px;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
}
.sec h2 { font-size: clamp(36px, 5.2vw, 56px); font-weight: 700; color: #fff; text-shadow: var(--outline); --o: 3.5px; }
.sec-head p { max-width: 62ch; margin: 14px auto 0; color: var(--muted); font-weight: 700; }

.panel { background: var(--card); border: var(--line); border-radius: 22px; box-shadow: var(--shadow); }

/* Cartes de fonctionnalités */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 22px 22px 20px; position: relative; transition: transform .15s ease; }
.feat:hover { transform: translateY(-4px) rotate(-.6deg); }
.feat-ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 30px;
  border: var(--line); box-shadow: 0 4px 0 var(--ink); margin-bottom: 14px;
  background: linear-gradient(180deg, var(--c1, #fff3b0), var(--c2, #ffd84a));
}
.feat h3 { font-size: 23px; font-weight: 700; margin-bottom: 6px; }
.feat p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.feat .key { font-size: 13px; padding: 1px 7px; vertical-align: 2px; }

/* Villages */
.villages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.village { padding: 0 0 20px; overflow: hidden; text-align: center; }
.village-top {
  height: 118px; display: grid; place-items: center; font-size: 60px;
  border-bottom: var(--line); position: relative;
  background: linear-gradient(180deg, var(--v1), var(--v2));
}
.village-top::after { content: ''; position: absolute; inset: auto 0 0 0; height: 26px; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.3) 0 5px, transparent 6px) 0 0 / 24px 24px; }
.village-top span { filter: drop-shadow(0 5px 0 rgba(22,19,31,.35)); animation: bob 3.6s ease-in-out infinite; }
.village h3 { font-size: 27px; margin: 16px 0 6px; }
.village .lvl {
  display: inline-block; padding: 3px 12px; border: 2.5px solid var(--ink); border-radius: 999px;
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 15px; background: var(--gold-1); box-shadow: 0 3px 0 var(--ink);
}
.village p { margin: 12px 18px 0; color: var(--ink-soft); font-size: 16px; }

.crops { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.crop {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  background: #fff; border: var(--line); border-radius: 999px; box-shadow: 0 4px 0 var(--ink);
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 16px;
}
.crop i { font-style: normal; font-size: 24px; }
.crop.rare { background: linear-gradient(180deg, #fff6c9, #ffe27a); }

/* Œufs */
.eggs-wrap { padding: 30px 26px 26px; }
.eggs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.egg-card { text-align: center; }
.egg {
  width: 72px; height: 92px; margin: 0 auto 10px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  border: var(--line); box-shadow: 0 5px 0 var(--ink), inset -9px -10px 0 rgba(0,0,0,.14), inset 8px 10px 0 rgba(255,255,255,.45);
  background: rgb(var(--rgb));
  animation: wobble 2.8s ease-in-out infinite; transform-origin: 50% 90%;
}
.egg-card:nth-child(2n) .egg { animation-delay: -1.1s; }
.egg-card:nth-child(3n) .egg { animation-delay: -.5s; }
.egg.myth { background: linear-gradient(135deg, #ff69c8, #b07bff 35%, #5aa9ff 65%, #6fd83c); background-size: 300% 300%; animation: wobble 2.8s ease-in-out infinite, shimmer 4s linear infinite; }
@keyframes wobble { 0%, 70%, 100% { rotate: 0deg; } 76% { rotate: -9deg; } 84% { rotate: 8deg; } 92% { rotate: -4deg; } }
@keyframes shimmer { to { background-position: 300% 0; } }
.egg-card b { display: block; font-family: 'Fredoka', system-ui, sans-serif; font-size: 18px; color: #fff; text-shadow: var(--outline); --o: 2px; }
.egg-card small { font-weight: 800; color: var(--muted); font-size: 14px; }
.promise {
  margin-top: 24px; padding: 14px 18px; border: 2.5px dashed var(--ink); border-radius: 16px; background: #f3fff0;
  display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 16px;
}
.promise i { font-style: normal; font-size: 26px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-item {
  position: relative; border: var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  cursor: zoom-in; padding: 0; background: var(--ink); transition: transform .15s ease;
}
.g-item:hover { transform: translateY(-4px) rotate(.6deg); }
.g-item img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.g-item span {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 11px; border: 2.5px solid var(--ink); border-radius: 11px;
  background: #fff; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 15px; box-shadow: 0 3px 0 var(--ink);
}
dialog.lb { border: 4px solid var(--ink); border-radius: 22px; padding: 0; max-width: min(1100px, 94vw); background: var(--ink); box-shadow: 0 10px 0 rgba(0,0,0,.4); }
dialog.lb::backdrop { background: rgba(22,19,31,.78); }
dialog.lb img { width: 100%; }
dialog.lb p { margin: 0; padding: 12px 16px; color: #fff; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; }
.lb-close { position: absolute; top: 10px; right: 10px; }

/* Rejoindre */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { padding: 30px 22px 22px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -22px; left: 20px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  border: var(--line); box-shadow: 0 4px 0 var(--ink);
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 24px; color: #fff; text-shadow: var(--outline);
}
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { margin: 0 0 16px; color: var(--ink-soft); font-size: 16px; }
.step .must { display: inline-block; padding: 2px 9px; border-radius: 8px; background: var(--red-1); color: #fff; font-weight: 800; font-size: 13px; border: 2px solid var(--ink); }
.connect-box { display: flex; gap: 8px; align-items: stretch; }
.connect-box code {
  flex: 1; min-width: 0; padding: 9px 12px; border: 2.5px solid var(--ink); border-radius: 12px; background: #f4f2fa;
  font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Commandes */
.cmd-tools { display: flex; justify-content: center; margin-bottom: 26px; }
.search {
  width: min(460px, 100%); display: flex; align-items: center; gap: 10px; padding: 0 16px;
  background: #fff; border: var(--line); border-radius: 16px; box-shadow: 0 4px 0 var(--ink);
}
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 700 17px 'Nunito', system-ui, sans-serif; padding: 13px 0; color: var(--ink); }
.cmd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.cmd-col { padding: 20px; }
.cmd-col h3 { font-size: 24px; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.cmd-col > p { margin: 0 0 14px; color: var(--muted); font-size: 15px; font-weight: 700; }
.cmd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cmd {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center;
  padding: 9px 10px; border: 2px solid #e7e2f3; border-radius: 14px; background: #fcfbff;
}
.cmd:hover { border-color: var(--ink); background: #fffbe8; }
.cmd b { display: block; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 17px; }
.cmd small { color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.35; display: block; }
.key {
  display: inline-block; min-width: 40px; text-align: center; padding: 6px 10px;
  border: 2.5px solid var(--ink); border-radius: 10px; background: linear-gradient(180deg, #fff, #e6e2f2);
  box-shadow: 0 4px 0 var(--ink); font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 16px; color: var(--ink);
  justify-self: start;
}
.key.chatk { background: linear-gradient(180deg, #eef0ff, #d3d8ff); font-size: 15px; }
.cmd-empty { display: none; text-align: center; font-weight: 800; color: var(--muted); padding: 12px; }
.tip { margin-top: 18px; padding: 14px 18px; background: #eaf6ff; border: 2.5px solid var(--ink); border-radius: 16px; font-weight: 700; font-size: 15.5px; }

/* Règlement / CGU : volets */
.acc { display: grid; gap: 12px; }
.acc details { background: #fff; border: var(--line); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); overflow: hidden; }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 15px 18px;
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 20px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); font-size: 19px;
  background: linear-gradient(180deg, var(--c1, #cdeeff), var(--c2, #8fd3ff));
}
.acc summary::after {
  content: '+'; margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  border: 2.5px solid var(--ink); font-size: 22px; font-weight: 700; transition: transform .2s ease; background: #f4f2fa;
}
.acc details[open] summary::after { transform: rotate(45deg); background: var(--gold-1); }
.acc details[open] summary { border-bottom: 2.5px dashed #d9d3ea; }
.acc .body { padding: 14px 20px 18px 70px; color: var(--ink-soft); font-size: 16.5px; }
.acc .body p { margin: 0 0 10px; }
.acc .body ul { margin: 0 0 10px; padding-left: 20px; }
.acc .body li { margin: 4px 0; }
.acc .body p:last-child, .acc .body ul:last-child { margin-bottom: 0; }
.ok { color: var(--grass-3); font-weight: 800; }
.no { color: var(--red-2); font-weight: 800; }

.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.rung { padding: 14px 12px; text-align: center; border: var(--line); border-radius: 16px; box-shadow: 0 5px 0 var(--ink); background: linear-gradient(180deg, var(--c1), var(--c2)); }
.rung b { display: block; font-family: 'Fredoka', system-ui, sans-serif; font-size: 20px; color: #fff; text-shadow: var(--outline); --o: 2px; }
.rung span { font-size: 14px; font-weight: 800; color: var(--ink); }
.ladder-note { text-align: center; margin: 14px 0 0; font-weight: 700; font-size: 15px; color: var(--muted); }

.legal-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.legal-meta span { font-weight: 800; color: var(--muted); font-size: 15px; }

/* Nouveautés */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.new { padding: 20px; }
.new .tag { display: inline-block; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 13px; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--grass-1); color: #fff; text-shadow: var(--outline); --o: 1.5px; margin-bottom: 10px; }
.new h3 { font-size: 21px; margin-bottom: 6px; }
.new p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Appel final */
.cta-band {
  margin: 90px 0 0; padding: 50px 0 60px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--purple-1), var(--purple-2));
  border-top: var(--line); border-bottom: var(--line); text-align: center;
}
.cta-band h2 { font-size: clamp(34px, 5vw, 54px); color: #fff; text-shadow: var(--outline); --o: 3.5px; }
.cta-band p { color: #fff; font-weight: 800; font-size: 18px; margin: 12px 0 26px; }
.cta-band .hero-btns { justify-content: center; }

footer { background: var(--ink); color: #cfc9e2; padding: 40px 0 34px; font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
footer h4 { font-family: 'Fredoka', system-ui, sans-serif; color: #fff; font-size: 18px; margin: 0 0 10px; }
footer a { color: #fff; font-weight: 700; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid #3b3650; font-size: 13.5px; color: #a49dbd; }

/* Apparition au défilement (seulement si JavaScript tourne) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,1.4,.4,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Boutique ---------- */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tier { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tier-top { padding: 22px 24px 18px; border-bottom: var(--line); color: #fff; }
.tier.gold .tier-top { background: linear-gradient(180deg, #ffd84a, #f0a02a); }
.tier.legend .tier-top { background: linear-gradient(135deg, #b07bff, #7a3fe0 55%, #ff69c8); }
.tier-name { font-family: 'Fredoka', system-ui, sans-serif; font-size: 40px; font-weight: 700; text-shadow: var(--outline); --o: 3px; }
.tier-price { font-family: 'Fredoka', system-ui, sans-serif; font-size: 22px; font-weight: 700; text-shadow: var(--outline); --o: 2px; }
.tier-price b { font-size: 38px; }
.tier-flag {
  position: absolute; top: 18px; right: -44px; transform: rotate(35deg);
  background: var(--red-1); color: #fff; padding: 5px 50px; border: 3px solid var(--ink);
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 14px; text-shadow: var(--outline); --o: 1.5px;
}
.tier ul { list-style: none; margin: 0; padding: 18px 24px 8px; display: grid; gap: 10px; flex: 1; align-content: start; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 16.5px; }
.tier li i { font-style: normal; flex: none; width: 26px; text-align: center; }
.tier .buy, .item .buy { margin: 12px 24px 22px; }
.shop-sub { font-family: 'Fredoka', system-ui, sans-serif; text-align: center; font-size: 28px; margin: 44px 0 20px; }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.item { display: flex; flex-direction: column; text-align: center; padding-top: 22px; }
.item .item-ico { font-size: 46px; filter: drop-shadow(0 4px 0 rgba(22,19,31,.3)); }
.item h3 { font-size: 23px; margin: 8px 16px 4px; }
.item .item-price { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 30px; color: #fff; text-shadow: var(--outline); --o: 2.5px; }
.item .item-when { display: inline-block; margin: 4px auto 0; padding: 2px 10px; border-radius: 999px; background: #f1ecff; border: 2px solid var(--ink); font-weight: 800; font-size: 13px; }
.item p { margin: 12px 18px 0; color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.buy { justify-content: center; }
.shop-status {
  margin: 0 auto 24px; max-width: 760px; padding: 14px 18px; border: var(--line); border-radius: 16px;
  background: #fff8d6; font-weight: 800; box-shadow: 0 4px 0 var(--ink); text-align: center;
}
.shop-status.ok { background: #e6ffd9; }
.shop-status.err { background: #ffe1dc; }
.shop-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.shop-trust span { padding: 6px 12px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 800; font-size: 14px; }
.shop-legal { text-align: center; color: var(--muted); font-size: 14px; font-weight: 700; max-width: 760px; margin: 16px auto 0; }
@media (max-width: 820px) {
  .tiers, .items { grid-template-columns: 1fr; }
}

/* Le menu du haut se replie plus tôt que le reste de la page : il
   contient beaucoup de liens et le sélecteur de langue. */
.top-in { gap: 14px; }
.nav a { padding: 8px 9px; }
/* Discord et Jouer : juste l'icône, le nom reste lu par les lecteurs d'écran */
.top-cta .btn .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1160px) {
  .top-in { flex-wrap: wrap; gap: 10px; min-height: 0; padding: 10px 0; }
  .top-cta { margin-left: auto; }
  .nav-toggle { display: block; order: 2; }
  .nav {
    order: 3; width: 100%; margin: 0; padding: 4px 0 6px;
    display: none; flex-direction: column; gap: 6px;
  }
  .top.open .nav { display: flex; animation: menu-in .2s ease-out; }
  .nav a { padding: 11px 14px; font-size: 17px; border-color: #e7e2f3; background: #fcfbff; }
  .nav a.nav-shop { margin: 0; }
  section { scroll-margin-top: 124px; }
}
@media (max-width: 640px) {
  .top-cta .top-link { display: none; }
  .nav a.nav-extra { display: block; }
  .nav a.nav-extra:not(.nav-shop) {
    background: linear-gradient(180deg, var(--purple-1), var(--purple-2)); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink);
    color: #fff; text-shadow: var(--outline); --o: 1.5px;
  }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .eggs { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
}
/* ---------- Téléphone ---------- */
@media (max-width: 820px) {
  .brand-badge { width: 40px; height: 40px; }
  .brand-name { font-size: 22px; }
  .hero { padding: 40px 0 130px; }
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .hero-sub { font-size: 18px; }
  .villages, .steps, .news, .cmd-cols, .gallery { grid-template-columns: 1fr; }
  .steps { row-gap: 36px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .foot { grid-template-columns: 1fr; gap: 22px; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .btn { font-size: 17px; padding: 12px 16px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat b { font-size: 27px; }
  .feats { grid-template-columns: 1fr; }
  .eggs { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .acc summary { font-size: 17.5px; padding: 13px 14px; gap: 10px; }
  .acc summary .n { width: 32px; height: 32px; font-size: 16px; }
  .acc .body { padding: 12px 16px 16px; }
  .cmd { grid-template-columns: 78px 1fr; }
  .sticker { font-size: 16px; }
  .sec { padding-top: 66px; }
}

/* ---------- Page boutique ---------- */
.shop-hero {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  border-bottom: var(--line); padding: 46px 0 52px;
}
.shop-hero h1 { font-size: clamp(46px, 7vw, 80px); font-weight: 700; --o: 4px; margin: 4px 0 12px; }
.shop-hero p { max-width: 62ch; margin: 0 auto; font-weight: 700; font-size: 18px; }
.crumb { margin: 0 0 14px; font-weight: 800; font-size: 15px; }
.crumb a { color: var(--ink); }

/* Le comparatif Gold / Legend */
.compare { margin-top: 28px; padding: 6px 8px 8px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 460px; }
.compare caption { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 22px; padding: 12px 10px 8px; text-align: left; }
.compare th, .compare td { padding: 11px 12px; border-top: 2px solid #ece7f6; text-align: center; font-size: 16px; }
.compare th[scope="row"] { text-align: left; font-weight: 800; }
.compare thead th { border-top: 0; font-family: 'Fredoka', system-ui, sans-serif; font-size: 20px; color: #fff; text-shadow: var(--outline); --o: 2px; }
.compare thead th:first-child { color: var(--muted); text-shadow: none; font-size: 15px; text-align: left; }
.compare .c-gold { color: var(--gold-1); }
.compare .c-legend { color: var(--purple-1); }
.compare td b { color: var(--purple-2); }
.compare .no-x { color: #b9b3c9; }
.compare .price-row th, .compare .price-row td { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 18px; }

/* L'encart « Soutiens le serveur » de la page d'accueil */
.shop-teaser {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 24px 26px; background: linear-gradient(180deg, #fff8d6, #fff);
}
.shop-teaser .t-ico { font-size: 54px; filter: drop-shadow(0 4px 0 rgba(22,19,31,.3)); }
.shop-teaser h3 { font-size: 27px; margin-bottom: 4px; }
.shop-teaser p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 820px) {
  .shop-teaser { grid-template-columns: 1fr; text-align: center; }
}

/* Mentions légales */
.legal-box { padding: 24px 26px; }
.legal-box h3 { font-size: 21px; margin: 18px 0 6px; }
.legal-box h3:first-child { margin-top: 0; }
.legal-box p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- Sélecteur de langue ---------- */
.lang { position: relative; flex: none; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; height: 100%;
  padding: 7px 11px; border: var(--line); border-radius: 13px; background: #fff; box-shadow: 0 4px 0 var(--ink);
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 16px; user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: '▾'; font-size: 13px; }
.lang summary:hover { background: #f1ecff; }
.lang[open] summary { background: var(--gold-1); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 160px;
  display: grid; gap: 4px; padding: 6px;
  background: #fff; border: var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.lang-menu a {
  display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 16px;
}
.lang-menu a small { color: var(--muted); font-weight: 600; }
.lang-menu a:hover { background: #f1ecff; }
.lang-menu a[aria-current] { background: var(--gold-1); }

/* ---------- Page staff ---------- */
.staff-hero { background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); }
.hero-go { margin: 22px 0 0; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.expect { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.expect span { padding: 8px 14px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 0 3px 0 var(--ink); font-weight: 800; font-size: 15px; }

.staff-form { max-width: 900px; margin: 0 auto; padding: 30px 32px; }
.form-sec + .form-sec { margin-top: 12px; padding-top: 26px; border-top: 2.5px dashed #d9d3ea; }
.form-sec h3 { display: flex; align-items: center; gap: 12px; font-size: 25px; margin-bottom: 18px; }
.form-sec h3 .num {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); font-size: 20px; color: #fff; text-shadow: var(--outline); --o: 1.5px;
  background: linear-gradient(180deg, var(--purple-1), var(--purple-2));
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field-in { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field-in > span, .field legend { padding: 0; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 17px; }
.field legend { margin-bottom: 8px; }
.req { color: var(--red-2); }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border: 2.5px solid var(--ink); border-radius: 12px; background: #fcfbff;
  box-shadow: 0 3px 0 var(--ink); color: var(--ink); font: 700 16px 'Nunito', system-ui, sans-serif;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9a94ad; font-weight: 600; }
.field input:hover, .field textarea:hover { background: #fff; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--purple-2); box-shadow: 0 3px 0 var(--purple-2), 0 0 0 4px rgba(176,123,255,.28); }
/* Erreurs : seulement après que le joueur a touché le champ, ou essayé d'envoyer */
.field input:user-invalid, .field textarea:user-invalid,
.tried .field input:invalid, .tried .field textarea:invalid { border-color: var(--red-2); background: #fff5f3; box-shadow: 0 3px 0 var(--red-2); }
.field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field input[type="number"]::-webkit-inner-spin-button, .field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field small { color: var(--muted); font-weight: 700; font-size: 13.5px; line-height: 1.4; }
.field small.q { color: var(--ink-soft); font-size: 15px; padding: 8px 12px; border-left: 4px solid var(--purple-1); background: #f6f1ff; border-radius: 0 10px 10px 0; }
.field .count { align-self: flex-end; transition: color .15s; }
.field .count.low { color: var(--red-2); }
.field .count.full { color: var(--gold-2); }

/* Aide « Où trouver mon ID ? » */
.hint { margin-top: 2px; font-size: 14px; }
.hint summary { cursor: pointer; width: max-content; max-width: 100%; color: var(--blue-2); font-weight: 800; list-style: none; }
.hint summary::-webkit-details-marker { display: none; }
.hint summary::before { content: 'ⓘ '; }
.hint p { margin: 8px 0 0; padding: 10px 12px; border: 2px solid #e7e2f3; border-radius: 12px; background: #fcfbff; color: var(--ink-soft); font-weight: 700; line-height: 1.5; }

/* Les choix (cases et boutons radio en forme de pastilles) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 9px 16px;
  border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 0 3px 0 var(--ink);
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center;
  transition: background-color .15s ease, transform .12s ease, box-shadow .12s ease;
}
.chip span::before {
  content: ''; flex: none; width: 0; height: 16px; margin-right: -7px; overflow: hidden;
  border-radius: 50%; background: #fff; border: 0 solid var(--ink);
  transition: width .15s ease, margin .15s ease, border-width .15s ease;
}
.chip:hover span { background: #f1ecff; transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.chip input:active + span { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.chip input:checked + span { background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); }
/* Une coche apparaît dans la pastille choisie */
.chip input:checked + span::before {
  width: 16px; margin-right: 0; border-width: 2px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2316131f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.chip input:focus-visible + span { outline: 4px solid var(--purple-1); outline-offset: 3px; }
.tried .chips:has(input:invalid) .chip span { border-color: var(--red-2); }

/* Choix sur une ligne, cases de même largeur (remplace les listes déroulantes) */
.chips.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chips.seg .chip span { border-radius: 14px; padding: 12px 10px; min-height: 52px; }

/* La grille des disponibilités */
.days { display: grid; gap: 8px; margin-top: 4px; }
.day { display: grid; grid-template-columns: 132px repeat(3, 1fr); gap: 8px; align-items: center; padding: 6px; border-radius: 16px; transition: background-color .15s; }
.day:hover { background: #f8f5ff; }
.day-name {
  height: 100%; padding: 8px 10px; border: 2px dashed #cfc7e3; border-radius: 12px; background: transparent; cursor: pointer;
  font: 600 16px 'Fredoka', system-ui, sans-serif; color: var(--ink); text-align: left;
  transition: background-color .15s, border-color .15s;
}
.day-name:hover { border-color: var(--ink); background: #fff; }
.day-name[aria-pressed="true"] { border-style: solid; border-color: var(--ink); background: #fff8d6; }
.chip.slot span { border-radius: 12px; padding: 8px 8px; font-size: 15px; }
.chip.slot span i { font-style: normal; }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; padding: 14px 16px; border: 2.5px solid var(--ink); border-radius: 14px; background: #f3fff0; font-weight: 700; font-size: 16px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--purple-2); cursor: pointer; }
.tried .check:has(input:invalid) { border-color: var(--red-2); background: #fff5f3; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-end .btn:disabled { filter: grayscale(.6); cursor: wait; transform: none; }
.btn.loading::after { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-msg { margin: 0; padding: 10px 14px; border: 2.5px solid var(--ink); border-radius: 12px; background: #fff8d6; font-weight: 800; }
.form-msg.err { background: #ffe1dc; }
.form-legal { margin: 18px 0 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.staff-done { max-width: 720px; margin: 0 auto; padding: 34px 26px; text-align: center; animation: pop .45s cubic-bezier(.2,1.4,.4,1); }
.staff-done:focus { outline: none; }
.staff-done .big { font-size: 58px; line-height: 1; margin-bottom: 10px; }
.staff-done h3 { font-size: 30px; margin-bottom: 8px; }
.staff-done p { margin: 0 auto 18px; max-width: 52ch; color: var(--ink-soft); font-weight: 700; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

@media (max-width: 980px) {
  .roles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .form-grid { grid-template-columns: 1fr; }
  .staff-form { padding: 22px 16px; }
  .chips.seg { grid-template-columns: 1fr 1fr; }
  .day { grid-template-columns: repeat(3, 1fr); padding: 0 0 6px; }
  .day-name { grid-column: 1 / -1; padding: 6px 10px; }
}
@media (max-width: 480px) {
  .roles { grid-template-columns: 1fr; }
  .chip.slot span { font-size: 14px; padding: 8px 4px; gap: 4px; }
  .chip.slot input:checked + span::before { display: none; }
}
