@font-face { font-family: "Alegreya"; src: url(/fonts/alegreya.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url(/fonts/alegreya-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(/fonts/alegreya-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(/fonts/alegreya-sans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(/fonts/alegreya-sans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* Moonlit moss: the palette of a forest at night, lit only by the moon and lichen. */
:root {
  --nuit: #10241d;      /* night moss, the ground of everything */
  --ecorce: #183027;    /* bark, panels */
  --ecorce-2: #21402f;  /* raised bark */
  --lune: #e6ece4;      /* moonlight, primary text */
  --brume: #9db3a7;     /* mist, secondary text */
  --lichen: #c9da8f;    /* lichen glow: runes, focus, actions */
  --ambre: #eaa95a;     /* ember: warnings, the last minutes */
  --serif: "Alegreya", "Iowan Old Style", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --r-small: 6px;
  --r-big: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-variant-numeric: lining-nums; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(201, 218, 143, 0.07), transparent 60%),
    radial-gradient(900px 600px at 110% 120%, rgba(110, 160, 150, 0.08), transparent 60%),
    var(--nuit);
  color: var(--lune);
  font: 400 18px/1.55 var(--serif);
}
body.offline::before {
  content: "Connexion perdue. Reconnexion en cours...";
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--ambre); color: var(--nuit);
  font: 500 15px/1 var(--sans); text-align: center; padding: 10px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.4em; text-wrap: balance; }
p { margin: 0 0 0.9em; max-width: 68ch; }
a { color: var(--lichen); }
button, input, .button { font: 500 16px/1.2 var(--sans); }
button, .button {
  appearance: none; cursor: pointer;
  border: 1px solid rgba(230, 236, 228, 0.35); background: transparent; color: var(--lune);
  padding: 12px 18px; border-radius: 999px; text-decoration: none; display: inline-block;
  min-height: 46px;
}
button:hover, .button:hover { border-color: var(--lune); }
button.primary, .button.primary { background: var(--lichen); border-color: var(--lichen); color: var(--nuit); font-weight: 700; }
button.primary:hover { background: #d9e8a6; }
button.big { font-size: 18px; padding: 16px 28px; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.linkish { border: 0; padding: 0; min-height: 0; color: var(--lichen); text-decoration: underline; font-weight: 400; border-radius: 0; }
:focus-visible { outline: 3px solid var(--lichen); outline-offset: 3px; }
input {
  background: var(--nuit); color: var(--lune);
  border: 1px solid rgba(230, 236, 228, 0.35); border-radius: var(--r-small);
  padding: 12px 14px; min-height: 46px; min-width: 0;
}
input:focus { border-color: var(--lichen); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row.center { justify-content: center; }
.fine { font: 400 15px/1.45 var(--sans); color: var(--brume); }

/* ---------- moon ---------- */
.moon .moon-dark { fill: #1d3a33; }
.moon .moon-lit { fill: var(--lune); }
.moon .moon-rim { fill: none; stroke: rgba(230, 236, 228, 0.25); stroke-width: 1.2; }
.moon.big { filter: drop-shadow(0 0 28px rgba(230, 236, 228, 0.28)); }
.moon.glow { filter: drop-shadow(0 0 40px rgba(201, 218, 143, 0.55)); }
.low .moon .moon-lit { fill: var(--ambre); }

/* ---------- home, roles, lobby ---------- */
.home, .lobby, .roles-screen { max-width: 760px; margin: 0 auto; padding: 32px 22px 64px; }
.home { padding-top: 9vh; }
.home h1 { font-size: clamp(2.6rem, 8vw, 4.4rem); letter-spacing: -0.01em; margin-top: 18px; }
.home-moon, .lobby-moon { line-height: 0; }
.home-moon .moon { width: min(220px, 52vw); height: auto; }
.lede { font-size: 1.2rem; color: var(--lune); }
.home-actions { display: flex; gap: 28px; flex-wrap: wrap; align-items: end; margin: 28px 0 22px; }
.joinform label { display: block; font: 400 15px var(--sans); color: var(--brume); margin-bottom: 6px; }
.joinform input { width: 9.5ch; text-transform: uppercase; letter-spacing: 0.12em; }
.roomhead { display: flex; justify-content: space-between; gap: 12px; font: 500 15px var(--sans); color: var(--brume); margin-bottom: 26px; }
.prologue p { font-size: 1.12rem; font-style: italic; }
.choose { font-size: 2rem; margin-top: 18px; }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.role { padding: 22px; border-radius: var(--r-big); background: var(--ecorce); border: 1px solid rgba(230, 236, 228, 0.1); }
.role h2 { font-size: 1.9rem; }
.role.racine { border-bottom: 4px solid #8a6f4d; }
.role.etoile { border-bottom: 4px solid var(--lune); }
.role .taken { font: 500 15px var(--sans); color: var(--brume); }
.lobby h1 { font-size: 2.4rem; margin-top: 12px; }
.share, .rules { margin: 26px 0; padding: 20px 22px; background: var(--ecorce); border-radius: var(--r-big); }
.share h2, .rules h2 { font-size: 1.35rem; }
.share input { flex: 1 1 240px; font-size: 15px; }
.rules ul { margin: 0; padding-left: 1.1em; }
.rules li { margin: 0.3em 0; }

/* ---------- game layout ---------- */
.game {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "top top" "side panel";
  min-height: 100vh;
}
.topbar {
  grid-area: top; position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  padding: 10px 22px; background: rgba(16, 36, 29, 0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(230, 236, 228, 0.08);
  font: 500 15px var(--sans);
}
.brand { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.clock { display: none; align-items: center; gap: 8px; font: 700 18px var(--sans); font-variant-numeric: tabular-nums; }
.clock.low { color: var(--ambre); }
.who { display: flex; gap: 14px; color: var(--brume); flex-wrap: wrap; justify-content: end; }
.who b { color: var(--lune); }
.mate::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--lichen); vertical-align: 1px; }
.mate.off::before { background: var(--ambre); }

.side {
  grid-area: side; padding: 24px 18px 40px 22px; border-right: 1px solid rgba(230, 236, 228, 0.08);
  position: sticky; top: 45px; height: calc(100vh - 45px); overflow-y: auto; scrollbar-width: thin;
}
.lantern-dead { stroke: var(--brume); stroke-width: 3; stroke-linejoin: round; }
.lantern-dead .hair { stroke-width: 1.2; opacity: 0.6; fill: none; }
.lantern-dead .fill-dim { fill: #2d4a3f; stroke: none; }
.moon .moon-craters circle { fill: #c9d3cb; opacity: 0.45; }
.low .moon .moon-craters circle { fill: #b9803c; }
.moonclock { text-align: center; margin-bottom: 22px; }
.moonclock .mc-t { font: 700 2.4rem/1 var(--sans); font-variant-numeric: tabular-nums; margin-top: 12px; letter-spacing: 0.02em; }
.moonclock .mc-l { font: 400 14px/1.4 var(--sans); color: var(--brume); margin-top: 4px; }
.moonclock.low .mc-t { color: var(--ambre); }

.actgroup { margin-bottom: 18px; }
.actgroup h2 { font-size: 1.05rem; color: var(--brume); font-weight: 500; font-style: italic; }
.actn { font-style: normal; color: var(--lune); font-weight: 600; margin-right: 4px; }
.actgroup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pitem {
  width: 100%; text-align: left; border-radius: var(--r-small); border-color: transparent;
  display: grid; grid-template-columns: 1.8em 1fr; grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px;
  padding: 10px 12px; background: var(--ecorce);
}
.pitem .pn { grid-row: span 2; font: 600 1.15rem/1.2 var(--serif); color: var(--lichen); }
.pitem .pt { font: 600 1rem/1.25 var(--serif); }
.pitem .ps { font: 400 13px var(--sans); color: var(--brume); }
.pitem.sel { background: var(--ecorce-2); border-color: var(--lichen); }
.pitem.done .pn::after { content: " ✓"; font-size: 0.85em; }
.pitem.done .pt { color: var(--brume); }

.murmurs h2 { font-size: 1rem; color: var(--brume); font-weight: 500; font-style: italic; margin-top: 26px; }
.murmurs ol { list-style: none; padding: 0; margin: 0; font: 400 14px/1.4 var(--sans); color: var(--brume); }
.murmurs li { padding: 6px 0; border-top: 1px solid rgba(230, 236, 228, 0.07); }
.murmurs li.solved, .murmurs li.new { color: var(--lune); }
.murmurs li.wrong, .murmurs li.warn { color: var(--ambre); }
.murmurs time { font-variant-numeric: tabular-nums; opacity: 0.7; margin-right: 4px; }

.panel { grid-area: panel; padding: 28px clamp(18px, 4vw, 56px) 80px; min-width: 0; scroll-margin-top: 56px; }
.actintro { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(230, 236, 228, 0.1); }
.actintro h2 { font-size: 1.3rem; color: var(--lichen); font-weight: 500; font-style: italic; }
.actintro details { margin-top: 6px; font: 400 15px var(--sans); color: var(--brume); }
.actintro details p { font: italic 400 1rem/1.55 var(--serif); color: var(--lune); margin-top: 8px; }
.puzzle header { margin-bottom: 18px; }
.pnum { font: 500 15px var(--sans); color: var(--lichen); }
.puzzle h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 2px 0 6px; }
.lockline { font: 400 15px var(--sans); color: var(--brume); }
.view { margin-bottom: 22px; }
.view blockquote {
  margin: 0 0 1em; padding: 4px 0 4px 18px; border-left: 2px solid var(--lichen);
  font-style: italic; font-size: 1.08rem; max-width: 64ch;
}
.solvedtext { font-style: italic; font-size: 1.1rem; padding: 16px 20px; border-radius: var(--r-big); background: rgba(201, 218, 143, 0.1); border: 1px solid rgba(201, 218, 143, 0.35); max-width: 68ch; }

/* ---------- puzzle art ---------- */
.glyph { display: block; }
.ink { stroke: var(--lune); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.ink .fill { fill: var(--lune); stroke: none; }
.ink.thin { stroke-width: 1.5; }
.glyph-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 18px; }
.socket { width: 76px; height: 108px; display: grid; place-items: center; border-radius: 38px 38px 10px 10px; background: #0b1a15; border: 1px solid rgba(201, 218, 143, 0.35); }
.socket .glyph { width: 46px; height: 74px; }
.socket .ink { stroke: var(--lichen); }
.socket .ink .fill { fill: var(--lichen); }
.primer { display: grid; grid-template-columns: repeat(5, minmax(0, 72px)); gap: 10px; margin: 6px 0 16px; }
.primer figure, .alphabet figure, .leaf-tree figure, .atlas figure { margin: 0; text-align: center; }
.primer figure { background: var(--ecorce); border-radius: var(--r-small); padding: 8px 4px 4px; }
.primer .glyph { width: 34px; height: 54px; margin: 0 auto; }
figcaption { font: 600 15px var(--sans); color: var(--brume); margin-top: 4px; }
.leaf-tree { display: grid; grid-template-columns: repeat(4, minmax(0, 96px)); gap: 12px; margin: 8px 0 16px; }
.leaf-tree figure { background: var(--ecorce); border-radius: var(--r-big); padding: 10px 6px 8px; }
.leaf-tree figcaption { font: 700 20px var(--serif); color: var(--lune); }
.leafsvg { width: 60px; height: 80px; margin: 0 auto; }
.leaf { fill: #9fbf7a; stroke: #9fbf7a; }
.clasp .leaf { fill: #cfd6d2; stroke: #cfd6d2; }
.clasp-leaf { width: 76px; height: 100px; display: grid; place-items: center; background: #0b1a15; border-radius: var(--r-small); border: 1px solid rgba(230, 236, 228, 0.25); }
.scene { width: 100%; max-width: 720px; height: auto; display: block; border-radius: var(--r-big); background: radial-gradient(circle at 30% 20%, #1c3b46, #0b1a1f 75%); margin: 6px 0 14px; }
.scene.moths { background: radial-gradient(circle at 50% 50%, #26453a, #0d1d18 75%); }
.sky-faint circle { fill: rgba(230, 236, 228, 0.35); }
.const-lines line { stroke: rgba(230, 236, 228, 0.55); stroke-width: 1.4; }
.const-stars circle { fill: var(--lune); }
.moonpath { fill: none; stroke: rgba(201, 218, 143, 0.75); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.moon-small circle { fill: var(--lune); filter: drop-shadow(0 0 10px rgba(230, 236, 228, 0.7)); }
.atlas { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin: 6px 0 16px; }
.atlas figure { background: #0f2430; border-radius: var(--r-small); padding: 8px; }
.constsvg { width: 100%; height: auto; }
.atlas figcaption { color: var(--lune); font-family: var(--serif); font-size: 16px; }
.owls { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 6px 0 16px; }
.owl { margin: 0; padding: 16px; background: var(--ecorce); border-radius: var(--r-big) var(--r-big) var(--r-small) var(--r-small); }
.owl b { display: block; font: 600 1rem var(--serif); margin-bottom: 8px; }
.owl blockquote { margin: 0; padding: 0; border: 0; font-size: 1rem; }
.owl.moss { background: repeating-linear-gradient(135deg, #234531 0 8px, #1d3a2a 8px 16px); }
.owl.moss blockquote { color: var(--brume); }
.mapwrap { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; margin: 6px 0 16px; }
.mazemap { width: min(100%, 400px); height: auto; background: #2c2318; border-radius: var(--r-small); }
.maze-walls line { stroke: #e2cfa4; stroke-width: 5; stroke-linecap: round; }
.mazemap .ink { stroke: #e2cfa4; }
.mazemap .ink .fill { fill: #e2cfa4; }
.compass path { fill: #e2cfa4; }
.compass text { fill: #e2cfa4; font: 700 15px var(--sans); }
.legend { list-style: none; padding: 0; margin: 0; font: 400 15px/1.3 var(--sans); display: grid; gap: 8px; }
.legend li { display: flex; gap: 10px; align-items: center; }
.legend .mazeicon { background: #2c2318; border-radius: 4px; padding: 2px; flex: none; }
.legend .mazeicon .ink { stroke: #e2cfa4; }
.legend .mazeicon .ink .fill { fill: #e2cfa4; }
.riddle { padding-left: 1.8em; font-style: italic; font-size: 1.15rem; }
.riddle li { margin: 0.25em 0; }
.riddle li::marker { font-style: normal; color: var(--lichen); font-family: var(--sans); }
.alphabet { display: grid; grid-template-columns: repeat(6, minmax(0, 64px)); gap: 10px; margin: 6px 0 16px; }
.alphabet figure { background: #3a2c1a; border-radius: var(--r-small); padding: 8px 4px 4px; }
.alphabet .ink { stroke: #f0d9a8; }
.alphabet .ink .fill { fill: #f0d9a8; }
.alphabet .glyph, .inscription .glyph { width: 34px; height: 48px; margin: 0 auto; }
.alphabet figcaption { color: #f0d9a8; }
.inscription { display: flex; flex-wrap: wrap; gap: 26px; padding: 18px; background: #0b1a15; border-radius: var(--r-big); border: 1px solid rgba(230, 236, 228, 0.2); margin: 6px 0 16px; }
.inscription .word { display: flex; gap: 6px; }
.inscription .ink { stroke: var(--lichen); }
.inscription .ink .fill { fill: var(--lichen); }

/* ---------- inputs ---------- */
.answer { margin: 8px 0 26px; padding: 20px; border-radius: var(--r-big); background: var(--ecorce-2); max-width: 720px; }
.answer label, .answer legend { font: 500 15px var(--sans); color: var(--brume); display: block; margin-bottom: 8px; }
.answer fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.answer input.digits { width: 9ch; font: 700 24px var(--sans); letter-spacing: 0.3em; text-align: center; }
.answer input#ans:not(.digits) { flex: 1 1 220px; font-size: 18px; text-transform: uppercase; letter-spacing: 0.08em; }
.bells { display: flex; gap: 14px; flex-wrap: wrap; }
.bell { display: grid; gap: 6px; text-align: center; }
.bell span { font: 500 14px var(--sans); color: var(--brume); }
.bell input { width: 64px; font: 700 26px var(--sans); text-align: center; margin: 0 auto; }
.opt { display: flex !important; align-items: center; gap: 10px; padding: 10px 0; font: 400 1.05rem var(--serif) !important; color: var(--lune) !important; cursor: pointer; }
.opt input { width: 22px; height: 22px; min-height: 0; accent-color: var(--lichen); }
.lockelsewhere { font: 400 16px/1.45 var(--sans); color: var(--brume); padding: 14px 18px; border: 1px dashed rgba(230, 236, 228, 0.3); border-radius: var(--r-big); }
.shake { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.sync { text-align: center; }
.pull.pressed { background: var(--ambre); border-color: var(--ambre); animation: pulse 1s infinite alternate; }
@keyframes pulse { to { opacity: 0.65; } }

.maze .cellview { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.maze svg { width: 170px; height: 170px; }
.maze .cellfloor { fill: #0b1a15; }
.maze line.wall { stroke: #b08a5a; stroke-width: 12; stroke-linecap: round; }
.maze line.open { stroke: rgba(201, 218, 143, 0.5); stroke-width: 2; stroke-dasharray: 4 8; }
.maze .you { fill: var(--lichen); }
.maze text { fill: var(--brume); font: 700 12px var(--sans); }
.maze .exits { list-style: none; padding: 0; margin: 0; font: 400 15px/1.6 var(--sans); }
.landmark { font-style: italic; font-size: 1.1rem; margin-top: 12px; }
.landmark.quiet { color: var(--brume); }
.bump { color: var(--ambre); font: 500 15px var(--sans); }
.pad { display: grid; grid-template-columns: repeat(3, 92px); grid-template-areas: ". n ." "w . e" ". s ."; gap: 8px; margin: 12px 0; }
.pad .n { grid-area: n; } .pad .s { grid-area: s; } .pad .w { grid-area: w; } .pad .e { grid-area: e; }
.pad button { border-radius: var(--r-small); padding: 12px 0; }

.ringstack { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.ring { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: #0b1a15; border-radius: 999px; min-height: 76px; }
.ring .rn { font: 500 14px var(--sans); color: var(--brume); width: 5.5em; }
.ring .turn { width: 46px; padding: 0; font-size: 26px; line-height: 1; }
.ringrune { width: 48px; display: grid; place-items: center; }
.ringrune .glyph { width: 34px; height: 48px; }
.ringrune .ink { stroke: var(--lichen); }
.ringrune .ink .fill { fill: var(--lichen); }
.hidden-ring { font: italic 400 15px var(--serif); color: var(--brume); }

.hints { max-width: 720px; border-top: 1px solid rgba(230, 236, 228, 0.1); padding-top: 18px; }
.hints h3 { font-size: 1.1rem; }
.hints ol { padding: 0; list-style: none; margin: 0 0 12px; }
.hints li { padding: 10px 14px; margin-bottom: 8px; border-left: 3px solid var(--ambre); background: rgba(234, 169, 90, 0.08); font: 400 16px/1.5 var(--sans); }
.hints li b { color: var(--ambre); margin-right: 6px; }
.hintbtn { border-color: rgba(234, 169, 90, 0.6); color: var(--ambre); }
.hintbtn.confirm { background: var(--ambre); color: var(--nuit); }

/* ---------- victory, toast ---------- */
.victory { position: fixed; inset: 0; z-index: 40; background: rgba(8, 18, 14, 0.96); display: grid; place-items: center; padding: 20px; overflow: auto; }
.victory[hidden] { display: none; }
.victory-card { max-width: 620px; text-align: center; }
.victory-card .moon { margin: 0 auto 10px; }
.victory-card h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.victory-card p { margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.stats { display: flex; justify-content: center; gap: 32px; margin: 22px 0; }
.stats dt { font: 400 14px var(--sans); color: var(--brume); }
.stats dd { margin: 0; font: 700 1.8rem var(--sans); font-variant-numeric: tabular-nums; }
#toast {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 60;
  background: var(--lune); color: var(--nuit); font: 500 16px var(--sans); padding: 12px 20px; border-radius: 999px;
  transition: opacity 0.2s, transform 0.2s; max-width: calc(100vw - 30px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--ambre); }

/* ---------- small screens ---------- */
@media (max-width: 899px) {
  body { font-size: 17px; }
  .game { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-areas: "top" "side" "panel"; }
  .clock { display: inline-flex; }
  .brand { display: none; }
  .topbar { padding: 8px 14px; }
  .side { border-right: 0; padding: 14px 14px 0; position: static; height: auto; overflow: visible; min-width: 0; }
  .moonclock { display: none; }
  .puzzles { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
  .actgroup, .actgroup ul, .actgroup li { display: contents; }
  .actgroup h2 { display: none; }
  .pitem { flex: 0 0 min(200px, 64vw); scroll-snap-align: start; }
  .murmurs { display: none; }
  .panel { padding: 18px 14px 80px; }
  .leaf-tree { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .primer { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .alphabet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .socket { width: 64px; height: 96px; }
  .clasp-leaf { width: 58px; height: 84px; }
  .clasp-leaf .leafsvg { width: 48px; height: 64px; }
  .inscription { gap: 16px; padding: 12px; }
  .inscription .glyph { width: 26px; height: 38px; }
  .answer { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
