/* =======================================================================
   LORECRAFT · SPAWN BACKS (made by shared/spawn-back.js)
   Sits inside the leather card back of shared/card.css (.back, a size container), so
   every size is in cqw and the back scales with the card. Text never goes
   below 2.87cqw, the card's minimum (9.74px on a 340px card).
   ======================================================================= */
.spawn-face{position:absolute; inset:5cqw 6.5cqw 6cqw; display:flex; flex-direction:column; gap:2cqw;
  font:400 3.3cqw/1.28 var(--cardtext); color:var(--parchment)}
.spawn-head{display:grid; justify-items:center; gap:1.2cqw}
.spawn-logo{display:block; width:44cqw; height:auto}
.spawn-kind{font:500 2.3cqw/1 var(--sans); letter-spacing:.42em; text-transform:uppercase; color:var(--parchment-muted)}
.spawn-title{margin:0; text-align:center; font:700 6cqw/1 var(--display); color:var(--gold)}
.spawn-panel{flex:1 1 auto; min-height:0; display:flex; flex-direction:column; gap:2.4cqw; padding:2.8cqw 2.8cqw;
  border:1.5px solid color-mix(in srgb, var(--gold) 75%, transparent); border-radius:2.4cqw; background:rgba(12,9,16,.62)}
.spawn-panel b{color:#f5d996; font-weight:700}

/* Turn and Combat: numbered steps, then the timing rules */
.spawn-steps{margin:0; padding:0; list-style:none; counter-reset:step; display:grid; gap:1.4cqw}
.spawn-steps li{display:grid; grid-template-columns:4.4cqw minmax(0,1fr); column-gap:1.8cqw; align-items:start}
.spawn-steps li::before{counter-increment:step; content:counter(step); width:4.4cqw; height:4.4cqw; border-radius:50%;
  background:var(--gold); color:var(--token-bg); font:700 2.9cqw/4.4cqw var(--sans); text-align:center}
.spawn-notes{margin:0; padding:2cqw 0 0; border-top:1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  list-style:none; display:grid; gap:.9cqw; font-size:3cqw; color:#d9cfb8}
.spawn-notes li{padding-left:2.6cqw; position:relative}
.spawn-notes li::before{content:""; position:absolute; left:0; top:.5em; width:1.1cqw; height:1.1cqw; transform:rotate(45deg); background:var(--gold)}

/* Keywords: two columns, each keyword with its reminder text */
.spawn-keywords .spawn-panel{padding:2.6cqw 2.4cqw}
.spawn-kw{flex:1 1 auto; min-height:0; columns:2; column-gap:2.6cqw; column-fill:auto; font-size:3cqw; line-height:1.2}
/* a keyword may go on in the next column (18/11/2026: kept whole, the space it left at the foot of a column pushed the German
   backs into a third one), never with a single line left behind or carried over */
.spawn-kw p{margin:0 0 .8cqw; orphans:2; widows:2}
