/* ============================================================
   each.css — one stylesheet for every page on eachartist.org
   Tokens → base → shell (nav, ticker, footer) → components
   ============================================================ */

:root {
  /* color */
  --ink: #0a0a0a;
  --cream: #f4f1e8;
  --white: #ffffff;
  --green: #6dde5a;
  --lavender: #c4a8d8;
  --gold: #f5c542;
  --orange: #ff8c2e;
  --cyan: #00d4aa;
  --teal: #00a884;
  --red: #ff3b30;
  --blue: #1a5fb4;
  --accent: var(--green);
  /* '95 chrome */
  --hi: #ffffff;
  --sh: #9a9385;
  --face: var(--cream);
  /* type */
  --display: Anton, Impact, "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --pix: VT323, "Courier New", monospace;
  /* scale */
  --fs-display: clamp(56px, 8vw, 104px);
  --fs-h2: clamp(40px, 5.6vw, 72px);
  --fs-h3: 30px;
  --fs-lead: 20px;
  --fs-body: 17px;
  --fs-label: 13px;
  /* spacing */
  --gutter: 40px;
  --section: 88px;
  --wrap: 1280px;
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --section: 48px; --fs-h3: 26px; --fs-lead: 18px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: var(--fs-body); line-height: 1.55;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.06) 1px, transparent 0);
  background-size: 16px 16px;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--cream); font-weight: 700; }
.skip:focus { top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); width: 100%; }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .72); }
.band { border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.band-accent { background: var(--accent); }
.band-orange { background: var(--orange); }
.band-lavender { background: var(--lavender); }
.band-gold { background: var(--gold); }
.band-teal { background: var(--teal); }
.band-ink { background: var(--ink); color: var(--cream); }
.band-ink a:hover { color: var(--accent); }
.band-ink .btn:hover, .band-ink .btn-primary:hover { color: var(--ink); }
.band-ink .btn-light:hover { color: var(--cream); }
.band-ink .btn-ink:hover { color: var(--cream); }

/* ---------- type ---------- */
.display, h1, h2, h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: .88; letter-spacing: .01em; }
h2 { font-size: var(--fs-h2); line-height: .92; }
h3 { font-size: var(--fs-h3); line-height: .95; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 999px; background: var(--red); margin-right: 10px; vertical-align: 1px; }
.lead { margin: 0; font-size: var(--fs-lead); font-weight: 700; line-height: 1.4; }
p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.measure { max-width: 68ch; }
.quote-block { display: inline-block; padding: 18px 22px; background: var(--ink); color: var(--accent); font-family: var(--display); font-size: 26px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--body); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: 16px 22px; border: 3px solid var(--ink); background: var(--cream); color: var(--ink); cursor: pointer; line-height: 1.2; text-align: center; }
.btn:hover { color: var(--ink); }
.btn-primary { background: var(--accent); box-shadow: 5px 5px 0 var(--ink); }
.btn-primary:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--accent); }
.btn-ink:hover { color: var(--cream); }
.btn-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-light:hover { color: var(--cream); background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.textlink { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding-top: 10px; border-top: 2px dashed rgba(0,0,0,.25); }

/* ---------- shell: header, nav, ticker ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--ink); background: var(--cream); }
.nav { display: flex; align-items: center; gap: 12px 24px; padding-block: 14px; }
.logo-chip { display: inline-flex; padding: 6px 10px; background: var(--ink); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--accent); text-decoration: none; }
.logo-chip img { height: 32px; width: auto; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; list-style: none; margin-top: 0; margin-bottom: 0; padding: 0; }
.nav-links a { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: 10px 14px; border: 2px solid transparent; border-radius: 6px; }
.nav-links a:hover { border-color: var(--ink); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--accent); border-color: var(--ink); }
.btn-join { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: 12px 18px; background: var(--ink); color: var(--accent); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--accent); white-space: nowrap; cursor: pointer; font-family: var(--body); }
.btn-join:hover { color: var(--cream); }
.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--white); border: 3px solid var(--ink); cursor: pointer; padding: 0; margin-left: auto; }
.hamburger span { width: 20px; height: 3px; background: var(--ink); display: block; }
.ticker { display: flex; align-items: center; gap: 16px; padding: 8px var(--gutter); background: var(--ink); color: var(--cream); text-decoration: none; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; white-space: nowrap; }
.ticker:hover { color: var(--cream); }
.ticker .tag { padding: 3px 8px; background: var(--accent); color: var(--ink); font-weight: 700; flex-shrink: 0; }
.ticker .what { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ticker .go { margin-left: auto; color: var(--accent); flex-shrink: 0; }
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; }
  .hamburger { display: flex; }
  .btn-join { order: 2; margin-left: 0; }
  .hamburger { order: 3; }
  .nav-links { display: none; order: 4; width: 100%; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 2px dashed rgba(0,0,0,.25); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 10px; }
  .ticker { font-size: 11px; gap: 10px; }
  .ticker .go { display: none; }
}

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; padding-block: 72px 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy .lead { font-weight: 400; font-size: 22px; max-width: 560px; }
.hero-tag { font-family: var(--display); text-transform: uppercase; font-size: 24px; letter-spacing: .03em; line-height: 1.1; }
.hero-media { position: relative; padding-top: 48px; }
.hero-star { position: absolute; top: -6px; right: -20px; width: 120px; transform: rotate(12deg); z-index: 1; }
.hero-frame { position: relative; z-index: 2; }
.hero-frame video, .hero-frame img { width: 100%; height: 420px; object-fit: cover; border: 4px solid var(--ink); box-shadow: 14px 14px 0 var(--lavender); background: var(--ink); }
.page-hero { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; align-items: center; padding-block: 72px; }
.page-hero-art { display: flex; justify-content: center; align-items: center; }
.page-hero-art img { width: 300px; max-width: 100%; }
@media (max-width: 900px) {
  .hero, .page-hero { grid-template-columns: 1fr; padding-block: 36px 48px; gap: 24px; }
  .hero-media { padding-top: 34px; }
  .hero-star { width: 72px; right: -6px; top: 0; }
  .hero-frame video, .hero-frame img { height: 220px; box-shadow: 8px 8px 0 var(--lavender); border-width: 3px; }
  .page-hero-art { order: -1; }
  .page-hero-art img { width: 180px; }
}

/* mission band: the halftone arch rises from the band's bottom edge, under the heading column */
.mission { position: relative; overflow: hidden; }
.mission-arch { position: absolute; left: var(--gutter); bottom: -3px; width: min(440px, 38vw); height: auto; pointer-events: none; }
.mission .section { padding-bottom: calc(var(--section) + 100px); }
@media (max-width: 900px) { .mission-arch { width: 240px; } .mission .section { padding-bottom: calc(var(--section) + 90px); } }

/* word globe (homepage, orange band) */
.sphere-wrap { display: flex; justify-content: center; align-items: center; }
.sphere { position: relative; width: min(440px, 100%); aspect-ratio: 1; isolation: isolate; overflow: visible; }
.sphere-stage, .sphere-sparks { position: absolute; inset: 0; }
.sphere-stage { transform: rotate(-23deg); }   /* axial tilt, like the Earth's */
.sphere-letter { display: inline-block; will-change: transform; }
.band-orange { position: relative; z-index: 0; }
.sphere-sparks { width: 100%; height: 100%; pointer-events: none; z-index: 120; }
.sphere-word { position: absolute; left: 50%; top: 50%; white-space: nowrap; font-family: var(--display); text-transform: uppercase; font-size: 31px; letter-spacing: .02em; color: var(--ink); will-change: transform, opacity; text-shadow: 2px 2px 0 rgba(244,241,232,.5); }
@media (max-width: 900px) { .sphere { width: min(300px, 100%); margin-top: 8px; } .sphere-word { font-size: 22px; } }

/* camcorder overlay */
.osd { position: absolute; z-index: 3; font-family: var(--pix); font-size: 24px; line-height: 1; letter-spacing: .04em; color: var(--red); text-shadow: 2px 2px 0 var(--ink), -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink); pointer-events: none; }
.osd-cream { color: var(--cream); }
.osd-tl { top: 12px; left: 14px; } .osd-tr { top: 12px; right: 14px; } .osd-br { bottom: 12px; right: 14px; }
.hero-media .osd-tl { top: 60px; } .hero-media .osd-tr { top: 60px; }
@media (max-width: 900px) { .hero-media .osd-tl { top: 46px; } .osd-tr, .osd-br { display: none; } }

/* ---------- cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.split-center { align-items: center; }
.split-even { grid-template-columns: 1fr 1fr; }
.split-wide { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) { .grid-3, .grid-4, .split, .split-even, .split-wide { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--white); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); color: var(--ink); text-decoration: none; }
.card-band { height: 14px; border-bottom: 3px solid var(--ink); background: var(--gold); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { font-size: 15px; }
.card-body .grow { flex: 1; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--white); border: 3px solid var(--ink); }
.tile p { font-size: 15px; }
.venue { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--white); border: 3px solid var(--ink); border-left-width: 14px; }
.venue h3 { font-size: 24px; }
.venue p { font-size: 15px; flex: 1; }
.venue .addr { font-family: var(--mono); font-size: 12px; opacity: .75; text-decoration: none; }
.venue .addr:hover { opacity: 1; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }

/* role list (plug in) */
.role { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--white); border: 3px solid var(--ink); text-decoration: none; color: var(--ink); }
.role h3 { font-size: 28px; }
.role p { font-size: 15px; flex: 1; }
.role .go { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.role:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); color: var(--ink); }

/* upcoming row */
.event-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; padding: 24px; background: var(--cream); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
@media (max-width: 760px) { .event-row { grid-template-columns: 1fr; } }

/* ---------- signup ---------- */
.signup-form { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--cream); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.signup-form label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.signup-form .note { font-size: 13px; opacity: .75; }

/* ---------- Memphis bits ---------- */
.marquee { background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; padding: 12px var(--gutter); white-space: nowrap; overflow: hidden; }
.marquee b { color: var(--accent); font-weight: 400; }
.sticker { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 12px; border: 3px dashed var(--ink); border-radius: 999px; background: var(--cream); transform: rotate(6deg); }
.stamp { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); border: 3px double var(--red); padding: 5px 10px; transform: rotate(-6deg); mix-blend-mode: multiply; opacity: .9; }
.stamp-ink { color: var(--ink); border-color: var(--ink); transform: rotate(8deg); }
.wobble { border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; }
.statusline { background: var(--cream); color: var(--ink); border-top: 3px solid var(--ink); padding: 6px var(--gutter); display: flex; flex-wrap: wrap; gap: 0 28px; font-family: var(--pix); font-size: 20px; line-height: 1.2; text-transform: uppercase; }
.statusline .end { margin-left: auto; }
@media (max-width: 760px) { .statusline { font-size: 17px; gap: 0 14px; } .statusline .sep { display: none; } .statusline .end { margin-left: 0; } }

/* ---------- '95 window chrome ---------- */
.win { position: relative; display: flex; flex-direction: column; background: var(--face); padding: 2px; width: 100%; max-width: 100%;
  border: 2px solid; border-color: var(--hi) var(--ink) var(--ink) var(--hi); box-shadow: inset -1px -1px 0 var(--sh), inset 1px 1px 0 var(--face), 10px 10px 0 var(--ink); }
.win-shadow-accent { box-shadow: inset -1px -1px 0 var(--sh), inset 1px 1px 0 var(--face), 10px 10px 0 var(--accent); }
.win-shadow-orange { box-shadow: inset -1px -1px 0 var(--sh), inset 1px 1px 0 var(--face), 10px 10px 0 var(--orange); }
.win-shadow-cyan { box-shadow: inset -1px -1px 0 var(--sh), inset 1px 1px 0 var(--face), 10px 10px 0 var(--cyan); }
.win-shadow-red { box-shadow: inset -1px -1px 0 var(--sh), inset 1px 1px 0 var(--face), 10px 10px 0 var(--red); }
.titlebar { display: flex; align-items: center; gap: 6px; padding: 3px 4px 3px 6px; color: var(--cream); font: 700 13px/1 var(--body); background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 55%, var(--accent) 100%); }
.titlebar img { width: 16px; height: 16px; object-fit: contain; }
.titlebar .title { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-left: 2px; }
.winbtns { position: relative; flex-shrink: 0; margin-left: 6px; width: 60px; height: 16px; }
.winbtns svg { display: block; }
.winbtns button { position: absolute; top: 0; width: 18px; height: 16px; padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer; color: transparent; font-size: 0; }
.winbtns button:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.menubar { display: flex; gap: 2px; padding: 2px 4px; font: 13px/1 var(--body); border-bottom: 1px solid var(--sh); box-shadow: 0 1px 0 var(--hi); position: relative; }
.menu { position: relative; }
.menu > button { font: inherit; background: transparent; border: 1px solid transparent; padding: 3px 6px; cursor: pointer; color: var(--ink); }
.menu.open > button { background: var(--ink); color: var(--cream); }
.menu ul { display: none; position: absolute; left: 0; top: 100%; z-index: 20; margin: 0; padding: 2px; list-style: none; min-width: 200px; background: var(--face);
  border: 2px solid; border-color: var(--hi) var(--ink) var(--ink) var(--hi); box-shadow: inset -1px -1px 0 var(--sh), 4px 4px 0 var(--ink); }
.menu.open ul { display: block; }
.menu li button { display: flex; justify-content: space-between; gap: 16px; width: 100%; font: 13px var(--body); text-align: left; padding: 5px 8px; background: transparent; border: 0; cursor: pointer; color: var(--ink); }
.menu li button:hover, .menu li button:focus-visible { background: var(--ink); color: var(--cream); outline: 0; }
.menu li button[disabled] { opacity: .4; cursor: not-allowed; }
.menu li button[disabled]:hover { background: transparent; color: var(--ink); }
.menu li.sep { height: 1px; margin: 3px 2px; background: var(--sh); box-shadow: 0 1px 0 var(--hi); }
.menu kbd { font: 12px var(--mono); opacity: .7; }
.win-body { display: grid; grid-template-columns: 66px 1fr; gap: 4px; padding: 4px; }
.win-body.no-rail { grid-template-columns: 1fr; }
.tools { display: grid; grid-template-columns: 30px 30px; gap: 2px; align-content: start; justify-content: center; }
.tool { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--face); padding: 0; cursor: pointer;
  border: 2px solid; border-color: var(--hi) var(--ink) var(--ink) var(--hi); box-shadow: inset -1px -1px 0 var(--sh); }
.tool[aria-pressed="true"] { border-color: var(--sh) var(--hi) var(--hi) var(--sh); box-shadow: inset 1px 1px 0 var(--ink); background: #e9e5d8; }
.tool[disabled] { opacity: .35; cursor: not-allowed; }
.tool:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.tool svg { display: block; }
.canvas-wrap { position: relative; background: var(--white); overflow: hidden; min-width: 0; display: flex;
  border: 2px solid; border-color: var(--sh) var(--hi) var(--hi) var(--sh); box-shadow: inset 1px 1px 0 var(--ink); }
.canvas-wrap > * { width: 100%; }
.canvas-wrap > .osd { width: auto; }
.collage-ground { position: relative; background: var(--lavender); background-image: radial-gradient(circle, rgba(10,10,10,.22) 1.6px, transparent 1.7px); background-size: 11px 11px; padding: 44px 48px 52px; display: flex; justify-content: center; }
.collage-ground .art { position: relative; width: 100%; max-width: 760px; transform: rotate(-1.5deg); }
.collage-ground .art img { width: 100%; filter: drop-shadow(10px 10px 0 var(--red)) drop-shadow(-7px -7px 0 var(--cyan)); }
.collage-ground .tape { position: absolute; height: 26px; border: 2px solid rgba(10,10,10,.25); }
.collage-ground .tape-a { width: 110px; top: -6px; left: 16%; transform: rotate(-42deg); background: rgba(245,197,66,.9); }
.collage-ground .tape-b { width: 90px; bottom: -4px; right: 12%; transform: rotate(20deg); background: rgba(244,241,232,.92); }
.collage-ground .sticker { position: absolute; right: 20px; top: 16px; }
@media (max-width: 760px) { .collage-ground { padding: 24px 18px 28px; } .collage-ground .sticker { display: none; } .collage-ground .tape-b { display: none; } }
canvas#paint { display: block; width: 100%; height: auto; touch-action: none; cursor: crosshair; }
canvas#paint.tool-fill { cursor: cell; } canvas#paint.tool-stamp { cursor: copy; } canvas#paint.tool-eraser { cursor: not-allowed; }
.palette { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 2px 6px 4px; overflow: hidden; }
.current { width: 30px; height: 30px; margin-right: 4px; border: 2px solid; border-color: var(--sh) var(--hi) var(--hi) var(--sh); box-shadow: inset 1px 1px 0 var(--ink); }
.swatches { display: grid; grid-template-columns: repeat(7, 16px); gap: 1px; }
.swatch { width: 16px; height: 16px; padding: 0; cursor: pointer; border: 2px solid; border-color: var(--sh) var(--hi) var(--hi) var(--sh); box-shadow: inset 1px 1px 0 var(--ink); }
.swatch[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 1px; }
.tray { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 2px 6px; margin-left: auto; max-width: 100%; border: 2px solid; border-color: var(--sh) var(--hi) var(--hi) var(--sh); box-shadow: inset 1px 1px 0 var(--ink); }
.tray button { padding: 3px; background: transparent; border: 2px solid transparent; cursor: pointer; display: flex; }
.tray button[aria-pressed="true"] { border-color: var(--ink); background: var(--white); }
.tray img, .tray svg { height: 20px; width: auto; display: block; }
.status { display: flex; gap: 2px; padding: 2px 2px 0; }
.status span { padding: 3px 8px; font: 13px/1.3 var(--body); border: 2px solid; border-color: var(--sh) var(--hi) var(--hi) var(--sh); box-shadow: inset 1px 1px 0 var(--ink); }
.status .hint { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.status .xy { flex: 0 1 120px; min-width: 84px; white-space: nowrap; font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.grip { position: absolute; right: 0; bottom: 0; width: 24px; height: 24px; cursor: nwse-resize; z-index: 5;
  background: linear-gradient(135deg, transparent 0 40%, var(--sh) 40% 48%, transparent 48% 58%, var(--sh) 58% 66%, transparent 66% 76%, var(--sh) 76% 84%, transparent 84%); }
.edge { position: absolute; top: 40px; bottom: 26px; width: 12px; cursor: ew-resize; z-index: 5; }
.edge-r { right: -6px; } .edge-l { left: -6px; }
.win.min .menubar, .win.min .win-body, .win.min .palette, .win.min .status, .win.min .grip, .win.min .edge { display: none; }
.win-static .grip, .win-static .edge { display: none; }
.reopen { display: none; }
.collage-band.closed .reopen { display: inline-block; }
.collage-band.closed .win { display: none; }
.collage-band .band-inner { display: flex; justify-content: center; position: relative; width: 100%; max-width: 1200px; margin: 0 auto; }
@media (max-width: 760px), (pointer: coarse) { .grip, .edge { display: none; } canvas#paint { pointer-events: none; cursor: default; } .win-body { grid-template-columns: 1fr; } .tools { grid-template-columns: repeat(8, 30px); justify-content: start; } .menubar { display: none; } }

/* dialog (same chrome, no rail) */
.dialog-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.dialog-body h2 { font-size: 44px; }
.dialog-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 6px 16px 14px; }
.btn95 { display: inline-block; font: 700 13px/1 var(--body); text-decoration: none; min-width: 96px; text-align: center; padding: 9px 16px; background: var(--face); color: var(--ink); cursor: pointer;
  border: 2px solid; border-color: var(--hi) var(--ink) var(--ink) var(--hi); box-shadow: inset -1px -1px 0 var(--sh), inset 1px 1px 0 var(--face); }
.btn95-default { outline: 1px solid var(--ink); outline-offset: -4px; }
.btn95:hover { color: var(--ink); background: var(--white); }
.compose { display: grid; grid-template-columns: 70px 1fr; gap: 10px 12px; align-items: center; font-family: var(--mono); font-size: 14px; }
.compose .field { padding: 8px 10px; background: var(--white); border: 2px solid var(--ink); overflow-wrap: anywhere; }
.compose a.field { font-weight: 700; text-decoration: none; }
.compose .k { opacity: .7; }
.embed { width: 100%; border: 0; display: block; background: var(--white); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); }
.site-footer .wrap { padding-block: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; font-size: 14px; text-align: left; }
.site-footer img { height: 44px; width: auto; }
.site-footer .lines { display: flex; flex-direction: column; gap: 4px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer a { color: var(--cream); font-weight: 700; }
.site-footer a:hover { color: var(--accent); }
.site-footer .give { color: var(--accent); }
.site-footer .fine { opacity: .7; }
