/* THE MASTER SHEET'S SPELL STATE (create/CharacterSheet.astro kind "spell"; docs/growls/spell-sheet-spec.md; Maayan's sketch,
   2026-11-27): one page on the hero sheet's paper (kit-charsheet.css: .g-csheet__page, the same ink, lines and hand; its labels
   printed, every value in the hand, its name, level and story written on as any sheet's). One column, top to bottom: the title
   band, the story line, the cover wide, three boxes in a row, What it does, the printed pairs, the foot. inline-start and
   inline-end only (Hebrew, Arabic). Colours the kit's tokens, sizes the page's own. */
.g-csheet__page--spell { display: flex; flex-direction: column; gap: 12px; }
/* its values: written in the hand, as the hero's (kit-charsheet.css [contenteditable]), read only here */
.ss-v { display: block; font: 400 22px/1.15 "Patrick Hand", cursive; color: var(--g-ink); text-align: center; overflow-wrap: anywhere; }
/* 1 the title band: the level's round badge at the start (the hero's cs-lvl sits at its left: here its inline start), the name large, the school tag at the end; no rule under it */
.ss-title { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding-block: 4px; padding-inline: 56px 4px; }
.ss-title .cs-lvl { inset: 50% auto auto auto; inset-inline-start: -2px; }   /* the hero's badge sits at its left: here at its inline start, so Hebrew swaps it */
.ss-v--lvl { font-size: 24px; }
.ss-name { flex: 1 1 auto; min-width: 0; font-weight: 400; }
.ss-name [contenteditable] { font-size: 34px; line-height: 1.1; text-align: start; text-transform: uppercase; letter-spacing: .02em; }
.ss-school { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 86px; margin-inline-start: auto; }
.ss-school .cs-lab { text-align: center; }
.ss-v--tag { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; }
/* 2 the story line: italics in the hand, no box, like a card's flavour text, right under the title */
.ss-story { margin: 0; padding-inline: 8px; }
.ss-story [contenteditable] { font-style: italic; font-size: 19px; line-height: 1.3; color: var(--g-ink-2); }
/* 3 its cover: full width, one big framed box (its landscape shape the sheet's one fact, kit-charsheet.css .cs-pic) */
.ss-pic { width: 100%; }
/* 4 three equal boxes in a row: the damage (its dice large, its kind), Range, Reaches with its small words under it; each a
   gmBrick line of its action (kit-gmsheet.js: the growl icon before its label, a tap opens the action), as the What it does line and the pairs */
.g-csheet__page--spell .g-gmb__line { cursor: pointer; }
.g-csheet__page--spell .g-gmb__line .g-gmb__t::before { width: 12px; height: 12px; margin-inline-end: 3px; vertical-align: -2px; }
.ss-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ss-sq { justify-content: flex-start; gap: 2px; padding: 6px 8px 10px; }
.ss-sq .ss-v { font-size: 26px; }
.ss-dice { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px; }
.ss-dice > b { font: 400 34px/1.1 "Patrick Hand", cursive; color: var(--g-ink); direction: ltr; unicode-bidi: isolate; }
.ss-dice__t { font: 400 20px/1.1 "Patrick Hand", cursive; color: var(--g-ink); }
.ss-words { display: block; font: 400 13px/1.2 "Patrick Hand", cursive; color: var(--g-ink-2); text-align: center; overflow-wrap: anywhere; }
/* 5 What it does, one line in the hand; then the printed pairs (Roll, Lasts, Speed, How often), wrapping as a row */
.ss-does { margin: 0; padding-inline: 8px; font: 400 18px/1.3 "Patrick Hand", cursive; color: var(--g-ink); text-align: center; overflow-wrap: anywhere; }
.ss-lines { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 22px; row-gap: 6px; padding-inline: 4px; }
.ss-lines__p { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ss-lines__p .cs-lab { flex: none; text-transform: uppercase; letter-spacing: .04em; }
.ss-v--line { font-size: 18px; text-align: start; }
/* 6 its actions, each a line (a tap opens it, kit-gmsheet.js; its maker writes a new one on the empty line): shown once it has
   more than one, the one's boxes being its line already (the form's rows open it there, creator-actions.js) */
.ss-acts { display: flex; flex-direction: column; gap: 4px; padding-inline: 8px; }
.ss-acts:not(:has(li:nth-child(2):not(.g-gmb__new))) { display: none; }
/* 7 the foot: its maker, as a sheet's, at the page's end */
.ss-foot { margin-top: auto; text-align: center; padding-top: 6px; }
