/* =============================================================================
   EMPYREZ · assets/empyrez.css · Direction B, "Gritty street"
   The one stylesheet. Spec: mmpires/docs/DESIGN_SYSTEM.md (tokens, frame, components).

   - Every class is ez-, every token --ez-. No page CSS and no style attributes, except data
     (--fill on a need bar, --ez-num-w on a list). A page that needs a piece asks for it here.
   - Black ground, bone ink, one hot orange for "do this". Values are coloured by family (turns,
     money, counts, moods); labels and copy stay quiet.
   - Dark is the game. Light is the same system turned over (bone ground, ink paper), opt-in with
     <html data-theme="light"> (setting ui_theme = light). It is never picked from the OS.
   - Breakpoints: phone < 768 (no rails, bottom tabs, More sheet), 768-1199 (left nav folds to
     icons), 1200+ (full left nav). Check 375, 960 and 1200.

   Contents: 1 tokens · 2 base · 3 numbers and names · 4 frame · 5 banner · 6 paper · 7 tags
             8 buttons · 9 forms · 10 lists and stats · 11 tabs, switch, radios · 12 notes
             13 layout and helpers
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Palette (DESIGN_SYSTEM 2.1; ratios WCAG 2.x) */
  --ez-ink:     #121110;  /* off-black, never #000 */
  --ez-ink-2:   #1c1a17;
  --ez-bone:    #ece5d3;  /* 15.0:1 on ink */
  --ez-bone-2:  #bdb5a3;  /* 9.3:1 on ink */
  --ez-paper-2: #4b463d;  /* 7.5:1 on bone */
  --ez-hot:     #ff5a1f;  /* THE action colour. 6.1:1 on ink; never text on bone */
  --ez-paper-hi:#fff8e8;

  /* Value colours: on ink | on bone (-p) */
  --ez-v-turns: #ff9a5c;  --ez-v-turns-p: #7a2c00;
  --ez-v-money: #f2c14e;  --ez-v-money-p: #5a3d00;
  --ez-v-count: #ffbe85;  --ez-v-count-p: #804400;  /* counts: light orange, lighter than turns so the two stay apart (the owner's colour ruling, 2026-11-04).
                                                       11.6:1 on ink, 10.7 on ink-2, 9.9 on the selected tint; -p 6.1:1 on bone, 5.1 on the light selected tint.
                                                       Hover rule: orange text never hovers to orange; it goes to bone (--ez-text) with a solid underline. */
  --ez-v-good:  #6fdc8c;  --ez-v-good-p:  #114f27;
  --ez-v-warn:  #e6e36b;  --ez-v-warn-p:  #474200;
  --ez-v-bad:   #ff8a80;  --ez-v-bad-p:   #8a1a22;
  --ez-dot-on:  #3ecf5a;  --ez-dot-off:   #8a8275;
  --ez-desk-staff: #b03a30;  --ez-desk-staff-p: #8a3020;  /* the staff desk's tint source, a warm brown-red (20.3, 30.1, 30.12); never text */

  /* Surfaces: what components use. The light theme remaps these, never the palette. */
  --ez-ground:   var(--ez-ink);      /* page */
  --ez-ground-2: var(--ez-ink-2);    /* raised rows, panels, hover */
  --ez-sel:      #262119;            /* selected tint, never a side bar */
  --ez-text:     var(--ez-bone);
  --ez-text-2:   var(--ez-bone-2);
  --ez-rule:     #3a362f;            /* rules only, never text */
  --ez-field:    var(--ez-ink);      /* input ground */
  --ez-paper:    var(--ez-bone);     /* banner, card, receipt */
  --ez-on-paper: var(--ez-ink);
  --ez-on-paper-2: var(--ez-paper-2);
  --ez-on-hot:   var(--ez-ink);      /* ink on orange 6.1:1 */
  --ez-hot-text: var(--ez-hot);      /* orange used as text */
  --ez-tape:     rgb(236 229 211 / .62);
  --ez-grain:    .05;

  /* Type */
  --ez-display: 'Big Shoulders Stencil', 'Arial Narrow', Impact, sans-serif;
  --ez-numbers: 'Big Shoulders', 'Arial Narrow', Impact, sans-serif;
  --ez-body:    'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --ez-fs-hero: 40px; --ez-fs-big: 30px; --ez-fs-h2: 21px; --ez-fs-h3: 18px;
  --ez-fs-body: 16px; --ez-fs-small: 14px; --ez-fs-label: 13px; --ez-fs-micro: 11px;

  /* Frame */
  --ez-gutter: 40px;
  --ez-nav-w: 184px;
  --ez-tabs-h: 64px;
  --ez-torn: polygon(0% 0%, 100% 0%, 100% 96.7%, 97.5% 97.5%, 95% 99.7%, 92.5% 93.9%, 90% 96.2%, 87.5% 93%, 85% 94.6%, 82.5% 95.3%, 80% 97.2%, 77.5% 93.9%, 75% 94.5%, 72.5% 96.7%, 70% 93.9%, 67.5% 97.8%, 65% 99.9%, 62.5% 97.4%, 60% 99.5%, 57.5% 98.5%, 55% 96.3%, 52.5% 95.4%, 50% 99.7%, 47.5% 98.2%, 45% 95%, 42.5% 100%, 40% 95.9%, 37.5% 93.6%, 35% 95.3%, 32.5% 93.3%, 30% 96.8%, 27.5% 96.4%, 25% 93%, 22.5% 94.6%, 20% 95.4%, 17.5% 97.8%, 15% 97.1%, 12.5% 94.2%, 10% 98.4%, 7.5% 99.9%, 5% 94.1%, 2.5% 98.8%, 0% 97.5%);
}

/* Light: bone ground, ink paper. Text 15.0:1, secondary 7.5:1, orange as text #923400 6.2:1 on bone. */
:root[data-theme="light"] {
  --ez-ground:   var(--ez-bone);
  --ez-ground-2: #e2dac6;
  --ez-sel:      #ddd2b8;
  --ez-text:     var(--ez-ink);
  --ez-text-2:   var(--ez-paper-2);
  --ez-rule:     #c4baa3;
  --ez-field:    var(--ez-paper-hi);
  --ez-paper:    var(--ez-ink-2);
  --ez-on-paper: var(--ez-bone);
  --ez-on-paper-2: var(--ez-bone-2);
  --ez-hot-text: #923400;
  --ez-tape:     rgb(75 70 61 / .45);
  --ez-grain:    .03;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ez {
  margin: 0; min-height: 100vh; background: var(--ez-ground); color: var(--ez-text); color-scheme: dark;
  font: 400 var(--ez-fs-body)/1.55 var(--ez-body);
  /* the value colours in use; paper swaps them */
  --ez-c-turns: var(--ez-v-turns); --ez-c-money: var(--ez-v-money); --ez-c-count: var(--ez-v-count);
  --ez-c-good: var(--ez-v-good); --ez-c-warn: var(--ez-v-warn); --ez-c-bad: var(--ez-v-bad); --ez-c-2: var(--ez-text-2);
}
[data-theme="light"] body.ez {
  color-scheme: light;
  --ez-c-turns: var(--ez-v-turns-p); --ez-c-money: var(--ez-v-money-p); --ez-c-count: var(--ez-v-count-p);
  --ez-c-good: var(--ez-v-good-p); --ez-c-warn: var(--ez-v-warn-p); --ez-c-bad: var(--ez-v-bad-p);
}
body.ez::before { /* spray grain: one fixed layer */
  content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: var(--ez-grain);
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.ez a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 2px; }
body.ez :focus-visible { outline: 3px solid var(--ez-text); outline-offset: 3px; }
body.ez img { max-width: 100%; }
body.ez p { margin: 0 0 .75em; }
body.ez h1, body.ez h2, body.ez h3 { margin: 0; }
body.ez [hidden] { display: none !important; }

.ez-skip { position: absolute; left: -9999px; top: 8px; z-index: 40; padding: 10px 14px; background: var(--ez-text); color: var(--ez-ground); font-weight: 700; }
.ez-skip:focus { left: 8px; }
.ez-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ez-display { font: 900 48px/.9 var(--ez-display); letter-spacing: .01em; text-transform: uppercase; }
.ez-h1 { font: 800 30px/1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.ez-h2 { font: 800 var(--ez-fs-h2)/1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.ez-h3 { font: 800 var(--ez-fs-h3)/1.1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.ez-sec { margin-top: 32px; }
.ez-sec > .ez-h2 { padding-bottom: 8px; border-bottom: 2px solid var(--ez-text-2); margin-bottom: 12px; }
.ez-label { font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-c-2); white-space: nowrap; }
.ez-muted { color: var(--ez-c-2); }
.ez-lede { max-width: 62ch; }
.ez-copy { max-width: 66ch; overflow-wrap: anywhere; }

/* 3. NUMBERS AND NAMES ----------------------------------------------------- */
.ez-n { font-family: var(--ez-numbers); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.ez-v-turns { color: var(--ez-c-turns); }
.ez-v-money { color: var(--ez-c-money); }
.ez-v-count { color: var(--ez-c-count); }
.ez-v-good  { color: var(--ez-c-good); }
.ez-v-warn  { color: var(--ez-c-warn); }
.ez-v-bad   { color: var(--ez-c-bad); }
.ez-zero, .ez-zero .ez-n { color: var(--ez-c-2); }
.ez-num { display: inline-block; min-width: var(--ez-num-w, 11ch); text-align: left; white-space: nowrap; font-family: var(--ez-numbers); font-weight: 800; font-variant-numeric: tabular-nums; }
.ez-num--right { text-align: right; }

/* Names: Archivo 800 at 75% width, one line, ellipsis, full name in title. */
.ez-uname { font-family: var(--ez-body); font-weight: 800; font-stretch: 75%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ez-who { display: inline-flex; align-items: center; gap: .4em; min-width: 0; max-width: 100%; text-decoration: none; vertical-align: bottom; }
a.ez-who:hover .ez-uname { text-decoration: underline; }
.ez-dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ez-dot-off); }
.ez-dot.is-on { background: var(--ez-dot-on); }
/* Mood marks change shape as well as colour. */
/* A crew's mood is a face (owner, 2026-11-06): happy, neutral, sad, in the good, warn and bad colours; no crew is a dash.
   The thugs' fatigue is a bolt in the same three colours. The shapes are masks, so app.js's refresh only swaps the level class. */
.ez-mk { display: inline-block; flex: none; width: 16px; height: 16px; -webkit-mask: var(--ez-mk-shape) center / contain no-repeat; mask: var(--ez-mk-shape) center / contain no-repeat; }
.ez-mk--ok { --ez-mk-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.3' fill='black' stroke='none'/%3E%3Ccircle cx='15.5' cy='9.5' r='1.3' fill='black' stroke='none'/%3E%3Cpath d='M7.5 14.5c1 1.9 2.6 2.9 4.5 2.9s3.5-1 4.5-2.9'/%3E%3C/svg%3E"); background: var(--ez-c-good); }
.ez-mk--mid { --ez-mk-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.3' fill='black' stroke='none'/%3E%3Ccircle cx='15.5' cy='9.5' r='1.3' fill='black' stroke='none'/%3E%3Cpath d='M8 15.5h8'/%3E%3C/svg%3E"); background: var(--ez-c-warn); }
.ez-mk--low { --ez-mk-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.3' fill='black' stroke='none'/%3E%3Ccircle cx='15.5' cy='9.5' r='1.3' fill='black' stroke='none'/%3E%3Cpath d='M7.5 17c1-1.9 2.6-2.9 4.5-2.9s3.5 1 4.5 2.9'/%3E%3C/svg%3E"); background: var(--ez-c-bad); }
.ez-mk--none { height: 2px; background: var(--ez-rule); -webkit-mask: none; mask: none; }
[data-unit="fatigue"] .ez-mk { --ez-mk-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 1 4 14h7l-1 9 10-13h-7z'/%3E%3C/svg%3E"); }

/* 4. FRAME ----------------------------------------------------------------- */
.ez-top { max-width: 1280px; margin: 0 auto; padding: 10px var(--ez-gutter); min-height: 72px; display: flex; align-items: center; gap: 24px; }
.ez-brand { display: grid; gap: 3px; width: var(--ez-nav-w); flex: none; min-width: 0; }
.ez-mark { font: 900 30px/1 var(--ez-display); letter-spacing: .04em; color: var(--ez-text); white-space: nowrap; }
body.ez a.ez-mark { text-decoration: none; }
.ez-gtime { margin: 0 !important; font: 700 13px/1 var(--ez-numbers); letter-spacing: .08em; color: var(--ez-text-2); font-variant-numeric: tabular-nums; }

.ez-topnav { display: flex; margin-right: auto; min-width: 0; }
body.ez .ez-topnav a { position: relative; padding: 10px 16px; border-bottom: 4px solid transparent; white-space: nowrap; text-decoration: none;
  font: 700 22px/1 var(--ez-numbers); letter-spacing: .07em; text-transform: uppercase; color: var(--ez-text-2); }
.ez-topnav a:first-child { padding-left: 0; }
.ez-topnav a + a::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 13px; width: 2px; background: var(--ez-rule); }
body.ez .ez-topnav a:hover { color: var(--ez-text); }
body.ez .ez-topnav a[aria-current="page"] { color: var(--ez-text); border-bottom-color: var(--ez-hot); }
.ez-topnav--public { margin-left: auto; margin-right: 0; }

/* The bar's numbers: Turns and Cash, the two figures every action spends, on one line at the right; each label in the
   micro caps beside its value, the value in its family's colour. Nothing wraps. (City, net worth and rank: 20.2.) */
.ez-hstats { display: flex; align-items: baseline; gap: 28px; flex: none; padding-bottom: 4px; }
.ez-hstats > div { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.ez-hstats .ez-label { font-size: var(--ez-fs-micro); }
.ez-hstats .ez-n { font-size: 24px; }
body.ez .ez-hcity a { color: var(--ez-text); text-decoration: none; }
body.ez .ez-hcity a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ez-morebtn { display: none; align-items: center; min-height: 40px; padding: 0 10px; background: none; color: var(--ez-text); border: 2px solid var(--ez-text-2); cursor: pointer;
  font: 800 16px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }

.ez-shell { max-width: 1280px; margin: 0 auto; padding: 0 var(--ez-gutter); display: grid; grid-template-columns: var(--ez-nav-w) minmax(0, 1fr); gap: 40px; align-items: start; }
.ez-shell--public { display: block; max-width: 880px; }
body.ez--public .ez-top { max-width: 880px; }   /* the header lines up with the one column */
body.ez--landing .ez-brand { visibility: hidden; }   /* the front door's own wordmark is the big one */
.ez-main { min-width: 0; padding: 8px 0 56px; }
.ez-main:focus { outline: none; }

.ez-side { position: sticky; top: 12px; padding-top: 10px; display: grid; gap: 2px; }
body.ez .ez-side a, .ez-navbtn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; white-space: nowrap; text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left;
  font: 700 19px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; color: var(--ez-text-2); }
body.ez .ez-side a:hover, .ez-navbtn:hover { color: var(--ez-text); background: var(--ez-ground-2); }
body.ez .ez-side a[aria-current="page"] { color: var(--ez-hot-text); background: var(--ez-sel); }
.ez-side .ph { font-size: 22px; flex: none; display: none; }
.ez-side .ez-nlabel { overflow: hidden; text-overflow: ellipsis; }
.ez-side hr, .ez-sheet hr { border: 0; border-top: 2px solid var(--ez-rule); margin: 8px 12px; }
.ez-side__top { display: none; }
.ez-side form { margin: 0; }

/* Crew counts in the nav: label left, exact count right (unit counts are never abbreviated). */
.ez-crew { padding: 6px 12px 2px; }
.ez-crew .ez-label { margin: 0 0 6px; }
.ez-crew dl, dl.ez-crew { margin: 0; display: grid; gap: 5px; }
.ez-crew dl > div, dl.ez-crew > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-width: 0; }
.ez-crew dt { font-size: var(--ez-fs-small); color: var(--ez-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-crew dd { margin: 0; font-size: 17px; }

.ez-tabs { display: none; }
.ez-sheet:not(:popover-open) { display: none; }

/* Counts beside an entry (offers waiting, notices unread) and the "At war" mark under the wordmark. */
.ez-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 22px; height: 20px; padding: 1px 6px 0; margin-left: auto;
  background: var(--ez-hot); color: var(--ez-on-hot); font: 800 14px/1 var(--ez-numbers); letter-spacing: .02em; }
.ez-morebtn .ez-badge { margin-left: 8px; }
body.ez a.ez-atwar { justify-self: start; display: inline-block; padding: 3px 7px 2px; border: 2px solid var(--ez-v-bad); color: var(--ez-v-bad); text-decoration: none;
  font: 800 13px/1 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
body.ez a.ez-atwar:hover { background: var(--ez-ground-2); }
[data-theme="light"] body.ez a.ez-atwar { border-color: var(--ez-v-bad-p); color: var(--ez-v-bad-p); }
body.ez .ez-sheet a.ez-atwar { justify-self: start; display: inline-block; padding: 6px 10px 5px; margin: 4px 0 8px; font-size: 16px; color: var(--ez-v-bad); }

/* 768-1199: the left nav folds to a 56px icon rail; below 900 the top entries move into it. */
@media (max-width: 1199px) {
  body.ez { --ez-gutter: 24px; --ez-nav-w: 56px; }
  .ez-shell { gap: 24px; }
  .ez-shell--public { max-width: 880px; }
  .ez-brand { width: auto; }
  .ez-mark { font-size: 26px; }
  .ez-top { gap: 16px; }
  body.ez .ez-topnav a { font-size: 19px; padding: 10px 12px; }
  body.ez .ez-side a, .ez-side .ez-navbtn { justify-content: center; padding: 10px 0; }
  .ez-side .ph { display: block; }
  .ez-side .ez-nlabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ez-side .ez-crew { display: none; }   /* too narrow for exact counts: the console carries them here */
  body.ez .ez-side a { position: relative; }
  .ez-side .ez-badge { position: absolute; top: 3px; right: 3px; min-width: 18px; height: 17px; padding: 1px 4px 0; margin: 0; font-size: 12px; }
  .ez-side hr { margin: 6px 8px; }
  .ez-hstats { gap: 22px; }
  .ez-hstats .ez-n { font-size: 22px; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .ez-top .ez-topnav:not(.ez-topnav--public) { display: none; }
  .ez-side__top { display: contents; }
  .ez-hstats { margin-left: auto; }
}

/* Phone (< 768): no rails. Top strip (Turns, Cash, More), the page, the tab bar; More opens every page. */
@media (max-width: 767px) {
  body.ez { --ez-gutter: 16px; }
  .ez-shell { display: block; }
  .ez-side, .ez-top .ez-topnav:not(.ez-topnav--public) { display: none; }
  .ez-top { min-height: 58px; padding-top: 8px; padding-bottom: 8px; gap: 12px; justify-content: space-between; }
  .ez-mark { font-size: 22px; }
  .ez-gtime { display: none; }
  body.ez a.ez-atwar { padding: 2px 5px 1px; font-size: 11px; }
  body.ez .ez-topnav--public a { font-size: 17px; padding: 10px 10px; }
  .ez-hstats { gap: 14px; margin-left: auto; padding-bottom: 0; }
  .ez-hcity { display: none !important; }   /* the status strip under the bar carries the city here */
  .ez-hstats > div { flex-direction: column; align-items: flex-end; gap: 3px; }
  .ez-hstats .ez-n { font-size: 20px; }
  .ez-morebtn { display: flex; }
  body.ez:not(.ez--public) .ez-main { padding-bottom: calc(var(--ez-tabs-h) + 32px + env(safe-area-inset-bottom)); }

  .ez-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--ez-ground); border-top: 2px solid var(--ez-rule); padding-bottom: env(safe-area-inset-bottom); }
  body.ez .ez-tabs a { display: flex; align-items: center; justify-content: center; min-height: var(--ez-tabs-h); margin-top: -2px; border-top: 4px solid transparent;
    color: var(--ez-text-2); text-decoration: none; font: 700 13px/1 var(--ez-numbers); letter-spacing: .02em; text-transform: uppercase; min-width: 0; overflow: hidden; }
  body.ez .ez-tabs a[aria-current="page"] { color: var(--ez-text); border-top-color: var(--ez-hot); }
}

/* The More sheet: a native popover over everything but the tab bar. */
.ez-sheet:popover-open { display: grid; align-content: start; position: fixed; z-index: 22; inset: 0 0 calc(var(--ez-tabs-h) + env(safe-area-inset-bottom)) 0;
  width: auto; height: auto; max-width: none; max-height: none; margin: 0; border: 0; overflow-y: auto; padding: 8px var(--ez-gutter) 24px; background: var(--ez-ground); color: var(--ez-text); }
.ez-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 6px; }
.ez-sheet__head .ez-morebtn { display: flex; }
body.ez .ez-sheet a, .ez-sheet .ez-navbtn { display: flex; align-items: center; padding: 12px 0; text-decoration: none; font: 800 21px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; color: var(--ez-text); }
.ez-sheet .ez-navbtn:hover { background: none; }
body.ez .ez-sheet a[aria-current="page"] { color: var(--ez-hot-text); }
.ez-sheet hr { margin: 6px 0; }
.ez-sheet form { margin: 0; }
.ez-crew--sheet { padding: 6px 0; }

/* 5. BANNER: a bone sheet, torn at the bottom, the page name in stencil. ------- */
.ez-banner { position: relative; margin: 8px 0 24px; container-type: inline-size; }
.ez-banner__poster { position: relative; min-height: 104px; background: var(--ez-paper); color: var(--ez-on-paper); clip-path: var(--ez-torn);
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 14px 24px 22px; }
.ez-banner__row { display: flex; align-items: center; gap: 10px 20px; min-width: 0; }
.ez-banner__row--2 { align-items: flex-end; flex-wrap: wrap; }
.ez-banner__title { flex: 1 1 auto; min-width: 0; margin: 0; color: var(--ez-on-paper);
  font: 900 min(54px, 9cqw)/.86 var(--ez-display); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-banner__act { flex: none; }
.ez-banner__line { flex: 1 1 16em; min-width: 0; margin: 0 !important; font-size: 15px; }
/* The walkout warning (console.php 'alert', owner 2026-11-06: "more subtle"): a note written on the sheet in body type,
   beside the title on a wide sheet, under the line on a narrow one. No bar, no orange: hot is for the one thing to do.
   The crew's first sentence is bold in the unhappy colour (the crew row's red), the joke plain, who walks small and
   muted under it. The sheet grows to fit: a grid, so a long line never runs off the paper. */
.ez-banner__alert { margin: 0 !important; max-width: 60ch; font: 400 15px/1.45 var(--ez-body); color: var(--ez-on-paper); text-wrap: pretty; }
body.ez .ez-banner__lead { font-weight: 700; color: var(--ez-c-bad); }
.ez-banner__stake { display: block; margin-top: 5px; font-size: 13px; color: var(--ez-c-2); }
@container (min-width: 720px) {
  .ez-banner__poster:has(> .ez-banner__alert) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); column-gap: 40px; align-content: space-between; }
  .ez-banner__poster:has(> .ez-banner__alert) > .ez-banner__row { grid-column: 1; align-self: start; }
  .ez-banner__poster:has(> .ez-banner__alert) > .ez-banner__row--2 { align-self: end; }
  .ez-banner__poster > .ez-banner__alert { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding-top: 12px; }   /* clear of the tape */
}
.ez-tape { position: absolute; z-index: 2; top: -10px; left: 60%; width: 120px; height: 30px; transform: rotate(-3deg); background: var(--ez-tape); pointer-events: none; }
.ez-chip { display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; max-width: 100%; padding: 6px 10px 5px; background: var(--ez-ground); color: var(--ez-text); text-decoration: none; }
.ez-chip > span:first-child { font: 600 12px/1 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-text-2); white-space: nowrap; }
.ez-chip b { font: 800 18px/1 var(--ez-numbers); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 767px) {
  .ez-banner { margin-bottom: 16px; }
  .ez-banner__poster { min-height: 84px; gap: 6px; padding: 10px 12px 16px; }
  .ez-banner__title { font-size: min(40px, 12cqw); }
  .ez-banner__line { font-size: 14px; }
  .ez-banner__alert { margin-top: 4px !important; font-size: 14px; }
  .ez-tape { width: 80px; height: 24px; }
}

/* 6. PAPER: card, receipt; the panel is raised ground, not paper. -------------- */
.ez-banner__poster, .ez-card, .ez-receipt {
  --ez-c-turns: var(--ez-v-turns-p); --ez-c-money: var(--ez-v-money-p); --ez-c-count: var(--ez-v-count-p);
  --ez-c-good: var(--ez-v-good-p); --ez-c-warn: var(--ez-v-warn-p); --ez-c-bad: var(--ez-v-bad-p); --ez-c-2: var(--ez-on-paper-2);
}
[data-theme="light"] :is(.ez-banner__poster, .ez-card, .ez-receipt) {
  --ez-c-turns: var(--ez-v-turns); --ez-c-money: var(--ez-v-money); --ez-c-count: var(--ez-v-count);
  --ez-c-good: var(--ez-v-good); --ez-c-warn: var(--ez-v-warn); --ez-c-bad: var(--ez-v-bad);
}
.ez-card { position: relative; background: var(--ez-paper); color: var(--ez-on-paper); padding: 22px 22px 18px; transform: rotate(-.4deg); }
.ez-card > .ez-tape { top: -12px; left: 28px; width: 96px; transform: rotate(-5deg); }
.ez-panel { background: var(--ez-ground-2); padding: 16px 18px; }
.ez-receipt { position: relative; background: var(--ez-paper); color: var(--ez-on-paper); padding: 24px 24px 18px; transform: rotate(-.5deg); max-width: 620px; container: ez-receipt / inline-size; }
.ez-receipt > .ez-tape { top: -13px; left: 34px; width: 100px; transform: rotate(-6deg); }
.ez-receipt__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ez-receipt__head h3 { font: 800 22px/1.1 var(--ez-numbers); text-transform: uppercase; min-width: 0; }
.ez-tally { display: grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: 12px 16px; margin: 18px 0 0; }
.ez-tally > div { display: grid; gap: 4px; min-width: 0; overflow: hidden; }
.ez-tally dt { order: 2; font: 600 13px/1.25 var(--ez-body); color: var(--ez-c-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-tally dd { margin: 0; font-size: 28px; white-space: nowrap; overflow: hidden; }
.ez-lines { list-style: none; margin: 14px 0 0; padding: 10px 0 0; border-top: 2px solid currentColor; display: grid; gap: 5px; font-size: 15px; line-height: 1.45; }
.ez-receipt__next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--ez-on-paper-2); }
@container ez-receipt (max-width: 520px) { .ez-tally { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .ez-receipt, .ez-card { transform: none; padding: 18px 14px 14px; }
  .ez-receipt > .ez-tape { display: none; }
  .ez-tally { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .ez-tally dd { font-size: 24px; }
}

/* 7. TAGS AND STAMPS -------------------------------------------------------- */
.ez-tag { display: inline-flex; align-items: center; padding: 3px 8px 2px; border: 1px solid var(--ez-text-2); color: var(--ez-text);
  font: 600 13px/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ez-tag--fill { background: var(--ez-text); color: var(--ez-ground); border-color: var(--ez-text); }
:is(.ez-card, .ez-receipt, .ez-banner) .ez-tag { border-color: currentColor; color: inherit; }
.ez-stencil { display: inline-flex; align-items: center; gap: .35em; padding: 5px 9px 4px; border: 2px solid var(--ez-text-2);
  font: 900 15px/1 var(--ez-display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ez-stamp { display: inline-block; margin: 0; padding: 5px 10px 3px; border: 3px solid currentColor; font: 900 22px/1 var(--ez-display); letter-spacing: .06em; text-transform: uppercase; transform: rotate(-2deg); white-space: nowrap; }
.ez-stamp--lg { font-size: 48px; border-width: 5px; }
.ez-count { margin-left: auto; padding: 2px 6px 1px; background: var(--ez-v-count); color: var(--ez-ink); font: 800 14px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; }
.ez-count:empty { display: none; }
@media (max-width: 767px) { .ez-stamp--lg { font-size: 36px; } }

/* 8. BUTTONS: one orange per screen, with its cost. --------------------------- */
/* The button surface (owner, 2026-11-05: a white outline round a black box does not read as a button). Every button
   that is not the orange one, every dropdown and every boxed tab is a filled key: a tint a clear step off whatever it
   sits on, a darker lip along its bottom edge, lighter (on dark) or darker (on light) under the pointer, pressed flat.
   No light outline at rest; the 3px ring is focus only. The tint follows the surface it sits on, not the theme alone:
   on bone (light ground, the paper in the dark theme, a slip, the Options paper, the sell desk) it is a darker bone
   with ink on it; on ink (dark ground, the paper in the light theme, the stash vault, the login panel) a lighter ink
   with bone on it. Measured (WCAG 2.x): bone on the dark key 7.9:1 (hover 6.1), the key 1.9 steps off the ground and
   1.45 off the raised; ink on the light key 10.9:1 (hover 9.7), 1.37 steps off the bone ground. */
body.ez, [data-theme="light"] :is(.ez-card, .ez-receipt, .ez-banner__poster), .st-vault, .ld-panel {
  --ez-btn:    color-mix(in srgb, var(--ez-ink-2) 80%, var(--ez-bone));
  --ez-btn-hi: color-mix(in srgb, var(--ez-ink-2) 71%, var(--ez-bone));
  --ez-btn-lo: color-mix(in srgb, var(--ez-ink-2) 88%, var(--ez-bone));
  --ez-btn-ink: var(--ez-bone);
  --ez-btn-lip: rgb(0 0 0 / .5);
  --ez-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 5l4.5 4.5L11.5 5' fill='none' stroke='%23ece5d3' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E");
}
[data-theme="light"] body.ez, :is(.ez-card, .ez-receipt, .ez-banner__poster, .ez-slip, .op-paper, .ez-desk--sell) {
  --ez-btn:    color-mix(in srgb, var(--ez-bone) 80%, var(--ez-paper-2));
  --ez-btn-hi: color-mix(in srgb, var(--ez-bone) 71%, var(--ez-paper-2));
  --ez-btn-lo: color-mix(in srgb, var(--ez-bone) 64%, var(--ez-paper-2));
  --ez-btn-ink: var(--ez-ink);
  --ez-btn-lip: rgb(18 17 16 / .3);
  --ez-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 5l4.5 4.5L11.5 5' fill='none' stroke='%23121110' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E");
}
.ez-btn { display: inline-flex; align-items: center; justify-content: center; gap: .35em; min-height: 52px; padding: 0 22px; cursor: pointer; white-space: nowrap; text-decoration: none !important;
  font: 900 21px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; transition: transform .12s ease, background-color .12s ease, color .12s ease; }
.ez-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.ez-btn--primary { border: 3px solid var(--ez-on-hot); background: var(--ez-hot); color: var(--ez-on-hot); box-shadow: 0 0 0 2px var(--ez-hot); }
.ez-btn__cost { font-weight: 700; }
/* Secondary and quiet: the same key, two sizes. (body.ez a: a link button would otherwise take the text colour around it.) */
.ez-btn--secondary, .ez-btn--quiet, body.ez a:is(.ez-btn--secondary, .ez-btn--quiet) { border: 0; background: var(--ez-btn); color: var(--ez-btn-ink); box-shadow: inset 0 -3px 0 var(--ez-btn-lip); }
.ez-btn--quiet { min-height: 44px; font-size: 18px; padding: 0 16px; }
:is(.ez-btn--secondary, .ez-btn--quiet):hover, body.ez a:is(.ez-btn--secondary, .ez-btn--quiet):hover { background: var(--ez-btn-hi); color: var(--ez-btn-ink); }
:is(.ez-btn--secondary, .ez-btn--quiet):active { background: var(--ez-btn-lo); box-shadow: none; transform: translateY(2px); }
.ez-btn:focus-visible { outline: 3px solid var(--ez-btn-ink); outline-offset: 3px; }
.ez-receipt .ez-btn--primary { box-shadow: none; }
.ez-btn--block { display: flex; width: 100%; }
.ez-btn--sm { min-height: 40px; padding: 0 14px; font-size: 17px; }
.ez-btn--lg { min-height: 60px; font-size: 25px; }
.ez-btn:disabled, .ez-btn[aria-disabled="true"], body.ez a.ez-btn[aria-disabled="true"] { background: transparent; color: var(--ez-text-2); border: 2px dashed var(--ez-text-2); box-shadow: none; cursor: not-allowed; transform: none; }   /* no key: nothing to press */
:is(.ez-card, .ez-receipt, .ez-banner__poster, .ez-slip, .op-paper) .ez-btn:disabled { color: var(--ez-c-2); border-color: var(--ez-c-2); }
.ez-link { background: none; border: 0; padding: 0; color: inherit; font: 600 var(--ez-fs-body)/1.4 var(--ez-body); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; cursor: pointer; }
.ez-link--hot { color: var(--ez-hot-text); font-weight: 700; }
.ez-acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0 0; }
.ez-acts--flush { margin-top: 0; }

/* 9. FORMS ------------------------------------------------------------------ */
.ez-form { display: grid; gap: 16px; max-width: 460px; }
.ez-field { display: grid; gap: 6px; min-width: 0; }
.ez-field > .ez-label { white-space: normal; }
.ez-field__hint { color: var(--ez-c-2); font-size: var(--ez-fs-small); }
.ez-field__err { color: var(--ez-c-bad); font-size: var(--ez-fs-small); font-weight: 600; }
.ez-input, .ez-select, .ez-textarea { width: 100%; min-height: 48px; padding: 0 12px; background: var(--ez-field); color: var(--ez-text); border: 2px solid var(--ez-text-2); border-radius: 0;
  font: 800 21px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; }
.ez-input--text, .ez-select { font: 500 var(--ez-fs-body)/1.3 var(--ez-body); }
.ez-textarea { min-height: 120px; padding: 10px 12px; font: 400 var(--ez-fs-body)/1.5 var(--ez-body); resize: vertical; }
.ez-input[inputmode="numeric"], .ez-input--num { max-width: calc(var(--ez-num-ch, 11) * 1ch + 30px); text-align: right; }
.ez-input:focus-visible, .ez-textarea:focus-visible { outline: 3px solid var(--ez-text); outline-offset: 2px; }
:is(.ez-card, .ez-receipt) :is(.ez-input, .ez-textarea) { background: var(--ez-paper-hi); color: var(--ez-ink); border-color: var(--ez-ink); }
[data-theme="light"] :is(.ez-card, .ez-receipt) :is(.ez-input, .ez-textarea) { background: var(--ez-ink); color: var(--ez-bone); border-color: var(--ez-bone-2); }
/* A dropdown is a button that opens a list, not a box to type in: the key (section 8) with its chevron, wherever it sits.
   Fields to type in stay the dark well with an edge. */
body.ez .ez-select { -webkit-appearance: none; appearance: none; padding-right: 40px; border: 0; cursor: pointer; color: var(--ez-btn-ink);
  background: var(--ez-btn) var(--ez-chev) no-repeat right 12px center / 14px 14px; box-shadow: inset 0 -3px 0 var(--ez-btn-lip); }
body.ez .ez-select:hover { background-color: var(--ez-btn-hi); }
body.ez .ez-select:focus-visible { outline: 3px solid var(--ez-btn-ink); outline-offset: 2px; }
body.ez .ez-select:disabled { background-color: transparent; border: 2px dashed var(--ez-text-2); box-shadow: none; color: var(--ez-text-2); cursor: not-allowed; }
body.ez .ez-select option { background: var(--ez-ground); color: var(--ez-text); }
.ez-range { width: 100%; height: 28px; margin: 0; background: transparent; accent-color: var(--ez-hot); cursor: pointer; }
.ez-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 40px; }
.ez-check input { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 0; border: 2px solid var(--ez-text-2); background: var(--ez-field); display: grid; place-content: center; cursor: pointer; }
.ez-check input:checked { background: var(--ez-hot); border-color: var(--ez-hot); }
.ez-check input:checked::before { content: ""; width: 10px; height: 6px; border: solid var(--ez-on-hot); border-width: 0 0 3px 3px; transform: translateY(-2px) rotate(-45deg); }
.ez-after { margin: 8px 0 0; color: var(--ez-c-2); font-size: var(--ez-fs-small); }

/* 10. LISTS AND STATS: a tracklist. Name left, value right, one rule between rows. */
.ez-list { list-style: none; margin: 0; padding: 0; }
.ez-list > li, .ez-list > .ez-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--ez-rule); }
.ez-list > :first-child { border-top: 1px solid var(--ez-rule); }
.ez-list--tight > li, .ez-receipt .ez-list > li { padding: 4px 0; }
.ez-row__main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ez-row__name { font: 800 var(--ez-fs-h3)/1.1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-row__sub { grid-column: 1; color: var(--ez-c-2); font-size: var(--ez-fs-small); min-width: 0; overflow-wrap: anywhere; }
.ez-end { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: end; align-content: center; gap: 4px; text-align: right; white-space: nowrap; }
.ez-end .ez-n { font-size: 22px; }
body.ez a.ez-row { color: inherit; text-decoration: none; }
a.ez-row:hover { background: var(--ez-ground-2); }
/* The events feed (notices.php): stamp and title, the sentence, a hit report's figures, when, and New. */
.ez-feed > li { padding: 14px 0; }
.ez-feed .ez-row__main { flex-wrap: wrap; }
.ez-feed .ez-row__name { white-space: normal; overflow-wrap: anywhere; }
body.ez a.ez-feed__title { color: var(--ez-text); text-decoration: none; }
body.ez a.ez-feed__title:hover { text-decoration: underline; }
.ez-feed__line { color: var(--ez-text); font-size: 15px; line-height: 1.45; margin-top: 4px; }
.ez-facts { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 8px 0 0; }
.ez-facts > div { display: flex; align-items: baseline; gap: 8px; }
.ez-facts dt { font-size: var(--ez-fs-small); color: var(--ez-text-2); }
.ez-facts dd { margin: 0; font-size: 20px; }
.ez-tag--new { background: var(--ez-hot); color: var(--ez-on-hot); border-color: var(--ez-hot); }
.ez-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 0; }
.ez-stats > div { display: grid; gap: 5px; min-width: 0; }
.ez-stats dd { margin: 0; font-size: var(--ez-fs-big); }
.ez-stats--hero dd { font-size: var(--ez-fs-hero); }
.ez-table { width: 100%; border-collapse: collapse; }
.ez-table th { text-align: left; padding: 0 12px 8px 0; border-bottom: 2px solid var(--ez-text-2); font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-c-2); }
.ez-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ez-rule); vertical-align: middle; }
.ez-table .ez-num, .ez-table th.ez-num { text-align: right; }
/* A table cell marked .ez-num stays a cell: the value class above (inline-block, an 11ch column) is for a number in a
   line, and on a th or td it pulled the column out of the table (Drug Ops, the staff tables). */
.ez-table th.ez-num, .ez-table td.ez-num { display: table-cell; min-width: 0; }
/* Drug icons (mmpires src/View/drugops/_icons.php, as assets/images/drug-*.svg): each drug sits in a dark inventory
   slot; an empty one greys out. The Black Market draws the slot in its row; the Drug Ops table draws it before the
   name from the row's data-dz, so the cell keeps its plain text. */
.ez-dz { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--ez-ink); border: 2px solid var(--ez-rule); }
.ez-dz img, .ez-dz svg { display: block; }
.ez-table--drugs td:first-child { white-space: nowrap; }
.ez-table--drugs tr[data-dz] td:first-child::before { content: ""; display: inline-block; vertical-align: middle; width: 40px; height: 40px; margin-right: 12px; box-sizing: border-box;
  background: var(--ez-ink) var(--dz-art, none) center / 28px 28px no-repeat; border: 2px solid var(--ez-rule); }
.ez-table--drugs tr.ez-zero td:first-child::before { filter: grayscale(1); opacity: .55; }
[data-dz="crack"] { --dz-art: url("images/drug-crack.svg?v=2"); }
[data-dz="weed"] { --dz-art: url("images/drug-weed.svg?v=2"); }
[data-dz="meth"] { --dz-art: url("images/drug-meth.svg?v=2"); }
[data-dz="smack"] { --dz-art: url("images/drug-smack.svg?v=2"); }
[data-dz="cocaine"] { --dz-art: url("images/drug-cocaine.svg?v=2"); }
[data-dz="acid"] { --dz-art: url("images/drug-acid.svg?v=2"); }
[data-dz="speed"] { --dz-art: url("images/drug-speed.svg?v=2"); }
.ez-tablewrap { overflow-x: auto; }
@media (max-width: 767px) { .ez-stats { gap: 10px 24px; } .ez-stats dd { font-size: 24px; } .ez-stats--hero dd { font-size: 32px; } }

/* 11. TABS, SWITCH, RADIOS ----------------------------------------------------- */
.ez-pills { display: flex; gap: 4px; margin: 0 0 16px; border-bottom: 2px solid var(--ez-rule); overflow-x: auto; scrollbar-width: none; }
body.ez .ez-pills a, .ez-pills button { flex: none; display: inline-flex; align-items: baseline; gap: 7px; padding: 10px 14px 8px; margin-bottom: -2px; border: 0; border-bottom: 4px solid transparent; background: none;
  color: var(--ez-text-2); text-decoration: none; cursor: pointer; white-space: nowrap; font: 700 19px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; }
body.ez .ez-pills a:hover, .ez-pills button:hover { color: var(--ez-text); background: var(--ez-ground-2); }
body.ez .ez-pills [aria-current="page"], .ez-pills [aria-selected="true"] { color: var(--ez-text); background: var(--ez-sel); border-bottom-color: var(--ez-hot); }
.ez-seg { display: inline-flex; border: 2px solid var(--ez-text-2); }
.ez-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ez-seg label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; cursor: pointer; color: var(--ez-text-2); font: 800 19px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }
.ez-seg input:checked + label { background: var(--ez-text); color: var(--ez-ground); }
.ez-seg input:focus-visible + label { outline: 3px solid var(--ez-text); outline-offset: 2px; }
.ez-radios { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border: 0; min-width: 0; }
.ez-radio input { position: absolute; opacity: 0; pointer-events: none; }
.ez-radio label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; min-height: 56px; padding: 10px 14px; cursor: pointer; }
.ez-radio label::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ez-text-2); }   /* the ring is the one round shape */
.ez-radio label:hover { background: var(--ez-ground-2); }
.ez-radio input:checked + label { background: var(--ez-sel); }
.ez-radio input:checked + label::before { border: 6px solid var(--ez-hot); }
.ez-radio input:checked + label .ez-radio__name { color: var(--ez-hot-text); }
.ez-radio input:focus-visible + label { outline: 3px solid var(--ez-text); outline-offset: 2px; }
.ez-radio__name { min-width: 0; font-size: var(--ez-fs-h3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-radio__sub { grid-column: 2; color: var(--ez-c-2); font-size: var(--ez-fs-small); }
.ez-radio__end { grid-column: 3; grid-row: 1 / span 2; text-align: right; }
@media (max-width: 767px) { .ez-pills { margin-right: calc(var(--ez-gutter) * -1); } }

/* 12. NOTES, NOTICES, FOLD, FOOTNOTES ------------------------------------------- */
/* A flash after a redirect: one line where the eye lands, under the banner. Marked by edge, not by colour alone. */
.ez-notice { margin: 0 0 18px !important; padding: 10px 14px; background: var(--ez-ground-2); border: 2px solid var(--ez-text-2); font-weight: 600; }
.ez-notice--ok { border-color: var(--ez-c-good); }
.ez-notice--bad { border-color: var(--ez-c-bad); border-style: dashed; }
.ez-notice--info { border-style: dotted; }
/* A page's own result beside the button that caused it (flash_here): on the ground, not stuck under the banner. */
.ez-notice--here { margin: 16px 0 0 !important; }
.ez-panel .ez-notice--here { background: var(--ez-ground); }
:is(.ez-card, .ez-receipt) .ez-notice--here { background: var(--ez-paper-hi); color: var(--ez-ink); }   /* on paper, read like the fields */
[data-theme="light"] :is(.ez-card, .ez-receipt) .ez-notice--here { background: var(--ez-ink); color: var(--ez-bone); }
.ez-note { margin: 12px 0 0; padding-left: 12px; border-left: 2px dashed var(--ez-rule); color: var(--ez-c-2); font-size: var(--ez-fs-small); }
.ez-empty { margin: 10px 0 0; color: var(--ez-c-2); }
.ez-danger { margin-top: 28px; padding-top: 14px; border-top: 2px dashed var(--ez-text-2); }   /* "No undo": dashes, never red */
.ez-fold { margin: 24px 0 0; border-top: 2px solid var(--ez-rule); border-bottom: 2px solid var(--ez-rule); }
.ez-fold > summary { display: flex; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; list-style: none; }
.ez-fold > summary::-webkit-details-marker { display: none; }
.ez-fold__h { white-space: nowrap; font: 800 var(--ez-fs-h3)/1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.ez-fold > summary::after { content: "+"; flex: none; margin-left: auto; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--ez-text-2); font: 800 20px/1 var(--ez-numbers); }
.ez-fold[open] > summary::after { content: "\2212"; }
.ez-fold__body { padding: 4px 0 14px; }
/* Footnotes: a page's explainers, under everything, small and quiet. */
.ez-footnotes { margin: 40px 0 0; padding: 14px 0 0 22px; border-top: 1px solid var(--ez-rule); color: var(--ez-text-2); font-size: var(--ez-fs-label); line-height: 1.5; max-width: 72ch; }
.ez-footnotes li { margin: 0 0 6px; padding-left: 4px; }
/* A footer with marked notes (the dagger, the small 1 in the page): each note's mark hangs in the gutter where the
   numbers would be, and the list shows no numbers, so a 1 there can only be the 1 in the page. */
.ez-footnotes--marked { list-style: none; }
.ez-footnotes--marked li { position: relative; }
.ez-footnotes__mk { position: absolute; right: 100%; top: .2em; min-width: 1ch; color: var(--ez-text); font-size: .85em; line-height: 1; text-align: right; }

/* 13. LAYOUT AND HELPERS -------------------------------------------------------- */
.ez-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; }
.ez-cols--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ez-cols > *, .ez-grid-2 > * { min-width: 0; }
.ez-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
@media (min-width: 768px) and (max-width: 1199px) { .ez-cols { gap: 24px; } }
@media (max-width: 899px) { .ez-cols, .ez-cols--even { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 767px) { .ez-grid-2 { grid-template-columns: 1fr; } .ez-phone-hide { display: none !important; } }
.ez-mt { margin-top: 20px; }
.ez-mb { margin-bottom: 18px; }
.ez-small { font-size: var(--ez-fs-small); }
.ez-hero { font-size: var(--ez-fs-hero); }

/* Landing (index.php): the wordmark big, one line, the two doors. */
.ez-land { padding: 32px 0 8px; display: grid; gap: 20px; justify-items: start; }
.ez-land__mark { margin: 0; font: 900 clamp(64px, 16vw, 148px)/.85 var(--ez-display); letter-spacing: .02em; color: var(--ez-text); }
.ez-land__line { margin: 0 !important; max-width: 34ch; font-size: 20px; line-height: 1.45; }
.ez-land__line b { color: var(--ez-hot-text); }

@media (prefers-reduced-motion: reduce) {
  .ez-btn { transition: none; }
}

/* 14. LAYOUT PASS ------------------------------------------------------------------
   The components the page intent cards ask for, carried over from mmpires/docs/DESIGN_SYSTEM.md section 5 onto this
   file's surface tokens (so the light theme still turns them over). One part per page family; pages use only these. */

/* 14.1 Console: the crew row (five cards, one row, opening one widens it), the need bar, the inventory, the foot. */
.ez-crewhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ez-sec--first { margin-top: 0; }
body.ez #member .ez-h2 { margin: 16px 0 12px; }
/* The crew row (owner, 2026-11-04): no boxes. Each crew sits on one centre line: name, the big count, a quiet list.
   Everything stays grey; only trouble turns red. Change crew pay: the big number becomes the cut, a slider appears under each crew, the
   list answers as it moves, and one bar shows the whole split. */
.ez-accrow { display: flex; margin: 0; }
.ez-acc { flex: 1 1 0; min-width: 0; padding: 2px 8px 4px; container-type: inline-size; transition: flex-grow .2s ease; }
.ez-acc__tog { list-style: none; display: grid; justify-items: center; gap: 8px; min-width: 0; text-align: center; cursor: pointer; }
.ez-acc__tog::-webkit-details-marker { display: none; }
.ez-acc__tog:focus-visible { outline: 3px solid var(--ez-text); outline-offset: 2px; }
.ez-acc__name { font: 700 15px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; color: var(--ez-text-2); white-space: nowrap; }
.ez-acc:hover .ez-acc__name { color: var(--ez-text); }
.ez-acc__count { display: block; color: var(--ez-c-count); font-size: min(44px, 26cqi); }
.ez-acc__count[data-size="l"] { font-size: min(40px, 20cqi); }
.ez-acc__count[data-size="x"] { font-size: min(33px, 16cqi); }
.ez-acc__count[data-size="xx"] { font-size: min(26px, 13cqi); }
.ez-acc[data-level="none"] .ez-acc__count { color: var(--ez-text-2); }
.ez-acc__ls { display: grid; gap: 3px; width: 92px; }
.ez-acc__r { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; line-height: 1.15; color: var(--ez-text-2); }
.ez-acc__r .ez-n { font-size: 14.5px; font-weight: 700; color: var(--ez-text-2); }
.ez-acc__r .ez-n.ez-v-bad { color: var(--ez-c-bad); }
.ez-crew:not(.is-pay) .ez-acc[data-level="low"] :is(.ez-acc__name, .ez-acc__hp, .ez-acc__hp .ez-n),
.ez-crew.is-pay .ez-acc[data-would="low"] :is(.ez-acc__name, .ez-acc__hp, .ez-acc__hp .ez-n) { color: var(--ez-c-bad); }
.ez-acc__cut { all: unset; cursor: pointer; border-bottom: 1px dotted transparent; }
.ez-acc__cut:hover { border-bottom-color: currentColor; }
.ez-acc__cut:focus-visible { outline: 2px solid var(--ez-text); outline-offset: 2px; }
.ez-acc__bad { color: var(--ez-c-bad); font-size: var(--ez-fs-label); line-height: 1.2; }
.ez-acc__body { display: grid; gap: 3px; padding-top: 10px; font-size: var(--ez-fs-small); color: var(--ez-text-2); text-align: center; }
.ez-acc__body b { color: var(--ez-text); font-weight: 600; }
.ez-acc__also { margin-top: 3px; }
.ez-accrow:has(> .ez-acc[open]) > .ez-acc { flex-grow: .7; }
.ez-accrow:has(> .ez-acc[open]) > .ez-acc[open] { flex-grow: 2; }
/* Change crew pay: what shows at rest, what shows while paying. */
.ez-crew:not(.is-pay) .ez-crew__pay { display: none; }
.ez-crew.is-pay .ez-crew__rest { display: none; }
.ez-crew.is-pay .ez-acc__big { color: var(--ez-c-money); cursor: text; }
.ez-acc__big { display: inline-flex; align-items: baseline; border-bottom: 2px dotted transparent; }
.ez-acc__big:hover { border-bottom-color: currentColor; }
.ez-acc__big:focus-within { border-bottom: 2px solid var(--ez-hot); }
.ez-acc__big input { all: unset; box-sizing: content-box; min-width: 12px; font: inherit; color: inherit; text-align: center; cursor: text; caret-color: var(--ez-hot); }
body.ez .ez-acc__big input:focus-visible { outline: none; }
.ez-acc__slide { -webkit-appearance: none; appearance: none; display: block; width: 100%; max-width: 150px; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.ez-acc__slide::-webkit-slider-runnable-track { height: 3px; background: var(--ez-rule); }
.ez-acc__slide::-moz-range-track { height: 3px; background: var(--ez-rule); }
.ez-acc__slide::-webkit-slider-thumb { -webkit-appearance: none; width: 9px; height: 18px; margin-top: -7.5px; background: var(--ez-c-money); border: 0; border-radius: 0; }
.ez-acc__slide::-moz-range-thumb { width: 9px; height: 18px; background: var(--ez-c-money); border: 0; border-radius: 0; }
body.ez .ez-acc__slide:focus-visible { outline: none; }
.ez-acc__slide:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--ez-ground), 0 0 0 4px var(--ez-text); }
.ez-acc__slide:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--ez-ground), 0 0 0 4px var(--ez-text); }
.ez-crew__sum { margin-right: 8px; font: 400 15px/1 var(--ez-body); letter-spacing: 0; text-transform: none; color: var(--ez-text-2); white-space: nowrap; }
.ez-crew__sum .ez-n { margin-left: 3px; font-size: 22px; color: var(--ez-c-money); }
.ez-crew__sum.is-off, .ez-crew__sum.is-off .ez-n { color: var(--ez-c-bad); }
.ez-crew__take { display: grid; gap: 6px; margin-top: 16px; }
.ez-crew__bar { display: block; height: 6px; background: var(--ez-rule); }
.ez-crew__bar span { display: block; height: 100%; width: calc(var(--v, 0) * 1%); background: var(--ez-c-money); transition: width .12s ease; }
.ez-crew.is-over .ez-crew__bar span { background: var(--ez-c-bad); }
.ez-crew__split { display: flex; justify-content: space-between; gap: 12px; font-size: var(--ez-fs-label); color: var(--ez-text-2); }
.ez-crew__split b { color: var(--ez-text); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .ez-acc, .ez-crew__bar span { transition: none; } }
/* The inventory: four blocks, each its own ground, a two-column list, empty rows grey and last. */
.ez-inv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ez-inv__group { min-width: 0; padding: 12px 14px 10px; border: 1px solid var(--ez-rule); border-top: 3px solid var(--ez-text-2); background: #1b1d1a; }
.ez-inv__group:nth-child(2) { background: #1e1b17; }
.ez-inv__group:nth-child(3) { background: #1d1a1f; }
.ez-inv__group:nth-child(4) { background: #181c1e; }
[data-theme="light"] .ez-inv__group { background: var(--ez-ground-2); }
.ez-inv__group > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--ez-rule);
  font: 800 19px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; color: var(--ez-text); cursor: pointer; }
.ez-inv__group > summary::-webkit-details-marker { display: none; }
.ez-inv dl { margin: 6px 0 0; }
.ez-inv dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 3px 0; font-size: 15px; }
.ez-inv dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-inv dd { margin: 0; text-align: right; }
.ez-inv dd .ez-n { font-size: 17px; text-decoration: none; }
body.ez .ez-inv dd a.ez-n:hover { text-decoration: underline; }
.ez-inv .ez-zero dt, .ez-inv .ez-zero .ez-n { color: var(--ez-text-2); opacity: .75; }
/* Weapons: grenades, the guns, Kevlar, a quiet dotted rule between each kind. */
.ez-inv dl > .ez-inv__split { margin-top: 5px; padding-top: 8px; border-top: 1px dotted var(--ez-rule); }
/* The foot: the membership sell beside a quiet list of who is on. */
.ez-confoot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; margin-top: 32px; }
.ez-confoot > :only-child { grid-column: 1 / -1; }
.ez-member .ez-stamp { color: var(--ez-on-paper); }
body.ez .ez-member__h { margin: 18px 0 8px; }
.ez-member p { max-width: 46ch; }
.ez-online .ez-h3 { padding-bottom: 8px; border-bottom: 1px solid var(--ez-rule); margin-bottom: 10px; }
.ez-online .ez-h3 .ez-n { font-size: 18px; }
.ez-names { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 18px; }
.ez-names li { min-width: 0; }
.ez-names .ez-uname { font-size: 15px; }
.ez-names__more { margin-top: 10px; }
.ez-names__more > summary { cursor: pointer; color: var(--ez-text-2); font-weight: 700; }
.ez-names__more .ez-names { margin-top: 8px; }
@media (min-width: 768px) and (max-width: 1199px) { .ez-inv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .ez-confoot { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 767px) {
  .ez-accrow { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 8px; }
  .ez-acc { padding: 0; }
  .ez-acc:last-child { grid-column: 1 / -1; }
  .ez-crewhead { flex-wrap: wrap; }
  .ez-inv { grid-template-columns: 1fr; gap: 6px; }
  .ez-inv__group { padding: 0 12px; }
  .ez-inv__group > summary { min-height: 48px; padding: 0; border-bottom: 0; }
  .ez-inv__group[open] > summary { border-bottom: 1px solid var(--ez-rule); }
  .ez-inv__group > summary::after { content: "+"; font: 800 22px/1 var(--ez-numbers); color: var(--ez-text-2); }
  .ez-inv__group[open] > summary::after { content: "\2212"; }
  .ez-inv__group dl { padding-bottom: 8px; }
  .ez-crewhead .ez-btn--sm { min-height: 40px; padding: 0 10px; font-size: 15px; }
}

/* 14.2 Shared helpers for this pass. */
.ez-phone-only { display: none; }
@media (max-width: 767px) { .ez-phone-only { display: inline; } }

/* 14.3 Airport: the board (two groups, plain names, the price once per group) beside the trip card. */
.ez-air { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 36px; align-items: start; }
.ez-air__group + .ez-air__group { margin-top: 22px; }
.ez-air__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ez-text-2); margin: 0 0 8px; }
.ez-air__price { font: 600 var(--ez-fs-small)/1.2 var(--ez-body); color: var(--ez-text-2); }
.ez-air__price .ez-n { font-size: 19px; }
.ez-air__cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 0 14px; }
.ez-air__cities li { min-width: 0; border-bottom: 1px solid var(--ez-rule); }
.ez-air__cities a, .ez-air__cities span { display: block; padding: 6px 6px;white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; font-weight: 600; }
body.ez .ez-air__cities a { text-decoration: none; }
body.ez .ez-air__cities a:hover { background: var(--ez-ground-2); }
body.ez .ez-air__cities a[aria-current="true"] { background: var(--ez-sel); color: var(--ez-hot-text); }
.ez-air__cities .ez-air__cont { grid-column: 1 / -1; border: 0; padding: 12px 0 2px; font: 600 12px/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-text-2); }
.ez-air__group.is-short .ez-air__cities span { color: var(--ez-text-2); opacity: .7; cursor: not-allowed; }
.ez-air__side { position: sticky; top: 16px; min-width: 0; }
.ez-air__side > .ez-notice--here { margin: 0 0 18px !important; }
.ez-air__none .ez-h2 { margin: 6px 0 8px; }
.ez-air__city { margin: 4px 0 6px; font: 900 40px/.95 var(--ez-display); text-transform: uppercase; overflow-wrap: anywhere; }
.ez-air__cost { margin: 0 0 10px !important; font-size: 17px; }
.ez-air__cost .ez-n { font-size: 28px; }
.ez-air__who { margin: 0 !important; }
.ez-air__who .ez-n { font-size: 19px; }
.ez-air__leave { margin-top: 10px; }
.ez-air__leave > summary { cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; width: max-content; }
.ez-air__boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px 12px; margin-top: 10px; }
.ez-air__boxes .ez-input { min-height: 42px; font-size: 19px; }
.ez-air__lose { margin: 10px 0 0 !important; color: var(--ez-c-bad); font-weight: 700; }
.ez-air__card .ez-acts .ez-btn { flex: 1 1 auto; }
@media (max-width: 899px) {
  .ez-air { grid-template-columns: 1fr; gap: 24px; }
  .ez-air__side { position: static; }
}
@media (max-width: 767px) {
  .ez-air__cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .ez-air__cities a, .ez-air__cities span { padding: 9px 2px; font-size: 14px; }
  .ez-air__city { font-size: 32px; }
}

/* 14.4 Downtown: the ez-dt map from mmpires (DESIGN_SYSTEM "Downtown map"), with this build's gold bars on every tile.
   Landing: a small map of the sixteen blocks on the city drawing, and beside it the read of it (where you stand, what
   to do next, the key with its counts). Locals dark, another player's block on held ground, yours the bone flyer with
   the orange ring. Picked: the map folds to a small numbered map and the block gets the room, as one working surface:
   who holds it, what stands on it (Guard it), what you do with it (Work it, or Take it). On a phone the map comes first. */
.ez-dt { --ez-held: #4b463d; --ez-held-hi: #433e36; display: grid; gap: 32px; align-items: start; }
.ez-dt--landing { grid-template-columns: minmax(0, 420px) minmax(240px, 360px); column-gap: clamp(56px, 9vw, 132px); }
.ez-dt--picked { grid-template-columns: 216px minmax(0, 600px); gap: 44px; }
.ez-dt__map, .ez-dt__read, .ez-dt__panel { min-width: 0; }
.ez-map { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ez-map > li { display: contents; }
.ez-tile { position: relative; display: flex; flex-direction: column; min-width: 0; aspect-ratio: 1 / 1; padding: 7px 8px 0; overflow: hidden;
  background: var(--ez-ink-2); color: var(--ez-bone); --ez-c-count: var(--ez-v-count); --ez-c-money: var(--ez-v-money); --ez-c-2: var(--ez-bone-2); --ez-c-turns: var(--ez-v-turns); }
body.ez a.ez-tile { text-decoration: none; color: var(--ez-bone); }
.ez-tile:hover { background: var(--ez-sel); }
.ez-tile__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.ez-tile__no { font: 800 22px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; }
.ez-tile__fat { flex: none; width: 20px; height: 15px; }
.ez-tile__thugs { container-type: inline-size; margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; min-width: 0;
  color: var(--ez-c-2); font: 600 12px/1.1 var(--ez-body); font-stretch: 80%; }
.ez-tile__thugs .ez-n { font-size: min(17px, 15cqi); }
/* The holder's name: plain words at the tile's foot on the landing; a thin strip of his colour on the picked map. */
.ez-tile__band { flex: none; display: flex; align-items: center; gap: 5px; height: 22px; min-width: 0; overflow: hidden; margin-top: auto;
  color: var(--ez-bone); font: 700 12px/1 var(--ez-body); font-stretch: 75%; white-space: nowrap; }
.ez-tile__thugs + .ez-tile__band { margin-top: 0; }
.ez-tile__band .ez-who, .ez-tile__band .ez-uname { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ez-tile__band .ez-uname { font-weight: 700; }
.ez-tile--yours .ez-tile__band { text-transform: uppercase; letter-spacing: .08em; }
.ez-tile--locals .ez-tile__band { visibility: hidden; }
.ez-tile--held { background: var(--ez-held); --ez-c-2: var(--ez-bone); --ez-c-count: #ffcf8a; --ez-c-turns: #ffdcc4; }   /* counts pale amber 6.5:1, turns pale peach 7.3:1 */
.ez-tile--held:hover { background: var(--ez-held-hi); }
body.ez a.ez-tile--yours { background: var(--ez-bone); color: var(--ez-ink); --ez-c-count: var(--ez-v-count-p); --ez-c-money: var(--ez-v-money-p); --ez-c-2: var(--ez-paper-2); --ez-c-turns: var(--ez-v-turns-p); }
body.ez a.ez-tile--yours:hover { background: var(--ez-paper-hi); }
.ez-tile--yours .ez-tile__band { color: var(--ez-ink); }
.ez-tile[aria-current="true"]::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--ez-hot); pointer-events: none; }
.ez-tile--yours[aria-current="true"]::after { box-shadow: inset 0 0 0 2px var(--ez-ink); }
.ez-tile--locals[aria-current="true"] { background: var(--ez-sel); }
.ez-tile--locals[aria-current="true"] .ez-tile__no { color: var(--ez-hot); }
/* The read of the map, beside it: where you stand in one line, the next step, then the key with its counts. */
body.ez .ez-dt__lead { margin: 0; font: 800 30px/1.05 var(--ez-numbers); letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
body.ez .ez-dt__next { margin: 14px 0 0; max-width: 32em; color: var(--ez-text); }
.ez-dt__key { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ez-text-2); font-size: var(--ez-fs-small); }
.ez-dt__key li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; max-width: 260px; }
.ez-dt__key li > .ez-n { color: var(--ez-text); font-size: 20px; line-height: 1; }
.ez-dt__key i { width: 18px; height: 18px; background: var(--ez-ink-2); box-shadow: inset 0 0 0 1px rgb(236 229 211 / .30); }
.ez-dt__key i.is-held { background: var(--ez-held); }
.ez-dt__key i.is-yours { background: var(--ez-bone); box-shadow: none; }
.ez-dt__key .ez-tile__fat { width: 18px; height: 14px; }
.ez-dt__keyfat { margin-top: 4px; }
/* Picked: the map shrinks to numbers and a thin strip of the holder's colour; the panel gets the room. */
.ez-dt--picked .ez-map { gap: 4px; }
.ez-dt--picked .ez-tile { padding: 5px 6px 0 7px; }
.ez-dt--picked .ez-tile__no { font-size: 17px; }
.ez-dt--picked .ez-tile__fat { width: 14px; height: 11px; }
.ez-dt--picked .ez-tile__thugs { display: none; }
.ez-dt--picked .ez-tile__band { visibility: visible; height: 6px; margin: auto -6px 0 -7px; padding: 0; font-size: 0; background: #3a362f; }
.ez-dt--picked .ez-tile--held .ez-tile__band { background: var(--ez-bone-2); }
.ez-dt--picked .ez-tile--yours .ez-tile__band { background: var(--ez-ink); }
.ez-dt--picked .ez-tile__band > * { display: none; }
.ez-dt--picked .ez-tile--yours[aria-current="true"]::after { box-shadow: none; }
/* The block: its number and who holds it on one row; under it, quiet, its name and its businesses (figure over word).
   Then the working sheet: one raised surface, a row for each thing you do to the block in the order you do it (Guard,
   Work), the one button at its foot. One language throughout: every row's label in the same small caps on
   the left, every figure first on the right in the numbers face, every control 40px high, 18px between rows. */
.ez-dt__top { display: flex; align-items: baseline; gap: 14px; }
.ez-dt__no { flex: none; font: 900 40px/.9 var(--ez-numbers); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
body.ez .ez-dt__holder { flex: 1 1 auto; min-width: 0; margin: 0; font-weight: 600; }
.ez-dt__holder .ez-who, .ez-dt__holder .ez-uname { max-width: 100%; }
.ez-dt__about { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 28px; margin-top: 12px; }
body.ez .ez-dt__name { margin: 0; max-width: 100%; color: var(--ez-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-dt__biz { display: flex; gap: 22px; margin: 0; }
.ez-dt__biz > div { display: flex; flex-direction: column-reverse; gap: 3px; }
.ez-dt__biz dd { margin: 0; color: var(--ez-text-2); font: 700 15px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ez-dt__biz dt { color: var(--ez-text-2); font-size: 11px; line-height: 1; letter-spacing: .04em; opacity: .8; }
.ez-dt__work { container-type: inline-size; }
.ez-dt__sheet { margin-top: 20px; background: var(--ez-ground-2); border: 1px solid rgb(236 229 211 / .12); }
.ez-dt__row { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 16px; padding: 18px 20px; }
.ez-dt__row + .ez-dt__row, .ez-dt__form .ez-dt__row { border-top: 1px solid rgb(236 229 211 / .08); }
.ez-dt__sheet > :first-child, .ez-dt__sheet > .ez-dt__form:first-child > .ez-dt__row:first-of-type { border-top: 0; }
body.ez .ez-dt__rk { margin: 0; color: var(--ez-text-2); font: 700 12px/40px var(--ez-body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ez-dt__rv { min-width: 0; }
.ez-dt__line { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
body.ez .ez-dt__fig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 0; min-height: 40px; align-content: center; color: var(--ez-text); font-weight: 600; }
.ez-dt__fig .ez-n { font: 800 26px/1 var(--ez-numbers); }
.ez-dt__figsub { flex-basis: 100%; margin-top: 4px; color: var(--ez-text-2); font-size: var(--ez-fs-small); font-weight: 500; }
.ez-dt__row.is-locked .ez-dt__fig { color: var(--ez-text-2); font-weight: 500; }
/* Small text buttons: Change, None, Half, All. */
body.ez .ez-dt__pick { min-height: 32px; padding: 0 2px; border: 0; background: none; color: var(--ez-text-2); font: 600 var(--ez-fs-small)/1 var(--ez-body);
  text-decoration: underline; text-decoration-color: rgb(236 229 211 / .3); text-underline-offset: 3px; cursor: pointer; }
body.ez .ez-dt__pick:hover { color: var(--ez-text); text-decoration-color: currentColor; }
body.ez .ez-dt__change { color: var(--ez-text); font-size: 15px; }
/* Guard, open: the box and the slider on one line, what it is and None, Half, All under them, then what is left at home. */
.ez-dt__guardedit { margin-top: 10px; }
.ez-dt__amount { display: grid; grid-template-columns: 7em minmax(0, 1fr); grid-template-areas: "box range" "lbl picks"; align-items: center; gap: 6px 16px; }
.ez-dt__amount > .ez-input { grid-area: box; }
.ez-dt__amount > .ez-dt__range { grid-area: range; }
.ez-dt__amount > .ez-dt__amountlbl { grid-area: lbl; }
.ez-dt__amount > .ez-dt__picks { grid-area: picks; justify-content: space-between; }
.ez-dt__amount:not(:has(.ez-dt__range:not([hidden]))) > .ez-dt__picks { grid-area: range; justify-content: flex-start; }
.ez-dt__rv .ez-input { width: 100%; max-width: none; min-height: 40px; height: 40px; padding-block: 0; font-size: 20px; }
.ez-dt__amountlbl { color: var(--ez-text-2); font-size: var(--ez-fs-small); white-space: nowrap; }
.ez-dt__picks { display: flex; gap: 14px; }
body.ez .ez-dt__home { margin: 12px 0 0; color: var(--ez-text-2); font-size: var(--ez-fs-small); }
.ez-dt__home .ez-n { color: var(--ez-text); font-weight: 700; }
body.ez .ez-dt__home.is-short, .ez-dt__home.is-short .ez-n { color: var(--ez-c-bad); }
.ez-dt__guns { margin-top: 10px; }
.ez-dt__guns > summary { display: list-item; min-height: 32px; line-height: 32px; cursor: pointer; color: var(--ez-text-2); font-size: var(--ez-fs-small); font-weight: 600; }
.ez-dt__guns > summary:hover { color: var(--ez-text); }
.ez-dt__crew { display: grid; grid-template-columns: 7em auto auto; justify-content: start; align-items: center; gap: 8px 16px; margin-top: 8px; }
.ez-dt__crew--name { grid-template-columns: minmax(0, 1fr) auto; justify-content: stretch; }
.ez-dt__save { min-height: 40px; margin-top: 14px; padding: 0 20px; font-size: 19px; box-shadow: none; border-width: 2px; }
/* Work: one line that reads as what you are about to do: Extort (or the Extort / Launder pair) for [turns] turns. */
.ez-dt__do { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ez-dt__verb { font: 800 22px/40px var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.ez-dt__for { color: var(--ez-text-2); }
.ez-dt__when { display: inline-flex; align-items: center; gap: 10px; }
.ez-dt__seg { display: inline-flex; border: 1px solid rgb(236 229 211 / .25); }
.ez-dt__seg input { position: absolute; opacity: 0; pointer-events: none; }
.ez-dt__seg label { display: inline-grid; place-items: center; min-width: 46px; height: 38px; padding: 0 12px; cursor: pointer; color: var(--ez-text-2);
  font: 800 18px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; }
.ez-dt__seg label + input + label { border-left: 1px solid rgb(236 229 211 / .14); }
.ez-dt__seg label:hover { color: var(--ez-text); }
.ez-dt__seg input:checked + label { background: var(--ez-text); color: var(--ez-ground); }
.ez-dt__seg input:focus-visible + label { outline: 3px solid var(--ez-text); outline-offset: 2px; }
.ez-dt__seg input:disabled + label { color: rgb(236 229 211 / .3); cursor: not-allowed; }
/* The foot of the sheet: the answer to the last press, the one button, and when it is grey, why, under it. */
.ez-dt__gorow { padding: 2px 20px 20px; }
.ez-dt__go { margin: 0; }
.ez-dt__gorow .ez-dt__go { min-height: 56px; }
.ez-dt__gorow .ez-dt__go:disabled { border: 2px solid color-mix(in srgb, var(--ez-hot) 45%, transparent); background: color-mix(in srgb, var(--ez-hot) 7%, transparent); color: var(--ez-text); }
body.ez .ez-dt__why { margin: 10px 0 0; padding: 0; border: 0; color: var(--ez-text-2); font-size: var(--ez-fs-small); text-align: center; }
.ez-dt__why::before { content: none; }
.ez-dt__why[hidden] { display: none; }
/* The run you just made, over the button you pressed: a raised row, one sentence led by its label. */
.ez-dt__last { margin: 0 0 12px; padding: 8px 12px; background: var(--ez-ground); }
.ez-dt__guardedit .ez-dt__last { margin: 14px 0 0; }
.ez-dt__last .ez-label { display: inline; margin-right: 8px; }
body.ez .ez-dt__last p { display: inline; margin: 0; }
/* 14.4a A work run that went through (downtown.php $answer with the run, rules/territory.php block_work_result): what
   is his in the big money figure, where the rest went under it as quiet label-over-figure pairs that wrap, then the
   line that tells him what to do. Nothing here but this state. */
.ez-dt__last:has(> .ez-dt__keep) { padding: 12px 16px; }
.ez-dt__last:has(> .ez-dt__keep) > .ez-label { display: block; margin: 0 0 6px; }
body.ez .ez-dt__last .ez-dt__keep { display: block; color: var(--ez-text-2); font-size: var(--ez-fs-body); line-height: 1.1; }
.ez-dt__keep .ez-n { margin-right: 2px; font-size: var(--ez-fs-big); vertical-align: -2px; }
body.ez .ez-dt__last .ez-dt__split { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 12px 0 0; }
body.ez .ez-dt__last .ez-dt__split:has(> .ez-dt__part:nth-child(4)) { display: grid; grid-template-columns: repeat(2, max-content); }
.ez-dt__part { display: inline-flex; flex-direction: column; gap: 3px; }
.ez-dt__pk { color: var(--ez-text-2); font-size: var(--ez-fs-label); white-space: nowrap; }
.ez-dt__part .ez-n { color: var(--ez-text); font-size: 18px; }
body.ez .ez-dt__last .ez-dt__runnote { display: block; margin: 10px 0 0; line-height: 1.35; color: var(--ez-text-2); font-size: var(--ez-fs-small); }
body.ez .ez-dt__last .ez-dt__runnote.is-warn { color: var(--ez-c-warn); }
body.ez .ez-dt__last .ez-dt__runnote + .ez-dt__runnote { margin-top: 4px; }
.ez-dt__kw { white-space: nowrap; }
@media (max-width: 560px) {
  .ez-dt__keep .ez-n { font-size: 26px; }
  body.ez .ez-dt__last .ez-dt__split { gap: 8px 18px; }
  .ez-dt__part .ez-n { font-size: 15px; }
}
/* 14.4a end */
@media (max-width: 560px) {
  .ez-dt__crew { grid-template-columns: 6em auto auto; column-gap: 12px; }
  .ez-dt__crew--name { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) { .ez-dt--landing { grid-template-columns: minmax(0, 420px); gap: 24px; } }
@media (min-width: 768px) and (max-width: 1199px) { .ez-dt--picked { grid-template-columns: 196px minmax(0, 1fr); gap: 32px; } }
/* Phone: no banner, no gutter; the map runs edge to edge and the read sits under it; picked folds the map to a
   numbered strip above the block. */
@media (max-width: 767px) {
  body.ez--wide .ez-banner { display: none; }
  body.ez--wide .ez-shell { padding: 0; }
  body.ez--wide .ez-footnotes { margin-left: var(--ez-gutter); margin-right: var(--ez-gutter); }
  .ez-dt, .ez-dt--landing, .ez-dt--picked { display: block; padding: 0 0 24px; }
  .ez-dt--landing .ez-map { gap: 3px; padding: 3px; }
  .ez-dt--landing .ez-tile { padding: 6px 6px 0; }
  .ez-tile__no { font-size: 20px; }
  .ez-tile__w { display: none; }
  .ez-tile__band { height: 20px; gap: 4px; font-size: 11px; }
  .ez-tile--yours .ez-tile__band { letter-spacing: .05em; }
  .ez-dt__read { padding: 18px var(--ez-gutter) 0; }
  body.ez .ez-dt__lead { font-size: 24px; }
  body.ez .ez-dt__next { margin-top: 8px; }
  .ez-dt__key { margin-top: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
  .ez-dt__key li { max-width: none; grid-template-columns: 18px auto auto; justify-content: start; }
  .ez-dt__keyfat { margin-top: 0; }
  .ez-dt--picked .ez-map { gap: 3px; padding: 3px; }
  .ez-dt--picked .ez-tile { aspect-ratio: auto; height: 40px; padding: 4px 6px 0; }
  .ez-dt--picked .ez-tile__no { font-size: 17px; }
  .ez-dt--picked .ez-tile__band { height: 5px; margin: auto -6px 0; }
  .ez-dt__panel { margin-top: 6px; padding: 16px var(--ez-gutter) 0; border-top: 2px solid var(--ez-text); }
  .ez-dt__no { font-size: 34px; }
  .ez-dt__top { flex-wrap: wrap; row-gap: 4px; }
  body.ez .ez-dt__top .ez-dt__holder { order: 3; flex-basis: 100%; }
  .ez-dt__top .ez-link { margin-left: auto; }
  .ez-dt__about { gap: 8px 20px; }
  .ez-dt__sheet { margin-top: 16px; }
  .ez-dt__row { grid-template-columns: minmax(0, 1fr); padding: 14px 16px 16px; }
  body.ez .ez-dt__rk { line-height: 1; margin-bottom: 8px; }
  .ez-dt__gorow { padding: 0 16px 16px; }
  .ez-dt__amount { grid-template-columns: 6em minmax(0, 1fr); column-gap: 14px; }
  .ez-dt__seg label { min-width: 0; padding: 0 10px; }
  .ez-dt__when { flex: 1 1 100%; }
  .ez-dt__verb, .ez-dt__when > .ez-dt__for:first-child { display: none; }
  .ez-dt__runs { flex: 1 1 auto; }
  .ez-dt__runs label { flex: 1 1 0; }
  .ez-dt__gorow .ez-dt__go { position: sticky; z-index: 5; bottom: calc(var(--ez-tabs-h) + 8px + env(safe-area-inset-bottom)); box-shadow: 0 0 0 8px var(--ez-ground-2); }
}

/* The city under the grid (mmpires public/css/ez-citymap.css, map b): the grid's gaps become streets, the city runs on
   past the 16 blocks and fades out, blocks one player holds side by side join across the street, each block carries
   its buildings (tpl/citymap.php). No blue: blue is the police. */
.ez-dt--map { --cm-gap: 9px; position: relative; isolation: isolate; }
.ez-dt--map.ez-dt--picked { --cm-gap: 5px; }
.ez-dt--map .ez-map { gap: var(--cm-gap); }
.ez-cwrap { position: relative; }
.ez-cmap { position: absolute; left: -37.5%; top: -37.5%; width: 175%; height: 175%; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%), linear-gradient(to bottom, transparent 20%, #000 21.4%, #000 79%, transparent 83%), linear-gradient(to right, transparent 19.6%, #000 21.4%);
  -webkit-mask-composite: source-in, source-in;
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%), linear-gradient(to bottom, transparent 20%, #000 21.4%, #000 79%, transparent 83%), linear-gradient(to right, transparent 19.6%, #000 21.4%);
  mask-composite: intersect; }
.ez-cmap .cm-st { stroke: #26231f; stroke-width: 14; }
.ez-cmap .cm-dash { stroke: #3a362f; stroke-width: 1; stroke-dasharray: 5 6; }
.ez-cmap .cm-blk { fill: #181715; stroke: #36322b; stroke-width: 1; }
.ez-cmap .cm-lot { fill: #211f1b; stroke: #2f2b26; stroke-width: .6; }
.ez-cmap .cm-park { fill: url(#cm-trees); stroke: #2c2924; stroke-width: 1; }
.ez-cmap .cm-tree { fill: #33332a; }
.ez-cmap .cm-river { fill: #0b0a09; stroke: #3a362f; stroke-width: 1.2; }
.ez-cmap .cm-river--hatch { fill: url(#cm-hatch); stroke: none; }
.ez-cmap .cm-hatch { stroke: #1d1b18; stroke-width: 1.4; }
.ez-cmap .cm-name { fill: #6e675b; font: 700 7.5px/1 var(--ez-body); letter-spacing: .14em; }
.ez-cmap .cm-compass path { fill: #6e675b; }
.ez-cmap .cm-compass text { fill: #6e675b; font: 800 8px/1 var(--ez-numbers); text-anchor: middle; }
.ez-dt--picked .ez-cmap .cm-names, .ez-dt--picked .ez-cmap .cm-compass { display: none; }
.ez-dt--map .ez-tile { --cm-c: var(--ez-held); }
.ez-dt--map .ez-tile--yours { --cm-c: var(--ez-bone); }
.ez-dt--map .cm-jr { box-shadow: var(--cm-gap) 0 0 0 var(--cm-c); }
.ez-dt--map .cm-jb { box-shadow: 0 var(--cm-gap) 0 0 var(--cm-c); }
.ez-dt--map .cm-jr.cm-jb { box-shadow: var(--cm-gap) 0 0 0 var(--cm-c), 0 var(--cm-gap) 0 0 var(--cm-c); }
.ez-dt--map .cm-jrb { box-shadow: var(--cm-gap) 0 0 0 var(--cm-c), 0 var(--cm-gap) 0 0 var(--cm-c), var(--cm-gap) var(--cm-gap) 0 0 var(--cm-c); }
/* The buildings on each block: drawn behind the tile's number, count and name. */
.ez-tile__lots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ez-tile__lots rect { fill: rgb(236 229 211 / .055); }
.ez-tile--held .ez-tile__lots rect { fill: rgb(236 229 211 / .09); }
.ez-tile--yours .ez-tile__lots rect { fill: rgb(18 17 16 / .09); }
.ez-tile > :not(.ez-tile__lots) { position: relative; z-index: 1; }
.ez-dt--map .ez-tile { outline: 1px solid rgb(236 229 211 / .22); outline-offset: -1px; cursor: pointer; transition: transform .12s ease, outline-color .12s ease; }
.ez-dt--map .ez-tile:hover, .ez-dt--map .ez-tile:focus-visible { outline: 2px solid var(--ez-bone); outline-offset: -2px; transform: translateY(-2px); z-index: 1; }
.ez-dt--map .ez-tile--yours { outline-color: rgb(18 17 16 / .35); }
.ez-dt--map .ez-tile--yours:hover, .ez-dt--map .ez-tile--yours:focus-visible { outline-color: var(--ez-ink); }
@media (max-width: 767px) { .ez-cmap { display: none; } .ez-dt--map { --cm-gap: 5px; } }
@media (prefers-reduced-motion: reduce) { .ez-dt--map .ez-tile { transition: none; } .ez-dt--map .ez-tile:hover { transform: none; } }
/* The poster's pieces from mmpires' banner (layouts/_page.php): the city chip by the title and chips at the foot.
   mmpires' "?" by the title is not ported: how a page works lives in its footnotes (13, .ez-footnotes). */
.ez-banner__title { display: flex; align-items: center; gap: 12px; }
.ez-banner__tt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ez-banner__city { flex: none; max-width: 40%; margin: 0 !important; padding: 6px 11px 5px; background: var(--ez-ground); color: var(--ez-text);
  font: 800 17px/1 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; transform: rotate(1.5deg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-banner__side { flex: 0 0 auto; max-width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; gap: 8px 18px; margin-left: auto; min-width: 0; }
.ez-banner__foot { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 767px) {
  .ez-banner__city { font-size: 13px; padding: 5px 8px; max-width: 50%; }
  .ez-banner__foot { gap: 6px; }
  .ez-banner__foot .ez-chip { padding: 5px 8px 4px; gap: 6px; }
  .ez-banner__foot .ez-chip > span:first-child { font-size: 11px; }
  .ez-banner__foot .ez-chip b { font-size: 16px; }
}

/* 14.5 The frame, ported from mmpires (layouts/ez.php, _ez_rail.php): the round tag and clock under the wordmark;
   the moods block in the left nav; the phone status strip with the city and five marks that opens to the full card.
   Under the wordmark the round tag and clock are the quiet second line (secondary ink, a hairline box), so the three
   doors beside them carry the bar. */
.ez-gtime { display: flex; align-items: center; gap: 8px; white-space: nowrap; text-transform: uppercase; }
.ez-rtag { padding: 3px 5px 2px; border: 1px solid var(--ez-text-2); color: var(--ez-text); font: 900 12px/1 var(--ez-display); letter-spacing: .06em; }
.ez-clock { color: var(--ez-text); font-variant-numeric: tabular-nums; }
.ez-brand .ez-gtime { font-size: 12px; }
.ez-brand .ez-rtag { border-color: var(--ez-rule); color: var(--ez-text-2); font-size: 11px; }
.ez-brand .ez-clock { color: var(--ez-text-2); }
body.ez .ez-citylink { color: var(--ez-text); text-decoration: none; border-bottom: 2px solid var(--ez-rule); }
body.ez .ez-citylink:hover { border-bottom-color: var(--ez-text); }
.ez-flash { animation: ez-flash 1.4s ease-out; }
@keyframes ez-flash { 0% { background: var(--ez-text); color: var(--ez-ground); box-shadow: 0 0 0 3px var(--ez-text); } 100% { background: transparent; box-shadow: 0 0 0 3px transparent; } }
/* The moods block, closing the left nav's first group: dots on one line, the word under them; the rows open to the right. */
.ez-moods { position: relative; }
.ez-side .ez-moods--nav { margin: 6px 0 2px; }
.ez-moods__sum { display: grid; justify-items: start; gap: 6px; width: 100%; padding: 8px 12px; background: none; border: 1px solid transparent; color: var(--ez-text); cursor: pointer; text-align: left; }
.ez-moods__sum:hover, .ez-moods.is-open .ez-moods__sum { border-color: var(--ez-rule); background: var(--ez-ground-2); }
.ez-moods__dots { display: inline-flex; align-items: center; gap: 6px; }
.ez-moods__dots .ez-mk { width: 18px; height: 18px; }
.ez-moods__dots .ez-mk--none { height: 2px; }
.ez-moods__fat { padding-left: 6px; margin-left: 1px; border-left: 1px solid var(--ez-rule); display: inline-flex; }
.ez-moods__lbl { font-size: var(--ez-fs-micro); }
.ez-moods__panel { display: none; position: absolute; z-index: 26; left: calc(100% + 8px); top: 0; min-width: 250px; margin: 0; padding: 8px 12px; list-style: none;
  background: var(--ez-ground); border: 2px solid var(--ez-text-2); box-shadow: 4px 4px 0 var(--ez-rule); }
.ez-moods:hover .ez-moods__panel, .ez-moods:focus-within .ez-moods__panel, .ez-moods.is-open .ez-moods__panel { display: grid; gap: 6px; }
.ez-moods__panel li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.ez-moods__panel li .ez-v-count { font-size: 15px; margin-left: 4px; }
.ez-moods__panel .ez-n { font-size: 16px; }
.ez-moods__fatrow { padding-bottom: 6px; border-bottom: 1px solid var(--ez-rule); }
/* The phone status strip under the header. */
.ez-strip { display: none; }
@media (min-width: 768px) and (max-width: 1199px) {
  .ez-moods--nav .ez-moods__sum { justify-items: center; padding: 8px 0; }
  .ez-moods--nav .ez-moods__dots { flex-direction: column; gap: 5px; }
  .ez-moods--nav .ez-moods__fat { padding: 5px 0 0; margin: 0; border-left: 0; border-top: 1px solid var(--ez-rule); }
  .ez-moods--nav .ez-moods__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 767px) {
  .ez-gtime { display: flex; font-size: 11px; gap: 6px; }
  .ez-gtime .ez-clock { display: none; }
  .ez-rtag, .ez-brand .ez-rtag { font-size: 10px; }
  .ez-strip { display: block; border-top: 1px solid var(--ez-rule); border-bottom: 2px solid var(--ez-rule); }
  .ez-strip__in { list-style: none; padding: 0 var(--ez-gutter); min-height: 40px; display: flex; align-items: center; gap: 12px; overflow: hidden; cursor: pointer; }
  .ez-strip__in::-webkit-details-marker { display: none; }
  .ez-strip__city { flex: 1 1 auto; min-width: 0; font: 700 15px/1.2 var(--ez-body); font-stretch: 80%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ez-strip__peek { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border: 1px solid var(--ez-hot); border-radius: 3px; color: var(--ez-hot); font: 800 11px/1 var(--ez-display); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
  .ez-strip__moods { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex: none; }
  .ez-strip__moods li { display: flex; align-items: center; gap: 4px; }
  .ez-strip__moods .ez-n { display: none; font-size: 14px; }
  .ez-strip__moods li[data-level="low"] .ez-n { display: inline; }
  .ez-railcard { display: grid; gap: 8px; padding: 12px var(--ez-gutter) 16px; border-top: 1px solid var(--ez-rule); font-size: 15px; }
  .ez-railcard p { margin: 0 !important; }
  .ez-railcard ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .ez-railcard li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .ez-flash { animation: none; outline: 2px solid var(--ez-text); outline-offset: 2px; } }
/* 14.6 LOOP PAGES (Black Market, Adopt, Recruit, Drug Ops, Stash House, Card Pit) */
/* 14.6a Black Market and Adopt, ported from mmpires public/css/market.css: the directory, the shopping list, the shop
   row, the Buy | Sell switch, one list with both prices and quick picks per item, the order pinned to the bottom. */
.mk { container: mk / inline-size; }
.mk [hidden] { display: none !important; }
.mk-dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
body.ez a.mk-dir__shop { text-decoration: none; }
.mk-dir__shop { display: grid; grid-template-rows: auto 1fr; gap: 14px; padding: 16px 18px 18px; text-align: left; cursor: pointer;
  background: var(--ez-ground-2); border: 2px solid var(--ez-rule); color: var(--ez-text); font: inherit; }
.mk-dir__shop:hover { border-color: var(--ez-hot); background: var(--ez-sel); }
.mk-dir__shop:focus-visible { outline: 3px solid var(--ez-hot); outline-offset: 2px; }
.mk-dir__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 2px solid var(--ez-rule); }
.mk-dir__head .ph { grid-row: 1 / span 2; font-size: 30px; color: var(--ez-text-2); }
.mk-dir__shop:hover .mk-dir__head .ph { color: var(--ez-hot); }
.mk-dir__name { font: 800 22px/1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-dir__kind { margin-top: 4px; font-size: var(--ez-fs-small); color: var(--ez-text-2); }
.mk-dir__stock { display: grid; gap: 5px; align-content: start; }
.mk-dir__item { display: flex; justify-content: space-between; gap: 12px; font-size: var(--ez-fs-small); color: var(--ez-text-2); }
.mk-dir__item b { font: 700 16px/1.1 var(--ez-numbers); color: var(--ez-c-count); font-variant-numeric: tabular-nums; }
.mk-dir__item.is-out b { color: var(--ez-text-2); opacity: .55; }
.mk-dir__shop--adopt .mk-dir__item:nth-child(2) b { color: var(--ez-c-money); }
.mk-need { margin: 0 0 18px; padding: 10px 18px 2px; background: var(--ez-ground-2); border: 2px solid var(--ez-text-2); }
.mk-need__head { padding-bottom: 8px; border-bottom: 2px solid var(--ez-rule); }
.mk-need__h { margin: 0; font: 800 20px/1.1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; color: var(--ez-text); }
.mk-need__all { display: grid; grid-template-columns: minmax(0, 1fr) 15ch 12ch 168px; column-gap: 18px; align-items: baseline; margin: 0; padding: 8px 0;
  border-top: 2px solid var(--ez-rule); font-size: var(--ez-fs-small); color: var(--ez-text-2); white-space: nowrap; }
.mk-need__alll { grid-column: 1 / 3; font-stretch: 75%; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mk-need__all .ez-n { grid-column: 3; text-align: right; font: 800 22px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; }
.mk-allres { margin: 0 0 12px !important; font-weight: 700; color: var(--ez-c-good); }
.mk > .ez-notice--here { margin: 0 0 14px !important; }
.mk-allres.is-bad { color: var(--ez-c-bad); }
.mk-need__list { margin: 0; padding: 0; list-style: none; }
.mk-need__row { display: grid; grid-template-columns: minmax(0, 1fr) 15ch 12ch 168px; column-gap: 18px; align-items: center; padding: 6px 0; }
.mk-need__row + .mk-need__row { border-top: 1px solid var(--ez-rule); }
.mk-need__what { display: grid; min-width: 0; }
.mk-need__name, .mk-need__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-need__name { font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--ez-text); }
.mk-need__sub { font-size: var(--ez-fs-small); line-height: 1.35; color: var(--ez-text-2); }
.mk-need__short { font-size: var(--ez-fs-small); color: var(--ez-text-2); white-space: nowrap; }
.mk-need__short b, .mk-need__cost b { font: 800 20px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; }
.mk-need__short b { margin-right: 4px; }
.mk-need__cost { text-align: right; white-space: nowrap; }
.mk-need__act { display: flex; justify-content: flex-end; }
.mk-need__add { width: 100%; justify-content: center; white-space: nowrap; }
@container mk (max-width: 699px) {
  .mk-need { padding: 10px 12px 2px; }
  .mk-need__row { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 6px; column-gap: 14px; }
  .mk-need__what { grid-column: 1 / -1; }
  .mk-need__name, .mk-need__sub { white-space: normal; }
  .mk-need__cost { text-align: left; }
  .mk-need__add { width: auto; }
  .mk-need__all { display: flex; flex-wrap: wrap; gap: 10px; }
}
.mk-shops { display: flex; align-items: stretch; gap: 0 24px; margin: 0 0 16px; border-bottom: 2px solid var(--ez-rule); overflow-x: auto; scrollbar-width: none; }
body.ez .mk-shops a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0 12px; margin-bottom: -2px; border-bottom: 3px solid transparent; text-decoration: none;
  color: var(--ez-text-2); font: 700 17px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
body.ez .mk-shops a:hover { color: var(--ez-text); }
body.ez .mk-shops a[aria-current="page"] { color: var(--ez-text); border-bottom-color: var(--ez-hot); }
body.ez .mk-shops .mk-shops__all { padding-right: 20px; border-right: 2px solid var(--ez-rule); margin-right: -4px; }
.mk-shops__all .ph { font-size: 18px; }
body.ez .mk-shops .mk-shops__adopt { margin-left: auto; }
@container mk (max-width: 899px) { body.ez .mk-shops .mk-shops__adopt { margin-left: 0; } }
.mk-desk { background: var(--ez-ground-2); border: 2px solid var(--ez-rule); padding: 16px 18px 0; min-width: 0; }
.mk-mode { display: inline-grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ez-text-2); margin-bottom: 10px; }
body.ez .mk-mode a { display: flex; align-items: center; justify-content: center; min-width: 120px; min-height: 44px; padding: 0 22px; color: var(--ez-text-2); text-decoration: none;
  font: 800 20px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }
body.ez .mk-mode a + a { border-left: 2px solid var(--ez-text-2); }
body.ez .mk-mode a:hover { color: var(--ez-text); }
body.ez .mk-mode a[aria-pressed="true"] { background: var(--ez-text); color: var(--ez-ground); }
.mk-table { display: grid; grid-template-columns: minmax(0, 1fr) 96px 84px 96px max-content; column-gap: 18px; width: 100%; }
.mk-table thead, .mk-table tbody { display: contents; }
.mk-table tr { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; }
.mk-table thead tr { padding: 8px 0; border-bottom: 2px solid var(--ez-rule); }
.mk-table thead th { text-align: left; }
.mk-table thead th.mk-have, .mk-table thead th.mk-price { text-align: right; }
.mk-row { padding: 12px 0; border-bottom: 1px solid var(--ez-rule); }
.mk-row:last-child { border-bottom: 0; }
.mk-row > * { min-width: 0; }
.mk-item { text-align: left; font-weight: 400; }
.mk-itemin { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; }
.mk-ico { grid-row: 1 / span 2; display: inline-flex; }
.mk-itemin > .mk-name:first-child, .mk-itemin > .mk-name:first-child + .mk-note { grid-column: 1 / -1; }
.mk-name { font: 800 var(--ez-fs-h3)/1.1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; color: var(--ez-text); }
.mk-note { font-size: var(--ez-fs-small); color: var(--ez-text-2); }
.mk-row .mk-have, .mk-row .mk-price { text-align: right; white-space: nowrap; font: 700 20px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; }
.mk-row .mk-have::before, .mk-row .mk-price::before { content: attr(data-label); display: none; margin-bottom: 4px;
  font: 600 var(--ez-fs-label)/1 var(--ez-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ez-text-2); }
.mk-after { display: block; margin-top: 4px; font: 400 var(--ez-fs-small)/1 var(--ez-body); color: var(--ez-text-2); }
.mk-after:empty { display: none; }
.mk-none { font: 400 var(--ez-fs-small)/1 var(--ez-body); color: var(--ez-text-2); }
.mk .mk-price--sell, .mk--sell .mk-price--buy { opacity: .4; }
.mk--sell .mk-price--sell { opacity: 1; }
.mk-row--off { opacity: .45; }
.mk-pick { display: flex; align-items: stretch; gap: 8px; }
.mk-box { width: 110px; max-width: none; min-height: 40px; text-align: right; font: 700 20px/1 var(--ez-numbers); }
.mk-quick { display: inline-flex; flex: none; }
.mk-quick button { min-width: 48px; min-height: 40px; padding: 0 8px; background: none; border: 2px solid var(--ez-rule); color: var(--ez-text-2); cursor: pointer; font: 700 15px/1 var(--ez-numbers); letter-spacing: .04em; }
.mk-quick button + button { border-left: 0; }
.mk-quick button:hover:not(:disabled) { color: var(--ez-ground); background: var(--ez-text); border-color: var(--ez-text); }
.mk-quick button:focus-visible { outline: 2px solid var(--ez-hot); outline-offset: 1px; position: relative; }
.mk-quick button:disabled { opacity: .35; cursor: not-allowed; }
.mk-rowtotal { display: block; min-height: 1em; margin-top: 5px; text-align: right; font: 700 var(--ez-fs-small)/1 var(--ez-numbers); color: var(--ez-c-money); }
.mk-rowtotal:empty { display: none; }
@container mk (max-width: 899px) {
  .mk-table { grid-template-columns: minmax(0, 1fr) 90px 76px 90px; }
  .mk-table tr { row-gap: 10px; }
  .mk-table thead th.mk-qty { display: none; }
  .mk-row .mk-qty { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
  .mk-row .mk-pick { flex: none; }
  .mk-row .mk-rowtotal { margin: 0; min-width: 80px; }
}
@container mk (max-width: 559px) {
  .mk-table thead { display: none; }
  .mk-table { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
  .mk-row .mk-item { grid-column: 1 / -1; }
  .mk-row .mk-have, .mk-row .mk-price { text-align: left; font-size: 18px; }
  .mk-row .mk-have::before, .mk-row .mk-price::before { display: block; }
  .mk-row .mk-qty { flex-wrap: wrap; gap: 6px; }
  .mk-row .mk-pick { flex: 1 0 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .mk-row .mk-box { width: 100%; }
  .mk-row .mk-quick button { min-width: 44px; }
  .mk-row .mk-rowtotal { flex: 1 0 100%; }
}
.mk-order { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin: 0 -18px; padding: 14px 18px;
  background: var(--ez-ground-2); border-top: 2px solid var(--ez-text-2); }
.mk-order > p { flex: 1 0 100%; margin: 0 !important; }
.mk-sum { display: flex; gap: 10px 32px; margin: 0; }
.mk-sum dd { margin: 4px 0 0; font: 800 28px/1 var(--ez-numbers); }
.mk-clear { margin-left: auto; font-size: var(--ez-fs-small); }
.mk-go { min-width: 220px; }
.mk-clear[hidden] + .mk-go { margin-left: auto; }
@media (max-width: 767px) { .mk-order { bottom: calc(var(--ez-tabs-h) + env(safe-area-inset-bottom)); } }
@container mk (max-width: 559px) {
  .mk-desk { padding: 12px 12px 0; }
  .mk-order { margin: 0 -12px; padding: 12px; }
  .mk-sum dd { font-size: 22px; }
  .mk-go { flex: 1 0 100%; min-width: 0; }
}
/* Adopt-a-Thug: the deal on paper, the order beside it (mmpires market.css). */
.mk-ad { padding-bottom: 20px; }
.mk-ad__head { padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--ez-rule); }
.mk-ad__title { margin: 0; font: 900 34px/1 var(--ez-display); letter-spacing: .03em; text-transform: uppercase; color: var(--ez-text); }
body.ez .mk-ad__what { margin: 8px 0 0; font-size: 17px; color: var(--ez-text-2); }
.mk-ad__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.mk-ad__body > *, .mk-ad .mk-box { min-width: 0; }
@container mk (min-width: 780px) { .mk-ad__body { grid-template-columns: minmax(0, 1.15fr) minmax(300px, 1fr); gap: 32px; align-items: start; } }
.mk-deal { margin: 0; padding: 6px 22px; list-style: none; counter-reset: deal; background: var(--ez-bone); color: var(--ez-ink); }
.mk-deal li { counter-increment: deal; display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; }
.mk-deal li + li { border-top: 2px dashed var(--ez-paper-2); }
.mk-deal li::before { content: counter(deal); grid-row: 1 / span 2; font: 900 44px/.85 var(--ez-display); color: var(--ez-ink); }
.mk-deal__k { font: 600 var(--ez-fs-label)/1.2 var(--ez-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ez-paper-2); }
body.ez .mk-deal p { margin: 4px 0 0; font-size: 17px; line-height: 1.45; }
body.ez .mk-deal a { color: var(--ez-ink); font-weight: 700; }
.mk-deal__v { font: 800 22px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; color: var(--ez-v-count-p); }
.mk-deal__v--money { color: var(--ez-v-money-p); }
.mk-deal__v--room, .mk-deal__v--can { color: var(--ez-v-turns-p); }
.mk-bar { display: flex; height: 22px; border: 2px solid var(--ez-text-2); background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--ez-rule) 6px 8px); }
.mk-bar__run { width: var(--run, 0%); background: var(--ez-text-2); }
.mk-bar__take { width: var(--take, 0%); background: var(--ez-hot); }
.mk-bar__key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 8px 0 0 !important; font-size: var(--ez-fs-small); color: var(--ez-text-2); }
.mk-bar__key > span { display: inline-flex; align-items: center; gap: 6px; }
.mk-key { width: 12px; height: 12px; border: 1px solid var(--ez-text-2); }
.mk-key--run { background: var(--ez-text-2); }
.mk-key--take { background: var(--ez-hot); border-color: var(--ez-hot); }
.mk-key--room { background: repeating-linear-gradient(-45deg, transparent 0 3px, var(--ez-text-2) 3px 4px); }
.mk-bar__end { margin-left: auto; }
.mk-bar__end b { margin-left: 4px; font: 700 16px/1 var(--ez-numbers); color: var(--ez-text); }
.mk-ad__ask { display: block; margin: 22px 0 8px; font: 800 20px/1.1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; color: var(--ez-text); }
.mk-ad .mk-pick { display: flex; }
.mk-ad .mk-box { width: auto; flex: 1 1 auto; min-height: 52px; font-size: 26px; }
.mk-ad .mk-quick button { min-height: 52px; min-width: 52px; }
.mk-ad__go { width: 100%; margin-top: 12px; }
.mk-ad__max { display: block; margin-top: 10px; font-size: var(--ez-fs-small); }
body.ez .mk-ad__after { margin: 10px 0 0; font-size: var(--ez-fs-small); color: var(--ez-text-2); }
.mk-ad__after .ez-n { font: 700 18px/1 var(--ez-numbers); margin-left: 6px; }
@container mk (max-width: 419px) {
  .mk-deal { padding: 4px 14px; }
  .mk-deal li { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; }
  .mk-deal li::before { font-size: 34px; }
  .mk-ad .mk-quick button { min-width: 44px; }
}
/* 14.6b Recruit, ported from mmpires public/css/recruit.css: the turns as a price list with the button under it; after a
   run the receipt takes the spots' place. The spots are a list since the 2026-11-04 redo (block 31); the street map,
   its pins and the phone's turn picker went with it. */
.rc-cols { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 899px) { .rc-cols { grid-template-columns: 1fr; gap: 18px; } }
.rc-step { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; padding: 0; }
.rc-step__no { font: 900 15px/1 var(--ez-numbers); color: var(--ez-ink); background: var(--ez-bone-2); padding: 3px 6px 2px; }
.rc-spots { margin: 0; padding: 0; border: 0; min-width: 0; }
.rc-spots[hidden] { display: none; }
.rc-turns { margin: 0; padding: 0; border: 0; min-width: 0; }
.rc-ladder { border-top: 1px solid var(--ez-rule); }
.rc-rung { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 34px; padding: 6px 12px 5px 14px; cursor: pointer; border-bottom: 1px solid var(--ez-rule); color: var(--ez-text); }
.rc-rung input { position: absolute; opacity: 0; pointer-events: none; }
.rc-rung__n { font: 800 22px/1 var(--ez-numbers); letter-spacing: .02em; }
.rc-rung__note { font: 600 12px/1 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-text-2); white-space: nowrap; }
.rc-rung:hover { background: var(--ez-ground-2); }
.rc-rung:has(input:checked) { background: var(--ez-sel); color: var(--ez-hot-text); }
.rc-rung:has(input:checked)::before { content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%; border: 7px solid transparent; border-left: 8px solid var(--ez-hot); }
.rc-rung:has(input:focus-visible) { outline: 3px solid var(--ez-text); outline-offset: -3px; }
.rc-rung.is-out .rc-rung__n { color: var(--ez-text-2); }
.rc-rung.is-out:has(input:checked) .rc-rung__n { color: var(--ez-hot-text); }
.ez-rc .rc-why { margin: 12px 0 8px !important; padding: 8px 10px; border: 2px dashed var(--ez-text-2); background: none; font-size: var(--ez-fs-small); line-height: 1.4; color: var(--ez-text); }
.rc-go { margin-top: 14px; }
.rc-go .ez-btn { font-size: 24px; min-height: 64px; }
.ez-rc .rc-again { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0; padding: 12px 14px; border: 2px solid var(--ez-rule); background: var(--ez-ground-2); }
.rc-again[hidden] { display: none !important; }
.rc-again b { font: 800 22px/1.05 var(--ez-numbers); text-transform: uppercase; color: var(--ez-hot-text); }
body.ez .rc-again__change { margin-left: auto; padding: 6px 12px 5px; border: 2px solid var(--ez-text-2); background: transparent; color: var(--ez-text); cursor: pointer; text-decoration: none;
  font: 800 16px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }
body.ez .rc-again__change:hover { border-color: var(--ez-text); background: var(--ez-sel); }
.rc-result { margin-top: 28px; }
.rc-receipt { max-width: none; container-type: inline-size; }
.rc-receipt .ez-receipt__head h3 { margin: 8px 0 0; font: 900 24px/1.05 var(--ez-numbers); text-transform: uppercase; }
.rc-haul { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 18px 0 0; padding: 14px 0 0; border-top: 2px solid var(--ez-ink); }
.rc-haul div { display: flex; flex-direction: column; gap: 4px; }
.rc-haul dd { order: 1; margin: 0; font: 900 clamp(30px, 5.2cqi, 46px)/.95 var(--ez-numbers); font-variant-numeric: tabular-nums; color: var(--ez-v-count-p); white-space: nowrap; }
.rc-haul dt { order: 2; font: 600 13px/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-paper-2); }
.rc-haul--none { margin: 18px 0 0 !important; font: 800 26px/1.1 var(--ez-numbers); text-transform: uppercase; color: var(--ez-paper-2); }
.rc-receipt .ez-lines { margin-top: 14px; }
.rc-receipt .ez-walkout b, [data-dr-result] .ez-walkout b { color: var(--ez-c-bad); }
.rc-receipt .ez-fold { margin-top: 14px; border-color: var(--ez-paper-2); }
@keyframes rc-land { from { opacity: 0; transform: translateY(8px) rotate(-.5deg); } to { opacity: 1; transform: rotate(-.5deg); } }
.rc-receipt { animation: rc-land .22s ease-out; }
@media (prefers-reduced-motion: reduce) { .rc-receipt { animation: none; } }
@media (max-width: 899px) {
  .rc-cols > section { display: contents; }
  .rc-again { order: 1; }
  .rc-spots { order: 2; }
  .rc-turns { order: 3; }
  .rc-go { order: 4; margin-top: 0; }
  .rc-result { order: 5; margin-top: 10px; }
}
@media (max-width: 767px) {
  .rc-again b { font-size: 19px; }
  .rc-go .ez-btn { font-size: 22px; min-height: 56px; }
  .ez-rc .rc-why { margin: 0 0 8px !important; }
  .rc-haul dd { font-size: clamp(28px, 8cqi, 38px); }
  .ez-rc .rc-go { display: grid; gap: 8px; position: fixed; z-index: 19; left: 0; right: 0; bottom: calc(var(--ez-tabs-h) + env(safe-area-inset-bottom));
    padding: 10px var(--ez-gutter); background: var(--ez-ground); border-top: 2px solid var(--ez-rule); }
}
/* 14.6c Stash House, ported from mmpires public/css/stash.css: the card split in two, your pocket on the paper and the
   stash behind a safe door set into it; the receipt stamps down under the card. */
.st-card { padding: 0; transform: none; }
.st-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.st-side { position: relative; min-width: 0; padding: 26px 26px 22px; }
.st-bal { margin: 0 0 18px; display: grid; gap: 6px; }
.st-bal dd { margin: 0; }
.st-bal dd .ez-n { font-size: 52px; }
.st-side .ez-h3 { margin: 0; padding-top: 14px; border-top: 2px solid var(--ez-ink); }
.st-vault { --ez-c-money: var(--ez-v-money); --ez-c-2: var(--ez-bone-2); margin: 10px 10px 10px 0; color: var(--ez-bone);
  outline: 1px solid rgb(236 229 211 / .14); outline-offset: -7px; box-shadow: inset 0 0 0 3px var(--ez-ink-2), 0 0 0 2px var(--ez-ink);
  background: repeating-linear-gradient(135deg, transparent 0 9px, rgb(236 229 211 / .035) 9px 10px), var(--ez-ink); }
.st-vault .ez-h3 { color: var(--ez-bone); border-top-color: var(--ez-rule); }
.ez-card .st-vault .ez-input { background: var(--ez-ink-2); color: var(--ez-bone); border-color: var(--ez-bone-2); }
.st-vault .ez-btn--secondary:disabled { border-color: var(--ez-rule); color: var(--ez-bone-2); background: transparent; }
.st-dial { position: absolute; top: 18px; right: 18px; width: 92px; height: 92px; color: var(--ez-bone-2); opacity: .45; pointer-events: none; }
.st-vault.is-empty .st-bal .ez-n { color: var(--ez-bone-2); }
.st-vault::before { content: ""; position: absolute; top: 46px; left: -1px; border: 11px solid transparent; border-left-color: var(--ez-bone); }
.st-receipt { margin-top: 26px; }
.st-side .ez-field--inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.st-side .ez-field--inline .ez-input { flex: 1 1 11ch; min-width: 0; max-width: 19ch; }
.st-side .ez-field--inline .ez-btn { flex: none; }
/* 14.6d The Card Pit, ported from mmpires public/css/casino.css (tokens, the felt, the cards, the verdict, the deck, the
   closed sign). The faces are drawn here (rank in the corner and big in the middle); mmpires uses classic's card art. */
.cz { --cz-felt: #0d5a37; --cz-felt-2: #083d25; --cz-felt-hi: #15774b; --cz-chalk: #f4efe2; --cz-wood: #5a3418; --cz-wood-2: #2a160a;
  --cz-gold: #f2c14e; --cz-gold-2: #b8862b; --cz-gold-3: #5e4314; --cz-meter: #0a0908; --cz-cab: #5c0f16; position: relative; }
.ez-statusrow.cz-status { background: linear-gradient(#1c1a17, #151311); box-shadow: inset 0 0 0 1px #5e4314; border-radius: 8px; padding: 9px 16px; }
.ez-statusrow.cz-status .ez-stats { gap: 6px 34px; }
.ez-statusrow.cz-status .ez-stats > div { display: flex; align-items: baseline; gap: 10px; }
.ez-statusrow.cz-status .ez-stats dd .ez-n { font-size: 24px; }
.cz-pit { display: grid; gap: 12px; max-width: 760px; }
.cz-pit__felt { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 14px; justify-items: center; padding: 18px 18px 16px; border-radius: 22px;
  color: var(--cz-chalk); background: radial-gradient(110% 90% at 50% 30%, var(--cz-felt-hi), var(--cz-felt) 45%, var(--cz-felt-2));
  box-shadow: inset 0 0 0 10px var(--cz-wood), inset 0 0 0 12px var(--cz-wood-2), inset 0 0 60px rgb(0 0 0 / .45), 0 10px 30px rgb(0 0 0 / .45); }
.cz-pit__felt::before { content: ''; position: absolute; z-index: -1; left: 8%; right: 8%; top: -62%; height: 100%; border-radius: 50%; border: 2px solid rgb(242 193 78 / .32); pointer-events: none; }
body.ez .cz-pit__rule { margin: 4px 0 0; font: 600 13px/1.3 var(--ez-body); font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; color: var(--cz-chalk); text-align: center; }
.cz-pit__seats { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 26px; }
.cz-pit__seat { display: grid; justify-items: center; gap: 8px; }
.cz-pit__who { font: 800 15px/1 var(--ez-numbers); letter-spacing: .14em; text-transform: uppercase; color: var(--cz-chalk); }
.cz-pit__seat.is-win .cz-pit__who { color: var(--cz-gold); }
.cz-pit__name { min-height: 1.3em; font-size: 14px; color: var(--cz-chalk); }
.cz-pit__vs { font: 900 22px/1 var(--ez-display); text-transform: uppercase; color: rgb(242 193 78 / .7); }
.cz-card { position: relative; display: grid; place-items: center; width: 132px; aspect-ratio: 691 / 1056; border-radius: 9px; background: #fff; color: #121110;
  box-shadow: 0 10px 22px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .4); transition: box-shadow .2s, transform .2s; }
.cz-card__rank { position: absolute; top: 8px; left: 10px; font: 900 22px/1 var(--ez-numbers); }
.cz-card__pip { font: 900 64px/1 var(--ez-display); }
.cz-card.is-back { background: repeating-linear-gradient(45deg, rgb(242 193 78 / .22) 0 1px, transparent 1px 9px), repeating-linear-gradient(-45deg, rgb(242 193 78 / .22) 0 1px, transparent 1px 9px), var(--cz-cab);
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 7px var(--cz-gold-2), 0 10px 22px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .4); }
.cz-card.is-dealt { animation: cz-deal .42s cubic-bezier(.2, .8, .2, 1); }
@keyframes cz-deal { from { transform: translateY(-18px) rotateY(80deg); opacity: .2; } }
.cz-pit__seat.is-win .cz-card { box-shadow: 0 0 0 3px var(--cz-gold), 0 0 26px rgb(242 193 78 / .55), 0 10px 22px rgb(0 0 0 / .5); transform: translateY(-4px); }
.cz-pit__seat.is-lose .cz-card { filter: brightness(.72); }
.cz-pit__result { width: 100%; max-width: 560px; min-height: 92px; display: grid; align-content: center; padding: 10px 14px; border-radius: 12px; background: rgb(0 0 0 / .32); }
.cz-verdict { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; align-items: center; }
body.ez .cz-verdict--idle { display: block; margin: 0; color: var(--cz-chalk); text-align: center; font-size: 15px; }
.cz-verdict__stamp { font-size: 22px; transform: rotate(-3deg); }
body.ez .cz-verdict__line { margin: 0; font-size: 15px; line-height: 1.35; min-width: 0; color: var(--cz-chalk); }
.cz-verdict__tally { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; margin: 0; }
.cz-verdict__tally div { display: grid; gap: 2px; min-width: 0; }
.cz-verdict__tally dt { order: 2; font: 600 12px/1.2 var(--ez-body); font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase; color: rgb(244 239 226 / .8); }
.cz-verdict__tally dd { margin: 0; font-size: 21px; overflow: hidden; color: var(--cz-chalk); }
.cz-verdict--win .cz-verdict__stamp { color: #8fe3a8; }
.cz-verdict--jackpot .cz-verdict__stamp { color: var(--cz-gold); text-shadow: 0 0 12px rgb(242 193 78 / .6); }
.cz-verdict--loss .cz-verdict__stamp { color: #ff9a8a; }
.cz-deck { display: grid; gap: 10px; padding: 12px 12px 10px; border-radius: 12px; background: linear-gradient(#2b2723, #141210); box-shadow: inset 0 0 0 2px var(--cz-gold-3), 0 0 0 1px #000; }
.cz-deck__presets { display: flex; flex-wrap: wrap; gap: 5px; }
.cz-preset { min-height: 34px; padding: 0 12px; border-radius: 99px; border: 2px solid var(--cz-gold-3); background: #0f0e0d; color: var(--ez-bone); cursor: pointer; font: 800 15px/1 var(--ez-numbers); letter-spacing: .04em; }
.cz-preset:hover { border-color: var(--cz-gold); color: var(--cz-gold); }
.cz-preset--word { text-transform: uppercase; color: var(--ez-bone-2); }
.cz-deck__bar { display: grid; gap: 10px; }
.cz-stake { display: grid; gap: 4px; flex: none; }
.cz-stake__l { font: 600 12px/1 var(--ez-body); font-stretch: 80%; letter-spacing: .1em; text-transform: uppercase; color: var(--ez-bone-2); }
.cz-stake__box { display: flex; align-items: center; height: 64px; padding-left: 12px; border-radius: 10px; background: var(--cz-meter); box-shadow: inset 0 0 0 2px var(--cz-gold-2); }
.cz-stake__box:focus-within { box-shadow: inset 0 0 0 2px var(--cz-gold), 0 0 0 3px var(--ez-bone); }
.cz-stake__cur { font: 800 26px/1 var(--ez-numbers); color: var(--cz-gold); }
.ez-input.cz-stake__in { --ez-num-ch: 12; height: 60px; min-height: 0; padding: 0 12px 0 4px; border: 0; background: transparent; color: var(--cz-gold); font-size: 30px; }
.ez-input.cz-stake__in:focus-visible { outline: none; }
.ez-btn.cz-spin { min-width: 0; min-height: 64px; border-radius: 99px; font-size: 28px; letter-spacing: .06em; }
body.ez .cz-after { margin: 0; font-size: 13px; color: var(--ez-bone-2); }
.cz-pit-below { display: grid; gap: 0; max-width: 560px; margin-top: 18px; }
.cz-pay { padding: 12px 14px 10px; border-radius: 12px; background: #161412; box-shadow: inset 0 0 0 1px var(--cz-gold-2); }
.cz-pay__h { margin: 0 0 8px; font: 800 18px/1.1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; color: var(--cz-gold); }
.cz-pay__list { list-style: none; margin: 0; padding: 0; }
.cz-pay__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--ez-rule); }
.cz-pay__list li.is-jp .cz-pay__x { color: var(--cz-gold); text-shadow: 0 0 10px rgb(242 193 78 / .5); }
.cz-closed { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 32px; align-items: center; padding: 24px 26px; border-radius: 12px; background: #110f0e; box-shadow: inset 0 0 0 1px var(--cz-gold-3); }
.cz-closed__sign { display: grid; justify-items: center; gap: 4px; padding: 16px 22px; border-radius: 10px; border: 3px solid #3a2a31; transform: rotate(-3deg);
  font: 900 46px/1 var(--ez-display); letter-spacing: .06em; text-transform: uppercase; color: #4a3640; }
.cz-closed__sign span + span { font-size: 18px; letter-spacing: .2em; }
.cz-closed__body { display: grid; gap: 10px; justify-items: start; }
body.ez .cz-closed__body p { margin: 0; max-width: 54ch; }
@media (min-width: 1200px) {
  .cz-pit { grid-template-columns: minmax(0, 1fr) 290px; align-items: stretch; max-width: 1040px; }
  .cz-pit .cz-deck { align-content: end; padding: 14px; }
  .cz-pit .cz-stake__box { width: 100%; }
  .cz-pit .ez-btn.cz-spin { min-height: 72px; }
}
@media (max-width: 1199px) { .cz-card { width: 112px; } .cz-pit__felt { gap: 10px; } .cz-pit__result { min-height: 76px; } }
@media (max-width: 767px) {
  .cz-pit__felt { padding: 14px 12px; border-radius: 16px; box-shadow: inset 0 0 0 7px var(--cz-wood), inset 0 0 0 9px var(--cz-wood-2), inset 0 0 40px rgb(0 0 0 / .45); }
  .cz-pit__seats { gap: 8px 14px; }
  .cz-card { width: min(108px, 30vw); }
  .cz-card__pip { font-size: 48px; }
  .cz-verdict { grid-template-columns: minmax(0, 1fr); }
  .cz-verdict__tally dd { font-size: 16px; }
  .cz-pit__vs { font-size: 17px; }
  .cz-closed { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .cz-closed__sign { justify-self: start; font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { .cz-card.is-dealt { animation: none; } }
@media (prefers-reduced-motion: no-preference) {
  .st-receipt { animation: st-drop .28s cubic-bezier(.16, 1, .3, 1) both; }
  .st-receipt .ez-stamp { animation: st-stamp .32s .18s cubic-bezier(.7, 0, .84, 0) both; }
}
@keyframes st-drop { from { opacity: 0; transform: translateY(-10px) rotate(-.5deg); } to { opacity: 1; transform: rotate(-.5deg); } }
@keyframes st-stamp { from { opacity: 0; transform: scale(1.9) rotate(-9deg); } to { opacity: 1; transform: rotate(-2deg); } }
.st-receipt--in .ez-stamp { color: var(--ez-v-money-p); }
@media (max-width: 767px) {
  .st-split { grid-template-columns: minmax(0, 1fr); }
  .st-side { padding: 20px 16px 18px; }
  .st-bal dd .ez-n { font-size: 40px; }
  .st-dial { width: 64px; height: 64px; top: 14px; right: 14px; }
  .st-vault { margin: 0 8px 8px; }
  .st-vault::before { top: -1px; left: 40px; border-left-color: transparent; border-top-color: var(--ez-bone); }
}
/* END 14.6 */
/* 14.7 ATTACK (Attack, the result, your hits) */
/* Pick screen (mmpires attack/index.php): the hits are links that look like radio rows, name and line left, turns right. */
.ez-label--block { display: block; margin-bottom: 8px; }
.ez-w-name { min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-scroll { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; }
.ez-radio__end .ez-n { font-size: 20px; }
.ez-atk #atk-name { font: 800 30px/1.1 var(--ez-body); font-stretch: 75%; letter-spacing: 0; text-transform: none; }   /* names in real case, never the stencil */
.ez-atk #atk-name .ez-who { max-width: 100%; }
.ez-atk .ez-stats dd { font-size: 26px; }
.ez-atk .ez-stats .ez-w-name { font-size: 18px; }
.ez-atk .ez-fold { margin-top: 18px; }
.ez-hits { display: grid; }
.ez-hits .ez-radio__go { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 14px; align-items: center; min-height: 50px; padding: 7px 14px; border-top: 1px solid var(--ez-rule); color: inherit; text-decoration: none; }
body.ez .ez-hits .ez-radio__go { text-decoration: none; }
.ez-hits .ez-radio__name { font: 800 22px/1 var(--ez-numbers); letter-spacing: .02em; text-transform: uppercase; }
.ez-hits .ez-radio__sub { grid-column: 1; font-size: 13px; line-height: 1.35; }
.ez-hits .ez-radio__end { grid-column: 2; grid-row: 1 / span 2; }
.ez-hits .ez-radio__end .ez-n { font-size: 28px; }
.ez-hits .ez-radio:last-child .ez-radio__go { border-bottom: 1px solid var(--ez-rule); }
.ez-hits .ez-radio__go:hover { background: var(--ez-ground-2); }
.ez-hits .ez-radio__go:focus-visible { outline: 3px solid var(--ez-text); outline-offset: 2px; }
.ez-hits .ez-radio__go[aria-current="true"] { background: var(--ez-sel); }
.ez-hits .ez-radio__go[aria-current="true"] .ez-radio__name, .ez-hits .ez-radio__go[aria-current="true"] .ez-radio__end .ez-n { color: var(--ez-hot-text); }
.ez-atk .ez-hits + .ez-acts { margin-top: 10px; }
@media (max-width: 767px) {
  .ez-hits { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ez-hits > .ez-label { grid-column: 1 / -1; }
  .ez-hits .ez-radio__go { border: 2px solid var(--ez-rule); padding: 8px 10px; align-items: baseline; align-content: center; }
  .ez-hits .ez-radio:last-child .ez-radio__go { border-bottom: 2px solid var(--ez-rule); }
  .ez-hits .ez-radio__sub { display: none; }
  .ez-hits .ez-radio__name { font-size: 19px; white-space: normal; overflow: visible; line-height: 1.05; }   /* the whole name, two lines if it needs them (audit 2026-11-04: "Break and E...", "Kidnap Dea...") */
  .ez-hits .ez-radio__end .ez-n { font-size: 22px; }
  /* the hit and its button on one screen: the button pinned over the tab bar */
  .ez-atk .ez-actbar, .atk-next .ez-actbar { display: grid; gap: 8px; position: fixed; z-index: 19; left: 0; right: 0; bottom: calc(var(--ez-tabs-h) + env(safe-area-inset-bottom));
    padding: 10px var(--ez-gutter); background: var(--ez-ground); border-top: 2px solid var(--ez-rule); }
  body.ez .ez-main:has(.ez-actbar) { padding-bottom: calc(var(--ez-tabs-h) + 150px); }
}
/* The receipt (mmpires attack/results.php): one card, centred. The hit and the target in one line; the outcome and the
   prize, the loudest type on the page; the dead face to face in the winner's colours; the fight as tight level rows;
   the small print; the way onward. Ink, no glow. */
.atk-after .ez-banner { margin-bottom: 18px; }
.atk-fight { --atk-pad: 28px; --atk-tone: var(--ez-text); max-width: 760px; margin: 0 auto; background: var(--ez-ground-2); border: 2px solid var(--ez-rule); }
.atk-fight--won { --atk-tone: var(--ez-v-good); }
.atk-fight--lost { --atk-tone: var(--ez-v-bad); }
.atk-fight > *, body.ez .atk-fight > p { margin-left: var(--atk-pad); margin-right: var(--atk-pad); }
body.ez .atk-fight p { margin-top: 0; margin-bottom: 0; }
.atk-hd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 18px; padding: 11px 0 9px; border-bottom: 1px solid var(--ez-rule); }
.atk-hd__what { min-width: 0; font: 800 13px/1.3 var(--ez-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ez-text); }
.atk-hd__what .ez-who, .atk-hd__what .ez-uname { font: inherit; color: inherit; letter-spacing: inherit; }
.atk-hd__who { font-size: 13px; line-height: 1.3; color: var(--ez-text-2); }
.atk-hd__who .ez-n, .atk-hd__who .ez-link { font-size: inherit; }
.atk-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "me win him"; align-items: end; gap: 12px 20px; padding: 14px 0 12px; }
.atk-stage > .atk-win { grid-area: win; }
.atk-stage > .atk-dead { display: contents; }
.atk-dead__me { grid-area: me; }
.atk-dead__him { grid-area: him; text-align: right; }
.atk-win { text-align: center; }
.atk-win__v { font: 900 clamp(38px, 4.6vw, 52px)/.95 var(--ez-display); letter-spacing: .02em; text-transform: uppercase; color: var(--atk-tone); }
.atk-fight--even .atk-win__v { color: var(--ez-text-2); }
body.ez .atk-fight .atk-prize { margin-top: 8px; font: 700 18px/1.25 var(--ez-body); color: var(--ez-text); }
.atk-prize__i, .atk-prize__i .ez-n { font: 800 clamp(26px, 3vw, 34px)/1 var(--ez-numbers); color: var(--ez-text); white-space: nowrap; }
.atk-prize__i--cash, .atk-prize__i--cash .ez-n { font-size: clamp(38px, 4.6vw, 52px); color: var(--ez-v-money); }
.atk-prize__w { font: 700 14px/1 var(--ez-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ez-text-2); }
body.ez .atk-fight .atk-prize--none { font-size: 15px; font-weight: 400; color: var(--ez-text-2); }
.atk-dead__n { display: block; font: 800 clamp(40px, 4.4vw, 52px)/.95 var(--ez-numbers); color: var(--ez-text); }
.atk-dead--won .atk-dead__me .atk-dead__n, .atk-dead--lost .atk-dead__him .atk-dead__n { color: var(--ez-v-good); }
.atk-dead--won .atk-dead__him .atk-dead__n, .atk-dead--lost .atk-dead__me .atk-dead__n { color: var(--ez-v-bad); }
.atk-dead__w { white-space: nowrap; font: 700 12px/1 var(--ez-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ez-text-2); }
.atk-dead__c { margin-left: 8px; font-size: 12px; color: var(--ez-text-2); white-space: nowrap; }
body.ez .atk-fight .atk-why { margin-top: -6px; margin-bottom: 8px; text-align: center; font-size: 15px; color: var(--ez-text); }
.atk-rows { margin-top: 6px; margin-bottom: 0; }
.atk-rows > div { display: grid; grid-template-columns: 1fr 11em 1fr; align-items: baseline; gap: 12px; padding: 4px 0; border-top: 1px solid var(--ez-rule); }
.atk-rows > .atk-rows__h { padding: 0 0 3px; border-top: 0; }
.atk-rows dt { text-align: center; font: 700 11px/1.2 var(--ez-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ez-text-2); }
.atk-rows dd { margin: 0; font: 700 17px/1.05 var(--ez-numbers); color: var(--ez-text); }
.atk-rows dd:last-child { text-align: right; overflow-wrap: anywhere; }
.atk-rows > .atk-rows__h dd { font: 800 11px/1.2 var(--ez-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ez-text-2); }
.atk-rows > .atk-rows__h dd:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; text-transform: none; letter-spacing: .04em; font-size: 13px; }
body.ez .atk-fight .atk-walk { margin-top: 12px; }
.atk-walk .ez-walkout-note { display: block; padding: 6px 12px; border: 2px solid var(--ez-hot); color: var(--ez-text); }
.atk-walk .ez-walkout-note b { color: var(--ez-hot-text); }
.atk-small { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 24px; list-style: none; margin-top: 8px; margin-bottom: 0; padding: 7px 0 0; border-top: 1px solid var(--ez-rule); font-size: 13px; line-height: 1.4; color: var(--ez-text-2); }
body.ez .atk-fight .atk-refused { margin-top: 18px; font-size: 17px; line-height: 1.4; color: var(--ez-text); }
body.ez .atk-fight .atk-refused + .atk-small { margin-top: 12px; }
.atk-next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 10px; padding: 12px 0; border-top: 2px solid var(--ez-rule); }
@media (min-width: 768px) { .atk-next .ez-actbar { display: contents; } }
.atk-again { margin: 0; }
.atk-other { display: flex; flex: 1 1 280px; flex-wrap: wrap; gap: 3px 13px; font-size: 13px; }
body.ez .atk-other a { color: var(--ez-text-2); text-decoration: none; white-space: nowrap; }
body.ez .atk-other a:hover, body.ez .atk-other a:focus-visible { color: var(--ez-text); text-decoration: underline; }
body.ez .atk-other a[aria-current="true"] { color: var(--ez-hot-text); }
.atk-other .ez-n { font-size: 13px; }
.atk-onward { max-width: 760px; margin: 14px auto 0; }
@media (max-width: 767px) {
  .atk-after { display: none; }   /* the poster steps aside after a hit, so the card and the pinned bar fit one screen */
  .atk-fight { --atk-pad: 14px; }
  .atk-hd { flex-direction: column; }
  .atk-stage { grid-template-columns: 1fr 1fr; grid-template-areas: "win win" "me him"; align-items: start; padding-top: 16px; }
  .atk-rows > .atk-rows__h dd:last-child { letter-spacing: 0; font-size: 12px; }
  .atk-rows > div { grid-template-columns: 1fr 7.5em 1fr; gap: 8px; }
  .atk-rows dt { font-size: 10px; letter-spacing: .06em; }
  .atk-rows dd { font-size: 16px; }
  .atk-small { grid-template-columns: 1fr; }
  .atk-dead__c { display: block; margin: 4px 0 0; }
  .atk-next .ez-btn { width: 100%; }
  .atk-next form { flex: 1 1 100%; }
  .atk-next:has(> .ez-actbar) { margin-top: 0; padding: 0; border: 0; }
  .atk-next .ez-actbar .atk-other { gap: 6px 12px; }
}
/* Your hits (the rewrite's own list): the same tracklist, the outcome as a stamp tag on the right. */
.atk-row__what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 13px/1.3 var(--ez-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ez-text); }
.atk-row__what .ez-uname { font: 800 16px/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: 0; text-transform: none; }
.atk-row__when { color: var(--ez-text-2); white-space: nowrap; }
.atk-row__when::before { content: "\00b7"; margin: 0 6px 0 2px; }
.atk-row__v { font: 900 22px/1 var(--ez-display); letter-spacing: .02em; text-transform: uppercase; color: var(--ez-text-2); }
.atk-row__v--won { color: var(--ez-c-good); }
.atk-row__v--lost { color: var(--ez-c-bad); }
.atk-list .ez-row { padding: 12px 8px; }
/* END 14.7 */
/* 14.8 CARTEL AND THE REST */
/* 14.9 PUBLIC AND CITY */
/* The poster (mmpires public/css/landing.css, src/View/pages/_poster.php): the public form pages on the city at night.
   Scoped to pages carrying .ld-world (tpl/poster.php), so the old front door is untouched. */
body.ez--landing:has(.ld-world) { background: #0b0f12; overflow-x: hidden; }
body.ez--landing:has(.ld-world) .ez-top { display: none; }
body.ez--landing:has(.ld-world) .ez-shell--public { max-width: none; padding: 0; }
body.ez--landing:has(.ld-world) .ez-main { position: relative; z-index: 0; box-sizing: border-box; min-height: 100svh; display: flex; flex-direction: column; padding: 22px var(--ez-gutter) 18px; }
body.ez--landing:has(.ld-world) .ez-main > .ez-notice { max-width: 400px; margin: 10px 0 0 auto !important; }
body.ez .ld-mark { margin: 0; }
body.ez .ld-mark .ez-mark { font-size: clamp(44px, 6.5vw, 76px); letter-spacing: .03em; color: var(--ez-bone); text-shadow: 0 2px 28px rgb(11 15 18 / .8); }
body.ez .ld-line { margin: 6px 0 0; color: var(--ez-bone); font: 600 13px/1.4 var(--ez-body); font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 14px rgb(11 15 18 / .9); }
.ld-line .ez-n { font-size: 14px; }
.ld-row { flex: 1 0 auto; min-height: calc(100svh - 210px); display: flex; justify-content: flex-end; align-items: center; padding: 26px 0; min-width: 0; }   /* the doors sit at the foot of the first screen; the notes come under them */
.ld-row--wide { justify-content: flex-start; align-items: flex-start; }
.ld-row--wide .ld-panel--wide { width: min(100%, 720px); }
.ld-panel { box-sizing: border-box; width: min(100%, 400px); padding: 22px 26px 20px; background: rgb(18 17 16 / .8); color: var(--ez-bone);
  border-left: 2px solid var(--ez-bone-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body.ez .ld-panel__title { margin: 0 0 18px; color: var(--ez-bone); font: 900 32px/1 var(--ez-display); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-panel .ez-mb { margin-bottom: 12px; }
.ld-panel .ez-input { background: rgb(11 15 18 / .75); }
.ld-panel .ez-btn--primary { border-color: var(--ez-hot); box-shadow: none; }
.ld-panel .ez-btn--lg { min-height: 54px; font-size: 22px; }
.ld-panel .ez-acts { margin-top: 14px; }
.ld-panel .ez-lede { font-size: 15px; }
.ld-panel .ez-notice--here { margin: 0 0 12px !important; background: rgb(11 15 18 / .75); }
.ld-panel .ld-stamp { color: var(--ez-v-bad); margin-bottom: 12px; }
.ld-panel__more { margin-top: 14px; color: var(--ez-bone-2); font-size: 14px; }
.ld-panel__more .ez-acts { margin: 0; gap: 6px 16px; }
.ld-panel__more .ez-link { font-size: 14px; }
.ld-stops { display: flex; gap: 24px; margin: 0; border-top: 1px solid rgb(236 229 211 / .28); }
body.ez .ld-stops a { flex: 1 1 0; position: relative; min-width: 0; padding: 14px 0 2px; color: var(--ez-bone-2); text-decoration: none;
  font: 800 15px/1.2 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ez .ld-stops a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: transparent; }
body.ez .ld-stops a:hover, body.ez .ld-stops a[aria-current="page"] { color: var(--ez-bone); }
body.ez .ld-stops a[aria-current="page"]::before { background: var(--ez-hot); }
body.ez--landing:has(.ld-world) .ez-footnotes { margin-top: 28px; max-width: 72ch; color: var(--ez-bone-2); border-top-color: rgb(236 229 211 / .2); }
/* The city: two cameras, the overlook and the street, fixed behind the page (app.js 14.9 aims them). */
.ld-world { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #0b0f12; pointer-events: none; }
.ld-cam { position: absolute; inset: 0; transform-origin: 0 0; }
.ld-cam--over { transform: var(--ld-over, none); transition: transform 1.7s cubic-bezier(.28, .1, .12, 1), opacity .6s ease; will-change: transform, opacity; }
.ld-cam--over .ld-stage { width: var(--ld-ow, 100vw); height: var(--ld-oh, 100vh); left: var(--ld-ox, 0px); top: var(--ld-oy, 0px); }
.ld-cam--street { opacity: 0; transform: scale(.8); transform-origin: 50% 50%; filter: blur(3px); transition: opacity .6s ease, transform 1.5s cubic-bezier(.28, .1, .12, 1), filter 1.4s ease; will-change: transform, opacity; }
.ld-cam--street .ld-stage { width: var(--ld-sw, 300vh); height: var(--ld-sh, 100vh); left: 0; top: var(--ld-sy, 0px); transform: translate3d(var(--ld-x, 0px), 0, 0); transition: transform 1.6s cubic-bezier(.25, .65, .17, 1); }
.ld-stage { position: absolute; }
.ld-stage img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ld-world.is-dived .ld-cam--over { opacity: 0; transition: transform 1.7s cubic-bezier(.28, .1, .12, 1), opacity .6s .75s ease; }
.ld-world.is-dived .ld-cam--street { opacity: 1; transform: none; filter: none; transition: opacity .6s .75s ease, transform 1.7s cubic-bezier(.28, .1, .12, 1), filter 1.3s .4s ease; }
.ld-world.is-still .ld-cam, .ld-world.is-still .ld-stage { transition: none !important; }
.ld-shade { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(11 15 18 / 0) 45%, rgb(11 15 18 / .5) 100%), linear-gradient(180deg, rgb(11 15 18 / .6), rgb(11 15 18 / .28) 28%, rgb(11 15 18 / .28) 60%, rgb(11 15 18 / .88) 100%); }
@media (max-width: 1023px) { .ld-panel { width: min(100%, 360px); padding: 20px 22px 18px; } }
@media (max-width: 767px) {
  body.ez--landing:has(.ld-world) .ez-main { padding: 18px var(--ez-gutter) 16px; }
  body.ez .ld-mark .ez-mark { font-size: clamp(40px, 12vw, 56px); }
  body.ez .ld-line { font-size: 12px; }
  .ld-row { align-items: flex-end; padding: 36px 0 22px; }
  .ld-panel { width: 100%; padding: 18px 16px 16px; border-left: 0; border-top: 2px solid var(--ez-bone-2); }
  body.ez .ld-panel__title { font-size: 28px; }
  .ld-stops { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  body.ez .ld-stops a { padding: 12px 0 10px; font-size: 13px; letter-spacing: .06em; white-space: normal; border-bottom: 1px solid rgb(236 229 211 / .12); }
  body.ez .ld-stops a:nth-child(n+3) { border-bottom: 0; }
  body.ez .ld-stops a:nth-child(n+3)::before { top: auto; bottom: -1px; }
  .ld-shade { background: linear-gradient(180deg, rgb(11 15 18 / .7), rgb(11 15 18 / .3) 30%, rgb(11 15 18 / .45) 55%, rgb(11 15 18 / .92) 100%); }
}
@media (prefers-reduced-motion: reduce) { .ld-cam, .ld-stage { transition: none !important; } }
/* City Control (mmpires src/View/city/index.php, list.php, manage.php; css city.css): the territory panel with the
   city from above, the guard as the big figure, the one button; the board of every city; the manager's doors. */
.cc-turf { position: relative; overflow: hidden; isolation: isolate; background: var(--ez-ink); border: 2px solid var(--ez-rule); --cc-tone: var(--ez-bone-2); }
.cc-turf--held { --cc-tone: var(--ez-hot); }
.cc-turf--mine { --cc-tone: var(--ez-bone); }
.cc-turf__map { position: absolute; top: 50%; right: 2%; height: 100%; aspect-ratio: 1; transform: translateY(-50%); z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%); mask-image: linear-gradient(to right, transparent 0%, #000 34%); }
.cc-map { display: block; width: 100%; height: 100%; }
.cc-map .cc-st { stroke: #26231f; stroke-width: 14; }
.cc-map .cc-blk { fill: #181715; stroke: #36322b; stroke-width: 1; }
.cc-map .cc-blk--core { fill: #1e1c19; stroke: #433e36; }
.cc-map .cc-lot { fill: #211f1b; stroke: #2f2b26; stroke-width: .6; }
.cc-map .cc-park { fill: url(#cc-trees); stroke: #2c2924; stroke-width: 1; }
.cc-map .cc-tree { fill: #33332a; }
.cc-map .cc-river { fill: #0b0a09; stroke: #3a362f; stroke-width: 1.2; }
.cc-map .cc-river--hatch { fill: url(#cc-hatch); stroke: none; }
.cc-map .cc-hatchln { stroke: #1d1b18; stroke-width: 1.4; }
.cc-map .cc-name { fill: #6e675b; font: 700 7.5px/1 var(--ez-body); letter-spacing: .14em; }
.cc-map .cc-compass path { fill: #6e675b; }
.cc-map .cc-compass text { fill: #6e675b; font: 800 8px/1 var(--ez-numbers); text-anchor: middle; }
.cc-map .cc-limits { fill: none; stroke: var(--cc-tone); stroke-width: 2.5; stroke-dasharray: 12 7; opacity: .85; }
.cc-turf--mine .cc-map .cc-limits { stroke-dasharray: none; }
.cc-map .cc-limits__label { fill: var(--cc-tone); font: 800 9px/1 var(--ez-numbers); letter-spacing: .24em; }
.cc-turf__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 6px; padding: 30px 34px 32px; max-width: 640px; color: var(--ez-bone); }
.cc-turf__stamp { color: var(--cc-tone); font-size: 18px; }
body.ez .cc-turf__name { margin: 8px 0 22px; font: 900 clamp(52px, 8.5vw, 108px)/.9 var(--ez-display); letter-spacing: .01em; text-transform: uppercase; color: var(--ez-bone); overflow-wrap: anywhere; }
.cc-guard { display: grid; gap: 0; min-width: 0; }
.cc-guard__n { display: block; font-size: clamp(52px, 8vw, 92px); line-height: 1; overflow-wrap: anywhere; }
body.ez .cc-guard__cap { margin: 6px 0 0; color: var(--ez-bone); font-size: var(--ez-fs-body); line-height: 1.4; max-width: 30em; }
.cc-turf__facts { margin: 18px 0 22px; padding-top: 14px; border-top: 2px solid var(--ez-rule); gap: 10px 40px; }
.cc-turf__facts dd .ez-n { font-size: 26px; }
.cc-act { width: min(100%, 560px); display: grid; gap: 10px; }
.cc-act .ez-note { margin: 0; color: var(--ez-bone-2); }
.cc-act .ez-btn { white-space: normal; text-align: center; text-wrap: balance; padding-block: 10px; }
.city-word__body { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-start; }
.city-word__pic { flex: none; width: 300px; max-width: 100%; height: auto; border: 2px solid var(--ez-rule); background: var(--ez-ink-2); }
.city-word__body .ez-copy { flex: 1 1 24em; margin: 0; }
.city-board__city { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.city-board__city > .ph { font-size: 22px; flex: none; }
body.ez .city-board .ez-table__name { display: inline; font-weight: 600; }
body.ez a.city-board__holder { text-decoration: none; }
.city-board__holder { font-weight: 600; }
.city-board__here { gap: 4px; }
body.ez .city-board tbody tr.city-board__row--held { background: rgb(242 193 78 / .12); box-shadow: inset 4px 0 0 var(--ez-v-money); }
body.ez .city-board tbody tr.city-board__row--held:nth-child(even) { background: rgb(242 193 78 / .16); }
.city-board__row--held .ph, .city-board__row--held .ez-table__name { color: var(--ez-v-money); }
.city-board__row--held .city-board__holder, .city-board__row--ours .city-board__holder { display: inline-block; padding: 3px 8px 2px; border: 2px solid currentColor; font: 900 15px/1.1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; }
.city-board__row--held .city-board__holder { color: var(--ez-v-money); }
.city-board__row--ours .city-board__holder { color: var(--ez-v-turns); }
body.ez .city-board tbody tr.city-board__row--ours { background: rgb(255 90 31 / .14); box-shadow: inset 4px 0 0 var(--ez-hot); }
body.ez .city-board tbody tr.city-board__row--ours:nth-child(even) { background: rgb(255 90 31 / .18); }
.city-board__row--ours .ph, .city-board__row--ours .ez-table__name { color: var(--ez-v-turns); }
.city-board__row--open .ph { color: var(--ez-dot-off); }
.city-board__row--open .ez-table__name { color: var(--ez-bone-2); }
body.ez .city-board tbody tr[aria-current="true"] { outline: 2px solid var(--ez-bone-2); outline-offset: -2px; }
.city-board td { padding-top: 7px; padding-bottom: 7px; }
/* The manager's desk: doors, one tool at a time (?tool=), the desk for arming and selling back. */
.ez-doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
.ez-doors > li { min-width: 0; }
body.ez a.ez-door { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; aspect-ratio: 1; padding: 14px 10px;
  border: 2px solid var(--ez-rule); background: var(--ez-ink-2); color: var(--ez-bone); text-decoration: none; text-align: center; }
.ez-door > i { font-size: 44px; line-height: 1; color: var(--ez-bone-2); }
.ez-door__name { font: 800 22px/1 var(--ez-display); letter-spacing: .03em; text-transform: uppercase; }
.ez-door__line { font: 400 var(--ez-fs-small)/1.3 var(--ez-body); color: var(--ez-bone-2); max-width: 16ch; }
body.ez a.ez-door:hover { background: var(--ez-sel); border-color: var(--ez-hot); }
.ez-door:hover > i { color: var(--ez-hot); }
body.ez a.ez-door[aria-current="page"] { background: var(--ez-bone); border-color: var(--ez-bone); color: var(--ez-ink); }
.ez-door[aria-current="page"] > i, .ez-door[aria-current="page"] .ez-door__line { color: var(--ez-ink); }
.ez-doors.is-open { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
body.ez .ez-doors.is-open a.ez-door { aspect-ratio: auto; flex-direction: row; justify-content: flex-start; gap: 10px; padding: 9px 12px; }
.ez-doors.is-open .ez-door > i { font-size: 22px; }
.ez-doors.is-open .ez-door__name { font-size: 17px; }
.ez-doors.is-open .ez-door__line { display: none; }
.city-tool { margin-top: 12px; }
.city-tool .ez-desk { background: var(--ez-ink-2); border: 2px solid var(--ez-rule); padding: 0 18px 18px; min-width: 0; }
.city-tool .ez-desk__band { display: flex; align-items: center; gap: 6px 22px; margin: 0 -18px 0; padding: 14px 18px 12px; border-bottom: 2px solid var(--ez-rule); }
.city-tool .ez-desk__band .ez-stamp { font-size: 36px; color: inherit; }
.city-tool .ez-desk--sell { background: var(--ez-bone); color: var(--ez-ink); border-color: var(--ez-bone);
  --ez-c-turns: var(--ez-v-turns-p); --ez-c-money: var(--ez-v-money-p); --ez-c-count: var(--ez-v-count-p); --ez-c-2: var(--ez-paper-2); }
.city-tool .ez-desk--sell .ez-desk__band { background: var(--ez-ink); color: var(--ez-bone); border-bottom-color: var(--ez-ink); }
.city-tool .ez-desk--sell .ez-input { background: #fff8e8; color: var(--ez-ink); border-color: var(--ez-ink); }
.city-tool .ez-desk__order { margin: 6px -18px -18px; padding: 14px 18px 16px; border-top: 2px solid var(--ez-bone-2); }
.city-tool .ez-desk--sell .ez-desk__order { border-top-color: var(--ez-ink); }
.city-tool .ez-table td { padding-top: 12px; padding-bottom: 12px; }
.city-tool .ez-table .ez-n { font-size: 20px; }
.cm-qty, .cm-inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.cm-qty .ez-input { --ez-num-ch: 9; }
/* Send money (city.php ?tool=send): the city bank, how much, where to, read left to right (top to bottom on a phone);
   the bank after and the button close the desk, the answer under them. The box, quick amounts, sum and button are the
   Market's (.mk-pick, .mk-box, .mk-quick, .mk-sum, .mk-go); assets/app.js [data-bm] keeps them in step. */
.cm-send__flow { display: grid; grid-template-columns: auto max-content minmax(160px, 1fr); gap: 16px 32px; align-items: end; padding: 20px 0 18px; }
.cm-send__step { display: grid; gap: 8px; min-width: 0; }
.cm-send__from { font: 800 28px/40px var(--ez-numbers); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cm-send__pick .mk-box { flex: 1 1 auto; width: auto; min-width: 0; max-width: none; }
.cm-send__to { width: 100%; min-height: 40px; }
.cm-send__order { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.cm-send__order .mk-go { margin-left: auto; }
.cm-send__order > p { flex: 1 0 100%; margin: 0; }
@media (max-width: 1099px) {
  .cm-send__flow { grid-template-columns: minmax(0, 1fr); padding: 14px 0; }
  .cm-send__from { font-size: 24px; line-height: 1; }
  .cm-send__order .mk-sum dd { font-size: 22px; }
  .cm-send__order .mk-go { flex: 1 0 100%; min-width: 0; }
  .cm-send__pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .cm-send__pick .mk-quick button { min-width: 44px; padding: 0 6px; }
}
@media (max-width: 767px) { .city-tool .cm-send__order { margin: 6px -12px -14px; padding: 12px; } }
/* The cities panel's Send (cartel_cities.php): one box per city row with the quick amounts, the button and, once something
   is typed, what the treasury keeps. When the cartel column is too narrow for the six columns (a phone, or the icon rail
   beside the cartel links), each city is a card: name, the three numbers, who runs it, the Send. */
.cc-cities { container: cc / inline-size; }
.city-fund__send { min-width: 340px; }
.city-fund__pick .mk-box { flex: 1 1 auto; width: auto; min-width: 0; max-width: none; font-size: 18px; }
.city-fund__pick .mk-quick button { min-width: 44px; padding: 0 6px; font-size: 14px; }
.city-fund__go { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; }
.city-fund__after { font-size: var(--ez-fs-small); color: var(--ez-c-2); white-space: nowrap; }
.city-fund__after b { margin-left: 4px; font: 700 16px/1 var(--ez-numbers); }
.city-fund__desk:has(.mk-box:placeholder-shown) .city-fund__after { visibility: hidden; }
.city-fund__send .ez-notice { margin: 8px 0 0; }
@container cc (max-width: 879px) {
  .city-fund thead { display: none; }
  .city-fund, .city-fund tbody { display: block; }
  .city-fund tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px 20px; padding: 16px 0; border-bottom: 1px solid var(--ez-rule); }
  .city-fund td { display: block; min-width: 0; padding: 0; border: 0; }
  .city-fund td.ez-table__item, .city-fund td[data-label="Who runs it"], .city-fund td.city-fund__send { grid-column: 1 / -1; }
  .city-fund td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 6px; font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%;
    letter-spacing: .08em; text-transform: uppercase; color: var(--ez-c-2); }
  .city-fund__send { min-width: 0; }
  .city-fund__pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .city-fund__go .ez-btn { flex: 1 0 100%; }
}
@media (max-width: 767px) {
  .cc-turf__in { padding: 20px 16px 24px; } .cc-turf__stamp { font-size: 16px; }
  .cc-turf__map { inset: 0 -30% 45% 10%; height: auto; transform: none; opacity: .7; -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%); mask-image: radial-gradient(closest-side, #000 50%, transparent 100%); }
  .ez-doors, .ez-doors.is-open { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ez-door > i { font-size: 36px; }
  .ez-door__name { font-size: 19px; }
  body.ez .city-board .ez-table__name { font-size: 17px; }
  body.ez .city-board__row--held .city-board__holder, body.ez .city-board__row--ours .city-board__holder { font-size: 13px; padding: 2px 6px 1px; }
  .city-tool .ez-desk { padding: 0 12px 14px; } .city-tool .ez-desk__band { margin: 0 -12px; padding: 8px 12px 7px; }
}
/* Airport (mmpires src/View/airport/index.php, css airport.css): the cities in two groups left, the card and Fly
   right. One screen at 1200x900. Narrow: the cities in one column left, the card riding along on the right. */
.ap { display: grid; gap: 28px; align-items: start; min-width: 0; }
@media (min-width: 900px) { .ap { grid-template-columns: minmax(0, 1fr) 340px; } }
.ap-where { display: grid; gap: 22px; min-width: 0; }
.ap-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--ez-rule); font: inherit; }
.ap-group__name { font: 800 var(--ez-fs-h2)/1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; color: var(--ez-text); }
.ap-group__price { font-size: var(--ez-fs-small); color: var(--ez-text-2); white-space: nowrap; }
.ap-group__price .ez-v-turns, .ap-group__price .ez-v-money { font: 700 17px/1 var(--ez-numbers); }
.ap-group.is-short .ap-group__price { color: var(--ez-c-bad); }
.ap-cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 6px; }
.ap-cities li { position: relative; min-width: 0; }
.ap-radio { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ap-city { display: block; padding: 10px 12px; background: var(--ez-ground-2); color: var(--ez-text); cursor: pointer; font: 600 16px/1.2 var(--ez-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 2px solid transparent; }
.ap-city:hover { border-color: var(--ez-text-2); }
.ap-radio:checked + .ap-city { background: var(--ez-sel); border-color: var(--ez-hot); }
.ap-radio:focus-visible + .ap-city { outline: 3px solid var(--ez-text); outline-offset: 2px; }
.ap-radio:disabled + .ap-city { color: var(--ez-text-2); background: transparent; border: 1px dashed var(--ez-rule); cursor: not-allowed; }
.ap-heads-up { list-style: none; margin: 0; padding: 12px 0 0; border-top: 2px solid var(--ez-rule); display: grid; gap: 6px; font-size: var(--ez-fs-small); line-height: 1.4; color: var(--ez-text-2); }
.ap-heads-up b { color: var(--ez-text); }
.ap-side { display: grid; gap: 16px; min-width: 0; }
.ap-trip { padding: 18px 20px 16px; transform: rotate(-.3deg); }
.ap-trip > .ez-label { margin: 0; }
body.ez .ap-to { margin: 4px 0 14px; font: 900 40px/1 var(--ez-display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ez .ap-cost { margin: -10px 0 14px; font-size: var(--ez-fs-body); }
.ap-cost .ez-v-money, .ap-cost .ez-v-turns { font: 800 22px/1 var(--ez-numbers); }
.ap-crew { border-top: 1px solid var(--ez-paper-2); padding-top: 10px; }
.ap-crew summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; cursor: pointer; list-style: none; font-weight: 600; }
.ap-crew summary::-webkit-details-marker { display: none; }
.ap-crew__edit { text-decoration: underline; text-underline-offset: 3px; font-size: var(--ez-fs-small); color: var(--ez-c-2); }
.ap-crew[open] .ap-crew__edit { display: none; }
.ap-crew table { width: 100%; margin-top: 8px; border-collapse: collapse; }
.ap-crew th, .ap-crew td { height: 34px; padding: 0 4px; text-align: left; white-space: nowrap; }
.ap-crew th { font: 600 15px/1 var(--ez-body); }
.ap-crew .ez-input.ap-qty { width: 100%; max-width: none; min-height: 0; height: 28px; padding: 0 6px; border-width: 2px; text-align: right; font: 700 16px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; }
.ap-crew__of { color: var(--ez-c-2); font-size: var(--ez-fs-small); }
.ap-crew__of .ez-n { font-size: 15px; }
.ap-crew .ez-zero th { color: var(--ez-c-2); }
body.ez .ap-lose { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--ez-paper-2); font-size: var(--ez-fs-small); color: var(--ez-c-bad); font-weight: 600; }
.ap-go__cost { display: none; }
.ap-heads-up--narrow { display: none; }
.ap .ez-actbar { display: block; }
@media (max-width: 899px) {
  .ap { grid-template-columns: minmax(118px, 36%) minmax(0, 1fr); gap: 12px; }
  .ap-where { gap: 16px; }
  .ap-group__head { display: grid; gap: 4px; }
  .ap-group__name { font-size: 18px; }
  .ap-group__price { white-space: normal; font-size: 12px; }
  .ap-group__price .ez-v-turns, .ap-group__price .ez-v-money { font-size: 15px; }
  .ap-cities { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ap-city { padding: 9px 10px; font-size: 15px; }
  .ap-side { position: sticky; top: 8px; gap: 12px; }
  .ap-trip { padding: 14px 12px 12px; transform: none; }
  body.ez .ap-to { font-size: 28px; }
  .ap-cost .ez-v-money, .ap-cost .ez-v-turns { font-size: 19px; }
  .ap-crew th { font-size: 13px; }
  .ap-crew__of { display: none; }
  .ap-heads-up--wide { display: none; }
  .ap-heads-up--narrow { display: grid; font-size: 13px; }
}
@media (max-width: 767px) {
  body.ez .ap-to { font-size: 24px; }
  .ap-go__cost { display: inline; margin-left: .4em; }
}
/* END 14.9 */
/* 14.8a The cartel shell and pages, ported from mmpires public/css/empyrez.css (sections 31-33: the cartel banner, the
   HQ strip, roster, Where we stand, the link column, the ladder, options cards, the option screens, stats, member stats,
   the profile) and public/css/rivals.css (the war fight card). Every rule hangs off a cx-, wr- or shell class only the
   cartel pages print (tpl/cartel_shell.php), so no other page moves. */
body.ez:has(.cx-rail) .ez-main { position: relative; }
body.ez:has(.cx-rail) .ez-main::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 -20px; pointer-events: none;
  background: #0a0a0a; box-shadow: 0 0 0 100vmax #0a0a0a; clip-path: inset(0 -100vmax -100vmax 0); }
.ez-withrail { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; }
.ez-withrail > .ez-page { min-width: 0; }
.cx-rail { position: sticky; top: 12px; display: grid; gap: 2px; padding: 14px 8px 10px; background: var(--ez-ink-2); border: 1px solid var(--ez-rule); }
body.ez .cx-rail__h { margin: 0 8px 8px; font: 800 var(--ez-fs-label)/1 var(--ez-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ez-hot); }
body.ez .cx-rail a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; text-decoration: none; white-space: nowrap;
  font: 700 17px/1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; color: var(--ez-bone); }
.cx-rail a .ph { font-size: 20px; flex: none; color: var(--ez-bone-2); }
.cx-rail a span { overflow: hidden; text-overflow: ellipsis; }
body.ez .cx-rail a:hover { background: var(--ez-bone); color: var(--ez-ink); }
body.ez .cx-rail a:hover .ph { color: var(--ez-ink); }
body.ez .cx-rail a[aria-current="page"] { background: var(--ez-hot); color: var(--ez-ink); }
body.ez .cx-rail a[aria-current="page"] .ph { color: var(--ez-ink); }
.cx-rail hr { border: 0; border-top: 1px solid var(--ez-rule); margin: 6px 4px; }
@media (min-width: 1200px) {
  body.ez:has(.cx-rail) .ez-shell { gap: 28px; }
  .ez-withrail .ez-cols.cx-cols { grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
  .ez-withrail .cx-roster:not(.cx-roster--3) > li { grid-template-columns: minmax(0, 1fr) 13ch 7ch 60px; }
}
@media (max-width: 1199px) {
  .ez-withrail { display: block; }
  .cx-rail { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px; margin-bottom: 14px; }
  body.ez .cx-rail__h { margin: 0 6px 0 2px; }
  .cx-rail hr { display: none; }
  body.ez .cx-rail a { padding: 8px 10px; font-size: 16px; border: 1px solid var(--ez-rule); }
  .cx-rail a .ph { font-size: 18px; }
}
@media (max-width: 767px) {
  .cx-rail { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--ez-gutter)); border-inline: 0; padding-inline: var(--ez-gutter); }
  .cx-rail::-webkit-scrollbar { display: none; }
  body.ez .cx-rail__h { display: none; }
  .cx-rail a { flex: none; }
}
/* The cartel poster: the name with its worth under it, then the chain of command, then ID and Rank, on one row. */
.ez-withrail .ez-banner__name { flex: 1 1 auto; min-width: 0; display: grid; gap: 6px; }
.ez-withrail .ez-banner__name > .ez-banner__title { flex: none; white-space: normal; overflow: visible; font-size: min(50px, 7.4cqw); line-height: .9; }
.ez-withrail .ez-banner__name .ez-banner__tt { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
body.ez .ez-banner__sub { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--ez-on-paper); }
.ez-banner__sub .ez-n { font-size: 26px; color: var(--ez-c-money); }
.ez-banner__sub .ez-banner__k, .cx-banner .ez-banner__k { font: 700 11px/1 var(--ez-numbers); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.cx-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 32px; }
.cx-banner .ez-banner__aside { display: flex; gap: 26px; align-items: center; }
.cx-banner .ez-banner__aside > * { display: grid; gap: 2px; justify-items: end; text-align: right; color: var(--ez-on-paper); text-decoration: none; }
body.ez .cx-banner .ez-banner__aside a, body.ez .cx-banner .ez-banner__aside a b { color: var(--ez-on-paper); }
.cx-banner .ez-banner__aside b { font: 800 24px/1 var(--ez-numbers); letter-spacing: .01em; white-space: nowrap; }
.cx-banner .ez-banner__aside a:hover b { text-decoration: underline; }
.cx-chain { display: grid; gap: 6px; }
.cx-chain .ez-chip { justify-content: space-between; }
.cx-chain .ez-chip b { overflow: visible; }   /* a name prints as stored: clipped, the display face drops its underscore ("Tester Four", audit 25) */
body.ez .cx-banner .ez-chip { text-decoration: none; }
.cx-banner .ez-chip--hot b { color: var(--ez-hot); }
.cx-chip--co b { color: var(--ez-bone); }
.cx-rel b { color: var(--ez-bone); }
.cx-rel--war b { color: var(--ez-hot); }
.cx-rel--ally b { color: var(--ez-v-good); }
.cx-back { margin: 0 0 10px; }
@media (max-width: 767px) {
  .ez-withrail .ez-banner__row { flex-wrap: wrap; }
  .ez-withrail .ez-banner__name { flex: 1 0 auto; max-width: 100%; }
  .cx-banner { justify-content: space-between; width: 100%; }
  .ez-banner__sub .ez-n { font-size: 20px; }
  .cx-banner .ez-banner__aside { gap: 18px; }
  .cx-banner .ez-banner__aside b { font-size: 20px; }
}
/* The holdings strip: the cut first and large, then the treasury and stash, column under column. */
.cx-hold { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; padding: 0; overflow: hidden; margin: 0 0 18px; }
.cx-grp { flex: 1 1 auto; display: grid; align-content: start; gap: 10px; min-width: 0; padding: 14px 22px 16px; box-shadow: -1px 0 0 var(--ez-rule), 0 -1px 0 var(--ez-rule); }
.cx-grp--cut { flex: 0 0 auto; }
body.ez .cx-grp__h { margin: 0; font: 700 var(--ez-fs-label)/1 var(--ez-body); font-stretch: 75%; letter-spacing: .12em; text-transform: uppercase; color: var(--ez-bone-2); }
.cx-grp dl { margin: 0; display: flex; flex-wrap: nowrap; gap: 8px 36px; }
.cx-grp dl > div { display: grid; gap: 4px; }
.cx-grp dt { font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-c-2); }
.cx-grp dd { margin: 0; font-size: 30px; }
.cx-grp dd .ez-n { font-size: inherit; }
.cx-grp--stock { flex: 1 1 auto; align-content: center; }
.cx-grp--stock dl { display: grid; grid-template-columns: repeat(3, max-content); gap: 16px 48px; }
.cx-grp--stock dd { font-size: 26px; }
body.ez .cx-cut { justify-self: start; padding: 0; background: none; border: 0; color: var(--ez-c-count); font: 800 54px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; text-decoration: none; }
body.ez a.cx-cut { border-bottom: 3px dotted var(--ez-c-count); cursor: pointer; }
body.ez a.cx-cut:hover, body.ez a.cx-cut:focus-visible { color: var(--ez-text); border-bottom-style: solid; border-color: var(--ez-text); outline: none; }   /* orange to bone, the dots go solid: never orange to orange */
body.ez .cx-grp__note { margin: 0; max-width: 24ch; color: var(--ez-bone-2); font-size: var(--ez-fs-small); line-height: 1.3; }
.cx-hold .ez-cutedit { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin: 0; font-size: 40px; }
.cx-hold .ez-cutedit[hidden] { display: none; }
body.ez .cx-hold .ez-cutedit .ez-input { width: 1.9em; min-height: 0; height: 1.3em; padding: 0 .12em; font: 800 1em/1 var(--ez-numbers); color: var(--ez-c-count); text-align: center; background: var(--ez-ink); border: 2px solid var(--ez-bone-2); }
body.ez .cx-hold .ez-cutedit .ez-input:focus { border-color: var(--ez-hot); outline: none; }
.cx-hold .ez-cutedit > span { font: 800 1em/1 var(--ez-numbers); color: var(--ez-c-count); }
.cx-hold .ez-cutedit .ez-link { font-size: var(--ez-fs-small); }
.cx-ready { grid-column: 1 / -1; margin: 6px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--ez-rule); color: var(--ez-bone-2); line-height: 1.45; max-width: 60ch; }
.cx-ready__n { font: 800 20px/1 var(--ez-numbers); color: var(--ez-c-count); }
.cx-ready__n.is-none { color: var(--ez-hot); }
.cx-ready sup { color: var(--ez-bone-2); }
.cx-ready__go { margin-left: 6px; font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) {
  .cx-grp { flex-basis: 100%; padding: 12px 14px 14px; }
  .cx-grp dl { flex-wrap: wrap; gap: 8px 22px; }
  .cx-grp dd { font-size: 22px; }
  body.ez .cx-cut { font-size: 40px; }
  .cx-grp--cut { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 16px; }
  .cx-grp--cut > .cx-grp__h { grid-column: 1 / -1; }
  body.ez .cx-grp--stock dl { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cx-grp--stock dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  body.ez .cx-grp--stock dd { font-size: 22px; }
}
body.ez .cx-wait { margin: 0 0 16px; }
@media (min-width: 900px) { .ez-cols.cx-cols { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; } }
.cx-cols > * > :first-child { margin-top: 0; }
.cx-cols > .ez-sec, .cx-cols > aside > .ez-sec:first-child { margin-top: 0; }
/* Zebra rows: every second one a shade lighter, text off the stripe's edge. */
body.ez :is(.cx-roster, .cx-stand, .cx-rk, .cx-top, .cx-invout) > li { padding-left: 10px; padding-right: 10px; }
body.ez :is(.cx-roster, .cx-stand, .cx-rk, .cx-top, .cx-invout) > li:nth-child(even) { background: rgb(236 229 211 / .055); }
.cx-rhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 2px solid var(--ez-bone-2); }
body.ez .cx-rhead .ez-h2 { margin: 0; padding: 0; border: 0; }
body.ez .cx-rhead__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; color: var(--ez-bone-2); font-size: var(--ez-fs-small); }
.cx-rhead__meta .ez-n { font-size: 20px; }
.cx-rhead__meta .ez-btn .ph { margin-right: 6px; }
.cx-roster > li { display: grid; grid-template-columns: minmax(0, 1fr) 13ch 7ch 80px; grid-template-areas: "who worth rank acts"; gap: 2px 16px; align-items: center; }
.cx-roster__who { grid-area: who; display: grid; gap: 2px; min-width: 0; }
.cx-roster__worth { grid-area: worth; }
.cx-roster__no { flex: none; min-width: 1.4em; color: var(--ez-bone-2); font: 800 17px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; }
.cx-roster__who .ez-row__main { gap: 8px; flex-wrap: wrap; row-gap: 4px; }
.cx-roster__worth .ez-n { font-size: 19px; }
.cx-roster__rank { grid-area: rank; font: 800 19px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.ez .cx-roster__rank a { text-decoration: none; }
body.ez .cx-roster__rank a:hover { color: var(--ez-hot); }
body.ez .cx-roster__head { padding-block: 6px; }
.cx-roster__head > * { font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-c-2); white-space: nowrap; }
.cx-roster__head > :nth-child(1) { grid-area: who; } .cx-roster__head > :nth-child(2) { grid-area: worth; }
.cx-roster__head > :nth-child(3) { grid-area: rank; } .cx-roster__head > :nth-child(4) { grid-area: acts; }
.cx-acts { grid-area: acts; display: flex; justify-content: flex-end; gap: 4px; }
.cx-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; color: var(--ez-bone-2); font-size: 20px; border: 1px solid transparent; }
body.ez a.cx-ico { text-decoration: none; color: var(--ez-bone-2); }
body.ez a.cx-ico:hover, body.ez a.cx-ico:focus-visible { color: var(--ez-bone); border-color: var(--ez-bone-2); }
body.ez a.cx-ico--hit:hover, body.ez a.cx-ico--hit:focus-visible { color: var(--ez-hot); border-color: var(--ez-hot); }
.cx-ico--none { visibility: hidden; }
.cx-role { flex: none; padding: 3px 5px 2px; border: 1px solid var(--ez-hot); color: var(--ez-hot); font: 700 var(--ez-fs-label)/1 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
.cx-role--co { border-color: var(--ez-bone-2); color: var(--ez-bone); }
.cx-roster__head sup { font-size: .75em; line-height: 0; margin-left: 1px; }
@media (min-width: 768px) { .cx-roster--3 > li { grid-template-columns: minmax(0, 1fr) 13ch 7ch 120px; } }
@media (max-width: 767px) {
  .cx-roster > li { grid-template-columns: minmax(0, 1fr) 11ch 6ch; grid-template-areas: "who worth rank" "who acts acts"; gap: 0 10px; }
  .cx-roster__head > :nth-child(4) { display: none; }
  .cx-roster__worth .ez-n, .cx-roster__rank { font-size: 16px; }
  .cx-ico { width: 44px; height: 44px; }
}
.cx-stand > li { display: grid !important; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; padding-block: 12px !important; line-height: 1.4; }
body.ez .cx-stand__k { padding-top: 3px; text-decoration: none; }
body.ez .cx-stand__k:hover { color: var(--ez-hot); }
.cx-stand__v { display: grid; gap: 6px; min-width: 0; }
.cx-stand__v > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.cx-stand__meta { color: var(--ez-bone-2); font-size: var(--ez-fs-small); }
/* The cartel pages' footnotes are the frame's .ez-footnotes (13), printed inside the page column (page_footnotes()). */
.cx-move .ez-acts { margin-top: 4px; }
.cx-move .ez-btn .ph { margin-right: 6px; }
body.ez .cx-btn--ally { border-color: var(--ez-v-good); color: var(--ez-v-good); box-shadow: 4px 4px 0 rgb(111 220 140 / .25); }
body.ez .cx-btn--war { border-color: var(--ez-hot); color: var(--ez-hot); box-shadow: 4px 4px 0 rgb(255 90 31 / .25); }
body.ez .cx-btn--ally:hover { background: var(--ez-v-good); color: var(--ez-ink); }
body.ez .cx-btn--war:hover { background: var(--ez-hot); color: var(--ez-ink); }
/* No cartel yet. */
body.ez .cx-solo { margin: 4px 0 0; max-width: 28ch; line-height: 1.05; }
body.ez .ez-banner--strip .ez-banner__act .ez-link { color: var(--ez-on-paper); }
/* The cartel ladder: rank, name, thugs, treasury and stash. */
.cx-find { display: grid; gap: 6px; max-width: 520px; margin: 0 0 18px; }
.cx-invsearch__row { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 8px; }
body.ez .cx-find .ez-input { height: 50px; font-size: 17px; flex: 1 1 auto; min-width: 0; }
body.ez .cx-find .ez-btn { flex: none; }
.cx-find .ez-btn .ph { font-size: 18px; margin-right: 6px; }
.cx-find__list > li { grid-template-columns: minmax(0, 1fr) auto; }
.cx-find__meta, .cx-find__none { color: var(--ez-bone-2); font-size: var(--ez-fs-small); }
body.ez .cx-rk > li { display: grid; grid-template-columns: 4ch minmax(0, 1fr) 16ch 19ch; grid-template-areas: "no name thugs worth"; column-gap: 18px; align-items: center; padding-block: 13px; }
.cx-rk__no { grid-area: no; color: var(--ez-bone-2); font: 700 16px/1 var(--ez-numbers); }
.cx-rk__name { grid-area: name; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 17px; white-space: nowrap; overflow: hidden; }
.cx-rk__name .ez-cartel { overflow: hidden; text-overflow: ellipsis; }
.cx-rk__thugs { grid-area: thugs; text-align: right; font: 800 18px/1 var(--ez-numbers); color: var(--ez-c-count); white-space: nowrap; }
.cx-rk__thugs small { display: none; }
.cx-rk__worth { grid-area: worth; text-align: right; white-space: nowrap; font-size: 18px; }
body.ez .cx-rk > li.is-mine { background: var(--ez-sel); }
body.ez .cx-rk > li.cx-rk__head { padding-block: 6px; border-top: 0; background: none; font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-bone-2); }
.cx-rk__head > span:nth-child(1) { grid-area: name; }
.cx-rk__head > span:nth-child(2) { grid-area: thugs; text-align: right; }
.cx-rk__head > span:nth-child(3) { grid-area: worth; text-align: right; }
.cx-you { padding: 2px 6px 1px; background: var(--ez-bone); color: var(--ez-ink); font: 800 11px/1.2 var(--ez-body); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 767px) {
  body.ez .cx-rk > li { grid-template-columns: 4ch minmax(0, 1fr) auto; grid-template-areas: "no name worth" "no name thugs"; row-gap: 4px; }
  .cx-rk__name { flex-wrap: wrap; white-space: normal; row-gap: 4px; font-size: 16px; }
  .cx-rk__name .ez-cartel { overflow: visible; overflow-wrap: anywhere; }
  .cx-rk__thugs { font-size: 14px; }
  .cx-rk__thugs small { display: inline; font: 600 11px/1 var(--ez-body); color: var(--ez-bone-2); text-transform: uppercase; letter-spacing: .06em; }
  body.ez .cx-rk > li.cx-rk__head { display: none; }
}
/* The frame's link colour (body.ez a: inherit) must not reach a button in the cartel pages. */
body.ez :is(.cx-rhead, .cx-move, .cx-what, .cx-last, .wr-arm, .cx-opts, .ez-withrail) a.ez-btn--primary { color: var(--ez-on-hot); }
body.ez :is(.cx-rhead, .cx-move, .cx-what, .cx-last, .ez-withrail) a.ez-btn--secondary { color: var(--ez-btn-ink); }
/* The cut beside the stash on one line at 1200: the stash group takes the rest of the strip, its line wraps inside. */
.cx-grp--stock { flex: 1 1 340px; }
/* The HQ panel as mmpires draws it (owner 2026-11-04): one flat panel, the cut, a hairline, the figures. The frame's
   .ez-statusrow sits later in this file and put its padding, gap and centring back on the strip (the two boxed groups),
   so these carry both classes. The rules between groups are the panel's rule colour showing through a 1px gap: nothing
   leaks past the edge, and the Thugs pop-over is not clipped. */
.ez-statusrow.cx-hold { align-items: stretch; gap: 1px; padding: 0; overflow: visible; background: var(--ez-rule); }
.cx-hold > .cx-grp { box-shadow: none; background: var(--ez-ink-2); }
.cx-grp--stock dd { white-space: nowrap; }
/* The figures never run out of the panel: when the whole treasury cannot sit beside the cut, the figures take a row of
   their own under it (mmpires' wrap). Between 1200 and 1439 the menu and the cartel rail both stand beside the page, so
   the figures come down a size there to keep the cut beside them. */
.cx-hold > .cx-grp--stock { min-width: min-content; }
@media (min-width: 1200px) and (max-width: 1439px) {
  body.ez .cx-hold .cx-grp__note { max-width: 18ch; }
  .cx-hold .cx-grp--stock dl { column-gap: 32px; }
  .cx-hold .cx-grp--stock dd { font-size: 22px; }
}
.cx-money__short { display: none; text-decoration: none; }
/* Thugs: dotted, and hovering or tapping it says how many are armed and how many the biggest crew takes. */
.cx-tipd { position: relative; }
body.ez .cx-tip { margin: 0; padding: 0; background: none; border: 0; border-bottom: 2px dotted currentColor; border-radius: 0; font-size: inherit; color: var(--ez-c-count); cursor: help; }
body.ez .cx-tip:hover, body.ez .cx-tip:focus-visible { color: var(--ez-text); border-bottom-style: solid; border-bottom-color: var(--ez-text); outline: none; }   /* orange to bone, never orange to orange */
.cx-tip__pop { display: none; position: absolute; z-index: 15; left: 0; top: calc(100% + 10px); width: max-content; max-width: 300px; padding: 10px 12px;
  background: var(--ez-paper); color: var(--ez-on-paper); font: 500 14px/1.4 var(--ez-body); letter-spacing: 0; text-transform: none; white-space: normal;
  box-shadow: 0 0 0 2px var(--ez-ground); --ez-c-count: var(--ez-v-count-p); }
.cx-tip__pop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }   /* the bridge the pointer crosses */
.cx-tip__pop b { font: 800 16px/1 var(--ez-numbers); color: var(--ez-c-count); white-space: nowrap; }
.cx-tipd:hover > .cx-tip__pop, .cx-tip:focus + .cx-tip__pop { display: grid; gap: 6px; }
body.ez .cx-crew { margin-top: 0; }
@media (max-width: 767px) {
  .cx-hold > .cx-grp { flex-basis: 100%; }
  body.ez .cx-grp--stock dd { font-size: clamp(17px, 5.8vw, 22px); }
  .cx-tip__pop { left: auto; right: 0; max-width: min(300px, calc(100vw - 2 * var(--ez-gutter) - 28px)); }
  .cx-money--long .cx-money__full { display: none; }
  .cx-money--long .cx-money__short { display: inline; border-bottom: 2px dotted currentColor; cursor: help; }
}
/* 14.8b Wars (mmpires public/css/rivals.css, WARS): the oxblood war room; our side in bone, theirs in blood red, the
   skull on the enemy. Scoped to the Wars page (.ez-page[data-page="cartel-wars"]). */
.ez-withrail--none { display: block; }
/* The cartel mark (tpl/cartel_shell.php) is always an <svg class="mk">; scoped to svg so it never sizes the Black
   Market's <div class="mk"> wrapper, which mmpires kept apart in its own market.css. */
svg.mk { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.12em; }
body.ez:has(.ez-page[data-page="cartel-wars"]) {
  --wr-ground: #140908; --wr-panel: #1f0f0d; --wr-edge: #5c1c16; --wr-blood: #ff5145; --wr-blood-deep: #b3201a; --wr-us: var(--ez-bone); --wr-dim: #c9b9a6;
  background: radial-gradient(120% 60% at 50% -10%, #3b0f0b 0%, transparent 60%), radial-gradient(80% 50% at 50% 110%, #2a0a08 0%, transparent 70%), var(--wr-ground);
}
body.ez:has(.ez-page[data-page="cartel-wars"]) .ez-main::before { background: transparent; box-shadow: none; }
.ez-page[data-page="cartel-wars"] .ez-zone--status { margin: 0 0 18px; }
.ez-page[data-page="cartel-wars"] .ez-statusrow { background: rgb(31 15 13 / .8); box-shadow: inset 0 0 0 1px var(--wr-edge); }
.ez-page[data-page="cartel-wars"] .ez-stamp { color: var(--wr-blood); }
.wr-panel { position: relative; background: linear-gradient(180deg, #24110e 0%, var(--wr-panel) 100%); color: var(--wr-us);
  border: 2px solid var(--wr-edge); box-shadow: inset 0 0 0 1px rgb(255 81 69 / .08), 0 18px 40px rgb(0 0 0 / .45); padding: 22px 26px; }
body.ez .wr-panel p { margin: 0; }
.wr-kicker { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font: 800 var(--ez-fs-label)/1 var(--ez-body); letter-spacing: .14em; text-transform: uppercase; color: var(--wr-blood); }
.wr-when { color: var(--wr-dim); font: 500 var(--ez-fs-small)/1.2 var(--ez-body); letter-spacing: 0; text-transform: none; }
body.ez .wr-panel .ez-cartel { color: inherit; text-decoration: none; }
body.ez .wr-panel a.ez-cartel:hover, body.ez .wr-panel a.ez-cartel:focus-visible { text-decoration: underline; }
body.ez .wr-say { font-size: var(--ez-fs-body); color: var(--wr-dim); text-align: center; }
.wr-fight__top { display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; }
.wr-clock { font: 900 26px/1 var(--ez-display); letter-spacing: .06em; text-transform: uppercase; color: var(--wr-us); }
.wr-face { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px 32px; margin-top: 22px; }
.wr-side { display: grid; gap: 6px; justify-items: start; min-width: 0; color: var(--wr-us); }
.wr-side--them { justify-items: end; text-align: right; color: var(--wr-blood); }
.wr-name { display: flex; align-items: center; gap: 9px; max-width: 100%; min-width: 0; font: 800 24px/1.1 var(--ez-numbers); text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.wr-name .ez-cartel { overflow: hidden; text-overflow: ellipsis; }
.wr-name .mk { width: 26px; height: 26px; }
.wr-side--them .wr-name { flex-direction: row-reverse; }
.wr-score { font: 800 68px/.9 var(--ez-numbers); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.wr-score .ez-n { color: inherit; font-size: inherit; }
.wr-sub { font: 600 var(--ez-fs-small)/1.2 var(--ez-body); color: var(--wr-dim); }
.wr-vs { justify-self: center; font: 900 54px/1 var(--ez-display); color: var(--wr-blood); transform: skew(-8deg) rotate(-4deg); text-shadow: 3px 3px 0 #000; }
.wr-tug { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 0; margin-top: 24px; }
.wr-tug i { grid-column: 1 / -1; display: block; height: 16px; background: var(--wr-blood-deep); box-shadow: inset 0 0 0 2px #000; }
.wr-tug b { display: block; height: 100%; width: calc(var(--fill, .5) * 100%); background: var(--wr-us); box-shadow: 2px 0 0 #000; }
.wr-tug span { font: 700 var(--ez-fs-small)/1 var(--ez-numbers); letter-spacing: .04em; color: var(--wr-us); }
.wr-tug span + span { text-align: right; color: var(--wr-blood); }
.wr-verdict { display: grid; justify-items: center; gap: 8px; margin-top: 22px; }
.wr-call { font: 900 34px/1 var(--ez-display); letter-spacing: .04em; text-transform: uppercase; color: var(--wr-us); }
.wr-call[data-lead="us"] { color: var(--ez-v-good); }
.wr-call[data-lead="them"] { color: var(--wr-blood); }
.wr-feed { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--wr-edge); }
.wr-feed ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.wr-feed li { display: flex; gap: 12px; align-items: baseline; max-width: 78%; font-size: var(--ez-fs-small); color: var(--wr-us); }
.wr-feed li.is-them { margin-left: auto; flex-direction: row-reverse; text-align: right; color: var(--wr-blood); }
.wr-feed li::before { content: ''; flex: none; align-self: center; width: 8px; height: 8px; background: currentColor; }
.wr-feed__what, .wr-feed__ago { color: var(--wr-dim); white-space: nowrap; }
.wr-feed__ago { margin-left: auto; }
.wr-feed li.is-them .wr-feed__ago { margin-left: 0; margin-right: auto; }
body.ez .wr-feed__none { margin-top: 10px; text-align: center; color: var(--wr-dim); }
.wr-challenge { border-color: var(--wr-blood); text-align: center; }
.wr-challenge .wr-kicker .mk { width: 18px; height: 18px; }
body.ez .wr-challenge__who { margin-top: 12px; font: 800 30px/1.1 var(--ez-numbers); text-transform: uppercase; }
body.ez .wr-challenge .wr-say { margin: 10px auto 0; max-width: 52ch; }
.wr-callout { display: grid; justify-items: center; gap: 16px; text-align: center; padding-block: 26px; }
.wr-callout__form { display: grid; justify-items: center; gap: 16px; width: 100%; margin: 0; }
.wr-callout .wr-arm { margin-top: 0; flex-direction: column; gap: 16px; }
.wr-callout .wr-declare { min-width: 280px; justify-content: center; }
.wr-callout__skull { width: 72px; height: 72px; color: var(--wr-blood); filter: drop-shadow(3px 3px 0 #000); }
.wr-input { width: 100%; max-width: 440px; padding: 12px 14px; background: #120706; color: var(--wr-us); border: 2px solid var(--wr-edge); font: 700 20px/1.2 var(--ez-body); text-align: center; }
.wr-input::placeholder { color: #9c8a7a; }
.wr-input:focus { outline: none; border-color: var(--wr-blood); }
.wr-input:disabled { opacity: .55; cursor: not-allowed; }
.wr-arm { display: flex; align-items: center; justify-content: center; gap: 14px 18px; flex-wrap: wrap; margin-top: 22px; }
.wr-arm form { margin: 0; }
.wr-days { display: inline-flex; border: 2px solid var(--wr-edge); }
.wr-days input { position: absolute; opacity: 0; pointer-events: none; }
.wr-days label { padding: 11px 16px 9px; font: 800 16px/1 var(--ez-numbers); text-transform: uppercase; letter-spacing: .04em; color: var(--wr-dim); cursor: pointer; }
.wr-days input + label ~ label { border-left: 2px solid var(--wr-edge); }
.wr-days input:checked + label { background: var(--wr-blood-deep); color: #fff; }
.wr-days input:focus-visible + label { outline: 3px solid var(--wr-us); outline-offset: -3px; }
.wr-days input:disabled + label { cursor: not-allowed; opacity: .55; }
.wr-declare { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px 12px; border: 0; cursor: pointer; background: var(--wr-blood-deep); color: #fff;
  box-shadow: 0 0 0 2px #000, 5px 5px 0 #000; font: 900 24px/1 var(--ez-display); letter-spacing: .08em; text-transform: uppercase; transition: transform .08s, box-shadow .08s, background .15s; }
.wr-declare .mk { width: 26px; height: 26px; }
.wr-declare:not(:disabled):hover { background: #d1261f; }
.wr-declare:not(:disabled):active { transform: translate(3px, 3px); box-shadow: 0 0 0 2px #000, 2px 2px 0 #000; }
.wr-declare:focus-visible { outline: 3px solid var(--wr-us); outline-offset: 4px; }
.wr-declare:disabled { background: #3a1814; color: #a8907f; cursor: not-allowed; box-shadow: 0 0 0 2px #000; }
.wr-ghost { display: inline-block; padding: 11px 18px 9px; background: transparent; color: var(--wr-dim); border: 2px solid var(--wr-edge); cursor: pointer;
  font: 800 16px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; list-style: none; }
.wr-ghost::-webkit-details-marker { display: none; }
.wr-ghost:hover { color: var(--wr-us); border-color: var(--wr-dim); }
body.ez .wr-lock { margin-top: 14px; text-align: center; color: var(--wr-dim); font-size: var(--ez-fs-small); }
.ez-page[data-page="cartel-wars"] .ez-fold { border-color: var(--wr-edge); }
@media (prefers-reduced-motion: reduce) { .wr-declare { transition: none; } }
@media (max-width: 640px) {
  .wr-panel { padding: 18px 16px; }
  .wr-face { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 14px; }
  .wr-vs { grid-row: 1; grid-column: 1 / -1; font-size: 34px; }
  .wr-score { font-size: clamp(26px, 8.5vw, 38px); }
  .wr-name { font-size: 17px; white-space: normal; align-items: flex-start; }
  .wr-name .ez-cartel { overflow: visible; overflow-wrap: anywhere; }
  .wr-name .mk { width: 20px; height: 20px; }
  .wr-call { font-size: 26px; text-align: center; }
  .wr-feed li { max-width: 100%; }
  .wr-callout__skull { width: 52px; height: 52px; }
  .wr-input { max-width: none; }
  .wr-declare { width: 100%; justify-content: center; font-size: 20px; white-space: normal; }
  .wr-days { width: 100%; } .wr-days label { flex: 1; text-align: center; padding-inline: 8px; }
}
/* 14.8c The office (mmpires options.php, invitemembers.php, shop.php, donate-items.php, allies.php), the stats, the
   member stats and the board, as mmpires draws them. */
body.ez .cx-acth { margin: 0 0 14px; }
.cx-acth .ez-h2 { margin: 0 0 4px; }
body.ez .cx-acth p { margin: 0; }
.cx-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.ez a.cx-opt { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 16px 16px 14px;
  background: var(--ez-ink-2); border: 2px solid var(--ez-rule); color: var(--ez-bone); text-decoration: none; }
.cx-opt__ic { display: grid; place-items: center; width: 44px; height: 44px; font-size: 24px; background: var(--ez-ink); border: 1px solid var(--ez-rule); color: var(--ez-bone); }
.cx-opt__t { display: grid; gap: 5px; min-width: 0; }
.cx-opt__t b { font: 700 21px/1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.cx-opt__t span { color: var(--ez-bone-2); font-size: var(--ez-fs-small); line-height: 1.4; }
.cx-opt__go { font-size: 20px; color: var(--ez-bone-2); }
body.ez a.cx-opt:hover { border-color: var(--ez-bone); background: var(--ez-sel); }
body.ez a.cx-opt:hover .cx-opt__go { color: var(--ez-bone); }
body.ez a.cx-opt--hot { border-color: var(--ez-hot); }
.cx-opt--hot .cx-opt__ic { background: var(--ez-hot); border-color: var(--ez-hot); color: var(--ez-ink); }
.cx-noundo { margin-top: 28px; padding: 14px 14px 16px; border: 2px dashed var(--ez-hot); }
body.ez .cx-noundo .cx-grp__h { margin: 0 0 12px; color: var(--ez-hot); }
.cx-opt--danger .cx-opt__ic { color: var(--ez-hot); border-color: var(--ez-hot); }
body.ez a.cx-opt--danger:hover { border-color: var(--ez-hot); }
@media (max-width: 767px) { .cx-opts { grid-template-columns: minmax(0, 1fr); } }
body.ez .cx-pick__h { margin: 0 0 12px; }
.cx-mpicks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cx-mpicks input { position: absolute; opacity: 0; pointer-events: none; }
.cx-mpick { display: grid; gap: 6px; align-content: start; min-width: 0; padding: 14px 16px; cursor: pointer; background: var(--ez-ink-2); border: 2px solid var(--ez-rule); }
.cx-mpick__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; font-size: 17px; font-weight: 700; color: var(--ez-bone); }
.cx-mpick__meta { color: var(--ez-bone-2); font-size: var(--ez-fs-small); line-height: 1.4; }
.cx-mpick:hover { border-color: var(--ez-bone-2); }
.cx-mpicks input:checked + .cx-mpick { border-color: var(--ez-hot); background: var(--ez-sel); }
.cx-mpicks input:focus-visible + .cx-mpick { outline: 3px solid var(--ez-bone); outline-offset: 2px; }
.cx-mpick--out { border-style: dashed; }
.cx-what { align-self: start; padding: 16px 18px 18px; background: var(--ez-ink-2); border: 2px solid var(--ez-rule); }
body.ez .cx-what > .cx-grp__h { margin: 0 0 10px; }
body.ez .cx-what__line { margin: 0 0 16px; color: var(--ez-bone); line-height: 1.5; }
.cx-what .ez-acts { display: grid; gap: 10px; justify-items: center; margin: 0; }
body.ez .cx-what .ez-btn { justify-self: stretch; width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.1; padding-block: 12px; text-align: center; }
body.ez .cx-what__sub { margin: 24px 0 8px; }
.cx-what .ez-seg { margin-bottom: 16px; }
.cx-what .ez-field { margin-bottom: 12px; }
.cx-last { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; max-width: 720px; margin-top: 4px; padding: 22px 22px 24px; border: 2px solid var(--ez-hot); }
.cx-last__ic { width: 46px; height: 46px; color: var(--ez-hot); }
body.ez .cx-last__h { margin: 2px 0 14px; font: 800 28px/1.1 var(--ez-numbers); text-transform: uppercase; color: var(--ez-bone); }
.cx-lose { display: grid; gap: 7px; margin: 0 0 16px; padding-left: 1.1em; color: var(--ez-bone); line-height: 1.45; }
.cx-lose li::marker { color: var(--ez-hot); }
body.ez .cx-keep { margin: 0 0 16px; color: var(--ez-v-good); }
.cx-last .ez-field { margin: 4px 0 16px; }
body.ez .cx-last__word { max-width: 16ch; font: 800 22px/1 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; }
.cx-last .ez-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
@media (max-width: 767px) {
  .cx-mpicks { grid-template-columns: minmax(0, 1fr); }
  .cx-last { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px; }
  body.ez .cx-last__h { font-size: 23px; }
}
/* Invite: one box per seat, open seats dashed; the name box; invites out. */
.cx-seatsbox { flex-basis: 100%; }
.cx-seats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cx-seat { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 2px solid var(--ez-bone-2); background: var(--ez-ink); }
.cx-seat .ez-uname { font-size: 17px; }
.cx-seat--open { border-style: dashed; border-color: var(--ez-v-good); color: var(--ez-v-good); font: 700 var(--ez-fs-label)/1 var(--ez-body); font-stretch: 75%; letter-spacing: .1em; text-transform: uppercase; }
.cx-invsearch { display: grid; gap: 10px; margin: 0 0 26px; }
.cx-invsearch .ez-btn { justify-self: start; }
.cx-invsearch .ez-btn .ph, .cx-pkg .ez-btn .ph, .cx-givebtn .ph { font-size: 20px; margin-right: 8px; }
.cx-invout > li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cx-invout__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.cx-invout form { margin: 0; }
/* Supplies: the Market's desk (.mk, .mk-desk, .mk-table, .mk-order), the Buy and Sell folders on its top edge with the
   Donate button on the same line; the open folder runs into the desk. One price column, so the table has four. */
.cx-readybar .cx-ready { margin: 0 0 14px !important; padding: 12px 16px; background: var(--ez-ink-2); border: 1px solid var(--ez-rule); max-width: none; }
.cx-folders { display: flex; align-items: flex-end; gap: 4px; }
body.ez a.cx-folder { padding: 10px 22px 8px; border: 2px solid var(--ez-rule); border-bottom: 0; color: var(--ez-bone-2); text-decoration: none; font: 800 19px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }
body.ez a.cx-folder[aria-current="page"] { position: relative; z-index: 1; margin-bottom: -2px; padding-bottom: 10px; background: var(--ez-ground-2); color: var(--ez-bone); }
body.ez .cx-givebtn { margin: 0 0 10px auto; align-self: center; }
.mk-table--one { grid-template-columns: minmax(0, 1fr) 96px 96px max-content; }
@container mk (max-width: 899px) { .mk-table--one { grid-template-columns: minmax(0, 1fr) 96px 96px; } }
@container mk (max-width: 559px) { .mk-table--one { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cx-supplies .mk-sum { flex-wrap: wrap; gap: 10px 24px; } .cx-supplies .mk-go { white-space: normal; line-height: 1.1; } }
@media (max-width: 767px) {
  .cx-folders { flex-wrap: wrap; }
  body.ez .cx-givebtn { order: -1; flex: 1 0 100%; margin: 0 0 14px; justify-content: center; }
}
/* Donate items: numbered steps, member chips, item tiles each with its box, today's boxes. */
.cx-step { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.cx-step legend { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 0; font: 700 20px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; color: var(--ez-bone); }
.cx-step__n { display: grid; place-items: center; width: 28px; height: 28px; background: var(--ez-hot); color: var(--ez-ink); font: 800 17px/1 var(--ez-numbers); }
.cx-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-picks input { position: absolute; opacity: 0; pointer-events: none; }
.cx-picks label { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; cursor: pointer; border: 2px solid var(--ez-rule); background: var(--ez-ink-2); color: var(--ez-bone); font-weight: 700; }
.cx-picks label:hover { border-color: var(--ez-bone-2); }
.cx-picks input:checked + label { border-color: var(--ez-hot); background: var(--ez-sel); color: var(--ez-hot); }
.cx-picks input:focus-visible + label { outline: 3px solid var(--ez-bone); outline-offset: 2px; }
.cx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cx-tile { display: grid; gap: 6px; padding: 14px 14px 12px; min-width: 0; border: 2px solid var(--ez-rule); background: var(--ez-ink-2); color: var(--ez-bone); }
.cx-tile b { font: 700 24px/1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.cx-tile > span { color: var(--ez-bone-2); font-size: var(--ez-fs-small); }
.cx-tile .ez-n { color: var(--ez-bone); font-size: 15px; }
.cx-tile .ez-input { min-height: 44px; max-width: none; }
.cx-tile:focus-within { border-color: var(--ez-hot); }
.cx-pips { list-style: none; display: flex; gap: 6px; margin: 4px 0 14px; padding: 0; }
.cx-pip { width: 34px; height: 34px; border: 2px solid var(--ez-rule); background: var(--ez-ink-2); }
.cx-pip.is-used { background: var(--ez-hot); border-color: var(--ez-hot); }
body.ez .cx-day { margin: 0; color: var(--ez-bone-2); line-height: 1.45; }
.cx-day b { color: var(--ez-bone); }
.cx-howmany { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
body.ez .cx-howmany .ez-input { width: 6ch; font: 800 26px/1 var(--ez-numbers); height: 52px; }
.cx-howmany span { font: 800 26px/1 var(--ez-numbers); color: var(--ez-bone-2); }
@media (max-width: 767px) { .cx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Allies and enemies (mmpires rivals.css ALLIES): green flags, red skulls; open slots ghosted. */
.ez-page:is([data-page="cartel-allies"], [data-page="cartel-enemies"]) {
  --al-flag: #6fdc8c; --al-flag-panel: #10231a; --al-flag-edge: #2f7a4c; --al-skull: #ff6b5e; --al-skull-panel: #26100e; --al-skull-edge: #8f2a21; --al-dim: #b9c2bb; }
.al-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.al-col { --c: var(--al-flag); --c-panel: var(--al-flag-panel); --c-edge: var(--al-flag-edge); min-width: 0; }
.al-col--enemy { --c: var(--al-skull); --c-panel: var(--al-skull-panel); --c-edge: var(--al-skull-edge); }
.al-col__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 3px solid var(--c-edge); }
body.ez .al-col__h { margin: 0; display: flex; align-items: center; gap: 10px; font: 900 30px/1 var(--ez-display); letter-spacing: .04em; text-transform: uppercase; color: var(--c); }
.al-col__h .mk, .al-col__h .ph { width: 30px; height: 30px; font-size: 30px; }
body.ez .al-count { margin: 0; color: var(--al-dim); font: 600 var(--ez-fs-small)/1 var(--ez-body); }
.al-count b { font: 800 var(--ez-fs-big)/1 var(--ez-numbers); color: var(--c); margin-right: 3px; }
.al-slots { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.al-slot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; min-height: 62px; padding: 10px 14px; }
.al-slot__mk { grid-row: 1 / span 2; width: 30px; height: 30px; font-size: 28px; color: var(--c); }
.al-slot__mk .mk { width: 30px; height: 30px; }
.al-slot__name { grid-column: 2; font: 800 20px/1.15 var(--ez-numbers); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ez-bone); }
body.ez .al-slot__name .ez-cartel { color: inherit; text-decoration: none; }
.al-slot__sub { grid-column: 2; font-size: var(--ez-fs-label); color: var(--al-dim); }
.al-slot__act { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.al-slot.is-filled { background: var(--c-panel); border: 2px solid var(--c-edge); box-shadow: inset 4px 0 0 var(--c); }
.al-slot.is-open { border: 2px dashed rgb(185 194 187 / .18); color: #7f8a83; font: 700 var(--ez-fs-label)/1 var(--ez-body); letter-spacing: .1em; text-transform: uppercase; }
.al-slot.is-open .al-slot__mk { grid-row: auto; opacity: .22; width: 24px; height: 24px; font-size: 22px; }
.al-slot.is-find { grid-template-columns: minmax(0, 1fr); gap: 10px; border: 2px dashed var(--c); background: rgb(0 0 0 / .25); }
.al-find { display: grid; gap: 10px; margin: 0; }
.al-btn { padding: 9px 14px 7px; background: transparent; color: var(--ez-bone); border: 2px solid var(--c-edge); cursor: pointer; font: 800 15px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }
.al-btn:hover { border-color: var(--c); color: var(--c); }
.al-btn:focus-visible { outline: 3px solid var(--ez-bone); outline-offset: 2px; }
.al-btn--go { justify-self: start; background: var(--c); color: #0b0d0c; border-color: var(--c); padding: 12px 18px 10px; font-size: 17px; }
.al-btn--go:hover { color: #0b0d0c; filter: brightness(1.08); }
@media (max-width: 760px) { .al-board { grid-template-columns: minmax(0, 1fr); gap: 26px; } .al-slot__name { font-size: 18px; } }
/* Stats: one row per member, groups over the columns, the best in each column marked, your row lit. */
.cx-stats { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cx-stats th, .cx-stats td { padding: 12px 14px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--ez-rule); }
.cx-stats thead th { padding-block: 8px; border-bottom: 2px solid var(--ez-bone-2); vertical-align: bottom; }
.cx-stats thead button { all: unset; cursor: pointer; font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-bone-2); }
.cx-stats thead button:hover, .cx-stats th[aria-sort] button { color: var(--ez-bone); }
.cx-stats thead button:focus-visible { outline: 2px solid var(--ez-bone); outline-offset: 3px; }
.cx-stats th[aria-sort="descending"] button::after { content: " \2193"; color: var(--ez-hot); }
.cx-stats th[aria-sort="ascending"] button::after { content: " \2191"; color: var(--ez-hot); }
.cx-stats__groups th { padding-block: 0 4px; border-bottom: 0; }
.cx-stats__g { text-align: left !important; font: 700 var(--ez-fs-label)/1 var(--ez-body); font-stretch: 75%; letter-spacing: .12em; text-transform: uppercase; color: var(--ez-hot); border-bottom: 2px solid var(--ez-hot) !important; }
.cx-stats .cx-stats__start { padding-left: 26px; }
.cx-stats__groups .cx-stats__g { padding-left: 26px; }
.cx-stats .cx-stats__who { text-align: left; font-weight: 400; position: sticky; left: 0; z-index: 1; background: var(--ez-ink); box-shadow: 1px 0 0 var(--ez-rule); }
.cx-stats tbody .cx-stats__who > * { vertical-align: middle; margin-right: 8px; }
.cx-stats tbody tr:nth-child(even) > * { background: var(--ez-ink-2); }
.cx-stats td .ez-n { font-size: 16px; }
.cx-stats td.is-top { box-shadow: inset 0 -3px 0 var(--ez-hot); }
.cx-stats tr.is-me > * { background: var(--ez-sel) !important; }
.cx-statswrap { margin-top: 4px; }
body.ez .cx-stats__h2 { margin: 30px 0 6px; color: var(--ez-bone); font-size: 14px; }
body.ez .cx-stats__h2--first { margin-top: 4px; }
@media (max-width: 1199px) { .cx-stats th, .cx-stats td { padding: 10px 10px; } .cx-stats .cx-stats__start, .cx-stats__groups .cx-stats__g { padding-left: 18px; } }
.cx-mhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 18px; }
.cx-mhead__name { font: 800 30px/1 var(--ez-numbers); text-transform: uppercase; color: var(--ez-bone); }
body.ez .cx-mhead__name a { color: inherit; text-decoration: none; }
.cx-mhead__meta { color: var(--ez-bone-2); }
.cx-mtables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; align-items: start; }
.cx-mtable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cx-mtable caption { padding: 0 0 8px; text-align: left; font: 700 var(--ez-fs-label)/1 var(--ez-body); font-stretch: 75%; letter-spacing: .12em; text-transform: uppercase; color: var(--ez-hot); border-bottom: 2px solid var(--ez-hot); }
.cx-mtable th, .cx-mtable td { padding: 11px 12px; border-bottom: 1px solid var(--ez-rule); }
.cx-mtable th { text-align: left; font-weight: 400; color: var(--ez-bone-2); }
.cx-mtable td { text-align: right; white-space: nowrap; font-size: 17px; }
.cx-mtable td .ez-n { font-size: 17px; }
.cx-mtable tr:nth-child(even) > * { background: var(--ez-ink-2); }
@media (max-width: 767px) { .cx-mtables { grid-template-columns: minmax(0, 1fr); } .cx-mhead__name { font-size: 24px; } }
/* The board: the group chat (the mailbox's .ez-chat), the game's lines small and muted. */
.ez-board__log { max-height: clamp(280px, calc(100vh - 470px), 640px); overflow-y: auto; overscroll-behavior: contain; }
.ez-board__tag { font-size: 14px; letter-spacing: .02em; }
.ez-board__by { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 6px; }
.ez-board__face { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #4a443a; color: var(--ez-bone); font: 800 14px/1 var(--ez-body); }
.ez-board__by .ez-uname { font-size: 14px; font-weight: 700; color: var(--ez-bone); }
.ez-board__role { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ez-v-turns); }
.ez-board__line { display: flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0; }
.ez-board__bub .ez-board__line, .ez-board__bub > .ez-bub__meta { margin-left: 36px; }
.ez-board__delform { margin: 0; }
.ez-board__del { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ez-bone-2); cursor: pointer; opacity: 0; }
.ez-board__del:hover { background: var(--ez-ink-2); color: var(--ez-bone); }
.ez-bub:hover .ez-board__del, .ez-board__del:focus-visible { opacity: 1; }
@media (hover: none) { .ez-board__del { opacity: .55; } }
.ez-board__empty { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; padding: 24px 0; }
.ez-board__alerts { align-self: stretch; list-style: none; }
.ez-board__alist { list-style: none; margin: 0; padding: 4px 0 4px 10px; border-left: 2px solid var(--ez-rule); }
.ez-board__alert { display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 1px 0; color: var(--ez-bone-2); font-size: 13px; line-height: 1.4; }
.ez-board__at { flex: none; min-width: 34px; font-variant-numeric: tabular-nums; opacity: .8; }
.ez-board__atext { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ez-board__pages { justify-content: center; padding: 8px 0; }
@media (max-width: 767px) { .ez-board__log { max-height: 58vh; } .ez-board__bub .ez-board__line, .ez-board__bub > .ez-bub__meta { margin-left: 0; } }
/* END 14.8 */
/* END 14 LAYOUT PASS */

/* 16. BOARDS ------------------------------------------------------------------------------------------
   Slice 6: Most Wanted (wanted.php), the leader boards (leaders.php), the Hall of Fame (halloffame.php), badges
   (achievements.php), the front page's two links. Ranks in bone, names on one line, figures by family. */

/* Ported from mmpires public/css/empyrez.css and css/options.css (the mock is the spec: the same components, the same
   values, the class names kept). Tokens are this sheet's. */

/* The poster's city chip and its right-hand side. */
.ez-banner__city { flex: none; max-width: 40%; margin: 0; padding: 6px 11px 5px; background: var(--ez-ink); color: var(--ez-bone);
  font: 800 17px/1 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; transform: rotate(1.5deg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-banner__side { flex: 0 0 auto; max-width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; gap: 8px 18px; margin-left: auto; min-width: 0; }
.ez-banner__aside { display: flex; gap: 26px; align-items: flex-end; }

/* Tabs: tighter, boxed, hung from the sheet's torn edge, wrapping. A boxed tab is the button key (section 8); the one
   on show is the orange one. */
body.ez .ez-pills--tight a, .ez-pills--tight button { padding: 10px 9px 8px; font-size: 17px; letter-spacing: .03em; gap: 5px; }
.ez-pills--box { border-bottom: 0; gap: 8px; align-items: center; }
body.ez .ez-pills--box a, .ez-pills--box button { margin: 0; min-height: 46px; align-items: center; padding: 0 12px; border: 0; background: var(--ez-btn); color: var(--ez-btn-ink); box-shadow: inset 0 -3px 0 var(--ez-btn-lip); }
body.ez .ez-pills--box a:hover, .ez-pills--box button:hover { color: var(--ez-btn-ink); background: var(--ez-btn-hi); }
body.ez .ez-pills--box [aria-selected="true"], body.ez .ez-pills--box [aria-current="page"] { background: var(--ez-hot); color: var(--ez-on-hot); box-shadow: none; }
.ez-pills--onposter { position: relative; z-index: 3; margin: -30px 0 24px; padding: 0 14px; border-bottom: 0; }
.ez-pills .ez-acts { flex: none; margin: 0; }
@media (min-width: 768px) { .ez-pills--wrap { flex-wrap: wrap; overflow: visible; row-gap: 6px; } }
@media (min-width: 768px) and (max-width: 1199px) { body.ez .ez-pills--box a, .ez-pills--box button { padding: 0 9px; } .ez-pills--box { gap: 6px; } }

/* Inline select: as tall as a quiet button, as wide as its text. */
.ez-select--auto, .ez-acts .ez-select { width: auto; min-height: 44px; padding: 0 34px 0 12px; font: 600 16px/1 var(--ez-body); letter-spacing: 0; text-transform: none; }
/* A chip that is a link (the boards' "See the / Losers' board"): ink, bone text, as on mmpires' Options pages. */
body.ez a.ez-chip { background: var(--ez-ink); color: var(--ez-bone); }
body.ez a.ez-chip:hover b { text-decoration: underline; }

/* Names around names: a muted tag (#id), a city link, a cartel in hot orange (ink on paper). */
.ez-ctag { color: var(--ez-c-2); font-size: var(--ez-fs-small); white-space: nowrap; }
body.ez .ez-citylink { color: var(--ez-bone); text-decoration: none !important; border-bottom: 2px solid var(--ez-rule); }
body.ez .ez-citylink:hover { border-bottom-color: var(--ez-bone); }
body.ez .ez-cartel { color: var(--ez-hot); font-weight: 800; text-decoration: none; }
body.ez a.ez-cartel:hover, body.ez a.ez-cartel:focus-visible { text-decoration: underline; }
body.ez :is(.ez-banner__poster, .ez-card, .ez-receipt) .ez-cartel { color: var(--ez-ink); text-decoration: underline; }

/* A row brought up by ?find= flashes once. */
.ez-flash { animation: ez-flash 1.4s ease-out; }
@keyframes ez-flash { 0% { background: var(--ez-bone); color: var(--ez-ink); box-shadow: 0 0 0 3px var(--ez-bone); } 100% { background: transparent; box-shadow: 0 0 0 3px transparent; } }

/* Zones and the status row under the banner. */
.ez-zone { min-width: 0; }
.ez-zone + .ez-zone { margin-top: 24px; }
.ez-zone--status { margin: 0 0 18px; }
.ez-statusrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding: 10px 14px; background: var(--ez-ink-2); border-left: 0; }
.ez-statusrow .ez-stats { gap: 8px 26px; }
.ez-statusrow .ez-stats dd { font-size: 22px; }
.ez-statusrow .ez-stamp { font-size: 18px; }

/* Lists: the end column (mmpires' __end on a row), zebra rows inset, the fold's last line, a figure that fits its box. */
.ez-row__end { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: end; align-content: center; gap: 4px; text-align: right; white-space: nowrap; }
.ez-row__end .ez-n { font-size: 22px; }
.ez-list > .ez-row > p.ez-row__sub { margin: 0; }
.ez-list--zebra > li { padding-left: 10px; padding-right: 10px; }
.ez-fold > summary .ez-fold__last { flex: 1 1 auto; text-align: right; margin-left: 0; color: var(--ez-c-2); font-size: var(--ez-fs-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ez-units { white-space: nowrap; }
.ez-fit { display: block; min-width: 0; overflow: hidden; container-type: inline-size; }
.ez-fit .ez-units { font-size: min(var(--ez-fit-max, 1em), calc(100cqi / (var(--ez-len, 11) * .5))); }

/* Most Wanted: the table (mmpires .ez-table, scoped here: this sheet's .ez-table is another one). Offline rows go grey
   and far back, so the people around right now are what the eye finds (owner, 2026-11-05); pointing at a row brings it
   back. An online dot is solid green with a slow ring, an offline one a hollow grey ring. */
.mw-table { width: 100%; border-collapse: collapse; }
.mw-table th { padding: 4px 0 8px 22px; text-align: left; vertical-align: bottom; border-bottom: 0;
  font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-c-2); white-space: nowrap; }
.mw-table td { padding: 10px 0 10px 22px; border-top: 1px solid var(--ez-rule); border-bottom: 0; vertical-align: middle; }
.mw-table th:first-child, .mw-table td:first-child { padding-left: 10px; }
.mw-table th:last-child, .mw-table td:last-child { padding-right: 10px; width: 250px; }
.mw-table th:nth-child(2), .mw-table th:nth-child(3), .mw-table td:nth-child(2), .mw-table td:nth-child(3), .mw-table .ez-table__num { text-align: right; white-space: nowrap; }
.mw-table td .ez-n { font-size: 22px; }
body.ez .mw-table th a { color: var(--ez-c-2); }
body.ez .mw-table th a:hover { color: var(--ez-text); }
.mw-table th[aria-sort] { color: var(--ez-text); }
.mw-table tbody tr.ez-panel { background: var(--ez-ink-2); }
.mw-table tr[aria-current="true"] td { background: var(--ez-sel); }
.mw-table .ez-uname { font-size: 18px; }
/* The fade is one grey for every word and figure in the row, not opacity: a see-through cell let the row under it show
   (the zebra went dark grey on bone), and a filter cut the whole-row link down to its first cell. The grey sits about
   3:1 on the row, far back but readable; pointing at the row or tabbing into it brings the colours back. */
.mw-table tbody tr.is-off { --mw-off: color-mix(in srgb, var(--ez-bone) 40%, var(--ez-raised)); }
[data-theme="light"] .mw-table tbody tr.is-off { --mw-off: color-mix(in srgb, var(--ez-ink) 46%, var(--ez-raised)); }   /* ink fades faster on bone: the same distance back */
.mw-table tbody tr.is-off:not(:hover, :focus-within) { --ez-text: var(--mw-off); --ez-text-2: var(--mw-off); --ez-c-2: var(--mw-off);
  --ez-c-count: var(--mw-off); --ez-c-money: var(--mw-off); color: var(--mw-off); }
body.ez .mw-table tbody tr.is-off:not(:hover, :focus-within) .ez-citylink { color: var(--mw-off); }
.mw-table .ez-dot { position: relative; width: 10px; height: 10px; }
.mw-table .ez-dot:not(.is-on) { background: transparent; box-shadow: inset 0 0 0 2px var(--ez-dot-off); }
.mw-table .ez-dot.is-on { box-shadow: 0 0 6px 1px rgb(62 207 90 / .75); }
.mw-table .ez-dot.is-on::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ez-dot-on); animation: mw-ping 1.8s ease-out infinite; }
@keyframes mw-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }

/* The range sight (this build's addition): a small crosshair by the name of anyone he can hit, drawn in the sheet's
   2px line, quiet bone-grey; in his own city it is a link that opens the Attack page with him lined up, in bone. */
.mw-range { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; margin: -4px 0; color: var(--ez-text-2); }
.mw-range svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
body.ez a.mw-range { color: var(--ez-text); text-decoration: none; }
body.ez a.mw-range:hover { color: var(--ez-hot-text); background: var(--ez-btn); }
.mw-more { margin-top: 18px; color: var(--ez-c-2); }
.mw-more .ez-link { margin-left: 10px; font-size: var(--ez-fs-small); }

/* The leaderboard and the losers' board (mmpires options.css "the two boards"): a grid of small boards, the number one
   on bone (on the losers' board, on red). */
.op-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 14px; }
.op-board { padding: 16px 16px 10px; background: var(--ez-ink-2); min-width: 0; }
.op-board h2 { margin: 0; font: 800 var(--ez-fs-h3)/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; }
.op-board > p { margin: 4px 0 10px; color: var(--ez-bone-2); font-size: 13px; }
.op-board ol { list-style: none; margin: 0; padding: 0; }
.op-board li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--ez-rule); }
.op-board li > :nth-child(2) { min-width: 0; display: flex; align-items: center; gap: 8px; }
.op-board__rank { font: 800 17px/1 var(--ez-numbers); color: var(--ez-bone-2); text-align: right; }
.op-board li:first-child { padding: 10px 10px; margin: 0 -10px 4px; border-top: 0; background: var(--ez-bone); color: var(--ez-ink);
  --ez-c-money: var(--ez-v-money-p); --ez-c-count: var(--ez-v-count-p); --ez-c-2: var(--ez-paper-2); }
.op-board li:first-child .op-board__rank { color: var(--ez-ink); font-size: 24px; }
body.ez .op-board li:first-child .ez-who { font-weight: 800; font-size: 18px; color: var(--ez-ink); }
.op-board li:first-child .ez-tag { border-color: var(--ez-ink); color: var(--ez-ink); }
.op-board--wiener li:first-child { background: var(--ez-v-bad); }

/* Badges (this build's additions to mmpires' achievements page): "Achievement Unlocked!" once, and the new ones tinted. */
.ez-unlocked b { margin-right: 6px; color: var(--ez-c-good); font: 800 17px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; }
.ez-list > .ez-row.is-new { background: var(--ez-sel); }
/* The owner's badge preview (achievements.php ?preview=1): the link in the top nav. */
.ez-topnav .ez-peeklink { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--ez-hot); }
/* The city shares the bar (owner, 2026-11-05): under 1320 the owner's preview link keeps its medal and gives up its words. */
@media (max-width: 1320px) { .ez-peeklink span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* The front page's way into the boards. */
.ez-land__more { margin: 0 !important; color: var(--ez-text-2); font-size: 15px; }
body.ez .ez-land__more a { color: var(--ez-text); font-weight: 700; }

@media (max-width: 767px) {
  .ez-banner__city { font-size: 13px; padding: 5px 8px; max-width: 50%; }
  .ez-pills--onposter { margin-top: -24px; padding: 0 8px; }
  .ez-pills--wrap { flex-wrap: wrap; overflow: visible; margin-right: 0; row-gap: 2px; }
  body.ez .ez-pills--wrap a { padding: 9px 10px 7px; font-size: 17px; }
  /* The table stacks: rank and name with thugz on the right, pros under, net worth (and the city) last. */
  .mw-table, .mw-table tbody { display: block; }
  .mw-table thead { display: none; }
  .mw-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 12px 10px; border-top: 1px solid var(--ez-rule); }
  .mw-table td, .mw-table td:first-child, .mw-table td:last-child { display: block; padding: 0; border: 0; text-align: left; width: auto; }
  .mw-table td:nth-child(1) { grid-column: 1; grid-row: 1; min-width: 0; }
  .mw-table td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
  .mw-table td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 14px; text-align: left; }
  .mw-table td:nth-child(2)::before { content: attr(data-label) " "; color: var(--ez-c-2); }
  .mw-table td:nth-child(2) .ez-n { font-size: 16px; }
  .mw-table td:nth-child(4) { grid-column: 1 / -1; grid-row: 3; padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .mw-table .ez-dot.is-on::after, .ez-flash { animation: none; }
  .ez-flash { outline: 2px solid var(--ez-bone); outline-offset: 2px; }
}
/* END 16 BOARDS */

/* 15. PEOPLE ---------------------------------------------------------------------------------------------
   Slice 5: the picker, the profile, Options, Search and the mailbox. The owner (2026-11-04): the mmpires pages are the
   standard, so their components are carried here point for point with their class names: 15.2 is mmpires
   public/css/profile.css, 15.3 public/css/options.css (its stats, referrals, boards and admin-notes parts left out:
   those pages are not this slice's), 15.4 empyrez.css "28. MAILBOX" (without the cartel board) and the post-it slip,
   15.5 the search box (ez-qty). 15.1 the picker and 15.6 this build's additions are new. */
/* 15.1 The picker (tpl/picker.php, assets/picker.js): a text box that becomes a card once someone is picked; at most
   eight matches drop under it. The one new component of this slice (STAFF_TOOLS 3); the rest is carried from mmpires. */
.ez-form--wide { max-width: 640px; }
.ez-pick { position: relative; min-width: 0; }
.ez-pick__box { position: relative; display: flex; min-width: 0; }
.ez-pick__box--btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.ez-pick__box--btn .ez-pick__go { min-height: 48px; box-shadow: none; border-width: 2px; }
.ez-pick__input { flex: 1 1 auto; min-width: 0; }
.ez-pick__card { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 48px; padding: 4px 4px 4px 6px;
  background: var(--ez-ground-2); border: 2px solid var(--ez-text); }
.ez-pick__av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; background: var(--ez-text); color: var(--ez-ground);
  font: 900 20px/1 var(--ez-display); }
.ez-pick__av--cartel { background: transparent; color: var(--ez-text); border: 2px solid var(--ez-text); }
.ez-pick__who { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }
.ez-pick__name { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ez-pick__name .ez-uname { font-size: 17px; line-height: 1.1; }
.ez-pick__no { flex: none; color: var(--ez-text-2); font: 700 15px/1 var(--ez-numbers); letter-spacing: .02em; }
.ez-pick__meta { color: var(--ez-text-2); font-size: var(--ez-fs-label); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-pick__x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; padding: 0; cursor: pointer;
  background: none; color: var(--ez-text); border: 2px solid var(--ez-text-2); font: 800 24px/1 var(--ez-numbers); }
.ez-pick__x:hover { background: var(--ez-text); color: var(--ez-ground); border-color: var(--ez-text); }
.ez-pick__list { position: absolute; z-index: 25; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px 0; list-style: none;
  max-height: 372px; overflow-y: auto; background: var(--ez-ink-2); border: 2px solid var(--ez-bone); box-shadow: 6px 6px 0 var(--ez-ink); color: var(--ez-bone); }
.ez-pick__opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 7px 12px; cursor: pointer; }
.ez-pick__opt .ez-pick__av { background: var(--ez-bone); color: var(--ez-ink); }
.ez-pick__opt .ez-pick__av--cartel { background: transparent; color: var(--ez-bone); border-color: var(--ez-bone); }
.ez-pick__opt .ez-pick__no, .ez-pick__opt .ez-pick__meta { color: var(--ez-bone-2); }
.ez-pick__opt:hover, .ez-pick__opt[aria-selected="true"] { background: var(--ez-sel); }
.ez-pick__opt[aria-selected="true"] .ez-uname { color: var(--ez-hot); }
.ez-pick__none { padding: 12px; color: var(--ez-bone-2); }
/* On paper (the ignore slip) the card reads like the fields there. */
.op-paper .ez-pick__card { background: #fff8e8; border-color: var(--ez-ink); color: var(--ez-ink); }
.op-paper .ez-pick__card .ez-pick__av { background: var(--ez-ink); color: var(--ez-bone); }
.op-paper .ez-pick__card .ez-pick__no, .op-paper .ez-pick__card .ez-pick__meta { color: var(--ez-paper-2); }
.op-paper .ez-pick__x { color: var(--ez-ink); border-color: var(--ez-ink); }
.ez-searchbox .ez-pick { margin: 0; }
@media (max-width: 767px) { .ez-pick__list { max-height: 300px; } }
/* 15.2 Profile (mmpires public/css/profile.css) */
/* Player profile. No paper banner (owner, 2026-11-03). Direction C (owner, 2026-11-06): the person at the top (name,
   (#id), the badges, his cartel in a sentence), then what he is worth, large, with Attack right beside it, one line
   for his rank and city, his crew three across, then the small keys and the reason under them. A regular player's
   facts sit on the page with no box round them: only staff get a frame, so the frame itself means something. */

.pf { display: grid; grid-template-columns: minmax(0, 1fr); margin: 4px 0 0; }
/* A mark's page keeps its boxed card and the square at the left of it, the sight in it (tpl/mark_profile.php). */
.mx-pf { grid-template-columns: 232px minmax(0, 1fr); margin-bottom: 14px; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); }
.pf-shot { display: grid; place-items: center; min-height: 232px; overflow: hidden; background: var(--ez-ground); border-right: 1px solid var(--ez-rule); }
/* A player's picture: out of sight until app.js has seen it load, then it replaces the placeholder in its frame. */
:not(.has-pic) > img.ez-pic { display: none; }
.has-pic > img.ez-pic { display: block; }
.has-pic > .ph, .pf-pol__img.has-pic > span { display: none; }
.pf-main { min-width: 0; }
.pf:is([data-r], .mx-pf) .pf-main { padding: 18px 22px 20px; }

/* Name row: the name and (#id) on the left; to their right, side by side in one row, online now (the green dot inside
   it) or, quieter, no box and when he was last seen, then the standing, where Member always sat (owner, 2026-11-05).
   The name and its number are one piece and never part while there is room for both. When the card is too narrow for
   name and badges on one line, the badge row drops under the name and starts at its left edge (space-between leaves a
   lone item at the start), so it reads as the name's second line, never as a stray at the right. A longer name steps
   down a size (data-len, set in profile.php). A mark's row (h1, #id, its tag) keeps its own packing. */
.pf-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pf-who:has(> .pf-tags) { justify-content: space-between; }
.pf-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.pf-who h1 { min-width: 0; margin: 0; font: 900 52px/.95 var(--ez-display); letter-spacing: .01em; color: var(--ez-text); overflow-wrap: anywhere; }
.pf-name[data-len=m] h1 { font-size: 36px; }
.pf-name[data-len=l] h1 { font-size: 32px; }
.pf-id { font: 800 20px/1 var(--ez-numbers); letter-spacing: .04em; color: var(--ez-text-2); white-space: nowrap; }
.pf-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.pf-status, .pf-on, .pf-seen { padding: 3px 8px 2px; font: 800 13px/1.2 var(--ez-numbers); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pf-status, .pf-on { border: 1px solid var(--ez-text-2); color: var(--ez-text); }
.pf-status[data-k=member] { border-color: var(--ez-c-good); color: var(--ez-c-good); }
.pf-status[data-k=locked] { border-color: var(--ez-c-bad); color: var(--ez-c-bad); }
.pf-on { display: inline-flex; align-items: center; gap: 7px; }
.pf-seen { padding-left: 0; color: var(--ez-text-2); }
.pf-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 10px 0 0; font-size: 16px; color: var(--ez-text-2); }
.pf-sub b { color: var(--ez-text); font-weight: 600; }

/* The staff frame (owner picked it 2026-11-03): a double rule round the card, a crest set into the top rule, one line
   along the foot. It sits where players can't draw (their picture fills only the photo slot, their text only the words
   box), and the foot line names whoever is looking, which no uploaded image can know. */
.pf[data-r=owner] { --pf-r: var(--ez-c-money); }
.pf[data-r=super] { --pf-r: var(--ez-c-count); }
.pf[data-r=admin] { --pf-r: var(--ez-text); }
.pf[data-r] { position: relative; margin-top: 24px; border: 1px solid var(--pf-r); box-shadow: 0 0 0 5px var(--ez-ground), 0 0 0 6px var(--pf-r); }
.pf-crest { position: absolute; z-index: 1; top: 0; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 5px 20px;
  background: var(--ez-ground); color: var(--pf-r); font: 700 15px/1 var(--ez-numbers); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; }
.pf-crest i { font-size: 24px; letter-spacing: 0; }
.pf-vfoot { grid-column: 1 / -1; margin: 0; padding: 11px 22px; border-top: 1px solid var(--ez-rule); text-align: center; font-size: 15px; color: var(--ez-text-2); }
.pf-vfoot b { color: var(--ez-text); font-weight: 600; }
.pf-vfoot em { font-style: normal; color: var(--pf-r); }

/* A player's cartel: one plain line in the card's body type (owner, 2026-11-06, after the old game's "a member of the
   ... cartel"), the name a link to the cartel inside the sentence. The seat stays out (owner: nobody's business who
   leads it). No cartel: the same line, quieter. */
body.ez .pf-line { margin: 12px 0 0; font-size: 18px; line-height: 1.45; color: var(--ez-text); overflow-wrap: anywhere; }
body.ez .pf-line a { font-weight: 600; }
.pf-line--none { color: var(--ez-text-2); }
/* A mark's page (tpl/mark_profile.php) keeps the labelled row: CARTEL, then Nobody's. */
.pf-cartel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: baseline; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--ez-rule); }
.pf-k { font: 800 13px/1.1 var(--ez-numbers); letter-spacing: .12em; text-transform: uppercase; color: var(--ez-text-2); }
.pf-cartel__name { min-width: 0; }
.pf-cartel__name .pf-none { font: 900 26px/1 var(--ez-display); text-transform: uppercase; color: var(--ez-text-2); }

/* Six facts, one per cell */
.pf-rec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0 0; border-top: 1px solid var(--ez-rule); }
.pf-rec > div { display: grid; gap: 6px; min-width: 0; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--ez-rule); }
.pf-rec dt { font: 800 13px/1.1 var(--ez-numbers); letter-spacing: .12em; text-transform: uppercase; color: var(--ez-text-2); }
.pf-rec dd { min-width: 0; margin: 0; font-size: 28px; }
.pf-rec dd small { margin-left: 4px; font: 400 15px/1 var(--ez-body); color: var(--ez-text-2); }
body.ez .pf-rec dd a { color: var(--ez-text); font: 800 24px/1 var(--ez-numbers); letter-spacing: .03em; }
/* What he is worth leads, gold and large, and Attack sits right beside it: the orange key when he is in reach, the
   dashed key with the game's reason in it when he is not. A number never spills out of its space: the space measures
   itself and a number it can't hold whole (--n, its length, set in profile.php) steps down until it fits; one that fits
   keeps its full size. Under it one line, his rank and his city, then his crew three across. */
.pf-lead { display: flex; align-items: flex-end; gap: 14px 20px; margin: 20px 0 0; }
body.ez .pf-worth { flex: 1 1 auto; min-width: 0; margin: 0; container-type: inline-size; }
.pf-worth .pf-k { display: block; margin: 0 0 6px; }
.pf-worth .ez-n { display: block; font-weight: 900; line-height: .9; font-size: min(58px, calc(210cqi / var(--n))); }
.pf-attack { flex: none; }
.pf-lead .ez-btn--primary { min-height: 56px; padding: 0 26px; font-size: 22px; }
.pf-lead .ez-btn[aria-disabled=true] { flex-direction: column; gap: 4px; min-height: 60px; padding: 0 18px; border-width: 2px; }
.pf-lead .ez-btn[aria-disabled=true] small { font: 600 13px/1 var(--ez-body); letter-spacing: 0; text-transform: none; color: var(--ez-text); }
body.ez .pf-facts { margin: 12px 0 0; font-size: 17px; line-height: 1.45; color: var(--ez-text-2); }
.pf-facts .ez-n { font-size: 21px; }
body.ez .pf-facts a { color: var(--ez-text); font-weight: 600; }
.pf-crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0 0; border-block: 1px solid var(--ez-rule); }
.pf-crew > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 13px 16px 14px; border-left: 1px solid var(--ez-rule); container-type: inline-size; }
.pf-crew > div:first-child { padding-left: 0; border-left: 0; }
.pf-crew dd { order: -1; margin: 0; font-size: min(30px, calc(210cqi / var(--n))); }
.pf-crew dt { font: 800 13px/1 var(--ez-numbers); letter-spacing: .13em; text-transform: uppercase; color: var(--ez-text-2); }
/* The keys: the game's filled keys at the small size, the count on Achievements a step quieter; Ignore and Invite are
   forms whose buttons sit in the row like the rest. */
.pf-keys { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.pf-keys .ez-btn small { margin-left: 4px; font: 700 15px/1 var(--ez-numbers); letter-spacing: .04em; color: color-mix(in srgb, var(--ez-btn-ink) 78%, var(--ez-btn)); }
.pf-keyform { display: contents; }
body.ez .pf-keys + .pf-reach { margin: 12px 0 0; max-width: 52ch; line-height: 1.45; }

/* The tiles: an icon over each label, like the old icon row */
.pf-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 8px; }
.pf-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 96px; padding: 10px 6px;
  border: 2px solid var(--ez-rule); background: var(--ez-ground-2); color: var(--ez-text); font: inherit; text-align: center; text-decoration: none; cursor: pointer; }
.pf-tile i { font-size: 32px; }
.pf-tile b { font: 800 19px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }
.pf-tile small { font-size: 14px; line-height: 1.2; color: var(--ez-text-2); }
.pf-tile:hover { border-color: var(--ez-text-2); }
.pf-tile--hot, body.ez .pf-tile--hot, .pf-tile--hot:hover { background: var(--ez-hot); border-color: var(--ez-hot); color: var(--ez-on-hot); }
.pf-tile--hot small { color: var(--ez-on-hot); }
.pf-tile[aria-disabled=true] { border-style: dashed; border-color: var(--ez-text-2); color: var(--ez-text-2); cursor: not-allowed; }
.pf-tile[aria-disabled=true] small { color: var(--ez-text); }
.pf-tile:disabled { opacity: .6; }
.pf-reach { margin: 0 0 4px; font-size: 15px; color: var(--ez-text-2); }
.pf-reach b { color: var(--ez-text); }

/* A mark's page (tpl/mark_profile.php): the word on the street, in a plain box under the tiles. */
.pf-words { margin: 18px 0 0; padding: 16px 20px; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); }
.pf-words .ez-copy p { max-width: 70ch; margin: 8px 0 0; }

/* The polaroid beside the card (owner, 2026-11-06: "The Polaroid is the whole thing. Where you have the username is
   where the profile text should go"): the Options .op-polaroid, a strip of tape on its top edge, their picture in the
   photo and their words written on the white strip under it in a marker hand (Caveat, linked from profile.php). The
   strip is a normal polaroid's bottom when the words are short and grows down with them, line breaks kept, a run with
   no spaces broken anywhere. No picture, or a dead link: the photo holds their initial. His own page carries the
   Options edit key in the photo's corner; with no words, the strip asks him to write. */
.pf-col { min-width: 0; }
/* With no polaroid the left side keeps the width it has beside one, so Attack stays next to his worth. */
.pf-wrap:not(.pf-wrap--pol) > .pf-col { max-width: 620px; }
.pf-pol.op-polaroid { width: min(100% - 12px, 320px); max-width: none; margin: 26px auto 18px; padding: 14px 14px 0; transform: rotate(-1deg); }   /* max-width: the Options phone rule shrinks its polaroid to 170px */
.pf-pol > .ez-tape { top: -11px; left: 50%; width: 88px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgb(189 181 163 / .8); }
.pf-pol__img { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; background: #e3dbc7; }
.pf-pol__img img { width: 100%; height: 100%; object-fit: cover; }
.pf-pol__img > span { font: 900 140px/1 var(--ez-display); text-transform: uppercase; color: rgb(75 70 61 / .4); }
.pf-pol__cap { display: block; min-height: 72px; padding: 12px 6px 18px; white-space: pre-line; overflow-wrap: anywhere;
  color: var(--ez-ink); font: 500 23px/1.2 'Caveat', var(--ez-body); }
body.ez .pf-pol__edit { position: absolute; z-index: 2; top: 24px; right: 24px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--ez-ink); color: var(--ez-bone);
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / .5); font-size: 20px; text-decoration: none; transition: background-color .12s; }
body.ez .pf-pol__edit:hover { background: color-mix(in srgb, var(--ez-ink) 78%, var(--ez-bone)); }
body.ez .pf-pol :focus-visible { outline-color: var(--ez-ink); }
body.ez .pf-pol--blank .pf-pol__cap a { color: var(--ez-paper-2); text-decoration: none; }
body.ez .pf-pol--blank .pf-pol__cap a:hover { color: var(--ez-ink); text-decoration: underline; }

@media (max-width: 1099px) { .pf-rec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Two columns from 900px: the person, his worth with Attack, his crew and the keys on the left, the polaroid on the
   right, so its strip can run as long as the words do without pushing Attack down; 320px leaves room for the name,
   its (#id) and both badges on one line. */
@media (min-width: 900px) {
  .pf-wrap--pol { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 24px; align-items: start; }
  .pf-wrap--pol > .pf-pol { width: calc(100% - 12px); margin-top: 18px; }
  .pf-wrap--pol:has(.pf[data-r]) > .pf-pol { margin-top: 38px; }
}
@media (min-width: 900px) and (max-width: 1099px) { .pf-wrap--pol { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (max-width: 767px) {
  .mx-pf { grid-template-columns: 96px minmax(0, 1fr); }
  .pf-shot { align-self: start; min-height: 96px; height: 96px; border-bottom: 1px solid var(--ez-rule); }
  .mx-pf > .pf-main { display: contents; }
  .mx-pf .pf-who { grid-column: 2; align-self: center; padding: 12px 14px 0; }
  .mx-pf :is(.pf-sub, .pf-cartel, .pf-rec) { grid-column: 1 / -1; margin-left: 14px; margin-right: 14px; }
  body.ez .mx-pf .pf-sub { margin: 12px 14px 0; }
  .mx-pf .pf-rec { margin-bottom: 14px; }
  .pf[data-r] .pf-main { padding: 22px 14px 16px; }
  .pf-who { gap: 8px 10px; }
  .pf-who h1 { font-size: 36px; }
  .pf-name[data-len=m] h1 { font-size: 32px; }
  .pf-name[data-len=l] h1 { font-size: 26px; }
  .pf-id { font-size: 18px; }
  .pf-pol.op-polaroid { padding: 12px 12px 0; }
  .pf-pol__img > span { font-size: 120px; }
  .pf-crest { gap: 7px; padding: 4px 12px; font-size: 12px; letter-spacing: .18em; }
  .pf-crest i { font-size: 18px; }
  .pf-vfoot { padding: 10px 14px; font-size: 14px; }
  body.ez .pf-sub { font-size: 15px; }
  .pf-cartel { grid-template-columns: 1fr; }
  body.ez .pf-line { font-size: 16px; }
  .pf-rec dd { font-size: 24px; }
  /* phone: Attack goes under his worth, still in the top half of the screen; the keys sit two to a row, or three when
     there are five, Achievements then taking two cells so its count never clips and no key is left alone on a row */
  .pf-lead { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 16px; }
  .pf-lead .pf-attack { align-self: flex-start; }
  .pf-worth .ez-n { font-size: min(46px, calc(210cqi / var(--n))); }
  body.ez .pf-facts { font-size: 16px; }
  .pf-crew > div { padding: 11px 10px 12px; }
  .pf-crew dd { font-size: min(25px, calc(210cqi / var(--n))); }
  .pf-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .pf-keys:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-keys:has(> :nth-child(5)) > :nth-child(4) { grid-column: span 2; }
  .pf-keys .ez-btn { padding: 0 8px; }
  .pf-tiles { gap: 6px; }
  .pf-tile { gap: 4px; min-height: 72px; padding: 8px 2px; }
  .pf-tile i { font-size: 24px; }
  .pf-tile b { font-size: 14px; letter-spacing: .02em; }
  .pf-tile small { display: none; }
  .pf-tile--ach small { display: block; font-size: 12px; }
  .pf-tile--ach b { display: none; }
}

/* 15.3 Options (mmpires public/css/options.css) */
/* ---------- shared: paper, news line, switches, footnote ---------- */
.op-paper { position: relative; background: var(--ez-bone); color: var(--ez-ink); padding: 26px 26px 22px;
  --ez-c-turns: var(--ez-v-turns-p); --ez-c-money: var(--ez-v-money-p); --ez-c-count: var(--ez-v-count-p);
  --ez-c-good: var(--ez-v-good-p); --ez-c-warn: var(--ez-v-warn-p); --ez-c-bad: var(--ez-v-bad-p); --ez-c-2: var(--ez-paper-2); }
.op-paper > .ez-tape { top: -12px; left: 34px; width: 104px; transform: rotate(-4deg); background: rgb(189 181 163 / .8); }
.op-paper .ez-label { color: var(--ez-paper-2); }
.op-paper .ez-input, .op-paper .ez-textarea { background: #fff8e8; color: var(--ez-ink); border-color: var(--ez-ink); }
.op-paper .ez-input:focus-visible, .op-paper .ez-textarea:focus-visible { outline-color: var(--ez-ink); }
.op-tilt-l { transform: rotate(-.5deg); }
.op-tilt-r { transform: rotate(.4deg); }

.op-news { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 12px 16px; background: var(--ez-ground-2); border-left: 0; font-weight: 600; }
.op-news .ph { font-size: 22px; }
.op-news--ok .ph { color: var(--ez-c-good); }
.op-news--bad .ph { color: var(--ez-c-bad); }
.op-news--bad b { color: var(--ez-c-bad); }

.op-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.op-head .ez-h2 { margin: 0; }
.op-kicker { font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .1em; text-transform: uppercase; color: var(--ez-text-2); margin: 0 0 10px; }
.op-paper .op-kicker { color: var(--ez-paper-2); }

/* Settings, the plain list at the foot of the hub (owner, 2026-11-05: the background lights, the tour, time zone, dates,
   other players' pages and cartel invites, one list instead of tiles and a side panel). Each row is its words on the
   left and one control on the right; the rows are one tint with a hair of rule between them. The on/off switch is one
   drawing for all of it: a slot cut into the key with a knob in it. Off: the slot sits dark and the knob rests left.
   On: the slot fills with the key's ink and the knob slides right, so the two read apart in grey too. Never orange:
   orange is the one thing to do on a page, and a setting that is on is not that. The key tokens (section 8) follow the
   surface, so the slot is right on the dark panel and on the light one. */
.op-settings { display: grid; gap: 1px; background: var(--ez-rule); }
.op-prefs { display: contents; }
.op-set { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; margin: 0; padding: 12px 18px; background: var(--ez-ground-2); }
.op-set__txt { flex: 1 1 auto; min-width: 0; font-weight: 600; }
.op-set__txt b { display: block; font-weight: 600; }
.op-set__txt small { display: block; margin-top: 2px; font-weight: 400; font-size: var(--ez-fs-small); color: var(--ez-text-2); }
label.op-set { cursor: pointer; }
.op-settings .op-set--note { display: block; min-height: 0; margin: 0; font-size: var(--ez-fs-small); color: var(--ez-text-2); }
.op-set--save { justify-content: flex-end; }
.op-set .ez-select { flex: none; width: auto; min-width: 260px; max-width: 55%; min-height: 44px; }
.op-set__sw { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 48px; height: 26px; margin: 0; padding: 0; border: 0; background: var(--ez-btn-lo); box-shadow: inset 0 2px 0 var(--ez-btn-lip); cursor: pointer; transition: background .12s; }
.op-set__sw::before { content: ""; position: absolute; top: 5px; left: 5px; width: 16px; height: 16px; background: var(--ez-btn-ink); transition: transform .12s, background .12s; }
.op-set__sw:is(:checked, [aria-checked="true"]) { background: var(--ez-btn-ink); box-shadow: none; }
.op-set__sw:is(:checked, [aria-checked="true"])::before { transform: translateX(22px); background: var(--ez-btn-lo); }
.op-set__sw:focus-visible { outline: 3px solid var(--ez-btn-ink); outline-offset: 3px; }
.op-set__sw:disabled { background: transparent; box-shadow: none; outline: 2px dashed var(--ez-text-2); outline-offset: -2px; cursor: not-allowed; }   /* nothing to press: the dashed edge, as on every button; the knob still shows where it stands */
.op-set__sw:disabled::before { background: var(--ez-text-2); }
@media (prefers-reduced-motion: reduce) { .op-set__sw, .op-set__sw::before { transition: none; } }
@media (max-width: 640px) { .op-set:has(.ez-select) { flex-wrap: wrap; } .op-set .ez-select { width: 100%; max-width: none; min-width: 0; } .op-set--save .ez-btn { width: 100%; } }

.op-stamp { display: inline-block; padding: 5px 10px 3px; border: 3px solid currentColor; font: 900 18px/1 var(--ez-display); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-3deg); white-space: nowrap; }
.op-stamp--good { color: var(--ez-c-good); }
.op-stamp--quiet { color: var(--ez-c-2); border-style: dashed; }

.op-count { font: 700 var(--ez-fs-label)/1 var(--ez-numbers); letter-spacing: .06em; color: var(--ez-c-2); white-space: nowrap; }
.op-count.is-near { color: var(--ez-c-warn); }
.op-count.is-full { color: var(--ez-c-bad); }

/* ---------- the hub: your ID card + the drawer ---------- */
.op-hub { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; align-items: start; }
.op-id { display: block; color: var(--ez-ink); text-decoration: none; padding: 18px 18px 16px; transform: rotate(-1deg); transition: transform .15s; }
body.ez a.op-id { color: var(--ez-ink); }   /* body.ez a { color: inherit } outranks a bare class */
body.ez a.op-tile, body.ez a.op-tile:hover { color: var(--ez-btn-ink); }
.op-id:hover { transform: rotate(0deg) translateY(-2px); }
.op-id:focus-visible { outline: 3px solid var(--ez-bone); outline-offset: 4px; }
.op-id__pic { display: grid; place-items: center; aspect-ratio: 1; background: #fff8e8; border: 2px solid var(--ez-ink); overflow: hidden; margin: 0 0 14px; }
.op-id__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-id__pic .ph { font-size: 72px; color: var(--ez-paper-2); }
.op-id__name { display: block; font: 900 30px/.95 var(--ez-display); letter-spacing: .02em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-id__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.op-id__meta .ez-chip b { font-size: 15px; }
.op-id__go { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 2px solid var(--ez-ink); font: 800 17px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }

.op-drawer { display: grid; gap: 20px; }
.op-drawer__group > .op-kicker { display: flex; align-items: center; gap: 10px; }
.op-drawer__group > .op-kicker::after { content: ""; flex: 1; height: 1px; background: var(--ez-rule); }
/* The tiles are keys (section 8): the button tint for the surface, the darker lip along the bottom, no outline at rest.
   Under the pointer the key steps lighter (on dark) or darker (on light) and its small line and icon go to full ink;
   pressed, it goes flat. The second line is the key's ink mixed a little into the key (--op-key-2): 5.5:1 on the dark
   key, 6.7:1 on the light one. */
.op-tiles, .op-adds, .op-days { --op-key-2: color-mix(in srgb, var(--ez-btn-ink) 78%, var(--ez-btn)); }
.op-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.op-tile { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; row-gap: 4px; align-content: start; min-height: 84px; padding: 12px 12px 12px; border: 0; background: var(--ez-btn); color: var(--ez-btn-ink); text-decoration: none; box-shadow: inset 0 -3px 0 var(--ez-btn-lip); transition: background .1s, color .1s, transform .1s; }
.op-tile .ph { grid-row: span 2; font-size: 28px; color: var(--ez-hot-text); line-height: 1; }
.op-tile b { font: 800 19px/1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.op-tile small { font-size: var(--ez-fs-small); line-height: 1.35; color: var(--op-key-2); }
.op-tile:hover { background: var(--ez-btn-hi); }
.op-tile:hover :is(small, .ph) { color: var(--ez-btn-ink); }   /* the mixed line is 4.1:1 on the lighter dark key: it goes to full ink */
.op-tile:active { background: var(--ez-btn-lo); box-shadow: none; transform: translateY(2px); }
.op-tile:focus-visible { outline: 3px solid var(--ez-btn-ink); outline-offset: 3px; }
.op-tile--danger { grid-column: 1 / -1; min-height: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }   /* a key across the row, a size down: the way out, not a fire alarm */
.op-tile--danger .ph { font-size: 22px; color: var(--ez-c-bad); }
.op-tile--danger b { font-size: 17px; white-space: nowrap; }
.op-tile--off, .op-tile--off:hover { border: 2px dashed var(--ez-text-2); box-shadow: none; background: transparent; color: var(--ez-text-2); cursor: default; transform: none; }   /* nothing to press: the dashed edge, as on every button */
.op-tile--off :is(.ph, small), .op-tile--off:hover :is(.ph, small) { color: var(--ez-text-2); }
.op-tile__n { position: absolute; top: 12px; right: 12px; font: 800 15px/1 var(--ez-numbers); color: var(--ez-c-count); }

/* ---------- edit profile: your page as a sheet you write on ---------- */
.op-edit { max-width: 900px; }
.op-sheet { padding: 24px 26px 20px; }
.op-sheet__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 3px solid var(--ez-ink); }
.op-sheet__name { margin: 0; font: 900 44px/.9 var(--ez-display); letter-spacing: .02em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.op-sheet__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.op-sheet__body { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
.op-polaroid { position: relative; display: block; background: #fffaf0; padding: 10px 10px 12px; box-shadow: 0 2px 0 rgb(18 17 16 / .25), 0 6px 14px rgb(18 17 16 / .18); transform: rotate(-2deg); }
.op-polaroid__img { display: grid; place-items: center; aspect-ratio: 1; background: #e3dbc7; overflow: hidden; }
.op-polaroid__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-polaroid__img .ph { font-size: 64px; color: var(--ez-paper-2); }
.op-polaroid__img.is-broken::after { content: "That link shows no picture"; padding: 0 12px; text-align: center; font-size: var(--ez-fs-small); color: var(--ez-v-bad-p); }
.op-polaroid__img.is-broken img { display: none; }
.op-polaroid__cap { display: block; margin: 10px 2px 0; text-align: center; font: 800 15px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; color: var(--ez-paper-2); }
/* The picture is one thing to click (owner, 2026-11-05): the polaroid, its edit key in the corner, opens the link field
   under it. A details, so it works without a script. The key is ink on the photo, which a bone key would vanish into;
   it lightens under the pointer and goes flat while the field is open. */
.op-pic__sum { display: block; list-style: none; cursor: pointer; }
.op-pic__sum::-webkit-details-marker { display: none; }
.op-pic__sum:focus-visible { outline: 3px solid var(--ez-ink); outline-offset: 6px; }
.op-polaroid__edit { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--ez-ink); color: var(--ez-bone); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .5); font-size: 20px; transition: background-color .12s; }
.op-pic__sum:hover .op-polaroid__edit { background: color-mix(in srgb, var(--ez-ink) 78%, var(--ez-bone)); }
.op-pic[open] .op-polaroid__edit { background: color-mix(in srgb, var(--ez-ink) 78%, var(--ez-bone)); box-shadow: none; }
.op-piclink { margin-top: 18px; }
.op-piclink .ez-input { min-height: 40px; font-size: var(--ez-fs-small); }
.op-piclink small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--ez-paper-2); }

.op-lined { position: relative; }
.op-lined textarea { display: block; width: 100%; min-height: 300px; margin: 0; padding: 0 2px; border: 0; resize: vertical;
  background: transparent repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgb(18 17 16 / .16) 31px, rgb(18 17 16 / .16) 32px);
  background-attachment: local; color: var(--ez-ink); font: 500 17px/32px var(--ez-body); }
.op-lined textarea::placeholder { color: var(--ez-paper-2); opacity: .8; }
.op-lined textarea:focus-visible { outline: 3px solid var(--ez-ink); outline-offset: 6px; }
.op-sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 2px dashed rgb(18 17 16 / .35); }
.op-sheet__foot p { margin: 0; color: var(--ez-paper-2); font-size: var(--ez-fs-small); }
.op-sheet__foot .op-acts { display: flex; align-items: center; gap: 16px; }


/* ---------- change password: the key card ---------- */
.op-keywrap { display: grid; place-items: start center; padding-top: 6px; }
.op-key { width: min(460px, 100%); padding: 28px 28px 24px; }
.op-key__top { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.op-key__top .ph { font-size: 40px; transform: rotate(-20deg); }
.op-key__top p { margin: 0; font: 900 26px/1 var(--ez-display); letter-spacing: .03em; text-transform: uppercase; }
.op-key__top small { display: block; margin-top: 4px; font: 400 var(--ez-fs-small)/1.3 var(--ez-body); letter-spacing: 0; text-transform: none; color: var(--ez-paper-2); }
.op-field { margin: 0 0 16px; }
.op-field .ez-label { display: block; margin: 0 0 6px; }
.op-pw { position: relative; }
.op-pw .ez-input { padding-right: 52px; }
.op-pw__eye { position: absolute; top: 0; right: 0; width: 48px; height: 100%; display: grid; place-items: center; border: 0; background: transparent; color: var(--ez-ink); cursor: pointer; font-size: 22px; }
.op-pw__eye:focus-visible { outline: 3px solid var(--ez-ink); outline-offset: -4px; }
.op-match { display: flex; align-items: center; gap: 6px; min-height: 22px; margin: 6px 0 0; font-size: var(--ez-fs-small); font-weight: 600; color: var(--ez-c-2); }
.op-match.is-good { color: var(--ez-c-good); }
.op-match.is-bad { color: var(--ez-c-bad); }
.op-key__divider { height: 0; margin: 4px 0 18px; border-top: 2px dashed rgb(18 17 16 / .35); }
.op-key .ez-btn { margin-top: 8px; }

/* ---------- account comments: a note taped up for the staff ---------- */
.op-noteboard { display: grid; grid-template-columns: minmax(0, 640px) minmax(240px, 300px); gap: 36px; align-items: start; }
.op-note { padding: 26px 30px 20px 64px; }
.op-note::before { content: ""; position: absolute; top: 0; bottom: 0; left: 44px; width: 2px; background: rgb(196 64 52 / .45); }   /* the margin line of a notepad */
.op-note__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.op-note__to { margin: 0; font: 900 30px/1 var(--ez-display); letter-spacing: .03em; text-transform: uppercase; }
.op-note .op-lined textarea { min-height: 256px; }
.op-note__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.op-adds { display: grid; gap: 10px; }
/* "Tap to add": keys like the hub tiles. Once its line is in the note the key stays down (flat, the pressed tint, its
   words a step quieter, the icon green), so the player sees which ones he has used. */
.op-add { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; padding: 12px 14px 14px; border: 0; background: var(--ez-btn); color: var(--ez-btn-ink); box-shadow: inset 0 -3px 0 var(--ez-btn-lip); text-align: left; font: 500 15px/1.35 var(--ez-body); cursor: pointer; transition: background .1s, transform .1s; }
.op-add .ph { font-size: 20px; color: var(--ez-hot-text); }
.op-add:hover { background: var(--ez-btn-hi); }
.op-add:hover .ph { color: var(--ez-btn-ink); }
.op-add:active { background: var(--ez-btn-lo); box-shadow: none; transform: translateY(2px); }
.op-add:focus-visible { outline: 3px solid var(--ez-btn-ink); outline-offset: 3px; }
.op-add.is-added, .op-add.is-added:hover { background: var(--ez-btn-lo); box-shadow: inset 0 3px 0 var(--ez-btn-lip); color: var(--op-key-2); transform: none; }
.op-add.is-added .ph { color: var(--ez-c-good); }
.op-aside-note { margin: 18px 0 0; color: var(--ez-text-2); font-size: var(--ez-fs-small); line-height: 1.5; }

/* ---------- ignore list ---------- */
.op-ignore { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 36px; align-items: start; }
.op-block { padding: 22px 22px 20px; }
.op-block__top { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.op-block__top .ph { font-size: 30px; }
.op-block__top p { margin: 0; font: 900 24px/1 var(--ez-display); letter-spacing: .03em; text-transform: uppercase; }
.op-block .ez-btn { margin-top: 12px; }
.op-block small { display: block; margin-top: 12px; font-size: var(--ez-fs-small); line-height: 1.4; color: var(--ez-paper-2); }
.op-blocked { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.op-blocked li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 10px 12px 10px 14px; background: var(--ez-ground-2); }
.op-blocked .ph-prohibit { font-size: 22px; color: var(--ez-c-bad); }
.op-blocked__who { min-width: 0; font-weight: 700; }
.op-blocked__where { color: var(--ez-text-2); font-size: var(--ez-fs-small); white-space: nowrap; }
.op-emptywall { display: grid; place-items: center; gap: 8px; min-height: 220px; padding: 24px; border: 2px dashed var(--ez-rule); text-align: center; color: var(--ez-text-2); }
.op-emptywall .ph { font-size: 44px; color: var(--ez-c-good); }
.op-emptywall b { font: 800 22px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; color: var(--ez-text); }

/* ---------- lock your account ---------- */
.op-lock { display: grid; grid-template-columns: minmax(0, 520px) minmax(240px, 1fr); gap: 40px; align-items: start; }
.op-lock__card { padding: 24px 26px 22px; border: 3px dashed var(--ez-c-bad); background: var(--ez-ground-2); }
.op-lock__top { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.op-lock__top .ph { font-size: 36px; color: var(--ez-c-bad); }
.op-lock__top p { margin: 0; font: 900 26px/1 var(--ez-display); letter-spacing: .03em; text-transform: uppercase; }
.op-lock .ez-label { display: block; margin: 0 0 8px; }
/* Pick one (how many days, why, as what, how much time): a row of keys, not boxes in a frame. The one picked turns
   over, the key's ink becomes its ground (7.8:1 dark, 11.0:1 light), and sits flat: it reads in grey as well as in
   colour, and nothing in it is orange. */
.op-days { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; margin: 0 0 20px; }
.op-days input { position: absolute; opacity: 0; pointer-events: none; }
.op-days label { display: grid; place-items: center; min-width: 64px; min-height: 52px; padding: 0 12px 3px; cursor: pointer; background: var(--ez-btn); color: var(--ez-btn-ink); box-shadow: inset 0 -3px 0 var(--ez-btn-lip); font: 800 22px/1 var(--ez-numbers); letter-spacing: .04em; transition: background .1s; }
.op-days label small { display: block; font: 600 11px/1 var(--ez-body); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; color: var(--op-key-2); }
.op-days label:hover { background: var(--ez-btn-hi); }
.op-days label:hover small { color: var(--ez-btn-ink); }
.op-days input:checked + label { background: var(--ez-btn-ink); color: var(--ez-btn); box-shadow: none; padding-bottom: 0; }
.op-days input:checked + label small { color: var(--ez-btn); }
.op-days input:focus-visible + label { outline: 3px solid var(--ez-btn-ink); outline-offset: 3px; }
.op-code { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; }
.op-code__show { padding: 6px 12px 4px; background: var(--ez-bone); color: var(--ez-ink); font: 900 30px/1 var(--ez-display); letter-spacing: .25em; transform: rotate(-1.5deg); user-select: all; }
.op-code .ez-input { width: 9ch; min-height: 48px; text-align: center; font: 800 22px/1 var(--ez-numbers); letter-spacing: .2em; text-transform: uppercase; }
.op-lock .ez-check { align-items: flex-start; margin: 0 0 18px; }
.op-lock .ez-check input { flex: none; margin-top: 2px; }
.op-what { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.op-what li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.op-what .ph { font-size: 26px; color: var(--ez-text-2); }
.op-what b { display: block; font: 800 18px/1.1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.op-what span { color: var(--ez-text-2); font-size: var(--ez-fs-small); line-height: 1.45; }
.op-staffnote { max-width: 560px; padding: 22px 24px; background: var(--ez-ground-2); border-left: 0; }

/* ---------- narrower screens ---------- */
@media (max-width: 1100px) {
  .op-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .op-hub, .op-noteboard, .op-ignore, .op-lock, .op-refer, .op-notes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .op-hub .op-id { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; max-width: 520px; }
  .op-hub .op-id__pic { grid-row: span 3; margin: 0; }
  .op-hub .op-id__meta { margin: 8px 0; }
}
@media (max-width: 640px) {
  .op-sheet { padding: 20px 16px 16px; }
  .op-sheet__name { font-size: 34px; }
  .op-sheet__body { grid-template-columns: minmax(0, 1fr); }
  .op-polaroid { max-width: 170px; }
  .op-lined textarea { min-height: 220px; }
  .op-note { padding: 22px 16px 16px 40px; }
  .op-note::before { left: 26px; }
  .op-tiles { grid-template-columns: minmax(0, 1fr); }
  .op-tile { min-height: 0; }
  .op-days:not(.op-days--why) { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }   /* the five day keys on one row */
  .op-days:not(.op-days--why) label { min-width: 0; padding-left: 4px; padding-right: 4px; }
  .op-ticket { grid-template-columns: minmax(0, 1fr); }
  .op-ticket__stub { border-left: 0; border-top: 3px dashed rgb(18 17 16 / .4); }
  .op-ticket__link { flex-direction: column; }
  .op-blocked li { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .op-blocked__where { display: none; }
  .op-heroes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .op-hero dd { font-size: 24px; }
}

/* 15.4 Mailbox (mmpires public/css/empyrez.css 28, and the post-it slip) */
/* -----------------------------------------------------------------------------
   28. MAILBOX: the folder panel, striped rows, the thread, the composer.
   Names stay Archivo (real case), never the stencil.
   -------------------------------------------------------------------------- */
/* The folder panel: one 2px frame holding a head bar (select all over the ticks, what the folder
   holds or "N selected" with the bulk tools, search right) and the rows. Rows stripe ink / ink-2,
   hover lifts, a ticked row takes the selected tint. Unread = the counts' orange dot (the colour of the row's unread-count chip;
   not green, which is the online dot beside the name, and no page mixes it with Waiting's turns-orange "asks" dot),
   bone and bold; read rows go quiet in bone-2. */
.ez-mailbox { margin-top: 16px; border: 2px solid var(--ez-rule); background: var(--ez-ink); }
.ez-mailbox__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 60px; padding: 8px 12px; background: var(--ez-ink-2); border-bottom: 2px solid var(--ez-rule); }
.ez-mailbox__bar:has(.ez-mailbox__all) { padding-left: 0; }
.ez-mailbox__all { justify-content: center; width: 44px; flex: none; }
.ez-mailbox__sum { color: var(--ez-bone-2); white-space: nowrap; }
.ez-mailbox__sum b { color: var(--ez-bone); }
.ez-mailbox__new { margin-left: 12px; color: var(--ez-v-count); font-weight: 700; }
.ez-mailbox__search { margin-left: auto; flex: 0 1 240px; min-width: 140px; }
.ez-mailbox__search .ez-input { min-height: 40px; }
.ez-mailbox__bar:has([data-mail-tools]:not([hidden])) .ez-mailbox__search { display: none; }   /* while ticked, the head is the tools */
.ez-mailbox__none { margin: 0; padding: 28px 20px; color: var(--ez-bone-2); }
.ez-mailbox__none b { color: var(--ez-bone); }
.ez-mailbox__pages { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; background: var(--ez-ink-2); border-top: 2px solid var(--ez-rule); }
.ez-mailbox__pages .ez-btn { min-width: 38px; justify-content: center; }
.ez-mailbox__pages .ez-btn[aria-current] { background: var(--ez-sel); border-color: var(--ez-bone-2); color: var(--ez-bone); font-weight: 800; }
.ez-mailbox__gap { padding: 0 2px; color: var(--ez-bone-2); }

.ez-mailrows { list-style: none; margin: 0; padding: 0; }
.ez-mailrow { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; border-top: 1px solid var(--ez-rule); }
.ez-mailrow:first-child { border-top: 0; }
.ez-mailrow:nth-child(even) { background: var(--ez-ink-2); }
.ez-mailrow:hover { background: #24211c; }   /* one step above ink-2: bone-2 8.0:1, bone 12.9:1 */
.ez-mailrow:has(input:checked) { background: var(--ez-sel); }
.ez-mailrow--notick { grid-template-columns: minmax(0, 1fr); }
.ez-mailrow__tick { display: grid; place-items: center; align-self: stretch; cursor: pointer; }
/* Desktop: one line per row. flag | sender | subject, chip, preview | time */
body.ez a.ez-mailrow__link, .ez-mailrow__link { display: grid; grid-template-columns: 22px 190px minmax(0, 1fr) 84px; gap: 0 14px; align-items: center; min-width: 0;
  min-height: 52px; padding: 8px 14px 8px 0; color: inherit; text-decoration: none; }
.ez-mailrow__flag { display: grid; place-items: center; }
.ez-mailrow__flag i { width: 10px; height: 10px; border-radius: 50%; background: var(--ez-v-count); }
.ez-mailrow__flag b { min-width: 20px; padding: 2px 4px 1px; background: var(--ez-v-count); color: var(--ez-ink); font: 800 13px/1 var(--ez-numbers); text-align: center; }
.ez-mailrow__who { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ez-mailrow__who .ez-uname { font-size: 16px; font-weight: 600; color: var(--ez-bone-2); }
.ez-mailrow__who small { flex: none; font: 600 12px/1 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-bone-2); }
.ez-mailrow__count { flex: none; padding: 2px 5px 1px; border: 1px solid var(--ez-bone-2); color: var(--ez-bone-2); font: 700 13px/1 var(--ez-numbers); }
.ez-mailrow__subj { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ez-bone-2); }
.ez-mailrow__subj b { font-weight: 500; color: var(--ez-bone); }
.ez-mailrow__subj .ez-tag { margin-left: 8px; padding: 2px 6px 1px; font-size: 12px; vertical-align: 1px; }
.ez-mailrow__last::before { content: "\2014"; margin: 0 8px; }
.ez-mailrow__time { text-align: right; color: var(--ez-bone-2); font-size: 14px; white-space: nowrap; }
.ez-mailrow.is-unread .ez-mailrow__who .ez-uname { color: var(--ez-bone); font-weight: 800; }
.ez-mailrow.is-unread .ez-mailrow__subj b { font-weight: 800; }
.ez-mailrow.is-unread .ez-mailrow__time { color: var(--ez-bone); font-weight: 700; }
/* An attack log keeps two lines: what hit you, then the numbers (they are the point). */
.ez-mailrow--log .ez-mailrow__last { display: block; overflow: hidden; text-overflow: ellipsis; }
.ez-mailrow--log .ez-mailrow__last::before { content: none; }
/* Beside the folder column the main column is narrower: the sender column gives way first. */
body.ez .ez-mailapp a.ez-mailrow__link { grid-template-columns: 18px 150px minmax(0, 1fr) 72px; gap: 0 12px; }
@media (max-width: 1100px) {
  body.ez a.ez-mailrow__link, .ez-mailrow__link, body.ez .ez-mailapp a.ez-mailrow__link { grid-template-columns: 18px 128px minmax(0, 1fr) 70px; gap: 0 10px; }
}
/* Phone: two lines. flag | sender | time, then subject and preview under the sender. */
@media (max-width: 767px) {
  .ez-mailrow { grid-template-columns: 40px minmax(0, 1fr); }
  body.ez a.ez-mailrow__link, .ez-mailrow__link, body.ez .ez-mailapp a.ez-mailrow__link { grid-template-columns: 16px minmax(0, 1fr) auto; gap: 3px 8px; padding: 10px 10px 10px 0; }
  .ez-mailrow__subj { grid-column: 2 / -1; }
  .ez-mailrow__time { grid-row: 1; grid-column: 3; }
  .ez-mailbox__search { flex: 1 1 100%; margin-left: 0; order: 9; }
  .ez-mailbox__bar:has(.ez-mailbox__all) .ez-mailbox__search { padding-left: 12px; }
}

/* The mailbox shell (every mailbox page): a folder column on the left, the page on the right, so
   opening a message stays inside the mailbox. Inside it the mailbox works like a mail app, not a
   game poster: rounded panels, sentence-case buttons in Archivo, a plain bold page heading. */
.ez-mailapp { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 16px; }
.ez-mailnav { position: sticky; top: 16px; display: grid; gap: 14px; }
.ez-mailnav__folders { display: grid; gap: 2px; }
.ez-mailnav__folders a, .ez-mailnav__board { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 8px;
  color: var(--ez-bone-2); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ez-mailnav__folders a:hover, .ez-mailnav__board:hover { background: var(--ez-ink-2); color: var(--ez-bone); }
.ez-mailnav__folders a[aria-current] { background: var(--ez-sel); color: var(--ez-bone); font-weight: 800; }
.ez-mailnav i.ph { font-size: 19px; }
.ez-mailnav__folders b { margin-left: auto; color: var(--ez-v-count); font-weight: 800; }
.ez-mailnav__board { border-top: 1px solid var(--ez-rule); border-radius: 0 0 8px 8px; padding-top: 4px; }
.ez-mailapp .ez-btn { border-radius: 10px; font: 700 16px/1 var(--ez-body); letter-spacing: 0; text-transform: none; }
.ez-mailapp .ez-btn--quiet { min-height: 38px; padding: 0 14px; border-width: 1px; }
.ez-mailapp .ez-btn--primary { border-width: 2px; box-shadow: none; }
.ez-mailnav__write { width: 100%; min-height: 46px; }
.ez-mailnav__write[aria-current] { box-shadow: 0 0 0 2px var(--ez-bone); }
.ez-mailapp .ez-check input { border-radius: 5px; }
.ez-mailapp .ez-mailbox, .ez-mailapp .ez-composer { border-radius: 12px; overflow: hidden; }
body.ez .ez-mailmain__h { margin: 0 0 12px; font: 800 26px/1.15 var(--ez-body); letter-spacing: 0; text-transform: none; }
.ez-mailmain .ez-mailbox { margin-top: 0; }
body.ez .ez-mailback { margin: 0 0 12px; }
.ez-mailback a { display: inline-flex; align-items: center; gap: 6px; color: var(--ez-bone-2); font-weight: 600; text-decoration: none; }
.ez-mailback a:hover { color: var(--ez-bone); }
@media (max-width: 1100px) { .ez-mailapp { grid-template-columns: 172px minmax(0, 1fr); gap: 20px; } }
/* Phone: the folders become one scrolling row (Write first) above the page. */
@media (max-width: 767px) {
  .ez-mailapp { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 8px; }
  .ez-mailnav { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .ez-mailnav__folders { display: flex; gap: 6px; }
  .ez-mailnav__write { width: auto; min-height: 40px; flex: none; }
  .ez-mailnav__folders a, .ez-mailnav__board { min-height: 40px; border: 1px solid var(--ez-rule); border-radius: 20px; padding: 0 12px; }
  .ez-mailnav__folders a i.ph, .ez-mailnav__board i.ph { display: none; }
  .ez-mailnav__folders b { margin-left: 2px; }
  .ez-mailnav__board { border-radius: 20px; padding-top: 0; }
}

/* A conversation reads like texting: one rounded chat with the other player in its head, their
   messages left on warm grey, yours right on bone, a day line when the date changes, and the
   send bar docked at the bottom. A stack (same sender, within 15 minutes) shows one time. */
.ez-chat { border: 2px solid var(--ez-rule); border-radius: 14px; overflow: hidden; background: #161412; }
.ez-chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ez-ink-2); border-bottom: 1px solid var(--ez-rule); }
.ez-chat__face { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ez-bone-2); color: var(--ez-ink); font: 800 19px/1 var(--ez-body); }
.ez-chat__who { flex: 1 1 auto; min-width: 0; }
body.ez .ez-chat__name { margin: 0; font: 700 18px/1.2 var(--ez-body); letter-spacing: 0; text-transform: none; }
body.ez .ez-chat__subj { margin: 2px 0 0; color: var(--ez-bone-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-chat__head .ez-acts { flex: none; margin: 0; gap: 6px; }
.ez-chat__log { list-style: none; margin: 0; padding: 18px 16px 10px; display: flex; flex-direction: column; gap: 10px; }
.ez-chat__more { margin: 0; padding: 12px 16px 0; text-align: center; }
.ez-chat__more > a { color: var(--ez-bone-2); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ez-chat__day { align-self: center; padding: 6px 0 2px; color: var(--ez-bone-2); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ez-bub { align-self: flex-start; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: min(78%, 560px); min-width: 0; }
.ez-bub.is-mine { align-self: flex-end; align-items: flex-end; }
.ez-bub.is-stacked { margin-bottom: -6px; }
.ez-bub__text { padding: 9px 14px; border-radius: 18px 18px 18px 6px; background: #302b25; color: var(--ez-bone); line-height: 1.45; overflow-wrap: anywhere; }   /* bone 11.6:1 */
.ez-bub.is-mine .ez-bub__text { border-radius: 18px 18px 6px 18px; background: var(--ez-bone); color: var(--ez-ink); }   /* 15.0:1 */
.ez-bub.is-stacked .ez-bub__text { border-bottom-left-radius: 18px; }
.ez-bub.is-mine.is-stacked .ez-bub__text { border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; }
body.ez .ez-bub__text p { margin: 0; }
body.ez .ez-bub__text p + p { margin-top: 8px; }
.ez-bub__meta { padding: 0 6px; color: var(--ez-bone-2); font-size: 12px; }
.ez-chat__send { display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px; background: var(--ez-ink-2); border-top: 1px solid var(--ez-rule); }
.ez-chat__send textarea { flex: 1 1 auto; min-width: 0; height: 46px; min-height: 46px; max-height: 200px; resize: none; padding: 11px 18px; border: 2px solid var(--ez-rule); border-radius: 23px;
  background: var(--ez-ink); color: var(--ez-bone); font: 400 16px/1.4 var(--ez-body); overflow-y: auto; scrollbar-width: none; }
.ez-chat__send textarea:focus { outline: none; border-color: var(--ez-bone-2); }
.ez-chat__send .ez-btn { min-height: 46px; border-width: 2px; border-radius: 23px; padding: 0 20px; box-shadow: none; font: 700 16px/1 var(--ez-body); letter-spacing: 0; text-transform: none; }
@media (max-width: 767px) {
  .ez-chat__head { flex-wrap: wrap; padding: 10px 12px; }
  .ez-chat__head .ez-acts { width: 100%; }
  .ez-chat__log { padding: 14px 10px 8px; }
  .ez-bub { max-width: 86%; }
  .ez-chat__send { padding: 10px; }
}

/* Any other message (an attack log, a game notice, an invite) opens in a reading pane: subject and
   who/when in the head with the actions, the text below. */
.ez-read { border: 2px solid var(--ez-rule); border-radius: 12px; overflow: hidden; background: var(--ez-ink); }
.ez-read__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; background: var(--ez-ink-2); border-bottom: 1px solid var(--ez-rule); }
.ez-read__title { min-width: 0; }
body.ez .ez-read__subj { margin: 0; font: 800 22px/1.2 var(--ez-body); letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
body.ez .ez-read__meta { margin: 4px 0 0; color: var(--ez-bone-2); font-size: 14px; }
.ez-read__head .ez-acts { margin: 0; gap: 6px; }
.ez-read__body { padding: 18px 20px 20px; line-height: 1.55; }
.ez-read__lines { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.ez-read__foot { padding: 12px 20px; border-top: 1px solid var(--ez-rule); }
@media (max-width: 767px) { .ez-read__head, .ez-read__body, .ez-read__foot { padding-left: 14px; padding-right: 14px; } }

/* The composer (a reply under a thread, and Write): one framed panel; label-left rows for To and
   Subject, the message box, and a footer with the send button on the right. */
.ez-composer { max-width: 820px; margin-top: 20px; border: 2px solid var(--ez-bone-2); background: var(--ez-ink-2); }
body.ez .ez-composer__head { display: block; margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--ez-rule); font-weight: 700; }
.ez-composer__row { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 6px 16px; border-bottom: 1px solid var(--ez-rule); }
.ez-composer__row > .ez-label { color: var(--ez-bone-2); }
.ez-composer__row .ez-input { min-height: 44px; border-color: transparent; background: transparent; padding-left: 4px; }
.ez-composer__row .ez-input:focus { border-color: var(--ez-bone-2); background: var(--ez-ink); }
.ez-composer__row .ez-field__hint { grid-column: 2; padding-left: 4px; color: var(--ez-bone-2); font-size: var(--ez-fs-small); }
.ez-composer .ez-textarea { display: block; min-height: 180px; border: 0; background: var(--ez-ink); padding: 14px 16px; }
.ez-composer--reply .ez-textarea { min-height: 110px; }
.ez-composer .ez-textarea:focus { outline: 2px solid var(--ez-bone-2); outline-offset: -2px; }
.ez-composer__foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--ez-rule); }
@media (max-width: 767px) { .ez-composer__row { grid-template-columns: 64px minmax(0, 1fr); padding: 4px 12px; } }

/* Inline select: as tall as a quiet button, as wide as its text (Move to, Next hit). */
.ez-select--auto, .ez-acts .ez-select, .ez-toolbar .ez-select, .ez-receipt__next .ez-select {
  width: auto; min-height: 44px; padding: 0 34px 0 12px; font: 600 16px/1 var(--ez-body); letter-spacing: 0; text-transform: none; }
.ez-select--sm { min-height: 40px; }

/* Toolbar with a phone trim: under 768 only the essentials show (Read, Move to, Delete);
   .ez-tb-extra items hide and the same actions sit in the phone-only .ez-tb-more overflow. */
.ez-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: 52px; margin: 12px 0 0; padding: 4px 0; }
.ez-toolbar__lead { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.ez-tb-more { display: none; position: relative; }
.ez-tb-more > summary { list-style: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 2px solid var(--ez-bone-2); cursor: pointer;
  font: 800 16px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; }
.ez-tb-more > summary::-webkit-details-marker { display: none; }
.ez-tb-more[open] > summary { background: var(--ez-bone); color: var(--ez-ink); border-color: var(--ez-bone); }
.ez-tb-more__menu { position: absolute; z-index: 18; right: 0; bottom: calc(100% + 6px); display: grid; gap: 6px; min-width: 180px; padding: 10px; background: var(--ez-ink); border: 2px solid var(--ez-bone-2); }
.ez-phone-only { display: none !important; }
@media (max-width: 767px) {
  .ez-tb-extra { display: none !important; }
  .ez-tb-more { display: inline-block; }
  .ez-phone-only { display: revert !important; }
  .ez-toolbar { gap: 6px; }
  .ez-toolbar .ez-select { max-width: 150px; }
}


/* Post-it slip: collapsed to its header line; tap to open the message and its answer. Many stack thin. */
.ez-slips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 18px; }
.ez-slip { min-width: 0; }
.ez-slip { position: relative; background: var(--ez-bone); color: var(--ez-ink); transform: rotate(-.3deg); }
.ez-slip:nth-child(even) { transform: rotate(.35deg); }
.ez-slip > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 14px; font-weight: 700; }
.ez-slip > summary::-webkit-details-marker { display: none; }
.ez-slip > summary .ez-slip__line { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-slip > summary .ez-slip__when { color: var(--ez-paper-2); font-weight: 500; font-size: 14px; white-space: nowrap; }
.ez-slip > summary::after { content: "+"; font: 800 22px/1 var(--ez-numbers); }
.ez-slip[open] > summary::after { content: "\2212"; }
.ez-slip__body { padding: 0 14px 14px; font-size: 15px; }
.ez-slip__acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.ez-slip .ez-tape { top: -9px; left: auto; right: 22%; width: 60px; height: 20px; }
.ez-slip { --ez-c-turns: var(--ez-v-turns-p); --ez-c-money: var(--ez-v-money-p); --ez-c-count: var(--ez-v-count-p); --ez-c-2: var(--ez-paper-2); }
.ez-slip .ez-v-turns { color: var(--ez-v-turns-p); }
/* Waiting, Notices and Hits (waiting.php, notices.php, hits.php): their own pages under the folder bar, dressed as the
   Inbox. Inside .ez-mailpage the buttons, the heading and the panel are the mail app's (the rounded panel, the head bar,
   striped rows, the dot, the time column on the right). A row there is an event or an offer, not a conversation:
   flag | what happened (the tag and the name or title, the sentence, the figures) | its buttons | time. The bar's
   words start where the rows' words start. An offer waiting on him takes the orange of the offer on the Inbox's slips. */
.ez-mailpage { margin-top: 16px; }
.ez-mailpage .ez-btn { border-radius: 10px; font: 700 16px/1 var(--ez-body); letter-spacing: 0; text-transform: none; }
.ez-mailpage .ez-btn--quiet { min-height: 38px; padding: 0 14px; border-width: 1px; }
.ez-mailpage .ez-mailbox { margin-top: 0; border-radius: 12px; overflow: hidden; }
.ez-mailpage .ez-mailpage__sec { margin-top: 20px; }
.ez-mailpage .ez-mailbox__none { padding-left: 44px; }
.ez-mailpage__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
body.ez .ez-mailpage__head .ez-mailmain__h { margin: 0; }
.ez-mailpage .ez-mailbox__bar { padding-left: 44px; }
body.ez .ez-mailbox__h { margin: 0; color: var(--ez-bone); font: 800 17px/1.2 var(--ez-body); letter-spacing: 0; text-transform: none; }
.ez-mailbox__h + .ez-mailbox__sum { margin-left: auto; }
.ez-mailbox__sum b.ez-mailbox__ask { color: var(--ez-v-turns); }
.ez-mailev { display: grid; grid-template-columns: 18px minmax(0, 1fr) 72px; gap: 0 12px; align-items: start; min-width: 0; min-height: 52px; padding: 13px 14px 13px 14px; }
body.ez a.ez-mailev { color: inherit; text-decoration: none; }
.ez-mailev--acts { grid-template-columns: 18px minmax(0, 1fr) auto 72px; }
.ez-mailev > .ez-mailrow__flag { padding-top: 7px; }
.ez-mailev > .ez-mailrow__time { padding-top: 3px; }
.ez-mailev__main { min-width: 0; }
body.ez .ez-mailev__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; }
.ez-mailev__head .ez-tag { padding: 2px 6px 1px; font-size: 12px; }
.ez-mailev__title, body.ez .ez-mailev__head .ez-row__name { min-width: 0; color: var(--ez-bone-2); font: 600 16px/1.3 var(--ez-body); letter-spacing: 0; text-transform: none; white-space: normal; overflow-wrap: anywhere; }   /* names stay Archivo, real case */
.ez-mailev__title .ez-uname { font: inherit; color: var(--ez-bone); }
body.ez .ez-mailev__title a.ez-who { color: inherit; text-decoration: underline; text-decoration-color: var(--ez-rule); text-underline-offset: 3px; }
body.ez .ez-mailev__title a.ez-who:hover { text-decoration-color: currentColor; }
body.ez a.ez-mailev:hover .ez-mailev__title { text-decoration: underline; text-underline-offset: 3px; }
body.ez .ez-mailev__line { margin: 4px 0 0; color: var(--ez-bone-2); line-height: 1.45; overflow-wrap: anywhere; }
.ez-mailev__where { white-space: nowrap; }
.ez-mailev__where::before { content: "\00b7"; margin: 0 6px 0 2px; }
.ez-mailev .ez-facts { margin-top: 6px; }
.ez-mailev__acts { display: flex; flex-wrap: wrap; align-items: center; align-self: center; gap: 8px; }
.ez-mailev__acts form { margin: 0; }
.ez-mailrow.is-unread .ez-mailev__title, body.ez .ez-mailrow.is-unread .ez-mailev__head .ez-row__name { color: var(--ez-bone); font-weight: 800; }
.ez-mailrow.is-unread .ez-mailev__line { color: var(--ez-bone); }
.ez-mailrow.is-unread .ez-mailev > .ez-mailrow__time { color: var(--ez-bone); font-weight: 700; }
.ez-mailrow__flag i.is-ask { background: var(--ez-v-turns); }
/* The list switch in a panel's head (Notices | Hit reports, Hits on you | Your hits), where the Inbox keeps its search. */
.ez-mailseg { display: inline-flex; flex: none; margin-left: auto; border: 1px solid var(--ez-rule); border-radius: 10px; overflow: hidden; }
body.ez .ez-mailseg a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; color: var(--ez-bone-2); font-weight: 600; text-decoration: none; white-space: nowrap; }
body.ez .ez-mailseg a + a { border-left: 1px solid var(--ez-rule); }
body.ez .ez-mailseg a:hover { background: var(--ez-ink); color: var(--ez-bone); }
body.ez .ez-mailseg a[aria-current="page"] { background: var(--ez-sel); color: var(--ez-bone); font-weight: 800; }
.ez-mailseg b { color: var(--ez-v-count); font-weight: 800; }
/* Waiting's answered offers: a panel that opens from its head bar, one quiet striped line each. */
.ez-mailfold > summary { list-style: none; cursor: pointer; border-bottom: 0; }
.ez-mailfold > summary::-webkit-details-marker { display: none; }
.ez-mailfold > summary::after { content: "+"; margin-left: 4px; color: var(--ez-bone-2); font: 800 22px/1 var(--ez-numbers); }
.ez-mailfold[open] > summary { border-bottom: 2px solid var(--ez-rule); }
.ez-mailfold[open] > summary::after { content: "\2212"; }
.ez-mailfold > summary:hover::after { color: var(--ez-bone); }
.ez-mailrows--receipts > .ez-mailrow { padding: 10px 14px 10px 44px; color: var(--ez-bone-2); }
@media (max-width: 767px) {
  .ez-mailrow.ez-mailrow--notick { grid-template-columns: minmax(0, 1fr); }   /* the phone's tick column is for mail rows only */
  .ez-mailev, .ez-mailev--acts { grid-template-columns: 16px minmax(0, 1fr) auto; gap: 3px 8px; padding: 11px 10px; }
  .ez-mailev > .ez-mailrow__time { grid-row: 1; grid-column: 3; }
  .ez-mailev__acts { grid-column: 2 / -1; grid-row: 2; margin-top: 8px; }
  .ez-mailpage .ez-mailbox__bar, .ez-mailpage .ez-mailbox__none { padding-left: 34px; }
  .ez-mailpage .ez-mailbox__bar:has(.ez-mailseg) { padding-left: 12px; }
  .ez-mailpage .ez-mailbox__bar:has(.ez-mailseg) .ez-mailbox__sum { padding-left: 22px; }
  .ez-mailseg { order: 9; flex: 1 1 100%; margin-left: 0; }
  body.ez .ez-mailseg a { flex: 1 1 0; justify-content: center; }
  .ez-mailrows--receipts > .ez-mailrow { padding-left: 34px; }
}
.ez-actbar { display: contents; }
.ez-page { min-width: 0; }

/* 15.5 Search (mmpires .ez-qty: the box and its button on one line) */
.ez-qty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; }
/* 15.6 What this build adds to the carried pieces: the mailbox's folder bar (Inbox, Waiting, Notices, Hits), a tile
   that is a form (Ignore, Invite post), paragraphs that keep their line breaks, the reasons row on the freeze card, the
   member set greyed for non-members, the name over a cartel letter's bubble, a reply bar that can't send. */
.ez-mailtabs { margin: 4px 0 0; }
@media (max-width: 767px) { body.ez .ez-mailtabs a { padding-left: 9px; padding-right: 9px; } }   /* the four fit a phone, a count and all */
.pf-para, .ez-bub__text p { white-space: pre-line; }
.pf-staff { margin-top: 22px; }
.op-days--why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
.op-days--why label { min-width: 0; min-height: 46px; padding: 0 14px; font: 700 15px/1.2 var(--ez-body); letter-spacing: 0; text-align: center; }
.op-lock__note { margin: 0 0 18px; }
.op-lock__card p { margin: 0 0 12px; }
.ez-bub__by { padding: 0 6px; color: var(--ez-bone-2); font-size: 12px; font-weight: 700; }
.ez-chat__send--off { margin: 0; color: var(--ez-bone-2); }
.ez-composer__row .ez-pick { grid-column: 1 / -1; display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 4px 12px; }
.ez-composer__row .ez-pick > .ez-label { color: var(--ez-bone-2); }
.ez-composer__row .ez-pick .ez-pick__box { grid-column: 2; }
.ez-composer__row .ez-check { min-height: 44px; }
@media (max-width: 767px) { .ez-composer__row .ez-pick { grid-template-columns: 64px minmax(0, 1fr); } }
/* END 15 PEOPLE */

/* 17. TOUR ---------------------------------------------------------------------------------------------------
   The first login: the rules screen (rules.php, ag-), the terms and privacy pages (terms.php, privacy.php, lg-), and the
   tour card (tpl/tour.php, tr-; assets/app.js 17 TOUR). The card is a taped bone note: the step count in stencil, a bar
   of eight, the page's name, what a friend would say, the one thing to do (an orange tag, the same orange that rings
   the thing on the page), Back and Next in ink, Skip and the switch at its foot. No orange text on bone; orange only
   fills (the tag, this stop on the bar, the ring). Docked bottom right with scripts off; set beside its target from
   768 up when the script runs; on a phone it sits above the tab bar and folds to one line. */

/* The rules screen: house rules and the terms side by side, the deal on paper under them. */
.ag-cols { margin-top: 4px; }
.ag-cols .ez-h2 { margin: 0 0 12px; }
.ag-list { counter-reset: ag; }
.ag-list > li { grid-template-columns: 2.2em minmax(0, 1fr); counter-increment: ag; align-items: first baseline; }
.ag-list > li::before { content: counter(ag, decimal-leading-zero); font: 800 17px/1 var(--ez-numbers); letter-spacing: .04em; color: var(--ez-text-2); }
.ag-list--terms > li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; background: var(--ez-text-2); align-self: start; }
.ag-deal { margin-top: 36px; max-width: 640px; }
.ag-deal > .ez-tape { left: 46%; }
body.ez .ag-deal__say { margin: 0; font: 800 23px/1.15 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.ag-deal .ez-acts { margin-top: 16px; }

/* Terms and privacy: a long read, one column, the headings as stops. */
.lg-toc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 28px; padding: 0 0 14px; border-bottom: 1px solid var(--ez-rule); max-width: 72ch; font-size: var(--ez-fs-small); }
body.ez .lg-toc a { color: var(--ez-text-2); }
body.ez .lg-toc a:hover { color: var(--ez-text); }
.lg-doc { max-width: 72ch; }
.lg-doc > section { scroll-margin-top: 16px; }
.lg-doc > section + section { margin-top: 30px; }
.lg-doc .ez-h2 { margin: 0 0 10px; }
.lg-doc__lead .ez-copy { font-weight: 700; }
.lg-plain { max-width: 72ch; margin: 0 0 36px; }
.lg-plain .ez-h2 { margin: 0 0 12px; }

button.op-tile { width: 100%; font: inherit; text-align: left; cursor: pointer; }

/* The ring on the stop's one action. */
.tr-target { outline: 3px solid var(--ez-hot) !important; outline-offset: 5px; animation: tr-ping 1.5s ease-out 0s 3; }
@keyframes tr-ping { 0% { box-shadow: 0 0 0 0 rgb(255 90 31 / .55); } 100% { box-shadow: 0 0 0 18px rgb(255 90 31 / 0); } }

/* The card. */
.tr { --tr-w: 360px; position: fixed; z-index: 21; right: 24px; bottom: 24px; width: var(--tr-w); max-width: calc(100vw - 32px);
  background: var(--ez-paper); color: var(--ez-on-paper); box-shadow: 6px 6px 0 rgb(0 0 0 / .55);
  --ez-c-good: var(--ez-v-good-p); --ez-c-2: var(--ez-on-paper-2); }
[data-theme="light"] .tr { --ez-c-good: var(--ez-v-good); box-shadow: 6px 6px 0 rgb(0 0 0 / .3); }
.tr--anchored { position: absolute; right: auto; bottom: auto; transform: rotate(-.4deg); }
.tr--anchored::before { content: ""; position: absolute; width: 18px; height: 18px; background: var(--ez-paper); transform: rotate(45deg); }
.tr--anchored[data-side="right"]::before { left: -9px; top: 26px; }
.tr--anchored[data-side="left"]::before { right: -9px; top: 26px; }
.tr--anchored[data-side="below"]::before { top: -9px; left: var(--tr-notch, 32px); }
.tr--anchored[data-side="above"]::before { bottom: -9px; left: var(--tr-notch, 32px); }
.tr .ez-tape { top: -13px; left: auto; right: 30px; width: 92px; height: 26px; transform: rotate(4deg); }
.tr__fold > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px 0 18px; cursor: pointer; }
.tr__fold > summary::-webkit-details-marker { display: none; }
.tr__fold:not([open]) > summary { padding-bottom: 12px; }
.tr__count { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; font: 700 14px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }
.tr__count b { font: 900 30px/.8 var(--ez-display); letter-spacing: .02em; }
.tr__kick { padding: 3px 6px 2px; background: var(--ez-on-paper); color: var(--ez-paper); font: 800 13px/1 var(--ez-numbers); letter-spacing: .1em; align-self: center; }
.tr__mini { display: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 19px/1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.tr__fold:not([open]) .tr__mini { display: block; }
.tr__caret { flex: none; margin-left: auto; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--ez-on-paper); font-size: 18px; transition: transform .15s ease; }
.tr__fold:not([open]) .tr__caret { transform: rotate(180deg); }
.tr__fold > summary:hover .tr__caret { background: var(--ez-on-paper); color: var(--ez-paper); }
.tr__fold > summary:focus-visible { outline: 3px solid var(--ez-on-paper); outline-offset: -3px; }
.tr__body { padding: 12px 18px 14px; }
.tr__bar { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; list-style: none; margin: 0 0 14px; padding: 0; }
.tr__bar li { height: 7px; border: 2px solid var(--ez-on-paper); }
.tr__bar .is-past { background: var(--ez-on-paper); }
.tr__bar .is-now { background: var(--ez-hot); border-color: var(--ez-hot); }
body.ez .tr__name { margin: 0; font: 900 36px/.88 var(--ez-display); letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; }
body.ez .tr__line { margin: 7px 0 10px; font: 800 18px/1.15 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; color: var(--ez-c-2); }
body.ez .tr__copy p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.tr__do { display: grid; justify-items: start; gap: 7px; margin: 12px 0 0; padding: 10px 12px 11px; border: 2px dashed var(--ez-on-paper); }
body.ez .tr__do p { margin: 0; font-weight: 700; line-height: 1.4; }
.tr__dotag { padding: 4px 8px 3px; background: var(--ez-hot); color: var(--ez-on-hot); font: 800 14px/1 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; }
.tr__do--landed { border-style: solid; border-color: var(--ez-c-good); }
.tr__stamp { padding: 4px 9px 2px; border: 3px solid var(--ez-c-good); color: var(--ez-c-good); font: 900 20px/1 var(--ez-display); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-3deg); }
.tr__nav { display: flex; gap: 10px; margin: 14px 0 0; }
.tr__btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 0 14px; border: 3px solid var(--ez-on-paper); background: transparent; color: var(--ez-on-paper);
  cursor: pointer; white-space: nowrap; font: 800 18px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; transition: background-color .12s ease, color .12s ease; }
.tr__btn:hover, .tr__btn--next { background: var(--ez-on-paper); color: var(--ez-paper); }
.tr__btn--next { flex: 1 1 auto; min-width: 0; }
.tr__btn--next:hover { background: var(--ez-ink-2); }
[data-theme="light"] .tr__btn--next:hover { background: var(--ez-bone-2); }
.tr__btn--soft { background: transparent; color: var(--ez-on-paper); }
.tr__btn--soft:hover { background: var(--ez-on-paper); color: var(--ez-paper); }
.tr__btn:active { transform: translate(2px, 2px); }
.tr__btn:focus-visible, .tr__skip:focus-visible, .tr__switch:focus-visible, .tr__go:focus-visible { outline: 3px solid var(--ez-on-paper); outline-offset: 2px; }
.is-landed .tr__btn--next { box-shadow: 4px 4px 0 var(--ez-hot); }
.tr__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 0; padding-top: 6px; border-top: 1px dashed var(--ez-on-paper-2); }
.tr__foot form, .tr__swf { margin: 0; }
.tr__skip { min-height: 40px; padding: 0; background: none; border: 0; color: var(--ez-on-paper); cursor: pointer; font: 600 14px/1.2 var(--ez-body); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.tr__switch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0; background: none; border: 0; color: var(--ez-on-paper); cursor: pointer;
  font: 800 15px/1 var(--ez-numbers); letter-spacing: .08em; text-transform: uppercase; }
.tr__track { position: relative; width: 40px; height: 22px; border: 2px solid var(--ez-on-paper); background: var(--ez-on-paper); }
.tr__track span { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; background: var(--ez-paper); transition: right .12s ease; }
.tr__switch:hover .tr__track span { right: 9px; }
.tr__state { min-width: 2ch; }

/* Away from the stop's page: one strip, where to go, and the switch. */
.tr--away { display: flex; align-items: center; gap: 12px; width: auto; max-width: min(560px, calc(100vw - 32px)); padding: 8px 12px 8px 14px; }
body.ez .tr__awayline { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; font-size: 15px; }
.tr__awaywhat { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.ez a.tr__go { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; background: var(--ez-on-paper); color: var(--ez-paper); text-decoration: none;
  font: 800 16px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
body.ez a.tr__go:hover { background: var(--ez-ink-2); }
.tr--away .tr__count b { font-size: 24px; }

/* Desktop, scripts off: the docked card keeps the page's foot clear. */
@media (min-width: 768px) {
  body.ez:has(.tr--full:not(.tr--anchored)) .ez-main { padding-bottom: 460px; }
  body.ez:has(.tr--away) .ez-main { padding-bottom: 110px; }
}

/* Phone: above the tab bar, full width, folding to one line; the page's own pinned bars sit above it. */
@media (max-width: 767px) {
  .tr { left: 0; right: 0; bottom: calc(var(--ez-tabs-h) + env(safe-area-inset-bottom)); width: auto; max-width: none; box-shadow: 0 -5px 0 rgb(0 0 0 / .4); }
  .tr .ez-tape { display: none; }
  .tr__fold > summary { padding: 10px 14px 0; min-height: 44px; }
  .tr__body { max-height: 44vh; overflow-y: auto; padding: 8px 16px 12px; }
  .tr__bar { display: none; }
  .tr.is-landed .tr__copy, .tr.is-landed .tr__line { display: none; }   /* done: the receipt is the news, the card only says what's next */
  body.ez .tr__name { font-size: 30px; }
  body.ez .tr__line { font-size: 16px; }
  body.ez .tr__copy p { font-size: 14px; }
  .tr__btn { min-height: 44px; font-size: 17px; }
  .tr--away { left: 0; right: 0; max-width: none; padding: 6px 10px 6px 14px; }
  .tr--away { gap: 8px; }
  .tr--away .tr__awaylab, .tr--away .tr__count > span:last-child, .tr--away .tr__kick { display: none; }
  body.ez .tr--away .tr__awayline { flex: 1 1 auto; gap: 6px; }
  body.ez .tr--away a.tr__go { padding: 0 10px; font-size: 15px; }
  body.ez:has(.tr) .ez-main { padding-bottom: calc(var(--ez-tabs-h) + var(--tr-h, 320px) + 24px + env(safe-area-inset-bottom)); }
  body.ez:has(.tr--full) .ez-atk .ez-actbar, body.ez:has(.tr--full) .atk-next .ez-actbar { bottom: calc(var(--ez-tabs-h) + var(--tr-h, 0px) + env(safe-area-inset-bottom)); }
  body.ez:has(.tr--full) .mk-order { bottom: calc(var(--ez-tabs-h) + var(--tr-h, 0px) + env(safe-area-inset-bottom)); }
  body.ez:has(.tr--full) .ez-dt__go { bottom: calc(var(--ez-tabs-h) + var(--tr-h, 0px) + 8px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .tr-target { animation: none; }
  .tr__caret, .tr__track span, .tr__btn { transition: none; }
}
/* END 17 TOUR */

/* 19. COMMUNITY -------------------------------------------------------------------------------------------
   Slice 8: the message board (board.php), the idea center (ideas.php), the support desk (support.php), Buy Turns
   (turns.php) and its pay page (checkout.php), the updates page after login (updates.php). Buy Turns and the updates
   page are ported from mmpires (src/View/buyturns/index.php with public/css/empyrez.css's item table; src/View/motd
   with public/css/motd.css, minus the street photo this build does not have). The boards and the desk have no mmpires
   page: lists read like a tracklist (one rule between rows, the name left, the figure right), counts light orange, votes
   green and red, one orange per screen (the post, submit, send or buy button). Prefix co- (the citymap owns cm-). */

/* 19.1 The list and the form side by side; on a phone the list first, the form under it. */
.co-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 40px; align-items: start; }
.co-board__main, .co-board__side { min-width: 0; }
.co-board__side { position: sticky; top: 16px; padding: 18px 18px 20px; background: var(--ez-ground-2); }
.co-board__side .ez-form, .co-form { max-width: none; }
.co-board__side .ez-textarea { min-height: 160px; }
@media (min-width: 768px) and (max-width: 1199px) { .co-board { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; } }
@media (max-width: 899px) { .co-board { grid-template-columns: 1fr; gap: 28px; } .co-board__side { position: static; } }

/* 19.2 Tags on a thread, an idea or a ticket: the kind, Pinned, Closed, the status. */
.co-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.co-kind--idea { border-color: var(--ez-c-count); color: var(--ez-c-count); }
.co-kind--bug { border-color: var(--ez-c-bad); color: var(--ez-c-bad); }
.co-status--planned { border-color: var(--ez-c-count); color: var(--ez-c-count); }
.co-status--done { border-color: var(--ez-c-good); color: var(--ez-c-good); }
.co-status--declined { border-color: var(--ez-c-2); color: var(--ez-c-2); border-style: dashed; }
.co-st--open { border-color: var(--ez-c-warn); color: var(--ez-c-warn); }
.co-st--answered { background: var(--ez-c-good); border-color: var(--ez-c-good); color: var(--ez-ink); }
.co-st--closed { border-color: var(--ez-c-2); color: var(--ez-c-2); }

/* 19.3 The thread list: the title big, the first 200 characters under it, who and when, the replies and votes right. */
.co-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0 0 14px; }
.co-search .ez-input { min-height: 44px; }
.co-found { margin: -4px 0 12px !important; }
.co-threads > li { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 0; }
body.ez a.co-th { display: grid; gap: 3px; min-width: 0; color: inherit; text-decoration: none; }
body.ez a.co-th:hover .co-th__title { text-decoration: underline; text-underline-offset: 4px; }
.co-th__title { font: 800 var(--ez-fs-h3)/1.15 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; overflow-wrap: anywhere; }
.co-th__ex { color: var(--ez-c-2); font-size: var(--ez-fs-small); line-height: 1.45; overflow-wrap: anywhere; }
.co-th__meta { grid-column: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; margin: 6px 0 0 !important; font-size: var(--ez-fs-small); min-width: 0; }
.co-th__meta .ez-who { max-width: 16ch; }
.co-th__end { align-content: start; }
.co-th__end .ez-n { font-size: 22px; }
.co-score { font-family: var(--ez-numbers); font-weight: 800; letter-spacing: .02em; }
.co-pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
body.ez .co-pager a { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 8px; border: 2px solid var(--ez-rule); text-decoration: none;
  font: 800 18px/1 var(--ez-numbers); color: var(--ez-text-2); }
body.ez .co-pager a:hover { border-color: var(--ez-text); color: var(--ez-text); }
body.ez .co-pager a[aria-current="page"] { border-color: var(--ez-text); background: var(--ez-text); color: var(--ez-ground); }
.co-kinds { margin: 0; padding: 0; border: 0; display: grid; gap: 6px; min-width: 0; }
.co-kinds .ez-seg { display: flex; }
.co-kinds .ez-seg label { flex: 1 1 0; justify-content: center; padding: 0 10px; font-size: 17px; }

/* 19.4 One thread, one idea, one ticket: the starter, then the replies as a column of posts on rules. */
.co-thread, .co-ticket { max-width: 760px; }
.co-title { margin: 4px 0 6px !important; font: 900 clamp(26px, 4vw, 36px)/1 var(--ez-numbers); letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; }
.co-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; margin: 0 0 8px !important; font-size: var(--ez-fs-small); }
.co-meta .ez-who { max-width: 20ch; }
.co-body { font-size: 16px; line-height: 1.6; }
.co-thread > .co-body { font-size: 17px; }
.co-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; }
.co-replies, .co-lines { list-style: none; margin: 24px 0 0; padding: 0; max-width: 760px; }
.co-reply, .co-line { padding: 16px 0; border-top: 1px solid var(--ez-rule); }
.co-reply:last-child, .co-line:last-child { border-bottom: 1px solid var(--ez-rule); }
.co-reply--gone { padding: 10px 0; }
.co-reply--gone .co-meta { margin: 0 !important; font-style: italic; }
.co-replybox { max-width: 760px; margin-top: 28px; }
.co-replybox .ez-form { max-width: none; }

/* 19.5 Votes: two small outline buttons, the count inside; the pressed one fills. */
.co-votes { display: inline-flex; gap: 6px; align-items: center; }
.co-vote-f { display: contents; }
.co-vote { min-width: 52px; min-height: 36px; padding: 0 10px; border: 2px solid var(--ez-rule); background: transparent; color: var(--ez-text-2); cursor: pointer;
  font: 800 17px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.co-vote:hover { border-color: var(--ez-text); color: var(--ez-text); }
.co-vote--up[aria-pressed="true"] { background: var(--ez-c-good); border-color: var(--ez-c-good); color: var(--ez-ink); }
.co-vote--down[aria-pressed="true"] { background: var(--ez-c-bad); border-color: var(--ez-c-bad); color: var(--ez-ink); }
.co-vote-n { display: inline-grid; place-items: center; min-width: 44px; min-height: 32px; padding: 0 8px; border: 1px dashed var(--ez-rule); color: var(--ez-text-2);
  font: 800 16px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; }

/* 19.6 Ideas: the score in its own column, the votes under it, the idea to the right. */
.co-ideas { list-style: none; margin: 0; padding: 0; }
.co-idea { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid var(--ez-rule); }
.co-ideas > .co-idea:first-child { border-top: 1px solid var(--ez-rule); }
.co-idea--open { max-width: 860px; border: 0; padding-top: 0; }
.co-score-box { display: grid; justify-items: center; align-content: start; gap: 8px; }
.co-score-box > .ez-n { font-size: 34px; }
.co-score-box .co-votes { flex-wrap: wrap; justify-content: center; }
.co-idea__main { min-width: 0; }
.co-small-link { font-size: var(--ez-fs-small); }
@media (max-width: 767px) {
  .co-idea { grid-template-columns: 1fr; }
  .co-score-box { grid-row: 2; display: flex; justify-items: start; align-items: center; gap: 12px; }
  .co-score-box > .ez-n { font-size: 26px; }
}

/* 19.7 The support desk: staff lines sit on a raised ground with their name in the value colour. */
.co-line--staff { padding: 16px 14px; background: var(--ez-ground-2); border-top-color: var(--ez-c-good); }
.co-line__who { font-family: var(--ez-numbers); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.co-line--staff .co-line__who { color: var(--ez-c-good); }
.co-tickets > li { padding: 13px 0; }
.co-door { max-width: 520px; }
.co-door .ez-form { max-width: none; }

/* 19.8 Buy Turns (mmpires buyturns): the status row, the membership card, the package table, more ways to buy. */
.co-status { margin: 0 0 4px; }
.co-status .ez-stats dd { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.co-dd-word { font: 500 var(--ez-fs-small)/1 var(--ez-body); color: var(--ez-c-2); }
.co-waiting { margin-top: 14px !important; }
.co-member { max-width: 720px; }
.co-member .ez-lines { font-size: 16px; }
.co-packs th { padding: 4px 0 8px 22px; vertical-align: bottom; }
.co-packs th:first-child, .co-packs td:first-child { padding-left: 0; }
.co-packs td { padding: 12px 0 12px 22px; border-bottom: 0; border-top: 1px solid var(--ez-rule); }
.co-packs th:nth-child(2), .co-packs th:nth-child(3), .co-packs td:nth-child(2), .co-packs td:nth-child(3) { text-align: right; white-space: nowrap; }
.co-packs th:last-child, .co-packs td:last-child { width: 170px; text-align: right; }
.co-packs td .ez-n { font-size: 22px; }
.co-packs td .ez-small { display: block; margin-top: 3px; font-size: 13px; }
.co-pk-name { display: block; font: 800 22px/1.05 var(--ez-numbers); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.co-pk-note { display: block; margin-top: 5px; }
.co-more .ez-panel { display: grid; align-content: start; gap: 10px; }
.co-more .ez-copy { margin: 0 !important; }
.co-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.co-inline .ez-label { font-size: 20px; color: var(--ez-text); }
.co-inline .ez-input { --ez-num-ch: 6; min-height: 44px; }
.co-more .ez-after { margin: 0; }
@media (min-width: 768px) and (max-width: 1199px) {
  .co-packs th, .co-packs td { padding-left: 14px; }
  .co-pk-name { font-size: 20px; }
}
@media (max-width: 767px) {
  .co-packs, .co-packs tbody { display: block; }
  .co-packs thead { display: none; }
  .co-packs tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 0; border-top: 1px solid var(--ez-rule); }
  .co-packs td, .co-packs td:first-child { display: block; padding: 0; border: 0; text-align: left; width: auto; }
  .co-packs td:nth-child(1) { grid-column: 1; grid-row: 1; min-width: 0; }
  .co-packs td:nth-child(4) { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: auto; }
  .co-packs td:nth-child(2), .co-packs td:nth-child(3) { grid-column: 1; font-size: 14px; text-align: left; }
  .co-packs td:nth-child(2)::before, .co-packs td:nth-child(3)::before { content: attr(data-label) " "; color: var(--ez-c-2); }
  .co-packs td:nth-child(2) .ez-n, .co-packs td:nth-child(3) .ez-n { font-size: 17px; }
  .co-packs td .ez-small { display: inline; margin-left: 6px; }
  .co-pk-name { font-size: 20px; white-space: normal; }
}

/* 19.9 The pay page: the receipt with the order, what lands, Pay with PayPal. */
.co-receipt .ez-tally { grid-template-columns: repeat(3, minmax(64px, 1fr)); }
.co-receipt .ez-receipt__next form { display: contents; }
@container ez-receipt (max-width: 520px) { .co-receipt .ez-tally { grid-template-columns: 1fr 1fr; } }

/* 19.10 The updates page: moved to block 27 (MOTD) with the page's redesign (2026-11-04). */

/* 19.11 Spacing the base resets (body.ez h2 and p carry no margin of their own) */
body.ez .co-board__side > h2 { margin-bottom: 14px; }
body.ez .co-sub { margin: 28px 0 4px; }
body.ez .co-receipt h2 { margin-top: 16px; }
body.ez .co-receipt > p.ez-copy { margin-top: 18px; }
@media (max-width: 767px) {
  .co-member .ez-btn { width: 100%; white-space: normal; text-align: center; line-height: 1.1; padding: 8px 14px; }
  .co-receipt .ez-receipt__next .ez-btn { flex: 1 1 100%; }
}
/* END 19 COMMUNITY */

/* 18. STAFF ------------------------------------------------------------------------------------------------------
   The staff, admin and owner pages (staff/, admin/, owner/; tpl/staff.php). The look is mmpires' wave 2 admin and owner
   panels (src/View/admin/dashboard.php, src/View/owner/*.php, public/css/owner.css) ported point for point onto this
   file's surface tokens, so the light theme turns them over: the section nav on the banner's foot, the status row, the
   job rows, the round board, cards with a heading and a link, setting rows (what left, the control right), the log.
   What mmpires did not have is STAFF_TOOLS.md's: the person record, the side sheet (Who, What, Why, What happens), the
   multi-pick, the command palette. Labels at body size on these pages, never 13px capitals for a row's name. */

/* 18.1 The section nav on the banner's foot (mmpires .ow-nav / .ow-sub), the Find button with its key. */
.ez-stnav { position: relative; z-index: 3; margin: -30px 0 0; padding: 0 14px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ez-stnav::-webkit-scrollbar { display: none; }
body.ez .ez-stnav a, .ez-stnav__find { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 2px solid var(--ez-text-2);
  background: var(--ez-ground-2); color: var(--ez-text); font: 800 19px/1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
body.ez .ez-stnav a:hover, .ez-stnav__find:hover { background: var(--ez-text); color: var(--ez-ground); border-color: var(--ez-text); }
body.ez .ez-stnav a[aria-current="page"] { background: var(--ez-hot); color: var(--ez-on-hot); border-color: var(--ez-hot); }
.ez-stnav__find { margin-left: auto; border-style: dashed; }
.ez-stnav__find .ph { font-size: 18px; }
.ez-stnav__find kbd, .ez-palette kbd { padding: 2px 5px 1px; border: 1px solid currentColor; font: 700 12px/1 var(--ez-body); letter-spacing: .02em; text-transform: none; opacity: .8; }
.ez-stsub { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 18px 0 22px; padding: 0 2px 10px; border-bottom: 1px solid var(--ez-rule); }
body.ez .ez-stsub a { color: var(--ez-text-2); font: 600 16px/1.6 var(--ez-body); text-decoration: none; border-bottom: 3px solid transparent; }
body.ez .ez-stsub a:hover { color: var(--ez-text); }
body.ez .ez-stsub a[aria-current="page"] { color: var(--ez-text); border-bottom-color: var(--ez-hot); }
.ez-stgap { height: 22px; }
.ez-streceipt { margin: 0 0 22px; }
@media (max-width: 767px) {
  .ez-stnav { flex-wrap: wrap; overflow: visible; gap: 6px; padding: 0 10px; margin-top: -24px; }
  body.ez .ez-stnav a, .ez-stnav__find { min-height: 40px; padding: 0 11px; font-size: 17px; }
  .ez-stnav__find kbd { display: none; }
  .ez-stsub { gap: 4px 16px; }
  body.ez:has(.ez-stnav) .ez-banner__act { display: none; }   /* the name keeps the poster; the other panel is in the nav */
}

/* 18.2 Names, chips, the status row, the finder box. */
body.ez a.ez-stname { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; text-decoration: none; color: var(--ez-text); vertical-align: baseline; }
body.ez a.ez-stname:hover .ez-uname { text-decoration: underline; text-underline-offset: 3px; }
.ez-stname__no { color: var(--ez-text-2); font: 600 14px/1 var(--ez-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ez-stchips { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; vertical-align: middle; }
.ez-row__main .ez-stchips { margin-left: 4px !important; }
.ez-stchip { display: inline-flex; align-items: center; padding: 3px 8px 2px; border: 1px solid var(--ez-text-2); color: var(--ez-text); font: 700 13px/1.2 var(--ez-body); white-space: nowrap; }
.ez-stchip--good { color: var(--ez-c-good); border-color: currentColor; }
.ez-stchip--warn { color: var(--ez-c-warn); border-color: currentColor; }
.ez-stchip--bad { color: var(--ez-c-bad); border-color: currentColor; }
.ez-stchip--staff { background: var(--ez-text); color: var(--ez-ground); border-color: var(--ez-text); }
.ez-ststatus { margin-top: 0; }
.ez-stfind { display: grid; gap: 14px; max-width: 720px; }
.ez-stfind .ez-pick > .ez-label { font: 600 16px/1.3 var(--ez-body); letter-spacing: 0; text-transform: none; color: var(--ez-text); }
.ez-stfind__views { margin: 0; }
.ez-stlist > li { padding-left: 10px; padding-right: 10px; }
.ez-stlist .ez-row__main { flex-wrap: wrap; row-gap: 4px; }
.ez-mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 14px; letter-spacing: 0; }
.ez-sttable { font-size: 15px; }
.ez-sttable td { white-space: nowrap; }
.ez-sttable tr.is-bad td { color: var(--ez-c-bad); }

/* 18.3 The person record: the header (avatar, name, chips, six facts, the decisions), then seven cards in two columns. */
.ez-sthead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: center; padding: 18px 20px; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); }
.ez-sthead__av, .ez-stwho__av { display: grid; place-items: center; width: 64px; height: 64px; background: var(--ez-text); color: var(--ez-ground); font: 900 36px/1 var(--ez-display); }
.ez-sthead__name { margin: 0 0 6px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ez-sthead__name .ez-uname { font-size: 26px; }
.ez-sthead__facts { grid-column: 1 / -1; gap: 10px 34px; padding-top: 14px; border-top: 1px solid var(--ez-rule); }
.ez-sthead__facts dd { font-size: 24px; }
.ez-sthead__facts .ez-sthead__v { font: 600 17px/1.25 var(--ez-body); }
.ez-sthead__mail { overflow-wrap: anywhere; }
.ez-sthead__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 14px; border-top: 1px solid var(--ez-rule); }
.ez-sthead__acts .ez-stact--key { border-color: var(--ez-text); }
.ez-stactgrp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ez-stactgrp__k { margin-right: 4px; color: var(--ez-text-2); font: 600 13px/1 var(--ez-body); }
.ez-stmore { margin: 10px 0 0 !important; font-size: 15px; }
.ez-strecord { margin-top: 22px; columns: 2 400px; column-gap: 22px; }
.ez-stsec { break-inside: avoid; display: block; margin: 0 0 22px; padding: 14px 18px 18px; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); }
.ez-stsec > summary { display: flex; align-items: baseline; gap: 10px; cursor: pointer; list-style: none; margin: 0 0 10px; }
.ez-stsec > summary::-webkit-details-marker { display: none; }
.ez-stsec > summary::after { content: "\2212"; margin-left: auto; color: var(--ez-text-2); font: 800 20px/1 var(--ez-numbers); }
.ez-stsec:not([open]) > summary { margin-bottom: 0; }
.ez-stsec:not([open]) > summary::after { content: "+"; }
.ez-stsec__n { color: var(--ez-text-2); font: 800 18px/1 var(--ez-numbers); }
.ez-stsec .ez-list > li:first-child { border-top: 0; }
.ez-stsec .ez-note { margin-top: 12px; }
.ez-stgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px 16px; margin: 0; }
.ez-stgrid > div { display: grid; gap: 3px; min-width: 0; }
.ez-stgrid dt { color: var(--ez-text-2); font-size: var(--ez-fs-small); }
.ez-stgrid dd { margin: 0; font-size: 21px; overflow: hidden; text-overflow: ellipsis; }
.ez-sthits { margin-top: 8px; }
.ez-stmail__body { font-size: 14px; line-height: 1.45; color: var(--ez-text); opacity: .85; }
/* The timeline: one rule down the left, a mark per decision coloured by what it did. */
.ez-sttl { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--ez-rule); display: grid; gap: 14px; }
.ez-sttl__item { position: relative; }
.ez-sttl__item::before { content: ""; position: absolute; left: -23px; top: 6px; width: 12px; height: 12px; background: var(--ez-text-2); }
.ez-sttl__item--warn::before { background: var(--ez-c-warn); }
.ez-sttl__item--bad::before { background: var(--ez-c-bad); }
.ez-sttl__item--good::before { background: var(--ez-c-good); }
.ez-sttl__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 !important; font-size: 15px; }
.ez-sttl__head > b { font: 800 18px/1.1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.ez-sttl__by { color: var(--ez-text-2); }
.ez-sttl__at { margin-left: auto; color: var(--ez-text-2); font-size: 14px; white-space: nowrap; }
.ez-sttl__body { margin: 4px 0 0 !important; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .ez-sthead { padding: 14px; gap: 10px 14px; }
  .ez-sthead__av { width: 48px; height: 48px; font-size: 28px; }
  .ez-sthead__name .ez-uname { font-size: 22px; }
  .ez-sthead__facts { gap: 10px 22px; }
  .ez-sthead__facts > div { min-width: 40%; }
  .ez-stsec { padding: 12px 12px 14px; }
}

/* 18.4 The side sheet (STAFF_TOOLS 4): slides in from the right, a full screen on a phone. Who, What, Why, What happens,
   then Confirm. A native popover, so the buttons open it without script; .is-open draws it open from the server. */
.ez-ssheet { position: fixed; inset: 0 0 0 auto; z-index: 50; width: min(540px, 100%); height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  border-left: 3px solid var(--ez-text); background: var(--ez-ground); color: var(--ez-text); overflow: hidden; }
.ez-ssheet:not(:popover-open):not(.is-open) { display: none; }
.ez-ssheet:popover-open, .ez-ssheet.is-open { display: flex; flex-direction: column; }
.ez-ssheet.is-open:not(:popover-open) { box-shadow: 0 0 0 100vmax rgb(12 11 10 / .62); }
.ez-ssheet::backdrop { background: rgb(12 11 10 / .62); }
.ez-ssheet:popover-open { animation: ez-ssheet-in .16s ease-out; }
@keyframes ez-ssheet-in { from { transform: translateX(40px); } to { transform: none; } }
.ez-ssheet__form { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.ez-ssheet__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; background: var(--ez-paper); color: var(--ez-on-paper); }
.ez-ssheet__head .ez-h2 { font-size: 26px; }
body.ez a.ez-ssheet__x { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ez-on-paper); color: var(--ez-on-paper); font: 800 26px/1 var(--ez-numbers); text-decoration: none; }
body.ez a.ez-ssheet__x:hover { background: var(--ez-on-paper); color: var(--ez-paper); }
.ez-ssheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 22px 18px; display: grid; align-content: start; gap: 10px; }
.ez-ssheet__body > p { margin: 0 !important; }
.ez-ssheet__k { margin: 14px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--ez-rule); }
.ez-ssheet__body > .ez-ssheet__k:first-child { border-top: 0; padding-top: 4px; }
.ez-ssheet__why { min-height: 96px; }
.ez-ssheet__happens { margin-top: 12px; padding: 12px 14px; border: 2px dashed var(--ez-text-2); }
.ez-ssheet__happens .ez-label { display: block; margin-bottom: 6px; }
.ez-ssheet__happens p { margin: 0 !important; font-size: 16px; line-height: 1.5; }
.ez-ssheet__foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ez-rule); background: var(--ez-ground-2); }
.ez-ssheet__foot .ez-notice--here { flex-basis: 100%; margin: 0 0 4px !important; }
.ez-ssheet__foot .ez-btn--primary { flex: 1 1 auto; }
.ez-stwho { display: flex; align-items: center; gap: 14px; }
.ez-stwho__av { width: 52px; height: 52px; font-size: 30px; flex: none; }
.ez-stwho__id { min-width: 0; display: grid; gap: 4px; }
.ez-stwho__name { margin: 0 !important; display: flex; align-items: baseline; gap: 8px; }
.ez-stwho__name .ez-uname { font-size: 22px; }
.ez-stwho__line { margin: 0 !important; color: var(--ez-text-2); font-size: 14px; }
.ez-stradios .ez-radio label { min-height: 48px; padding: 8px 12px; border: 1px solid var(--ez-rule); }
.ez-stradios .ez-radio + .ez-radio label { border-top: 0; }
.ez-stradios .ez-radio input:disabled + label { opacity: .55; cursor: default; }
@media (max-width: 767px) {
  .ez-ssheet { width: 100%; border-left: 0; }
  .ez-ssheet__head { padding: 12px 14px; }
  .ez-ssheet__body { padding: 4px 14px 16px; }
  .ez-ssheet__foot { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
  .ez-ssheet__foot .ez-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .ez-ssheet:popover-open { animation: none; } }

/* 18.5 The multi-pick: chips of the people picked, the box under them, the list under the box (the picker's own). */
.ez-mpick__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ez-mpick__chips:empty { display: none; }
.ez-mpick__chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border: 2px solid var(--ez-text); font-size: 15px; }
.ez-mpick__chip span { color: var(--ez-text-2); font-size: 13px; }
.ez-mpick__chip button { width: 26px; height: 26px; border: 0; background: none; color: var(--ez-text-2); font-size: 19px; line-height: 1; cursor: pointer; }
.ez-mpick__chip button:hover { color: var(--ez-c-bad); }
.ez-mpick__box { position: relative; }

/* 18.6 The command palette (Ctrl+K): a box near the top, matches under it, keys at the foot. */
.ez-palette { position: fixed; inset: 11vh 0 auto 0; z-index: 60; width: min(640px, calc(100% - 32px)); max-height: 76vh; margin: 0 auto; padding: 0; border: 3px solid var(--ez-text);
  background: var(--ez-ground); color: var(--ez-text); overflow: hidden; }
.ez-palette:not(:popover-open) { display: none; }
.ez-palette:popover-open { display: flex; flex-direction: column; }
.ez-palette::backdrop { background: rgb(12 11 10 / .55); }
.ez-palette__form { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 2px solid var(--ez-rule); }
.ez-palette__form > .ph { font-size: 22px; color: var(--ez-text-2); }
.ez-palette__input { flex: 1 1 auto; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--ez-text); font: 500 19px/1.2 var(--ez-body); }
.ez-palette__input:focus-visible { outline: none; }
.ez-palette__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; list-style: none; margin: 0; padding: 4px 0; }
.ez-palette__list:empty { display: none; }
.ez-palette__opt { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 6px 14px; cursor: pointer; }
.ez-palette__opt[aria-selected="true"] { background: var(--ez-sel); box-shadow: inset 4px 0 0 var(--ez-hot); }
.ez-palette__opt .ez-pick__av { flex: none; }
.ez-palette__opt b { font: 800 17px/1.1 var(--ez-body); font-stretch: 75%; }
.ez-palette__opt small { color: var(--ez-text-2); font-size: 13px; }
.ez-palette__kind { margin-left: auto; color: var(--ez-text-2); font: 700 12px/1 var(--ez-body); letter-spacing: .08em; text-transform: uppercase; }
.ez-palette__none { padding: 12px 14px; color: var(--ez-text-2); }
.ez-palette__foot { flex: none; display: flex; gap: 18px; margin: 0 !important; padding: 8px 14px; border-top: 1px solid var(--ez-rule); color: var(--ez-text-2); font-size: 13px; }
.ez-palette__foot kbd { margin-right: 4px; }
@media (max-width: 767px) { .ez-palette { inset: 8px 0 auto 0; max-height: 70vh; } .ez-palette__foot { display: none; } }

/* 18.7 The queues: tabs with counts, rows that open the case. */
.ez-sttabs { margin-top: 0; }
.ez-sttabs .ez-count { margin-left: 2px; }
.ez-stqueue > li { padding: 0; }
body.ez a.ez-stqueue__open { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 18px; align-items: center; padding: 12px 10px; color: inherit; text-decoration: none; }
body.ez a.ez-stqueue__open:hover { background: var(--ez-sel); }
.ez-stqueue__open .ez-row__main { gap: 8px; }
.ez-stqueue__open .ez-uname { font-size: 18px; }
.ez-stqueue__open .ez-end { gap: 2px; }
.ez-stshared { padding: 12px 10px; border-bottom: 1px solid var(--ez-rule); }
.ez-stshared:first-of-type { border-top: 1px solid var(--ez-rule); }
.ez-stshared__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 8px !important; }
.ez-stshared__who { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ez-stshared__who li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* 18.8 The owner's panel (mmpires public/css/owner.css): the round board, the doors, cards, link lists, the log. */
.ez-owgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; margin-top: 20px; }
.ez-owgrid--2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.ez-owgrid--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 959px) { .ez-owgrid--2, .ez-owgrid--even { grid-template-columns: 1fr; } }
.ez-owcard { background: var(--ez-ground-2); border: 1px solid var(--ez-rule); padding: 18px 20px 20px; min-width: 0; }
.ez-owcard--hot { border-color: var(--ez-hot); }
.ez-owcard__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 12px; }
.ez-owcard__head h2, .ez-owcard__head h3 { font: 800 21px/1.1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
body.ez .ez-owcard__head a { font: 600 15px/1 var(--ez-body); color: var(--ez-text-2); white-space: nowrap; }
body.ez .ez-owcard__head a:hover { color: var(--ez-text); }
.ez-owcard__lede { margin: -4px 0 14px !important; color: var(--ez-text-2); font-size: 15px; max-width: 62ch; }
.ez-owquiet { color: var(--ez-text-2); font-size: 15px; margin: 4px 0 0 !important; }
.ez-owform { display: grid; gap: 8px; max-width: 560px; }
.ez-owform .ez-acts { margin-top: 8px; }
.ez-owboard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding: 20px 22px; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); }
.ez-owboard.is-closed { border-color: var(--ez-c-bad); }
.ez-owboard.is-ending { border-color: var(--ez-c-warn); }
.ez-owboard__state { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.ez-owboard__big { font: 900 44px/1 var(--ez-numbers); letter-spacing: .02em; text-transform: uppercase; }
.ez-owboard__when { font: 600 19px/1.3 var(--ez-body); color: var(--ez-text); }
.ez-owboard__note { margin: 8px 0 0 !important; color: var(--ez-text-2); font-size: 15px; }
.ez-owboard__go { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.ez-owfigs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 0; padding-top: 16px; border-top: 1px solid var(--ez-rule); }
.ez-owfigs--flat { border-top: 0; padding-top: 0; }
.ez-owfigs > div { display: grid; gap: 2px; }
.ez-owfigs dt { color: var(--ez-text-2); font: 500 15px/1.2 var(--ez-body); }
.ez-owfigs dd { margin: 0; font-size: 26px; }
@media (max-width: 700px) { .ez-owboard { grid-template-columns: 1fr; padding: 16px; } .ez-owboard__big { font-size: 36px; } .ez-owfigs { gap: 10px 24px; } .ez-owfigs dd { font-size: 22px; } }
.ez-owdoors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
@media (max-width: 700px) { .ez-owdoors { grid-template-columns: 1fr 1fr; } }
body.ez a.ez-owdoor { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 74px; padding: 12px 14px; border: 2px solid var(--ez-text-2); color: var(--ez-text); text-decoration: none; }
body.ez a.ez-owdoor:hover { border-color: var(--ez-text); background: var(--ez-ground-2); }
.ez-owdoor b { font: 800 19px/1.05 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.ez-owdoor span { color: var(--ez-text-2); font-size: 14px; line-height: 1.3; }
.ez-owlinks { list-style: none; margin: 0; padding: 0; }
.ez-owlinks > li + li { border-top: 1px solid var(--ez-rule); }
body.ez a.ez-owlink { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 11px 4px; color: inherit; text-decoration: none; }
body.ez a.ez-owlink:hover { background: var(--ez-ground); }
.ez-owlink__name { font: 600 17px/1.3 var(--ez-body); }
.ez-owlink__sub { grid-column: 1; color: var(--ez-text-2); font-size: 15px; line-height: 1.4; }
.ez-owlink__end { grid-column: 2; grid-row: 1 / span 2; font: 800 20px/1 var(--ez-numbers); color: var(--ez-text-2); }
.ez-owlink--warn .ez-owlink__name::before, .ez-owlink--bad .ez-owlink__name::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; vertical-align: 1px; background: var(--ez-c-warn); }
.ez-owlink--bad .ez-owlink__name::before { background: var(--ez-c-bad); }
.ez-owlog { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.ez-owlog li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--ez-rule); }
.ez-owlog li:first-child { border-top: 0; }
.ez-owlog time { color: var(--ez-text-2); white-space: nowrap; }
.ez-owlog span { overflow-wrap: anywhere; }
.ez-owlog--stack li { grid-template-columns: 1fr; gap: 2px; }
@media (max-width: 600px) { .ez-owlog li { grid-template-columns: 1fr; gap: 2px; } }
.ez-owsave { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ez-rule); }
.ez-owsave .ez-input { flex: 1 1 160px; }

/* 18.9 Game rules: moved to block 25 (SETTINGS) with the page's redesign (2026-11-04). */
.ez-sthead .ez-stchips { display: flex; }
.ez-sthead > .ez-note { grid-column: 1 / -1; }

/* 18.10 The reset wizard: the twelve steps as a strip, the step on now (what changes, left; the typed word, right). */
.ez-wiz__steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.ez-wiz__step { display: grid; gap: 4px; justify-items: start; padding: 8px 6px 7px; border-top: 4px solid var(--ez-rule); color: var(--ez-text-2); min-width: 0; }
.ez-wiz__step.is-done { border-top-color: var(--ez-c-good); color: var(--ez-text); }
.ez-wiz__step.is-next { border-top-color: var(--ez-hot); color: var(--ez-text); background: var(--ez-sel); }
.ez-wiz__n { font: 800 18px/1 var(--ez-numbers); }
.ez-wiz__name { font: 600 13px/1.2 var(--ez-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.ez-wiz__now { display: grid; grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr); gap: 22px 30px; align-items: start; }
.ez-wiz__lines { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 16px; line-height: 1.5; }
.ez-wiz__sql { margin-top: 14px; }
.ez-wiz__stmts { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.ez-wiz__stmts code { font: 13px/1.5 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; color: var(--ez-text-2); }
.ez-wiz__go { display: grid; gap: 8px; padding: 16px; border: 2px solid var(--ez-text-2); background: var(--ez-ground); }
.ez-wiz__go .ez-label { white-space: normal; }
.ez-wiz__word { color: var(--ez-hot-text); font: 800 15px/1 var(--ez-numbers); letter-spacing: .1em; }
.ez-wiz__type { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.ez-wiz__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ez-wiz__undo { display: grid; gap: 10px; }
.ez-wiz__undo p { margin: 0 !important; }
.ez-wiz__undoline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ez-wiz__undoline .ez-input { max-width: 180px; }
@media (max-width: 959px) {
  .ez-wiz__steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ez-wiz__now { grid-template-columns: 1fr; }
}
@media (max-width: 500px) { .ez-wiz__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 18.11 The feed and its filter; staff and ranks; the permissions table; the send form. */
.ez-stfilter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 14px 16px; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); }
.ez-stfilter__go { display: flex; align-items: center; gap: 12px; min-height: 48px; }
@media (max-width: 959px) { .ez-stfilter { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ez-stfilter { grid-template-columns: 1fr; } }
.ez-stfeed { list-style: none; margin: 18px 0 0; padding: 0; }
.ez-stfeed__row { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 2px 14px; padding: 11px 10px; border-bottom: 1px solid var(--ez-rule); }
.ez-stfeed__row:first-child { border-top: 1px solid var(--ez-rule); }
.ez-stfeed__row:nth-child(even) { background: var(--ez-ground-2); }
.ez-stfeed__at { grid-row: 1 / span 2; color: var(--ez-text-2); font-size: 14px; white-space: nowrap; padding-top: 2px; }
.ez-stfeed__what { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 !important; }
.ez-stfeed__why { grid-column: 2; margin: 2px 0 0 !important; color: var(--ez-text-2); font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 600px) { .ez-stfeed__row { grid-template-columns: 1fr; } .ez-stfeed__at { grid-row: auto; } .ez-stfeed__why { grid-column: 1; } }
.ez-ststaff__row { padding: 12px 0; display: grid; gap: 6px; }
.ez-ststaff__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ez-ststaff__who > .ez-small { flex-basis: 100%; }
.ez-ststaff__acts { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid var(--ez-rule); display: grid; gap: 3px; font-size: 14px; }
.ez-ststaff__acts time { color: var(--ez-text-2); margin-right: 6px; }
.ez-stperms th, .ez-stperms td { padding-top: 8px; padding-bottom: 8px; }
.ez-stperms__rk { text-align: center; width: 12%; }
.ez-stperms th.ez-stperms__rk { text-align: center; white-space: nowrap; }
.ez-stperms__yes { color: var(--ez-c-good); font: 800 20px/1 var(--ez-numbers); }
.ez-stsend .ez-radio__end { font-size: 22px; }
.ez-stsend .ez-label { white-space: normal; }
/* END 18 STAFF */

/* 21. PUBLIC FACE ------------------------------------------------------------------------------------------------
   The poster's composition and the round as its subject (tpl/poster.php: .ld-frame, .ld-round, .ld-pitch), and About
   (about.php: .ab). Owner, 2026-11-04: "I don't know why the logins are all really pushed far to the side when the
   window's full. Show the round name, the dates, how many players are online." Everything here hangs off markup only
   the new poster and About print, so 14.9 stays as it is for anything else. Both are dark by design: the pictures are
   night, so the value colours stay the ink set whatever the theme. */

/* 21.1 The frame: one composition that stops growing at 1320px and sits in the middle of the city. Wordmark at the
   top, the row in the middle (the round left, the panel right, sharing a floor), the doors at the foot. */
body.ez--landing:has(.ld-frame) { --ld-w: 1320px; }
.ld-frame, .ab { --ez-c-turns: var(--ez-v-turns); --ez-c-money: var(--ez-v-money); --ez-c-count: var(--ez-v-count); --ez-c-2: var(--ez-bone-2); }
.ld-frame { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; max-width: var(--ld-w); min-height: calc(100svh - 40px); margin: 0 auto; min-width: 0; }   /* the doors at the foot of the first screen, the notes under them */
body.ez--landing:has(.ld-frame) .ez-main > .ez-notice { width: min(100%, 400px); max-width: none; margin: 10px max(0px, calc((100% - var(--ld-w)) / 2)) 0 auto !important; }
body.ez--landing:has(.ld-frame) .ez-footnotes { margin-left: max(0px, calc((100% - var(--ld-w)) / 2)); }
body.ez--landing:has(.ld-frame) .ez-foot, body.ez--landing:has(.ab) .ez-foot { width: min(100% - 2 * var(--ez-gutter), var(--ld-w, 1320px)); margin-inline: auto; }
.ld-line .ez-dot { margin: 0 2px 1px 0; }
.ld-frame .ld-row { flex: 1 0 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(40px, 6vw, 112px); align-items: center; padding: 28px 0 30px; }
.ld-frame .ld-row > .ld-panel { grid-column: 2; justify-self: end; }
.ld-frame .ld-row--wide { grid-template-columns: minmax(0, 1fr); }
.ld-frame .ld-row--wide > .ld-panel { grid-column: 1; }

/* 21.2 The round (index, login): the kicker, the name in stencil, the four figures on a rule; the four lines that sell
   it under them. Left column, resting on the same floor as the panel. A soft dark pool sits behind the words only. */
.ld-frame--round .ld-row { position: relative; isolation: isolate; grid-template-rows: 1fr auto; row-gap: 28px; align-items: end; }
.ld-frame--round .ld-row::before { content: ""; grid-area: 1 / 1 / 3 / 2; align-self: end; height: min(100%, 560px); margin: 0 -14% -30px -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(11 15 18 / .82), rgb(11 15 18 / .55) 55%, rgb(11 15 18 / 0)); }
.ld-frame--round .ld-row > .ld-round { grid-area: 1 / 1; }
.ld-frame--round .ld-row > .ld-pitch { grid-area: 2 / 1; }
.ld-frame--round .ld-row > .ld-panel { grid-area: 1 / 2 / 3 / 3; align-self: end; }
.ld-round { align-self: end; justify-self: start; min-width: 0; max-width: 100%; color: var(--ez-bone); text-shadow: 0 1px 16px rgb(11 15 18 / .9); }
body.ez .ld-round__kick { margin: 0 0 10px; color: var(--ez-bone-2); font: 800 15px/1 var(--ez-numbers); letter-spacing: .18em; text-transform: uppercase; }
body.ez .ld-round__name { margin: 0; color: var(--ez-bone); font: 900 clamp(68px, 8.6vw, 128px)/.84 var(--ez-display); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
body.ez .ld-round__name--off { font-size: clamp(46px, 5.4vw, 84px); white-space: normal; }
.ld-round__facts { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 22px 0 0; padding: 16px 0 0; border-top: 2px solid rgb(236 229 211 / .4); }
.ld-round__facts > div { display: grid; gap: 7px; align-content: start; min-width: 0; margin-right: 26px; padding-right: 26px; border-right: 1px solid rgb(236 229 211 / .24); }
.ld-round__facts > div:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.ld-round__facts dd { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--ez-bone); font-size: 32px; }
.ld-round__facts dd.ez-v-count { color: var(--ez-v-count); }
.ld-round__facts small { margin-left: .2em; color: var(--ez-bone-2); font-size: 19px; font-weight: 700; }
.ld-round__facts .ez-dot { width: 12px; height: 12px; }
.ld-pitch { min-width: 0; max-width: 680px; color: var(--ez-bone); text-shadow: 0 1px 14px rgb(11 15 18 / .95); }
.ld-pitch__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ld-pitch__lines li { font: 400 17px/1.4 var(--ez-body); text-wrap: pretty; }
.ld-pitch__lines b { margin-right: .25em; font: 800 19px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; }
body.ez .ld-pitch__more { margin: 16px 0 0; }
.ld-pitch__more .ez-link { font-size: 15px; }

/* 21.3 The doors: five now (About the game is the fifth, a plain link with no camera stop). */
.ld-frame .ld-stops, .ab .ld-stops { gap: 20px; }
@media (min-width: 768px) and (max-width: 1099px) { body.ez .ld-frame .ld-stops a { white-space: normal; overflow: visible; text-wrap: balance; font-size: 14px; } }

/* 21.4 Narrower: under 1100 the round's figures tighten; under 900 the row is one column (round, panel, pitch), and on
   a phone the round is a compact block over the form, the pitch after it. */
@media (max-width: 1099px) {
  .ld-round__facts > div { margin-right: 18px; padding-right: 18px; }
  .ld-round__facts dd { font-size: 26px; }
  .ld-round__facts small { font-size: 16px; }
}
@media (max-width: 899px) {
  .ld-frame .ld-row, .ld-frame--round .ld-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 26px; align-items: start; align-content: end; }
  .ld-frame .ld-row > .ld-panel { grid-column: 1; justify-self: start; }
  .ld-frame--round .ld-row > .ld-round { grid-area: 1 / 1; }
  .ld-frame--round .ld-row > .ld-panel { grid-area: 2 / 1; justify-self: start; }
  .ld-frame--round .ld-row > .ld-pitch { grid-area: 3 / 1; }
  .ld-frame--round .ld-row::before { grid-area: 1 / 1; height: auto; align-self: stretch; margin: -30px -20% -10px -30%; }
}
@media (max-width: 767px) {
  .ld-frame { min-height: calc(100svh - 34px); }
  .ld-frame .ld-row, .ld-frame--round .ld-row { row-gap: 20px; padding: 26px 0 22px; }
  .ld-frame .ld-row > .ld-panel, .ld-frame--round .ld-row > .ld-panel { justify-self: stretch; }
  body.ez .ld-round__kick { margin-bottom: 8px; font-size: 13px; }
  body.ez .ld-round__name { font-size: clamp(50px, 15vw, 64px); }
  .ld-round__facts { display: grid; grid-template-columns: repeat(3, auto) minmax(0, 1fr); gap: 0; margin-top: 14px; padding-top: 12px; }
  .ld-round__facts > div { margin-right: 12px; padding-right: 12px; gap: 5px; }
  .ld-round__facts .ez-label { font-size: 11px; letter-spacing: .06em; white-space: normal; }
  .ld-round__facts dd { font-size: 21px; gap: 6px; }
  .ld-round__facts small { font-size: 14px; }
  .ld-round__facts .ez-dot { width: 9px; height: 9px; }
  .ld-pitch__lines { gap: 8px; }
  .ld-pitch__lines li { font-size: 15px; }
  .ld-pitch__lines b { font-size: 17px; }
  .ld-frame .ld-stops, .ab .ld-stops { gap: 0 16px; }
  .ld-frame .ld-stops a:nth-child(n+3) { border-bottom: 1px solid rgb(236 229 211 / .12); }
  .ld-frame .ld-stops a:nth-child(5), .ab .ld-stops a:nth-child(5) { grid-column: 1 / -1; border-bottom: 0; }
  .ab .ld-stops a:nth-child(n+3) { border-bottom: 1px solid rgb(236 229 211 / .12); }
}

/* 21.5 About (about.php): one story down a dark page. The hero is the street at night, full screen; each scene is a
   column of short paragraphs on the ink ground ending in one punch line; between scenes, full-bleed bands cut from the
   two photographs (zoomed by the band's name), drifting slowly against the scroll. Everything reads with scripts off
   and with motion turned down: the reveal (app.js 21) only adds motion, the drift and the progress line are CSS
   scroll timelines where the browser has them, and smooth scrolling only for people who did not ask for less motion. */
body.ez--landing:has(.ab) { background: var(--ez-ink); overflow-x: hidden; }
body.ez--landing:has(.ab) .ez-top { display: none; }
body.ez--landing:has(.ab) .ez-shell--public { max-width: none; padding: 0; }
body.ez--landing:has(.ab) .ez-main { padding: 0 0 18px; }
@media (prefers-reduced-motion: no-preference) { html:has(.ab) { scroll-behavior: smooth; } }
.ab { color: var(--ez-bone); }
.ab-in { width: min(100% - 2 * var(--ez-gutter), 1320px); margin-inline: auto; }

/* The bands. The picture is taller than its band (the drift needs the room) and zoomed to its scene. */
.ab-band { position: relative; isolation: isolate; overflow: hidden; display: flex; margin: 0; background: #0b0f12; }
body.ez .ab-band__pic { position: absolute; left: 0; right: 0; top: -9%; z-index: -2; width: 100%; height: 118%; max-width: none; object-fit: cover; transform-origin: var(--ab-o, 50% 50%); scale: var(--ab-z, 1); }
.ab-band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--ez-ink), rgb(18 17 16 / .1) 22%, rgb(18 17 16 / .1) 78%, var(--ez-ink)); }
.ab-story > .ab-band { height: clamp(320px, 62svh, 620px); }
.ab-band--corner  { --ab-z: 1.7; --ab-o: 47% 62%; }    /* the lit garage, shutter half down */
.ab-band--driveby { --ab-z: 1.8; --ab-o: 6% 58%; }     /* the red doorway and the car at the kerb */
.ab-band--tower   { --ab-z: 1.9; --ab-o: 70% 34%; }    /* the tower over the river: the cartel's */
.ab-band--city    { --ab-o: 50% 60%; }                 /* the whole town from above */
.ab-band--skyline { --ab-z: 1.6; --ab-o: 36% 8%; }     /* the towers at the top of the map */
.ab-band--city::after { background: linear-gradient(180deg, var(--ez-ink), rgb(18 17 16 / 0) 18%, rgb(18 17 16 / 0) 82%, var(--ez-ink)); }

/* The hero: the street, full screen, the line low on the left. */
.ab-band--hero { min-height: 100svh; }
.ab-band--hero .ab-band__pic { object-position: 38% 50%; }
.ab-band--hero::after { background: linear-gradient(180deg, rgb(11 15 18 / .62), rgb(11 15 18 / .1) 30%, rgb(11 15 18 / .5) 64%, var(--ez-ink) 100%),
  linear-gradient(90deg, rgb(11 15 18 / .6), rgb(11 15 18 / 0) 62%); }
.ab-band__in { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 22px 0 44px; }
.ab-band__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body.ez .ab-band__top .ez-mark { font-size: clamp(36px, 4.4vw, 52px); color: var(--ez-bone); text-shadow: 0 2px 24px rgb(11 15 18 / .8); }
body.ez .ab-band__login { color: var(--ez-bone); text-decoration: none; padding: 8px 0 6px; border-bottom: 2px solid var(--ez-bone-2);
  font: 800 17px/1 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; }
body.ez .ab-band__login:hover { border-bottom-color: var(--ez-hot); }
.ab-hero { max-width: 860px; text-shadow: 0 1px 18px rgb(11 15 18 / .9); }
body.ez .ab-hero__title { margin: 0; color: var(--ez-bone); font: 900 clamp(64px, 9vw, 136px)/.84 var(--ez-display); letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
body.ez .ab-hero__lede { margin: 26px 0 0; max-width: 32ch; color: var(--ez-bone); font: 500 clamp(20px, 1.9vw, 26px)/1.4 var(--ez-body); text-wrap: pretty; }
body.ez .ab-hero__round { margin: 26px 0 0; padding-top: 14px; border-top: 2px solid rgb(236 229 211 / .4); color: var(--ez-bone);
  font: 600 13px/1.4 var(--ez-body); font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; }
.ab-hero__round .ez-n { font-size: 15px; }
.ab-hero__round .ez-dot { margin: 0 2px 1px 0; }
body.ez .ab-cue { margin: 22px 0 0; }
body.ez .ab-cue a { display: inline-flex; align-items: center; gap: 10px; color: var(--ez-bone-2); text-decoration: none; font: 800 15px/1 var(--ez-numbers); letter-spacing: .14em; text-transform: uppercase; }
body.ez .ab-cue a::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
body.ez .ab-cue a:hover { color: var(--ez-bone); }

/* A scene: the night it is, then the story in a reading column set in from the left, then the punch line. */
.ab-scene { padding: clamp(56px, 9svh, 104px) 0 clamp(48px, 8svh, 88px); scroll-margin-top: 24px; }
.ab-scene__in { display: grid; grid-template-columns: minmax(0, 680px); justify-content: start; padding-left: clamp(0px, 9vw, 168px); }
.ab-scene:nth-of-type(even) .ab-scene__in { justify-content: end; padding-left: 0; padding-right: clamp(0px, 9vw, 168px); }   /* the story walks from one side of the street to the other */
body.ez .ab-when { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; color: var(--ez-bone-2); font: 800 16px/1 var(--ez-numbers); letter-spacing: .2em; text-transform: uppercase; }
body.ez .ab-when::before { content: ""; width: 40px; height: 2px; background: var(--ez-bone-2); }
body.ez .ab-line { max-width: 31em; margin: 0 0 18px; color: var(--ez-bone); font: 400 clamp(19px, 1.55vw, 22px)/1.6 var(--ez-body); text-wrap: pretty; }
body.ez .ab-punch { max-width: 18em; margin: 30px 0 0; color: var(--ez-bone); font: 900 clamp(34px, 4vw, 58px)/.98 var(--ez-numbers); letter-spacing: .02em; text-transform: uppercase; text-wrap: balance; }

/* The close: back on the street, the one orange door. */
.ab-band--close { min-height: min(80svh, 700px); align-items: flex-end; --ab-z: 1.35; --ab-o: 88% 70%; }
.ab-band--close::after { background: linear-gradient(180deg, var(--ez-ink) 0%, rgb(11 15 18 / .25) 26%, rgb(11 15 18 / .4) 55%, rgb(11 15 18 / .92) 100%),
  radial-gradient(ellipse 60% 55% at 24% 78%, rgb(11 15 18 / .7), rgb(11 15 18 / 0) 70%); }
.ab-close { padding: 0 0 52px; text-shadow: 0 1px 18px rgb(11 15 18 / .9); }
body.ez .ab-close__title { margin: 0; color: var(--ez-bone); font: 900 clamp(56px, 7.4vw, 112px)/.86 var(--ez-display); letter-spacing: .01em; text-transform: uppercase; }
body.ez .ab-close__line { margin: 20px 0 0; max-width: 40ch; color: var(--ez-bone); font: 500 clamp(18px, 1.5vw, 21px)/1.45 var(--ez-body); }
.ab-close .ez-acts { gap: 14px 26px; margin-top: 26px; text-shadow: none; }
.ab-close .ez-btn--primary { box-shadow: none; padding: 0 34px; }
.ab-close .ez-link { color: var(--ez-bone); }
.ab > .ab-in:last-child { padding-top: 6px; }

/* The progress of the story: a thin bone line along the top, only where the browser can tie it to the scroll. */
.ab-progress { display: none; }

/* Motion, for people who did not ask for less. The reveal: app.js arms the page, a line waits low and faded until it
   reaches the screen, then settles. The drift: each picture slides a little slower than the page. */
@media (prefers-reduced-motion: no-preference) {
  .ab.is-armed .ab-reveal { transition: opacity .7s ease, translate .9s cubic-bezier(.2, .7, .2, 1); }
  .ab.is-armed .ab-reveal:not(.is-in) { opacity: 0; translate: 0 26px; }
  .ab.is-armed .ab-line.is-in:nth-of-type(2) { transition-delay: .08s; }
  .ab.is-armed .ab-line.is-in:nth-of-type(3) { transition-delay: .16s; }
  .ab.is-armed .ab-punch.is-in { transition-delay: .12s; }
  @supports (animation-timeline: view()) {
    @keyframes ab-drift { from { translate: 0 -7%; } to { translate: 0 7%; } }
    @keyframes ab-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    body.ez .ab-band__pic { animation: ab-drift linear both; animation-timeline: view(); }
    .ab-progress { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 25; height: 3px; background: var(--ez-bone-2); transform-origin: 0 50%;
      animation: ab-fill linear both; animation-timeline: scroll(root); }
  }
}

@media (max-width: 767px) {
  .ab-band--hero { min-height: 100svh; }
  .ab-band--hero .ab-band__pic { object-position: 30% 50%; }
  .ab-band__in { padding: 16px 0 34px; }
  body.ez .ab-band__login { font-size: 15px; }
  body.ez .ab-hero__title { font-size: clamp(54px, 16vw, 68px); }
  body.ez .ab-hero__lede { margin-top: 18px; font-size: 19px; }
  body.ez .ab-hero__round { font-size: 12px; }
  .ab-story > .ab-band { height: 44svh; min-height: 260px; }
  .ab-band--corner { --ab-z: 2.2; }
  .ab-band--driveby { --ab-z: 2.2; --ab-o: 4% 58%; }
  .ab-band--city { --ab-z: 1.3; --ab-o: 60% 60%; }
  .ab-scene { padding: 48px 0 40px; }
  .ab-scene__in, .ab-scene:nth-of-type(even) .ab-scene__in { padding-left: 0; padding-right: 0; justify-content: start; }
  body.ez .ab-when { margin-bottom: 16px; font-size: 14px; }
  body.ez .ab-when::before { width: 28px; }
  body.ez .ab-line { font-size: 18px; line-height: 1.55; margin-bottom: 14px; }
  body.ez .ab-punch { margin-top: 22px; font-size: 34px; }
  .ab-band--close { min-height: 560px; }
  body.ez .ab-close__title { font-size: clamp(46px, 13vw, 60px); }
  .ab-close .ez-acts { display: grid; justify-items: start; }
  .ab-close .ez-btn--primary { width: 100%; }
}
/* END 21 PUBLIC FACE */

/* 20. FRAME PASS ---------------------------------------------------------------------------------------------------
   The owner's frame orders of 2026-11-04 (docs/PAGE_RULINGS.md, the Frame rows): the site footer, the top bar's
   room, the desks' grounds, the moods card as one table, the cartel sidebar swap. Each piece hangs off markup only
   the frame prints (tpl/foot.php, tpl/head.php, tpl/nav.php, lib/page.php's body class, tpl/cartel_shell.php). */

/* 20.1 The site footer (config/nav.php 'foot'): under the page column, the house's pages left, the staff desks his
   rank opens right, in the label type (13px, quiet until hovered; the page it is on gets the orange underline). */
.ez-foot { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin: 0; padding: 14px 0 30px; border-top: 2px solid var(--ez-rule); }
.ez-foot__group { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 24px; min-width: 0; }
.ez-foot__group--staff { margin-left: auto; padding-left: 24px; border-left: 2px solid var(--ez-rule); }
body.ez .ez-foot a, body.ez .ez-sheet__foot a { padding: 7px 0 5px; border-bottom: 2px solid transparent; color: var(--ez-text-2); text-decoration: none; white-space: nowrap;
  font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
body.ez .ez-foot a:hover, body.ez .ez-sheet__foot a:hover { color: var(--ez-text); }
body.ez .ez-foot a[aria-current="page"], body.ez .ez-sheet__foot a[aria-current="page"] { color: var(--ez-text); border-bottom-color: var(--ez-hot); }
.ez-shell--public .ez-foot { margin-top: 8px; }
/* The More sheet's foot: the same links, small, after Logout. */
.ez-sheet__foot { display: flex; flex-wrap: wrap; gap: 0 22px; padding: 10px 0 0; margin-top: 8px; border-top: 2px solid var(--ez-rule); }
.ez-sheet__foot + .ez-sheet__foot { border-top-width: 1px; margin-top: 4px; padding-top: 4px; }
body.ez .ez-sheet .ez-sheet__foot a { padding: 10px 0 8px; font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; color: var(--ez-text-2); }
body.ez .ez-sheet .ez-sheet__foot a[aria-current="page"] { color: var(--ez-text); }
@media (max-width: 767px) {
  body.ez:not(.ez--public) .ez-main { padding-bottom: 32px; }   /* the tab bar's room moves to the footer, the last thing on the page */
  .ez-foot { gap: 6px 20px; padding-bottom: calc(var(--ez-tabs-h) + 24px + env(safe-area-inset-bottom)); }
  body.ez--public .ez-foot { padding-bottom: 28px; }
  .ez-foot__group { gap: 0 20px; }
  .ez-foot__group--staff { margin-left: 0; padding-left: 0; border-left: 0; flex-basis: 100%; padding-top: 4px; border-top: 1px solid var(--ez-rule); }
  body.ez .ez-foot a { padding: 10px 0 8px; }
  body.ez--wide .ez-foot { margin-inline: var(--ez-gutter); }
}

/* 20.2 The top bar, decluttered (owner, 2026-11-04: "I also don't like the top nav. It's cluttered."): the bar is the
   wordmark, the three doors, the city you are in and the two numbers every action spends (section 4). World rank
   and net worth sit above the side menu (tpl/nav.php .ez-where; owner, 2026-11-05).
   1200+: two quiet label-left, value-right rows. The 56px icon rail (768-1199, and the game menu
   folded beside a cartel menu): an icon over the rank, and hover, focus or a tap opens the same lines as a card to the
   right, the moods card's way (app.js's data-ez-moods toggle). Every figure keeps its data-live key, so the 20-second
   refresh redraws it here. The phone keeps its strip and card (section 14.5): city, rank, net worth, game time. */
.ez-where { position: relative; margin: 0 0 4px; }
.ez-where__btn { display: none; }
.ez-where__card { display: grid; gap: 6px; min-width: 0; padding: 6px 12px 4px; }
body.ez .ez-where__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; white-space: nowrap; }
.ez-where__row .ez-label { font-size: var(--ez-fs-micro); }
.ez-where__row .ez-n { font-size: 16px; }
.ez-where__row .ez-n:not(.ez-v-money) { color: var(--ez-text); }
/* The rail's form: written twice, once for the 768-1199 rail (unless a cartel page has rolled the game menu out),
   once for 1200+ when a cartel page folds the game menu to its icons. */
@media (min-width: 768px) and (max-width: 1199px) {
  body.ez:not(:has(.ez-withrail--swap.is-game)) .ez-where__btn { display: grid; justify-items: center; gap: 4px; width: 100%; padding: 8px 0 6px; background: none; border: 1px solid transparent; color: var(--ez-text-2); cursor: pointer; }
  body.ez:not(:has(.ez-withrail--swap.is-game)) .ez-where__btn .ph { font-size: 22px; }
  body.ez:not(:has(.ez-withrail--swap.is-game)) .ez-where__btn .ez-n { font-size: 13px; color: var(--ez-text); }
  body.ez:not(:has(.ez-withrail--swap.is-game)) .ez-where__btn:hover, body.ez:not(:has(.ez-withrail--swap.is-game)) .ez-where.is-open .ez-where__btn { border-color: var(--ez-rule); background: var(--ez-ground-2); color: var(--ez-text); }
  body.ez:not(:has(.ez-withrail--swap.is-game)) .ez-where__card { display: none; position: absolute; z-index: 26; left: calc(100% + 8px); top: 0; width: 230px; padding: 10px 12px 8px;
    background: var(--ez-ground); border: 2px solid var(--ez-text-2); box-shadow: 4px 4px 0 var(--ez-rule); }
  body.ez:not(:has(.ez-withrail--swap.is-game)) .ez-where:hover .ez-where__card, body.ez:not(:has(.ez-withrail--swap.is-game)) .ez-where:focus-within .ez-where__card,
  body.ez:not(:has(.ez-withrail--swap.is-game)) .ez-where.is-open .ez-where__card { display: grid; }
}
@media (min-width: 1200px) {
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-where__btn { display: grid; justify-items: center; gap: 4px; width: 100%; padding: 8px 0 6px; background: none; border: 1px solid transparent; color: var(--ez-text-2); cursor: pointer; }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-where__btn .ph { font-size: 22px; }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-where__btn .ez-n { font-size: 13px; color: var(--ez-text); }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-where__btn:hover, body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-where.is-open .ez-where__btn { border-color: var(--ez-rule); background: var(--ez-ground-2); color: var(--ez-text); }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-where__card { display: none; position: absolute; z-index: 26; left: calc(100% + 8px); top: 0; width: 230px; padding: 10px 12px 8px;
    background: var(--ez-ground); border: 2px solid var(--ez-text-2); box-shadow: 4px 4px 0 var(--ez-rule); }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-where:hover .ez-where__card, body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-where:focus-within .ez-where__card,
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-where.is-open .ez-where__card { display: grid; }
}

/* 20.3 The desks' grounds (owner, 2026-11-04: "the admin panel should have a different background color, and the
   owner panel should have a different background color"). The body class comes from the folder (lib/page.php
   page_desk()). Not a new palette: the ink tinted 8% toward a value colour the system already has, so the paper, the
   orange and every component stay as they are. The staff desk (admin/ and staff/, one desk: Desk, Queues and Find
   span both folders) leans to a warm brown-red (--ez-desk-staff; it leaned to the old cool count colour until the counts
   went orange, 2026-11-04); the owner's desk (owner/) leans to the money gold.
   Ratios (WCAG 2.x), ground / raised ground:
     staff desk #1f1413 / #281d19: bone text 14.3 / 13.1, secondary 8.8 / 8.0, orange 5.8 / 5.3, money 10.7 / 9.8,
       counts 11.1 / 10.1, good 10.5 / 9.6, warn 13.3 / 12.2, bad 7.9 / 7.2, turns 8.6 / 7.8.
     owner's desk #241f15 / #2d271b: bone text 13.0 / 11.8, secondary 8.0 / 7.3, orange 5.3 / 4.8, money 9.8 / 8.8,
       counts 8.0 / 7.2, good 9.6 / 8.7, warn 12.1 / 11.0, bad 7.2 / 6.5, turns 7.8 / 7.1.
     (the game's ink #121110 / #1c1a17 for comparison: 15.0 / 13.8, 9.3 / 8.5, 6.0 / 5.6.)
   Light theme, 6% toward the paper-side colour: staff #e6dac8 / #ddd0bc, ink 13.7 / 12.4, secondary 6.8 / 6.2, counts
   5.5 / 5.0; owner #e3dbc6 / #dad1ba, ink 13.7 / 12.4, secondary 6.8 / 6.2. Rules take the same tint so they stay visible. */
body.ez.ez--desk-staff, body.ez.ez--desk-admin {
  --ez-ground:   color-mix(in srgb, var(--ez-ink) 92%, var(--ez-desk-staff));
  --ez-ground-2: color-mix(in srgb, var(--ez-ink-2) 92%, var(--ez-desk-staff));
  --ez-sel:      color-mix(in srgb, #262119 92%, var(--ez-desk-staff));
  --ez-rule:     color-mix(in srgb, #3a362f 88%, var(--ez-desk-staff));
}
body.ez.ez--desk-owner {
  --ez-ground:   color-mix(in srgb, var(--ez-ink) 92%, var(--ez-v-money));
  --ez-ground-2: color-mix(in srgb, var(--ez-ink-2) 92%, var(--ez-v-money));
  --ez-sel:      color-mix(in srgb, #262119 92%, var(--ez-v-money));
  --ez-rule:     color-mix(in srgb, #3a362f 88%, var(--ez-v-money));
}
[data-theme="light"] body.ez.ez--desk-staff, [data-theme="light"] body.ez.ez--desk-admin {
  --ez-ground:   color-mix(in srgb, var(--ez-bone) 94%, var(--ez-desk-staff-p));
  --ez-ground-2: color-mix(in srgb, #e2dac6 94%, var(--ez-desk-staff-p));
  --ez-sel:      color-mix(in srgb, #ddd2b8 94%, var(--ez-desk-staff-p));
  --ez-rule:     color-mix(in srgb, #c4baa3 90%, var(--ez-desk-staff-p));
}
[data-theme="light"] body.ez.ez--desk-owner {
  --ez-ground:   color-mix(in srgb, var(--ez-bone) 94%, var(--ez-v-money-p));
  --ez-ground-2: color-mix(in srgb, #e2dac6 94%, var(--ez-v-money-p));
  --ez-sel:      color-mix(in srgb, #ddd2b8 94%, var(--ez-v-money-p));
  --ez-rule:     color-mix(in srgb, #c4baa3 90%, var(--ez-v-money-p));
}

/* 20.4 The crew card (side menu's moods card, the phone strip's card): one table at tooltip size, every crew on the
   same columns: the count (room for 40,112,908 without the card growing), fatigue (Thugs only; the others leave the
   cell empty so nothing shifts), happy, pay. Column heads in the micro label type, quiet; cells 13px; values coloured
   by family (counts light orange, fatigue warn or bad, mood by level, pay money gold). Fixed columns: the card is 316px wide
   whatever the figures say. */
body.ez .ez-side { z-index: 6; }   /* the sticky menu is its own layer: the open card sits over the page's cards, not under them */
body.ez .ez-moods__panel { min-width: 0; width: max-content; padding: 8px 10px 8px; }
.ez-moods:hover .ez-moods__panel, .ez-moods:focus-within .ez-moods__panel, .ez-moods.is-open .ez-moods__panel { display: block; }
.ez-moods__tbl { width: 316px; table-layout: fixed; border-collapse: collapse; }
.ez-moods__tbl th, .ez-moods__tbl td { padding: 4px 0; white-space: nowrap; vertical-align: baseline; overflow: hidden; text-overflow: ellipsis; }
.ez-moods__tbl thead th { padding: 0 0 5px; border-bottom: 1px solid var(--ez-rule); text-align: right; color: var(--ez-c-2);
  font: 600 var(--ez-fs-micro)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
.ez-moods__tbl thead th:first-child { text-align: left; }
.ez-moods__tbl thead th:nth-child(2) { width: 84px; }
.ez-moods__tbl thead th:nth-child(3) { width: 56px; }
.ez-moods__tbl thead th:nth-child(4) { width: 48px; }
.ez-moods__tbl thead th:nth-child(5) { width: 42px; }
.ez-moods__tbl tbody th { text-align: left; font: 400 13px/1.2 var(--ez-body); font-stretch: 85%; color: var(--ez-text); }
.ez-moods__tbl tbody th .ez-mk { width: 15px; height: 15px; margin-right: 7px; vertical-align: -2px; }
.ez-moods__tbl tbody th .ez-mk--none { height: 2px; vertical-align: 3px; }
.ez-moods__tbl td, .ez-moods__tbl thead th + th { padding-left: 10px; text-align: right; }
.ez-moods__tbl td .ez-n { font-size: 14px; }
.ez-moods__tbl tbody tr + tr > * { border-top: 1px solid var(--ez-rule); }
body.ez .ez-moods__cops { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 4px 0 0; padding-top: 6px;
  border-top: 1px solid var(--ez-rule); color: var(--ez-c-2); font-size: 13px; }
.ez-moods__cops .ez-n { font-size: 14px; color: var(--ez-text); }
@media (max-width: 767px) {
  .ez-railcard .ez-moods__tbl { width: 100%; margin-bottom: 4px; }
  .ez-railcard .ez-moods__tbl thead th:nth-child(2) { width: 88px; }
  body.ez .ez-railcard__note { color: var(--ez-c-2); font-size: var(--ez-fs-label); }
}

/* 20.5 The cartel sidebar swap (tpl/cartel_shell.php cx_open(), app.js 20): on a cartel page from 768 up, the sidebar
   is two menus side by side with a dotted rule at the seam and the flip arrow on it. Cartel first: the game menu folds
   to its 56px icon rail and the cartel menu stands full beside it. Flipped (.is-game): the game menu rolls out full and
   the cartel menu folds to its icons. The phone keeps the tab bar and the cartel strip as before. */
@media (min-width: 768px) {
  body.ez:has(.ez-withrail--swap) .ez-shell { gap: 24px; }
  body.ez--railanim:has(.ez-withrail--swap) .ez-shell, body.ez--railanim .ez-withrail--swap { transition: grid-template-columns .22s ease; }
  .ez-withrail--swap { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 24px; align-items: start; }
  .ez-withrail--swap .cx-rail { position: sticky; top: 12px; display: grid; gap: 2px; flex-wrap: nowrap; margin: 0; padding: 14px 8px 10px; overflow: visible; }
  .ez-withrail--swap .cx-rail::before { content: ""; position: absolute; left: -14px; top: -4px; height: calc(100vh - 110px); border-left: 2px dotted var(--ez-text-2); pointer-events: none; }
  .ez-withrail--swap .cx-rail hr { display: block; }
  body.ez .ez-withrail--swap .cx-rail__h { margin: 0 8px 8px; }
  body.ez .ez-withrail--swap .cx-rail a { padding: 9px 10px; font-size: 17px; border: 0; }
  .ez-withrail--swap .cx-rail a .ph { font-size: 20px; }
  /* The arrow on the seam: it points the way the game menu goes when pressed. */
  body.ez .ez-withrail--swap .cx-rail a.cx-swap { position: absolute; z-index: 2; left: -27px; top: 10px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
    background: var(--ez-ground); color: var(--ez-text); border: 2px solid var(--ez-text-2); }
  body.ez .ez-withrail--swap .cx-rail a.cx-swap:hover { background: var(--ez-text); color: var(--ez-ground); border-color: var(--ez-text); }
  .ez-withrail--swap .cx-swap .ph { font-size: 14px; color: inherit; transition: transform .22s ease; }
  .ez-withrail--swap.is-game .cx-swap .ph { transform: rotate(180deg); }

  /* Cartel first: the game menu as icons (the 768-1199 rail's rules, at every width). */
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-shell { grid-template-columns: 56px minmax(0, 1fr); }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-side a, body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-side .ez-navbtn { position: relative; justify-content: center; padding: 10px 0; }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-side .ph { display: block; }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-side .ez-nlabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-side .ez-badge { position: absolute; top: 3px; right: 3px; min-width: 18px; height: 17px; padding: 1px 4px 0; margin: 0; font-size: 12px; }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-side hr { margin: 6px 8px; }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-moods--nav .ez-moods__sum { justify-items: center; padding: 8px 0; }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-moods--nav .ez-moods__dots { flex-direction: column; gap: 5px; }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-moods--nav .ez-moods__fat { padding: 5px 0 0; margin: 0; border-left: 0; border-top: 1px solid var(--ez-rule); }
  body.ez:has(.ez-withrail--swap:not(.is-game)) .ez-moods--nav .ez-moods__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  /* Flipped: the cartel menu as icons. */
  .ez-withrail--swap.is-game { grid-template-columns: 56px minmax(0, 1fr); }
  .ez-withrail--swap.is-game .cx-rail { padding: 10px 4px; }
  body.ez .ez-withrail--swap.is-game .cx-rail a:not(.cx-swap) { justify-content: center; padding: 10px 0; }
  .ez-withrail--swap.is-game .cx-rail a:not(.cx-swap) > span, body.ez .ez-withrail--swap.is-game .cx-rail__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
}
/* Flipped at 768-1199: the game menu rolls out full there too (the 1200+ menu's rules). */
@media (min-width: 768px) and (max-width: 1199px) {
  body.ez:has(.ez-withrail--swap.is-game) .ez-shell { grid-template-columns: 184px minmax(0, 1fr); }
  body.ez:has(.ez-withrail--swap.is-game) .ez-side a, body.ez:has(.ez-withrail--swap.is-game) .ez-side .ez-navbtn { justify-content: flex-start; padding: 10px 12px; }
  body.ez:has(.ez-withrail--swap.is-game) .ez-side .ph { display: none; }
  body.ez:has(.ez-withrail--swap.is-game) .ez-side .ez-nlabel { position: static; width: auto; height: auto; clip: auto; }
  body.ez:has(.ez-withrail--swap.is-game) .ez-side .ez-badge { position: static; margin-left: auto; min-width: 22px; height: 20px; padding: 1px 6px 0; font-size: 14px; }
  body.ez:has(.ez-withrail--swap.is-game) .ez-side hr { margin: 8px 12px; }
  body.ez:has(.ez-withrail--swap.is-game) .ez-moods--nav .ez-moods__sum { justify-items: start; padding: 8px 12px; }
  body.ez:has(.ez-withrail--swap.is-game) .ez-moods--nav .ez-moods__dots { flex-direction: row; gap: 6px; }
  body.ez:has(.ez-withrail--swap.is-game) .ez-moods--nav .ez-moods__fat { padding: 0 0 0 6px; margin-left: 1px; border-top: 0; border-left: 1px solid var(--ez-rule); }
  body.ez:has(.ez-withrail--swap.is-game) .ez-moods--nav .ez-moods__lbl { position: static; width: auto; height: auto; clip: auto; }
}
@media (max-width: 767px) { .cx-swap { display: none !important; } }
@media (prefers-reduced-motion: reduce) { body.ez--railanim .ez-shell, body.ez--railanim .ez-withrail--swap, .cx-swap .ph { transition: none !important; } }
/* END 20 FRAME PASS */

/* 22. FORUM ------------------------------------------------------------------------------------------------------
   forum.php (owner, 2026-11-04: "We couldn't just make a forum with sections?", then "The most poorly designed forums
   I've ever seen"): the shape every forum reader knows, in the game's skin. A breadcrumb on every page; the board index
   and each section's list are tracklist tables (the name left, quiet figure columns, the last post in the last
   column) that stack to two lines on a phone; a thread is a column of post cards on raised ground, the poster's strip
   on the left; the reply and the new thread are one card each with the one orange. Marks in rows: Pinned (filled),
   Closed and Private (dashed); nothing else. Prefix fo-; the votes, tags and ticket states are 19 COMMUNITY's (co-). */

/* 22.1 The crumbs; the Ideas score beside its votes; news keeps the owner's paragraphs and lists. */
.fo-score { font-size: 26px; line-height: 1; min-width: 2ch; }
.fo-news p + p, .fo-news p + ul, .fo-news ul + p { margin-top: 12px; }
.fo-news ul { margin: 8px 0 0; padding-left: 22px; }
.fo-news li + li { margin-top: 4px; }
.fo-crumbs { margin: 0 0 14px; font: 600 var(--ez-fs-small)/1.3 var(--ez-body); }
.fo-crumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; margin: 0; padding: 0; list-style: none; min-width: 0; }
.fo-crumbs li { display: inline-flex; min-width: 0; max-width: 100%; color: var(--ez-text-2); }
.fo-crumbs li + li::before { content: "\203A"; flex: none; padding: 0 .6em; color: var(--ez-text-2); }
body.ez .fo-crumbs a { color: var(--ez-text); text-decoration-color: var(--ez-rule); text-decoration-thickness: 1px; }
body.ez .fo-crumbs a:hover { text-decoration-color: currentColor; }
.fo-crumbs [aria-current] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

/* 22.2 The tables: the board index, a section's threads, the ideas, the tickets. Fixed columns, one rule a row. */
.fo-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.fo-table thead th { padding: 0 14px 8px 0; border-bottom: 2px solid var(--ez-text-2); text-align: left; white-space: nowrap; color: var(--ez-c-2);
  font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
.fo-table tbody > tr > * { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--ez-rule); text-align: left; vertical-align: middle; font-weight: inherit; }
.fo-table thead th:first-child, .fo-table tbody > tr > :first-child { padding-left: 10px; }
.fo-table thead th:last-child, .fo-table tbody > tr > :last-child { padding-right: 10px; }
.fo-table tbody > tr:hover > * { background: var(--ez-sel); }
.fo-table .fo-c-n { width: 92px; text-align: right; }
.fo-table .fo-c-n .ez-n { font-size: 22px; }
.fo-table .fo-c-last { width: 264px; }
.fo-table tbody > tr > .fo-c-last, .fo-table thead .fo-c-last { padding-left: 24px; }
.fo-table .fo-c-act { width: 136px; text-align: right; }
.fo-table .fo-c-score { width: 70px; text-align: right; }
.fo-table .fo-c-score .ez-n { font-size: 26px; }
.fo-table .fo-c-vote { width: 138px; }
.fo-c-vote .co-votes { flex-wrap: nowrap; }
.fo-ideas .fo-c-last { width: 220px; }
.fo-ideas .fo-c-n { width: 100px; }
.fo-threads--news .fo-c-last { width: 184px; }
.fo-c-note { color: var(--ez-text-2); font-size: var(--ez-fs-small); }
/* Pinned rows sit on the raised ground, above a heavier rule; a closed thread's title goes quiet. */
.fo-sec--pinned > *, .fo-row.is-pinned > * { background: var(--ez-ground-2); }
.fo-row.is-pinned + .fo-row:not(.is-pinned) > * { border-top: 2px solid var(--ez-text-2); }
body.ez .fo-row.is-closed a.fo-row__title { color: var(--ez-text-2); }

/* The index row: the section's name and line, its counts, its last post, its New thread. */
.fo-sec__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
body.ez a.fo-sec__name { color: var(--ez-text); text-decoration: none; font: 800 22px/1.05 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
body.ez a.fo-sec__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.fo-index .fo-sec__line { display: block; margin-top: 4px; color: var(--ez-text-2); font: 400 var(--ez-fs-small)/1.4 var(--ez-body); }
.fo-sec__note { display: block; margin-top: 6px; font-size: var(--ez-fs-small); }
.fo-sec__note .ez-n, .fo-sec__counts .ez-n { font-size: 16px; }
.fo-index .fo-sec--locked a.fo-sec__name { color: var(--ez-text-2); }
body.ez a.fo-last__title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ez-text); text-decoration: none; font: 700 15px/1.3 var(--ez-body); }
body.ez a.fo-last__title:hover { text-decoration: underline; }
.fo-last__line { display: flex; align-items: baseline; gap: 0 .35em; min-width: 0; margin-top: 3px; white-space: nowrap; color: var(--ez-text-2); font-size: 13px; }
.fo-last__line .ez-who, .fo-last__by .ez-who { min-width: 0; max-width: 15ch; }
.fo-last__by { display: block; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; }
body.ez a.fo-last__when { display: block; margin-top: 2px; color: var(--ez-text-2); text-decoration: none; font-size: 13px; white-space: nowrap; }
body.ez a.fo-last__when:hover { color: var(--ez-text); text-decoration: underline; }
.fo-staff { font: 800 14px/1.2 var(--ez-body); font-stretch: 75%; color: var(--ez-text); white-space: nowrap; }
.fo-old { color: var(--ez-text-2); font-style: italic; white-space: nowrap; }

/* A thread row: the marks and the title on one line, who started it and when under it. */
.fo-row__head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fo-row__head .ez-tag { flex: none; padding: 2px 6px 1px; font-size: var(--ez-fs-micro); }
body.ez a.fo-row__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ez-text); text-decoration: none; font: 700 16px/1.3 var(--ez-body); }
body.ez a.fo-row__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.fo-row__by { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; min-width: 0; margin-top: 4px; color: var(--ez-text-2); font-size: 13px; }
.fo-row__by .ez-who { min-width: 0; max-width: 16ch; color: var(--ez-text); }
.fo-row__by .ez-n { font-size: 15px; }
.fo-mark { flex: none; padding: 2px 6px 1px; font-size: var(--ez-fs-micro); }
.fo-mark--pin { background: var(--ez-text); border-color: var(--ez-text); color: var(--ez-ground); }
.fo-mark--closed, .fo-mark--private { border-style: dashed; color: var(--ez-text-2); }
.fo-ph { display: none; }

/* 22.3 Over a list: New thread (the one orange), the count, the search at the right; the page bar. */
.fo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 16px; }
.fo-bar__count { margin: 0 !important; color: var(--ez-text-2); font-size: var(--ez-fs-small); white-space: nowrap; }
.fo-bar__count .ez-n { font-size: 20px; }
.fo-search { display: flex; gap: 8px; width: min(100%, 340px); margin-left: auto; }
.fo-search .ez-input { min-height: 40px; }
.fo-found { margin: -6px 0 12px !important; font-size: var(--ez-fs-small); }
.fo-tabs { margin-bottom: 14px; }
/* The page bar's look lives in 32. PAGE BAR (shared by every paged list); only the forum's own spacing stays here. */
:is(.fo-table, .fo-posts, .ez-empty) + .fo-pager { margin: 14px 0 0; }

/* 22.4 Under the index: the latest activity and who's online, side by side. */
.fo-under { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 36px; margin-top: 36px; }
body.ez .fo-under__h { margin: 0 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--ez-text-2); font: 800 var(--ez-fs-h3)/1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
body.ez .fo-under__h.fo-sub { margin-top: 32px; }
.fo-acts { margin: 0; padding: 0; list-style: none; }
.fo-acts > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 9px 0; border-bottom: 1px solid var(--ez-rule); }
body.ez a.fo-acts__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ez-text); text-decoration: none; font: 700 15px/1.3 var(--ez-body); }
body.ez a.fo-acts__title:hover { text-decoration: underline; }
.fo-acts__sec { grid-column: 2; grid-row: 1; align-self: center; color: var(--ez-text-2); white-space: nowrap;
  font: 600 12px/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
.fo-acts__by { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 0 .35em; min-width: 0; color: var(--ez-text-2); font-size: 13px; white-space: nowrap; }
.fo-acts__by .ez-who { min-width: 0; max-width: 18ch; color: var(--ez-text); }
.fo-online__n { margin: 10px 0 8px !important; color: var(--ez-text-2); font-size: var(--ez-fs-small); }
.fo-online__n .ez-n { margin-right: 4px; font-size: 26px; }
.fo-online__names { margin: 0 !important; font-size: 14px; line-height: 1.8; }
.fo-online__names .ez-who { max-width: 18ch; }
.fo-online__sep { color: var(--ez-text-2); }

/* 22.5 One thread: the head (section tag, title, who started it), then the posts as cards, the poster's strip left. */
.fo-head { max-width: 900px; margin: 0 0 18px; }
.fo-head__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px !important; }
body.ez a.fo-sectag { text-decoration: none; }
body.ez a.fo-sectag:hover { background: var(--ez-text); color: var(--ez-ground); }
body.ez .fo-head__title { margin: 0 0 8px; font: 900 clamp(24px, 3.4vw, 34px)/1.02 var(--ez-numbers); letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; }
.fo-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px .4em; margin: 0 !important; font-size: var(--ez-fs-small); }
.fo-head__meta .ez-who { max-width: 20ch; }
.fo-head__jump { margin-left: auto; }
.fo-posts { display: grid; gap: 12px; max-width: 900px; margin: 0; padding: 0; list-style: none; }
.fo-post { display: grid; grid-template-columns: 172px minmax(0, 1fr); background: var(--ez-ground-2); border: 1px solid var(--ez-rule); }
.fo-post--opener { border-color: var(--ez-text-2); }
.fo-post--staff { border-color: var(--ez-c-good); }
.fo-post--staff .co-line__who { color: var(--ez-c-good); }
.fo-post__by { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px; border-right: 1px solid var(--ez-rule); color: var(--ez-text-2); font-size: 13px; }
.fo-post__by > .ez-who, .fo-post__by > .co-line__who, .fo-post__by > .fo-staff, .fo-post__by > .fo-old { max-width: 100%; color: var(--ez-text); font-size: 16px; }
.fo-post__rank { color: var(--ez-text-2); font: 600 12px/1.3 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.fo-post__rank.is-staff { color: var(--ez-c-good); }
.fo-post__city, .fo-post__when { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fo-post__opener { align-self: flex-start; margin-top: 6px; padding: 2px 6px 1px; border: 1px solid var(--ez-text-2); color: var(--ez-text);
  font: 600 11px/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.fo-post__main { display: flex; flex-direction: column; min-width: 0; padding: 14px 18px 12px; }
.fo-post__body { flex: 1; font-size: 16px; line-height: 1.6; }
.fo-post__body p:last-child { margin-bottom: 0; }
.fo-post__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--ez-rule); }
body.ez a.fo-post__quote { margin-left: auto; padding: 10px 4px; color: var(--ez-text-2); text-decoration: none;
  font: 700 13px/1 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
body.ez a.fo-post__quote:hover { color: var(--ez-text); text-decoration: underline; }
.fo-post--gone { display: block; padding: 10px 14px; background: none; border-style: dashed; }
.fo-post__gone { margin: 0 !important; color: var(--ez-text-2); font-size: var(--ez-fs-small); font-style: italic; }
.fo-quote { margin: 0 0 .8em; padding: 8px 12px; border-left: 3px solid var(--ez-text-2); background: var(--ez-ground); color: var(--ez-text-2); font-size: 15px; }
.fo-quote p:last-child { margin-bottom: 0; }
.fo-quote__by { margin: 0 0 4px !important; color: var(--ez-text); font: 700 12px/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }

/* 22.6 The reply card at the foot of a thread, and the new-thread page's card: the box and the one orange. */
.fo-card { max-width: 900px; margin-top: 20px; padding: 18px 20px 20px; background: var(--ez-ground-2); border: 1px solid var(--ez-text-2); }
.fo-card .ez-form { max-width: none; }
body.ez .fo-card__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .45em; min-width: 0; margin: 0 0 14px; font: 800 var(--ez-fs-h2)/1.05 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.fo-card__in { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ez-text-2); font: 500 var(--ez-fs-small)/1.3 var(--ez-body); letter-spacing: 0; text-transform: none; }
.fo-write { max-width: 760px; margin-top: 0; }
.fo-reply__box { min-height: 170px; }
.fo-write__body { min-height: 240px; }
.fo-card .fo-private { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px !important; padding: 0; border: 0; color: var(--ez-text-2); font-size: var(--ez-fs-small); }
.fo-reply__close { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--ez-rule); }
.fo-cancel { font-size: var(--ez-fs-small); }
.fo-shut { max-width: 900px; margin: 20px 0 0 !important; padding: 14px 16px; border: 1px dashed var(--ez-text-2); color: var(--ez-text-2); }
.fo-shut--bad { border-color: var(--ez-c-bad); color: var(--ez-text); }

/* 22.7 Phone: a row is two lines (the title line, then the last post), the figure columns fold into the first line,
   the page bar stays; a post's strip becomes one line over its body. */
@media (max-width: 767px) {
  .fo-ph { display: inline; }
  .fo-index .fo-sec__counts { display: block; margin-top: 6px; font-size: 13px; color: var(--ez-text-2); }
  .fo-table, .fo-table tbody { display: block; }
  .fo-table thead { display: none; }
  .fo-table tbody > tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 10px; border-bottom: 1px solid var(--ez-rule); }
  .fo-table tbody > tr:first-child { border-top: 2px solid var(--ez-text-2); }
  .fo-table tbody > tr > * { display: block; }
  .fo-table tbody > tr > *, .fo-table tbody > tr > :first-child, .fo-table tbody > tr > :last-child { width: auto; padding: 0; border: 0 !important; background: none !important; text-align: left; }
  .fo-table tbody > tr:hover { background: var(--ez-sel); }
  .fo-sec--pinned, .fo-row.is-pinned { background: var(--ez-ground-2); }
  .fo-row.is-pinned + .fo-row:not(.is-pinned) { border-top: 2px solid var(--ez-text-2); }
  .fo-table tbody > tr > .fo-c-n { display: none; }
  .fo-table .fo-c-main, .fo-table .fo-c-note { grid-column: 1 / -1; }
  .fo-table tbody > tr > .fo-c-last { grid-column: 1 / -1; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .45em; min-width: 0; font-size: 13px; }
  .fo-table .fo-c-last::before { content: attr(data-label); flex: none; color: var(--ez-c-2); font: 600 11px/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
  .fo-table .fo-c-last > * { margin: 0; }
  body.ez .fo-c-last a.fo-last__when { display: inline; margin: 0; }
  body.ez .fo-c-last .fo-last__by + a.fo-last__when::before { content: "\00b7\00a0"; color: var(--ez-c-2); }
  /* The index keeps its last post as two lines: the thread's title, then who and when. */
  .fo-index tbody > tr > .fo-c-last { display: block; }
  .fo-index .fo-c-last::before { display: block; margin-bottom: 2px; }
  body.ez .fo-c-last a.fo-last__title { min-width: 0; max-width: 100%; flex: 0 1 auto; font-size: 14px; }
  .fo-last__by { display: inline; font-size: 13px; }
  .fo-index .fo-c-main { grid-column: 1; }
  .fo-index .fo-c-act { grid-column: 2; grid-row: 1; align-self: start; }
  .fo-index .fo-c-act .ez-btn { min-height: 36px; padding: 0 10px; font-size: 15px; }
  .fo-ideas tbody > tr { grid-template-columns: auto minmax(0, 1fr); }
  .fo-ideas .fo-c-main { grid-row: 1; }
  .fo-ideas .fo-c-score { grid-column: 1; grid-row: 2; align-self: center; }
  .fo-ideas .fo-c-vote { grid-column: 2; grid-row: 2; align-self: center; }
  .fo-ideas .fo-c-last { grid-row: 3; }
  .fo-ideas .fo-c-score .ez-n { font-size: 22px; }
  .fo-search { width: 100%; margin-left: 0; }
  .fo-under { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .fo-head__jump { margin-left: 0; }
  .fo-post { grid-template-columns: minmax(0, 1fr); }
  .fo-post__by { flex-flow: row wrap; align-items: baseline; gap: 2px 10px; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--ez-rule); }
  .fo-post__opener { margin-top: 0; }
  .fo-post__main { padding: 12px 14px; }
  .fo-card { padding: 16px 14px 18px; }
}
/* END 22 FORUM */

/* 23. INTEL ------------------------------------------------------------------------------------------------------
   intel.php (Spy on a rival), spy.php (his file), guard.php (your file): copied point for point from mmpires
   public/css/intel.css (prefix ni-). One picture on every Intel screen: the nine secrets as cards, the easy ones in a
   row, the deeper ones in the next. Your file: the number is what a spy has to beat, the wall is your guard. His file:
   each card shows what you know, a clock, a lock, or the guard you can see; the send bar is pinned below. Bars take
   their share from --fill (0 to 1), the one style the pages set. One screen at 1200 x 900; phone: cards two across,
   the send bar pinned above the tab bar. */

/* 23.1 The frame pieces: the tabs, the row heads, the network bar. */
.ni { min-width: 0; }
.ni-tabs { margin-bottom: 14px; }
.ni .ni-rowhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 10px 0 20px;
  font: 800 15px/1.1 var(--ez-numbers); letter-spacing: .08em; text-transform: uppercase; color: var(--ez-bone); }
.ni-rowhead span { font: 400 var(--ez-fs-label)/1.2 var(--ez-body); letter-spacing: 0; text-transform: none; color: var(--ez-bone-2); }
.ni-net { display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; align-items: center; gap: 8px 18px; margin: 0 0 18px; padding: 12px 16px; background: var(--ez-ink-2); }
.ni-net__total { margin: 0; white-space: nowrap; color: var(--ez-bone-2); font-size: var(--ez-fs-small); }
.ni-net__total b { margin-right: 4px; font: 800 24px/1 var(--ez-numbers); color: var(--ez-v-count); }
.ni-net__bar { display: flex; height: 12px; background: var(--ez-v-count); overflow: hidden; }
.ni-net__seg { display: block; height: 100%; width: calc(var(--fill, 0) * 100%); }
.ni-net__seg--watch { background: var(--ez-bone-2); }
.ni-net__seg--out { background: repeating-linear-gradient(-45deg, var(--ez-v-turns) 0 5px, #c96a2f 5px 10px); }
.ni-net__key { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; font-size: var(--ez-fs-small); color: var(--ez-bone-2); white-space: nowrap; }
.ni-net__key li::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.ni-net__key b { font: 800 17px/1 var(--ez-numbers); color: var(--ez-bone); }
.ni-k--watch::before { background: var(--ez-bone-2); }
.ni-k--out::before { background: repeating-linear-gradient(-45deg, var(--ez-v-turns) 0 3px, #c96a2f 3px 6px); }   /* striped like its bar segment: free is solid light orange now */
.ni-k--free::before { background: var(--ez-v-count); }

/* 23.2 The cards: each tier is one row that fills the width (five easy secrets, four deeper ones). */
.ni-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.ni-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 172px; margin: 0;
  padding: 14px 14px 12px; background: var(--ez-ink-2); border: 2px solid transparent; color: var(--ez-bone); }
body.ez a.ni-card { color: var(--ez-bone); text-decoration: none; }
.ni-card__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ni-ico { flex: none; width: 22px; height: 22px; color: var(--ez-bone-2); }
.ni-card__name { margin: 0; min-width: 0; font: 800 14px/1.1 var(--ez-numbers); letter-spacing: .02em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ni-stamp { position: absolute; top: -10px; right: 8px; background: var(--ez-ink); padding: 2px 6px; border: 2px solid var(--ez-v-money); color: var(--ez-v-money);
  font: 800 var(--ez-fs-micro)/1.2 var(--ez-numbers); letter-spacing: .08em; text-transform: uppercase; transform: rotate(3deg); white-space: nowrap; }
.ni-card__big { display: flex; flex-direction: column; gap: 4px; margin: auto 0 0; min-width: 0; }
.ni-card__big .ez-n { font: 800 46px/.95 var(--ez-numbers); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ni-card__big small { font-size: var(--ez-fs-label); color: var(--ez-bone-2); }
.ni-card__big--answer .ez-n { font-size: 34px; color: var(--ez-v-money); }
.ni-card__big--muted { font: 800 30px/1 var(--ez-numbers); color: var(--ez-bone-2); }
.ni-card__big--bad { font: 800 30px/1 var(--ez-numbers); color: var(--ez-v-bad); }
.ni-card__foot { display: flex; align-items: center; gap: 6px; margin: 0; min-height: 24px; font-size: var(--ez-fs-label); color: var(--ez-bone-2); }
.ni-card__what { display: block; margin: -4px 0 0; color: var(--ez-bone-2); font-size: var(--ez-fs-label); line-height: 1.3; }
.ni-card__need { display: block; margin: 0; font-size: var(--ez-fs-label); color: var(--ez-bone-2); }
.ni-card__need b { font: 800 20px/1 var(--ez-numbers); color: var(--ez-bone); }
.ni-wall { display: flex; height: 22px; margin-top: auto; background: #2a2620; }
.ni-wall__fog, .ni-wall__mine { display: block; height: 100%; width: calc(var(--fill, 0) * 100%); }
.ni-wall__fog { background: #6d675c; }
.ni-wall__mine { background: var(--ez-v-count); }
.ni-wall__hidden { flex: 1; display: block; height: 100%; background: repeating-linear-gradient(135deg, #3d382f 0 6px, transparent 6px 12px); }
.ni-meter { display: block; height: 5px; background: #2f2a22; }
.ni-meter span { display: block; height: 100%; width: calc(var(--fill, 0) * 100%); }
.ni-meter--out span { background: var(--ez-v-turns); }
.ni-meter--fresh span { background: var(--ez-v-good); }
.ni-facts { display: grid; gap: 3px; margin: auto 0 0; }
.ni-facts div { display: flex; justify-content: space-between; gap: 10px; min-width: 0; }
.ni-facts dt { color: var(--ez-bone-2); font-size: var(--ez-fs-label); white-space: nowrap; }
.ni-facts dd { margin: 0; font: 700 16px/1.25 var(--ez-numbers); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 23.3 His file: the card states, the mark, the send bar. */
a.ni-card--spy { cursor: pointer; }
@media (hover: hover) { a.ni-card--spy:not([aria-pressed="true"]):hover { border-color: var(--ez-bone-2); } }
a.ni-card--spy:focus-visible { outline: 3px solid var(--ez-bone); outline-offset: 2px; }
.ni-card--spy[aria-pressed="true"] { background: var(--ez-sel); border-color: var(--ez-hot); }
.ni-card--spy.is-locked { background: repeating-linear-gradient(135deg, transparent 0 9px, #1a1815 9px 18px); border: 2px dashed var(--ez-rule); }
.ni-card--spy.is-locked .ni-card__name { color: var(--ez-bone-2); }
.ni-card--spy.is-out .ni-card__big .ez-n { color: var(--ez-v-turns); }
.ni-card--spy.is-known { border-color: #3b4a33; }
.ni-card--spy.is-caught { border-color: #5a2a26; }
.ni-card--spy.is-unknown { gap: 8px; }
.ni-card--spy.is-known .ni-stamp, .ni-card--spy.is-out .ni-stamp { display: none; }
.ni-mark { display: flex; align-items: center; gap: 16px; min-width: 0; margin: 4px 0 8px; }
body.ez a.ni-mark__back { flex: none; display: grid; place-items: center; width: 40px; height: 40px; background: var(--ez-ink-2); color: var(--ez-bone);
  font-size: 22px; text-decoration: none; }
body.ez a.ni-mark__back:hover { background: var(--ez-sel); }
.ni-mark__who { min-width: 0; }
.ni-mark__name { margin: 0; font: 800 30px/1.05 var(--ez-numbers); letter-spacing: .02em; }
body.ez .ni-mark__name a { color: var(--ez-bone); text-decoration: none; }
body.ez .ni-mark__name a:hover { text-decoration: underline; }
.ni-mark__sub { margin: 2px 0 0; color: var(--ez-bone-2); font-size: var(--ez-fs-small); }
.ni-mark__known { margin: 0 0 0 auto; color: var(--ez-bone-2); font-size: var(--ez-fs-small); white-space: nowrap; }
.ni-mark__known b { font: 800 30px/1 var(--ez-numbers); color: var(--ez-v-good); }
.ni-dock { position: sticky; bottom: 0; z-index: 6; margin-top: 16px; padding: 12px 16px; background: var(--ez-ink-2); border-top: 3px solid var(--ez-hot);
  box-shadow: 0 -12px 24px rgba(0, 0, 0, .45); }
.ni-dock { --ez-bone: #121110; --ez-bone-2: #4b463d; --ez-hot-text: #923400; --ez-v-good: var(--ez-v-good-p); --ez-v-warn: var(--ez-v-warn-p); --ez-v-bad: var(--ez-v-bad-p);
  --ez-v-count: var(--ez-v-count-p); --ez-v-turns: var(--ez-v-turns-p); --ez-rule: #c4baa3; background: var(--ez-paper-hi); color: #121110; box-shadow: 0 -8px 20px rgba(0, 0, 0, .22); }
.ni-dock .ni-slide::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--ez-v-count) 0 var(--p), #d6ccb4 var(--p) 100%); }
.ni-dock .ni-slide::-moz-range-track { background: linear-gradient(to right, var(--ez-v-count) 0 var(--p), #d6ccb4 var(--p) 100%); }
.ni-dock .ni-slide:focus-visible { outline-color: #121110; }
.ni-dock.is-blind .ni-dock__odds, .ni-dock.is-blind .ni-dock__time { display: none; }
.ni-dock .ez-notice { margin: 0 0 10px; }
.ni-dock__hint { margin: 0; color: var(--ez-bone-2); }
.ni-dock__body { display: grid; grid-template-columns: minmax(150px, auto) minmax(200px, 1fr) auto auto auto; align-items: center; gap: 8px 22px; margin: 0; }
.ni-dock__body[hidden], .ni-dock__hint[hidden] { display: none; }
.ni-dock__what { display: flex; align-items: center; gap: 8px; min-width: 0; font: 800 18px/1.1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.ni-dock__what .ni-ico { color: var(--ez-hot); }
.ni-dock__qty { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; }
.ni-dock__qty .ni-slide { flex: 1; min-width: 80px; }
.ni-dock__odds, .ni-dock__time { display: grid; margin: 0; text-align: center; white-space: nowrap; }
.ni-dock__odds b, .ni-dock__time b { font: 800 32px/1 var(--ez-numbers); }
.ni-dock__odds span, .ni-dock__time span { font-size: var(--ez-fs-micro); color: var(--ez-bone-2); text-transform: uppercase; letter-spacing: .06em; }
.ni-dock__note { grid-column: 1 / -1; margin: 0; color: var(--ez-bone-2); font-size: var(--ez-fs-label); }
.ni-dock__note:empty { display: none; }
.ni-amt { width: 8ch; min-width: 0; padding: 2px 0; background: transparent; border: 0; border-bottom: 2px solid var(--ez-rule); color: var(--ez-bone);
  font: 800 18px/1.1 var(--ez-numbers); }
.ni-amt:focus { outline: none; border-bottom-color: var(--ez-hot); }
.ni-slide { --p: 0%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; }
.ni-slide[hidden] { display: none; }
.ni-slide::-webkit-slider-runnable-track { height: 10px; background: linear-gradient(to right, var(--ez-v-count) 0 var(--p), #2f2a22 var(--p) 100%); }
.ni-slide::-moz-range-track { height: 10px; background: linear-gradient(to right, var(--ez-v-count) 0 var(--p), #2f2a22 var(--p) 100%); }
.ni-slide::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 24px; margin-top: -7px; background: var(--ez-bone); border: 0; }
.ni-slide::-moz-range-thumb { width: 14px; height: 24px; background: var(--ez-bone); border: 0; border-radius: 0; }
.ni-slide:focus-visible { outline: 3px solid var(--ez-bone); outline-offset: 2px; }

/* 23.4 Spy on a rival: the list and the runs out. */
.ni-spyhome { display: grid; gap: 8px 32px; align-items: start; }
.ni-find { margin: 0 0 6px; }
.ni-find .ez-pick { margin: 0; }
.ni-list { display: grid; gap: 4px; margin: 0 0 18px; padding: 0; list-style: none; }
.ni-target { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 10px 14px;
  background: var(--ez-ink-2); border: 2px solid transparent; color: var(--ez-bone); }
body.ez a.ni-target { color: var(--ez-bone); text-decoration: none; }
body.ez a.ni-target:hover { border-color: var(--ez-bone-2); }
a.ni-target:focus-visible { outline: 3px solid var(--ez-bone); outline-offset: 2px; }
.ni-target__who { display: grid; gap: 2px; min-width: 0; font-weight: 700; }
.ni-target__sub { font-weight: 400; font-size: var(--ez-fs-label); color: var(--ez-bone-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ni-target__go { font: 800 13px/1 var(--ez-numbers); letter-spacing: .08em; text-transform: uppercase; color: var(--ez-hot); white-space: nowrap; }
.ni-target.is-out-of-range { opacity: .6; }
.ni-target.is-out-of-range .ni-target__go { color: var(--ez-bone-2); }
.ni-pips { display: inline-flex; align-items: center; gap: 3px; }
.ni-pip { display: block; width: 11px; height: 11px; border: 2px solid #4a453c; }
.ni-pip.is-known { background: var(--ez-v-good); border-color: var(--ez-v-good); }
.ni-pip.is-out { background: var(--ez-v-turns); border-color: var(--ez-v-turns); animation: ni-pulse 1.6s ease-in-out infinite; }
.ni-pips__gap { display: block; width: 5px; }
@keyframes ni-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ni-pip.is-out { animation: none; } }
.ni-side { display: grid; gap: 10px; align-content: start; }
.ni .ni-side .ni-rowhead { margin-top: 8px; margin-bottom: 0; }
.ni-ops { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ni-op { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--ez-ink-2); color: var(--ez-bone); border: 2px solid transparent; }
body.ez a.ni-op { color: var(--ez-bone); text-decoration: none; }
body.ez a.ni-op:hover { border-color: var(--ez-bone-2); }
.ni-op .ni-ico { color: var(--ez-v-turns); }
.ni-op__what { display: grid; min-width: 0; }
.ni-op__what b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ni-op__what span { font-size: var(--ez-fs-label); color: var(--ez-bone-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ni-op__clock { font: 800 24px/1 var(--ez-numbers); color: var(--ez-v-turns); white-space: nowrap; }
.ni-clear { margin: 6px 0 0; font-size: var(--ez-fs-small); color: var(--ez-bone-2); }
.ni-clear b { font: 800 20px/1 var(--ez-numbers); color: var(--ez-bone); }
.ni-clear span { display: block; margin-top: 2px; font-size: var(--ez-fs-label); }

/* 23.5 Your file as a board: the hand, the walls, - and +. */
.ni-pool { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 0 0 8px; padding: 14px 16px; background: var(--ez-ink-2); }
.ni-pool__hand { display: flex; align-items: baseline; gap: 10px; margin: 0; white-space: nowrap; }
.ni-pool__hand b { font: 800 44px/1 var(--ez-numbers); color: var(--ez-v-count); }
.ni-pool__hand span { font-weight: 700; }
.ni-pool__else { margin: 0; color: var(--ez-bone-2); font-size: var(--ez-fs-small); white-space: nowrap; }
.ni-pool__else b { font: 800 18px/1 var(--ez-numbers); color: var(--ez-bone); }
.ni-card--guard { gap: 8px; min-height: 0; }
.ni-card--guard.is-thin { border: 2px dashed var(--ez-rule); background: transparent; }
.ni-step { position: relative; display: flex; align-items: center; gap: 6px; }
.ni-step__btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; background: var(--ez-sel); border: 2px solid var(--ez-bone-2);
  color: var(--ez-bone); font: 800 24px/1 var(--ez-numbers); cursor: pointer; }
.ni-step__btn:hover:not(:disabled) { border-color: var(--ez-hot); color: var(--ez-hot); }
.ni-step__btn:focus-visible { outline: 3px solid var(--ez-bone); outline-offset: 2px; }
.ni-step__btn:disabled { opacity: .35; cursor: not-allowed; }
.ni-step .ni-amt { width: 7ch; text-align: center; font-size: 22px; color: var(--ez-v-count); }
.ni-card--guard.is-thin .ni-step .ni-amt { color: var(--ez-bone-2); }
.ni-saved { margin-left: auto; color: var(--ez-v-good); font-weight: 700; font-size: var(--ez-fs-label); }
.ni-saved.is-bad { color: var(--ez-v-bad); }

/* 23.6 Narrower: under 900 the cards go two across and the list loses its side column; under 768 the send bar sits
   above the phone's tab bar and hides until a card is picked. */
@media (min-width: 900px) { .ni-spyhome { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (max-width: 899px) {
  .ni-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ni-dock__body { grid-template-columns: 1fr 1fr; }
  .ni-dock__what, .ni-dock__qty, .ni-dock [data-ni-send] { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .ni-net { grid-template-columns: auto minmax(0, 1fr); }
  .ni-net__key { grid-column: 1 / -1; }
  .ni-dock { bottom: calc(var(--ez-tabs-h) + env(safe-area-inset-bottom)); margin-left: -16px; margin-right: -16px; padding: 8px 16px; }
  .ni-dock.is-idle { display: none; }
  .ni-dock__body { grid-template-columns: auto auto 1fr; gap: 6px 14px; }
  .ni-dock__odds b, .ni-dock__time b { font-size: 24px; }
  .ni-dock [data-ni-send] { grid-column: auto; min-height: 44px; padding: 0 12px; }
  .ni-dock__note { display: none; }
  .ni-mark__name { font-size: 24px; }
  .ni-mark__known b { font-size: 24px; }
  .ni-card { min-height: 150px; padding: 12px 10px 10px; }
  .ni-card--guard { min-height: 0; }
  .ni-stamp { top: -9px; right: 6px; }
  .ni .ni-rowhead { margin-bottom: 22px; }
  .ni-card__big .ez-n { font-size: 38px; }
  .ni-card__big--answer .ez-n { font-size: 26px; }
  .ni-target { grid-template-columns: minmax(0, 1fr) auto; }
  .ni-target__go { display: none; }
  .ni-pool__hand b { font-size: 36px; }
}
/* END 23 INTEL */

/* 24. GUIDE ------------------------------------------------------------------------------------------------------
   guide.php: one long page in three groups. Each section is the mmpires Direction B guide's anatomy (public/css/
   empyrez.css .gd: the heading with its stamp, the story, the numbers that matter and the mistake on ink-2); the
   contents list stands at the left from 1100 and stays put while you read; under that the groups are boxed tabs.
   The quiet "Read up" link a game page carries under its footnotes (lib/page.php page_guide_link()) lives here too. */
.gd-page { display: grid; gap: 28px; align-items: start; }
.gd-main { min-width: 0; container-type: inline-size; }
.gd-toc { display: none; }
@media (min-width: 1100px) {
  .gd-page { grid-template-columns: 196px minmax(0, 1fr); gap: 36px; }
  .gd-toc { position: sticky; top: 12px; display: block; max-height: calc(100vh - 24px); overflow-y: auto; padding: 4px 4px 12px 0;
    scrollbar-width: thin; font-size: var(--ez-fs-small); line-height: 1.3; }
  .gd-tabs { display: none; }
}
.gd-find { display: flex; gap: 6px; margin: 0 0 14px; }
.gd-find .ez-input { flex: 1 1 auto; min-width: 0; min-height: 36px; font-size: 14px; padding-left: 8px; padding-right: 8px; }
.gd-find .ez-btn { flex: none; }
body.ez .gd-toc__group { margin: 16px 0 6px; padding-bottom: 5px; border-bottom: 2px solid var(--ez-text-2); }
body.ez .gd-toc__group a { font: 800 15px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ez-text); }
.gd-toc__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1px; }
body.ez .gd-toc__list a { display: block; padding: 4px 0 4px 10px; border-left: 2px solid transparent; color: var(--ez-text-2); text-decoration: none; }
body.ez .gd-toc__list a:hover { color: var(--ez-text); border-left-color: var(--ez-hot); background: var(--ez-ground-2); }
/* The section in view, lit as the forum's tabs light theirs (the selection ground, the text full, the hot rule), set
   by app.js 24 as you scroll; on load it is the section the address names. */
body.ez .gd-toc__list a[aria-current="location"] { color: var(--ez-text); background: var(--ez-sel); border-left-color: var(--ez-hot); }
.gd-tabs { margin-bottom: 24px; }

.gd-results { margin: 0 0 30px; padding: 16px 18px; background: var(--ez-ground-2); }
.gd-results .ez-h2 { margin-bottom: 12px; }
.gd-results__list { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 12px; }
.gd-results__list p { margin: 4px 0 0; color: var(--ez-text-2); }
.gd-hit { color: var(--ez-c-turns); }

.gd-group { scroll-margin-top: 12px; }
.gd-group + .gd-group { margin-top: 56px; }
.gd-group__h { padding-bottom: 8px; border-bottom: 3px solid var(--ez-text); font: 900 36px/1 var(--ez-display); letter-spacing: .03em; text-transform: uppercase; }
.gd { scroll-margin-top: 12px; padding: 30px 0 0; }
.gd + .gd { margin-top: 30px; border-top: 1px solid var(--ez-rule); }
.gd__h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 16px !important; font: 800 26px/1.05 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.gd__stamp { font-size: 15px; }
.gd:target .gd__h > span:first-child { text-decoration: underline; text-decoration-color: var(--ez-hot); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.gd__body { display: grid; gap: 24px 40px; align-items: start; }
@container (min-width: 820px) { .gd__body:has(.gd__facts) { grid-template-columns: minmax(0, 1fr) minmax(260px, 34%); } }
.gd__prose > * { margin: 0 !important; }
.gd__prose > * + * { margin-top: 12px !important; }
.gd__prose > p + .gd-steps, .gd__prose > p + .gd-list, .gd__prose > .gd-steps + p, .gd__prose > .gd-list + p { margin-top: 16px !important; }
.gd-steps, .gd-list { padding: 0; list-style: none; display: grid; gap: 12px; }   /* the paragraphs' step: a wrapped step reads as one */
.gd-steps > li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.gd-steps__n { display: inline-grid; place-items: center; width: 24px; height: 24px; background: var(--ez-hot); color: var(--ez-on-hot); font: 800 13px/1 var(--ez-numbers); }
.gd-list > li { position: relative; padding-left: 16px; }
.gd-list > li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 2px; background: var(--ez-hot); }
.gd-list--terms > li { padding-left: 0; }
.gd-list--terms > li::before { display: none; }
.gd__facts { display: grid; gap: 16px; padding: 16px 18px; background: var(--ez-ground-2); }
.gd__facts .ez-h3 { margin: 0 0 12px; font-size: 15px; }
/* The boxed words in a section (THUGS, HOES, TURNS, NET WORTH...): the hot orange of the primary buttons, bone letters,
   as the owner asked (2026-11-04). Set heavier and a size up (14px, 700) so the bone reads on the orange block. Inline,
   not a box of their own, so they sit on the line like a word: the leading stays even and a comma stays with it. */
body.ez :is(.gd__prose, .gd__facts) .ez-tag { display: inline; padding: 1px 6px; background: var(--ez-hot); border-color: var(--ez-hot); color: var(--ez-bone); font-size: 14px; font-weight: 700;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.gd-kv { margin: 0; display: grid; gap: 8px; }
.gd-kv > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; padding: 0 0 8px; border-bottom: 1px solid var(--ez-rule); }
.gd-kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.gd-kv dt { font-weight: 700; color: var(--ez-text); }
.gd-kv dd { margin: 0; color: var(--ez-text-2); font-size: var(--ez-fs-small); line-height: 1.45; }
.gd-kv dd.gd-kv__full { font-size: inherit; color: var(--ez-text); line-height: 1.45; }
.gd-mistake { margin: 0 !important; padding: 12px 14px; background: var(--ez-ground); font-size: var(--ez-fs-small); line-height: 1.45; }
.gd-mistake b { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
body.ez .gd__up { margin: 16px 0 0; font-size: var(--ez-fs-label); }
body.ez .gd__up a { color: var(--ez-text-2); }
@media (min-width: 1100px) { body.ez .gd__up { display: none; } }
@media (max-width: 767px) {
  .gd-group__h { font-size: 30px; }
  .gd__h { font-size: 22px; }
  .gd__facts { padding: 14px; }
  .gd-results { padding: 14px; }
}

/* The quiet door from a game page: under its footnotes, or on the footnotes' rule when the page has none. */
.gd-readup { margin: 40px 0 0; padding: 12px 0 0; border-top: 1px solid var(--ez-rule); max-width: 72ch; font-size: var(--ez-fs-label); }
.ez-footnotes + .gd-readup { margin-top: 2px; padding: 0 0 0 26px; border-top: 0; }   /* in line with the notes' text */
body.ez .gd-readup a { color: var(--ez-text-2); }
body.ez .gd-readup a:hover { color: var(--ez-text); }
body.ez--wide .gd-readup { margin-left: var(--ez-gutter); margin-right: var(--ez-gutter); }
/* END 24 GUIDE */

/* 25. SETTINGS ----------------------------------------------------------------------------------------------------
   owner/settings.php (owner, 2026-11-04: "Make the list more polished to read. It's very large."). About 150 numbers
   in chapters in the order a player meets them. The chapters stand at the left and stay put, the filter on top; each
   chapter is a compact table on the raised ground: the setting (one line; what it does on hover, or while its box has
   focus), the value in its own box with the unit beside it, Now or Next reset. A value off its default carries one
   small line under the box: "default 6", back to default. A row being changed folds open its foot: why (optional), in
   the news too, Save. The answer lands on the row. Under 768 the chapters are a select at the top and the rows stack.
   The script (app.js 25) puts .is-js on the page: the foot then opens on a change only, not on every focus. */
.ez-sset { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 4px; }
.ez-sset__side { position: sticky; top: 12px; display: grid; gap: 12px; max-height: calc(100vh - 24px); overflow-y: auto; padding: 0 2px 8px 0; scrollbar-width: thin; }
.ez-sset__find { display: flex; gap: 6px; }
.ez-sset__find .ez-input { flex: 1 1 auto; min-width: 0; min-height: 40px; padding: 0 10px; font-size: 15px; }
.ez-sset__find .ez-btn { flex: none; min-height: 40px; padding: 0 10px; font-size: 16px; }
.ez-sset.is-js .ez-sset__find .ez-btn { display: none; }
.ez-sset__jump { display: none; }
.ez-sset__toc { list-style: none; margin: 0; padding: 0; display: grid; }
body.ez .ez-sset__toc a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; color: var(--ez-text-2); font: 600 15px/1.25 var(--ez-body); text-decoration: none; }
body.ez .ez-sset__toc a:hover { color: var(--ez-text); background: var(--ez-ground-2); }
body.ez .ez-sset__toc a[aria-current="true"] { color: var(--ez-text); background: var(--ez-sel); }
.ez-sset__toc li.is-none a { opacity: .4; }
.ez-sset__n { margin-left: auto; font: 700 15px/1 var(--ez-numbers); font-variant-numeric: tabular-nums; color: var(--ez-text-2); }
.ez-sset__dot { flex: none; width: 8px; height: 8px; background: var(--ez-c-warn); }   /* a square, the mark a value off its default carries */
body.ez .ez-sset__links { display: grid; gap: 6px; margin: 0; padding: 10px 8px 0; border-top: 1px solid var(--ez-rule); font-size: 14px; }
body.ez .ez-sset__links a { color: var(--ez-text-2); }
body.ez .ez-sset__links a:hover { color: var(--ez-text); }

.ez-sset__main { display: grid; gap: 20px; min-width: 0; }
.ez-sset__main > .ez-notice--here { margin: 0 !important; }
.ez-sset__ch { min-width: 0; padding: 14px 18px 6px; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); scroll-margin-top: 12px; }
.ez-sset__chhead { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; }
.ez-sset__chhead h2 { font: 800 21px/1.1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.ez-sset__chn { color: var(--ez-text-2); font-size: 14px; }
.ez-sset__cols, .ez-sset__row { display: grid; grid-template-columns: minmax(0, 1fr) 208px 78px; column-gap: 14px; }
.ez-sset__cols { padding: 0 0 6px; border-bottom: 2px solid var(--ez-text-2); font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-text-2); }
.ez-sset__gh { margin: 22px 0 0; padding: 0 0 5px; font: 800 16px/1.1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; color: var(--ez-text-2); }
.ez-sset__cols + .ez-sset__grp .ez-sset__gh { margin-top: 10px; }

/* One row: the setting, the value, when. */
.ez-sset__row { position: relative; align-items: center; padding: 3px 0; border-top: 1px solid var(--ez-rule); scroll-margin-top: 96px; }
.ez-sset__gh + .ez-sset__row { border-top-color: var(--ez-text-2); }
.ez-sset__row:hover, .ez-sset__row:focus-within { background: color-mix(in srgb, var(--ez-ground-2) 70%, var(--ez-sel)); }
.ez-sset__row.is-lit { background: var(--ez-sel); }
.ez-sset__what { position: relative; grid-column: 1; grid-row: 1; min-width: 0; }
/* One line for nearly every name; the few longest wrap to a second rather than lose their end. */
.ez-sset__lab { display: block; padding: 6px 0; font: 600 16px/1.3 var(--ez-body); overflow-wrap: anywhere; cursor: help; }
.ez-sset__val { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 6px; min-width: 0; }
/* The box reads as the value in a table until the row is pointed at: then it shows its edge; with the caret in it,
   it is a box. A faint dashed line under each value says it can be typed over. */
.ez-sset__box.ez-input { flex: none; width: 136px; max-width: none; min-height: 34px; padding: 0 10px; border: 2px solid transparent; background: transparent;
  box-shadow: inset 0 -1px 0 var(--ez-rule); font-size: 19px; text-align: right; cursor: text; transition: border-color .1s, background-color .1s; }
.ez-sset__row:hover .ez-sset__box.ez-input { border-color: var(--ez-rule); background: var(--ez-field); box-shadow: none; }
.ez-sset__box.ez-input:focus, .ez-sset__row.is-dirty .ez-sset__box.ez-input, .ez-sset__row.is-bad .ez-sset__box.ez-input { border-color: var(--ez-text); background: var(--ez-field); box-shadow: none; }
.ez-sset__row.is-changed .ez-sset__box { color: var(--ez-c-warn); }
.ez-sset__row.is-dirty .ez-sset__box, .ez-sset__row.is-bad .ez-sset__box { color: var(--ez-text); border-color: var(--ez-text); }
.ez-sset__row.is-bad .ez-sset__box { border-style: dashed; border-color: var(--ez-c-bad); }
.ez-sset__unit { min-width: 0; color: var(--ez-text-2); font: 600 15px/1.2 var(--ez-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-sset__unit--pre { flex: none; width: 10px; text-align: right; }
.ez-sset__row.is-fixed .ez-sset__unit { font-weight: 400; font-size: 14px; }
/* When: Now is quiet; Next reset carries a dashed line under it, so the rows that wait stand out in a mixed chapter. */
.ez-sset__when { grid-column: 3; grid-row: 1; justify-self: start; padding: 1px 0; color: var(--ez-text-2);
  font: 600 13px/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: help; }
.ez-sset__when.is-reset { color: var(--ez-text); border-bottom: 1px dashed var(--ez-text-2); }

/* The on/off switch: a checkbox drawn as a toggle; on is orange with an ink knob (as Options' switches). */
.ez-sset__sw { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font: 800 19px/1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.ez-sset__sw input { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 52px; height: 28px; margin: 0; border: 2px solid var(--ez-text-2); background: var(--ez-field); cursor: pointer; transition: background .12s, border-color .12s; }
.ez-sset__sw input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--ez-text-2); transition: transform .12s, background .12s; }
.ez-sset__sw input:checked { background: var(--ez-hot); border-color: var(--ez-hot); }
.ez-sset__sw input:checked::before { transform: translateX(24px); background: var(--ez-on-hot); }
.ez-sset__sw input:focus-visible { outline: 3px solid var(--ez-text); outline-offset: 2px; }

/* What a setting does: a bone card under its name, as wide as the name's column so it never covers the box, on hover
   of the name or while the row has focus. */
.ez-sset__tip { display: none; position: absolute; z-index: 15; left: 0; top: calc(100% - 4px); width: max-content; max-width: min(440px, 100%); padding: 9px 11px;
  background: var(--ez-paper); color: var(--ez-on-paper); font: 500 14px/1.45 var(--ez-body); white-space: normal; box-shadow: 0 0 0 2px var(--ez-ground), 4px 4px 0 rgb(0 0 0 / .35); pointer-events: none; }
.ez-sset__row:focus-within .ez-sset__tip { display: block; }
.ez-sset__row:is(.is-dirty, .is-open, .is-lit) .ez-sset__tip { display: none; }   /* while you change it, or read its answer, the box and the foot stay clear */
.ez-sset__what:hover .ez-sset__tip { display: block; }

/* The small line under the box: the range while you type, the default when the value is off it. */
.ez-sset__sub { grid-column: 2 / 4; grid-row: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 0 0 4px !important; color: var(--ez-text-2); font-size: 13px; line-height: 1.3; }
.ez-sset__sub:not(:has(.ez-sset__def)) { display: none; }
.ez-sset__row:focus-within .ez-sset__sub, .ez-sset__row.is-dirty .ez-sset__sub, .ez-sset__row.is-open .ez-sset__sub { display: flex; }
.ez-sset__range { display: none; }
.ez-sset__row:focus-within .ez-sset__range, .ez-sset__row.is-dirty .ez-sset__range, .ez-sset__row.is-open .ez-sset__range { display: inline; }
.ez-sset__def b { color: var(--ez-text); font-weight: 700; }
.ez-sset__back { padding: 0; border: 0; background: none; color: var(--ez-text); font: 600 13px/1.3 var(--ez-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ez-sset__back:hover { color: var(--ez-hot-text); }

/* The foot: folds open on the row being changed. Without the script, on focus; with it, once the value moves. */
.ez-sset__foot { grid-column: 1 / -1; grid-row: 3; display: none; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 6px 0 8px; }
.ez-sset:not(.is-js) .ez-sset__row:focus-within .ez-sset__foot, .ez-sset__row.is-dirty .ez-sset__foot, .ez-sset__row.is-open .ez-sset__foot { display: flex; }
.ez-sset__why.ez-input { flex: 1 1 260px; min-width: 0; min-height: 40px; font-size: 15px; }
.ez-sset__pub { min-height: 40px; font-size: 15px; white-space: nowrap; }
.ez-sset__foot .ez-btn--primary { box-shadow: none; }
.ez-sset__row.is-busy { opacity: .6; pointer-events: none; }

/* The answer, on the row: a tick and the new value, or the refusal in the game's words. */
.ez-sset__res { grid-column: 1 / -1; grid-row: 4; padding: 0 0 8px; }
.ez-sset__res .ez-notice--here { margin: 0 !important; padding: 7px 12px; font-size: 15px; background: var(--ez-ground); }
.ez-sset__res .ez-notice--ok::before { content: "\2713"; margin-right: 8px; color: var(--ez-c-good); font-weight: 800; }

/* Changes this round: a fold at the foot, closed. */
.ez-sset__log { margin-top: 28px; }
.ez-sset__log summary .ez-muted { font-size: 15px; }
body.ez .ez-sset__log .ez-owlog a { color: var(--ez-text); }

@media (prefers-reduced-motion: reduce) { .ez-sset__sw input, .ez-sset__sw input::before { transition: none; } }
@media (max-width: 1100px) and (min-width: 768px) {
  .ez-sset { grid-template-columns: 160px minmax(0, 1fr); gap: 18px; }
  .ez-sset__cols, .ez-sset__row { grid-template-columns: minmax(0, 1fr) 196px 74px; column-gap: 10px; }
  .ez-sset__box.ez-input { width: 124px; }
}
/* Phone: the chapters are a select at the top (a wrap of links without the script); a row is the name, then the box
   with when at its end, then the small line. What a setting does shows in the row, under its name, while it has focus. */
@media (max-width: 767px) {
  .ez-sset { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ez-sset__side { position: static; max-height: none; overflow: visible; padding: 0; gap: 10px; }
  .ez-sset.is-js .ez-sset__side { position: sticky; top: 0; z-index: 16; padding: 8px 0; background: var(--ez-ground); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ez-sset.is-js .ez-sset__jump { display: block; min-height: 40px; }
  .ez-sset.is-js .ez-sset__toc, .ez-sset.is-js .ez-sset__links { display: none; }
  .ez-sset:not(.is-js) .ez-sset__toc { display: flex; flex-wrap: wrap; gap: 4px; }
  body.ez .ez-sset:not(.is-js) .ez-sset__toc a { border: 1px solid var(--ez-rule); }
  .ez-sset__ch { padding: 12px 12px 4px; scroll-margin-top: 64px; }
  .ez-sset__cols { display: none; }
  .ez-sset__row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; padding: 6px 0 8px; scroll-margin-top: 64px; }
  .ez-sset__what { grid-column: 1 / -1; grid-row: 1; }
  .ez-sset__lab { padding: 2px 0 6px; white-space: normal; }
  .ez-sset__val { grid-column: 1; grid-row: 2; }
  .ez-sset__when { grid-column: 2; grid-row: 2; align-self: center; }
  .ez-sset__sub { grid-column: 1 / -1; grid-row: 3; margin-top: 4px !important; }
  .ez-sset__foot { grid-row: 4; }
  .ez-sset__res { grid-row: 5; }
  .ez-sset__box.ez-input { width: 150px; min-height: 40px; }
  .ez-sset__tip { position: static; width: auto; max-width: none; margin: 0 0 8px; box-shadow: none; }
  .ez-sset__what:hover .ez-sset__tip { display: none; }
  .ez-sset__row:focus-within:not(.is-dirty, .is-open, .is-lit) .ez-sset__tip { display: block; }
  .ez-sset__foot .ez-btn { flex: 1 1 auto; }
}
/* END 25 SETTINGS */

/* 26. GUIDE EDITOR --------------------------------------------------------------------------------------------------
   owner/guide.php (owner, 2026-11-04: "it needs to look and feel like a page editor. You have custom tags, right? Those
   need to work."). Three columns on the owner's ground: the sections in their groups at the left (sticky), the page
   being written in the middle (the title as the guide sets a heading, the toolbar sticking to the top of the column,
   the body as a tall sheet in the guide's own marks), the preview at the right (sticky), the guide's own article on a
   sheet. With the script (app.js 26, .is-js) the body is two layers: the textarea's text goes clear and a mirror under
   it paints the marks: tags light orange on a faint wash of their own (red, wavy, when they can't fill), the stamp
   yellow, step and list marks the hot orange (no wash, so they never read as tags),
   the box heads lit. Colour only, never a weight or a padding, so the two layers stay letter for letter. The layout
   follows the room the page gets (a container, .ge-box), not the screen: from 1100px of room the three columns; under
   it the sections fold to a bar over the page (its three groups side by side when opened) so the page and its preview
   keep standing side by side; under 700 everything stacks. */
.ge-box { container: ge / inline-size; }
.ge { display: grid; grid-template-columns: 208px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "rail ed pv" "rail hist pv";
  gap: 0 22px; align-items: start; margin-top: 4px; }
.ge-rail { grid-area: rail; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; scrollbar-width: thin; padding: 0 2px 12px 0; }
.ge-ed, .ge-none { grid-area: ed; min-width: 0; }
.ge-ed { container: geed / inline-size; }
.ge-hist { grid-area: hist; min-width: 0; }
.ge-pv { grid-area: pv; min-width: 0; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; scrollbar-width: thin;
  background: var(--ez-ground); border: 1px solid var(--ez-rule); }

/* The sections: a group's name, Rename, its sections (the one open lit), Add a section. */
.ge-rail__fold > summary { display: none; }
.ge-grp + .ge-grp { margin-top: 18px; }
.ge-grp__head { display: flex; align-items: baseline; gap: 8px; padding-bottom: 5px; border-bottom: 2px solid var(--ez-text-2); }
.ge-grp__h { flex: 1 1 auto; min-width: 0; font: 800 15px/1.1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }
.ge-grp__ren { flex: none; padding: 0; border: 0; background: none; color: var(--ez-text-2); font: 600 13px/1.2 var(--ez-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; opacity: 0; }
.ge-grp:hover .ge-grp__ren, .ge-grp__ren:focus-visible { opacity: 1; }
.ge-grp__ren:hover { color: var(--ez-text); }
.ge-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 1px; min-height: 8px; }
.ge-item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; min-height: 34px; }
.ge-item:hover { background: var(--ez-ground-2); }
.ge-item.is-on { background: var(--ez-sel); }
body.ez .ge-item__a { display: block; padding: 6px 6px 6px 8px; color: var(--ez-text-2); font: 600 15px/1.25 var(--ez-body); text-decoration: none; overflow-wrap: anywhere; }
body.ez .ge-item__a:hover, body.ez .ge-item.is-on .ge-item__a { color: var(--ez-text); }
.ge-item__grip { display: grid; place-items: center; width: 22px; height: 32px; padding: 0; border: 0; background: none; color: var(--ez-text-2); cursor: grab; touch-action: none; opacity: .45; }
.ge-item:hover .ge-item__grip, .ge-item.is-on .ge-item__grip, .ge-item__grip:focus-visible { opacity: 1; }
.ge-item__grip:focus-visible { outline: 2px solid var(--ez-text); outline-offset: -2px; }
.ge-item__move { display: flex; gap: 2px; padding-right: 4px; }
.ge-item__move button { width: 26px; height: 26px; padding: 0; border: 1px solid var(--ez-rule); background: var(--ez-ground); color: var(--ez-text); font: 700 14px/1 var(--ez-body); cursor: pointer; }
.ge-item__move button:disabled { opacity: .3; cursor: default; }
.ge.is-js .ge-item__move { display: none; }
.ge.is-js .ge-item { grid-template-columns: 22px minmax(0, 1fr); }
.ge-item.is-dragging { background: var(--ez-sel); outline: 2px dashed var(--ez-text-2); outline-offset: -2px; opacity: .85; }
.ge.is-dragging, .ge.is-dragging * { cursor: grabbing !important; user-select: none; }
.ge-list.is-target { background: color-mix(in srgb, var(--ez-sel) 60%, transparent); }
.ge-add { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 4px 8px; border: 0; background: none; color: var(--ez-text-2); font: 600 14px/1.2 var(--ez-body); cursor: pointer; }
.ge-add:hover { color: var(--ez-text); background: var(--ez-ground-2); }
.ge-rail__said:empty { display: none; }
.ge-rail__said .ez-notice--here { margin: 12px 0 0 !important; padding: 7px 10px; font-size: 14px; }

/* The small windows: rename a group, add a section, remove one (drawn open after a refusal without the script). */
.ge-pop { width: min(380px, calc(100vw - 32px)); padding: 18px; border: 2px solid var(--ez-text-2); background: var(--ez-ground-2); color: var(--ez-text); box-shadow: 6px 6px 0 rgb(0 0 0 / .4); }
.ge-pop::backdrop { background: rgb(0 0 0 / .45); }
.ge-pop.is-open { display: block; position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 60; }
.ge-pop__form { display: grid; gap: 10px; }
.ge-pop__form .ez-h3 { margin: 0; }
body.ez .ge-pop__p { margin: 0; color: var(--ez-text-2); font-size: var(--ez-fs-small); line-height: 1.45; }
body.ez .ge-pop__acts { display: flex; gap: 8px; margin: 4px 0 0; }
.ge-pop .ez-notice--here { margin: 0 !important; }

/* The page being written: the title set like the guide's heading, one quiet line under it. */
.ge-ed__top { padding: 0 0 10px; }
.ge-title { display: block; width: 100%; min-width: 0; margin: 0; padding: 4px 0 6px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ez-text);
  font: 800 30px/1.1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.ge-title:hover { border-bottom-color: var(--ez-rule); }
.ge-title:focus { outline: none; border-bottom-color: var(--ez-hot); }
.ge-ed__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 6px 0 0 !important; color: var(--ez-text-2); font-size: 14px; line-height: 1.3; }
.ge-ed__in { display: inline-flex; align-items: center; gap: 6px; }
.ge-ed__group { min-height: 30px; padding: 0 26px 0 8px; border: 1px solid var(--ez-rule); background-color: var(--ez-field); color: var(--ez-text); font: 600 14px/1 var(--ez-body); }

/* The toolbar: one button a block kind, the stamp list, bold and the boxed word, then the tag palette. It sticks to
   the top of the column while the body scrolls; the palette and the stamps open under it, over the page. */
.ge-tools { position: sticky; top: 0; z-index: 12; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 0; background: var(--ez-ground); border-bottom: 1px solid var(--ez-rule); }
.ge-tools__sep { width: 1px; align-self: stretch; margin: 4px 2px; background: var(--ez-rule); }
.ge-tool { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--ez-rule); background: var(--ez-ground-2); color: var(--ez-text);
  font: 600 14px/1 var(--ez-body); cursor: pointer; list-style: none; white-space: nowrap; }
.ge-tool::-webkit-details-marker { display: none; }
.ge-tool .ph { font-size: 17px; }
.ge-tool:hover, .ge-drop[open] > .ge-tool { background: var(--ez-sel); border-color: var(--ez-text-2); }
.ge-tool:focus-visible { outline: 2px solid var(--ez-text); outline-offset: 1px; }
.ge-tool--icon { width: 36px; padding: 0; justify-content: center; }
/* A narrow page column keeps the toolbar on one line: the block buttons go to their icons (each keeps its title), Tags
   keeps its word. */
@container geed (max-width: 620px) {
  .ge-tools { gap: 4px; }
  .ge-tools__sep { margin: 4px 1px; }
  .ge-tools > .ge-tool:not(.ge-tool--hot), .ge-drop:not(.ge-drop--pal) > .ge-tool { width: 36px; padding: 0; justify-content: center; }
  .ge-tools > .ge-tool:not(.ge-tool--hot) > span, .ge-drop:not(.ge-drop--pal) > .ge-tool > span {   /* out of sight, still the button's name */
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@container geed (max-width: 480px) {
  .ge-tools__sep, .ge-tool__n { display: none; }
  .ge-tools > .ge-tool:not(.ge-tool--hot), .ge-drop:not(.ge-drop--pal) > .ge-tool { width: 34px; }
}
/* A phone's column: the block buttons on one row, Tags a bar of its own under them (its count back). */
@container geed (max-width: 400px) {
  .ge-drop--pal { flex: 1 1 100%; }
  .ge-drop--pal > .ge-tool { width: 100%; justify-content: center; margin-left: 0; }
  .ge-drop--pal .ge-tool__n { display: inline; }
}
.ge-tool--hot { margin-left: auto; border-color: var(--ez-c-count); color: var(--ez-text); }
.ge-tool--hot .ph { color: var(--ez-c-count); }
.ge-tool__n { font: 700 14px/1 var(--ez-numbers); color: var(--ez-text-2); }
.ge:not(.is-js) .ge-tools > :not(.ge-drop--pal):not(.ge-tools__sep), .ge:not(.is-js) .ge-tools__sep { display: none; }
.ge:not(.is-js) .ge-tool--hot { margin-left: 0; }
.ge-drop__panel { position: absolute; z-index: 20; top: calc(100% + 2px); left: 0; right: 0; background: var(--ez-ground-2); border: 2px solid var(--ez-text-2); box-shadow: 6px 6px 0 rgb(0 0 0 / .4); }
body.ez .ge-drop__h { margin: 0 0 10px; color: var(--ez-text-2); font-size: 13px; }
.ge-stamps { right: auto; width: min(460px, 100%); padding: 12px 14px 14px; }
.ge-stamps ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ge-stampbtn { padding: 4px 2px; border: 0; background: none; cursor: pointer; }
.ge-stampbtn .ez-stamp { font-size: 14px; padding: 3px 7px 2px; border-width: 2px; }
.ge-stampbtn:hover .ez-stamp, .ge-stampbtn:focus-visible .ez-stamp { background: var(--ez-sel); }
.ge-stampbtn--none { padding: 6px 8px; color: var(--ez-text-2); font: 600 13px/1 var(--ez-body); text-decoration: underline; }

/* The tag palette: find, how it prints, then every number by topic, each with its value today. */
.ge-pal { display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: min(520px, 64vh); }
.ge-pal__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-bottom: 1px solid var(--ez-rule); }
.ge-pal__q.ez-input { flex: 1 1 220px; min-width: 0; min-height: 38px; padding: 0 10px; font-size: 15px; }
.ge-pal__as { display: inline-flex; align-items: center; gap: 8px; color: var(--ez-text-2); font-size: 13px; white-space: nowrap; }
.ge-pal__as .ez-select { min-height: 38px; font-size: 14px; }
.ge-pal__body { overflow-y: auto; scrollbar-width: thin; padding: 0 0 8px; }
.ge-pal__th { position: sticky; top: 0; z-index: 1; margin: 0; padding: 9px 12px 6px; background: var(--ez-ground-2); border-bottom: 1px solid var(--ez-rule);
  font: 800 14px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }
.ge-pal__th span { margin-left: 6px; color: var(--ez-text-2); font-weight: 700; }
.ge-pal__list { list-style: none; margin: 0; padding: 0; }
.ge-ptag { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "t v"; column-gap: 14px; align-items: center; width: 100%; padding: 7px 12px;
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ez-rule) 55%, transparent); background: none; color: var(--ez-text); text-align: left; cursor: pointer; }
.ge-ptag:hover, .ge-ptag:focus-visible { background: var(--ez-sel); outline: none; }
.ge-ptag__l { grid-area: l; font: 500 14px/1.3 var(--ez-body); }
.ge-ptag__t { grid-area: t; color: var(--ez-c-count); font: 12px/1.4 ui-monospace, 'Cascadia Mono', Consolas, monospace; overflow-wrap: anywhere; }
.ge-ptag__v { grid-area: v; max-width: 200px; color: var(--ez-c-money); font: 700 17px/1.1 var(--ez-numbers); font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }

/* The body: a tall sheet. Without the script, a plain box. With it, the clear textarea over the painted mirror. */
.ge-code { display: grid; min-height: 62vh; margin-top: 12px; background: var(--ez-field); border: 1px solid var(--ez-rule); }
.ge-code:focus-within { border-color: var(--ez-text-2); }
.ge-code__hl, .ge-code__ta { grid-area: 1 / 1; margin: 0; padding: 18px 20px 28px; border: 0; font: 400 16px/1.65 var(--ez-body); letter-spacing: 0; font-kerning: none; font-variant-ligatures: none;
  white-space: pre-wrap; overflow-wrap: break-word; word-break: normal; tab-size: 4; text-align: left; }
.ge-code__hl { display: none; color: var(--ez-text); pointer-events: none; }
.ge-code__ta { width: 100%; min-height: 62vh; resize: vertical; background: transparent; color: var(--ez-text); caret-color: var(--ez-hot); }
.ge-code__ta:focus { outline: none; }
.ge.is-js .ge-code__hl { display: block; }
.ge.is-js .ge-code__ta { color: transparent; overflow: hidden; resize: none; }
.ge.is-js .ge-code__ta::selection { color: transparent; background: color-mix(in srgb, var(--ez-hot) 30%, transparent); }
.ge-code__hl .hl-dim { color: var(--ez-text-2); }
.ge-code__hl .hl-stamp { color: var(--ez-c-warn); }
.ge-code__hl .hl-mark { color: var(--ez-hot-text); }
.ge-code__hl .hl-head { color: var(--ez-c-money); }
.ge-code__hl .hl-term { color: var(--ez-c-turns); }
.ge-code__hl .hl-tag { color: var(--ez-c-count); background: color-mix(in srgb, var(--ez-c-count) 14%, transparent); }
.ge-code__hl .hl-bad { color: var(--ez-c-bad); background: color-mix(in srgb, var(--ez-c-bad) 16%, transparent); text-decoration: underline wavy var(--ez-c-bad); text-underline-offset: 4px; }

/* Under the sheet: Save, Preview (without the script), where it stands, Remove at the end, the answer under them. */
.ge-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 0 0; scroll-margin-top: 80px; }
.ge.is-js .ge-foot__pv { display: none; }
.ge-foot__state { color: var(--ez-text-2); font-size: 14px; }
.ge-foot__state.is-dirty { color: var(--ez-c-warn); }
.ge-foot__state.is-bad { color: var(--ez-c-bad); }
.ge-foot__kbd { padding: 2px 6px; border: 1px solid var(--ez-rule); color: var(--ez-text-2); font: 600 12px/1.3 var(--ez-body); }
.ge:not(.is-js) .ge-foot__kbd { display: none; }
.ge-foot__rm { margin-left: auto; padding: 0; border: 0; background: none; color: var(--ez-text-2); font: 600 14px/1.2 var(--ez-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ge-foot__rm:hover { color: var(--ez-c-bad); }
.ge-foot__res { flex: 1 0 100%; }
.ge-foot__res.ez-notice--here, .ge-foot__res .ez-notice--here { margin: 0 !important; }

/* The preview: a sheet with its own head; the guide's article inside, as guide.php prints it. */
.ge-pv__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: baseline; gap: 10px; padding: 10px 16px 9px; background: var(--ez-ground-2); border-bottom: 1px solid var(--ez-rule); }
.ge-pv__h { font: 800 15px/1 var(--ez-numbers); letter-spacing: .08em; text-transform: uppercase; }
.ge-pv__note { color: var(--ez-text-2); font-size: 13px; }
.ge-pv__note.is-bad { color: var(--ez-c-bad); }
.ge-pv__note.is-busy::after { content: " ..."; }
body.ez .ge-pv__live { margin-left: auto; color: var(--ez-text-2); font-size: 13px; white-space: nowrap; }
.ge-pv__out { padding: 4px 18px 22px; }
.ge-pv__out .gd { padding-top: 14px; }
.ge-pv__out .gd__h { font-size: 24px; }
mark.ge-bad, code.ge-bad { padding: 0 3px; background: color-mix(in srgb, var(--ez-c-bad) 18%, transparent); color: var(--ez-c-bad); font: 600 .9em/1.3 ui-monospace, 'Cascadia Mono', Consolas, monospace;
  text-decoration: underline wavy var(--ez-c-bad); text-underline-offset: 3px; cursor: help; }
.ge-pv__bad { margin: 18px 0 0; padding: 12px 14px; border: 1px solid var(--ez-c-bad); font-size: 14px; line-height: 1.45; }
body.ez .ge-pv__badh { margin: 0 0 8px; color: var(--ez-c-bad); font-weight: 700; }
.ge-pv__bad ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ge-pv__bad code.ge-bad { text-decoration: none; }

/* Earlier versions: when, who, how it differs from now, a peek at the words, Put back. */
.ge-hist .ez-fold { margin-top: 26px; }
.ge-vers { list-style: none; margin: 0; padding: 0 0 12px; display: grid; }
.ge-ver { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ez-rule); }
.ge-ver__what { font-size: 15px; line-height: 1.4; }
.ge-ver__diff { display: block; color: var(--ez-text-2); font-size: 13px; }
.ge-ver__peek { grid-column: 1 / -1; grid-row: 2; }
.ge-ver__peek > summary { width: fit-content; color: var(--ez-text-2); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ge-ver__text { max-height: 280px; overflow: auto; margin: 8px 0 0; padding: 10px 12px; background: var(--ez-field); border: 1px solid var(--ez-rule);
  font: 13px/1.5 ui-monospace, 'Cascadia Mono', Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.ge-ver form { grid-column: 2; grid-row: 1; }

.ge-rail__now { display: none; }
@container ge (min-width: 1400px) { .ge { grid-template-columns: 224px minmax(0, 1.05fr) minmax(0, 1fr); gap: 0 28px; } }
/* Under 1100 of room: the sections fold to a bar over the page and its preview, which keep standing side by side. */
@container ge (max-width: 1099px) {
  .ge { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "rail rail" "ed pv" "hist pv"; gap: 0 18px; }
  .ge-rail { position: static; max-height: none; overflow: visible; padding: 0 0 12px; }
  .ge-rail__fold > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid var(--ez-rule); background: var(--ez-ground-2);
    font: 800 15px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; list-style: none; }
  .ge-rail__fold > summary::-webkit-details-marker { display: none; }
  .ge-rail__fold > summary b { color: var(--ez-text-2); }
  .ge-rail__now { display: block; min-width: 0; overflow: hidden; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--ez-rule); color: var(--ez-text-2);
    font: 600 14px/1.2 var(--ez-body); letter-spacing: 0; text-transform: none; white-space: nowrap; text-overflow: ellipsis; }
  .ge-rail__fold > summary::after { content: "+"; margin-left: auto; font-size: 20px; }
  .ge-rail__fold[open] > summary { margin-bottom: 14px; }
  .ge-rail__fold[open] > summary::after { content: "\2212"; }
  .ge-rail__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
  .ge-grp + .ge-grp { margin-top: 0; }
  .ge-grp__ren { opacity: 1; }
  .ge-pv { max-height: calc(100vh - 24px); }
  .ge-title { font-size: 26px; }
}
/* Under 700 of room (a phone): one column. The sections' bar, then the page, the preview, the versions. */
@container ge (max-width: 699px) {
  .ge { grid-template-columns: minmax(0, 1fr); grid-template-areas: "rail" "ed" "pv" "hist"; }
  .ge-rail__groups { display: block; }
  .ge-grp + .ge-grp { margin-top: 18px; }
  .ge-pv { position: static; max-height: none; margin-top: 22px; }
  .ge-title { font-size: 24px; }
  .ge-tools { gap: 4px; }
  .ge-tool { min-height: 40px; padding: 0 9px; }
  .ge-tool--icon, .ge-tools > .ge-tool:not(.ge-tool--hot), .ge-drop:not(.ge-drop--pal) > .ge-tool { width: 38px; padding: 0; justify-content: center; }
  .ge-code, .ge-code__ta { min-height: 52vh; }
  .ge-code__hl, .ge-code__ta { padding: 14px 14px 22px; font-size: 16px; }
  .ge-pal { max-height: 70vh; }
  .ge-ptag { grid-template-columns: minmax(0, 1fr); grid-template-areas: "l" "t" "v"; }
  .ge-ptag__v { text-align: left; max-width: none; font-size: 16px; }
  .ge-pv__out { padding: 4px 12px 18px; }
  .ge-foot__kbd { display: none; }
  .ge-foot .ez-btn--primary { flex: 1 1 auto; }
  .ge-foot__rm { margin-left: 0; }
}
/* The guide page's quiet "Edit this" in a section's heading (guide.php, Super Admin and up). */
body.ez .gd__edit { margin-left: auto; align-self: center; color: var(--ez-text-2); font: 600 13px/1 var(--ez-body); letter-spacing: 0; text-transform: none; }
body.ez .gd__edit:hover { color: var(--ez-text); }
/* The owner's desk carries a fifth door, The guide: five across, three on a narrow desk (two under 700, block 20). */
@media (min-width: 901px) { .ez-owdoors:has(> .ez-owdoor:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 701px) and (max-width: 900px) { .ez-owdoors:has(> .ez-owdoor:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* END 26 GUIDE EDITOR */

/* 27. MOTD ---------------------------------------------------------------------------------------------------------
   The updates page every login passes (updates.php, page_start 'bare'): nothing of the site around it. The street at
   night, dimmed, behind; one bone notice in the middle, 640 wide, taped at the top: the date, the title, the owner's
   words at body size, older news folded under Earlier, then the foot of the notice with his turns in one quiet line
   and "Enter the city". The foot holds to the bottom of the screen when the notice runs long. Dark in both themes,
   as the poster is: the palette, never the surfaces. */
body.ez:has(.mo-screen) { background: #0b0f12; }
body.ez .ez-main:has(> .mo-screen) { padding: 0; }
body.ez .ez-main:has(> .mo-screen) > .ez-notice { width: min(100% - 32px, 640px); margin: 16px auto 0 !important; }
.mo-screen { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; min-height: 100svh; padding: 26px 24px 28px; }
.mo-street { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #0b0f12; pointer-events: none; }
.mo-street img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; max-width: none; filter: brightness(.5) saturate(.85); }
.mo-street::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 55%, rgb(11 15 18 / .55), rgb(11 15 18 / .2) 70%, rgb(11 15 18 / 0)), linear-gradient(180deg, rgb(11 15 18 / .7), rgb(11 15 18 / .15) 30%, rgb(11 15 18 / .25) 75%, rgb(11 15 18 / .8)); }
.mo-stage { display: flex; flex-direction: column; gap: 16px; width: min(100%, 640px); margin-block: auto; cursor: auto; }
.mo-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-width: 0; }
body.ez a.mo-mark { color: var(--ez-bone); font-size: 24px; text-shadow: 0 1px 14px rgb(11 15 18 / .9); }
body.ez .mo-who { margin: 0; min-width: 0; color: var(--ez-bone-2); font: 600 12px/1.3 var(--ez-body); font-stretch: 85%; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 10px rgb(11 15 18 / .9); }
.mo-notice { position: relative; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .55)); animation: mo-in .35s cubic-bezier(.2, .75, .2, 1) both; }
@keyframes mo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.mo-notice::after { content: ""; display: block; height: 10px; background: #e2d9c3;   /* the torn foot */
  clip-path: polygon(0 0, 100% 0, 100% 40%, 96% 90%, 91% 30%, 86% 80%, 80% 20%, 74% 100%, 69% 40%, 63% 70%, 57% 10%, 51% 90%, 45% 30%, 40% 80%, 34% 20%, 28% 100%, 23% 50%, 17% 80%, 11% 20%, 6% 90%, 0 40%); }
.mo-strip { position: absolute; z-index: 3; top: -12px; left: 50%; width: 118px; height: 26px; transform: translateX(-50%) rotate(-2deg);
  background: rgb(189 181 163 / .82); box-shadow: 0 1px 0 rgb(18 17 16 / .25); }
.mo-paper { padding: 24px 34px 0; color: var(--ez-ink); background: linear-gradient(180deg, #f1ebdd 0%, var(--ez-bone) 45%, #e2d9c3 100%);
  --ez-c-turns: var(--ez-v-turns-p); --ez-c-money: var(--ez-v-money-p); --ez-c-count: var(--ez-v-count-p); --ez-c-2: var(--ez-paper-2); }
body.ez .mo-tag { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--ez-ink);
  color: var(--ez-paper-2); font: 700 12px/1.2 var(--ez-body); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; }
body.ez .mo-h { margin: 14px 0 10px; color: var(--ez-ink); font: 900 34px/.95 var(--ez-display); letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
.mo-text { font: 400 var(--ez-fs-body)/1.45 var(--ez-body); overflow-wrap: anywhere; }
body.ez .mo-text p { margin: 0 0 10px; }
body.ez .mo-text .mo-lead { margin: 14px 0 6px; color: var(--ez-paper-2); font: 700 12px/1.2 var(--ez-body); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; }
body.ez .mo-text p:first-child { margin-top: 0; }
.mo-text .mo-list { margin: 0 0 12px; padding: 0; list-style: none; }
.mo-text .mo-list li { position: relative; padding-left: 18px; text-wrap: pretty; }
.mo-text .mo-list li + li { margin-top: 3px; }
.mo-text .mo-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 3px; background: var(--ez-ink); }
.mo-text > :last-child { margin-bottom: 0; }
.mo-earlier { margin-top: 14px; border-top: 1px dashed rgb(18 17 16 / .4); }
.mo-earlier > summary, .mo-old > summary { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; cursor: pointer; list-style: none; }
.mo-earlier > summary::-webkit-details-marker, .mo-old > summary::-webkit-details-marker { display: none; }
.mo-earlier > summary { font: 800 15px/1.1 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; }
.mo-earlier > summary::after, .mo-old > summary::after { content: "+"; margin-left: auto; font: 800 18px/1 var(--ez-numbers); }
.mo-earlier[open] > summary::after, .mo-old[open] > summary::after { content: "\2212"; }
.mo-count { color: var(--ez-paper-2); }
.mo-new { padding: 2px 6px 1px; background: var(--ez-ink); color: var(--ez-bone); font: 700 11px/1.2 var(--ez-body); letter-spacing: .1em; }
.mo-old { border-top: 1px solid rgb(18 17 16 / .16); }
.mo-old > summary { padding: 8px 0; font: 600 15px/1.3 var(--ez-body); }
.mo-old__at { flex: none; min-width: 3.6em; color: var(--ez-paper-2); font: 700 12px/1.3 var(--ez-body); font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase; }
.mo-old__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-old[open] .mo-old__t { white-space: normal; }
.mo-old__tag { flex: none; color: var(--ez-paper-2); font: 700 11px/1.3 var(--ez-body); letter-spacing: .1em; text-transform: uppercase; }
.mo-old > .mo-text { padding: 0 0 12px calc(3.6em + 10px); font-size: 15px; }
.mo-act { position: sticky; bottom: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 20px;
  margin: 14px -34px 0; padding: 14px 34px 16px; border-top: 1px dashed rgb(18 17 16 / .4); background: #e2d9c3; }
body.ez .mo-member { margin: 0; color: var(--ez-paper-2); font: 400 13px/1.45 var(--ez-body); }
.mo-member .ez-n { color: var(--ez-ink); font-size: 15px; }
body.ez .mo-member a { color: var(--ez-ink); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.mo-act .mo-enter { min-width: 230px; box-shadow: none; }
@media (max-width: 767px) {
  .mo-screen { padding: 16px 16px 20px; }
  .mo-stage { gap: 14px; margin-block: 0 auto; }
  body.ez a.mo-mark { font-size: 21px; }
  body.ez .mo-who { font-size: 11px; }
  .mo-paper { padding: 20px 18px 0; }
  body.ez .mo-h { font-size: 27px; margin: 12px 0 8px; }
  .mo-act { grid-template-columns: minmax(0, 1fr); margin: 12px -18px 0; padding: 12px 18px 14px; }
  .mo-act .mo-enter { width: 100%; min-width: 0; }
  .mo-old > .mo-text { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .mo-notice { animation: none; } }
/* END 27 MOTD */

/* 33. NEEDS --------------------------------------------------------------------------------------------------------
   The needs line (tpl/needs.php; owner, 2026-11-04: "I hate where it says how much resources are required"): what a
   run burns and whether the crew is fit for it, as one quiet row of fixed slots. A slot: the name in the label type,
   the figure in its family colour (what the run takes: a count, money or turns), a hairline meter under it filled to
   the share he holds, green when covered, orange when short; short, the foot says the shortfall as one number and a
   one-word door. A crew slot keeps the shape with its mood mark and percent where the meter sits. Groups of slots sit
   side by side under quiet heads ("You have", "25-turn run takes"). Drug Ops sets it on raised ground (--band), the
   Market on its stock box (--wide), the Airport on its paper card: every colour comes from --ez-c-* or currentColor,
   so paper turns it over. Phone: two slots a row. */
.ez-needs { --needs-w: 128px; --needs-rule: color-mix(in srgb, currentColor 20%, transparent); --needs-hot-text: var(--ez-hot-text);
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 32px; }
.ez-needs--band { padding: 12px 16px 14px; background: var(--ez-ground-2); }
.ez-needs--wide { --needs-w: 200px; }
:is(.ez-card, .ez-receipt) .ez-needs { --needs-hot-text: var(--ez-v-turns-p); }
[data-theme="light"] :is(.ez-card, .ez-receipt) .ez-needs { --needs-hot-text: var(--ez-hot); }
.ez-needs__group { display: grid; gap: 9px; min-width: 0; }
body.ez .ez-needs__h { margin: 0; padding-bottom: 6px; border-bottom: 1px solid var(--needs-rule); color: var(--ez-c-2);
  font: 700 11px/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ez-needs__slots { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.ez-needs__slot { display: grid; align-content: start; gap: 5px; min-width: var(--needs-w); }   /* fixed, unless a seven-digit shortfall needs more */
.ez-needs__k { overflow: hidden; color: var(--ez-c-2); font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.ez-needs__v { overflow: hidden; font-size: 24px; text-overflow: ellipsis; }
.ez-needs__m { position: relative; height: 2px; margin-top: 2px; overflow: hidden; background: var(--needs-rule); }
.ez-needs__m::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--fill, 100%); background: var(--ez-c-good); }
.ez-needs__slot[data-state="short"] .ez-needs__m { background: color-mix(in srgb, var(--ez-hot) 28%, transparent); }
.ez-needs__slot[data-state="short"] .ez-needs__m::before { background: var(--ez-hot); }
.ez-needs__f { display: none; flex-wrap: nowrap; align-items: baseline; gap: 2px 8px; color: var(--ez-c-2); font: 600 13px/1.25 var(--ez-body); }
.ez-needs__slot[data-state="short"] .ez-needs__f, .ez-needs__f--on { display: flex; }
.ez-needs__short { white-space: nowrap; }
.ez-needs__short .ez-n { color: var(--needs-hot-text); font-size: 17px; }
.ez-needs__cost { font-size: 17px; }
body.ez a.ez-needs__door { color: inherit; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ez-needs__slot[data-state="short"] a.ez-needs__door { color: var(--ez-text); }
:is(.ez-card, .ez-receipt) .ez-needs__slot[data-state="short"] a.ez-needs__door { color: inherit; }
body.ez a.ez-needs__door:hover { color: var(--needs-hot-text); }
.ez-needs__note { color: var(--ez-c-2); font: 600 13px/1.25 var(--ez-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-needs__mood { display: flex; align-items: center; gap: 6px; min-height: 17px; }
.ez-needs__mood .ez-n { font-size: 17px; }
/* The Market's stock box: the slots, then the bill as a slot beside "Buy all of it". */
.mk-need > .ez-needs { margin: 12px 0 14px; }
.mk-need__bill { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 0; padding: 12px 0 14px;
  border-top: 1px solid var(--ez-rule); }
.mk-need__buy { min-width: 220px; justify-content: center; }
/* Adopt: the slots take the old numbered paper's place beside the deal. 
   The Airport: the fare and the turns on the trip card. */
.mk-ad__body > .ez-needs { --needs-w: 124px; align-self: start; padding-top: 4px; }
.ap-trip > .ez-needs { margin: 2px 0 16px; }
@media (max-width: 767px) {
  .ez-needs { display: grid; gap: 16px; }
  .ez-needs--band { padding: 12px 14px 14px; }
  .ez-needs__slots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; }
  .ez-needs__slot { min-width: 0; }
  .ez-needs__f { flex-wrap: wrap; }
  .ez-needs__v { font-size: 22px; }
  .mk-need__bill { display: grid; justify-content: stretch; }
  .mk-need__bill .ez-needs__slots { grid-template-columns: minmax(0, 1fr); }
  .mk-need__buy { width: 100%; min-width: 0; }
}
/* END 33 NEEDS */

/* 29. MARKS ------------------------------------------------------------------------------------------------------- */
/* Random events (rules/marks.php; tpl/marks.php, tpl/mark_profile.php, owner/events.php). A mark is never a player:
   where a player's cartel or standing would be, it carries a sight and its kind in the action colour's outline. On
   Most Wanted the marks sit in their own framed strip above the board, never in its rows. Prefix mx- (mk- is the
   Market's). */
.mx-tag { gap: 6px; border-width: 2px; border-color: var(--ez-hot); color: var(--ez-hot-text); font-weight: 800; }
.mx-tag__sight { position: relative; flex: none; width: 11px; height: 11px; border: 2px solid currentColor; border-radius: 50%; }
.mx-tag__sight::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: currentColor; }
:is(.ez-card, .ez-receipt, .ez-banner) .mx-tag { border-color: var(--ez-hot); color: inherit; }

/* The countdown (data-ends-at; app.js block 29 ticks it): the label small, the time in tabular numbers */
.mx-clock { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; color: var(--ez-text-2); }
.mx-clock__k { font: 800 12px/1 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; }
.mx-clock__t { font: 800 17px/1 var(--ez-numbers); letter-spacing: .03em; color: var(--ez-text); font-variant-numeric: tabular-nums; }
.mx-clock.is-up .mx-clock__t { color: var(--ez-hot-text); }
.mx-clock--big { display: grid; justify-items: end; gap: 4px; }
.mx-clock--big .mx-clock__k { font-size: 13px; color: var(--ez-hot-text); }
.mx-clock--big .mx-clock__t { font-size: 52px; letter-spacing: .02em; }

/* The guard left: a thin meter in the action colour, the count beside it */
.mx-meter { position: relative; display: inline-block; width: 120px; height: 4px; overflow: hidden; vertical-align: middle; background: var(--ez-rule); }
.mx-meter__bar { position: absolute; inset: 0 auto 0 0; width: calc(var(--fill, 1) * 100%); background: var(--ez-hot); }
.mx-meter__t { margin-left: 8px; color: var(--ez-text-2); font-size: 13px; white-space: nowrap; }
.mx-meter__t b { color: var(--ez-text); font-size: 15px; }

/* The live light (owner, 2026-11-04: "a gliding little light outlining it, make it feel alive"): a faint steady rule,
   and over it a short hot light that glides round the outline every seven seconds, a beacon, not a spinner. State, not
   decoration: the ambience switch does not turn it off. With reduced motion it is a steady orange rule. A table row
   draws it from its first cell, positioned against the row. */
@property --mx-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes mx-glide { to { --mx-a: 360deg; } }
.mx-live { position: relative; }
.mx-live:not(tr)::before, tr.mx-live > td:first-child::before { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgb(255 90 31 / .4); }
.mx-live:not(tr)::after, tr.mx-live > td:first-child::after { content: ""; position: absolute; inset: 0; pointer-events: none; padding: 2px;
  background: conic-gradient(from var(--mx-a), transparent 0turn 0.6turn, rgb(255 90 31 / .12) 0.72turn, rgb(255 90 31 / .45) 0.86turn, var(--ez-hot) 0.975turn, color-mix(in srgb, var(--ez-hot), #fff 55%) 0.992turn, transparent 1turn);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: mx-glide 7s linear infinite; }
tr.mx-live > td:first-child { position: static; }
@media (prefers-reduced-motion: reduce) {
  .mx-live:not(tr)::after, tr.mx-live > td:first-child::after { animation: none; background: var(--ez-hot); }
}

/* The console's event block: the one place the page shouts. Kicker, name, what it carries, guard, top taker; the clock
   big on the right over the one big action */
.mx-events { display: grid; gap: 12px; margin: 0 0 26px; }
.mx-ev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 20px 24px 20px; background: var(--ez-ground-2); }
.mx-ev__main { min-width: 0; }
.mx-ev__kick { display: flex; align-items: center; gap: 8px; margin: 0 !important; color: var(--ez-hot-text); font: 900 16px/1 var(--ez-display); letter-spacing: .08em; text-transform: uppercase; }
.mx-ev__kick .mx-tag__sight { width: 13px; height: 13px; }
.mx-ev__name { margin: 8px 0 0 !important; font: 900 36px/1 var(--ez-numbers); letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; }
body.ez .mx-ev__name a { color: var(--ez-text); text-decoration: none; }
body.ez .mx-ev__name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mx-ev__carry { margin: 8px 0 0 !important; color: var(--ez-text-2); font-size: 16px; }
.mx-ev__carry b { font-size: 19px; }
.mx-ev__facts { display: flex; flex-wrap: wrap; gap: 10px 40px; margin-top: 14px; }
.mx-ev__k { display: block; margin-bottom: 7px; color: var(--ez-text-2); font: 800 11px/1 var(--ez-numbers); letter-spacing: .14em; text-transform: uppercase; }
.mx-ev__top .ez-uname { font-weight: 700; }
.mx-ev__none { color: var(--ez-text-2); }
.mx-ev__side { display: grid; justify-items: end; gap: 14px; }
.mx-ev__go { min-width: 230px; justify-content: center; font-size: 20px; }
.mx-ev__off { color: var(--ez-text-2); }
.mx-events__more { margin: 0 !important; font-size: var(--ez-fs-small); }
@media (max-width: 767px) {
  .mx-events { margin: 0 0 18px; }
  .mx-ev { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 14px; }
  .mx-ev__name { font-size: 28px; }
  .mx-ev__side { justify-items: stretch; }
  .mx-clock--big { justify-items: start; grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
  .mx-clock--big .mx-clock__t { font-size: 40px; }
  .mx-ev__go { min-width: 0; width: 100%; }
}

/* The whole thing opens its page (owner, 2026-11-04: "I should be able to click the whole row"): the name is the real
   link (keyboard, no script), stretched over the row or the event block; the controls in it sit above the stretch. */
.mw-table tbody tr { position: relative; cursor: pointer; }
.mw-table tbody td { position: static; }
.mw-table tbody tr:hover > td { background: var(--ez-sel); }
.mw-table tbody .ez-who::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mw-table tbody :is(.mw-range, .ez-citylink) { position: relative; z-index: 2; }
@media (max-width: 767px) { .mw-table tbody tr:hover { background: var(--ez-sel); } }
.mx-ev { cursor: pointer; }
.mx-ev:hover { background: var(--ez-sel); }
body.ez .mx-ev__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mx-ev__go, .mx-ev__off { position: relative; z-index: 2; }

/* Most Wanted: a mark's row in the board, the sight where its rank would be */
.mx-mwrow .ez-row__main { flex-wrap: wrap; row-gap: 6px; }
.mx-mwrow__sight { display: inline-grid; place-items: center end; color: var(--ez-hot-text); }
.mx-mwrow__sight .mx-tag__sight { width: 15px; height: 15px; }
.mx-mwrow .mx-tag { padding: 2px 6px 1px; font-size: 12px; }
.mx-mwrow__guard .mx-meter { width: 64px; }
.mx-mwrow__guard .mx-meter__t { font-size: 12px; }
.mx-mwrow .ez-uname { max-width: none; overflow: visible; white-space: normal; text-overflow: clip; }
@media (max-width: 767px) { .mx-mwrow__guard { display: flex; align-items: center; gap: 6px; } .mx-mwrow__sight { display: none; }
  /* the guard takes its own line under the name (its hoes cell is hidden), so the name keeps the card's width (audit 2026-11-04: it stacked a word a line at 375) */
  .mw-table tr.mx-mwrow > td.mx-mwrow__guard { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; text-align: left; } }

/* The frame's where-you-stand card: one quiet line while a mark stands in his city */
body.ez .ez-side a.mx-where { display: flex; align-items: center; gap: 7px; width: auto; min-width: 0; padding: 2px 0 0; background: none; white-space: nowrap;
  color: var(--ez-hot-text); text-decoration: none; text-transform: none; letter-spacing: 0; font: 700 14px/1.2 var(--ez-body); font-stretch: 80%; }
body.ez .ez-side a.mx-where:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }

/* The city page: one line a mark under the tabs, alive like the rest */
.mx-town { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 14px 0 0; padding: 12px 16px; background: var(--ez-ground-2); }
.mx-town__line { flex: 1 1 280px; min-width: 0; line-height: 1.45; }
.mx-town__line .ez-uname { font-weight: 700; }
.mx-town__go { flex: none; }

/* The Attack page: the marker beside a picked mark */
.mx-pick { margin-left: 12px; vertical-align: middle; }
.mx-pick .mx-tag { font-size: 13px; }
.mx-pick[hidden] { display: none; }
.ez-radio__sub .mx-tag { margin-right: 6px; padding: 1px 6px 0; border-width: 1px; font-size: 11px; vertical-align: 1px; }
.ez-radio__sub .mx-tag__sight { width: 9px; height: 9px; }

/* A mark's profile: the player's record card, the sight where the picture goes */
.mx-pf__shot { color: var(--ez-hot-text); }
.mx-pf__shot .ph { font-size: 120px; line-height: 1; }
.pf-who .mx-tag { margin-left: auto; }
.mx-pf .pf-rec > .mx-pf__txt dd { font: 600 17px/1.35 var(--ez-body); }
.mx-pf .pf-rec > .mx-pf__carry { grid-column: span 2; }
@media (max-width: 767px) {
  .mx-pf__shot .ph { font-size: 56px; }
  .pf-who .mx-tag { margin-left: 0; }
  .mx-pf .pf-rec > .mx-pf__carry { grid-column: 1 / -1; }
}

/* owner/events.php: the live marks, the scoreboards, the knobs */
.mx-owlist { list-style: none; margin: 0; padding: 0; }
.mx-ow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; padding: 14px 0; border-top: 1px solid var(--ez-rule); }
.mx-ow:first-child { border-top: 0; padding-top: 4px; }
.mx-ow__who { min-width: 0; }
.mx-ow__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 !important; }
.mx-ow__name .ez-uname { font: 800 22px/1.1 var(--ez-numbers); letter-spacing: .02em; white-space: normal; overflow: visible; text-overflow: clip; max-width: none; }
.mx-ow__nums > div { align-content: start; }
.mx-ow__where { margin: 4px 0 0 !important; color: var(--ez-text-2); font-size: 15px; }
.mx-ow__act { grid-column: 2; grid-row: 1; align-self: start; }
.mx-ow__nums { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2.4fr) repeat(3, minmax(0, 1fr)); gap: 10px 24px; margin: 0; }
.mx-ow__nums > div { display: grid; gap: 3px; min-width: 0; }
.mx-ow__nums dt { color: var(--ez-text-2); font: 500 14px/1.2 var(--ez-body); }
.mx-ow__nums dd { display: grid; gap: 2px; margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.mx-ow__nums dd small { color: var(--ez-text-2); font-size: 13px; }
@media (max-width: 767px) { .mx-ow__nums { grid-template-columns: 1fr 1fr; } .mx-ow__nums > div:first-child { grid-column: 1 / -1; } }
.mx-scores { list-style: none; margin: 0; padding: 0; }
.mx-score { padding: 12px 0; border-top: 1px solid var(--ez-rule); }
.mx-score:first-child { border-top: 0; padding-top: 0; }
.mx-score__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 8px !important; }
.mx-score__head b { font: 800 18px/1.1 var(--ez-numbers); letter-spacing: .02em; }
.mx-score__top { margin: 0; padding-left: 1.6em; display: grid; gap: 4px; }
.mx-score__top li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.mx-knobs { margin: 0; display: grid; gap: 0; }
.mx-knobs > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 7px 0 7px 10px; border-top: 1px solid var(--ez-rule); border-left: 3px solid transparent; }
.mx-knobs > div:first-child { border-top: 0; }
.mx-knobs > div.is-open { border-left-color: var(--ez-c-warn); }
.mx-knobs dt { font-size: 15px; line-height: 1.35; }
.mx-knobs dd { margin: 0; font-size: 18px; text-align: right; }
.mx-worth { max-width: 14em; }
/* END 29 MARKS */

/* 32. PAGE BAR --------------------------------------------------------------------------------------------------------
   Every paged list (lib/page.php page_bar(), docs/PAGINATION_2026-11-04.md) in the forum's look, lifted from 22.3 so
   the forum's .fo-pager and the shared .ez-pagebar are one thing: "Page 2 of 5 · 112 hits" left, Back, the numbers
   with gaps and Next right, square 40px keys. Printed over a list and under it. On a phone it wraps and stays. */
:is(.fo-pager, .ez-pagebar) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0 0 12px; }
:is(.fo-pager__of, .ez-pagebar__of) { color: var(--ez-text-2); font-size: var(--ez-fs-small); white-space: nowrap; }
:is(.fo-pager__n, .ez-pagebar__n) { display: flex; flex-wrap: wrap; gap: 4px; }
body.ez :is(.fo-pager, .ez-pagebar) a { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 10px; border: 2px solid var(--ez-rule); color: var(--ez-text-2);
  text-decoration: none; font: 800 17px/1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
body.ez :is(.fo-pager, .ez-pagebar) a:hover { border-color: var(--ez-text); color: var(--ez-text); }
body.ez :is(.fo-pager, .ez-pagebar) a[aria-current="page"] { border-color: var(--ez-text); background: var(--ez-text); color: var(--ez-ground); }
:is(.fo-pager__gap, .ez-pagebar__gap) { display: inline-grid; place-items: center; min-width: 22px; color: var(--ez-text-2); }
/* Under a list it stands off the last row; inside a mailbox panel or a chat it takes the panel's gutter. */
:is(ol, ul, table, .ez-list, .ez-empty, .ez-table) + .ez-pagebar { margin: 14px 0 0; }
:is(.ez-mailbox, .ez-chat) > .ez-pagebar { margin: 0; padding: 10px 12px; }
.ez-fold__body > .ez-pagebar:first-child { margin-top: 4px; }
@media (max-width: 600px) {
  :is(.fo-pager, .ez-pagebar) { gap: 6px 10px; }
  body.ez :is(.fo-pager, .ez-pagebar) a { min-width: 40px; padding: 0 8px; }
}
/* The rows-a-page switch (Show 10 · 20 · 50): quieter than the page keys, the size on view filled. The numbers keep
   the right edge whether the switch is there or not. */
.ez-pagebar__per { display: inline-flex; align-items: center; gap: 4px; }
.ez-pagebar__perlbl { margin-right: 4px; color: var(--ez-text-2); font-size: var(--ez-fs-small); }
body.ez .ez-pagebar .ez-pagebar__per a { min-width: 36px; min-height: 36px; border-width: 1px; font-size: 15px; }
body.ez .ez-pagebar .ez-pagebar__per a[aria-current="true"] { border-color: var(--ez-text); background: var(--ez-text); color: var(--ez-ground); }
.ez-pagebar__n { margin-left: auto; }
/* A list that loads in place (assets/app.js 32): dimmed while the next page comes. */
.ez-pagelist { outline: none; }
.ez-pagelist[aria-busy="true"] { opacity: .55; transition: opacity .12s; }
/* END 32 PAGE BAR */

/* 31. RECRUIT ---------------------------------------------------------------------------------------------------------
   Recruit redone for a new player (zz_wip_recruit.php until the go, then recruit.php): the seven spots as one list, the
   spot's name and "best for" left, this round's rate for each crew in five columns right, the best in each column lit;
   picked, the row takes the selected tint and the orange marker, like a rung of the price list. The price list, the
   button and the receipt keep 14.6b; on a phone the price list stays (the shortfalls are what a new player reads) and
   each spot is two lines, the name over its five rates. Scoped to .ez-rc--list. The scene behind the page when a spot
   is picked is assets/ambience.css, never here. */
.rc-list { border-top: 1px solid var(--ez-rule); }
.rc-list__head, .rc-spot { display: grid; grid-template-columns: minmax(0, 1fr) repeat(5, 58px); column-gap: 6px; align-items: center; }
body.ez .rc-list__head { margin: 0; padding: 8px 12px 6px 16px; border-bottom: 1px solid var(--ez-rule); }
.rc-list__head span { font: 600 var(--ez-fs-micro)/1.1 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-text-2); text-align: right; white-space: nowrap; }
.rc-list__head .rc-list__spot { text-align: left; }
.rc-spot { position: relative; min-height: 58px; padding: 9px 12px 8px 16px; border-bottom: 1px solid var(--ez-rule); cursor: pointer; color: var(--ez-text); }
.rc-spot input { position: absolute; opacity: 0; pointer-events: none; }
.rc-spot .rc-pin__place { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; max-width: none; text-align: left; }
.rc-spot .rc-pin__name { padding: 0; background: none; box-shadow: none; color: inherit; font: 800 21px/1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.rc-spot .rc-pin__best { padding: 0; background: none; border: 0; color: var(--ez-text-2); font: 600 12px/1 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
.rc-spot .rc-pin__best b { font: 800 13px/1 var(--ez-numbers); letter-spacing: .06em; color: var(--ez-text); }
.rc-spot__rates { display: contents; }
.rc-rate { text-align: right; color: var(--ez-text-2); }
.rc-rate .ez-n { font-size: 20px; }
.rc-rate.is-best { color: var(--ez-text); }
.rc-rate.is-best .ez-n { text-decoration: underline 2px var(--ez-text-2); text-underline-offset: 5px; }
.rc-spot:hover { background: var(--ez-ground-2); }
.rc-spot:has(input:checked) { background: var(--ez-sel); }
.rc-spot:has(input:checked) .rc-pin__name { color: var(--ez-hot-text); }
.rc-spot:has(input:checked)::before { content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%; border: 7px solid transparent; border-left: 8px solid var(--ez-hot); }
.rc-spot:has(input:focus-visible) { outline: 3px solid var(--ez-text); outline-offset: -3px; }
@media (max-width: 767px) {
  .rc-list__head, .rc-spot { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 6px; }
  body.ez .rc-list__head { padding: 8px 10px 6px 14px; }
  .rc-spot { padding: 10px 10px 9px 14px; }
  .rc-list__head .rc-list__spot { grid-column: 1 / -1; }
  .rc-spot .rc-pin__place { grid-column: 1 / -1; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
  .rc-spot .rc-pin__name { font-size: 19px; }
  .rc-rate .ez-n { font-size: 18px; }
  .rc-list__head span, .rc-rate { text-align: center; }   /* five even columns: each figure under its crew's name */
  .rc-list__head .rc-list__spot { text-align: left; }
}
/* END 31 RECRUIT */

/* 36. MOOD MARK -----------------------------------------------------------------------------------------------------
   Owner, 2026-11-04: "I hate the way we're doing this happiness crap. It needs to be subtle, not overtake the page."
   A crew's mood is the small mark after its count (tpl/needs.php mood_mark(); the shapes are block 3's .ez-mk), at the
   label size, with the percent in the mood colour only when the crew is under half. No band, no sentence, no face
   scale outside the console's own crew cards. The exact figure is on the hover. */
.ez-mood { display: inline-flex; align-items: center; gap: 5px; margin-left: 7px; font-size: var(--ez-fs-label); line-height: 1; vertical-align: middle; white-space: nowrap; }
.ez-mood .ez-mk { width: 15px; height: 15px; }
.ez-mood .ez-mk--none { width: 15px; height: 2px; }
.ez-mood__pct { font-size: var(--ez-fs-label); font-weight: 700; }
.ez-needs__crew { display: flex; align-items: center; min-width: 0; }
.ez-needs__crew .ez-mood { margin-left: 8px; }
/* 36.1 The Black Market's quiet rows (owner, 2026-11-04, while the market was open for the marks). The Plug lists all
   seven drugs; the lab-and-street ones (market.php tr.mk-cook) sit greyed in their place, no box, no price, the name a
   dashed-underlined button whose pop (the HQ's .cx-tip pop, block 14.8a) says why. On Sell, a thing the fence won't
   buy back is scratched off: no box, its name and figures struck with a hand-drawn line in the secondary ink, "Won't
   buy" kept small. Keyed on data-sell="" under .mk--sell, so the in-place Buy | Sell switch (app.js) needs no change. */
.mk-cook { padding: 12px 0; border-bottom: 1px solid var(--ez-rule); color: var(--ez-text-2); }
.mk-cook:last-child { border-bottom: 0; }
.mk-cook .mk-ico { opacity: .4; filter: grayscale(1); }
.mk-cook .mk-have { text-align: right; white-space: nowrap; font: 700 20px/1 var(--ez-numbers); color: var(--ez-text-2); opacity: .6; }
.mk-cook__tip { position: relative; display: inline-flex; justify-self: start; }
body.ez .mk-cook__name { margin: 0; padding: 0 0 1px; background: none; border: 0; border-bottom: 1px dashed currentColor; border-radius: 0; color: var(--ez-text-2); cursor: help; text-align: left; }
body.ez .mk-cook__name:hover, body.ez .mk-cook__name:focus-visible { color: var(--ez-text); border-bottom-color: var(--ez-hot); outline: none; }
.mk-cook__pop { display: none; position: absolute; z-index: 15; left: 0; top: calc(100% + 10px); width: max-content; max-width: min(300px, 70vw); padding: 10px 12px;
  background: var(--ez-paper); color: var(--ez-on-paper); font: 500 14px/1.4 var(--ez-body); letter-spacing: 0; text-transform: none; white-space: normal; box-shadow: 0 0 0 2px var(--ez-ground); }
.mk-cook__pop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.mk-cook__tip:hover > .mk-cook__pop, .mk-cook__name:focus + .mk-cook__pop { display: block; }
@container mk (max-width: 559px) {
  .mk-cook .mk-item { grid-column: 1 / -1; }
  .mk-cook .mk-have { text-align: left; font-size: 18px; }
}
.mk--sell .mk-row[data-sell=""] { opacity: 1; }
.mk--sell .mk-row[data-sell=""] :is(.mk-pick, .mk-rowtotal, .mk-after) { display: none; }
.mk--sell .mk-row[data-sell=""] :is(.mk-name, .mk-have .ez-n, .mk-price--buy .ez-n) { position: relative; color: var(--ez-text-2); }
.mk--sell .mk-row[data-sell=""] .mk-name { justify-self: start; }   /* the line spans the word, not the column */
.mk--sell .mk-row[data-sell=""] :is(.mk-note, .mk-ico) { opacity: .5; }
.mk--sell .mk-row[data-sell=""] .mk-price--buy { opacity: 1; }
.mk--sell .mk-row[data-sell=""] :is(.mk-name, .mk-have .ez-n, .mk-price--buy .ez-n)::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 7px;
  translate: 0 -40%; rotate: -2deg; background: var(--ez-text-2); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 7' preserveAspectRatio='none'%3E%3Cpath d='M1 4.6C14 3.4 27 4.1 41 3.3S68 2.5 83 3.1 95 2.2 99 2.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 7' preserveAspectRatio='none'%3E%3Cpath d='M1 4.6C14 3.4 27 4.1 41 3.3S68 2.5 83 3.1 95 2.2 99 2.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.mk--sell .mk-row[data-sell=""] .mk-price--sell .mk-none { font-size: var(--ez-fs-label); letter-spacing: .04em; }
/* END 36 MOOD MARK */
/* 28. BOTS ----------------------------------------------------------------------------------------------------------
   owner/bots.php: the owner's desk for the scripted players. The board (owner block 18.8) with the switch; the list of
   bots beside the latest lines; the three side sheets (staff block 18) for seed, the knobs and one bot's record. */
.ez-bots__board .ez-owboard__go form { display: contents; }
body.ez button.ez-bots__inline { padding: 0; border: 0; background: none; color: var(--ez-text); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body.ez button.ez-bots__inline:hover { color: var(--ez-hot-text); }
.ez-bots__res { grid-column: 1 / -1; }
.ez-bots__res .ez-notice { margin: 0 !important; }
.ez-bots__grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
@media (max-width: 959px) { .ez-bots__grid { grid-template-columns: 1fr; } }
.ez-bots__kinds { display: flex; flex-wrap: wrap; gap: 4px 2px; margin: -2px 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--ez-rule); }
body.ez .ez-bots__kinds a { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 10px 5px; color: var(--ez-text-2); text-decoration: none; font: 700 15px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; border-bottom: 3px solid transparent; }
body.ez .ez-bots__kinds a:hover { color: var(--ez-text); background: var(--ez-ground); }
body.ez .ez-bots__kinds a[aria-current="page"] { color: var(--ez-text); border-bottom-color: var(--ez-hot); }
.ez-bots__kinds b { font-weight: 800; color: var(--ez-text-2); }
body.ez .ez-bots__kinds a.ez-bots__ret { margin-left: auto; }
.ez-bots__rows { list-style: none; margin: 0; padding: 0; max-height: 640px; overflow-y: auto; }
.ez-bots__rows > li + li { border-top: 1px solid var(--ez-rule); }
body.ez a.ez-bots__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 14px; padding: 10px 6px; color: inherit; text-decoration: none; }
body.ez a.ez-bots__row:hover { background: var(--ez-ground); }
.ez-bots__who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ez-bots__who .ez-uname { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ez-bots__kind { flex: none; padding: 2px 6px 1px; border: 1px solid var(--ez-text-2); color: var(--ez-text-2); font: 700 12px/1.2 var(--ez-body); text-transform: uppercase; letter-spacing: .04em; }
.ez-bots__worth { font-size: 18px; text-align: right; }
.ez-bots__where { color: var(--ez-text-2); font-size: 14px; padding-left: 17px; }
.ez-bots__when { color: var(--ez-text-2); font-size: 14px; text-align: right; white-space: nowrap; }
.ez-bots__row.is-on .ez-bots__when { color: var(--ez-c-good); }
.ez-bots__last { grid-column: 1 / -1; padding-left: 17px; color: var(--ez-text); font-size: 14px; line-height: 1.4; opacity: .82; overflow-wrap: anywhere; }
.ez-bots__log { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.ez-bots__log li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--ez-rule); line-height: 1.4; }
.ez-bots__log li:first-child { border-top: 0; }
.ez-bots__log time { color: var(--ez-text-2); white-space: nowrap; }
.ez-bots__log span { overflow-wrap: anywhere; }
.ez-bots__log a { font-weight: 700; }
.ez-bots__log li.is-no span { color: var(--ez-text-2); }
.ez-bots__log li.is-no span::before { content: "No: "; color: var(--ez-c-warn); font-weight: 700; }
.ez-bots__log--one li { grid-template-columns: 6.6em minmax(0, 1fr); }
.ez-bots__n { width: 8ch; }
.ez-bots__mix { list-style: none; margin: 0; padding: 0; }
.ez-bots__mix li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--ez-rule); }
.ez-bots__mix li:first-child { border-top: 0; }
.ez-bots__mix label { display: grid; gap: 2px; cursor: pointer; }
.ez-bots__mix b { font: 800 17px/1.1 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
.ez-bots__mix span { color: var(--ez-text-2); font-size: 14px; line-height: 1.35; }
.ez-bots__w { width: 9ch; text-align: right; }
.ez-bots__cities { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 0; padding: 4px 0 2px; border: 0; min-width: 0; }
.ez-bots__cities legend { padding: 0; margin-bottom: 2px; color: var(--ez-text-2); font: 700 13px/1.2 var(--ez-body); text-transform: uppercase; letter-spacing: .05em; }
.ez-bots__cities .ez-check { min-height: 36px; font-size: 15px; }
.ez-bots__seg { flex-wrap: wrap; }
.ez-bots__num { display: inline-flex; align-items: center; gap: 8px; color: var(--ez-text-2); }
.ez-bots__hours { display: flex; align-items: center; gap: 10px; color: var(--ez-text-2); }
.ez-bots__hours .ez-select { width: auto; }
.ez-bots__crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; margin: 6px 0 0; }
.ez-bots__crew dt { color: var(--ez-text-2); font-size: 13px; }
.ez-bots__crew dd { margin: 0; font-size: 18px; }
.ez-bots__how { font-size: 15px; line-height: 1.5; }
.ez-bots__foot form { display: contents; }
@media (max-width: 600px) {
  .ez-bots__crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ez .ez-bots__kinds a.ez-bots__ret { margin-left: 0; }
  .ez-bots__rows { max-height: none; }
}
/* END 28 BOTS */

/* 35. PAYMENTS: the pay doors on checkout.php and pay_test.php, and owner/payments.php. */
.co-drop--run { min-height: 330px; }
.co-receipt .co-doors { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: stretch; }
.co-receipt .co-doors form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.co-receipt .co-doors .ez-btn { width: 100%; justify-content: center; padding-block: 8px; line-height: 1.1; white-space: normal; text-align: center; }
.co-door-sub { text-align: center; }
.co-receipt .co-doors > .ez-link { justify-self: center; }
body.ez .co-paytitle { margin: 4px 0 34px; }
.co-receipt .ez-receipt__next:not(.co-doors) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.op-alert { border-color: var(--ez-hot); }
.op-setup { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; align-items: start; margin-top: 16px; }
.op-setup form { margin-top: 14px; }
.op-checks { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; }
.op-check { display: grid; grid-template-columns: 20px 1fr; gap: 6px; color: var(--ez-text-2); font-size: 15px; overflow-wrap: anywhere; }
.op-check--ok { color: var(--ez-text); }
.op-label { margin: 12px 0 2px; color: var(--ez-text-2); font-size: 14px; }
.op-url { margin: 0; overflow-wrap: anywhere; }
.op-url code { font-size: 14px; color: var(--ez-text); }
.op-log { display: grid; }
.op-row { border-top: 1px solid var(--ez-rule); }
.op-row:first-child { border-top: 0; }
.op-row summary { display: grid; grid-template-columns: 170px minmax(0, 1fr) 150px 70px 100px; gap: 12px; align-items: baseline; padding: 10px 2px; cursor: pointer; }
.op-row__state { font-weight: 600; }
.op-row--stuck .op-row__state { color: var(--ez-hot); }
.op-row--cancelled .op-row__state, .op-row--expired .op-row__state, .op-row--failed .op-row__state { color: var(--ez-text-2); font-weight: 500; }
.op-row__who, .op-row__via, .op-row__when { color: var(--ez-text-2); overflow-wrap: anywhere; }
.op-row__more { padding: 2px 2px 14px; }
.op-note { margin: 0 0 6px; color: var(--ez-hot); }
.op-steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 15px; color: var(--ez-text-2); }
.op-steps b { color: var(--ez-text); font-weight: 600; }
@media (max-width: 760px) {
  .op-row summary { grid-template-columns: minmax(0, 1fr) auto; }
  .op-row__what { grid-column: 1 / -1; grid-row: 2; }
  .op-row__who, .op-row__via { display: none; }
}
/* END 35 PAYMENTS */

/* 30. STAFF FIXES ------------------------------------------------------------------------------------------------
   docs/REVIEW_STAFF_2026-11-04.md, the fixes: the desks' grounds tinted harder, counts on the staff tabs, the grave
   confirm, the sheet's foot carrying What happens, scoped fields, the ticket desk, Money, Refused words, News, and the
   four 375 breaks. Owns its own selectors; the overrides of 18 and 20.3 are named as such. */

/* 30.1 The desks' grounds at 14% (owner ruling 2026-11-04; was 8%, 20.3). Measured (WCAG 2.x), ground / raised:
     staff desk #281714 / #311e1b (warm brown-red, --ez-desk-staff; was the cool #2b2631 / #332e37 until the counts went
       orange): bone text 13.7 / 12.5, secondary 8.4 / 7.7, money 10.2 / 9.4, counts 10.6 / 9.7, good 10.1 / 9.2,
       warn 12.7 / 11.7, bad 7.5 / 6.9, turns 8.2 / 7.5, orange 5.5 / 5.1 (a fill with ink on it, never text).
     owner's desk #312a19 / #3a311f: bone text 11.3 / 10.2, secondary 7.0 / 6.3, money 8.5 / 7.6, counts 8.8 / 7.9,
       good 8.3 / 7.5, warn 10.5 / 9.5, bad 6.2 / 5.6, turns 6.8 / 6.1, orange 4.6 / 4.1.
   Every text colour stays above 4.5:1 on both grounds. The light theme keeps 20.3's 6% (not part of the ruling). */
body.ez.ez--desk-staff, body.ez.ez--desk-admin {
  --ez-ground:   color-mix(in srgb, var(--ez-ink) 86%, var(--ez-desk-staff));
  --ez-ground-2: color-mix(in srgb, var(--ez-ink-2) 86%, var(--ez-desk-staff));
  --ez-sel:      color-mix(in srgb, #262119 86%, var(--ez-desk-staff));
  --ez-rule:     color-mix(in srgb, #3a362f 82%, var(--ez-desk-staff));
}
body.ez.ez--desk-owner {
  --ez-ground:   color-mix(in srgb, var(--ez-ink) 86%, var(--ez-v-money));
  --ez-ground-2: color-mix(in srgb, var(--ez-ink-2) 86%, var(--ez-v-money));
  --ez-sel:      color-mix(in srgb, #262119 86%, var(--ez-v-money));
  --ez-rule:     color-mix(in srgb, #3a362f 82%, var(--ez-v-money));
}
[data-theme="light"] body.ez.ez--desk-staff, [data-theme="light"] body.ez.ez--desk-admin {
  --ez-ground:   color-mix(in srgb, var(--ez-bone) 94%, var(--ez-desk-staff-p));
  --ez-ground-2: color-mix(in srgb, #e2dac6 94%, var(--ez-desk-staff-p));
  --ez-sel:      color-mix(in srgb, #ddd2b8 94%, var(--ez-desk-staff-p));
  --ez-rule:     color-mix(in srgb, #c4baa3 90%, var(--ez-desk-staff-p));
}
[data-theme="light"] body.ez.ez--desk-owner {
  --ez-ground:   color-mix(in srgb, var(--ez-bone) 94%, var(--ez-v-money-p));
  --ez-ground-2: color-mix(in srgb, #e2dac6 94%, var(--ez-v-money-p));
  --ez-sel:      color-mix(in srgb, #ddd2b8 94%, var(--ez-v-money-p));
  --ez-rule:     color-mix(in srgb, #c4baa3 90%, var(--ez-v-money-p));
}

/* 30.2 Work comes to you: the count on the staff tab and the footer's Staff queues door. */
.ez-stnav__n { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 1px 6px 0;
  background: var(--ez-c-warn); color: var(--ez-ink); font: 800 14px/1 var(--ez-numbers); }
body.ez .ez-stnav a[aria-current="page"] .ez-stnav__n { background: var(--ez-on-hot); color: var(--ez-hot); }
.ez-foot__group a .ez-badge, .ez-sheet__foot a .ez-badge { margin-left: 6px; }

/* 30.3 The decision that takes something away: the grave confirm (freeze, close at reset, a closed voice), never the
   orange a note saves on; and the record's Freeze button weighted as the decision it is (review finding 20). */
.ez-btn--grave { border: 3px solid var(--ez-c-bad); background: var(--ez-ground); color: var(--ez-text); box-shadow: inset 8px 0 0 var(--ez-c-bad); padding-left: 24px; }
.ez-btn--grave:hover { background: var(--ez-c-bad); color: var(--ez-ink); }
.ez-ssheet__foot .ez-btn--grave { flex: 1 1 auto; }
.ez-sthead__acts .ez-stact--grave { border-color: var(--ez-c-bad); border-width: 2px; box-shadow: inset 4px 0 0 var(--ez-c-bad); }
.ez-sthead__acts .ez-stact--grave .ph { color: var(--ez-c-bad); }
.ez-sthead__acts .ez-stact--grave:hover .ph { color: inherit; }

/* 30.4 The sheet: What happens rides in the foot beside Confirm (finding 12); fields only for the choice they serve
   (finding 11): the address only for "everyone on an address", the box only for "people you pick". */
.ez-ssheet__foot .ez-ssheet__happens { flex-basis: 100%; margin: 0 0 2px; padding: 8px 12px; }
.ez-ssheet__foot .ez-ssheet__happens .ez-label { margin-bottom: 2px; }
.ez-ssheet__foot .ez-ssheet__happens p { font-size: 15px; line-height: 1.4; }
.ez-ssheet__only { display: none; }
form:has(input[name="scope"][value="address"]:checked) .ez-ssheet__only--address,
form:has(input[name="scope"][value="set"]:checked) .ez-ssheet__only--set,
form:has(input[name="group"][value="picked"]:checked) .ez-ssheet__only--picked { display: grid; gap: 6px; }
@supports not selector(:has(*)) { .ez-ssheet__only { display: grid; gap: 6px; } }
.ez-ssheet__reads { margin: 0 !important; padding: 10px 12px; border-left: 4px solid var(--ez-text-2); background: var(--ez-ground-2); font-size: 15px; line-height: 1.45; }
.ez-ssheet__reads .ez-label { display: block; margin-bottom: 2px; }
.ez-ssheet__readlist { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--ez-text-2); }
.ez-ssheet__app { display: grid; gap: 8px; margin: 0; }
.ez-ssheet__app dd { margin: 2px 0 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }

/* 30.5 The four 375 breaks (finding 19): the logins table stacks, the queue tabs become one select, the permissions
   table reads rank first, the wizard's strip keeps numbers and names only the step on now. */
.ez-sttabs-pick { display: none; }
.ez-stperms-ranks { display: none; }
/* The record's two-column layout makes the logins card narrow at 1200 too: its cells wrap instead of clipping. */
.ez-sttable--stack .ez-sttable td { white-space: normal; }
.ez-sttable--stack .ez-sttable td:first-child { white-space: nowrap; }
@media (max-width: 600px) {
  .ez-sttable--stack table, .ez-sttable--stack tbody, .ez-sttable--stack tr, .ez-sttable--stack td { display: block; }
  .ez-sttable--stack thead { display: none; }
  .ez-sttable--stack tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 8px 2px; border-bottom: 1px solid var(--ez-rule); }
  .ez-sttable--stack td { padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .ez-sttable--stack td:nth-child(1) { color: var(--ez-text-2); }
  .ez-sttable--stack td:nth-child(3) { grid-column: 1; }
  .ez-sttabs { display: none; }
  .ez-sttabs-pick { display: grid; gap: 4px; margin: 0 0 12px; }
  .ez-stperms { display: none; }
  .ez-stperms-ranks { display: grid; gap: 14px; }
  .ez-stperms-ranks .ez-h3 { margin: 0 0 4px; }
  .ez-wiz__steps { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; }
  .ez-wiz__step { padding: 6px 0 5px; justify-items: center; }
  .ez-wiz__step:not(.is-next) .ez-wiz__name { display: none; }
  .ez-wiz__step.is-next { grid-column: span 3; justify-items: start; padding-left: 6px; }
}

/* 30.6 The reset folded under "Reset the round" (finding 3). */
.ez-wizfold > summary { cursor: pointer; list-style: none; margin: 0; }
.ez-wizfold > summary::-webkit-details-marker { display: none; }
.ez-wizfold > summary h2::before { content: "+"; display: inline-block; width: 1em; color: var(--ez-text-2); }
.ez-wizfold[open] > summary { margin-bottom: 14px; }
.ez-wizfold[open] > summary h2::before { content: "\2212"; }

/* 30.7 The queues: Looked at on a shared address; the owner's figures that lead somewhere; the feed's two sides. */
.ez-stshared__seen { display: inline; margin-left: auto; }
.ez-stshared__head { align-items: center; }
.ez-owfigs a { color: inherit; text-decoration: none; }
.ez-owfigs a:hover { text-decoration: underline; }
.ez-stfeedtabs { margin: 0 0 12px; }
/* The owner home's doors (7 or 8 of them): four across from 701 up, two on a phone, and an odd last door takes two
   cells so no row is ragged. body.ez lifts these over block 26's :has() five-across rule without !important. */
body.ez .ez-owdoors, body.ez .ez-owdoors:has(> .ez-owdoor:nth-child(5)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.ez .ez-owdoors > .ez-owdoor:nth-child(7):last-child { grid-column: span 2; }
@media (max-width: 700px) {
  body.ez .ez-owdoors, body.ez .ez-owdoors:has(> .ez-owdoor:nth-child(5)) { grid-template-columns: 1fr 1fr; }
  body.ez .ez-owdoors > .ez-owdoor:nth-child(odd):last-child { grid-column: 1 / -1; }
}

/* 30.8 One ticket at the staff desk (staff/ticket.php): the head, the conversation, the answer, the rest. */
.ez-stticket { display: grid; gap: 16px; }
.ez-stticket__head { display: grid; gap: 6px; padding: 16px 18px; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); }
.ez-stticket__head .ez-h2, .ez-stticket__head p { margin: 0 !important; }
.ez-stticket__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ez-stlines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ez-stline { padding: 12px 14px; border: 1px solid var(--ez-rule); border-left: 4px solid var(--ez-text-2); }
.ez-stline--staff { border-left-color: var(--ez-v-count); background: var(--ez-ground-2); }
.ez-stline__by { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px !important; font-size: 15px; }
.ez-stline__body { margin: 0 !important; white-space: pre-line; overflow-wrap: anywhere; font-size: 16px; line-height: 1.5; }
.ez-stanswer { display: grid; gap: 8px; padding: 16px 18px; border: 2px solid var(--ez-text-2); }
.ez-stticket__more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ez-stticket__move { display: flex; align-items: center; gap: 8px; }

/* 30.9 Money (owner/money.php): the stuck deliveries, the two working cards, the packs as rows of their own forms. */
.ez-mnstuck__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: center; padding: 12px 2px; }
.ez-mnstuck__row .ez-note { margin: 4px 0 0 !important; }
.ez-mnstuck__go { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ez-mnstuck__go .ez-input { width: 16em; }
.ez-mnrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.ez-mnflood { display: grid; gap: 6px; align-content: start; }
.ez-mnflood .ez-input--num { max-width: 220px; }
/* The owner's line has six tabs and Go to: tighter tabs so it fits a 1200 screen without scrolling sideways. */
@media (min-width: 768px) and (max-width: 1499px) {
  body.ez .ez-stnav a, body.ez .ez-stnav .ez-stnav__find { padding: 0 11px; }
  .ez-stnav__find kbd { display: none; }
}
.ez-mnpool__name { margin: 0 0 10px !important; font-size: 17px; }
.ez-mnpacks { display: grid; }
.ez-mnpacks__cols, .ez-mnpack { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .8fr) auto; gap: 8px 12px; align-items: center; }
.ez-mnpacks__cols { padding: 0 0 6px; color: var(--ez-text-2); font: 600 13px/1.2 var(--ez-body); letter-spacing: .04em; text-transform: uppercase; }
.ez-mnpack { padding: 8px 0; border-top: 1px solid var(--ez-rule); }
.ez-mnpack .ez-input { min-height: 42px; width: 100%; }
.ez-mnpack__name b { display: block; }
.ez-mnpack__name small { color: var(--ez-text-2); font-size: 13px; }
.ez-mnpack__go { display: flex; gap: 6px; justify-content: flex-end; }
.ez-mnpack__err { grid-column: 1 / -1; margin: 0 !important; }
.ez-mnpack.is-bad .ez-input { border-color: var(--ez-c-bad); border-style: dashed; }
.ez-mnpack--new { background: var(--ez-ground); }
@media (max-width: 760px) {
  .ez-mnpacks__cols { display: none; }
  .ez-mnpack { grid-template-columns: 1fr 1fr; padding: 12px 0; }
  .ez-mnpack__name { grid-column: 1 / -1; }
  .ez-mnpack__go { grid-column: 1 / -1; justify-content: flex-start; }
  .ez-mnpack .ez-sr { position: static !important; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: normal; color: var(--ez-text-2); font-size: 13px; }
  .ez-mnpack__f { display: grid; gap: 2px; }
  .ez-mnstuck__row { grid-template-columns: 1fr; }
  .ez-mnstuck__go .ez-input { width: 100%; }
}

/* 30.10 Refused words (owner/words.php) and the news editor (admin/news.php). */
.ez-wdadd__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px 18px; align-items: end; }
.ez-wdadd__where { margin: 0; padding: 0; border: 0; display: grid; gap: 4px; }
.ez-wdlist { list-style: none; margin: 0; padding: 0; }
.ez-wdlist__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 14px; padding: 6px 0; border-bottom: 1px solid var(--ez-rule); }
.ez-wdlist__row .ez-btn--sm { min-height: 34px; font-size: 15px; padding: 0 10px; }
.ez-wdlist__w { font: 700 17px/1.2 var(--ez-body); overflow-wrap: anywhere; }
@media (max-width: 600px) { .ez-wdlist__row { grid-template-columns: minmax(0, 1fr) auto; } .ez-wdlist__scope { grid-column: 1 / -1; grid-row: 2; } }
.ez-wdlist__scope { display: inline-flex; align-items: center; gap: 6px; }
.ez-link-btn { border: 0; padding: 4px 2px; background: none; color: var(--ez-text-2); font: 500 14px/1.2 var(--ez-body); text-decoration: underline; cursor: pointer; min-height: 32px; }
.ez-link-btn:hover { color: var(--ez-text); }
.ez-nwedit { display: grid; gap: 6px; margin-bottom: 20px; }
.ez-nwedit__body { min-height: 260px; font-size: 16px; line-height: 1.5; }
body.ez a.ez-row.is-on { box-shadow: inset 4px 0 0 var(--ez-hot); background: var(--ez-sel); }
@media (max-width: 600px) { .ez-wdadd__row { grid-template-columns: 1fr; } }

/* 30.11 Game rules: the range under an open box clears the box's focus ring (finding 24). */
.ez-sset__row:focus-within .ez-sset__sub, .ez-sset__row.is-open .ez-sset__sub { margin-top: 9px !important; }

/* 30.12 Three surfaces on every staff and owner screen (owner, 2026-11-04: "I'm so sick of everything just blending
   in"). The ground; a raised surface a full step lighter, read as a card without its border; and the paper (the bone
   sheet) for the thing the screen is about (a ticket's player message, as a receipt is). Fields inside a raised card
   are the ink well, clearly darker. Measured (WCAG 2.x contrast), dark theme:
     game     ground #121110, raised #2d2a26 (step 1.32), paper #ece5d3: bone on raised 11.4, secondary 7.0, bad 6.3.
     staff    ground #281714, raised #473631 (step 1.50), paper #ece5d3: bone on raised 9.1, secondary 5.6, money 6.8,
              counts 7.0, good 6.7, warn 8.5, bad 5.0, turns 5.5. The raised keeps the brown-red cast (was the cool #423d43
              until 2026-11-04; 88% now, not 92%, so the ink well still reads at 1.65 on the darker red).
     owner    ground #312a19, raised #463e2c (step 1.35), paper #ece5d3: bone on raised 8.4, secondary 5.2, money 6.3,
              counts 6.5, good 6.2, warn 7.8, bad 4.6, turns 5.1. The raised keeps the brown cast.
   Ink on paper 15.0, secondary ink (#4b463d) on paper 7.5. The well (ink #121110) on a desk's raised: 2.0 step. */
body.ez { --ez-raised: color-mix(in srgb, var(--ez-ink-2) 92%, var(--ez-bone)); }
body.ez.ez--desk-staff, body.ez.ez--desk-admin { --ez-raised: color-mix(in srgb, color-mix(in srgb, var(--ez-ink-2) 86%, var(--ez-desk-staff)) 88%, var(--ez-bone)); }
body.ez.ez--desk-owner { --ez-raised: color-mix(in srgb, color-mix(in srgb, var(--ez-ink-2) 86%, var(--ez-v-money)) 93%, var(--ez-bone)); }
[data-theme="light"] body.ez, [data-theme="light"] body.ez.ez--desk-staff, [data-theme="light"] body.ez.ez--desk-admin, [data-theme="light"] body.ez.ez--desk-owner { --ez-raised: #fbf7ee; }
body.ez:is(.ez--desk-staff, .ez--desk-admin, .ez--desk-owner) :is(.ez-owcard, .ez-stsec, .ez-sthead, .ez-stcard, .ez-stfilter, .ez-owboard, .ez-statusrow) {
  background: var(--ez-raised); border-color: transparent; }
body.ez:is(.ez--desk-staff, .ez--desk-admin, .ez--desk-owner) .ez-owcard--hot { border-color: var(--ez-hot); }
/* Rows are cards of their own: the queue's rows, the desk's job rows, the record's lists sit on the raised with gaps. */
body.ez:is(.ez--desk-staff, .ez--desk-admin) .ez-stqueue > li,
body.ez:is(.ez--desk-staff, .ez--desk-admin, .ez--desk-owner) .ez-sec > .ez-list > .ez-row { background: var(--ez-raised); border: 0; margin: 0 0 6px; padding-left: 14px; padding-right: 14px; }
body.ez:is(.ez--desk-staff, .ez--desk-admin) .ez-stqueue > li:first-child,
body.ez:is(.ez--desk-staff, .ez--desk-admin, .ez--desk-owner) .ez-sec > .ez-list > .ez-row:first-child { border-top: 0; }
body.ez:is(.ez--desk-staff, .ez--desk-admin, .ez--desk-owner) .ez-sec > .ez-list > a.ez-row:hover,
body.ez:is(.ez--desk-staff, .ez--desk-admin) a.ez-stqueue__open:hover { background: var(--ez-sel); box-shadow: inset 4px 0 0 var(--ez-hot); }
/* The sheet: its ground is the ground, its foot (What happens and Confirm) the raised, its head already the paper. */
.ez-ssheet__foot { background: var(--ez-raised); border-top-color: transparent; }
.ez-ssheet__foot .ez-ssheet__happens { border-color: var(--ez-text-2); background: var(--ez-ground); }
/* Chips are filled, never outlines on the dark: bone on ink for a plain one, the mood colours with ink on them. */
body.ez .ez-stchip { background: var(--ez-text); color: var(--ez-ground); border-color: var(--ez-text); }
body.ez .ez-stchip--good { background: var(--ez-c-good); color: var(--ez-ink); border-color: var(--ez-c-good); }
body.ez .ez-stchip--warn { background: var(--ez-c-warn); color: var(--ez-ink); border-color: var(--ez-c-warn); }
body.ez .ez-stchip--bad { background: var(--ez-c-bad); color: var(--ez-ink); border-color: var(--ez-c-bad); }
body.ez .ez-stchip--staff { background: var(--ez-v-count); color: var(--ez-ink); border-color: var(--ez-v-count); }
[data-theme="light"] body.ez :is(.ez-stchip--good, .ez-stchip--warn, .ez-stchip--bad, .ez-stchip--staff) { color: var(--ez-bone); }

/* The ticket, first: the head raised, the player's words on paper, staff answers raised, the answer box raised with
   the ink well inside it, the actions on the ground. */
.ez-stline { border: 0; padding: 14px 18px; }
.ez-stline--paper { background: var(--ez-paper); color: var(--ez-on-paper); box-shadow: 4px 4px 0 rgb(0 0 0 / .35); }
.ez-stline--paper .ez-muted { color: var(--ez-paper-2); }
.ez-stline--paper .ez-stline__body { font-size: 17px; }
.ez-stline--staff { background: var(--ez-raised); border-left: 6px solid var(--ez-v-count); }
.ez-stanswer { border: 0; padding: 18px 20px 20px; }
.ez-stanswer .ez-textarea { background: var(--ez-ink); border-color: var(--ez-text-2); }
.ez-stticket__head .ez-h2 { font-size: 26px; }

/* Shared addresses: one raised card per address, the address in the number face with its label, a row per account. */
.ez-stshared.ez-stcard { padding: 14px 18px 8px; margin: 0 0 14px; border: 0 !important; }
.ez-stshared__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin: 0 0 8px; }
.ez-stshared__addr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 !important; }
body.ez a.ez-stshared__ip { font: 800 26px/1 var(--ez-numbers); letter-spacing: .02em; color: var(--ez-text); text-decoration: none; }
body.ez a.ez-stshared__ip:hover { text-decoration: underline; }
.ez-stshared__meta { color: var(--ez-text-2); font-size: 15px; }
.ez-stshared__seen { margin: 0; }
.ez-stshared__table th { color: var(--ez-text-2); font-weight: 600; }
/* END 30 STAFF FIXES */

/* 39. THE DROP: the membership add-on on checkout.php, and the moment a paid buy lands. .co-drop--run is set by block 39
   of assets/app.js, so with no script or with reduced motion the finished receipt simply shows. */
.co-addon { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 10px; align-items: center; margin-top: 18px; padding: 14px 16px; border: 2px solid currentColor; cursor: pointer; }
.co-addon input { width: 20px; height: 20px; margin: 0; accent-color: var(--ez-hot); }
.co-addon__head { display: flex; justify-content: space-between; gap: 12px; font-size: 19px; }
.co-addon__lines { grid-column: 2; list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; font-size: 16px; }
.co-receipt .co-door { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; max-width: none; }
.co-drop { position: relative; overflow: hidden; }
.co-drop__stamp { transform: rotate(-3deg); transform-origin: left center; }
.co-hit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin: 24px 0 8px; }
.co-hit__n { font: 900 76px/1 var(--ez-display); letter-spacing: .01em; }
.co-hit__w { font: 700 20px/1.2 var(--ez-body); }
@media (max-width: 767px) { .co-hit__n { font-size: 54px; } }
.co-beat { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed currentColor; }
.co-beat .ez-copy { margin: 0; flex: 1 1 220px; }
.co-beat__num { font-size: 1.35em; }
.co-pack { position: absolute; inset: 0; z-index: 3; }
.co-pack::after { content: ''; position: absolute; inset: 0; border: 3px solid var(--ez-hot); pointer-events: none; }
.co-pack.is-open { pointer-events: none; }
.co-pack.is-open::after { display: none; }
.co-pack__half { position: absolute; left: 0; right: 0; height: 50%; display: flex; justify-content: center; padding: 16px; background: var(--ez-ink, #14110d); color: var(--ez-bone, #efe7d6); transition: transform 420ms cubic-bezier(.65, 0, .2, 1); }
.co-pack__half--top { top: 0; align-items: flex-end; padding-bottom: 22px; border-bottom: 4px dashed var(--ez-hot); font: 900 34px/1.1 var(--ez-display); letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.co-pack__half--bottom { bottom: 0; align-items: flex-start; padding-top: 22px; }
@media (max-width: 767px) { .co-pack__half--top { font-size: 26px; } }
.co-pack.is-open .co-pack__half--top { transform: translateY(-101%); }
.co-pack.is-open .co-pack__half--bottom { transform: translateY(101%); }
.co-drop--run .co-drop__stamp { opacity: 0; transform: rotate(-3deg) scale(1.9); }
.co-drop--run.is-stamped .co-drop__stamp { opacity: 1; transform: rotate(-3deg) scale(1); transition: transform 200ms cubic-bezier(.3, 0, .1, 1), opacity 80ms linear; }
.co-drop--run .co-beat { opacity: 0; transform: translateY(8px); }
.co-drop--run.is-member .co-beat { opacity: 1; transform: none; transition: opacity 260ms ease-out, transform 260ms ease-out; }
.co-drop--run.is-member .co-beat__mark { animation: co-mark-on 620ms ease-out both; }
@keyframes co-mark-on { 0% { color: var(--ez-text-2); } 45% { color: var(--ez-hot); } 100% { color: inherit; } }
.ez-hturns.co-hot b { color: var(--ez-hot); }
@media (prefers-reduced-motion: reduce) { .co-pack { display: none; } }
/* END 39 THE DROP */

/* 37. PLAYER FIXES ---------------------------------------------------------------------------------------------------
   The player-side review (docs/REVIEW_PLAYER_2026-11-04.md), each from the page's job; the surfaces rule (owner,
   2026-11-04) on every page touched: the thing the page is about on a surface a full step lighter (--ez-raised, 30.12)
   or on paper, the controls on the ground, no card carried by a border alone. */

/* 37.1 A run the page already knows will be refused (finding 3; Downtown's way): the button greys, the run's own answer
   sits right under it in the note's quiet voice. */
.ez-runwhy { margin: 10px 0 0; color: var(--ez-text); }
.ez-runwhy[hidden] { display: none; }
.ez-runwhy a { white-space: nowrap; }

/* 37.2 The needs line's soft supply (finding 4): a supply that never stops the run (condoms, a cook's beer). Short, it
   says "lowers their mood" in the warn colour with the shortfall and the door; never "short" in the action colour. */
.ez-needs__soft { display: none; color: var(--ez-c-warn); font: 600 13px/1.25 var(--ez-body); white-space: nowrap; }
.ez-needs__slot[data-state="soft"] .ez-needs__soft, .ez-needs__slot[data-state="soft"] .ez-needs__f { display: flex; }
.ez-needs__slot[data-state="soft"] .ez-needs__m { background: color-mix(in srgb, var(--ez-c-warn) 24%, transparent); }
.ez-needs__slot[data-state="soft"] .ez-needs__m::before { background: var(--ez-c-warn); }
.ez-needs__slot[data-state="soft"] .ez-needs__short .ez-n { color: var(--ez-c-warn); }

/* 37.3 Recruit at 375 (finding 17): the price list folds into a picker in the pinned bar, beside the button, so the bar
   is one row high and never covers the spots; the form leaves room under the last spot for it. No script, no fold. */
.rc-turnsel { display: none; }
@media (max-width: 767px) {
  .ez-rc.is-js .rc-turns { display: none; }
  .ez-rc.is-js .rc-go { grid-template-columns: 112px minmax(0, 1fr); align-items: stretch; }
  .ez-rc.is-js .rc-go > :not(.rc-turnsel):not(button) { grid-column: 1 / -1; }
  .ez-rc.is-js .rc-turnsel { display: flex; min-width: 0; }
  .ez-rc.is-js .rc-turnsel .ez-select { width: 100%; min-width: 0; min-height: 56px; }
  .ez-rc.is-js .rc-go .ez-btn { font-size: 16px; white-space: nowrap; padding-inline: 8px; }
  .ez-rc.is-js .rc-turnsel .ez-select { padding-inline: 8px 22px; font-size: 15px; }
  .ez-rc.is-js { padding-bottom: 96px; }
  .ez-rc.is-js:has(.ez-runwhy:not([hidden])) { padding-bottom: 168px; }
}
.ez-rc--list .rc-list { background: var(--ez-raised); border-top: 0; }

/* 37.4 The cartel office (finding 5): the cards and the What happens panel on the raised, no border holding them up;
   No undo is a red head over its card, not a dashed frame; Close stands on the raised with its red edge. */
body.ez a.cx-opt { background: var(--ez-raised); border-color: transparent; }
body.ez a.cx-opt:hover { background: color-mix(in srgb, var(--ez-raised) 86%, var(--ez-bone)); border-color: transparent; }
body.ez a.cx-opt--danger:hover { border-color: var(--ez-hot); }
.cx-opt__ic { background: var(--ez-ground); border-color: transparent; }
.cx-noundo { padding: 0; border: 0; }
body.ez .cx-noundo .cx-grp__h { padding-bottom: 8px; border-bottom: 2px solid var(--ez-hot); }
.cx-what { background: var(--ez-raised); border-color: transparent; }
.cx-hold > .cx-grp { background: var(--ez-raised); }
.cx-last { background: var(--ez-raised); }
.cx-what .ez-input, .cx-last .ez-input { background: var(--ez-field); }

/* 37.5 Most Wanted (finding 6; owner, 2026-11-05). Under the poster, one control says whose board this is. The world
   leads it: on a city's board it is the orange button, the one way out to the whole world; on the world's board it is
   the lit place you are standing (the sel tint, the orange bar along its foot, the tabs' "you are here"). His city and
   any other city follow as the plain keys, and whichever of them holds the board on show is lit the same way. The
   other boards are a quiet line of links at the foot of the page, under the count. The board's rows on the raised. */
.mw-scope { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 0 0 18px; }
.mw-scope__more { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; min-width: 0; }
body.ez .mw-scope__world { gap: 10px; min-height: 52px; padding: 0 22px 0 16px; }
.mw-scope__globe { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
body.ez a.mw-scope__here { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 16px; cursor: default;
  background: var(--ez-sel); color: var(--ez-text); text-decoration: none; box-shadow: inset 0 -4px 0 var(--ez-hot);
  font: 900 18px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
body.ez a.mw-scope__here.mw-scope__world { font-size: 21px; }
.mw-scope__pick { display: flex; gap: 8px; margin: 0; }
body.ez .mw-scope__pick .ez-select { height: 100%; min-height: 44px; font: 900 18px/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; }
body.ez .mw-scope__pick.is-current .ez-select { background-color: var(--ez-sel); color: var(--ez-text); box-shadow: inset 0 -4px 0 var(--ez-hot); }
@media (max-width: 767px) {   /* the world takes the first line; his city and the picker share the second */
  body.ez .mw-scope__world { flex: 1 1 100%; }
  .mw-scope__more { flex: 1 1 100%; flex-wrap: nowrap; }
  .mw-scope__more > * { flex: none; min-width: 0; }
  .mw-scope__more > .mw-scope__pick { flex: 1 1 0; }
  body.ez .mw-scope__more .ez-btn, body.ez .mw-scope__more a.mw-scope__here { padding: 0 10px; }
  body.ez .mw-scope__pick .ez-select { width: 100%; }
}
/* The other boards: one quiet line at the foot, the board on show in bone, the rest grey until pointed at. */
.mw-boards { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; margin: 28px 0 0; font-size: var(--ez-fs-small); color: var(--ez-text-2); }
.mw-boards__k { margin-right: 12px; font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
body.ez .mw-boards a { color: var(--ez-text-2); text-decoration: none; white-space: nowrap; }
body.ez .mw-boards a + a::before { content: "\00b7"; display: inline-block; padding: 0 10px; color: var(--ez-rule); text-decoration: none; }
body.ez .mw-boards a:hover { color: var(--ez-text); text-decoration: underline; text-decoration-thickness: 1px; }
body.ez .mw-boards a[aria-current="page"] { color: var(--ez-text); font-weight: 700; }
.ez-notice + .cx-opts { margin-top: 14px; }
.mw-table tbody td { background: var(--ez-raised); }
.mw-table tbody tr.ez-panel td { background: color-mix(in srgb, var(--ez-raised) 93%, var(--ez-bone)); }
.mw-table tr[aria-current="true"] td { background: var(--ez-sel); }
.mw-table td { border-top-color: var(--ez-ground); }
@media (max-width: 767px) {   /* each row is a small grid on a phone: the row carries the surface, not its cells */
  .mw-table tbody tr { background: var(--ez-raised); border-top-color: var(--ez-ground); }
  .mw-table tbody tr.ez-panel { background: color-mix(in srgb, var(--ez-raised) 93%, var(--ez-bone)); }
  .mw-table tbody td, .mw-table tbody tr.ez-panel td { background: none; }
  .mw-table tr[aria-current="true"] { background: var(--ez-sel); }
}

/* 37.6 The mailbox's lists (notices, hits, the inbox; findings 9 and 10): the rows on the raised, the head bar's
   controls on the ground; a run folded into one row says how many times, beside its title. */
.ez-mailbox { background: var(--ez-raised); border-color: transparent; }
.ez-mailbox__bar, .ez-mailbox__pages { background: var(--ez-ground); border-color: var(--ez-rule); }
.ez-mailrow { border-top-color: var(--ez-ground); }
.ez-mailrow:nth-child(even) { background: color-mix(in srgb, var(--ez-raised) 93%, var(--ez-bone)); }
.ez-mailrow:hover { background: color-mix(in srgb, var(--ez-raised) 84%, var(--ez-bone)); }
.ez-fold-n { flex: none; margin-left: 10px; padding: 1px 7px; background: var(--ez-text); color: var(--ez-ground); font: 800 14px/1.3 var(--ez-numbers); letter-spacing: .04em; }

/* 37.7 The cartel board (finding 18): the system's square rows, not chat bubbles. Each post is a row across the panel,
   the poster's name over his words; yours sit on the selected tint with You at the head. The panel is the raised, the
   send bar the ground with a square field and the system's button. */
.ez-chat.ez-board { border-radius: 0; border-color: transparent; background: var(--ez-raised); }
.ez-board .ez-chat__head { background: var(--ez-ground); }
.ez-board .ez-chat__face, .ez-board__face, .ez-board__del { border-radius: 0; }
.ez-board .ez-chat__log { gap: 0; padding: 8px 0; }
.ez-board .ez-bub, .ez-board .ez-bub.is-mine { align-self: stretch; align-items: stretch; max-width: none; gap: 2px; margin: 0; padding: 8px 16px; }
.ez-board .ez-bub.is-first { border-top: 1px solid var(--ez-ground); padding-top: 12px; }
.ez-board .ez-bub.is-mine { background: var(--ez-sel); }
.ez-board .ez-bub.is-mine.is-first::before { content: "You"; font: 700 14px/1.2 var(--ez-body); color: var(--ez-text); }
.ez-board .ez-bub__text, .ez-board .ez-bub.is-mine .ez-bub__text { padding: 0; border-radius: 0; background: none; color: var(--ez-text); }
.ez-board .ez-bub__meta { padding: 0; }
.ez-board .ez-board__bub .ez-board__line, .ez-board .ez-board__bub > .ez-bub__meta { margin-left: 36px; }
.ez-board .ez-chat__send { background: var(--ez-ground); }
.ez-board .ez-chat__send textarea { border-radius: 0; background: var(--ez-field); }
.ez-board .ez-chat__send .ez-btn { border-radius: 0; font: 800 17px/1 var(--ez-numbers); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 767px) { .ez-board .ez-bub, .ez-board .ez-bub.is-mine { padding: 8px 12px; } .ez-board .ez-board__bub .ez-board__line, .ez-board .ez-board__bub > .ez-bub__meta { margin-left: 0; } }

/* 37.8 Attack: the out-of-reach line over the target (finding 11). The man lined up is what the page is about: his
   column on the raised; the hits and the button stay on the ground. */
.ez-atk__out { margin: 0 0 14px; }
.ez-atk .ez-cols > section:first-child { align-self: start; padding: 16px 18px 18px; background: var(--ez-raised); }
.ez-atk .ez-cols > section:first-child .ez-radio:has(input:checked) { background: var(--ez-sel); }

/* END 37 PLAYER FIXES */

/* 38. VOICE: the game talking back (rules/voice.php, config/voice.php). A refusal or receipt line is somebody on the crew
   saying it; the voice line on a receipt sits beside its numbers, never over them (the owner, set 4). One mark only:
   the orange edge of a thing being said, the way a stencil tag sits on a wall. Links inside a line ("Buy some.") are
   the way out and read as one. The effects that can ride on a line are in assets/ambience.css (VOICE block). */
.ez-says { margin: 12px 0 0; padding: 2px 0 2px 12px; border-left: 3px solid var(--ez-hot); font-weight: 600; line-height: 1.45; }
.ez-lines > li.ez-says { list-style: none; margin-top: 8px; }
.ez-receipt .ez-says, .ez-card .ez-says { color: var(--ez-on-paper); }
.ez-mailbox__none.ez-says { border-left-color: var(--ez-hot); }
.ez-says--foot { margin: 16px 0 0; font-weight: 500; font-size: var(--ez-fs-small); }   /* the talk track: its own quiet row at a card's foot, above the action (owner, 2026-11-04) */
.ez-says--foot + .ez-says--foot { margin-top: 8px; }
.ez-mailev__says { margin-top: 6px; font-size: var(--ez-fs-small); color: var(--ez-text-2); }
a.ez-says__go { color: var(--ez-hot-text); font-weight: 800; text-decoration-thickness: 2px; white-space: nowrap; }
a.ez-says__go:hover, a.ez-says__go:focus-visible { color: var(--ez-text); text-decoration-style: solid; }
:is(.ez-receipt, .ez-card) a.ez-says__go, :is(.ez-card, .ez-receipt) .ez-notice--here a.ez-says__go { color: inherit; }
.ez-fx { display: none; }

/* The payoff band (owner, 2026-11-04, on the B&E receipt: "I don't think we need a giant 'you took 150 million' at the
   top, but I think we need a more pronounced 'thugs also made away with 150 million dollars'"). The headline keeps
   the outcome and the dead; the prize under it drops to one quiet line; the foot line is where the eye lands last before
   the button: heading weight, its figure set big in its colour (between the small print and the dead in size). */
body.ez .ez-says--pay { margin: 22px 0 18px; padding: 10px 0 10px 16px; border-left: 4px solid var(--ez-hot); font: 700 var(--ez-fs-h3)/1.4 var(--ez-body); max-width: 62ch; }
body.ez .ez-says--pay .ez-n { font-size: 1.75em; line-height: .9; vertical-align: -.06em; }
/* A voice line's values in their family colours (rules/voice.php marks them; lib/html.php msg_html() draws them): the
   house tokens, so paper and ground each get their own side. Names in bold, in the line's own colour. */
.ez-vv.ez-v-count { color: var(--ez-c-count); }
.ez-vv.ez-n { font-size: 1.08em; }
.ez-vv--name { font-weight: 800; color: inherit; }

/* A refused hit (results.php, 40 RECEIPT): the card edged in the bad colour; ambience.css keys the cop light on .atk-fight--refusal. */
body.ez .atk-fight--refusal { border-color: var(--ez-c-bad); }   /* thin: the 2px edge only, nothing to fight the light behind it (owner, 2026-11-04) */
body.ez .atk-fight--refusal .atk-hd { border-bottom-color: var(--ez-c-bad); }

/* The target's name in the receipt header is his page (owner: "The profile isn't linked anywhere"): underlined like the city. */
body.ez .atk-hd__what a.ez-who { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
body.ez .atk-hd__what a.ez-who:hover, body.ez .atk-hd__what a.ez-who:focus-visible { color: var(--ez-hot-text); }
/* END 38 VOICE */

/* 40. RECEIPT ------------------------------------------------------------------------------------------------------
   results.php designed whole (owner, 2026-11-04: "that whole page is so hideous"), on the mmpires port's skeleton
   (14.7: the card, the header line, the stage, the level rows, the small print). Everything here hangs off .rc, the
   receipt card, so it outranks the patches in 38 without touching other pages. One reading order, top to bottom:
   who and what; the outcome, loudest; the fight; the small print; then the foot, where the eye lands last: the voice
   line (on a take, the payoff band with its figure big in its colour), the seven hits as one quiet strip, the button
   that names the picked one. A refusal is the same card in its bad state: the line is the headline, the edge is red,
   and the foot says what can still be done. Every figure in its family colour (3.). */
.rc { --atk-pad: 32px; }
body.ez .rc .atk-hd { padding: 14px 0 12px; }
body.ez .rc .atk-hd__what .ez-uname { font-size: 15px; letter-spacing: .04em; text-transform: none; }
.rc-hd__gone { font-weight: 700; color: var(--ez-c-bad); }

/* The stage: the outcome alone in the middle (the prize moved to the foot), the dead either side of it. */
.rc .atk-stage { padding: 26px 0 22px; align-items: center; }
.rc .atk-win__v { font-size: clamp(46px, 5.6vw, 66px); line-height: .9; }
.rc .atk-dead__n { font-size: clamp(42px, 4.6vw, 56px); }
.rc .atk-dead__w { display: block; margin-top: 6px; }
.rc .atk-dead__c { display: block; margin: 6px 0 0; }
.rc .atk-dead__c .ez-n { font-size: 13px; }

/* The fight: the rows as the port drew them, the figures in the count colour. */
.rc .atk-rows { margin-top: 0; }
.rc .atk-rows dd .ez-n { font-size: 17px; }
.rc .atk-rows > .atk-rows__h dd { color: var(--ez-text-2); }

/* Who walked: one line on the hot edge, however many crews went (the port drew one box per crew). */
body.ez .rc .rc-walk { margin-top: 14px; padding: 9px 14px; border: 2px solid var(--ez-hot); font-size: 14px; line-height: 1.5; color: var(--ez-text); }
.rc-walk__h { color: var(--ez-hot-text); }
.rc-walk .ez-n { font-size: 16px; }

/* The small print: two quiet columns, the figures still in colour. */
.rc .atk-small { margin-top: 14px; padding-top: 10px; gap: 4px 28px; }
.rc .atk-small .ez-n { font-size: 14px; }
.rc .atk-small .ez-vv.ez-n { font-size: 14px; }

/* The voice line at the foot, above the way onward (owner: "that can go at the bottom of it, above Hit again"). */
body.ez .rc .rc-says { margin-top: 20px; padding: 2px 0 2px 14px; max-width: 60ch; font: 600 16px/1.5 var(--ez-body); color: var(--ez-text); }
body.ez .rc .rc-says .ez-vv.ez-n { font-size: 1.15em; }

/* The payoff band: a take is the last thing read before the button, on its own band across the card, the figure set
   big in gold (owner: "a more pronounced 'thugs also made away with 150 million dollars'"). */
body.ez .rc .rc-pay { margin: 22px 0 0; padding: 18px var(--atk-pad) 20px calc(var(--atk-pad) - 6px); background: var(--ez-sel);
  border-left: 6px solid var(--ez-c-money); border-top: 1px solid var(--ez-rule); border-bottom: 1px solid var(--ez-rule);
  font: 700 20px/1.45 var(--ez-body); color: var(--ez-text); }
body.ez .rc .rc-pay .ez-vv.ez-n { font-size: 1.35em; line-height: 1; }
body.ez .rc .rc-pay .ez-vv.ez-v-money { font-size: 2.1em; vertical-align: -.08em; letter-spacing: .005em; }
body.ez .rc .rc-pay + .rc-next { border-top: 0; }

/* A refusal: the line is the headline, large, left, its figures in colour (owner: "just a larger 'your thugs spotted
   the cops and blah blah' ... every dynamic number gets that highlight"). The red edge says the state; no stock word. */
body.ez .rc .atk-refused { margin-top: 26px; margin-bottom: 0; max-width: 34ch; font: 700 clamp(24px, 2.7vw, 31px)/1.28 var(--ez-body); color: var(--ez-text); }
body.ez .rc .atk-refused .ez-vv.ez-n { font-size: 1.2em; }
body.ez .rc .atk-refused a.ez-says__go, body.ez .rc .rc-why a.ez-says__go { font: inherit; }
body.ez .rc .atk-refused a.ez-says__go { white-space: normal; }
body.ez .rc.rc--no .atk-small { margin-top: 14px; padding-top: 0; border-top: 0; }

/* The way onward. The strip: the seven hits as one segmented row, short names, the turns beside each, the picked one
   lit in bone; a hit that cannot apply to him is dimmed with its reason on hover. Links, so it works without scripts. */
.rc-next { margin-top: 22px; padding: 18px 0 var(--atk-pad); border-top: 2px solid var(--ez-rule); }
body.ez .rc .rc-next__h { margin: 0 0 8px; font: 700 var(--ez-fs-micro)/1.2 var(--ez-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ez-text-2); }
.rc-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--ez-rule); border: 1px solid var(--ez-rule); }
.rc-seg { --rc-t: var(--ez-c-turns); display: flex; align-items: baseline; justify-content: center; gap: 6px; min-height: 44px; padding: 13px 4px 0;
  background: var(--ez-ground); color: var(--ez-text-2); white-space: nowrap;
  font: 800 13px/1 var(--ez-numbers); letter-spacing: .07em; text-transform: uppercase; }
body.ez a.rc-seg { text-decoration: none; }
.rc-seg__t { font-size: 17px; letter-spacing: 0; color: var(--rc-t); }
body.ez a.rc-seg:hover { background: var(--ez-sel); color: var(--ez-text); }
body.ez a.rc-seg:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--ez-text); outline-offset: -3px; }
body.ez a.rc-seg[aria-current="true"] { --rc-t: var(--ez-v-turns-p); background: var(--ez-bone); color: var(--ez-ink); }
:root[data-theme="light"] body.ez a.rc-seg[aria-current="true"] { --rc-t: var(--ez-v-turns); background: var(--ez-ink); color: var(--ez-bone); }
.rc-seg.is-out { color: var(--ez-text-2); opacity: .38; cursor: not-allowed; }
.rc-seg.is-out .rc-seg__n { text-decoration: line-through; text-decoration-thickness: 1px; }
.rc-go { margin: 12px 0 0; }
body.ez .rc .rc-why { margin: 10px 0 0; font: 600 15px/1.4 var(--ez-body); color: var(--ez-text); }
body.ez .rc .rc-why[hidden] { display: none; }
.rc-why a.ez-says__go { white-space: nowrap; }

/* Shut out of this man (the cops, a mark that is gone, his range...): the dim button with the reason, and the live way. */
.rc-next--shut .rc-go { margin-top: 0; }
.rc-next--shut #atk-again { min-height: 52px; font-size: 21px; }
.rc-else { margin-top: 16px; }

body.ez .rc-onward { max-width: 760px; margin: 14px auto 0; color: var(--ez-text-2); }
body.ez:has(.rc) .ez-footnotes { max-width: 760px; margin-left: auto; margin-right: auto; }

@media (max-width: 767px) {
  .rc { --atk-pad: 16px; }
  .rc .atk-stage { grid-template-columns: 1fr 1fr; grid-template-areas: "win win" "me him"; gap: 18px 12px; padding: 22px 0 16px; }
  .rc .atk-win__v { font-size: 50px; }
  .rc .atk-dead__n { font-size: 44px; }
  body.ez .rc .rc-pay { font-size: 18px; }
  .rc-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rc-strip > :last-child { grid-column: span 2; }
  .rc-seg { flex-direction: column; align-items: center; gap: 3px; min-height: 52px; padding: 9px 2px 7px; font-size: 11.5px; letter-spacing: .05em; }
  .rc-seg__t { font-size: 17px; }
  body.ez .rc .atk-refused { font-size: 23px; }
  .rc-next--shut #atk-again { font-size: 19px; }
  .rc .ez-btn--lg { min-height: 54px; font-size: 21px; }
}
/* 40 STOP: a refusal is the red bar (owner, 2026-11-05, picking B of storage/wip/refusal: "the red bar overlay is good,
   that can be where the little animations can play in the background behind it"). lib/page.php page_stop_bar() prints
   it where the page put its line; assets/app.js 40 STOP lays it in the primary button's slot, runs it across the content
   column, dims everything else and plays the line's effect behind it. It is the only red surface in the game, so it
   reads as a stop by colour alone. The word at the left behind a hairline, the line large in bone with its numbers in
   their families (lifted a step so they hold on the red), the one way out quiet at the right. On a phone it is the
   pinned action bar, stacked. Without the script it sits where it was printed and the actbar's own button steps aside. */
.ez-stop { --stop-red: #a8242a; position: relative; z-index: 20; isolation: isolate; overflow: hidden; box-sizing: border-box;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 22px; margin: 6px 0 0; padding: 20px 26px;
  background: var(--stop-red); color: var(--ez-bone); box-shadow: 0 18px 40px rgb(0 0 0 / .5); }
.ez-stop__word { align-self: stretch; display: flex; align-items: center; padding-right: 22px; border-right: 1px solid rgb(255 236 230 / .35);
  font: 800 13px/1.1 var(--ez-body); letter-spacing: .2em; text-transform: uppercase; color: rgb(255 236 230 / .88); white-space: nowrap; }
body.ez .ez-stop > .ez-notice { margin: 0 !important; padding: 0; border: 0; background: none; color: var(--ez-bone);
  font: 700 23px/1.32 var(--ez-body); text-wrap: pretty; }
.ez-stop .ez-vv.ez-n { font-size: 1.12em; }
.ez-stop .ez-v-turns { color: #ffc89f; }
.ez-stop .ez-v-money { color: #ffe08a; }
.ez-stop .ez-v-count { color: #ffd9b8; }
.ez-stop .ez-vv--name { color: #fff; }
body.ez .ez-stop a.ez-says__go { color: inherit; }
.ez-stop__dup { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.ez a.ez-stop__out { font: 600 14px/1.2 var(--ez-body); color: rgb(255 236 230 / .9); white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
body.ez a.ez-stop__out:hover, body.ez a.ez-stop__out:focus-visible { color: #fff; }
body.ez .ez-stop :focus-visible { outline-color: #fff; }

/* The rest of the page steps back (assets/app.js marks it; the frame by the body class). */
.ez-stop-dim { opacity: .3 !important; filter: saturate(.4); }   /* over any page rule that sets its own opacity */
body.is-stopped :is(.ez-side, .ez-foot, .ez-footnotes) { opacity: .3; filter: saturate(.4); }
/* the frame's pinned pieces keep their ground (content scrolls under them): they darken instead of fading */
body.is-stopped :is(.ez-top, .ez-tabs), body.is-stopped :is(.ez-top, .ez-tabs).ez-stop-dim { opacity: 1 !important; filter: brightness(.5) saturate(.4); }

/* The button and its answer step aside while the bar stands (assets/app.js); without the script, in an actbar too. */
body.ez [data-stop-off] { display: none !important; }
.ez-actbar:has(> .ez-stop) > :is(.ez-btn--primary, [data-why-out]) { display: none; }

/* The effect behind the words, inside the bar, under a second; assets/app.js builds and removes it. */
.ez-stop__fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; animation: fx-life 1000ms linear forwards; }
.ez-stop__fx i, .ez-stop__fx b { position: absolute; display: block; }
.ez-stop .fx-rock { left: var(--x); top: var(--y); width: calc(22px * var(--s)); height: calc(18px * var(--s)); opacity: 0;
  background: radial-gradient(circle at 34% 30%, #fffdf6 0 10%, #efe4c6 34%, #c9b787 70%, #8f7c4f);
  clip-path: polygon(8% 38%, 22% 10%, 47% 0%, 70% 12%, 92% 6%, 100% 40%, 86% 72%, 94% 92%, 60% 100%, 36% 86%, 12% 96%, 0% 66%);
  filter: drop-shadow(0 0 6px rgb(255 245 220 / .6)); transform: rotate(var(--r)) scale(0);
  animation: fx-rock 820ms cubic-bezier(.2, .9, .3, 1) var(--d) forwards; }
.ez-stop .fx-bang { left: var(--x); top: var(--y); opacity: 0; font: 900 64px/1 var(--ez-display); color: rgb(255 214 200 / .5);
  transform: rotate(var(--r)) scale(2.2); animation: fx-bang 700ms cubic-bezier(.2, .9, .3, 1) var(--d) forwards; }
.ez-stop .fx-glass { left: 0; top: 0; bottom: 0; width: var(--w, 150px); overflow: hidden; }
.ez-stop .fx-glass::before { content: ""; position: absolute; inset: 0; transform: translateY(100%);
  background: linear-gradient(to top, rgb(214 128 10 / .95), rgb(244 176 40 / .85) 80%, rgb(255 246 220 / .95) 82%, rgb(255 250 235 / .6) 90%, transparent 94%);
  animation: fx-pour 900ms cubic-bezier(.3, .7, .3, 1) forwards; }
.fx-shake { animation: fx-shake 520ms ease; }
.ez-hturns.fx-shake .ez-n { color: var(--ez-c-bad); }
.ez-stop b.fx-shake { display: inline-block; }

@keyframes fx-life { from { opacity: 1; } to { opacity: 1; } }
@keyframes fx-rock { 0% { opacity: 0; transform: rotate(var(--r)) scale(0); } 18% { opacity: 1; transform: rotate(var(--r)) scale(1.35); }
  36% { transform: rotate(var(--r)) scale(.9); } 60% { opacity: 1; transform: rotate(calc(var(--r) + 12deg)) translateY(-8px) scale(1.05); }
  100% { opacity: 0; transform: rotate(calc(var(--r) + 30deg)) translateY(-24px) scale(.9); } }
@keyframes fx-bang { 0% { opacity: 0; transform: rotate(var(--r)) scale(2.2); } 20% { opacity: 1; transform: rotate(var(--r)) scale(.92); }
  32% { transform: rotate(var(--r)) scale(1.05); } 72% { opacity: 1; transform: rotate(var(--r)) scale(1); } 100% { opacity: 0; transform: rotate(var(--r)) scale(1.1); } }
@keyframes fx-pour { 0% { transform: translateY(100%); } 42% { transform: translateY(4%); } 58% { transform: translateY(8%); } 100% { transform: translateY(100%); } }
@keyframes fx-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

@media (max-width: 767px) {
  .ez-stop { position: fixed; left: 0; right: 0; bottom: calc(var(--ez-tabs-h) + env(safe-area-inset-bottom)); z-index: 21; margin: 0;
    grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px var(--ez-gutter) 16px; box-shadow: 0 -10px 30px rgb(0 0 0 / .5); }
  .ez-stop__word { padding-right: 0; border-right: 0; font-size: 12px; }
  body.ez .ez-stop > .ez-notice { font-size: 19px; }
  .ez-actbar:has(> .ez-stop) > :not(.ez-stop) { display: none; }
  body.ez:has(.ez-stop) .ez-main { padding-bottom: calc(var(--ez-tabs-h) + 260px); }
  .ez-stop .fx-bang { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) { .ez-stop__fx { display: none; } .fx-shake { animation: none; } }
@media print { .ez-stop__fx { display: none; } }

/* END 40 RECEIPT */

/* 41. LOGIN AS, AND THE STAFF STRIP ON A PROFILE (owner, 2026-11-05: "The Login As as well as some other owner tools are not
   showing on player profiles"). Two pieces, both on tokens the system already has.
   41.1 The bar under the header on every page while a staff member is signed in as a player (lib/page.php page_acting_bar):
   the staff desk's colour, so it reads as the staff side of the page, with the one way back. Bone on --ez-desk-staff is 4.8
   (the light theme's darker --ez-desk-staff-p, 6.6); the button is bone with ink on it, 15.0, and swaps on hover. */
.ez-asbar { background: var(--ez-desk-staff); color: var(--ez-bone); border-bottom: 2px solid var(--ez-bone); }
[data-theme="light"] .ez-asbar { background: var(--ez-desk-staff-p); }
.ez-asbar__in { max-width: 1280px; margin: 0 auto; padding: 8px var(--ez-gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; }
.ez-asbar__line { margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; font: 600 17px/1.25 var(--ez-body); overflow-wrap: anywhere; }
.ez-asbar__line .ph { flex: none; font-size: 22px; }
.ez-asbar__line b { font-weight: 800; }
.ez-asbar__form { margin: 0; }
body.ez .ez-asbar .ez-btn { background: var(--ez-bone); border-color: var(--ez-bone); color: var(--ez-ink); }
body.ez .ez-asbar .ez-btn:hover, body.ez .ez-asbar .ez-btn:focus-visible { background: var(--ez-ink); border-color: var(--ez-bone); color: var(--ez-bone); }
body.ez .ez-asbar .ez-btn b { font-weight: 800; }
@media (max-width: 767px) {
  .ez-asbar__in { padding-top: 10px; padding-bottom: 10px; }
  .ez-asbar__form, .ez-asbar__btn { width: 100%; }
}

/* 41.2 The staff strip at the foot of a profile (profile.php): one row of the quick tools his rank opens, then, from Admin up,
   a quiet line of three facts. The raised surface of the three-surfaces rule (30.12) on a game page: the staff desk's tint for
   staff, the owner desk's for the owner, a full step lighter than the ground, no border holding it up (an inset edge in the
   desk's tint marks whose it is). Measured as 30.12: bone on the staff raised 9.1, on the owner raised 8.4; the secondary line
   5.6 and 5.2. The row wraps; on a phone two tools to a line. */
.pf-sf { --pf-sf: color-mix(in srgb, color-mix(in srgb, var(--ez-ink-2) 86%, var(--ez-desk-staff)) 88%, var(--ez-bone));
  margin: 22px 0 0; padding: 14px 18px 14px; background: var(--pf-sf); color: var(--ez-text); box-shadow: inset 4px 0 0 var(--ez-desk-staff); }
.pf-sf--owner { --pf-sf: color-mix(in srgb, color-mix(in srgb, var(--ez-ink-2) 86%, var(--ez-v-money)) 93%, var(--ez-bone)); box-shadow: inset 4px 0 0 var(--ez-v-money); }
[data-theme="light"] .pf-sf, [data-theme="light"] .pf-sf--owner { --pf-sf: #fbf7ee; }
.pf-sf__k { margin: 0 0 10px; color: var(--ez-text-2); font: 700 13px/1.2 var(--ez-body); letter-spacing: .1em; text-transform: uppercase; }
.pf-sf__k span { font-weight: 400; letter-spacing: 0; text-transform: none; }
.pf-sf__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-sf__grave { border-color: var(--ez-c-bad); border-width: 2px; box-shadow: inset 4px 0 0 var(--ez-c-bad); }
.pf-sf__grave .ph { color: var(--ez-c-bad); }
.pf-sf__grave:hover .ph { color: inherit; }
.pf-sf__facts { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 12px 0 0; color: var(--ez-text-2); font-size: 15px; }
.pf-sf__facts b { color: var(--ez-text); font-weight: 600; }
@media (max-width: 767px) {
  .pf-sf { padding: 12px 14px; }
  .pf-sf__row .ez-btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
}
/* END 41 LOGIN AS */

/* 42. UNLOCK: how a badge lands (owner, 2026-11-06, over the first Xbox-style takeover). lib/page.php page_unlock() prints
   it; assets/app.js 42 UNLOCK plays it. Colour first, then the words; how hard the badge is sets the colour (--ez-u-tier),
   the silence and how much the screen does. Blackout: the first page after a login. The corner card: during play, nothing
   stops, then it shrinks to the tab. Everything here stays dark in either theme. */
[data-unlock] { --ez-u-tier: var(--ez-bone); }
html.ez-unlock-open { overflow: hidden; }
.ez-unlock { position: fixed; inset: 0; z-index: 80; overflow: hidden; background: #090807; color: var(--ez-bone); }
.ez-unlock[hidden] { display: none; }
.ez-unlock canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ez-unlock__shafts { filter: blur(26px); }
.ez-unlock__bloom { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(ellipse 60% 46% at 50% 46%, var(--ez-u-tier), transparent 70%); }
.ez-unlock__hair { position: absolute; left: 50%; top: 46%; width: 100vw; height: 2px; margin-top: -1px; opacity: 0; transform: translateX(-50%) scaleX(0); background: var(--ez-u-tier); box-shadow: 0 0 22px var(--ez-u-tier); }
.ez-unlock__hair.is-go { animation: ez-u-hair var(--ez-u-hair, 700ms) cubic-bezier(.3, 0, .1, 1) both; }
.ez-unlock__say { position: absolute; left: 50%; top: 46%; width: min(900px, calc(100vw - 32px)); max-height: calc(100vh - 32px); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 16px; text-align: center; }
.ez-unlock__say.is-drift { animation: ez-u-drift 9s linear both; }
body.ez .ez-unlock__title { margin: 0; opacity: 0; font: 900 clamp(46px, 8.6vw, 112px)/.95 var(--ez-numbers); letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; color: var(--ez-bone); }
body.ez .ez-unlock__title[data-long] { font-size: clamp(38px, 6vw, 78px); }
.ez-unlock__title.is-resolve { animation: ez-u-resolve var(--ez-u-res, 1000ms) cubic-bezier(.16, .8, .24, 1) both; }
.ez-unlock__line { max-width: 44ch; opacity: 0; transform: translateY(8px); transition: opacity 500ms ease-out, transform 500ms ease-out; font: 500 clamp(16px, 2.2vw, 20px)/1.4 var(--ez-body); text-wrap: pretty; }
.ez-unlock__who { max-width: 52ch; opacity: 0; transition: opacity 500ms ease-out; font: 600 15px/1.35 var(--ez-body); color: var(--ez-u-tier); text-wrap: balance; }
.ez-unlock__line.is-on, .ez-unlock__who.is-on { opacity: 1; transform: none; }
.ez-unlock__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
body.ez .ez-unlock__done, body.ez a.ez-unlock__again { padding: 10px 26px; background: none; border: 1px solid var(--ez-bone-2); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 400ms; color: var(--ez-bone); font: 600 16px/1.2 var(--ez-body); text-decoration: none; }
body.ez a.ez-unlock__again { display: none; }
body.ez .ez-unlock__done.is-on, body.ez a.ez-unlock__again.is-on { display: inline-block; opacity: 1; pointer-events: auto; }
body.ez .ez-unlock__done:hover, body.ez a.ez-unlock__again:hover { background: var(--ez-bone); color: var(--ez-ink); }
body.ez .ez-unlock__x { position: absolute; z-index: 2; top: calc(14px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; background: none; border: 1px solid #3a362f; cursor: pointer; color: var(--ez-bone-2); font: 400 24px/1 var(--ez-body); }

/* During play: the line of light, the corner card, the tab it shrinks to. */
.ez-unlock__dim { position: fixed; inset: 0; z-index: 60; opacity: 0; pointer-events: none; background: rgb(9 8 7 / .72); transition: opacity 500ms ease-out; }
.ez-unlock__dim.is-on { opacity: 1; }
.ez-unlock__run { position: fixed; z-index: 61; left: 0; right: 0; top: 0; height: 2px; opacity: 0; pointer-events: none; transform: scaleX(0); transform-origin: left; background: var(--ez-u-tier); box-shadow: 0 0 16px var(--ez-u-tier); }
.ez-unlock__run.is-go { animation: ez-u-run 900ms ease-out both; }
.ez-unlock__card { position: fixed; z-index: 62; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 24px; width: min(440px, calc(100vw - 32px)); display: grid; gap: 7px; padding: 18px 22px 18px 26px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px); cursor: pointer; text-align: left; background: #171512; border: 1px solid #3a362f; color: var(--ez-bone); transition: transform 380ms cubic-bezier(.2, .8, .2, 1), opacity 240ms, visibility 0s 240ms; }
.ez-unlock__card.is-on { opacity: 1; visibility: visible; transform: none; transition: transform 380ms cubic-bezier(.2, .8, .2, 1), opacity 240ms; }
.ez-unlock__card.is-on.is-min { opacity: 0; transform: translate(34%, 34%) scale(.3); transition: transform 300ms ease-in, opacity 300ms ease-in; }
.ez-unlock__card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ez-u-tier); box-shadow: 0 0 22px 3px var(--ez-u-tier); }
.ez-unlock__card::after { content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none; background: linear-gradient(90deg, var(--ez-u-tier), transparent 62%); }
.ez-unlock__card.is-on::after { animation: ez-u-wash 1100ms ease-out both; }
.ez-unlock__card.is-top { width: min(560px, calc(100vw - 32px)); padding-block: 24px; }
.ez-unlock__kick { font: 600 12px/1 var(--ez-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ez-u-tier); }
.ez-unlock__ct { opacity: 0; transform: translateY(6px); transition: opacity 320ms, transform 320ms; font: 900 32px/1 var(--ez-numbers); letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
.ez-unlock__card.is-top .ez-unlock__ct { font-size: 46px; }
.ez-unlock__cl { opacity: 0; transition: opacity 400ms; font: 400 15px/1.35 var(--ez-body); color: var(--ez-bone-2); }
.ez-unlock__cw { opacity: 0; transition: opacity 400ms; font: 600 14px/1.35 var(--ez-body); color: var(--ez-u-tier); }
.ez-unlock__ct.is-on { opacity: 1; transform: none; }
.ez-unlock__cl.is-on, .ez-unlock__cw.is-on { opacity: 1; }
.ez-unlock__tab { position: fixed; z-index: 62; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 24px; display: flex; align-items: stretch; max-width: min(340px, calc(100vw - 32px)); background: #171512; border: 1px solid #3a362f; box-shadow: 0 6px 24px rgb(0 0 0 / .5); color: var(--ez-bone); animation: ez-u-arrive 260ms ease-out both; }
.ez-unlock__tab[hidden] { display: none; }
body.ez .ez-unlock__tabopen { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: none; border: 0; cursor: pointer; color: var(--ez-bone); font: 600 15px/1.2 var(--ez-body); }
.ez-unlock__tabopen i { flex: none; width: 3px; height: 18px; background: var(--ez-u-tier); box-shadow: 0 0 10px 1px var(--ez-u-tier); }
.ez-unlock__tabopen span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.ez .ez-unlock__tabx { flex: none; width: 40px; background: none; border: 0; border-left: 1px solid #3a362f; cursor: pointer; color: var(--ez-bone-2); font: 400 20px/1 var(--ez-body); }
body.ez .ez-unlock__tabopen:hover, body.ez .ez-unlock__tabx:hover { background: #24211c; color: var(--ez-bone); }
@media (max-width: 767px) {
  .ez-unlock__card, .ez-unlock__tab { right: 16px; bottom: calc(var(--ez-tabs-h) + 12px + env(safe-area-inset-bottom, 0px)); }
  .ez-unlock__card.is-top .ez-unlock__ct { font-size: 34px; }
}
/* The tour card is the thing a new player must be able to press, so the tab gives way: it rides above the card, by the
   card's own height (assets/app.js 17 TOUR keeps --tr-h on the page), and a card set beside its target (anchored) is
   always above the tab if the two ever meet. Same corner and same gap, so it reads as a stack. */
body.ez:has(.tr:not(.tr--anchored)) .ez-unlock__tab { bottom: calc(24px + var(--tr-h, 0px) + 12px); }
body.ez:has(.tr--anchored) .ez-unlock__tab { z-index: 20; }
@media (max-width: 767px) {
  body.ez:has(.tr:not(.tr--anchored)) .ez-unlock__tab { bottom: calc(var(--ez-tabs-h) + var(--tr-h, 0px) + 12px + env(safe-area-inset-bottom, 0px)); }
}

@keyframes ez-u-hair { 0% { opacity: 1; transform: translateX(-50%) scaleX(0) scaleY(1); } 45% { opacity: 1; transform: translateX(-50%) scaleX(1) scaleY(1); } 100% { opacity: 0; transform: translateX(-50%) scaleX(1) scaleY(120); } }
@keyframes ez-u-resolve { from { opacity: 0; letter-spacing: .3em; filter: blur(16px); } 40% { opacity: 1; } to { opacity: 1; letter-spacing: .01em; filter: blur(0); } }
@keyframes ez-u-drift { from { transform: translate(-50%, -50%) scale(1); } to { transform: translate(-50%, -50%) scale(1.035); } }
@keyframes ez-u-run { 0% { opacity: 1; transform: scaleX(0); } 70% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes ez-u-wash { 0% { opacity: .55; } 100% { opacity: .05; } }
@keyframes ez-u-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ez-unlock__say.is-drift { animation: none; }
  .ez-unlock__title.is-resolve { animation: none; opacity: 1; }
  .ez-unlock__hair, .ez-unlock__bloom { display: none; }
}
/* END 42 UNLOCK */

/* 43. ACHIEVEMENTS PAGE: a list, newest first, one badge a row: a medal in its tier colour (the unlock's colour: bone,
   ember, gold), the title and how it was earned, who else has it, and on the right how rare and the day. Dark in either theme. */
.ez-ach__bar { height: 4px; margin-top: 10px; background: #2a2722; }
.ez-ach__bar i { display: block; height: 100%; background: #f2c14e; }
.ez-ach { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 2px; }
.ez-ach__row { --t: #ece5d3; position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 28px; align-items: center; min-height: 116px; padding: 16px 22px 16px 16px; background: #171512; color: var(--ez-bone); }
.ez-ach__row--t1 { --t: #ff9a5c; }
.ez-ach__row--t2 { --t: #f2c14e; background: linear-gradient(90deg, color-mix(in srgb, var(--t) 11%, #171512), #171512 60%); }
.ez-ach__row.is-new::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--t); }
.ez-ach__medal { width: 84px; height: 84px; display: grid; place-items: center; border: 2px solid var(--t); background: #0f0e0c; color: var(--t); font-size: 42px; }
.ez-ach__row--t1 .ez-ach__medal { box-shadow: 0 0 12px color-mix(in srgb, var(--t) 45%, transparent); }
.ez-ach__row--t2 .ez-ach__medal { background: var(--t); color: #121110; box-shadow: 0 0 18px color-mix(in srgb, var(--t) 55%, transparent); }
body.ez .ez-ach__title { margin: 0; font: 700 19px/1.2 var(--ez-body); color: var(--ez-bone); }
body.ez .ez-ach__row--t2 .ez-ach__title { color: var(--t); }
.ez-ach__new { margin-left: 8px; padding: 2px 6px; border: 1px solid var(--t); color: var(--t); font: 700 11px/1 var(--ez-body); letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.ez-ach__line { margin: 4px 0 0; max-width: 76ch; font: 400 15px/1.4 var(--ez-body); color: var(--ez-bone-2); text-wrap: pretty; }
.ez-ach__who:empty { display: none; }
.ez-ach__who { margin: 6px 0 0; font: 600 13px/1.35 var(--ez-body); color: var(--t); }
.ez-ach__end { display: grid; gap: 4px; justify-items: end; text-align: right; }
.ez-ach__tier { font: 700 12px/1 var(--ez-body); letter-spacing: .1em; text-transform: uppercase; color: var(--t); }
.ez-ach__day { font: 400 13px/1.2 var(--ez-body); color: var(--ez-bone-2); white-space: nowrap; }
@media (max-width: 640px) {
  .ez-ach__row { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 18px; align-items: start; min-height: 0; padding: 14px 14px 14px 14px; }
  .ez-ach__medal { width: 48px; height: 48px; font-size: 24px; }
  body.ez .ez-ach__title { font-size: clamp(15px, 4.4vw, 17px); }
  .ez-ach__line { font-size: clamp(12.5px, 3.6vw, 14px); }
  .ez-ach__who { font-size: clamp(12px, 3.3vw, 13px); }
  .ez-ach__tier { font-size: 11px; }
  .ez-ach__day { font-size: 12px; }
  .ez-ach__new { margin-left: 6px; font-size: 10px; }
  .ez-ach__end { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-items: start; text-align: left; }
}
/* END 43 ACHIEVEMENTS PAGE */

/* 44. FRONT DOOR (index.php, owner 2026-11-07): one picture does the selling, as the 2001-2005 doors did. The first
   screen is the skyline from a roof, darkened, with its live lights (skyline-lights.svg) over it; the round line and
   the log-in sit in its black band, with Sign up loud at the right. Sign up, Register and How it plays scroll through
   the night down to the street, where the sign-up stands over the underpass (night-street.webp) and its neon
   (night-neon.svg). --fd-night is the page's night between the two pictures. */
html:has(body.ez--landing .fd) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.ez--landing .fd) { scroll-behavior: auto; } }
body.ez--landing:has(.fd) { --fd-night: #030508; background: var(--fd-night); overflow-x: hidden; }
body.ez--landing:has(.fd) .ez-top { display: none; }
body.ez--landing:has(.fd) .ez-shell--public { max-width: none; padding: 0; }
body.ez--landing:has(.fd) .ez-main { padding: 0; }
/* A message that lands on the front door (logged out, a new password saved, the rules refused) is said large in the empty
   sky, centred, no box. A plain note fades after a few seconds; bad news stays until he leaves */
body.ez--landing:has(.fd) .ez-main > .ez-notice { position: absolute; z-index: 3; left: 50%; top: clamp(150px, 24vh, 260px); transform: translateX(-50%);
  width: min(100% - 48px, 820px); margin: 0 !important; padding: 0; border: 0; background: none; pointer-events: none; text-align: center;
  color: var(--ez-bone); font: 900 clamp(30px, 4vw, 52px)/1.05 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 2px 28px rgb(0 0 0 / .95); }
body.ez--landing:has(.fd) .ez-main > .ez-notice--bad { color: #ff7a6b; }
/* A way out in the message sits under it, small and quiet, and takes clicks */
body.ez--landing:has(.fd) .ez-main > .ez-notice a.ez-says__go { display: block; width: fit-content; margin: 14px auto 0; pointer-events: auto; color: var(--ez-bone-2);
  font: 600 15px/1.4 var(--ez-body); letter-spacing: 0; text-transform: none; text-shadow: none; }
body.ez--landing:has(.fd) .ez-main > .ez-notice a.ez-says__go:hover { color: var(--ez-bone); }
body.ez--landing:has(.fd) .ez-main > :is(.ez-notice--info, .ez-notice--ok) { animation: fd-say 6s ease forwards; }
@keyframes fd-say { 0% { opacity: 0; } 8%, 78% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { body.ez--landing:has(.fd) .ez-main > .ez-notice { animation: none; } }
/* A frozen account (index.php .fd-said) is said the same way, with why and until when, then the way to staff, small */
.fd-said { position: absolute; z-index: 3; left: 50%; top: clamp(150px, 24vh, 260px); transform: translateX(-50%); width: min(100% - 48px, 820px); text-align: center; text-shadow: 0 2px 28px rgb(0 0 0 / .95); }
.fd-said__big { margin: 0; color: #ff7a6b; font: 900 clamp(30px, 4vw, 52px)/1.05 var(--ez-numbers); letter-spacing: .04em; text-transform: uppercase; }
body.ez .fd-said p { margin-left: auto; margin-right: auto; text-align: center; }
body.ez .fd-said__why { max-width: 56ch; margin-top: 16px; color: var(--ez-bone); font: 500 16px/1.5 var(--ez-body); }
.fd-said__go { margin: 12px 0 0; font: 600 15px/1.4 var(--ez-body); }
body.ez .fd-said__go a { color: var(--ez-bone-2); }
body.ez .fd-said__go a:hover { color: var(--ez-bone); }
.fd { color: var(--ez-bone); background: var(--fd-night); }
.fd-wrap { box-sizing: border-box; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.fd a { color: var(--ez-bone-2); }
.fd a:hover { color: var(--ez-bone); }
.fd .ez-input { background: rgb(3 5 8 / .72); border-color: #6e685e; }
.fd .ez-label { color: var(--ez-bone-2); }
.fd-btn { min-height: 50px; padding: 0 32px; box-shadow: none; border-color: var(--ez-hot); font: 900 20px/1 var(--ez-numbers); letter-spacing: .08em; text-transform: uppercase; }
.fd-btn--big { min-height: 56px; font-size: 22px; }

/* The roof: the skyline fills the first screen, anchored on its black rooftop band, which is where the door goes */
.fd-roof { position: relative; height: clamp(680px, 62.5vw, 960px); min-height: 100svh; overflow: hidden; }
.fd-roof__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% bottom; max-width: none; }
/* The photo itself sits darker so the night reads first; its live lights (inside <picture>) stay at full strength */
.fd-roof > .fd-roof__img { filter: brightness(.62); }
.fd-roof::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(to bottom, transparent, var(--fd-night)); pointer-events: none; }
.fd-top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding-top: 28px; }
.fd-top__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; }
body.ez .fd-mark { margin: 0; }
body.ez .fd-mark .ez-mark { font-size: clamp(44px, 4.4vw, 64px); line-height: .9; letter-spacing: .03em; color: var(--ez-bone); }
body.ez .fd-tag { margin: 8px 0 0; color: var(--ez-hot); font: 900 18px/1 var(--ez-numbers); letter-spacing: .12em; text-transform: uppercase; }
.fd-nav { display: flex; flex-wrap: wrap; gap: 0 24px; padding-top: 6px; }
body.ez .fd-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ez-bone-2); text-decoration: none; font: 800 16px/1 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; }
body.ez .fd-nav a:hover, body.ez .fd-nav .fd-nav__lit { color: var(--ez-bone); }
/* The door sits up under the skyline, in the top of the black band, not down at the fold */
.fd-door { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14%; }
.fd-door__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; }
.fd-door__in { display: grid; gap: 18px; }
/* The newcomer's way in is the loud one; the log-in is for players who already know the door */
.fd-door__new { display: grid; justify-items: end; gap: 10px; }
body.ez .fd-door__ask { margin: 0; color: var(--ez-bone); font: 900 18px/1 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; }
body.ez .fd .fd-btn--down { display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 44px; color: var(--ez-ink); font-size: 26px; text-decoration: none; }
body.ez .fd .fd-btn--quiet { background: transparent; border: 1px solid var(--ez-bone-2); color: var(--ez-bone); }
body.ez .fd .fd-btn--quiet:hover { border-color: var(--ez-bone); background: rgb(236 229 211 / .08); }
body.ez .fd-line { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--ez-bone-2); font-size: var(--ez-fs-small); }
.fd-line b { color: var(--ez-bone); }
.fd-line .ez-dot { vertical-align: 1px; }
.fd-login { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 16px; }
.fd-login .ez-field { flex: 1 1 200px; max-width: 250px; }
body.ez .fd-more { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--ez-bone-2); font-size: var(--ez-fs-small); }
body.ez .fd .fd-more__lit { color: var(--ez-bone); font-weight: 700; }

/* The drop: plain night, the fall between the roof and the street */
.fd-drop { height: clamp(80px, 12vw, 200px); }

/* The street: the picture is the ground the sign-up stands on. The form sits in the dark of the overpass at the top
   of the frame; the tag, the deal, the car and the corner stay in view under and beside it */
.fd-street { position: relative; min-height: clamp(760px, 66.7vw, 1080px); overflow: hidden; scroll-margin-top: 0; }
.fd-street__row { position: relative; z-index: 1; display: flex; justify-content: center; padding-top: clamp(40px, 5vw, 80px); padding-bottom: 40px; }
.fd-street__row::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: min(980px, 100%); height: 120%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgb(3 5 8 / .78), rgb(3 5 8 / 0)); }
.fd-join { width: 100%; max-width: 640px; display: grid; gap: 16px; }
.fd-join__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
body.ez .fd-join__title { margin: 0; color: var(--ez-bone); font: 900 44px/1 var(--ez-display); letter-spacing: .02em; }
body.ez .fd-join__lede { margin: 0 0 4px; color: var(--ez-bone-2); font-size: 15px; line-height: 1.5; }
body.ez .fd-join .ez-select { background-color: rgb(3 5 8 / .85); border: 1px solid #6e685e; color: var(--ez-bone); }
/* Errors on the log-in and the sign-up: no boxes. The sign-up's summary is one line with a red edge; a wrong field gets
   a red edge and one plain line under it (the log-in's one line runs under its row), in a red light enough to read on
   the night */
.fd { --fd-bad: #ff7a6b; }
.fd-join .ez-notice--here { margin: 0 !important; }
body.ez .fd-join .ez-notice--bad { padding: 10px 14px; border: 0; border-left: 3px solid var(--fd-bad); background: rgb(255 122 107 / .1); color: var(--ez-bone); font-weight: 600; }
body.ez .fd :is(.fd-join, .fd-login) .is-bad :is(.ez-input, .ez-select) { border-color: var(--fd-bad); box-shadow: inset 0 0 0 1px var(--fd-bad); }
body.ez .fd :is(.fd-join, .fd-login) .is-bad .ez-label { color: var(--fd-bad); }
body.ez .fd-login__err { flex: 1 0 100%; margin: -4px 0 0; font-size: 15px; }
body.ez .fd-err a { color: inherit; text-decoration: underline; }
body.ez .fd .op-pw__eye { color: var(--ez-bone-2); }
body.ez .fd .op-pw__eye:hover { color: var(--ez-bone); }
body.ez .fd .op-pw__eye:focus-visible { outline-color: var(--ez-bone); }
.fd-eye svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fd-eye .fd-eye__slash { display: none; }
.fd-eye[aria-pressed="true"] .fd-eye__slash { display: inline; }
body.ez .fd-join .is-bad .ez-check input { outline: 2px solid var(--fd-bad); outline-offset: 2px; }
body.ez .fd-err { margin: 6px 0 0; color: var(--fd-bad); font-size: 14px; font-weight: 600; line-height: 1.35; }
.fd-join .ez-check span { color: var(--ez-bone-2); font-size: var(--ez-fs-small); }
.fd-street__floor { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 90%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 90%, transparent); }

.fd-foot { border-top: 1px solid rgb(236 229 211 / .12); }
.fd-foot__row { display: flex; flex-wrap: wrap; gap: 4px 26px; padding-top: 14px; padding-bottom: 14px; }
body.ez .fd-foot a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }

@media (max-width: 767px) {
  .fd-roof { height: 920px; min-height: 0; }
  body.ez--landing:has(.fd) .ez-main > .ez-notice, .fd-said { top: 190px; }
  body.ez--landing:has(.fd) .ez-main > .ez-notice, .fd-said__big { font-size: 28px; }
  .fd-roof__img { bottom: auto; height: 470px; }
  .fd-door { bottom: 0; padding-bottom: 44px; }
  .fd-door__row { flex-direction: column; align-items: stretch; }
  .fd-door__new { order: -1; justify-items: stretch; }
  body.ez .fd .fd-btn--down { justify-content: center; }
  .fd-roof::after { bottom: auto; top: 380px; height: 90px; }
  .fd-login .ez-field { max-width: none; flex-basis: 100%; }
  .fd-join__fields { grid-template-columns: 1fr; }
  body.ez .fd-join__title { font-size: 36px; }
}
/* Narrow windows: the picture can not show whole behind the form, so it sits at the bottom of the section, kept to its
   left side (the tag, the deal, the car) and the section grows under the button so that much of the scene shows */
@media (max-width: 1023px) {
  .fd-street { --fd-floor: clamp(560px, 80vw, 760px); min-height: 0; padding-bottom: calc(var(--fd-floor) * .5); }
  .fd-street__floor { top: auto; height: var(--fd-floor); object-position: 10% bottom; }
}
/* END 44 FRONT DOOR */


/* 45. BUY TURNS (turns.php, checkout.php, tpl/buy_sheet.php; app.js 39). The prototype the owner approved on 2026-11-08
   ("I like it, run it"; storage/wip/buy_turns_prototype), point for point in the game's tokens: a calm shop of pricing
   cards, so that the unlock is the one loud thing the game does. Everything before it holds still on purpose. The shop
   sits on the page's own surfaces (light theme too); the overlay, the sheet in it and the moment are always the dark
   look, so they map the surfaces back to the dark palette. Buttons here are body type in sentence case (owner ruling). */
.bt { --bt-dim: var(--ez-dot-off); container: bt / inline-size; display: grid; gap: 22px; max-width: 1040px; margin-top: 8px; }
[data-theme="light"] .bt { --bt-dim: var(--ez-paper-2); }
.bt p, .bt h2, .bt-drop p, .bt-drop h2 { margin: 0; }
.bt-card { position: relative; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); color: var(--ez-text); transition: transform 180ms ease-out, border-color 180ms ease-out, background-color 180ms ease-out; }
.bt-card::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ez-c-turns); transform: scaleX(0); transition: transform 240ms ease-out; }
.bt-btn { display: block; width: 100%; background: transparent; border: 2px solid var(--ez-text-2); color: var(--ez-text); padding: 10px 12px; cursor: pointer; text-align: center;
  font: 700 17px/1.1 var(--ez-body); text-transform: none; letter-spacing: 0; transition: background-color 140ms, color 140ms, border-color 140ms; }
@media (hover: hover) {
  .bt-card:hover { transform: translateY(-3px); border-color: var(--ez-text-2); background: var(--ez-sel); }
  .bt-card:hover::before { transform: scaleX(1); }
  .bt-card:hover .bt-btn { background: var(--ez-hot); border-color: var(--ez-hot); color: var(--ez-on-hot); }
}
@media (hover: none) { .bt-btn { background: var(--ez-hot); border-color: var(--ez-hot); color: var(--ez-on-hot); } }
body.ez .bt-btn:focus-visible, .bt input:focus-visible, .bt-drop input:focus-visible { outline: 2px solid var(--ez-v-turns); outline-offset: 3px; }
.bt-btn--go, body.ez a.bt-btn--go { background: var(--ez-hot); border-color: var(--ez-hot); color: var(--ez-on-hot); font-size: 18px; padding: 14px 18px; text-decoration: none; }

.bt-member { display: grid; grid-template-columns: auto minmax(0, 1fr) 220px; gap: 10px 24px; align-items: center; padding: 16px 20px; }
.bt-member:not(:has(.bt-member__n)) { grid-template-columns: minmax(0, 1fr) 220px; }
.bt-member__n { font-size: 58px; color: var(--ez-text); }
.bt-member p { color: var(--ez-text-2); max-width: 52ch; }
.bt-packs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.bt-pack { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 18px 14px 14px; text-align: center; }
.bt-pack__price { font: 900 44px/1 var(--ez-numbers); color: var(--ez-c-money); }
.bt-pack__turns .ez-n { display: block; font-size: 32px; color: var(--ez-c-turns); }
.bt-pack__turns > span:last-child { color: var(--ez-text-2); font-size: 14px; }
.bt-pack__small { color: var(--bt-dim); font-size: 14px; line-height: 1.35; min-height: 38px; }
.bt-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--ez-text); color: var(--ez-ground); font: 700 11px/1 var(--ez-body); letter-spacing: .07em; text-transform: uppercase; padding: 4px 7px; white-space: nowrap; }
.bt-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(280px, calc(50% - 6px)), 1fr)); gap: 12px; }   /* two across, as the prototype; your own amount keeps its half when no pool is open */
.bt-own { padding: 14px 16px; display: grid; gap: 8px; align-content: start; }
.bt-own h2 { font: 800 22px/1.1 var(--ez-numbers); text-transform: uppercase; letter-spacing: .02em; }
.bt-own p { color: var(--ez-text-2); font-size: 15px; }
.bt-own .bt-v { color: var(--ez-c-turns); font-size: 17px; }
.bt-ask { display: grid; grid-template-columns: auto 86px minmax(0, 1fr); gap: 8px; align-items: center; }
.bt-ask label { color: var(--ez-text); }
.bt-ask input { width: 100%; background: var(--ez-field); border: 1px solid var(--ez-rule); color: var(--ez-text); padding: 8px; font: 800 20px/1 var(--ez-numbers); border-radius: 0; }
@container bt (max-width: 790px) {
  .bt-member, .bt-member:not(:has(.bt-member__n)) { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .bt-member .bt-btn { max-width: 280px; }
  .bt-packs { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .bt-pack { grid-template-columns: 76px minmax(0, 1fr) 96px; grid-template-rows: auto auto; text-align: left; align-items: center; padding: 14px; }
  .bt-pack__small { grid-column: 2; min-height: 0; }
  .bt-pack .bt-btn { grid-column: 3; grid-row: 1 / span 2; }
  .bt-pack__price { grid-row: 1 / span 2; font-size: 36px; }
}

/* The overlay: the sheet over the store, and the moment over the receipt. The top bar stays above it, so the turns in
   it count up with the moment. */
.bt-drop { --ez-ground: var(--ez-ink); --ez-ground-2: var(--ez-ink-2); --ez-text: var(--ez-bone); --ez-text-2: var(--ez-bone-2); --ez-rule: #3a362f; --ez-field: var(--ez-ink);
  --ez-c-turns: var(--ez-v-turns); --ez-c-money: var(--ez-v-money); --ez-c-2: var(--ez-bone-2); --bt-dim: var(--ez-dot-off);
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 72px 20px 24px; overflow: auto; color-scheme: dark;
  background: rgba(9, 8, 7, .97); color: var(--ez-bone); opacity: 0; transition: opacity 320ms ease-out; }   /* the prototype's near-black, exactly; at rest the shop shows through 3% and no more */
.bt-drop.is-on { opacity: 1; }
body.bt-on .ez-top { position: relative; z-index: 61; }
body.bt-on :is(.ez-unlock__card, .ez-unlock__tab) { visibility: hidden; }   /* a badge's corner card waits until the overlay closes */
body.ez [data-live="turns"].bt-hot { color: var(--ez-bone); }
.bt-sparks { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bt-bloom { position: fixed; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at center, var(--bt-tier) 0%, transparent 62%); }
.bt-bloom.is-go { animation: bt-bloom var(--bt-ring) ease-out both; }
@keyframes bt-bloom { 0% { opacity: var(--bt-peak); } 100% { opacity: 0; } }
.bt-slit { position: fixed; left: 50%; top: 50%; width: 100vw; height: 2px; background: var(--ez-paper-hi); transform: translate(-50%, -50%) scaleX(0); pointer-events: none; opacity: 0; }
.bt-slit.is-go { animation: bt-slit 420ms cubic-bezier(.3, 0, .1, 1) both; }
@keyframes bt-slit { 0% { opacity: 1; transform: translate(-50%, -50%) scaleX(0) scaleY(1); } 45% { opacity: 1; transform: translate(-50%, -50%) scaleX(1) scaleY(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scaleX(1) scaleY(70); } }

.bt-x { position: fixed; z-index: 61; top: calc(84px + env(safe-area-inset-top, 0px)); right: max(20px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; background: none;
  border: 1px solid var(--ez-rule); color: var(--ez-bone); cursor: pointer; font: 400 26px/1 var(--ez-body); transition: border-color 140ms; }
.bt-x:hover { border-color: var(--ez-bone-2); }
body.ez .bt-x:focus-visible { outline: 2px solid var(--ez-v-turns); outline-offset: 3px; }
@media (max-width: 767px) { .bt-x { top: calc(70px + env(safe-area-inset-top, 0px)); } }

.bt-sheet { position: relative; width: min(440px, 100%); display: grid; gap: 14px; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); color: var(--ez-text); padding: 20px; }
.bt-sheet--page { margin-top: 8px; }
.bt-sheet p, .bt-sheet h2 { margin: 0; }
.bt-sheet__name { font: 800 26px/1.1 var(--ez-numbers); text-transform: uppercase; letter-spacing: .02em; }
.bt-sheet__row { display: flex; justify-content: space-between; gap: 12px; color: var(--ez-text-2); }
.bt-sheet__gets { color: var(--ez-text-2); font-size: inherit; }
.bt-addon { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px; padding: 12px; border: 1px solid var(--ez-text-2); cursor: pointer; }
.bt-addon input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ez-hot); }
.bt-addon small { grid-column: 2; color: var(--ez-text-2); font-size: 14px; }
.bt-sheet__closed { color: var(--ez-text-2); font-size: 14px; }
.bt-doors { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; border: 0; color: var(--ez-text-2); font-size: 15px; }
.bt-door { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.bt-door input { accent-color: var(--ez-hot); }
.bt-back, body.ez a.bt-back { background: none; border: 0; color: var(--ez-text-2); cursor: pointer; font: 500 15px/1 var(--ez-body); justify-self: center; padding: 4px; text-decoration: none; }
.bt-back:hover { color: var(--ez-text); }
.bt-hold { position: relative; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; }
.bt-hold__fill { position: absolute; inset: 0; background: #ffe2cf; transform: scaleX(0); transform-origin: left center; }
.bt-hold__t { position: relative; }
.bt-hold[aria-disabled="true"] { cursor: progress; }

/* The moment: the count, the Member beat, the way back. */
.bt-stage { position: relative; display: grid; justify-items: center; gap: 24px; text-align: center; width: min(640px, 100%); }
.bt-stage.is-shake { animation: bt-shake 300ms linear both; }
@keyframes bt-shake { 0%, 100% { transform: none; } 15% { transform: translate(-5px, 2px); } 35% { transform: translate(4px, -3px); } 55% { transform: translate(-3px, 1px); } 75% { transform: translate(2px, -1px); } }
.bt-hit { display: grid; gap: 6px; justify-items: center; }
.bt-hit__n { font-size: clamp(72px, 15vw, 140px); color: var(--bt-tier, var(--ez-bone)); }
.bt-hit__w { color: var(--ez-bone-2); font-size: 18px; }
.bt-beat { display: grid; gap: 4px; justify-items: center; opacity: 0; transform: translateY(8px); transition: opacity 360ms ease-out, transform 360ms ease-out; }
.bt-beat.is-on { opacity: 1; transform: none; }
.bt-beat__mark { font: 900 30px/1 var(--ez-display); text-transform: uppercase; letter-spacing: .1em; color: var(--ez-v-money); }
.bt-beat__line { color: var(--ez-bone-2); }
.bt-beat__line .ez-n { font-size: 34px; color: var(--ez-bone); }
.bt-done { opacity: 0; transition: opacity 400ms ease-out; width: min(280px, 100%); }
.bt-done.is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .bt-card, .bt-card::before, .bt-drop, .bt-beat, .bt-done { transition: none; }
  .bt-bloom, .bt-slit { display: none; }
}
/* Membership: the offer, the selected upgrade, and the payoff. */
.bt-membership { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; padding: 26px; border-top: 3px solid var(--ez-c-money); }
.bt-eyebrow { display: block; font: 700 11px/1.4 var(--ez-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ez-c-money, var(--ez-v-money)); }
.bt-membership h2 { margin: 8px 0; font: 900 clamp(28px, 4vw, 44px)/1 var(--ez-display); text-transform: uppercase; }
.bt-membership p { color: var(--ez-text-2); margin: 10px 0 18px; }
.bt-membership__bank .ez-n { color: var(--ez-c-turns); font-size: 28px; }
.bt-member-status { display: inline-block; color: var(--ez-c-money); border: 1px solid currentColor; padding: 8px 12px; }
.bt-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.bt-perks li { padding-left: 16px; border-left: 2px solid var(--ez-c-money, var(--ez-v-money)); }
.bt-perks b { display: block; color: var(--ez-text); font-size: 16px; }
.bt-perks li > span { display: block; margin-top: 3px; color: var(--ez-text-2); font-size: 14px; line-height: 1.4; }
.bt-pack__small strong { color: var(--ez-c-turns); font-size: 22px; }
.bt-pack__small > span { display: inline-block; margin-top: 7px; font-size: 12px; }
.bt-sheet { width: min(520px, 100%); padding: 28px; gap: 18px; }
.bt-sheet__row { align-items: baseline; padding-block: 14px; border-block: 1px solid var(--ez-rule); }
.bt-sheet__gets { font-size: clamp(22px, 4vw, 32px); color: var(--ez-c-turns); text-align: right; }
.bt-addon { border: 1px solid var(--ez-c-money); padding: 18px; gap: 6px 12px; background: color-mix(in srgb, var(--ez-c-money) 7%, transparent); transition: background 180ms, box-shadow 180ms; }
.bt-addon input { grid-row: 1 / span 3; }
.bt-addon > b, .bt-addon > .bt-eyebrow { grid-column: 2; }
.bt-addon > b { font-size: 22px; line-height: 1.15; }
.bt-addon:has(input:checked) { background: color-mix(in srgb, var(--ez-c-money) 16%, transparent); box-shadow: inset 4px 0 var(--ez-c-money); }
.bt-addon:has(input:focus-visible) { outline: 2px solid var(--ez-hot); outline-offset: 4px; }
.bt-membership__term { margin-top: 14px !important; color: var(--ez-text-2); font-size: 12px; line-height: 1.4; }
.bt-beat { gap: 12px; padding: 28px; border: 1px solid #ad8538; background: radial-gradient(ellipse at top, #49351b 0, #181510 65%); box-shadow: 0 0 80px #f2c14e15; width: min(520px, 100%); }
.bt-beat__seal { display: grid; place-items: center; width: 76px; height: 76px; border: 2px solid #f2c14e; outline: 1px solid #ad8538; outline-offset: 5px; color: #f2c14e; background: #211b10; transform: rotate(-5deg); }
.bt-beat__seal i { font-size: 44px; transform: rotate(5deg); }
.bt-beat__mark { font-size: clamp(36px, 7vw, 64px); letter-spacing: .02em; }
.bt-beat__line { line-height: 1.5; max-width: 38ch; }
.bt-stage { gap: 18px; }
.bt-hit__n { font-size: clamp(60px, 12vw, 112px); }
.co-beat { display: grid; justify-items: start; gap: 14px; padding: 26px; border: 1px solid var(--ez-c-money); background: color-mix(in srgb, var(--ez-c-money) 8%, transparent); }
.co-beat__title { margin: 0; font: 900 clamp(28px, 5vw, 44px)/1 var(--ez-display); text-transform: uppercase; }
.co-beat .ez-copy { margin: 0; }
.bt-pack__small > .bt-pack__incl { display: block; margin-top: 8px; color: var(--ez-c-money); font-size: 13px; font-weight: 700; line-height: 1.3; }
.bt-incl { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--ez-c-money); background: color-mix(in srgb, var(--ez-c-money) 7%, transparent); }
.bt-incl > b { font-size: 22px; line-height: 1.15; }
.bt-incl > small { color: var(--ez-text-2); font-size: 14px; line-height: 1.4; }
@container bt (max-width: 790px) { .bt-membership { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px; } .bt-pack__turns > span:last-child { display: block; line-height: 1.25; } }
@media (max-width: 480px) { .bt-sheet { padding: 20px; } .bt-beat { padding: 20px; } .bt-beat__seal { width: 54px; height: 54px; } .bt-beat__seal i { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) { .bt-addon { transition: none; } }
/* END 45 BUY TURNS */

/* 46. CODEX: FRONT DOOR SIGN UP. Owner: put the button below the two top navigation links. */
.fd-top__links { display: grid; justify-items: end; gap: 14px; }
.fd-top__links .fd-nav { justify-content: flex-end; }
body.ez .fd .fd-top__signup { min-height: 54px; padding-inline: 34px; font-size: 23px; }
@media (max-width: 767px) {
  .fd-top__links { width: 100%; justify-items: start; gap: 12px; }
  .fd-top__links .fd-nav { justify-content: flex-start; }
}
/* END 46 CODEX FRONT DOOR SIGN UP */

/* 48. YOUR STATS (record.php; mmpires public/css/options.css "your stats: the rap sheet". The 1100 and 640 rules for .op-heroes sit with the Options block above.) */
.op-heroes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.op-hero { padding: 10px 14px 10px; background: var(--ez-ink-2); border-top: 4px solid currentColor; min-width: 0; }
.op-hero dt { font: 600 var(--ez-fs-label)/1.2 var(--ez-body); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; color: var(--ez-bone-2); }
.op-hero dd { margin: 6px 0 0; font-size: 28px; overflow: hidden; text-overflow: ellipsis; }
.op-hero--money { color: var(--ez-v-money); }
.op-hero--count { color: var(--ez-v-count); }
.op-sheetcols { columns: 3 260px; column-gap: 28px; }
.op-group { break-inside: avoid; margin: 0 0 16px; }
.op-group h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding-bottom: 6px; border-bottom: 2px solid var(--ez-text); font: 800 var(--ez-fs-h3)/1 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; }
.op-group h2 .ph { color: var(--ez-hot); font-size: 20px; }
.op-line { display: flex; align-items: baseline; gap: 8px; padding: 2px 0; font-size: 14px; line-height: 18px; }
.op-line__l { flex: none; color: var(--ez-text); }
.op-line__dots { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--ez-rule); transform: translateY(-4px); }
.op-line__v { flex: none; font-size: 16px; }
.op-line.is-zero .op-line__l { color: var(--ez-text-2); }
.op-line.is-zero .op-line__v { color: var(--ez-text-2); opacity: .55; }
.op-group--trophy { padding: 14px 16px 10px; }
.op-group--trophy h2 { border-color: var(--ez-ink); }
.op-group--trophy h2 .ph { color: var(--ez-v-money-p); }
.op-group--trophy .op-line__l { color: var(--ez-ink); }
.op-group--trophy .op-line__dots { border-color: rgb(18 17 16 / .3); }
.op-group--trophy .op-line.is-zero .op-line__l, .op-group--trophy .op-line.is-zero .op-line__v { color: var(--ez-paper-2); }
[data-theme="light"] .op-group { --ez-c-money: var(--ez-v-money-p); --ez-c-count: var(--ez-v-count-p); }   /* the numbers on bone read in their darker shades */
@media (max-width: 1100px) { .op-heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   /* after the base rule, so these win */
@media (max-width: 640px) { .op-hero dd { font-size: 24px; } }
/* END 48 YOUR STATS */

/* 47. FORUM STAFF TOOLS (forum.php, rules/forum.php forum_mod). Staff with the right get the quiet strip of a profile (41.2: the
   staff desk's tint, one row of small buttons) above the posts of a thread, and a Take down at the foot of each reply. Each
   button is its own form, so the forms melt away and the buttons wrap as the profile's do. The button for the state a thing is
   in reads pressed: the text colour filled, the ground colour on it, as the Pinned mark does (22). Taken-down posts show staff
   their words in the dashed card the players' line uses, muted, with the way back. */
.fo-staffbar { max-width: 900px; margin: 0 0 16px; }
.fo-staffbar form { display: contents; }
.fo-staffbar__k { margin-top: 14px !important; }
.fo-staffbar .ez-btn.is-on { background: var(--ez-text); border-color: var(--ez-text); color: var(--ez-ground); }
.fo-tool { margin: 0; }
.fo-tool--post { margin-left: auto; }
.fo-post__quote + .fo-tool--post { margin-left: 0; }
.fo-post--staffsees .fo-post__body { margin: 8px 0 10px; color: var(--ez-text-2); font-size: 15px; }
.fo-threads .fo-c-last .fo-tool { display: block; margin-top: 8px; }
@media (max-width: 767px) {
  .fo-threads .fo-c-last .fo-tool { width: 100%; }
}
/* END 47 FORUM STAFF TOOLS */
/* 50. FOOTER AND PUBLIC LINKS (fix wave 3, lane H; sweep 2026-11-08 3.9). The poster pages (Recover, Forgot, Reset:
   tpl/poster.php poster_doors()) carry the rest of config/public_links.php under the five doors: Leader boards, Terms,
   Privacy, Support, as one quiet line in the weight of the front door's footer (.fd-foot), well under the doors. */
.ld-more { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 2px 0 0; }
body.ez .ld-more a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ez-bone-2); font-size: 13px; text-decoration: none; }
body.ez .ld-more a:hover { color: var(--ez-bone); text-decoration: underline; text-underline-offset: 4px; }
/* A poster page's "Read up" (poster_readup()) closes the line on the right, apart from the legal links. */
.ld-more .ld-more__readup { margin-left: auto; }
@media (max-width: 767px) {
  .ld-more { gap: 0 22px; }
  body.ez .ld-more a { min-height: 44px; }
  .ld-more .ld-more__readup { margin-left: 0; }
}
/* END 50 FOOTER AND PUBLIC LINKS */
/* 52. OWNER DAILY REPORT (fix wave 3, lane L; sweep 2026-11-08 2.2). owner/report.php draws one night of the clock's
   report (storage/playtest/monitor/YYYY-MM-DD.md) inside the owner frame: the steps to the night before and after, the
   opening paragraph, then one quiet card a section, each table scrolling inside its own card at phone width so the page
   never scrolls sideways. owner/index.php: the Daily report card stacks under Sales (.ow-rp-col). */
.ow-rp-col { display: grid; gap: 20px; align-content: start; min-width: 0; }
.ow-rp__clock { color: var(--ez-c-warn) !important; }
.ow-rp__steps { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ow-rp__day { font: 800 21px/1.1 var(--ez-numbers); letter-spacing: .03em; text-transform: uppercase; }
.ow-rp__end { color: var(--ez-text-2); font-size: var(--ez-fs-small); min-width: 7em; }
.ow-rp__steps > :last-child { text-align: right; }
.ow-rp > .ow-rp__clock, .ow-rp__gap { margin: 14px 0 0; font-size: 15px; }
.ow-rp__gap { color: var(--ez-text-2); }
.ow-rp__lede { margin: 16px 0 0; max-width: 72ch; font-size: 16px; line-height: 1.55; }
.ow-rp__toc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: var(--ez-fs-small); }
body.ez .ow-rp__toc a { color: var(--ez-text-2); }
body.ez .ow-rp__toc a:hover { color: var(--ez-text); }
.ow-rp__none, .ow-rp__sec { margin-top: 20px; scroll-margin-top: 16px; }
.ow-rp__wrap { margin: 0 -4px; padding: 0 4px 4px; }
.ow-rp__wrap:focus-visible { outline: 2px solid var(--ez-text-2); outline-offset: 2px; }
.ow-rp__table { font-size: var(--ez-fs-small); font-variant-numeric: tabular-nums; }
.ow-rp__table th { vertical-align: bottom; max-width: 12em; white-space: normal; }
.ow-rp__table th:not(:first-child) { min-width: 7em; }
.ow-rp__table td { padding: 8px 14px 8px 0; white-space: nowrap; }
.ow-rp__table th:last-child, .ow-rp__table td:last-child { padding-right: 0; }
.ow-rp__all td { font-weight: 700; border-top: 2px solid var(--ez-text-2); }
.ow-rp__table td.ow-rp__long { white-space: normal; min-width: 16em; text-align: left; }
.ow-rp > .ow-rp__clock + .ow-rp__lede { margin-top: 10px; }
@media (max-width: 559px) {
  .ow-rp__steps { gap: 8px; }
  .ow-rp__day { font-size: 18px; order: -1; flex-basis: 100%; }
  .ow-rp__end { min-width: 0; }
  /* the row names stay in view while the numbers scroll under them */
  .ow-rp__table:not(.ow-rp__table--ranked) :is(th, td):first-child { position: sticky; left: 0; z-index: 1; background: var(--ez-raised); white-space: normal; min-width: 7.5em; max-width: 9.5em; padding-right: 10px; }
}
/* END 52 OWNER DAILY REPORT */
/* 51. NUMBER DOORS (fix wave 3, lane I; sweep 2026-11-08 3.3, SPEC 1.13 "every number is a door"). The header's Turns
   open Recruit and its Cash the Black Market (tpl/head.php); a short crew's "Needs more ..." words open the place that
   fixes it (console.php). At rest they look exactly as before. Hover and keyboard focus show them the way their
   neighbours already do: the header's city link (a solid underline) and the crew row's cut (a dotted one). */
body.ez a.ez-hdoor { display: flex; flex-direction: inherit; align-items: inherit; gap: inherit; color: inherit; text-decoration: none;
  padding: 5px 6px; margin: -5px -6px; }   /* the label and the number are one tap target, a little bigger than they look; nothing moves */
body.ez a.ez-hdoor:is(:hover, :focus-visible) .ez-n { text-decoration: underline 2px; text-underline-offset: 3px; }
body.ez a.ez-hdoor:focus-visible { outline-offset: 0; }
body.ez a.ez-acc__bad { color: var(--ez-c-bad); text-decoration: none; }
body.ez a.ez-acc__bad:is(:hover, :focus-visible) { text-decoration: underline dotted 1px; text-underline-offset: 3px; }
body.ez a.ez-acc__bad:focus-visible { outline: 2px solid var(--ez-text); outline-offset: 2px; }
/* END 51 NUMBER DOORS */
/* 49. LOWER ID (fix wave 3, lane G; sweep 2026-11-08 3.4, 4.8; SPEC 5.5 [nouns]). lower_id.php is the Options key card
   (15.3: .op-keywrap, .op-key, .op-paper) with the number as its picture: your number large on top, the dashed line,
   then the one thing to do (ask, take it back) or the reason there is nothing to do. After a grant the old number sits
   struck through above the new. The owner's Lower numbers tab (staff/queue.php) is the shared-address card (.ez-stshared)
   with the answer on its row: a reason box and two buttons. */
.lid-no { display: grid; justify-items: start; gap: 2px; }
.lid-no .op-kicker { margin: 0 0 4px; }
.lid-no__n { font: 800 64px/.9 var(--ez-numbers); letter-spacing: .02em; overflow-wrap: anywhere; }
.lid-no__was { font: 700 22px/1 var(--ez-numbers); letter-spacing: .04em; color: var(--ez-paper-2); text-decoration-thickness: 2px; }
.lid-card .op-key__divider { margin: 18px 0 18px; }
.lid-card > .op-kicker { display: block; margin: 0 0 4px; }
.lid-want-n { margin: 0 0 12px; font: 800 40px/1 var(--ez-numbers); letter-spacing: .02em; color: var(--ez-paper-2); }
.lid-line { margin: 0 0 18px; }
.lid-line--no { font-weight: 600; }
.lid-line--last { font-size: var(--ez-fs-small); color: var(--ez-paper-2); }
.lid-want { display: flex; align-items: center; gap: 8px; }
.lid-want > span { font: 800 30px/1 var(--ez-numbers); }
.lid-want .ez-input { flex: 1 1 auto; min-width: 0; max-width: none; text-align: left; font: 800 26px/1 var(--ez-numbers); letter-spacing: .04em; }   /* one number, read left to right after its #, not a column of figures */
.lid-free { margin: 8px 0 0; font-size: var(--ez-fs-small); color: var(--ez-paper-2); }
@media (max-width: 640px) { .lid-no__n { font-size: 52px; } }

.ez-stlower__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; }
.ez-stlower__ask b { font-size: 20px; }
.ez-stlower__state { font-size: var(--ez-fs-small); color: var(--ez-c-good); }
.ez-stlower__state.is-bad { color: var(--ez-c-bad); }
.ez-stlower__when { margin-left: auto; }
.ez-stlower__form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; }
.ez-stlower__form .ez-input { flex: 1 1 280px; min-width: 0; }
@media (max-width: 640px) { .ez-stlower__form .ez-btn { flex: 1 1 0; } }
/* END 49 LOWER ID */
/* 53. EXACT FIGURES (lane N; owner, 2026-11-09: turns are never shortened, and a tap on a shortened number shows the
   whole number). lib/html.php figure() marks a shortened figure .ez-abbr; app.js block 43 draws the card. The card is
   the frame's own (the rank card's and the moods card's ground, rule and offset shadow), hung under the figure: its
   name in the micro caps, the whole figure in its own colour; on a phone tap inside a link, the way on under a rule.
   A shortened figure carries the dotted underline the frame already uses for "there is more here" (the crew row's cut). */
body.ez .ez-abbr { text-decoration: underline dotted 1px; text-underline-offset: 4px; cursor: pointer; }
body.ez .ez-abbr:focus-visible { outline: 2px solid var(--ez-text); outline-offset: 3px; }
body.ez a.ez-hdoor:is(:hover, :focus-visible) .ez-abbr { text-decoration: underline 2px; text-underline-offset: 3px; }
.ez-exact { position: fixed; z-index: 45; left: 0; top: 0; display: grid; min-width: 168px; max-width: calc(100vw - 32px); margin: 0;
  background: var(--ez-ground); color: var(--ez-text); border: 2px solid var(--ez-text-2); box-shadow: 4px 4px 0 var(--ez-rule); }
.ez-exact[hidden] { display: none; }
.ez-exact__fig { display: grid; gap: 7px; margin: 0 !important; padding: 10px 14px 11px; }
.ez-exact__fig .ez-label { font-size: var(--ez-fs-micro); }
.ez-exact__fig .ez-n { font-size: 26px; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
body.ez a.ez-exact__door { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 14px;
  border-top: 1px solid var(--ez-rule); color: var(--ez-text); text-decoration: none;
  font: 700 16px/1 var(--ez-numbers); letter-spacing: .07em; text-transform: uppercase; }
body.ez a.ez-exact__door[hidden] { display: none; }
body.ez a.ez-exact__door .ph { font-size: 17px; color: var(--ez-text-2); }
body.ez a.ez-exact__door:hover { background: var(--ez-ground-2); }
body.ez a.ez-exact__door:hover .ph { color: var(--ez-text); }
body.ez a.ez-exact__door:focus-visible { outline: 2px solid var(--ez-text); outline-offset: -4px; }
.cx-money__short.ez-abbr { text-decoration: none; }   /* the treasury's short form keeps its own dotted rule (CSS 2024) */
/* The phone's bar holds a nine-digit turn count beside a shortened cash figure at 375 (a 343px line): wordmark 86,
   Turns 97 ("123,456,789"), Cash 55 ("$48.2B"), More. More's count rides the button's corner, the way the icon rail's
   counts do (section 4), so the bar's figures keep their size and nothing wraps or clips; a ten-digit count (a billion
   turns and up) steps both figures down a size (app.js block 43 keeps data-len). */
@media (max-width: 767px) {
  .ez-top { gap: 10px; }
  .ez-top .ez-hstats { gap: 12px; }
  .ez-top .ez-morebtn { position: relative; flex: none; }
  .ez-top .ez-morebtn .ez-badge { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 18px; margin: 0; padding: 1px 5px 0; font-size: 13px;
    box-shadow: 0 0 0 2px var(--ez-ground); }
  .ez-top .ez-hstats:has(.ez-n:is([data-len="13"], [data-len="14"], [data-len="15"])) .ez-n { font-size: 17px; }
}
/* END 53 EXACT FIGURES */
/* 54. PAY TRACK (lane O; owner, 2026-11-09: halfway along the slider is 20%, and the five sliders lock against one
   shared 100%). app.js's pay block sets --cap on each slider: how far along the track this crew's ceiling sits (what
   the other four leave), 0..1. The track up to the ceiling is the usual rule; past it the same rule dotted, out of
   reach. The thumb travels 4.5px in from each end (it is 9px wide), so the ceiling's place is measured the same way.
   A 1px tick under the middle of the track marks 20%, where the track turns from fine steps to fast ones. */
.ez-acc__slide { --cap: 1; --cap-at: calc(4.5px + var(--cap) * (100% - 9px)); background: linear-gradient(var(--ez-rule), var(--ez-rule)) 50% 50% / 1px 9px no-repeat; }
.ez-acc__slide::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--ez-rule) var(--cap-at), transparent var(--cap-at)), repeating-linear-gradient(to right, var(--ez-rule) 0 2px, transparent 2px 5px); }
.ez-acc__slide::-moz-range-track { background: linear-gradient(to right, var(--ez-rule) var(--cap-at), transparent var(--cap-at)), repeating-linear-gradient(to right, var(--ez-rule) 0 2px, transparent 2px 5px); }
/* END 54 PAY TRACK */

/* 55 PLAY RECORDER (rules/trail.php, lane P): the quiet line in a recorded account's footer, the switch on the person
   page (owner only), and owner/trail.php's timeline. The dot is the one mark of colour; nothing moves. */
body.ez .ez-foot__rec { flex-basis: 100%; display: flex; align-items: baseline; gap: 8px; max-width: 72ch; margin: 2px 0 0; color: var(--ez-text-2); font-size: var(--ez-fs-micro, 13px); line-height: 1.45; }
.ez-foot__recdot, .ez-trdot { flex: none; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ez-v-bad); transform: translateY(-1px); }
.ez-trdot { width: 9px; height: 9px; background: transparent; box-shadow: inset 0 0 0 2px var(--ez-text-2); }
.ez-trdot.is-on { background: var(--ez-v-bad); box-shadow: none; }
.ez-trsw__row, .ez-trbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.ez-trsw__row form, .ez-trbar form { margin: 0; }
body.ez .ez-trsw__state, body.ez .ez-trbar__state { display: flex; align-items: center; gap: 9px; margin: 0; }
body.ez .ez-trsw__file { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 12px 0 0; }
.ez-trbar { margin: 0 0 18px; padding: 12px 16px; background: var(--ez-ground-2); border: 1px solid var(--ez-rule); }
.ez-trbar__state { font-weight: 700; }
.ez-trsess a .ez-small { color: var(--ez-text-2); }
.ez-trsum { margin: 0 0 16px; }
.ez-trsum .ez-stats { margin-bottom: 10px; }
body.ez .ez-trsum__was { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; margin: 3px 0; color: var(--ez-text-2); font-size: 15px; }
.ez-trsum__was .ez-label { padding-top: 2px; color: var(--ez-text); }
.ez-trtl { margin: 0 0 16px; padding: 0; list-style: none; border-top: 1px solid var(--ez-rule); }
.ez-trtl__step { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 7px 0 7px 10px; border-bottom: 1px solid var(--ez-rule); border-left: 3px solid transparent; }
.ez-trtl__t { padding-top: 1px; color: var(--ez-text-2); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.ez .ez-trtl__line { margin: 0; color: var(--ez-text); font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
body.ez .ez-trtl__sub { margin: 2px 0 0; color: var(--ez-text-2); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.ez-trtl__step.is-page .ez-trtl__line { padding-left: 16px; color: var(--ez-text-2); }
.ez-trtl__step.is-page .ez-trtl__line::before { content: "\2192"; margin: 0 6px 0 -16px; color: var(--ez-rule); }
.ez-trtl__step.is-quiet .ez-trtl__line { font-size: 14px; }
.ez-trtl__step.is-dead { border-left-color: var(--ez-v-warn); }
.ez-trtl__step.is-dead .ez-trtl__line { color: var(--ez-v-warn); }
.ez-trtl__step.is-bad { border-left-color: var(--ez-v-bad); }
.ez-trtl__gap { padding: 6px 0 6px 120px; border-bottom: 1px solid var(--ez-rule); color: var(--ez-text-2); font-size: var(--ez-fs-micro, 13px); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 767px) {
  .ez-trtl__step { grid-template-columns: 70px minmax(0, 1fr); gap: 8px; padding-left: 6px; }
  .ez-trtl__t { font-size: 14px; }
  .ez-trtl__gap { padding-left: 84px; }
  body.ez .ez-trsum__was { grid-template-columns: 1fr; gap: 0; }
}
/* END 55 PLAY RECORDER */

/* 56 PACK TABLE (owner/money.php, lane R; owner, 2026-11-09: "the owner panel columns are off"). Each pack row is its
   own form, and each form was its own grid with an auto last column sized by its own buttons, so no two rows (and not
   the header) split the width the same way. The rows now share one set of columns (subgrid), numbers sit right under
   right-set headers, and a read-only Buyer gets column says what lands on the buyer. Phone: no header row; each pack
   is its name, then price / turns / bonus side by side under short labels, then Buyer gets beside the buttons. */
.ez-mnpacks { grid-template-columns: minmax(0, 1.5fr) minmax(0, .6fr) minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1fr) auto; column-gap: 12px; }
.ez-mnpacks__cols, .ez-mnpack { grid-column: 1 / -1; grid-template-columns: subgrid; }
.ez-mnpacks__cols { align-items: end; }
.ez-mnpacks__cols .is-n { text-align: right; }
.ez-mnpack .ez-input--num { max-width: none; }
.ez-mnpack__tail { display: contents; }
.ez-mnpack__every { grid-column: span 2; }
.ez-mnpack__every + .ez-mnpack__f { display: none; }
.ez-mnpack__gets { display: grid; justify-items: end; text-align: right; line-height: 1.2; }
.ez-mnpack__gets b { font-size: 18px; }
.ez-mnpack__gets small { color: var(--ez-text-2); font-size: 13px; }
.ez-mnpack__getsk { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .ez-mnpacks { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, .9fr); column-gap: 10px; }
  .ez-mnpack { row-gap: 10px; align-items: end; }
  .ez-mnpack .ez-sr { line-height: 1.25; }
  .ez-mnpack__name .ez-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ez-mnpack__every { align-self: end; padding-bottom: 10px; }
  .ez-mnpack__tail { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px 10px; }
  .ez-mnpack__gets { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 4px; align-items: baseline; justify-items: start; flex: 1 1 0; min-width: 0; text-align: left; }
  .ez-mnpack__gets small { grid-column: 1 / -1; font-size: 12px; white-space: nowrap; }
  .ez-mnpack__go { flex: none; }
  .ez-mnpack__gets:empty { display: none; }
  .ez-mnpack__getsk { position: static; width: auto; height: auto; clip: auto; color: var(--ez-text-2); font-size: 13px; }
  .ez-mnpack__gets b { font-size: 17px; }
  .ez-mnpack__gets small { display: block; }
  .ez-mnpack__go { margin-left: auto; }
}
/* One Save for the table (owner, 2026-11-09: "It only saves the one line"): the rows are one form; Off sale is a tick
   that waits for the Save (the row greys and the name is struck through until then); a box that differs from what is
   stored is marked in the action colour by the script; the Save bar sits under the table, and on a phone it stays at
   the foot of the screen while the table is in view. */
.ez-mnpacks-form { display: grid; margin-top: 14px; }
.ez-mnpack__off { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 4px; color: var(--ez-text-2); font-size: 14px; cursor: pointer; white-space: nowrap; }
.ez-mnpack__off input { width: 18px; height: 18px; margin: 0; accent-color: var(--ez-hot); }
.ez-mnpack:has(.ez-mnpack__off input:checked) :is(.ez-mnpack__f, .ez-mnpack__gets) { opacity: .45; }
.ez-mnpack:has(.ez-mnpack__off input:checked) .ez-mnpack__name .ez-input { text-decoration: line-through; }
.ez-mnpack__off:has(input:checked) { color: var(--ez-hot); }
.ez-mnpack .ez-input.is-changed { border-color: var(--ez-hot); }
.ez-mnpack.is-bad .ez-input.is-changed { border-color: var(--ez-c-bad); }
.ez-mnpacks__save { display: grid; grid-template-columns: minmax(0, 22em) minmax(0, 1fr) auto; gap: 8px 16px; align-items: end; margin-top: 4px; padding: 14px 0 0; border-top: 1px solid var(--ez-rule); }
.ez-mnpacks__why { display: grid; gap: 4px; }
.ez-mnpacks__dirty { margin: 0 !important; padding-bottom: 12px; color: var(--ez-text-2); font-size: 14px; text-align: right; }
.ez-mnpacks__dirty.is-dirty { color: var(--ez-hot); }
.ez-mnpacks__said p { margin: 0 !important; }
.ez-mnpacks__said ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 760px) {
  .ez-mnpacks__save { position: sticky; bottom: calc(var(--ez-tabs-h) + env(safe-area-inset-bottom)); z-index: 5; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "dirty dirty" "why go"; gap: 6px 10px; align-items: center;
    margin: 4px -20px 0; padding: 10px 20px 12px; background: var(--ez-ground-2); box-shadow: 0 -1px 0 var(--ez-rule); border-top: 0; }
  .ez-mnpacks__save > .ez-btn { grid-area: go; padding-inline: 14px; font-size: 17px; }
  .ez-mnpacks__why { grid-area: why; }
  .ez-mnpacks__why .ez-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ez-mnpacks__dirty { grid-area: dirty; padding-bottom: 0; text-align: left; font-size: 13px; }
  .ez-mnpacks__dirty:empty { display: none; }
  .ez-mnpack__off { min-height: 40px; }
}
/* With membership (lane V, owner 2026-11-09: "Every purchase comes with a membership"): a column of its own between
   Buyer gets and Off sale, a bare tick under a two-line header, waiting for the same Save. Its words are for screen
   readers on a wide screen and show beside the tick on a phone, where there is no header row; there it sits between
   Buyer gets and Off sale. */
.ez-mnpacks { grid-template-columns: minmax(0, 1.25fr) minmax(0, .55fr) minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1.1fr) 6.5em auto; }
.ez-mnpack__gets small { white-space: nowrap; }
.ez-mnpacks__cols .is-c { text-align: center; }
.ez-mnpack__withc { display: flex; justify-content: center; }
.ez-mnpack__with { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; min-width: 42px; justify-content: center; color: var(--ez-text-2); font-size: 14px; cursor: pointer; white-space: nowrap; }
.ez-mnpack__with input { width: 18px; height: 18px; margin: 0; accent-color: var(--ez-hot); }
.ez-mnpack__withw { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ez-mnpack:has(.ez-mnpack__off input:checked) .ez-mnpack__withc { opacity: .45; }
.ez-mnpack__with.is-changed { box-shadow: inset 0 0 0 1px var(--ez-hot); }
@media (max-width: 760px) {
  .ez-mnpacks { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, .9fr); }
  .ez-mnpack__tail { flex-wrap: wrap; row-gap: 2px; }
  .ez-mnpack__tail > .ez-mnpack__gets:not(:empty) { flex: 1 0 100%; }
  .ez-mnpack__withc { flex: none; margin-left: -4px; }
  .ez-mnpack__withc:empty { display: none; }
  .ez-mnpack__with { min-height: 40px; padding: 0 4px; }
  .ez-mnpack__withw { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .ez-mnpack__with:has(input:checked) { color: var(--ez-text); }
}
/* END 56 PACK TABLE */

/* Owner copy/hierarchy review, 2026-11-13: errors stay at the top, including on phones. */
.ez-stop[data-stop-top]{position:static;inset:auto;transform:none;width:auto;max-width:none;margin:1rem 0;z-index:auto}
body.ez:has(.ez-stop[data-stop-top]):not(:has(.ez-stop:not([data-stop-top]))) .ez-main{padding-bottom:32px}
@media(max-width:767px){body.ez:has(.ez-stop[data-stop-top]):not(:has(.ez-stop:not([data-stop-top]))) .ez-main:has(.ez-actbar){padding-bottom:calc(var(--ez-tabs-h) + 150px)}}

/* Intel protection review: instructions first, assignment labels and persistent save receipts. */
[data-ni-page="guard"] .ni-saved{margin:0;white-space:normal}
[data-ni-page="guard"] .ni-saved:empty{display:none}
[data-ni-page="guard"] [data-ni-save][hidden]{display:none}

/* Intel visual repair: cards wrap to available width; labels and report values stay readable. */
.ni .ni-grid{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}
.ni .ni-card{padding:20px;min-width:0}
.ni .ni-card__top{align-items:flex-start}
.ni .ni-card__name{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;font-size:18px;line-height:1.2}
.ni .ni-card__what{line-height:1.45}
.ni .ni-facts div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px}
.ni .ni-facts dt,.ni .ni-facts dd{min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
[data-ni-page="guard"] .ni-step{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}
[data-ni-page="guard"] .ni-step__btn{width:44px;height:44px;min-width:44px}
[data-ni-page="guard"] .ni-amt{width:100%;min-width:0;box-sizing:border-box}
[data-ni-page="guard"] .ez-label{white-space:normal}
[data-ni-page="guard"] [data-ni-save]{grid-column:1/-1;order:2}
[data-ni-page="guard"] .ni-card__need b{white-space:nowrap}
.ni .ni-pool__hand{flex-wrap:wrap;white-space:normal}
.ni .ni-pool__else{white-space:normal;line-height:1.5}
.ez-stop[data-stop-top][hidden]{display:none}
.ez-stop:not(:has(>.ez-stop__word))>.ez-notice{grid-column:1/3}
@media(max-width:767px){.ni-tabs{flex-wrap:wrap;overflow:visible;margin-right:0}body.ez .ni-tabs a{flex:1 1 140px;white-space:normal}}
.ez-main>.ez-stop[data-stop-top]:not([hidden])+.ez-pills--onposter{margin-top:16px}
@media(max-width:767px){.ez-banner__tt{white-space:normal;overflow-wrap:normal;word-break:normal}.ez-banner__row:has(>.ez-banner__city){flex-wrap:wrap}.ez-banner__row:has(>.ez-banner__city)>.ez-banner__title{flex-basis:100%}nav.ez-pills[aria-label="Look for"]{flex-wrap:wrap;overflow:visible;margin-right:0}}
@media(max-width:767px){.al-slot.is-filled{grid-template-columns:auto minmax(0,1fr)}.al-slot.is-filled .al-slot__act{grid-column:2;grid-row:3;margin-top:6px}.al-slot.is-filled .al-slot__name{white-space:normal;overflow-wrap:anywhere}}
@media(max-width:767px){body.ez #atk-go{min-width:0;white-space:normal;flex-wrap:wrap;line-height:1.2;padding:10px 12px}body.ez #atk-go-label{min-width:0}}
@media(max-width:767px){.ni .ni-grid{grid-template-columns:minmax(0,1fr)}.ni .ni-card{padding:18px}.ni .ni-pool{padding:14px}.ni .ni-pool__hand{gap:6px 12px}}

/* Phone fit, 2026-11-13. Drug Ops table: the icon sits in the cell's left gutter so the name can wrap ("push only"
   drops under it), the header may wrap, and the last column gives up its right padding, so the price shows whole.
   Buy Turns packs: the Buy button takes its own full-width row under the figures. Wider screens are untouched. */
@media (max-width: 520px) {
  .ez-table--drugs th { white-space: normal; vertical-align: bottom; }
  .ez-table--drugs th:last-child, .ez-table--drugs td:last-child { padding-right: 0; }
  .ez-table--drugs td.ez-num { white-space: nowrap; }
  .ez-table--drugs tr[data-dz] td:first-child { white-space: normal; position: relative; height: 60px; padding-left: 52px; line-height: 1.2; }
  .ez-table--drugs tr[data-dz] td:first-child::before { position: absolute; left: 0; top: 50%; margin: -20px 0 0; }
  .ez-table--drugs td:first-child .ez-muted { display: block; font-size: 13px; }
}
@container bt (max-width: 480px) {
  .bt-pack { grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; }
  .bt-pack .bt-btn { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; }
}

/* 40b DONE (success bar, 2026-11-16; lib/page.php page_stop_bar() 'ok'). A success is the refusal's bar in its green:
   the same place under the banner, the same word, hairline and line. The ground is --ez-v-good-p (bone on it 7.7:1);
   its figures take one colour, --ez-v-good (5.7:1 on it), whatever their family. */
.ez-stop.ez-stop--ok { background: var(--ez-v-good-p); }
.ez-stop--ok .ez-stop__word { color: rgb(236 229 211 / .88); border-right-color: rgb(236 229 211 / .35); }
.ez-stop--ok :is(.ez-v-turns, .ez-v-money, .ez-v-count) { color: var(--ez-v-good); }
/* END 40b DONE */
