/* Famsims: the look shared by the player, the login and the debrief slides (Massimo, 12 Oct 2026).
   Linen background, paper cards with a faint grain, near-black ink, brick red as the one accent,
   handwritten red kickers (Caveat), square-ish corners. Dark mode is the same on warm dark wood. */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Caveat:wght@400;600&display=swap');
:root{--bg:#F1EADF;--paper:#FBF7EF;--field:#FFFDF8;--ink:#2A2521;--muted:#6E645B;--dim:#9A9088;--line:#D8CDBC;--line2:#C6B8A3;
  --red:#9A3B2E;--ochre:#C8902F;--green:#4D6B57;--blue:#3F5F7A;--accent:var(--red);--accent-ink:#FBF7EF;--chip:#EEE5D6;--err:#9A3B2E;
  --card:var(--paper);--shadow:0 2px 3px rgba(60,45,30,.08),0 14px 30px rgba(60,45,30,.12);--veil:rgba(42,37,33,.55);
  --sans:'Nunito',system-ui,sans-serif;--hand:'Caveat','Segoe Print',cursive;--radius:5px}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#221C18;--paper:#2E2722;--field:#352D27;--ink:#F0E8DC;--muted:#BBAE9E;--dim:#8C8072;--line:#4A3F36;--line2:#5C4F44;
  --red:#D0675A;--ochre:#D9A14A;--green:#7FA38A;--blue:#8AA6BF;--accent-ink:#FBF7EF;--chip:#3B322B;--err:#E08A7B;--shadow:0 2px 3px rgba(0,0,0,.25),0 14px 30px rgba(0,0,0,.35);--veil:rgba(12,9,7,.65)}}
:root[data-theme="dark"]{--bg:#221C18;--paper:#2E2722;--field:#352D27;--ink:#F0E8DC;--muted:#BBAE9E;--dim:#8C8072;--line:#4A3F36;--line2:#5C4F44;
  --red:#D0675A;--ochre:#D9A14A;--green:#7FA38A;--blue:#8AA6BF;--accent-ink:#FBF7EF;--chip:#3B322B;--err:#E08A7B;--shadow:0 2px 3px rgba(0,0,0,.25),0 14px 30px rgba(0,0,0,.35);--veil:rgba(12,9,7,.65)}
/* the paper grain: give an element .grain (it must be positioned; its children above it) */
.grain{position:relative}
.grain::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;mix-blend-mode:multiply;border-radius:inherit;z-index:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .30 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.grain>*{position:relative;z-index:1}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .grain::after{mix-blend-mode:screen;opacity:.35}}
:root[data-theme="dark"] .grain::after{mix-blend-mode:screen;opacity:.35}
/* the handwritten kicker above a title */
.kicker{font:600 22px/1.1 var(--hand);color:var(--red);letter-spacing:0;text-transform:none}
