/* ⚒ The Raid Crusade (js/crusade-ui.js; the hammer orb js/crusade-orb.js, its place on the ring in world.css). Owner,
   2026-11-15: the approved demo's window, cards and effects as they were signed off: the World's stone panel and buttons,
   raid bars on top (your hero, XP, the Raid Boost, blade heat, today's crusade), a deck of raider cards below (4 across
   on a computer, 1 a row on a phone), and the Pictures tab. Every class here starts with cr- (world.css has .hud, .modal,
   .card, .bar, .flash…); the World's .btn and .btn-gold are used as they are. One dark look on purpose. */
@font-face { font-family: "ZW Jakarta"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin-v12.woff2) format("woff2"); }

/* ---------- The hammer orb on the minimap's ring: the cards left in a gold badge on its outer side ---------- */
.orb-crusade:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 3px 8px rgba(0, 0, 0, 0.4); }
.orb-crusade .orb-icon img { width: 18px; height: 18px; image-rendering: pixelated; }
.orb-crusade.fresh-orb { animation: crOrbAsk 1.3s ease-out infinite; }
@keyframes crOrbAsk { 0% { box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 0 rgba(255, 210, 63, 0.85); } 100% { box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 11px rgba(255, 210, 63, 0); } }
.orb-crusade .orb-badge { position: absolute; left: -9px; bottom: -8px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; display: grid; place-items: center; font-family: "Jersey 10", ui-monospace, monospace; font-size: 17px; line-height: 1; color: var(--navy-900); background: var(--gold); border: 2px solid var(--edge-dark); pointer-events: none; }
.orb-crusade .orb-badge[data-n="0"] { display: none; }
@media (max-width: 760px), (orientation: landscape) and (max-height: 500px) and (min-width: 561px) {
  .orb-crusade .orb-icon img { width: 14px; height: 14px; }
  .orb-crusade .orb-badge { left: -8px; bottom: -7px; min-width: 16px; height: 16px; padding: 0 3px; font-size: 14px; border-width: 1px; }
}
@media (prefers-reduced-motion: reduce) { .orb-crusade.fresh-orb { animation: none; box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 3px rgba(255, 210, 63, 0.85); } }

/* ---------- The layer: over the HUD, under the World's own windows (z 20) and fights (z 30) ---------- */
#crusadeRoot { position: fixed; inset: 0; z-index: 19; pointer-events: none; }
.cr {
  --bg: #0b1533; --stone: #1c2750; --stone-2: #243263; --edge-dark: #070b1c; --edge-light: #4a5c98; --pit: #08103a; --pit-edge: #22306a;
  --ink: #f1ecd8; --muted: #a9b3d6; --label: #bcc5ea; --gold: #ffd23f; --gold-2: #e8b52a; --gold-dark: #8a6410; --cyan: #7fd4ff; --ice: #9fe0ff;
  --red: #ff5d5d; --ember: #ff981f; --green: #5fe86f; --outline: #1b1424; --warn-edge: #ff6b4a; --warn-head: #ffb3a0; --navy-900: #06124f;
  --display: "Titan One", "Arial Black", system-ui, sans-serif;
  --body: "ZW Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --pixel: "Jersey 10", ui-monospace, monospace;
  --ink8: -2px -2px 0 var(--outline), 2px -2px 0 var(--outline), -2px 2px 0 var(--outline), 2px 2px 0 var(--outline), 0 -2px 0 var(--outline), 0 2px 0 var(--outline), -2px 0 0 var(--outline), 2px 0 0 var(--outline), 3px 4px 0 var(--outline);
  --stone-panel: linear-gradient(180deg, var(--stone-2), var(--stone));
  --stone-ring: inset 0 0 0 1px var(--edge-light), inset 0 0 0 3px #141d40;
  color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.45; letter-spacing: normal; color-scheme: dark;
}
.cr *, .cr *::before, .cr *::after { box-sizing: border-box; }
/* No weight of its own (:where): as `.cr button` it outranked every class below, so the tabs, Strike, ✕ and + Picture
   buttons lost their fonts to the body's (owner, 2026-11-16, the tabs circled: "improve the font"). */
:where(.cr button, .cr textarea) { font: inherit; color: inherit; }
.cr button { cursor: pointer; }
.cr textarea { user-select: text; -webkit-user-select: text; -webkit-touch-callout: default; }
.cr :focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cr .px, .cr-px { image-rendering: pixelated; }
.cr a { color: var(--cyan); }

/* ---------- The window: the World's stone panel ---------- */
.cr-wrap { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(3, 8, 30, 0.55); pointer-events: auto;
  padding-block: max(16px, env(safe-area-inset-top, 0px), var(--ios-bar, 0px)) max(16px, env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.cr-win { position: relative; width: min(1180px, 100%); height: min(100%, 940px); border-radius: 8px; background: var(--stone-panel); border: 2px solid var(--edge-dark); box-shadow: var(--stone-ring), 0 6px 18px rgba(0, 0, 0, 0.45), 0 24px 60px rgba(0, 0, 0, 0.45); animation: crWinIn 0.3s cubic-bezier(.3,1.4,.5,1); }
@keyframes crWinIn { from { transform: scale(0.9) translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.cr-win-in { position: absolute; inset: 3px; display: flex; flex-direction: column; overflow: hidden; border-radius: 5px; }
/* The banner (owner, 2026-11-17: "make the top tab cooler.... like a proper crusader tab"): a war banner hung from a gold
   rod with the Crusade's crest, the title in the fight screen's outlined gold, the day's Crusader rank, and a stone
   parapet along its foot. The World's navy and gold (a red banner and gilt bars were turned down on 11-15). */
.cr-head { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; min-height: 84px; padding: 6px 14px 16px 18px; margin-bottom: 8px;
  background: radial-gradient(ellipse 55% 150% at 6% 0%, rgba(255, 210, 63, 0.2), transparent 62%), radial-gradient(ellipse 40% 120% at 100% 0%, rgba(127, 212, 255, 0.08), transparent 60%), linear-gradient(180deg, #2c3d82, #1d2a68 65%, #172159); }
.cr-head::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-conic-gradient(from -6deg at 48px 22%, rgba(255, 210, 63, 0.075) 0 5deg, transparent 5deg 13deg); -webkit-mask: linear-gradient(90deg, #000 10%, transparent 60%); mask: linear-gradient(90deg, #000 10%, transparent 60%); }
.cr-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; pointer-events: none; /* the parapet: merlons on a wall */
  background: linear-gradient(180deg, #56689f, #2e3d78) bottom / 100% 5px no-repeat, repeating-linear-gradient(90deg, #4a5c98 0 18px, transparent 18px 28px) top / 100% 5px no-repeat;
  filter: drop-shadow(0 2px 0 var(--edge-dark)); }
.cr-flag { position: relative; align-self: start; width: 62px; height: 94px; margin: -6px 0 -22px; z-index: 2; transform-origin: 50% 3px; animation: crSway 5s ease-in-out infinite alternate; filter: drop-shadow(0 5px 0 rgba(7, 11, 28, 0.8)); }
.cr-flag::before { content: ""; position: absolute; inset: 3px 0 0; background: linear-gradient(90deg, #8a6410, #ffe066 28%, #e8b52a 72%, #8a6410); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.cr-flag::after { content: ""; position: absolute; inset: 3px 3px 0; background: linear-gradient(180deg, #34489f, #1d2a6e 55%, #121a4e); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 50% calc(80% - 4px), 0 calc(100% - 6px)); }
.cr-rod { position: absolute; z-index: 3; left: -7px; right: -7px; top: 0; height: 6px; border-radius: 3px; background: linear-gradient(180deg, #fff1a8, #e8b52a 50%, #8a6410); box-shadow: 0 0 0 1px var(--edge-dark); }
.cr-rod::before, .cr-rod::after { content: ""; position: absolute; top: -2px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6c8, var(--gold) 45%, var(--gold-dark)); box-shadow: 0 0 0 1px var(--edge-dark); }
.cr-rod::before { left: -4px; }
.cr-rod::after { right: -4px; }
.cr-flag .cr-ico { position: relative; z-index: 1; display: block; width: 45px; height: 51px; margin: 15px auto 0; image-rendering: pixelated; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.45)); }
@keyframes crSway { from { transform: rotate(-1.8deg); } to { transform: rotate(1.8deg); } }
.cr-title { min-width: 0; }
.cr-title h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.3vw, 36px); line-height: 1.05; color: var(--gold); text-shadow: var(--ink8); letter-spacing: 0.01em; white-space: nowrap; }
.cr-motto { margin: 9px 0 0; font-family: var(--pixel); font-size: 19px; line-height: 1; color: #d3dbf7; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The day's Crusader rank (the Raid Boost's steps: Squire, Knight, Paladin, Crusader), in its helm's colour */
.cr-rank { --rk: #c9d2f5; --rk-dark: #3a4470; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 14px 6px 8px; border-radius: 10px; background: linear-gradient(180deg, #17215c, #0c1440); border: 2px solid var(--edge-dark); box-shadow: inset 0 0 0 1px var(--rk), 0 3px 0 var(--edge-dark), 0 0 24px -8px var(--rk); }
.cr-helm { flex: none; width: 33px; height: 33px; image-rendering: pixelated; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)); }
.cr-rank > span { display: grid; gap: 3px; min-width: 0; }
.cr-rank small { font-family: var(--pixel); font-size: 15px; line-height: 1; color: var(--muted); letter-spacing: 0.04em; }
.cr-rank b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1; color: var(--rk); text-shadow: 2px 2px 0 var(--outline); text-transform: uppercase; letter-spacing: 0.04em; }
.cr-rank em { font-style: normal; font-family: var(--pixel); font-size: 15px; line-height: 1; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-rank.up { animation: crRankUp 0.9s cubic-bezier(.2,1.4,.4,1); }
@keyframes crRankUp { 0% { transform: none; } 25% { transform: scale(1.16); filter: brightness(1.8); } 100% { transform: none; filter: none; } }
.cr-btns { display: flex; gap: 8px; align-items: center; }
/* The World's buttons (world.css .btn, .btn-gold), at the demo's sizes */
.cr .btn { border-radius: 6px; padding: 7px 14px; font-family: var(--pixel); font-weight: 400; font-size: 19px; line-height: 1; color: #fff; }
.cr .btn.btn-gold { color: var(--navy-900); font-family: var(--display); font-size: 16px; padding: 9px 16px; }
.cr-icon-btn.btn { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; }
.cr-icon-btn svg { width: 19px; height: 19px; }
.cr-x { width: 32px; height: 32px; border-radius: 6px; background: #7a2a2a; border: 2px solid #000; color: #fff; font: 700 16px/1 system-ui, sans-serif; }
.cr-x:hover { background: #943434; }

/* HUD: the raid bars, in a sunk strip */
.cr-hud { margin: 0 12px; padding: 12px 14px; display: grid; gap: 12px; border-radius: 8px; background: linear-gradient(180deg, #1a2663, #141e52); border: 1px solid #34468a; }
.cr-hud-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.95fr) auto; gap: 18px; align-items: center; }
.cr-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--pixel); font-size: 17px; line-height: 1; color: var(--label); letter-spacing: 0.04em; }
.cr-label b { font-family: var(--display); font-weight: 400; font-size: 16px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.cr-label i { font-style: normal; color: var(--muted); }
/* The bars: rounded pits, the XP and the crusade cut into chunks the same way */
.cr-bar { --n: 20; position: relative; height: 16px; margin-top: 6px; border-radius: 99px; background: var(--pit); border: 1px solid var(--pit-edge); overflow: hidden; }
.cr-bar > i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; transition: width 0.45s cubic-bezier(.2,.9,.3,1.2); }
.cr-bar::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--n) - 2px), rgba(5, 13, 58, 0.9) calc(100% / var(--n) - 2px) calc(100% / var(--n))); }
.cr-xpbar > i { background: linear-gradient(180deg, #ffe066, var(--gold) 50%, var(--gold-2)); transition: none; }
.cr-xpbar.flare > i { animation: crXpFlash 0.6s ease-out; }
@keyframes crXpFlash { 0% { filter: brightness(1.8); } 100% { filter: none; } }
.cr-heatbar::after { display: none; }
.cr-heatbar > i { background: linear-gradient(90deg, var(--cyan), var(--ember) 65%, var(--red)); transition: width 0.12s linear; }
.cr-daybar { height: 18px; }
.cr-daybar > i { background: linear-gradient(180deg, #ff8a6a, #ff6b4a 45%, #c23a24); }
.cr-day.hit .cr-daybar { animation: crBarHit 0.25s; }
@keyframes crBarHit { 30% { transform: translateX(-3px); } 60% { transform: translateX(3px); } }
.cr-me { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cr-port { position: relative; flex: none; width: 48px; height: 48px; border-radius: 10px; border: 2px solid var(--gold); background: radial-gradient(circle at 50% 38%, #3a4c8a, var(--navy-900) 75%); }
.cr-port img { position: absolute; inset: 0; width: 44px; height: 44px; border-radius: 8px; image-rendering: pixelated; }
.cr-lv { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); white-space: nowrap; font-family: var(--display); font-size: 12px; line-height: 1; color: var(--navy-900); background: var(--gold); border-radius: 6px; padding: 2px 6px; box-shadow: 0 2px 0 var(--gold-dark); }
.cr-mexp { flex: 1; min-width: 0; }
.cr-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; }
.cr-steps span { height: 16px; border-radius: 4px; background: var(--pit); border: 1px solid var(--pit-edge); font-family: var(--pixel); font-size: 15px; line-height: 14px; text-align: center; color: #5b679a; }
.cr-steps span.on { background: var(--ember); border-color: #ffb866; color: #2a1200; }
.cr-steps span.now { background: var(--gold); border-color: #fff1a8; color: var(--navy-900); }
.cr-next, .cr-heatnote { margin-top: 4px; font-family: var(--pixel); font-size: 15px; line-height: 1; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-heat.hot .cr-label b { color: var(--red); animation: crBlink 0.7s steps(2) infinite; }
.cr-heat.hot .cr-heatnote { color: var(--warn-head); }
@keyframes crBlink { 50% { opacity: 0.35; } }
.cr-slain { text-align: right; }
.cr-slain .cr-label { justify-content: flex-end; }
.cr-slain > b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; color: #fff; }
.cr-slain > small { display: block; font-family: var(--pixel); font-size: 15px; line-height: 1; color: var(--muted); white-space: nowrap; }
.cr-day { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }
.cr-dayico { width: 27px; height: 27px; margin: 0 9px; image-rendering: pixelated; }

/* Body */
.cr-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 14px 12px 18px; }
/* The filter tabs' row is .cr-filters, not .cr-tabs: world.css's Creators board styles `.cr-tabs button` (round pills,
   the body font, 7 px left / 12 px right, dark count bubbles), which outranked .cr-tab and pushed the words off centre
   (owner, 2026-11-21, the row circled: "center better this text and font"). Word and count sit in the middle, pixel font. */
.cr-filters { display: flex; gap: 6px; margin: 0 0 14px; flex-wrap: wrap; align-items: center; }
.cr-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 6px; font-family: var(--pixel); font-size: 20px; line-height: 1; white-space: nowrap; color: #fff; background: linear-gradient(180deg, #34457e, #1f2b58); border: 2px solid var(--edge-dark); box-shadow: inset 0 0 0 1px var(--edge-light); }
.cr-tab b { font-weight: 400; color: var(--gold); }
.cr-tab[aria-pressed="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.cr-tip { margin-left: auto; font-family: var(--pixel); font-size: 16px; color: var(--muted); }
.cr-note { margin: 0 0 12px; padding: 9px 12px; border-radius: 8px; background: var(--pit); border: 1px solid var(--gold-2); font-size: 13.5px; color: #dfe6ff; }
.cr-note b { color: var(--gold); }
.cr-note.bad { border-color: var(--warn-edge); }
.cr-note.bad b { color: var(--warn-head); }
.cr-empty { grid-column: 1 / -1; margin: 30px auto; max-width: 52ch; text-align: center; color: var(--muted); font-size: 14px; }
.cr-empty b { display: block; margin-bottom: 6px; font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--gold); }

/* ---------- The cards ---------- */
.cr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 2px 2px 20px; }
.cr-grid[data-filter="open"] .cr-post.slain, .cr-grid[data-filter="slain"] .cr-post:not(.slain) { display: none; }
.cr-post { --rc: #9aa6c8; --rim-hi: #eef1ff; --rim-lo: #3a4470; position: relative; min-width: 0; border-radius: 14px; }
.cr-card { position: relative; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 14px; border: 6px solid transparent;
  background: linear-gradient(180deg, #1c2867, #111a4c 60%, #0d1540) padding-box, linear-gradient(155deg, var(--rim-hi), var(--rc) 30%, var(--rim-lo)) border-box;
  box-shadow: 0 0 0 2px var(--edge-dark), 0 5px 0 2px var(--edge-dark); transition: filter 0.5s, transform 0.2s; }
.cr-post:not(.slain) .cr-card:hover { transform: translateY(-3px); }
/* The card's head: the art beside the raider's name, tier and post (owner, 2026-11-16: "make them occupy less space
   vertically"; the art was the card's whole width). */
.cr-top { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 8px; align-items: center; }
.cr-id { min-width: 0; display: grid; gap: 5px; }
.cr-name { display: block; font-family: var(--display); font-weight: 400; font-size: 16px; line-height: 1.1; color: #fff; text-shadow: 2px 2px 0 var(--outline); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
.cr-art { position: relative; display: block; border-radius: 6px; overflow: hidden; border: 2px solid var(--outline); box-shadow: 0 0 0 2px var(--rc); background: #0b1650; }
a.cr-art:hover { box-shadow: 0 0 0 2px var(--gold); }
.cr-tier { position: absolute; left: 3px; top: 3px; max-width: calc(100% - 6px); font-family: var(--pixel); font-size: 13px; line-height: 1; color: var(--outline); background: var(--rim-hi); border: 1px solid var(--outline); border-radius: 4px; padding: 1px 4px 2px; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-art img { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; image-rendering: pixelated; object-fit: cover; }
.cr-art img.photo { image-rendering: auto; }
.cr-art .cr-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(6, 18, 79, 0.78); border: 2px solid var(--gold); color: var(--gold); font: 700 15px/1 system-ui, sans-serif; padding-left: 3px; pointer-events: none; }
.cr-who { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.3; color: var(--muted); min-width: 0; }
.cr-who img { width: 16px; height: 16px; border-radius: 4px; image-rendering: pixelated; flex: none; }
.cr-who span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-who i { font-style: normal; color: var(--ink); }
/* Open post: X's own black and white, the plainest way to the post (owner, 2026-11-17: "way more visible") */
.cr-xbtn { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 6px 8px; border-radius: 7px; background: #000; color: #fff; border: 2px solid #e7e9ea; box-shadow: 0 0 0 1px var(--edge-dark), 0 3px 0 var(--edge-dark); font-family: var(--display); font-size: 13px; line-height: 1; text-decoration: none; white-space: nowrap; overflow: hidden; }
.cr .cr-xbtn { color: #fff; }
.cr-xbtn b { font: 900 15px/1 system-ui, sans-serif; }
.cr-xbtn:hover { border-color: var(--gold); }
.cr .cr-xbtn:hover { color: var(--gold); }
.cr-xbtn:active { transform: translateY(2px); box-shadow: 0 0 0 1px var(--edge-dark), 0 1px 0 var(--edge-dark); }
.cr-hp { --n: 3; height: 15px; margin-top: 0; }
.cr-hp .cr-lag { background: #fff; transition: width 0.5s 0.3s ease-in; }
.cr-hp .cr-fill { background: linear-gradient(180deg, #9cff9f, var(--green) 40%, #2fae45); transition: width 0.12s; }
.cr-hp.mid .cr-fill { background: linear-gradient(180deg, #fff1a8, var(--gold) 40%, #c9930c); }
.cr-hp.low .cr-fill { background: linear-gradient(180deg, #ffd0a0, var(--ember) 40%, #b8560c); }
.cr-hp .cr-hpt { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-family: var(--pixel); font-size: 15px; line-height: 1; color: #fff; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; }
.cr-textbox { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; } /* it takes the row's spare height, so the buttons line up */
.cr-text { margin: 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.cr-post.full .cr-text { display: block; overflow: visible; }
.cr-more { padding: 0; border: 0; background: none; font-family: var(--pixel); font-size: 15px; line-height: 1; color: var(--cyan); cursor: pointer; }
.cr-more:hover { color: var(--gold); }
.cr-text .cr-tag { color: var(--cyan); font-weight: 700; }
.cr-text .cr-tag.z { color: var(--gold); }
/* Like, Repost, Reply: the World's buttons, a pixel icon and the word */
.cr-slots { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 6px; }
.cr-slot { position: relative; min-width: 0; display: flex; justify-content: center; align-items: center; gap: 4px; padding: 6px 3px; border-radius: 6px; background: linear-gradient(180deg, #34457e, #1f2b58); border: 2px solid var(--edge-dark); box-shadow: inset 0 0 0 1px var(--edge-light), 0 3px 0 var(--edge-dark); }
.cr-slot:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 3px 0 var(--edge-dark); }
.cr-slot .cr-sq { display: flex; align-items: center; gap: 5px; }
.cr-slot .cr-sq img { width: 18px; height: auto; image-rendering: pixelated; }
.cr-slot em { min-width: 0; font-style: normal; font-family: var(--pixel); font-size: 17px; line-height: 1; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-like.on { background: linear-gradient(180deg, #6a1f45, #3a1032); }
.cr-rt.on { background: linear-gradient(180deg, #1f6a3a, #14482a); }
.cr-reply.on { background: linear-gradient(180deg, #6a5414, #4a3a0c); }
.cr-slot.on em { color: #fff3b0; }
/* Opened on X, not yet counted: "Done it ✓" for the player to tick (below level 40), or X being asked (from 40). */
.cr-slot.wait { background: linear-gradient(180deg, #ffe066, var(--gold-2)); border-color: #3a2a00; box-shadow: inset 0 0 0 1px #fff3b0, 0 3px 0 var(--gold-dark); animation: crTickAsk 1.4s ease-out infinite; }
.cr-slot.wait em { color: var(--navy-900); }
.cr-slot:is(.wait, .check) .cr-sq { display: none; } /* the words need the room */
@keyframes crTickAsk { 0% { box-shadow: inset 0 0 0 1px #fff3b0, 0 3px 0 var(--gold-dark), 0 0 0 0 rgba(255, 210, 63, 0.7); } 100% { box-shadow: inset 0 0 0 1px #fff3b0, 0 3px 0 var(--gold-dark), 0 0 0 9px rgba(255, 210, 63, 0); } }
.cr-slot.check { background: linear-gradient(180deg, #24306a, #18214a); }
.cr-slot.check em { color: var(--ice); }
.cr-slot.check.asking em { animation: crAsking 0.8s ease-in-out infinite alternate; } /* X being asked right now: Checking… */
@keyframes crAsking { from { opacity: 1; } to { opacity: 0.4; } }
/* Like with no X connected (owner, 2026-11-17): locked, a tap asks to connect X */
.cr-slot.nox { opacity: 0.7; }
.cr-slot.nox .cr-sq img { display: none; }
.cr-slot.nox .cr-sq::before { content: "🔒"; font-size: 14px; line-height: 1; }
html.cr-hot .cr-post:not(.slain) .cr-slot:not(.on):not(.wait) { opacity: 0.45; }
.cr-composer { display: grid; gap: 8px; padding: 9px; border-radius: 8px; background: var(--pit); border: 1px solid var(--pit-edge); }
.cr-composer textarea, .cr-rtbox textarea { width: 100%; min-height: 64px; resize: vertical; border-radius: 6px; border: 1px solid #34468a; background: #0b1650; padding: 8px 10px; font-size: 14px; color: var(--ink); font-family: var(--body); }
.cr-rtbox textarea { min-height: 44px; padding: 7px 10px; }
.cr-composer textarea::placeholder, .cr-rtbox textarea::placeholder { color: #7480b4; }
/* The words' meter: a pip a word up to the crit, and the XP the reply pays right now (owner, 2026-11-17: "dont require as
   many words to trigger xp"; any reply of your own pays) */
.cr-power { display: flex; align-items: center; gap: 8px; min-width: 0; font-family: var(--pixel); font-size: 16px; line-height: 1; color: var(--muted); }
.cr-pips { display: flex; gap: 3px; flex: none; }
.cr-pips i { width: 11px; height: 10px; border-radius: 3px; background: #16205a; border: 1px solid #2b3c80; }
.cr-pips i.on { background: var(--cyan); border-color: #c4ecff; }
.cr-power.crit .cr-pips i.on { background: var(--gold); border-color: #fff1a8; }
.cr-pwl { white-space: nowrap; }
.cr-power.lit .cr-pwl { color: var(--ink); }
.cr-power.crit .cr-pwl { color: var(--gold); }
.cr-power .cr-ztag { display: none; padding: 2px 5px; border-radius: 4px; color: var(--navy-900); background: var(--gold); white-space: nowrap; }
.cr-power .cr-ztag.on { display: inline-block; }
.cr-xpv { margin-left: auto; flex: none; font-family: var(--display); font-weight: 400; font-size: 14px; line-height: 1; color: var(--navy-900); background: linear-gradient(180deg, #ffe066, var(--gold-2)); border-radius: 6px; padding: 4px 7px; box-shadow: inset 0 0 0 1px #fff3b0, 0 2px 0 var(--gold-dark); white-space: nowrap; }
.cr-xpv.off { color: #8b96c7; background: var(--pit); box-shadow: inset 0 0 0 1px var(--pit-edge); }
.cr-xpv:empty { display: none; }
.cr-power.crit .cr-xpv:not(.off) { background: linear-gradient(180deg, #fff6c8, var(--gold) 60%, #ffb347); animation: crXpCrit 0.45s cubic-bezier(.2,1.6,.4,1); }
@keyframes crXpCrit { 0% { transform: scale(1.35); } 100% { transform: none; } }
.cr-row { display: flex; align-items: center; gap: 8px; }
.cr-msg { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); }
.cr-msg.bad { color: var(--warn-head); font-weight: 700; }
.cr-composer.shake, .cr-rtbox.shake { animation: crBarHit 0.3s; }
.cr-strike { flex: none; border-radius: 6px; padding: 6px 12px; display: inline-flex; gap: 6px; align-items: center; font-family: var(--display); font-size: 14px; color: var(--navy-900); background: linear-gradient(180deg, #ffe066, var(--gold-2)); border: 2px solid #3a2a00; box-shadow: inset 0 0 0 1px #fff3b0, 0 3px 0 var(--gold-dark); }
.cr-strike img { width: 18px; height: 18px; image-rendering: pixelated; }
.cr-strike:disabled { opacity: 0.5; cursor: not-allowed; }
.cr-before { justify-self: start; padding: 0; border: 0; background: none; font-size: 12px; color: var(--muted); text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; } /* a reply made on X before: its tick */
.cr-before:hover { color: var(--gold); }
.cr-gorow { display: block; margin-top: 6px; }
.cr .btn.cr-go { display: inline-block; padding: 5px 10px; font-size: 14px; text-decoration: none; }
.cr-mine { margin: 0; font-size: 13px; color: var(--muted); border-left: 3px solid var(--gold-2); padding-left: 8px; overflow-wrap: anywhere; }
.cr-mine b { color: var(--gold); font-weight: 700; }
.cr-mine img { float: right; width: 40px; height: 40px; margin: 0 0 4px 6px; object-fit: cover; border-radius: 4px; border: 1px solid var(--edge-dark); }
.cr-myquote { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 13px; color: var(--muted); border-left: 3px solid var(--green); padding-left: 8px; overflow-wrap: anywhere; }
.cr-myquote img { width: 40px; height: 40px; flex: none; object-fit: cover; border-radius: 4px; border: 1px solid var(--edge-dark); }
.cr-myquote b { color: var(--green); font-weight: 700; }

.cr-white { position: absolute; inset: 0; border-radius: 14px; background: #fff; opacity: 0; pointer-events: none; z-index: 5; }
.cr-slainmark { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; pointer-events: none; display: none; z-index: 4; }
/* What the raider's reply answers (or their quote quotes), as on X: a quiet box over their words. */
.cr-ctx { margin: 0; padding: 6px 9px; border-radius: 6px; border-left: 3px solid #34468a; background: #0b1650; font-size: 12.5px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.cr-ctx b { display: block; margin-bottom: 2px; font-family: var(--pixel); font-weight: 400; font-size: 15px; line-height: 1; color: #8fa0d8; }
.cr-ctx p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cr-post.full .cr-ctx p { -webkit-line-clamp: 8; }
.cr-post.slain .cr-slainmark { display: block; }
.cr-post.slain .cr-card > :not(.cr-slots, .cr-composer, .cr-rtbox) { filter: grayscale(0.9) brightness(0.5) contrast(0.95); }
.cr-post.slain .cr-card { --rc: #5a5f73; --rim-hi: #8a8fa3; --rim-lo: #2a2d3a; } /* the rim goes grey with the rest */
/* A slain card's other action (a repost after a reply, or a reply after a repost) stays: an extra hit for the Raid Boost
   (owner, 2026-11-16: "OR BOTH FOR EXTRA BOOST"). Over the scratches; what's done fades. */
.cr-post.slain :is(.cr-slots, .cr-composer, .cr-rtbox) { position: relative; z-index: 6; }
.cr-post.slain .cr-slot.on { opacity: 0.4; }
.cr-post.slain .cr-slot:not(.on) { box-shadow: inset 0 0 0 2px var(--gold), 0 3px 0 var(--edge-dark); }
.cr-scratch { position: absolute; left: -12%; width: 124%; height: 11px; transform-origin: 0 50%; transform: rotate(-28deg); filter: drop-shadow(0 2px 0 var(--outline)) drop-shadow(0 -1px 0 var(--outline)); }
.cr-scratch::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #c9c2e6, #f4efff 30%, #fff 50%, #f4efff 70%, #c9c2e6); clip-path: polygon(0 50%, 10% 10%, 88% 0, 100% 50%, 88% 100%, 10% 90%); }
.cr-scratch:nth-child(1) { top: 62%; }
.cr-scratch:nth-child(2) { top: 72%; }
.cr-scratch:nth-child(3) { top: 82%; }
.cr-post.slain.fresh .cr-scratch { animation: crScratch 0.24s cubic-bezier(.2,.8,.2,1) both; }
.cr-post.slain.fresh .cr-scratch:nth-child(2) { animation-delay: 0.07s; }
.cr-post.slain.fresh .cr-scratch:nth-child(3) { animation-delay: 0.14s; }
@keyframes crScratch { from { transform: rotate(-28deg) scaleX(0); } to { transform: rotate(-28deg) scaleX(1); } }
.cr-stamp { position: absolute; left: 50%; top: 32%; transform: translate(-50%, -50%) rotate(-6deg); text-align: center; white-space: nowrap; }
.cr-stamp b { display: block; font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; color: var(--gold); text-shadow: var(--ink8), 0 0 30px rgba(255, 80, 40, 0.6); letter-spacing: 0; }
.cr-stamp span { display: inline-block; margin-top: 8px; font-family: var(--pixel); font-size: 22px; color: var(--gold); background: rgba(5, 13, 58, 0.85); border: 2px solid var(--outline); border-radius: 6px; padding: 0 8px; }
.cr-stamp span:empty { display: none; }
.cr-post.slain.fresh .cr-stamp { animation: crCardKo 0.5s 0.15s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes crCardKo { from { transform: translate(-50%, -50%) rotate(-14deg) scale(3); opacity: 0; } to { transform: translate(-50%, -50%) rotate(-6deg) scale(1); opacity: 1; } }
.cr-half { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.cr-half .cr-card { height: 100%; }
.cr-half.cr-ha { clip-path: polygon(0 0, 100% 0, 100% 35%, 0 65%); animation: crHalfA 0.9s cubic-bezier(.1,.9,.2,1) both; }
.cr-half.cr-hb { clip-path: polygon(0 65%, 100% 35%, 100% 100%, 0 100%); animation: crHalfB 0.9s cubic-bezier(.1,.9,.2,1) both; }
@keyframes crHalfA { 0% { transform: none; } 25% { transform: translate(-12px, -14px) rotate(-3deg); } 80% { transform: translate(-16px, -18px) rotate(-3.6deg); } 100% { transform: none; } }
@keyframes crHalfB { 0% { transform: none; } 25% { transform: translate(12px, 14px) rotate(3deg); } 80% { transform: translate(16px, 18px) rotate(3.6deg); } 100% { transform: none; } }
.cr-post.cutting > .cr-card { visibility: hidden; }
.cr-blade { position: absolute; height: 8px; z-index: 7; transform-origin: 0 50%; pointer-events: none; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 18%, #fff 82%, rgba(255,255,255,0));
  box-shadow: 0 0 0 2px var(--outline), 0 0 16px 5px rgba(255, 210, 63, 0.95), 0 0 44px 12px rgba(255, 152, 31, 0.5); }

/* ---------- Effect layers ---------- */
.cr-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; image-rendering: pixelated; }
.cr-floats { position: fixed; inset: 0; pointer-events: none; z-index: 41; overflow: hidden; }
.cr-inv { position: fixed; inset: 0; background: #fff; mix-blend-mode: difference; z-index: 46; pointer-events: none; }
.cr-cine i { position: fixed; left: 0; right: 0; height: 0; background: #000; z-index: 44; pointer-events: none; transition: height 0.18s ease-out; }
.cr-cine i:first-child { top: 0; }
.cr-cine i:last-child { bottom: 0; }
.cr-cine.on i { height: 9vh; }
/* The fight screen's numbers and stamps (world.css .bt-pop, .bt-stamp) */
.cr-pop { --pop-ink: -0.09em -0.09em 0 #1b1424, 0.09em -0.09em 0 #1b1424, -0.09em 0.09em 0 #1b1424, 0.09em 0.09em 0 #1b1424, 0 -0.09em 0 #1b1424, 0 0.09em 0 #1b1424, -0.09em 0 0 #1b1424, 0.09em 0 0 #1b1424, 0.12em 0.14em 0 #1b1424, 0 0 0.25em rgba(10, 4, 20, 0.85);
  position: absolute; transform: translate(-50%, -100%); font-family: var(--display); font-weight: 400; font-size: 30px; white-space: nowrap; color: #fff; text-shadow: var(--pop-ink), 0 0 18px rgba(255, 190, 40, 0.75); animation: crPop 1.05s ease-out forwards; letter-spacing: 0; }
.cr-pop.big { font-size: 40px; color: #ffe066; }
.cr-pop.crit { font-size: 38px; color: var(--gold); text-shadow: var(--pop-ink), 0 0 16px rgba(255, 190, 40, 0.7); }
.cr-pop.like { color: #ffc2cc; text-shadow: var(--pop-ink), 0 0 16px rgba(255, 93, 115, 0.7); }
.cr-pop.rt { color: #b9ffc0; text-shadow: var(--pop-ink), 0 0 16px rgba(95, 232, 111, 0.7); }
@keyframes crPop { 0% { transform: translate(-50%, -60%) scale(0.6); opacity: 0; } 15% { transform: translate(-50%, -100%) scale(1.2); opacity: 1; } 100% { transform: translate(-50%, -190%) scale(1); opacity: 0; } }
.cr-bigstamp { position: absolute; transform: translate(-50%, -50%); font-family: var(--display); font-weight: 400; font-size: 30px; white-space: nowrap; pointer-events: none; color: #fff; text-shadow: 3px 3px 0 #1b1424, -2px -2px 0 #1b1424, 2px -2px 0 #1b1424, -2px 2px 0 #1b1424; animation: crStamp 1.2s cubic-bezier(0.2, 1.6, 0.4, 1) forwards; text-align: center; line-height: 1; letter-spacing: 0; }
.cr-bigstamp.crit { color: var(--gold); animation: crCrit 0.9s ease-out forwards; }
.cr-bigstamp.sub { font-size: 26px; color: var(--ice); }
.cr-bigstamp.ko { font-size: clamp(40px, 10vw, 120px); color: var(--gold); text-shadow: 6px 6px 0 #1b1424, -3px -3px 0 #1b1424, 3px -3px 0 #1b1424, -3px 3px 0 #1b1424, 0 0 50px rgba(255, 80, 40, 0.8); animation: crKo 1.9s cubic-bezier(0.2, 1.5, 0.4, 1) forwards; white-space: normal; width: max-content; max-width: calc(100vw - 24px); }
@keyframes crStamp { 0% { transform: translate(-50%, -50%) scale(2.4) rotate(-8deg); opacity: 0; } 14% { transform: translate(-50%, -50%) scale(1) rotate(-4deg); opacity: 1; } 75% { transform: translate(-50%, -60%) rotate(-4deg); opacity: 1; } 100% { transform: translate(-50%, -85%) scale(0.9) rotate(-4deg); opacity: 0; } }
@keyframes crCrit { 0% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; } 15% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 70% { transform: translate(-50%, -62%); opacity: 1; } 100% { transform: translate(-50%, -80%); opacity: 0; } }
@keyframes crKo { 0% { transform: translate(-50%, -50%) scale(4) rotate(-14deg); opacity: 0; } 12% { transform: translate(-50%, -50%) scale(0.92) rotate(-6deg); opacity: 1; } 18% { transform: translate(-50%, -50%) scale(1.06) rotate(-6deg); } 24%, 80% { transform: translate(-50%, -50%) rotate(-6deg); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.1) rotate(-6deg); opacity: 0; } }

/* Popups: the World's window (Crusade complete, the copy-paste and pace warnings, a picture, a video's download) */
.cr-ov { position: fixed; inset: 0; z-index: 35; display: grid; place-items: center; background: rgba(3, 8, 30, 0.7); padding: 16px; pointer-events: auto; }
.cr-ov.top { z-index: 48; }
.cr-modal { position: relative; width: min(460px, 100%); max-height: 100%; overflow-y: auto; border-radius: 8px; background: var(--stone-panel); border: 2px solid var(--edge-dark); box-shadow: var(--stone-ring), 0 6px 18px rgba(0, 0, 0, 0.45); padding: 22px 20px 20px; text-align: center; animation: crWinIn 0.3s cubic-bezier(.3,1.5,.5,1); }
.cr-modal h3 { margin: 6px 0 6px; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--gold); text-shadow: 2px 2px 0 #000a2e; text-wrap: balance; letter-spacing: 0; }
.cr-modal p { margin: 0 0 14px; color: #cfd8f0; }
.cr-warnico { width: 46px; height: 46px; margin: 0 auto 2px; border-radius: 50%; display: grid; place-items: center; background: var(--warn-edge); border: 2px solid var(--edge-dark); font: 900 26px/1 system-ui, sans-serif; color: #1b1424; }
.cr-xico { width: 46px; height: 46px; margin: 0 auto 2px; border-radius: 50%; display: grid; place-items: center; background: #000; border: 2px solid var(--edge-light); font: 900 24px/1 system-ui, sans-serif; color: #fff; }
.cr-warn h3 { color: var(--warn-head); }
.cr-strikes { display: flex; justify-content: center; align-items: center; gap: 6px; margin: -4px 0 16px; font-family: var(--pixel); font-size: 17px; line-height: 1; color: var(--muted); flex-wrap: wrap; }
.cr-strikes i { width: 20px; height: 20px; border-radius: 5px; background: var(--pit); border: 1px solid var(--pit-edge); display: grid; place-items: center; font: 900 12px/1 system-ui, sans-serif; color: transparent; font-style: normal; }
.cr-strikes i.on { background: var(--warn-edge); border-color: #ffb3a0; color: #1b1424; }
.cr-mbtns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.cr-chest { width: 120px; height: 104px; margin: 0 auto; position: relative; isolation: isolate; display: grid; place-items: center; }
.cr-chest canvas { width: 72px; height: 72px; image-rendering: pixelated; }
.cr-rays { position: absolute; inset: -40px; background: repeating-conic-gradient(from 0deg, rgba(255,210,63,0.28) 0 10deg, transparent 10deg 20deg); border-radius: 50%; mask: radial-gradient(circle, #000 30%, transparent 70%); -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); animation: crSpin 8s linear infinite; z-index: -1; }
@keyframes crSpin { to { transform: rotate(1turn); } }
.cr-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 16px; text-align: left; }
.cr-sum div { border: 1px solid #34468a; border-radius: 10px; background: linear-gradient(180deg, #1a2663, #141e52); padding: 8px 10px; }
.cr-sum span { display: block; font-family: var(--pixel); font-size: 16px; line-height: 1; color: var(--label); }
.cr-sum b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; color: #fff; font-variant-numeric: tabular-nums; }
.cr-sum .big { grid-column: 1 / -1; border-color: var(--gold-2); }
.cr-sum .big b { color: var(--gold); }

.cr-toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 47; background: var(--stone-panel); border: 2px solid var(--edge-dark); box-shadow: var(--stone-ring); color: #dfe6ff; border-radius: 6px; padding: 10px 14px; font-family: var(--pixel); font-size: 18px; line-height: 1.1; opacity: 0; transition: opacity 0.2s, transform 0.2s; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; text-align: center; }
.cr-toast.on { opacity: 1; transform: translate(-50%, 0); }

.cr-live { margin: 4px 0 8px; border: 1px solid #34468a; border-radius: 10px; background: linear-gradient(180deg, #1a2663, #141e52); padding: 12px 16px; }
.cr-live summary { cursor: pointer; font-family: var(--display); font-size: 16px; color: var(--gold); }
.cr-live ul { margin: 10px 0 4px; padding-left: 20px; color: var(--muted); max-width: 84ch; display: grid; gap: 6px; font-size: 14px; }
.cr-live li b { color: var(--ink); }

/* ---------- Repost: just repost, or quote with a picture ---------- */
.cr-rtbox { display: grid; gap: 8px; padding: 9px; border-radius: 8px; background: var(--pit); border: 1px solid var(--pit-edge); }
.cr-rtbox .cr-msg:empty { display: none; }
.cr-rtbtns { display: flex; gap: 6px; }
.cr-rtbtns .btn { flex: 1; padding: 8px 6px; }
.cr-rtbtns .btn[aria-expanded="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.cr-rtquote { display: grid; gap: 8px; }
.cr-rtnote { margin: 0; font-size: 12px; color: var(--muted); }
/* Pictures that fit the post, under the words (owner, 2026-11-17: "more easily add images to commnet on posts, that feel
   applicable to that post", then "make the suggested pictures quite bigger and allow them to open and expand like a
   sliding carrousell"): a row that slides, one big picture at a time with the next one peeking (then "even bigger images, and give
   priority to the meme ones"); a tap on a picture opens
   them big (.cr-fitmodal), its round + puts it on (✓, in gold); All pictures at the end. ‹ › on a computer. */
.cr-att { display: grid; gap: 6px; min-width: 0; }
.cr-fitl { font-family: var(--pixel); font-size: 16px; line-height: 1; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-fitl.on { color: var(--gold); }
.cr-fitwrap { position: relative; min-width: 0; }
.cr-fits { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 2px 2px 7px; scrollbar-width: thin; scrollbar-color: #34468a transparent; }
.cr-fit { position: relative; flex: 0 0 min(calc(100% - 44px), 270px); min-width: 0; padding: 0; aspect-ratio: 1; scroll-snap-align: start; border-radius: 8px; overflow: hidden; background: #0b1650; border: 2px solid var(--edge-dark); box-shadow: inset 0 0 0 1px var(--edge-light), 0 3px 0 var(--edge-dark); }
.cr-fitv { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.cr-fitv img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cr-fit.is-news .cr-fitv img { object-fit: contain; background: #000; } /* the 4:5 news pictures whole, headline and all */
.cr-fit.is-stat .cr-fitv img { background: #ffc414; }
/* Opens big: a corner-arrows mark on each picture */
.cr-fitv::after { content: ""; position: absolute; left: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 7px; background: rgba(6, 18, 79, 0.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffd23f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 6V2h4M10 2h4v4M14 10v4h-4M6 14H2v-4'/%3E%3C/svg%3E") center / 14px no-repeat; border: 1px solid var(--edge-light); pointer-events: none; }
.cr-fit:hover { border-color: var(--gold); }
.cr-fit.on { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(255, 210, 63, 0.6); }
.cr-fitpick { position: absolute; top: 6px; right: 6px; z-index: 2; width: 32px; height: 32px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(6, 18, 79, 0.85); border: 2px solid #fff; color: #fff; font: 900 19px/1 system-ui, sans-serif; box-shadow: 0 2px 0 var(--outline); }
.cr-fitpick:hover { border-color: var(--gold); color: var(--gold); }
.cr-fit.on .cr-fitpick { background: var(--gold); color: var(--navy-900); border-color: var(--outline); }
.cr-fit.vid::before { content: "▶"; position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(6, 18, 79, 0.78); border: 2px solid var(--gold); color: var(--gold); font: 700 17px/1 system-ui, sans-serif; padding-left: 3px; pointer-events: none; }
.cr-fit.more { display: grid; place-content: center; gap: 4px; font-family: var(--pixel); font-size: 18px; line-height: 1; color: var(--cyan); background: transparent; border: 2px dashed #34468a; box-shadow: none; text-align: center; scroll-snap-align: end; }
.cr-fit.more b { font: 400 30px/0.8 var(--pixel); }
.cr-fit.more:hover { color: var(--gold); border-color: var(--gold); }
.cr-fitnav { position: absolute; top: calc(50% - 24px); z-index: 3; width: 30px; height: 42px; padding: 0; border-radius: 8px; display: grid; place-items: center; background: rgba(6, 18, 79, 0.92); border: 2px solid var(--edge-light); color: var(--gold); font: 400 28px/1 var(--display); box-shadow: 0 2px 0 var(--outline); }
.cr-fitnav:hover { border-color: var(--gold); }
.cr-fitnav.prev { left: -6px; }
.cr-fitnav.next { right: -6px; }
@media (hover: none) { .cr-fitnav { display: none; } } /* a phone swipes the row */
.cr-keys { display: inline-flex; align-items: center; gap: 8px; }
.cr-keys kbd { display: inline-grid; place-items: center; min-width: 60px; height: 52px; margin-bottom: 6px; padding: 0 12px; border-radius: 9px; background: linear-gradient(180deg, #ffffff, #d6dcec); color: #111a44; border: 2px solid var(--outline); box-shadow: 0 5px 0 #8d95b2, 0 6px 0 var(--outline); font: 800 26px/1 system-ui, sans-serif; letter-spacing: 0; }
.cr-keys i { font: 900 24px/1 system-ui, sans-serif; font-style: normal; color: var(--gold); }

/* ---------- The Pictures tab ---------- */
.cr-pics { display: none; }
.cr-body[data-view="pics"] .cr-pics { display: block; }
.cr-body[data-view="pics"] .cr-grid { display: none; }
.cr-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 8px 10px 8px 14px; border-radius: 8px; background: var(--pit); border: 1px solid var(--gold-2); font-family: var(--pixel); font-size: 18px; line-height: 1.1; color: var(--gold); }
.cr-picsnote { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.cr-pics h3 { margin: 14px 0 8px; font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.1; color: var(--gold); text-shadow: 2px 2px 0 #000a2e; letter-spacing: 0; }
.cr-picgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 10px; }
.cr-pic { position: relative; display: block; width: 100%; min-width: 0; padding: 0; border-radius: 8px; overflow: hidden; text-align: left; background: #0b1650; border: 2px solid var(--edge-dark); box-shadow: inset 0 0 0 1px var(--edge-light), 0 3px 0 var(--edge-dark); }
.cr-pic img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cr-pic span { display: block; padding: 6px 8px 7px; font-family: var(--pixel); font-size: 17px; line-height: 1; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-pic:hover { border-color: var(--gold); }
.cr-pic.used img { opacity: 0.35; }
.cr-pic.vid::before { content: "▶"; position: absolute; left: 50%; top: 40%; z-index: 1; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(6, 18, 79, 0.78); border: 2px solid var(--gold); color: var(--gold); font: 700 17px/1 system-ui, sans-serif; padding-left: 3px; }
.cr-pic.is-stat img { object-fit: contain; background: #ffc414; }
.cr-pic.is-stat .cr-picblank { background: #ffc414; }
.cr-pic.is-news img { object-fit: contain; background: #000; } /* the 4:5 news pictures whole, headline and all */
.cr-pic.is-meme img { aspect-ratio: 1 / 1; } /* the square reply memes whole, their words on top */
.cr-picblank { display: block; aspect-ratio: 4 / 3; background: #000; }
.cr-picup { display: grid; place-items: center; min-height: 110px; font-family: var(--pixel); font-size: 19px; color: var(--cyan); border-style: dashed; cursor: pointer; }
.cr-gnote { margin: -4px 0 8px; color: var(--muted); font-size: 12px; }
.cr-gnote button { padding: 0; border: 0; background: none; color: var(--cyan); text-decoration: underline; font-size: inherit; }
.cr-pic.used::after { content: "POSTED"; position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: 4px; font-family: var(--pixel); font-size: 14px; line-height: 1; color: var(--navy-900); background: var(--gold); }
.cr-picmodal { width: min(560px, 100%); padding-top: 46px; }
.cr-picmodal > img, .cr-picmodal video { display: block; width: 100%; max-height: min(56vh, 520px); object-fit: contain; border-radius: 6px; background: #0b1650; border: 2px solid var(--edge-dark); }
.cr-picmodal video { background: #000; }
.cr-picmodal h3 { font-size: 22px; margin-top: 12px; }
.cr-picx { position: absolute; top: 8px; right: 8px; }
.cr-modal p.cr-picused { color: var(--warn-head); }
.cr-modal p.cr-picwhen { color: var(--muted); }
/* The pictures that fit, big, one after another: swipe, ‹ ›, the dots or ←/→ (crusade-ui.js openFits). */
.cr-fitmodal { width: min(760px, 100%); padding: 46px 16px 18px; }
.cr-modal p.cr-fitcount { position: absolute; top: 15px; left: 18px; margin: 0; font-family: var(--pixel); font-size: 21px; line-height: 1; color: var(--muted); }
.cr-car { position: relative; }
.cr-cartrack { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 6px; background: #0b1650; border: 2px solid var(--edge-dark); }
.cr-cartrack::-webkit-scrollbar { display: none; }
.cr-slide { flex: 0 0 100%; height: min(58vh, 540px); scroll-snap-align: center; scroll-snap-stop: always; display: grid; place-items: center; }
.cr-slide img, .cr-slide video { display: block; width: 100%; height: 100%; object-fit: contain; }
.cr-slide.is-stat { background: #ffc414; }
.cr-slide video { background: #000; }
.cr-carnav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 64px; padding: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(6, 18, 79, 0.85); border: 2px solid var(--edge-light); color: var(--gold); font: 400 36px/1 var(--display); box-shadow: 0 3px 0 var(--outline); transition: opacity 0.15s; }
.cr-carnav:hover { border-color: var(--gold); }
.cr-carnav.prev { left: 8px; }
.cr-carnav.next { right: 8px; }
.cr-carnav:disabled { opacity: 0; pointer-events: none; }
.cr-cardots { display: flex; justify-content: center; flex-wrap: wrap; margin: 6px 0 0; }
.cr-cardots button { width: 26px; height: 26px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.cr-cardots button::before { content: ""; width: 10px; height: 10px; border-radius: 5px; background: #34468a; transition: width 0.2s, background 0.2s; }
.cr-cardots button.pick::before { background: var(--green); }
.cr-cardots button.on::before { width: 24px; background: var(--gold); }
.cr-fitmodal h3 { font-size: 22px; margin-top: 4px; }
.cr-fitmodal .cr-mbtns .btn { min-width: 180px; }
@media (hover: none) { .cr-carnav { width: 38px; height: 52px; font-size: 30px; background: rgba(6, 18, 79, 0.6); } }
@media (orientation: landscape) and (max-height: 500px) { .cr-fitmodal { padding-top: 40px; } .cr-slide { height: 52vh; } }
/* A picture on a computer goes on X with a paste, said once, big, the keys as keys (owner, 2026-11-17: "make the copy
   paste instruction even more obvious and bigger", then "make the instruction concise, only tell them to crl c and v once"). */
.cr-pastemodal { width: min(520px, 100%); }
.cr-pastemodal > img { display: block; width: auto; max-width: 100%; max-height: min(26vh, 220px); margin: 0 auto 4px; }
.cr-modal p.cr-pasteline { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; margin: 14px 0 18px; font-family: var(--display); font-size: 21px; line-height: 1.15; color: #fff; }
.cr-pastemodal .cr-mbtns .btn { font-size: 19px; padding: 12px 22px; }
.cr-mbtns a.btn { text-decoration: none; }

/* ---------- Line clear: a full row of slain cards cut down at once ---------- */
.cr-grid:not([data-filter="slain"]) .cr-post.gone { display: none; }
.cr-post.line-gone { visibility: hidden; }
.cr-shards { position: fixed; inset: 0; z-index: 39; pointer-events: none; overflow: hidden; }
.cr-shard { position: absolute; pointer-events: none; will-change: transform, opacity; }
.cr-shard > .cr-post, .cr-shard > .cr-post > .cr-card { height: 100%; }
.cr-claw { position: fixed; z-index: 43; height: 22px; transform-origin: 0 50%; pointer-events: none; filter: drop-shadow(0 0 12px rgba(255, 214, 90, 0.95)) drop-shadow(0 3px 0 var(--outline)) drop-shadow(0 -2px 0 var(--outline)); }
.cr-claw::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 246, 200, 0), #fff6c8 10%, #ffffff 50%, #fff6c8 90%, rgba(255, 246, 200, 0)); clip-path: polygon(0 50%, 5% 18%, 92% 0, 100% 50%, 92% 100%, 5% 82%); }

@media (max-width: 1120px) { .cr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .cr-hud-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .cr-me { grid-column: 1 / -1; }
  .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* A phone: the window takes the whole screen, a card a row. */
@media (max-width: 560px), (orientation: landscape) and (max-height: 500px) {
  .cr-wrap { padding: max(env(safe-area-inset-top, 0px), var(--ios-bar, 0px)) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
  .cr-win { width: 100%; height: 100%; border-radius: 0; border-width: 0; }
  .cr-win-in { inset: 0; border-radius: 0; }
  /* The banner on two rows: the crest, the title and the buttons, the rank under the title */
  .cr-head { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 10px; padding: 4px 10px 14px 12px; min-height: 0; }
  .cr-flag { grid-row: 1 / span 2; width: 46px; height: 74px; margin: -4px 0 -14px; }
  .cr-flag .cr-ico { width: 30px; height: 34px; margin-top: 12px; }
  .cr-title { grid-column: 2; grid-row: 1; }
  .cr-title h2 { font-size: 24px; }
  .cr-btns { grid-column: 3; grid-row: 1; }
  .cr-rank { grid-column: 2 / span 2; grid-row: 2; justify-self: start; max-width: 100%; gap: 7px; padding: 3px 10px 3px 5px; }
  .cr-rank > span { display: flex; align-items: baseline; gap: 7px; }
  .cr-rank small { display: none; }
  .cr-rank b { font-size: 15px; }
  .cr-helm { width: 22px; height: 22px; }
  .cr-motto, .cr-next, .cr-heatnote, .cr-tip { display: none; }
  .cr-hud { margin: 0 8px; padding: 10px; gap: 10px; }
  .cr-hud-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .cr-slain, .cr-label i { display: none; }
  .cr-day { gap: 8px; }
  .cr-dayico { margin: 0 4px; }
  .cr-body { padding: 12px 8px 16px; }
  .cr-stamp b { font-size: 38px; }
}
@media (max-width: 560px) {
  .cr-grid { grid-template-columns: minmax(0, 1fr); }
  .cr-filters { flex-wrap: nowrap; gap: 5px; } /* a phone: the four tabs share the row */
  .cr-tab { flex: 1 1 auto; gap: 5px; height: 32px; padding: 0 6px; font-size: 18px; }
}
/* A phone on its side: the bars on one row and everything a little tighter, so more of the cards shows. */
@media (orientation: landscape) and (max-height: 500px) {
  .cr-head { grid-template-columns: auto minmax(0, 1fr) auto auto; padding: 4px 10px 12px 14px; }
  .cr-flag { grid-row: 1; width: 38px; height: 52px; margin: 0 0 -10px; }
  .cr-flag .cr-ico { width: 24px; height: 27px; margin-top: 10px; }
  .cr-title h2 { font-size: 22px; }
  .cr-rank { grid-column: 3; grid-row: 1; }
  .cr-btns { grid-column: 4; }
  .cr-hud { padding: 6px 10px; gap: 6px; }
  .cr-hud-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
  .cr-me { grid-column: auto; gap: 8px; }
  .cr-port { width: 38px; height: 38px; }
  .cr-port img { width: 34px; height: 34px; }
  .cr-hud .cr-bar { height: 12px; margin-top: 4px; }
  .cr-hud .cr-daybar { height: 13px; }
  .cr-dayico { display: none; }
  .cr-day { grid-template-columns: minmax(0, 1fr); }
  .cr-steps { margin-top: 4px; }
  .cr-steps span { height: 13px; font-size: 13px; line-height: 11px; }
  .cr-body { padding-top: 8px; }
  .cr-filters { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cr *, .cr *::before, .cr *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  .cr .cr-flag { animation: none !important; }
  .cr .cr-slot.wait { animation: none !important; box-shadow: inset 0 0 0 1px #fff3b0, 0 3px 0 var(--gold-dark), 0 0 0 3px rgba(255, 210, 63, 0.7); }
}

/* ---------- 📱 Mini X (crusade-ui.js toMini, paintMini): the player's own X in one small window at the right edge of the
   screen, its pictures in another on its left (their look: PICS_CSS there). The bar over the cards says where it is, Show
   it and Next card ▶; while the windows are there, the Crusade makes room on its right (--mx-room) and deals 3 across, so
   no card sits under them. Computers, the ZAZA team only for now. ---------- */
.cr.cr-mxroom .cr-wrap { padding-right: max(16px, var(--mx-room, 0px)); }
.cr.cr-mxroom .cr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cr-mx { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; padding: 8px 10px; border-radius: 8px; background: var(--pit); border: 1px solid var(--pit-edge); box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.35); }
.cr-mx[hidden], .cr-mx [hidden] { display: none !important; }
.cr-mx.live { border-color: rgba(127, 212, 255, 0.55); box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(127, 212, 255, 0.22); }
.cr-mx-x { position: relative; flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #000; border: 2px solid #e7e9ea; color: #e7e9ea; font: 800 19px/1 var(--body); }
.cr-mx.live .cr-mx-x::after { content: ""; position: absolute; right: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--pit), 0 0 8px var(--green); }
.cr-mx-what { flex: 1 1 200px; min-width: 0; }
.cr-mx-what b { display: block; font-family: var(--display); font-weight: 400; font-size: 16px; line-height: 1.15; text-shadow: 0 2px 0 var(--outline); }
.cr-mx-what span { display: block; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.cr-mx-auto { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--label); white-space: nowrap; cursor: pointer; }
.cr-mx-auto input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }
.cr-mx .btn { min-height: 34px; padding: 4px 12px; }
.cr-mx .btn:disabled { opacity: 0.45; cursor: default; }
.cr-mx-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-left: auto; }
.cr-post.cr-mxcur { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 12px; }
.cr-xbtn[data-lab="Open in Mini X"] { gap: 4px; padding-inline: 5px; font-size: 12px; } /* the cards' button with Mini X on: fits 4 across */
/* Shut: one big call to open it (owner, 2026-11-18: "make it very clear to open the mini x..") */
.cr-mx.shut { padding: 14px 16px; border: 2px solid var(--gold); background: radial-gradient(ellipse 60% 140% at 0% 50%, rgba(255, 210, 63, 0.18), transparent 65%), var(--pit); }
.cr-mx.shut .cr-mx-x { width: 50px; height: 50px; border-radius: 11px; font-size: 27px; }
.cr-mx.shut .cr-mx-what b { font-size: 22px; color: var(--gold); text-shadow: 0 2px 0 var(--outline); }
.cr-mx.shut .cr-mx-what span { font-size: 13.5px; color: var(--label); }
.cr-mx .cr-mx-open { min-height: 48px; padding: 6px 24px; font-size: 19px; animation: crMxCall 1.6s ease-in-out infinite; }
@keyframes crMxCall { 50% { box-shadow: 0 0 0 6px rgba(255, 210, 63, 0.22), 0 0 24px rgba(255, 210, 63, 0.6); } }
@media (prefers-reduced-motion: reduce) { .cr-mx .cr-mx-open { animation: none; box-shadow: 0 0 0 4px rgba(255, 210, 63, 0.3); } }
.cr-mx-off { padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
/* ---------- 📱 X on a phone (crusade-ui.js paintPx, pxPic): Mini X's way on a phone. The bottom of the Crusade window holds
   whose post X goes to, its pictures (a tap copies one and opens the post in X: each says so on its band, a phone has no
   hover), 𝕏 Open in X and Next ▶; the card it's on wears Mini X's cyan ring. The ZAZA team only for now. ---------- */
.cr-px { flex: none; display: grid; gap: 8px; padding: 9px 10px 10px; background: var(--pit); border-top: 2px solid var(--gold); box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.45); }
.cr-px[hidden] { display: none !important; }
.cr-px-top { display: flex; align-items: center; gap: 7px; min-width: 0; line-height: 1.2; }
.cr-px-x { flex: none; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: #000; border: 2px solid #e7e9ea; color: #e7e9ea; font: 800 13px/1 var(--body); }
.cr-px-top b { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-weight: 400; font-size: 15px; text-shadow: 0 2px 0 var(--outline); }
.cr-px-top span { flex: none; color: var(--label); font-weight: 700; font-size: 12px; white-space: nowrap; }
.cr-px-top em { flex: 1 1 0; min-width: 0; text-align: right; font-style: normal; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-px-pics { display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.cr-px-pics::-webkit-scrollbar { display: none; }
.cr-px-pic { position: relative; flex: none; width: 92px; height: 92px; border-radius: 9px; overflow: hidden; border: 2px solid var(--gold-2); background: #000; scroll-snap-align: start; cursor: pointer; -webkit-touch-callout: default; }
.cr-px-pic:active { transform: scale(0.96); }
.cr-px-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cr-px-pic em { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 0; background: rgba(8, 16, 58, 0.86); color: var(--gold); font: 800 10.5px/1.3 var(--body); font-style: normal; text-align: center; white-space: nowrap; pointer-events: none; }
.cr-px-pic.copied { border-color: var(--green); }
.cr-px-pic.copied em { background: #1e7a3b; color: #fff; }
.cr-px-go { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.cr-px-go .btn { min-height: 44px; padding: 4px 16px; font-size: 17px; }
.cr-px-go .btn:disabled { opacity: 0.45; }
#crPxGo b { margin-right: 7px; font-family: var(--body); font-weight: 800; }
.cr-post.cr-pxcur { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 12px; }
.cr.cr-pxon .cr-toast { bottom: calc(212px + env(safe-area-inset-bottom, 0px)); } /* over the dock, not on its buttons */
@media (max-width: 430px) { .cr-px-top em { display: none; } } /* a narrow phone: the pictures' own bands say it */
/* A phone on its side: the pictures and the buttons on one row */
@media (orientation: landscape) and (max-height: 500px) {
  .cr-px { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 7px 10px 8px; }
  .cr-px-top { grid-column: 1 / -1; }
  .cr-px-pic { width: 84px; height: 64px; }
  .cr-px-pic em { font-size: 10px; }
  .cr-px-go { grid-template-columns: auto auto; align-self: center; }
  .cr-px-go .btn { min-height: 40px; font-size: 15px; }
  .cr.cr-pxon .cr-toast { bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }
}
