/* =====================================================================================================
 * Study Quest — theme.css · EMBER & IRON
 * "Forged iron, banked embers, a long night of study."   Dark fantasy (grimdark, Souls-like).
 * The design guide is docs/DESIGN.md — it is law for every visual decision. This file implements it.
 *
 * LOAD ORDER   base.css → theme.css → hud.css → panels.css → world-ui.css → music-ui.css → codex.css
 * NAMESPACES   tokens --cx-* (legacy prefix, Ember & Iron values) · ornaments --cx-orn-* · textures --cx-tex-* ·
 *              recipes --cx-bg-* / --cx-corners* · legacy components .codex-* (re-skinned, same markup) ·
 *              type helpers .cx-* · NEW Ember & Iron components .ei-* (plate, socket, slot, bronze/iron/plate buttons,
 *              roster, embers, smoke, crest, rivets, title, firelight).
 * FONTS        SELF-HOSTED ONLY (game/fonts/*.woff2, OFL — game/fonts/LICENSE.txt). No third-party request.
 *              index.html and the dev pages load no web-font service; the @font-face block below is all that is
 *              needed, offline included.
 * CANVAS TEXT  same faces: ctx.font = '700 44px Cinzel, "Trajan Pro", Optima, serif' (DESIGN.md §3.3).
 * ORNAMENTS    every ornament is an inline SVG data-URI held in a custom property (`background: var(--cx-orn-seal)
 *              center / 48px no-repeat`). Rasterised once per size and cached — no animated filters, no external
 *              images, Safari-safe. Readable sources: .work/design-lead-ei/orn.mjs (this file is generated from
 *              theme.src.css by `node orn.mjs`; hand edits are fine: %23 = #, %3C = <, %3E = >).
 * ENERGY       the only running animations are opacity/transform ones (embers on glue screens, firelight flicker,
 *              loading sigil). Never write custom properties / toggle classes on html or body on a timer.
 * ===================================================================================================== */

/* ---------------------------------------------------------------- SELF-HOSTED FACES (game/fonts/, OFL) */
@font-face { font-family: 'Cinzel'; font-weight: 600; font-display: swap; src: url('../fonts/cinzel-600.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url('../fonts/cinzel-700.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 900; font-display: swap; src: url('../fonts/cinzel-900.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel Decorative'; font-weight: 900; font-display: swap; src: url('../fonts/cinzel-decorative-900.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-500i.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-600.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya'; font-weight: 400; font-display: swap; src: url('../fonts/alegreya-400.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya'; font-weight: 500; font-display: swap; src: url('../fonts/alegreya-500.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya'; font-weight: 700; font-display: swap; src: url('../fonts/alegreya-700.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/alegreya-400i.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-weight: 400; font-display: swap; src: url('../fonts/alegreya-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-weight: 500; font-display: swap; src: url('../fonts/alegreya-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-weight: 700; font-display: swap; src: url('../fonts/alegreya-sans-700.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya SC'; font-weight: 500; font-display: swap; src: url('../fonts/alegreya-sc-500.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya SC'; font-weight: 700; font-display: swap; src: url('../fonts/alegreya-sc-700.woff2') format('woff2'); }
@font-face { font-family: 'IM Fell English SC'; font-weight: 400; font-display: swap; src: url('../fonts/im-fell-english-sc-400.woff2') format('woff2'); }
@font-face { font-family: 'IM Fell English'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/im-fell-english-400i.woff2') format('woff2'); }
@font-face { font-family: 'Grenze Gotisch'; font-weight: 600; font-display: swap; src: url('../fonts/grenze-gotisch-600.woff2') format('woff2'); }
@font-face { font-family: 'Grenze Gotisch'; font-weight: 700; font-display: swap; src: url('../fonts/grenze-gotisch-700.woff2') format('woff2'); }
@font-face { font-family: 'Marcellus'; font-weight: 400; font-display: swap; src: url('../fonts/marcellus-400.woff2') format('woff2'); }

:root {
  /* ----------------------------------------------------------------- CHARCOAL & SOOT (the dark behind everything) */
  --cx-ink-0: #07080a;              /* screen black */
  --cx-ink-1: #0e1013;              /* panel interior */
  --cx-ink-2: #16191d;
  --cx-ink-3: #21252a;
  --cx-line: #030304;               /* the outline around every material */

  /* cold smoke (blue-grey) — fog, haze, secondary surfaces, disabled metal */
  --cx-smoke-0: #1b1f25;
  --cx-smoke-1: #2a3038;
  --cx-smoke-2: #46505b;
  --cx-smoke-3: #7d8895;

  /* legacy "oak" → SCORCHED WOOD & LEATHER (warm darks: straps, book boards, hafts) */
  --cx-oak-0: #120d0a;
  --cx-oak-1: #1e1611;
  --cx-oak-2: #2d2119;
  --cx-oak-3: #45332a;
  --cx-oak-hi: #6e5747;

  /* charcoal stone (cold) */
  --cx-stone-0: #131417;
  --cx-stone-1: #202226;
  --cx-stone-2: #2f3237;
  --cx-stone-3: #484c52;
  --cx-stone-hi: #7a7f86;

  /* blackened forged iron */
  --cx-iron-0: #09090b;
  --cx-iron-1: #141619;
  --cx-iron-2: #202328;
  --cx-iron-3: #2e3237;
  --cx-iron-hi: #8a919a;            /* cold scratched-steel highlight */

  /* dark bronze & copper (rims, bevels, rivets, primary plates) */
  --cx-bronze-0: #24180c;
  --cx-bronze-1: #4a311a;
  --cx-bronze-2: #7a5229;
  --cx-bronze-3: #b07a3c;
  --cx-bronze-hi: #e2b56a;
  --cx-copper: #b5643a;

  /* legacy "gold" → MOLTEN GOLD (titles, large numbers, rims that catch the fire) */
  --cx-gold-0: #34230f;
  --cx-gold-1: #6b4a20;
  --cx-gold-2: #a8772f;
  --cx-gold-3: #d9a54a;             /* molten rule / hairline / flavour text (8.3:1 on ink-1) */
  --cx-gold-leaf: #f4d58c;          /* brightest: selected titles, the logo highlight (12.9:1) */
  --cx-gold-text: #e3b562;          /* gold text on dark — titles & numbers ≥ 16 px only (9.7:1) */
  --cx-brass: #8f6430;              /* dark bronze (legacy name) */

  /* EMBER & FIRELIGHT — the only strong accent: selection, focus, the primary action, XP */
  --cx-candle: #ffc06a;             /* firelight (glow centres, focus core) */
  --cx-torch: #ff8a3d;              /* ember orange (focus ring, selection edge, 7.9:1 as text) */
  --cx-ember: #e2541f;              /* deep ember (glow edges, never small text) */
  --cx-candle-glow: rgba(255, 140, 50, 0.30);
  --cx-molten: #ffc65c;             /* hottest metal (bar sheen, logo core) */

  /* oxblood & ember-red (danger, rubric) */
  --cx-oxblood-0: #1c0706;
  --cx-oxblood-1: #3a0e0b;
  --cx-oxblood-2: #5c1712;
  --cx-oxblood-3: #842419;
  --cx-vermilion: #b53a24;          /* ember-red: large marks & ornament only on dark (3.3:1) */
  --cx-vermilion-hi: #e8613b;       /* danger/rubric marks and small danger text on dark (5.6:1) */

  /* patina (legacy "verdigris") — aged bronze, healing, nature */
  --cx-verdigris-0: #0f1d1b;
  --cx-verdigris-1: #1e3934;
  --cx-verdigris-2: #3a645c;
  --cx-verdigris-3: #86b0a5;

  /* cold steel blue (legacy "lapis") — rested, night, moonlight, links on parchment */
  --cx-lapis-0: #0d1524;
  --cx-lapis-1: #1a2a45;
  --cx-lapis-2: #2e4a78;
  --cx-lapis-3: #8ea8d4;

  /* parchment (legacy "vellum") — ONLY the Codex pages and the quest card's note */
  --cx-vellum-0: #a68b5f;
  --cx-vellum-1: #c9b387;
  --cx-vellum-2: #dccaa3;
  --cx-vellum-3: #eadcbc;

  /* ----------------------------------------------------------------- TEXT */
  --cx-text: #ebe4d6;               /* BONE — body on dark (14.6:1 on ink-1, 13.4:1 on smoke panel) */
  --cx-text-dim: #aea89c;           /* ASH — secondary on dark (7.8:1) */
  --cx-text-faint: #7c776e;         /* disabled / tertiary only (4.2:1 — never reading text) */
  --cx-bone: #ebe4d6;
  --cx-ash: #aea89c;
  /* ink on parchment (measured on vellum-2 #dccaa3; the reading area is lighter) */
  --cx-ink-text: #1d140c;           /* body ink (11.3:1) */
  --cx-ink-text-dim: #45331f;       /* secondary ink (7.5:1) */
  --cx-ink-rubric: #7a1d10;         /* oxblood ink: titles, labels, small heads (6.5:1) */
  --cx-ink-rubric-lg: #8a2414;      /* ≥ 18 px headings and marks (5.6:1) */
  --cx-ink-gold: #5e3d0c;           /* "gold" on parchment (6.1:1) */
  --cx-ink-lapis: #1f3a76;          /* links / rested on parchment (6.8:1) */

  /* ----------------------------------------------------------------- GAMEPLAY COLOURS (kept from WoW Classic) */
  --cx-q-poor: #9d9d9d;
  --cx-q-common: #ffffff;
  --cx-q-uncommon: #1eff00;
  --cx-q-rare: #0070dd;
  --cx-q-rare-text: #3d9bff;        /* rare as small text on dark (6.6:1; #0070dd is 4.0:1) */
  --cx-q-epic: #a335ee;
  --cx-q-epic-text: #b866f7;        /* epic as small text on dark (5.7:1) */
  --cx-q-legendary: #ff8000;
  --cx-q-poor-ink: #4a4a4a;
  --cx-q-common-ink: #1d140c;
  --cx-q-uncommon-ink: #11500a;
  --cx-q-rare-ink: #0a458c;
  --cx-q-epic-ink: #6a1fa8;
  --cx-q-legendary-ink: #7a3400;

  /* difficulty ("con"): trivial / easy / even / hard / impossible */
  --cx-con-grey: #8f8f8f;
  --cx-con-green: #40c040;
  --cx-con-yellow: #ffd200;
  --cx-con-orange: #ff8040;
  --cx-con-red: #ff3a2a;
  --cx-con-grey-ink: #4a4a4a;
  --cx-con-green-ink: #18561d;
  --cx-con-yellow-ink: #5a4400;
  --cx-con-orange-ink: #793404;
  --cx-con-red-ink: #8c120b;

  /* ----------------------------------------------------------------- BARS (molten metal in an iron channel) */
  --cx-bar-xp: linear-gradient(180deg, #ffc66a 0%, #f39433 30%, #d0601c 66%, #8e3410 100%);       /* EMBER (SPEC 07:05) */
  --cx-bar-rested: linear-gradient(180deg, #7aa0dc 0%, #4472b8 42%, #2a4f8c 100%);                 /* cold steel blue */
  --cx-bar-hp: linear-gradient(180deg, #6db456 0%, #418f31 45%, #24601b 100%);
  --cx-bar-capital: linear-gradient(180deg, #fde6a6 0%, #e6b552 38%, #b67e28 72%, #7a4f16 100%);    /* molten gold */
  --cx-bar-danger: linear-gradient(180deg, #d4583f 0%, #a3301f 50%, #6c1a12 100%);                 /* oxblood */
  --cx-bar-verdigris: linear-gradient(180deg, #7fb3a2 0%, #4a8576 50%, #2c5a4f 100%);              /* patina */
  --cx-bar-enamel: linear-gradient(180deg, rgba(255, 244, 214, 0.32) 0, rgba(255, 244, 214, 0.08) 2px, rgba(255, 244, 214, 0) 40%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.32)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 1px, rgba(0, 0, 0, 0) 1px 4px);

  /* ----------------------------------------------------------------- TYPOGRAPHY (self-hosted, see @font-face above) */
  --cx-font-title: 'Cinzel', 'Trajan Pro', 'Optima', 'Palatino', 'Book Antiqua', serif;           /* carved capitals: titles, plates (700/900) */
  --cx-font-head: 'Cinzel', 'Trajan Pro', 'Optima', 'Palatino', 'Book Antiqua', serif;            /* window & section heads (600/700) */
  --cx-font-label: 'Cinzel', 'Trajan Pro', 'Optima', 'Palatino', 'Book Antiqua', serif;           /* buttons, tabs, labels (700) */
  --cx-font-flavor: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino', Georgia, serif;          /* italic epigraphs, lore (500i) */
  --cx-font-body: 'Alegreya', 'Iowan Old Style', 'Palatino Linotype', 'Palatino', Georgia, serif; /* reading & UI text */
  --cx-font-num: 'Alegreya Sans', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;            /* small numbers */
  --cx-font-initial: 'Cinzel Decorative', 'Cinzel', 'Trajan Pro', 'Palatino', serif;              /* logo & initials only (900) */

  --cx-fs-logo: 82px;       /* login logo (Cinzel Decorative 900) */
  --cx-fs-screen: 48px;     /* zone name on loading, screen titles (Cinzel 700) */
  --cx-fs-banner: 19px;     /* title plates on windows (Cinzel 700, caps) */
  --cx-fs-h1: 28px;         /* page heading (Cinzel 700) */
  --cx-fs-h2: 21px;         /* section heading (Cinzel 700) */
  --cx-fs-h3: 13px;         /* label (Cinzel 700, tracked) — the floor for Cinzel is 12 px */
  --cx-fs-read: 18px;       /* long reading text on parchment (Alegreya 400) */
  --cx-fs-body: 16px;       /* UI body on dark (Alegreya 400) — the SPEC floor */
  --cx-fs-small: 14px;      /* meta, tooltips (Alegreya) */
  --cx-fs-micro: 11px;      /* key binds, counters — Alegreya Sans numerals ONLY */
  --cx-fs-sc-min: 12px;     /* the floor for any capitals face (Cinzel, Alegreya SC, IM Fell SC) */
  --cx-fs-btn: 15px;        /* Cinzel 700 */
  --cx-fs-btn-lg: 21px;     /* Cinzel 700, caps */

  /* ----------------------------------------------------------------- SPACE · RADIUS · SIZE */
  --cx-sp-1: 2px;
  --cx-sp-2: 4px;
  --cx-sp-3: 6px;
  --cx-sp-4: 8px;
  --cx-sp-5: 12px;
  --cx-sp-6: 16px;
  --cx-sp-7: 24px;
  --cx-sp-8: 32px;
  --cx-sp-9: 48px;
  --cx-r-0: 0;
  --cx-r-1: 2px;            /* forged edges are crisp */
  --cx-r-2: 3px;            /* frames */
  --cx-r-3: 4px;            /* tabs */
  --cx-band: 11px;          /* forged-iron band around a window */
  --cx-band-lg: 18px;       /* band around the map */
  --cx-corner: 46px;        /* thorned corner on windows */
  --cx-grand: 112px;        /* grand corner on screens */
  --cx-grand-map: 92px;     /* grand corner on the map frame */
  --cx-btn-h: 34px;
  --cx-btn-h-lg: 50px;
  --cx-btn-h-sm: 26px;
  --cx-action: 44px;        /* action slot */
  --cx-endcap-w: 76px;      /* action-bar pauldron; = the clearance to keep free on each side of the bar */
  --cx-endcap-h: 65px;
  --cx-screen-band: 12px;   /* iron band between the viewport edge and a screen's bronze rule */
  --cx-dropcap: 68px;       /* three-line initial (18px/1.55 reading text) */
  --cx-seal: 56px;          /* medallion */
  --cx-slot: 44px;          /* item / portrait slot */

  /* ----------------------------------------------------------------- SHADOW & GLOW (static only — never animate) */
  --cx-sh-1: 0 1px 0 rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.45);
  --cx-sh-2: 0 4px 10px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.7);
  --cx-sh-frame: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 16px 38px rgba(0, 0, 0, 0.72), 0 4px 10px rgba(0, 0, 0, 0.55),
    inset 1px 1px 0 rgba(205, 214, 228, 0.16), inset -1px -2px 0 rgba(0, 0, 0, 0.6);
  --cx-sh-text-dark: 0 1px 0 #000, 0 0 4px rgba(0, 0, 0, 0.75);
  --cx-sh-text-gold: 0 1px 0 #000, 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 14px rgba(255, 140, 50, 0.16);
  --cx-sh-text-engraved: 0 -1px 0 rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 226, 170, 0.2);       /* carved into metal */
  --cx-sh-ember: 0 0 0 1px #000, 0 0 10px rgba(255, 138, 61, 0.55), 0 0 22px rgba(226, 84, 31, 0.25);
  --cx-focus: 0 0 0 1px #000, 0 0 0 3px var(--cx-torch), 0 0 12px rgba(255, 138, 61, 0.6);

  /* ----------------------------------------------------------------- MOTION (slow, smouldering) */
  --cx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --cx-ease-in: cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --cx-dur-quick: 160ms;    /* hover/press feedback */
  --cx-dur-calm: 480ms;     /* toasts, windows */
  --cx-dur-slow: 1100ms;    /* screen cross-fades */
  --cx-dur-candle: 7.2s;    /* firelight flicker cycle */
  --cx-dur-ember: 38s;      /* one ember-drift cycle */

  /* ----------------------------------------------------------------- SMALL CSS-ONLY ORNAMENTS */
  --cx-rivet: radial-gradient(circle at 40% 36%, #ffe6b0 0, #d29a52 0.9px, #7a5228 2px, #2c1a08 2.8px, rgba(0, 0, 0, 0.65) 3.2px, transparent 3.8px);
  --cx-rivet-iron: radial-gradient(circle at 40% 36%, #e6ebf0 0, #7d848c 0.9px, #33373c 2px, #0b0c0e 2.8px, rgba(0, 0, 0, 0.65) 3.2px, transparent 3.8px);
  --cx-rivets-4: var(--cx-rivet) left 2px top 2px / 8px 8px no-repeat, var(--cx-rivet) right 2px top 2px / 8px 8px no-repeat,
    var(--cx-rivet) left 2px bottom 2px / 8px 8px no-repeat, var(--cx-rivet) right 2px bottom 2px / 8px 8px no-repeat;
  --cx-rivets-iron-4: var(--cx-rivet-iron) left 2px top 2px / 8px 8px no-repeat, var(--cx-rivet-iron) right 2px top 2px / 8px 8px no-repeat,
    var(--cx-rivet-iron) left 2px bottom 2px / 8px 8px no-repeat, var(--cx-rivet-iron) right 2px bottom 2px / 8px 8px no-repeat;

  /* ----------------------------------------------------------------- ORNAMENT LIBRARY (inline SVG, forged & bevelled) */
  --cx-orn-corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.25' cy='.25' r='.95' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='5' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.6' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.6' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2'/%3E%3CfeOffset dx='1' dy='1.6' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M0,0 L16,6.5 L26,6.5 L29.5,1.2 L33,6.5 L45,6.5 L63,12 L45,17.5 L24.5,17.5 L17.5,24.5 L17.5,45 L12,63 L6.5,45 L6.5,33 L1.2,29.5 L6.5,26 L6.5,16 Z' fill='url(%23ir)' stroke='%23050506' stroke-width='1' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M21,12 L37,12' stroke='%23000' stroke-opacity='.7' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M21.6,12.7 L37.6,12.7' stroke='%23b9c2cc' stroke-opacity='.16' stroke-width='.7' stroke-linecap='round'/%3E%3Cpath d='M12,21 L12,37' stroke='%23000' stroke-opacity='.7' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M12.6,21.7 L12.6,37.7' stroke='%23b9c2cc' stroke-opacity='.16' stroke-width='.7' stroke-linecap='round'/%3E%3Ccircle cx='12.85' cy='13.19' r='3.57' fill='%23000' opacity='.55'/%3E%3Ccircle cx='12' cy='12' r='3.4' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.61'/%3E%3Ccircle cx='10.91' cy='10.78' r='1.09' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='42.48' cy='12.67' r='2' fill='%23000' opacity='.55'/%3E%3Ccircle cx='42' cy='12' r='1.9' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='41.39' cy='11.32' r='0.61' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='12.48' cy='42.67' r='2' fill='%23000' opacity='.55'/%3E%3Ccircle cx='12' cy='42' r='1.9' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='11.39' cy='41.32' r='0.61' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.25' cy='.25' r='.95' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='6' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.6' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.6' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2'/%3E%3CfeOffset dx='1' dy='1.6' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M64,0 L48,6.5 L38,6.5 L34.5,1.2 L31,6.5 L19,6.5 L1,12 L19,17.5 L39.5,17.5 L46.5,24.5 L46.5,45 L52,63 L57.5,45 L57.5,33 L62.8,29.5 L57.5,26 L57.5,16 Z' fill='url(%23ir)' stroke='%23050506' stroke-width='1' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M43,12 L27,12' stroke='%23000' stroke-opacity='.7' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M43.6,12.7 L27.6,12.7' stroke='%23b9c2cc' stroke-opacity='.16' stroke-width='.7' stroke-linecap='round'/%3E%3Cpath d='M52,21 L52,37' stroke='%23000' stroke-opacity='.7' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M52.6,21.7 L52.6,37.7' stroke='%23b9c2cc' stroke-opacity='.16' stroke-width='.7' stroke-linecap='round'/%3E%3Ccircle cx='52.85' cy='13.19' r='3.57' fill='%23000' opacity='.55'/%3E%3Ccircle cx='52' cy='12' r='3.4' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.61'/%3E%3Ccircle cx='50.91' cy='10.78' r='1.09' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='22.48' cy='12.67' r='2' fill='%23000' opacity='.55'/%3E%3Ccircle cx='22' cy='12' r='1.9' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='21.39' cy='11.32' r='0.61' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='52.48' cy='42.67' r='2' fill='%23000' opacity='.55'/%3E%3Ccircle cx='52' cy='42' r='1.9' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='51.39' cy='41.32' r='0.61' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.25' cy='.25' r='.95' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='7' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.6' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.6' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2'/%3E%3CfeOffset dx='1' dy='1.6' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M0,64 L16,57.5 L26,57.5 L29.5,62.8 L33,57.5 L45,57.5 L63,52 L45,46.5 L24.5,46.5 L17.5,39.5 L17.5,19 L12,1 L6.5,19 L6.5,31 L1.2,34.5 L6.5,38 L6.5,48 Z' fill='url(%23ir)' stroke='%23050506' stroke-width='1' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M21,52 L37,52' stroke='%23000' stroke-opacity='.7' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M21.6,52.7 L37.6,52.7' stroke='%23b9c2cc' stroke-opacity='.16' stroke-width='.7' stroke-linecap='round'/%3E%3Cpath d='M12,43 L12,27' stroke='%23000' stroke-opacity='.7' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M12.6,43.7 L12.6,27.7' stroke='%23b9c2cc' stroke-opacity='.16' stroke-width='.7' stroke-linecap='round'/%3E%3Ccircle cx='12.85' cy='53.19' r='3.57' fill='%23000' opacity='.55'/%3E%3Ccircle cx='12' cy='52' r='3.4' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.61'/%3E%3Ccircle cx='10.91' cy='50.78' r='1.09' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='42.48' cy='52.67' r='2' fill='%23000' opacity='.55'/%3E%3Ccircle cx='42' cy='52' r='1.9' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='41.39' cy='51.32' r='0.61' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='12.48' cy='22.67' r='2' fill='%23000' opacity='.55'/%3E%3Ccircle cx='12' cy='22' r='1.9' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='11.39' cy='21.32' r='0.61' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.25' cy='.25' r='.95' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='8' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.6' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.6' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2'/%3E%3CfeOffset dx='1' dy='1.6' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M64,64 L48,57.5 L38,57.5 L34.5,62.8 L31,57.5 L19,57.5 L1,52 L19,46.5 L39.5,46.5 L46.5,39.5 L46.5,19 L52,1 L57.5,19 L57.5,31 L62.8,34.5 L57.5,38 L57.5,48 Z' fill='url(%23ir)' stroke='%23050506' stroke-width='1' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M43,52 L27,52' stroke='%23000' stroke-opacity='.7' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M43.6,52.7 L27.6,52.7' stroke='%23b9c2cc' stroke-opacity='.16' stroke-width='.7' stroke-linecap='round'/%3E%3Cpath d='M52,43 L52,27' stroke='%23000' stroke-opacity='.7' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M52.6,43.7 L52.6,27.7' stroke='%23b9c2cc' stroke-opacity='.16' stroke-width='.7' stroke-linecap='round'/%3E%3Ccircle cx='52.85' cy='53.19' r='3.57' fill='%23000' opacity='.55'/%3E%3Ccircle cx='52' cy='52' r='3.4' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.61'/%3E%3Ccircle cx='50.91' cy='50.78' r='1.09' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='22.48' cy='52.67' r='2' fill='%23000' opacity='.55'/%3E%3Ccircle cx='22' cy='52' r='1.9' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='21.39' cy='51.32' r='0.61' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='52.48' cy='22.67' r='2' fill='%23000' opacity='.55'/%3E%3Ccircle cx='52' cy='22' r='1.9' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='51.39' cy='21.32' r='0.61' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-grand-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.2' cy='.2' r='1' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3CradialGradient id='ir2' cx='.3' cy='.3' r='.9' %3E%3Cstop offset='0' stop-color='%2333373d'/%3E%3Cstop offset='0.4' stop-color='%231b1d21'/%3E%3Cstop offset='1' stop-color='%2308090a'/%3E%3C/radialGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='128' y2='128'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3CradialGradient id='em' cx='.5' cy='.5' r='.5' %3E%3Cstop offset='0' stop-color='%23ffcf85'/%3E%3Cstop offset='0.35' stop-color='%23f07a28'/%3E%3Cstop offset='0.8' stop-color='%237a2208'/%3E%3Cstop offset='1' stop-color='%232a0a02'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.5' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.2' numOctaves='2' seed='9' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='3.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='3.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='bv2' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='2' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2'/%3E%3CfeOffset dx='1.5' dy='2.4' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.75'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M0,0 L21,9 L40,9 L44.5,2 L49,9 L70,9 L74.5,3 L79,9 L98,9 L127,17 L98,25 L37,25 L25,37 L25,98 L17,127 L9,98 L9,79 L3,74.5 L9,70 L9,49 L2,44.5 L9,40 L9,21 Z' fill='url(%23ir)' stroke='%23040405' stroke-width='1.2' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M40,17 L86,17' stroke='%23000' stroke-opacity='.75' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M40.8,17.9 L86.8,17.9' stroke='%23c4ccd6' stroke-opacity='.16' stroke-width='.9' stroke-linecap='round'/%3E%3Cpath d='M17,40 L17,86' stroke='%23000' stroke-opacity='.75' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M17.8,40.9 L17.8,86.9' stroke='%23c4ccd6' stroke-opacity='.16' stroke-width='.9' stroke-linecap='round'/%3E%3Cpath d='M21,4 L38,21 L21,38 L4,21 Z' fill='url(%23bz)' stroke='%23120a03' stroke-width='1' filter='url(%23bv2)'/%3E%3Cpath d='M21,9.5 L32.5,21 L21,32.5 L9.5,21 Z' fill='url(%23ir2)' stroke='%23000' stroke-opacity='.8' stroke-width='.8'/%3E%3Ccircle cx='21' cy='21' r='4.6' fill='url(%23em)' stroke='%231a0a03' stroke-width='.8'/%3E%3Ccircle cx='19.6' cy='19.4' r='1.2' fill='%23fff1c8' opacity='.8'/%3E%3Ccircle cx='58.63' cy='17.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='58' cy='17' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='57.2' cy='16.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='92.63' cy='17.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='92' cy='17' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='91.2' cy='16.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='17.63' cy='58.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='17' cy='58' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='16.2' cy='57.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='17.63' cy='92.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='17' cy='92' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='16.2' cy='91.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-grand-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.2' cy='.2' r='1' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3CradialGradient id='ir2' cx='.3' cy='.3' r='.9' %3E%3Cstop offset='0' stop-color='%2333373d'/%3E%3Cstop offset='0.4' stop-color='%231b1d21'/%3E%3Cstop offset='1' stop-color='%2308090a'/%3E%3C/radialGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='128' y2='128'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3CradialGradient id='em' cx='.5' cy='.5' r='.5' %3E%3Cstop offset='0' stop-color='%23ffcf85'/%3E%3Cstop offset='0.35' stop-color='%23f07a28'/%3E%3Cstop offset='0.8' stop-color='%237a2208'/%3E%3Cstop offset='1' stop-color='%232a0a02'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.5' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.2' numOctaves='2' seed='10' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='3.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='3.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='bv2' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='2' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2'/%3E%3CfeOffset dx='1.5' dy='2.4' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.75'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M128,0 L107,9 L88,9 L83.5,2 L79,9 L58,9 L53.5,3 L49,9 L30,9 L1,17 L30,25 L91,25 L103,37 L103,98 L111,127 L119,98 L119,79 L125,74.5 L119,70 L119,49 L126,44.5 L119,40 L119,21 Z' fill='url(%23ir)' stroke='%23040405' stroke-width='1.2' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M88,17 L42,17' stroke='%23000' stroke-opacity='.75' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M88.8,17.9 L42.8,17.9' stroke='%23c4ccd6' stroke-opacity='.16' stroke-width='.9' stroke-linecap='round'/%3E%3Cpath d='M111,40 L111,86' stroke='%23000' stroke-opacity='.75' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M111.8,40.9 L111.8,86.9' stroke='%23c4ccd6' stroke-opacity='.16' stroke-width='.9' stroke-linecap='round'/%3E%3Cpath d='M107,4 L90,21 L107,38 L124,21 Z' fill='url(%23bz)' stroke='%23120a03' stroke-width='1' filter='url(%23bv2)'/%3E%3Cpath d='M107,9.5 L95.5,21 L107,32.5 L118.5,21 Z' fill='url(%23ir2)' stroke='%23000' stroke-opacity='.8' stroke-width='.8'/%3E%3Ccircle cx='107' cy='21' r='4.6' fill='url(%23em)' stroke='%231a0a03' stroke-width='.8'/%3E%3Ccircle cx='105.6' cy='19.4' r='1.2' fill='%23fff1c8' opacity='.8'/%3E%3Ccircle cx='70.63' cy='17.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='70' cy='17' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='69.2' cy='16.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='36.63' cy='17.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='36' cy='17' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='35.2' cy='16.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='111.63' cy='58.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='111' cy='58' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='110.2' cy='57.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='111.63' cy='92.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='111' cy='92' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='110.2' cy='91.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-grand-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.2' cy='.2' r='1' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3CradialGradient id='ir2' cx='.3' cy='.3' r='.9' %3E%3Cstop offset='0' stop-color='%2333373d'/%3E%3Cstop offset='0.4' stop-color='%231b1d21'/%3E%3Cstop offset='1' stop-color='%2308090a'/%3E%3C/radialGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='128' y2='128'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3CradialGradient id='em' cx='.5' cy='.5' r='.5' %3E%3Cstop offset='0' stop-color='%23ffcf85'/%3E%3Cstop offset='0.35' stop-color='%23f07a28'/%3E%3Cstop offset='0.8' stop-color='%237a2208'/%3E%3Cstop offset='1' stop-color='%232a0a02'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.5' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.2' numOctaves='2' seed='11' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='3.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='3.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='bv2' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='2' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2'/%3E%3CfeOffset dx='1.5' dy='2.4' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.75'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M0,128 L21,119 L40,119 L44.5,126 L49,119 L70,119 L74.5,125 L79,119 L98,119 L127,111 L98,103 L37,103 L25,91 L25,30 L17,1 L9,30 L9,49 L3,53.5 L9,58 L9,79 L2,83.5 L9,88 L9,107 Z' fill='url(%23ir)' stroke='%23040405' stroke-width='1.2' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M40,111 L86,111' stroke='%23000' stroke-opacity='.75' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M40.8,111.9 L86.8,111.9' stroke='%23c4ccd6' stroke-opacity='.16' stroke-width='.9' stroke-linecap='round'/%3E%3Cpath d='M17,88 L17,42' stroke='%23000' stroke-opacity='.75' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M17.8,88.9 L17.8,42.9' stroke='%23c4ccd6' stroke-opacity='.16' stroke-width='.9' stroke-linecap='round'/%3E%3Cpath d='M21,124 L38,107 L21,90 L4,107 Z' fill='url(%23bz)' stroke='%23120a03' stroke-width='1' filter='url(%23bv2)'/%3E%3Cpath d='M21,118.5 L32.5,107 L21,95.5 L9.5,107 Z' fill='url(%23ir2)' stroke='%23000' stroke-opacity='.8' stroke-width='.8'/%3E%3Ccircle cx='21' cy='107' r='4.6' fill='url(%23em)' stroke='%231a0a03' stroke-width='.8'/%3E%3Ccircle cx='19.6' cy='105.4' r='1.2' fill='%23fff1c8' opacity='.8'/%3E%3Ccircle cx='58.63' cy='111.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='58' cy='111' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='57.2' cy='110.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='92.63' cy='111.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='92' cy='111' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='91.2' cy='110.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='17.63' cy='70.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='17' cy='70' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='16.2' cy='69.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='17.63' cy='36.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='17' cy='36' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='16.2' cy='35.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-grand-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.2' cy='.2' r='1' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3CradialGradient id='ir2' cx='.3' cy='.3' r='.9' %3E%3Cstop offset='0' stop-color='%2333373d'/%3E%3Cstop offset='0.4' stop-color='%231b1d21'/%3E%3Cstop offset='1' stop-color='%2308090a'/%3E%3C/radialGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='128' y2='128'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3CradialGradient id='em' cx='.5' cy='.5' r='.5' %3E%3Cstop offset='0' stop-color='%23ffcf85'/%3E%3Cstop offset='0.35' stop-color='%23f07a28'/%3E%3Cstop offset='0.8' stop-color='%237a2208'/%3E%3Cstop offset='1' stop-color='%232a0a02'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.5' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.2' numOctaves='2' seed='12' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='3.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='3.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='bv2' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='2' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2'/%3E%3CfeOffset dx='1.5' dy='2.4' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.75'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M128,128 L107,119 L88,119 L83.5,126 L79,119 L58,119 L53.5,125 L49,119 L30,119 L1,111 L30,103 L91,103 L103,91 L103,30 L111,1 L119,30 L119,49 L125,53.5 L119,58 L119,79 L126,83.5 L119,88 L119,107 Z' fill='url(%23ir)' stroke='%23040405' stroke-width='1.2' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M88,111 L42,111' stroke='%23000' stroke-opacity='.75' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M88.8,111.9 L42.8,111.9' stroke='%23c4ccd6' stroke-opacity='.16' stroke-width='.9' stroke-linecap='round'/%3E%3Cpath d='M111,88 L111,42' stroke='%23000' stroke-opacity='.75' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M111.8,88.9 L111.8,42.9' stroke='%23c4ccd6' stroke-opacity='.16' stroke-width='.9' stroke-linecap='round'/%3E%3Cpath d='M107,124 L90,107 L107,90 L124,107 Z' fill='url(%23bz)' stroke='%23120a03' stroke-width='1' filter='url(%23bv2)'/%3E%3Cpath d='M107,118.5 L95.5,107 L107,95.5 L118.5,107 Z' fill='url(%23ir2)' stroke='%23000' stroke-opacity='.8' stroke-width='.8'/%3E%3Ccircle cx='107' cy='107' r='4.6' fill='url(%23em)' stroke='%231a0a03' stroke-width='.8'/%3E%3Ccircle cx='105.6' cy='105.4' r='1.2' fill='%23fff1c8' opacity='.8'/%3E%3Ccircle cx='70.63' cy='111.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='70' cy='111' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='69.2' cy='110.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='36.63' cy='111.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='36' cy='111' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='35.2' cy='110.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='111.63' cy='70.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='111' cy='70' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='110.2' cy='69.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='111.63' cy='36.88' r='2.63' fill='%23000' opacity='.55'/%3E%3Ccircle cx='111' cy='36' r='2.5' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='110.2' cy='35.1' r='0.8' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-cap-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='10' y2='10'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M0,0 L10,0 L10,2.6 L2.6,2.6 L2.6,10 L0,10 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.5'/%3E%3Ccircle cx='2.83' cy='3' r='1.79' fill='%23000' opacity='.55'/%3E%3Ccircle cx='2.4' cy='2.4' r='1.7' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='1.86' cy='1.79' r='0.54' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-cap-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='10' y2='10'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M10,0 L0,0 L0,2.6 L7.4,2.6 L7.4,10 L10,10 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.5'/%3E%3Ccircle cx='8.03' cy='3' r='1.79' fill='%23000' opacity='.55'/%3E%3Ccircle cx='7.6' cy='2.4' r='1.7' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='7.06' cy='1.79' r='0.54' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-cap-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='10' y2='10'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M0,10 L10,10 L10,7.4 L2.6,7.4 L2.6,0 L0,0 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.5'/%3E%3Ccircle cx='2.83' cy='8.2' r='1.79' fill='%23000' opacity='.55'/%3E%3Ccircle cx='2.4' cy='7.6' r='1.7' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='1.86' cy='6.99' r='0.54' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-cap-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='10' y2='10'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M10,10 L0,10 L0,7.4 L7.4,7.4 L7.4,0 L10,0 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.5'/%3E%3Ccircle cx='8.03' cy='8.2' r='1.79' fill='%23000' opacity='.55'/%3E%3Ccircle cx='7.6' cy='7.6' r='1.7' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='7.06' cy='6.99' r='0.54' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-ribbon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='40'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='8' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%2333373d'/%3E%3Cstop offset='0.4' stop-color='%231b1d21'/%3E%3Cstop offset='1' stop-color='%2308090a'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.3' numOctaves='2' seed='4' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M24,5 L28.5,0.5 L33,5 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M207,5 L211.5,0.5 L216,5 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M24,39 L28.5,43.5 L33,39 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M207,39 L211.5,43.5 L216,39 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M14,5 L226,5 L239,22 L226,39 L14,39 L1,22 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.2' stroke-linejoin='round' filter='url(%23bv)'/%3E%3Cpath d='M16.5,8.5 L223.5,8.5 L234.5,22 L223.5,35.5 L16.5,35.5 L5.5,22 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.85' stroke-width='1'/%3E%3Cpath d='M20,10.2 L220,10.2' stroke='%23fff' stroke-opacity='.07' stroke-width='1'/%3E%3Cpath d='M20,33.6 L220,33.6' stroke='%23000' stroke-opacity='.5' stroke-width='1.2'/%3E%3Ccircle cx='14.65' cy='22.91' r='2.73' fill='%23000' opacity='.55'/%3E%3Ccircle cx='14' cy='22' r='2.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.17' cy='21.06' r='0.83' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='226.65' cy='22.91' r='2.73' fill='%23000' opacity='.55'/%3E%3Ccircle cx='226' cy='22' r='2.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='225.17' cy='21.06' r='0.83' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");                     /* title plate: iron face, bronze rim (legacy name) */
  --cx-orn-ribbon-verdigris: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='40'%3E%3Cstop offset='0' stop-color='%23a8c9b8'/%3E%3Cstop offset='0.3' stop-color='%235f8a7a'/%3E%3Cstop offset='0.7' stop-color='%232c4a40'/%3E%3Cstop offset='1' stop-color='%230f1d19'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='8' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%2322403a'/%3E%3Cstop offset='0.5' stop-color='%23162c28'/%3E%3Cstop offset='1' stop-color='%230b1816'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.3' numOctaves='2' seed='4' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M24,5 L28.5,0.5 L33,5 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M207,5 L211.5,0.5 L216,5 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M24,39 L28.5,43.5 L33,39 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M207,39 L211.5,43.5 L216,39 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M14,5 L226,5 L239,22 L226,39 L14,39 L1,22 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.2' stroke-linejoin='round' filter='url(%23bv)'/%3E%3Cpath d='M16.5,8.5 L223.5,8.5 L234.5,22 L223.5,35.5 L16.5,35.5 L5.5,22 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.85' stroke-width='1'/%3E%3Cpath d='M20,10.2 L220,10.2' stroke='%23fff' stroke-opacity='.07' stroke-width='1'/%3E%3Cpath d='M20,33.6 L220,33.6' stroke='%23000' stroke-opacity='.5' stroke-width='1.2'/%3E%3Ccircle cx='14.65' cy='22.91' r='2.73' fill='%23000' opacity='.55'/%3E%3Ccircle cx='14' cy='22' r='2.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.17' cy='21.06' r='0.83' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='226.65' cy='22.91' r='2.73' fill='%23000' opacity='.55'/%3E%3Ccircle cx='226' cy='22' r='2.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='225.17' cy='21.06' r='0.83' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E"); /* patina plate */
  --cx-orn-ribbon-lapis: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='40'%3E%3Cstop offset='0' stop-color='%23b7c2d0'/%3E%3Cstop offset='0.3' stop-color='%236a7584'/%3E%3Cstop offset='0.7' stop-color='%23353c46'/%3E%3Cstop offset='1' stop-color='%2314171b'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='8' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%2322324c'/%3E%3Cstop offset='0.5' stop-color='%23162238'/%3E%3Cstop offset='1' stop-color='%230b1322'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.3' numOctaves='2' seed='4' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M24,5 L28.5,0.5 L33,5 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M207,5 L211.5,0.5 L216,5 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M24,39 L28.5,43.5 L33,39 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M207,39 L211.5,43.5 L216,39 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M14,5 L226,5 L239,22 L226,39 L14,39 L1,22 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.2' stroke-linejoin='round' filter='url(%23bv)'/%3E%3Cpath d='M16.5,8.5 L223.5,8.5 L234.5,22 L223.5,35.5 L16.5,35.5 L5.5,22 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.85' stroke-width='1'/%3E%3Cpath d='M20,10.2 L220,10.2' stroke='%23fff' stroke-opacity='.07' stroke-width='1'/%3E%3Cpath d='M20,33.6 L220,33.6' stroke='%23000' stroke-opacity='.5' stroke-width='1.2'/%3E%3Ccircle cx='14.65' cy='22.91' r='2.73' fill='%23000' opacity='.55'/%3E%3Ccircle cx='14' cy='22' r='2.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.17' cy='21.06' r='0.83' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='226.65' cy='22.91' r='2.73' fill='%23000' opacity='.55'/%3E%3Ccircle cx='226' cy='22' r='2.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='225.17' cy='21.06' r='0.83' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");         /* cold steel plate */
  --cx-orn-ribbon-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='40'%3E%3Cstop offset='0' stop-color='%235d646d'/%3E%3Cstop offset='0.4' stop-color='%232c3036'/%3E%3Cstop offset='1' stop-color='%230c0d10'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='8' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%23141518'/%3E%3Cstop offset='1' stop-color='%2308090a'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.3' numOctaves='2' seed='4' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M24,5 L28.5,0.5 L33,5 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M207,5 L211.5,0.5 L216,5 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M24,39 L28.5,43.5 L33,39 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M207,39 L211.5,43.5 L216,39 Z' fill='url(%23rm)' stroke='%23060402' stroke-width='.8'/%3E%3Cpath d='M14,5 L226,5 L239,22 L226,39 L14,39 L1,22 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.2' stroke-linejoin='round' filter='url(%23bv)'/%3E%3Cpath d='M16.5,8.5 L223.5,8.5 L234.5,22 L223.5,35.5 L16.5,35.5 L5.5,22 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.85' stroke-width='1'/%3E%3Cpath d='M20,10.2 L220,10.2' stroke='%23fff' stroke-opacity='.07' stroke-width='1'/%3E%3Cpath d='M20,33.6 L220,33.6' stroke='%23000' stroke-opacity='.5' stroke-width='1.2'/%3E%3Ccircle cx='14.65' cy='22.91' r='2.73' fill='%23000' opacity='.55'/%3E%3Ccircle cx='14' cy='22' r='2.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.17' cy='21.06' r='0.83' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='226.65' cy='22.91' r='2.73' fill='%23000' opacity='.55'/%3E%3Ccircle cx='226' cy='22' r='2.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='225.17' cy='21.06' r='0.83' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");             /* soot plate, iron rim */
  --cx-orn-ribbon-leather: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='40'%3E%3Cstop offset='0' stop-color='%236a4632'/%3E%3Cstop offset='0.5' stop-color='%233e2518'/%3E%3Cstop offset='1' stop-color='%231a0d07'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='8' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%234a2a1c'/%3E%3Cstop offset='0.5' stop-color='%23341c12'/%3E%3Cstop offset='1' stop-color='%231e0f09'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.3' numOctaves='2' seed='4' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M14,5 L226,5 L239,22 L226,39 L14,39 L1,22 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.2' stroke-linejoin='round' filter='url(%23bv)'/%3E%3Cpath d='M16.5,8.5 L223.5,8.5 L234.5,22 L223.5,35.5 L16.5,35.5 L5.5,22 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.85' stroke-width='1'/%3E%3Cpath d='M20,10.2 L220,10.2' stroke='%23fff' stroke-opacity='.07' stroke-width='1'/%3E%3Cpath d='M20,33.6 L220,33.6' stroke='%23000' stroke-opacity='.5' stroke-width='1.2'/%3E%3Cpath d='M12,12.5 L228,12.5 M12,31.5 L228,31.5' stroke='%23d9c39a' stroke-opacity='.45' stroke-width='.9' stroke-dasharray='3 2.4'/%3E%3Ccircle cx='14.65' cy='22.91' r='2.73' fill='%23000' opacity='.55'/%3E%3Ccircle cx='14' cy='22' r='2.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.17' cy='21.06' r='0.83' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='226.65' cy='22.91' r='2.73' fill='%23000' opacity='.55'/%3E%3Ccircle cx='226' cy='22' r='2.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='225.17' cy='21.06' r='0.83' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");     /* stitched scorched-leather strap */
  --cx-orn-crest: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'%3E%3Cdefs%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='14'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.6' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='2' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='1.6' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='1.6' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M8,14 L14,8 L17,9.5 L20,1 L23,9.5 L26,8 L32,14 Z' fill='url(%23bz)' stroke='%23120a03' stroke-width='.8' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/svg%3E");
  --cx-orn-seal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='rg' gradientUnits='userSpaceOnUse' x1='6' y1='6' x2='58' y2='58'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='en' cx='.42' cy='.38' r='.7' %3E%3Cstop offset='0' stop-color='%23a33424'/%3E%3Cstop offset='0.55' stop-color='%235e140d'/%3E%3Cstop offset='1' stop-color='%232a0604'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3ClinearGradient id='gd' gradientUnits='userSpaceOnUse' x1='0' y1='18' x2='0' y2='46'%3E%3Cstop offset='0' stop-color='%23ffe7a8'/%3E%3Cstop offset='0.45' stop-color='%23f2b04c'/%3E%3Cstop offset='1' stop-color='%23a35a16'/%3E%3C/linearGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='7' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.8' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.8' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.4'/%3E%3CfeOffset dx='1' dy='1.8' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Ccircle cx='32' cy='32' r='30' fill='url(%23rg)' stroke='%23050302' stroke-width='1.2' filter='url(%23bv)'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='22.6' fill='%23000' opacity='.6'/%3E%3Ccircle cx='32' cy='32' r='21.5' fill='url(%23en)' stroke='%23000' stroke-opacity='.8' stroke-width='1'/%3E%3Ccircle cx='32' cy='32' r='19.6' fill='none' stroke='%23fff' stroke-opacity='.06' stroke-width='1'/%3E%3Ccircle cx='57.67' cy='39.29' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='57.31' cy='38.78' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='56.84' cy='38.26' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='50.89' cy='51.03' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='50.53' cy='50.53' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='50.06' cy='50' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='39.14' cy='57.81' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='38.78' cy='57.31' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='38.32' cy='56.79' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='25.58' cy='57.81' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='25.22' cy='57.31' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='24.75' cy='56.79' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='13.84' cy='51.03' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='13.47' cy='50.53' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.01' cy='50' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='7.06' cy='39.29' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='6.69' cy='38.78' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='6.23' cy='38.26' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='7.06' cy='25.73' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='6.69' cy='25.22' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='6.23' cy='24.7' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='13.84' cy='13.98' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='13.47' cy='13.47' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.01' cy='12.95' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='25.58' cy='7.2' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='25.22' cy='6.69' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='24.75' cy='6.17' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='39.14' cy='7.2' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='38.78' cy='6.69' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='38.32' cy='6.17' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='50.89' cy='13.98' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='50.53' cy='13.47' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='50.06' cy='12.95' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='57.67' cy='25.73' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='57.31' cy='25.22' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='56.84' cy='24.7' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Cpath d='M32,15.5 C35.5,21.5 41.5,25.5 40.6,33.6 C40,40 36.2,44.6 32,44.6 C27.8,44.6 23.8,40.4 23.4,34.2 C23,28.8 26.6,26.2 27.8,22.2 C29,25.6 30.4,27 31.6,27.4 C31,23.6 30.8,19.6 32,15.5 Z' fill='url(%23gd)' stroke='%232a1004' stroke-width='.9' stroke-linejoin='round'/%3E%3Cpath d='M32,30 C34.2,33 36,35 35.6,38.4 C35.2,41 33.8,42.4 32,42.4 C30.2,42.4 28.6,41 28.4,38.4 C28.2,35.6 30.6,33.6 32,30 Z' fill='%23fff2c6' opacity='.85'/%3E%3C/svg%3E");                         /* medallion: oxblood enamel, ember flame */
  --cx-orn-seal-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='rg' gradientUnits='userSpaceOnUse' x1='6' y1='6' x2='58' y2='58'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='en' cx='.42' cy='.38' r='.7' %3E%3Cstop offset='0' stop-color='%236a4520'/%3E%3Cstop offset='0.6' stop-color='%233a240e'/%3E%3Cstop offset='1' stop-color='%231a0f05'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3ClinearGradient id='gd' gradientUnits='userSpaceOnUse' x1='0' y1='18' x2='0' y2='46'%3E%3Cstop offset='0' stop-color='%23ffe7a8'/%3E%3Cstop offset='0.45' stop-color='%23f2b04c'/%3E%3Cstop offset='1' stop-color='%23a35a16'/%3E%3C/linearGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='7' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.8' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.8' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.4'/%3E%3CfeOffset dx='1' dy='1.8' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Ccircle cx='32' cy='32' r='30' fill='url(%23rg)' stroke='%23050302' stroke-width='1.2' filter='url(%23bv)'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='22.6' fill='%23000' opacity='.6'/%3E%3Ccircle cx='32' cy='32' r='21.5' fill='url(%23en)' stroke='%23000' stroke-opacity='.8' stroke-width='1'/%3E%3Ccircle cx='32' cy='32' r='19.6' fill='none' stroke='%23fff' stroke-opacity='.06' stroke-width='1'/%3E%3Ccircle cx='57.67' cy='39.29' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='57.31' cy='38.78' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='56.84' cy='38.26' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='50.89' cy='51.03' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='50.53' cy='50.53' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='50.06' cy='50' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='39.14' cy='57.81' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='38.78' cy='57.31' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='38.32' cy='56.79' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='25.58' cy='57.81' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='25.22' cy='57.31' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='24.75' cy='56.79' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='13.84' cy='51.03' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='13.47' cy='50.53' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.01' cy='50' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='7.06' cy='39.29' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='6.69' cy='38.78' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='6.23' cy='38.26' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='7.06' cy='25.73' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='6.69' cy='25.22' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='6.23' cy='24.7' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='13.84' cy='13.98' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='13.47' cy='13.47' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.01' cy='12.95' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='25.58' cy='7.2' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='25.22' cy='6.69' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='24.75' cy='6.17' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='39.14' cy='7.2' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='38.78' cy='6.69' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='38.32' cy='6.17' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='50.89' cy='13.98' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='50.53' cy='13.47' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='50.06' cy='12.95' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='57.67' cy='25.73' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='57.31' cy='25.22' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='56.84' cy='24.7' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Cpath d='M32,14 L35,27 L48,23 L38,32 L48,41 L35,37 L32,50 L29,37 L16,41 L26,32 L16,23 L29,27 Z' fill='url(%23gd)' stroke='%232a1004' stroke-width='.9' stroke-linejoin='round'/%3E%3Ccircle cx='32' cy='32' r='3.4' fill='%23fff0c0'/%3E%3C/svg%3E");               /* bronze medallion, molten star */
  --cx-orn-seal-lapis: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='rg' gradientUnits='userSpaceOnUse' x1='6' y1='6' x2='58' y2='58'%3E%3Cstop offset='0' stop-color='%23cfd7e2'/%3E%3Cstop offset='0.3' stop-color='%237a8594'/%3E%3Cstop offset='0.7' stop-color='%23363d47'/%3E%3Cstop offset='1' stop-color='%23121418'/%3E%3C/linearGradient%3E%3CradialGradient id='en' cx='.42' cy='.38' r='.7' %3E%3Cstop offset='0' stop-color='%232f5290'/%3E%3Cstop offset='0.6' stop-color='%23152a52'/%3E%3Cstop offset='1' stop-color='%2308142a'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3ClinearGradient id='gd' gradientUnits='userSpaceOnUse' x1='0' y1='18' x2='0' y2='46'%3E%3Cstop offset='0' stop-color='%23ffe7a8'/%3E%3Cstop offset='0.45' stop-color='%23f2b04c'/%3E%3Cstop offset='1' stop-color='%23a35a16'/%3E%3C/linearGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='7' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.8' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.8' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.4'/%3E%3CfeOffset dx='1' dy='1.8' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Ccircle cx='32' cy='32' r='30' fill='url(%23rg)' stroke='%23050302' stroke-width='1.2' filter='url(%23bv)'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='22.6' fill='%23000' opacity='.6'/%3E%3Ccircle cx='32' cy='32' r='21.5' fill='url(%23en)' stroke='%23000' stroke-opacity='.8' stroke-width='1'/%3E%3Ccircle cx='32' cy='32' r='19.6' fill='none' stroke='%23fff' stroke-opacity='.06' stroke-width='1'/%3E%3Ccircle cx='57.67' cy='39.29' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='57.31' cy='38.78' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='56.84' cy='38.26' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='50.89' cy='51.03' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='50.53' cy='50.53' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='50.06' cy='50' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='39.14' cy='57.81' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='38.78' cy='57.31' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='38.32' cy='56.79' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='25.58' cy='57.81' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='25.22' cy='57.31' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='24.75' cy='56.79' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='13.84' cy='51.03' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='13.47' cy='50.53' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.01' cy='50' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='7.06' cy='39.29' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='6.69' cy='38.78' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='6.23' cy='38.26' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='7.06' cy='25.73' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='6.69' cy='25.22' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='6.23' cy='24.7' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='13.84' cy='13.98' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='13.47' cy='13.47' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.01' cy='12.95' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='25.58' cy='7.2' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='25.22' cy='6.69' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='24.75' cy='6.17' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='39.14' cy='7.2' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='38.78' cy='6.69' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='38.32' cy='6.17' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='50.89' cy='13.98' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='50.53' cy='13.47' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='50.06' cy='12.95' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='57.67' cy='25.73' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='57.31' cy='25.22' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='56.84' cy='24.7' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Cpath d='M37.5,17 C29,18.5 23,25 23,33 C23,41.5 30,48 38.5,47.5 C33.5,45 30.5,39.6 30.5,33 C30.5,26 33.4,20.2 37.5,17 Z' fill='%23e8eef8' stroke='%230a1220' stroke-width='.9'/%3E%3Ccircle cx='40.5' cy='25' r='1.3' fill='%23dfe8f8'/%3E%3Ccircle cx='43' cy='35' r='.9' fill='%23dfe8f8'/%3E%3C/svg%3E");             /* steel medallion, crescent (rest, night) */
  --cx-orn-seal-verdigris: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='rg' gradientUnits='userSpaceOnUse' x1='6' y1='6' x2='58' y2='58'%3E%3Cstop offset='0' stop-color='%23b9d4c6'/%3E%3Cstop offset='0.3' stop-color='%236e9686'/%3E%3Cstop offset='0.7' stop-color='%232e4c42'/%3E%3Cstop offset='1' stop-color='%230e1b17'/%3E%3C/linearGradient%3E%3CradialGradient id='en' cx='.42' cy='.38' r='.7' %3E%3Cstop offset='0' stop-color='%233f7a6c'/%3E%3Cstop offset='0.6' stop-color='%231d3d36'/%3E%3Cstop offset='1' stop-color='%230b1a17'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3ClinearGradient id='gd' gradientUnits='userSpaceOnUse' x1='0' y1='18' x2='0' y2='46'%3E%3Cstop offset='0' stop-color='%23ffe7a8'/%3E%3Cstop offset='0.45' stop-color='%23f2b04c'/%3E%3Cstop offset='1' stop-color='%23a35a16'/%3E%3C/linearGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='7' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.8' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.8' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.4'/%3E%3CfeOffset dx='1' dy='1.8' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Ccircle cx='32' cy='32' r='30' fill='url(%23rg)' stroke='%23050302' stroke-width='1.2' filter='url(%23bv)'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='22.6' fill='%23000' opacity='.6'/%3E%3Ccircle cx='32' cy='32' r='21.5' fill='url(%23en)' stroke='%23000' stroke-opacity='.8' stroke-width='1'/%3E%3Ccircle cx='32' cy='32' r='19.6' fill='none' stroke='%23fff' stroke-opacity='.06' stroke-width='1'/%3E%3Ccircle cx='57.67' cy='39.29' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='57.31' cy='38.78' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='56.84' cy='38.26' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='50.89' cy='51.03' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='50.53' cy='50.53' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='50.06' cy='50' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='39.14' cy='57.81' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='38.78' cy='57.31' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='38.32' cy='56.79' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='25.58' cy='57.81' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='25.22' cy='57.31' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='24.75' cy='56.79' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='13.84' cy='51.03' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='13.47' cy='50.53' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.01' cy='50' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='7.06' cy='39.29' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='6.69' cy='38.78' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='6.23' cy='38.26' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='7.06' cy='25.73' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='6.69' cy='25.22' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='6.23' cy='24.7' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='13.84' cy='13.98' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='13.47' cy='13.47' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='13.01' cy='12.95' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='25.58' cy='7.2' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='25.22' cy='6.69' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='24.75' cy='6.17' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='39.14' cy='7.2' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='38.78' cy='6.69' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='38.32' cy='6.17' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='50.89' cy='13.98' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='50.53' cy='13.47' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='50.06' cy='12.95' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='57.67' cy='25.73' r='1.52' fill='%23000' opacity='.55'/%3E%3Ccircle cx='57.31' cy='25.22' r='1.45' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='56.84' cy='24.7' r='0.46' fill='%23fff3d0' opacity='.75'/%3E%3Cpath d='M32,15 C40,22 43,30 32,49 C21,30 24,22 32,15 Z' fill='url(%23gd)' stroke='%2314261f' stroke-width='.9'/%3E%3Cpath d='M32,20 L32,46' stroke='%2314261f' stroke-width='1'/%3E%3Cpath d='M32,28 L37,24 M32,34 L38,30 M32,28 L27,24 M32,34 L26,30' stroke='%2314261f' stroke-width='.8'/%3E%3C/svg%3E");     /* patina medallion, leaf */
  --cx-orn-filler: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='18' viewBox='0 0 200 18'%3E%3Cpath d='M6,9 L84,7.6 L90,9 L84,10.4 Z M194,9 L116,7.6 L110,9 L116,10.4 Z' fill='%233a2214' opacity='.85'/%3E%3Cpath d='M100,2 L107,9 L100,16 L93,9 Z' fill='%237a1d10'/%3E%3Cpath d='M100,5.6 L103.4,9 L100,12.4 L96.6,9 Z' fill='%23e9dcbc' opacity='.55'/%3E%3Cpath d='M88,9 L91,6 L91,12 Z M112,9 L109,6 L109,12 Z' fill='%233a2214'/%3E%3Ccircle cx='60' cy='9' r='1.3' fill='%233a2214'/%3E%3Ccircle cx='140' cy='9' r='1.3' fill='%233a2214'/%3E%3C/svg%3E");                     /* divider drawn in ink (parchment) */
  --cx-orn-filler-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='18' viewBox='0 0 200 18'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='6' x2='0' y2='12'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='92' y1='2' x2='108' y2='16'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.6' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='3' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='1.6' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='1.6' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M4,9 L82,7 L89,9 L82,11 Z M196,9 L118,7 L111,9 L118,11 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.7' filter='url(%23bv)'/%3E%3Cpath d='M86.5,9 L91,4 L91,14 Z M113.5,9 L109,4 L109,14 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.7'/%3E%3Cpath d='M100,1.2 L107.8,9 L100,16.8 L92.2,9 Z' fill='url(%23bz)' stroke='%23100802' stroke-width='.9' filter='url(%23bv)'/%3E%3Cpath d='M100,5.4 L103.6,9 L100,12.6 L96.4,9 Z' fill='%232a1206'/%3E%3Cpath d='M100,6.8 L102.2,9 L100,11.2 L97.8,9 Z' fill='%23ff9a48'/%3E%3Ccircle cx='99.4' cy='8.4' r='.7' fill='%23fff2c8'/%3E%3Ccircle cx='56.33' cy='8.86' r='1.37' fill='%23000' opacity='.55'/%3E%3Ccircle cx='56' cy='8.4' r='1.3' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='55.58' cy='7.93' r='0.42' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='144.32' cy='8.86' r='1.37' fill='%23000' opacity='.55'/%3E%3Ccircle cx='144' cy='8.4' r='1.3' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='143.58' cy='7.93' r='0.42' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");           /* forged divider with an ember lozenge (dark) */
  --cx-orn-rune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='16' viewBox='0 0 160 16'%3E%3Cg transform='translate(6.6,3.6)'%3E%3Cpath d='M0,0 L0,10 M0,2 L4,0 M0,5 L4,3' stroke='%23000' stroke-opacity='.8' stroke-width='1.6' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Cg transform='translate(6,3)'%3E%3Cpath d='M0,0 L0,10 M0,2 L4,0 M0,5 L4,3' stroke='%23c08a48' stroke-width='1.3' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Ccircle cx='18' cy='8' r='1' fill='%237d5428'/%3E%3Cg transform='translate(26,3.6)'%3E%3Cpath d='M0,0 L0,10 M4,0 L4,10 M0,4 L4,6' stroke='%23000' stroke-opacity='.8' stroke-width='1.6' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Cg transform='translate(25.4,3)'%3E%3Cpath d='M0,0 L0,10 M4,0 L4,10 M0,4 L4,6' stroke='%23c08a48' stroke-width='1.3' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Ccircle cx='37.4' cy='8' r='1' fill='%237d5428'/%3E%3Cg transform='translate(45.4,3.6)'%3E%3Cpath d='M2,0 L2,10 M0,3 L2,5 L4,3' stroke='%23000' stroke-opacity='.8' stroke-width='1.6' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Cg transform='translate(44.8,3)'%3E%3Cpath d='M2,0 L2,10 M0,3 L2,5 L4,3' stroke='%23c08a48' stroke-width='1.3' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Ccircle cx='56.8' cy='8' r='1' fill='%237d5428'/%3E%3Cg transform='translate(64.8,3.6)'%3E%3Cpath d='M0,10 L2,0 L4,10 M1,6 L3,6' stroke='%23000' stroke-opacity='.8' stroke-width='1.6' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Cg transform='translate(64.2,3)'%3E%3Cpath d='M0,10 L2,0 L4,10 M1,6 L3,6' stroke='%23c08a48' stroke-width='1.3' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Ccircle cx='76.2' cy='8' r='1' fill='%237d5428'/%3E%3Cg transform='translate(84.2,3.6)'%3E%3Cpath d='M0,0 L4,5 L0,10 M4,0 L4,10' stroke='%23000' stroke-opacity='.8' stroke-width='1.6' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Cg transform='translate(83.6,3)'%3E%3Cpath d='M0,0 L4,5 L0,10 M4,0 L4,10' stroke='%23c08a48' stroke-width='1.3' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Ccircle cx='95.6' cy='8' r='1' fill='%237d5428'/%3E%3Cg transform='translate(103.6,3.6)'%3E%3Cpath d='M2,0 L2,10 M0,7 L2,5 L4,7' stroke='%23000' stroke-opacity='.8' stroke-width='1.6' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Cg transform='translate(103,3)'%3E%3Cpath d='M2,0 L2,10 M0,7 L2,5 L4,7' stroke='%23c08a48' stroke-width='1.3' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Ccircle cx='115' cy='8' r='1' fill='%237d5428'/%3E%3Cg transform='translate(123,3.6)'%3E%3Cpath d='M0,0 L0,10 L4,7 M0,3 L4,0' stroke='%23000' stroke-opacity='.8' stroke-width='1.6' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Cg transform='translate(122.4,3)'%3E%3Cpath d='M0,0 L0,10 L4,7 M0,3 L4,0' stroke='%23c08a48' stroke-width='1.3' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Ccircle cx='134.4' cy='8' r='1' fill='%237d5428'/%3E%3Cg transform='translate(142.4,3.6)'%3E%3Cpath d='M0,0 L4,10 M4,0 L0,10' stroke='%23000' stroke-opacity='.8' stroke-width='1.6' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3Cg transform='translate(141.8,3)'%3E%3Cpath d='M0,0 L4,10 M4,0 L0,10' stroke='%23c08a48' stroke-width='1.3' fill='none' stroke-linecap='square'/%3E%3C/g%3E%3C/svg%3E");
  --cx-orn-clasp-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='6' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='6' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2'/%3E%3CfeOffset dx='1' dy='1.6' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M56,8 L12,8 L1,14 L12,20 L56,20 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9' filter='url(%23bv)'/%3E%3Crect x='46' y='5' width='8' height='18' rx='2' fill='url(%23ir)' stroke='%23000' stroke-width='.9' filter='url(%23bv)'/%3E%3C/g%3E%3Ccircle cx='34.5' cy='14.7' r='2.1' fill='%23000' opacity='.55'/%3E%3Ccircle cx='34' cy='14' r='2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='33.36' cy='13.28' r='0.64' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='20.5' cy='14.7' r='2.1' fill='%23000' opacity='.55'/%3E%3Ccircle cx='20' cy='14' r='2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='19.36' cy='13.28' r='0.64' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-clasp-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='6' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='6' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2'/%3E%3CfeOffset dx='1' dy='1.6' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M0,8 L44,8 L55,14 L44,20 L0,20 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9' filter='url(%23bv)'/%3E%3Crect x='2' y='5' width='8' height='18' rx='2' fill='url(%23ir)' stroke='%23000' stroke-width='.9' filter='url(%23bv)'/%3E%3C/g%3E%3Ccircle cx='22.5' cy='14.7' r='2.1' fill='%23000' opacity='.55'/%3E%3Ccircle cx='22' cy='14' r='2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='21.36' cy='13.28' r='0.64' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='36.5' cy='14.7' r='2.1' fill='%23000' opacity='.55'/%3E%3Ccircle cx='36' cy='14' r='2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='35.36' cy='13.28' r='0.64' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-dropcap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='64' y2='64'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='ce' cx='.5' cy='.4' r='.75' %3E%3Cstop offset='0' stop-color='%232a2e34'/%3E%3Cstop offset='0.6' stop-color='%2316181c'/%3E%3Cstop offset='1' stop-color='%230a0b0d'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='8' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.6' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.6' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M6,1 L58,1 L63,6 L63,58 L58,63 L6,63 L1,58 L1,6 Z' fill='url(%23ir)' stroke='%23000' stroke-width='1' filter='url(%23bv)'/%3E%3Cpath d='M9,6 L55,6 L58,9 L58,55 L55,58 L9,58 L6,55 L6,9 Z' fill='url(%23ce)' stroke='%23b07a3c' stroke-width='1.3'/%3E%3Crect x='8' y='8' width='48' height='48' fill='none' stroke='%23000' stroke-opacity='.5' stroke-width='1'/%3E%3Cpath d='M10,19 C10,13 13,10 19,10 M13,16 L16,13' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3Cpath d='M54,19 C54,13 51,10 45,10 M51,16 L48,13' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3Cpath d='M10,45 C10,51 13,54 19,54 M13,48 L16,51' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3Cpath d='M54,45 C54,51 51,54 45,54 M51,48 L48,51' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3C/svg%3E");
  --cx-orn-dropcap-oxblood: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='64' y2='64'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='ce' cx='.5' cy='.4' r='.75' %3E%3Cstop offset='0' stop-color='%236a1a12'/%3E%3Cstop offset='0.6' stop-color='%233a0d09'/%3E%3Cstop offset='1' stop-color='%231c0504'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='8' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.6' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.6' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M6,1 L58,1 L63,6 L63,58 L58,63 L6,63 L1,58 L1,6 Z' fill='url(%23ir)' stroke='%23000' stroke-width='1' filter='url(%23bv)'/%3E%3Cpath d='M9,6 L55,6 L58,9 L58,55 L55,58 L9,58 L6,55 L6,9 Z' fill='url(%23ce)' stroke='%23b07a3c' stroke-width='1.3'/%3E%3Crect x='8' y='8' width='48' height='48' fill='none' stroke='%23000' stroke-opacity='.5' stroke-width='1'/%3E%3Cpath d='M10,19 C10,13 13,10 19,10 M13,16 L16,13' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3Cpath d='M54,19 C54,13 51,10 45,10 M51,16 L48,13' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3Cpath d='M10,45 C10,51 13,54 19,54 M13,48 L16,51' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3Cpath d='M54,45 C54,51 51,54 45,54 M51,48 L48,51' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3C/svg%3E");
  --cx-orn-dropcap-verdigris: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='64' y2='64'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='ce' cx='.5' cy='.4' r='.75' %3E%3Cstop offset='0' stop-color='%232c5a50'/%3E%3Cstop offset='0.6' stop-color='%23163430'/%3E%3Cstop offset='1' stop-color='%230a1816'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='8' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.6' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.6' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M6,1 L58,1 L63,6 L63,58 L58,63 L6,63 L1,58 L1,6 Z' fill='url(%23ir)' stroke='%23000' stroke-width='1' filter='url(%23bv)'/%3E%3Cpath d='M9,6 L55,6 L58,9 L58,55 L55,58 L9,58 L6,55 L6,9 Z' fill='url(%23ce)' stroke='%23b07a3c' stroke-width='1.3'/%3E%3Crect x='8' y='8' width='48' height='48' fill='none' stroke='%23000' stroke-opacity='.5' stroke-width='1'/%3E%3Cpath d='M10,19 C10,13 13,10 19,10 M13,16 L16,13' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3Cpath d='M54,19 C54,13 51,10 45,10 M51,16 L48,13' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3Cpath d='M10,45 C10,51 13,54 19,54 M13,48 L16,51' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3Cpath d='M54,45 C54,51 51,54 45,54 M51,48 L48,51' stroke='%23c08a48' stroke-opacity='.7' stroke-width='.8' fill='none'/%3E%3C/svg%3E");
  --cx-orn-compass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='96' y2='96'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3ClinearGradient id='em' gradientUnits='userSpaceOnUse' x1='40' y1='0' x2='56' y2='48'%3E%3Cstop offset='0' stop-color='%23ffd28a'/%3E%3Cstop offset='0.5' stop-color='%23f08a2c'/%3E%3Cstop offset='1' stop-color='%23a8400e'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='4' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Ccircle cx='48' cy='48' r='34' fill='none' stroke='url(%23ir)' stroke-width='6' filter='url(%23bv)'/%3E%3Ccircle cx='48' cy='48' r='37' fill='none' stroke='%23000' stroke-width='.8'/%3E%3Ccircle cx='48' cy='48' r='31' fill='none' stroke='%23000' stroke-width='.8'/%3E%3Cpath d='M79.5,48 L82,48' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M78.43,56.15 L80.84,56.8' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M75.28,63.75 L77.44,65' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M70.27,70.27 L72.04,72.04' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M63.75,75.28 L65,77.44' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M56.15,78.43 L56.8,80.84' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M48,79.5 L48,82' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M39.85,78.43 L39.2,80.84' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M32.25,75.28 L31,77.44' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M25.73,70.27 L23.96,72.04' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M20.72,63.75 L18.56,65' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M17.57,56.15 L15.16,56.8' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M16.5,48 L14,48' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M17.57,39.85 L15.16,39.2' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M20.72,32.25 L18.56,31' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M25.73,25.73 L23.96,23.96' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M32.25,20.72 L31,18.56' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M39.85,17.57 L39.2,15.16' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M48,16.5 L48,14' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M56.15,17.57 L56.8,15.16' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M63.75,20.72 L65,18.56' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M70.27,25.73 L72.04,23.96' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M75.28,32.25 L77.44,31' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cpath d='M78.43,39.85 L80.84,39.2' stroke='%23b07a3c' stroke-width='.9'/%3E%3Cg filter='url(%23bv)'%3E%3Cpath d='M67.8,67.8 L51.54,44.46 L48,48 L44.46,51.54 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.8'/%3E%3Cpath d='M28.2,67.8 L51.54,51.54 L48,48 L44.46,44.46 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.8'/%3E%3Cpath d='M28.2,28.2 L44.46,51.54 L48,48 L51.54,44.46 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.8'/%3E%3Cpath d='M67.8,28.2 L44.46,44.46 L48,48 L51.54,51.54 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.8'/%3E%3Cpath d='M92,48 L48,41 L48,48 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M92,48 L48,48 L48,55 Z' fill='%230d0f12' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M48,92 L55,48 L48,48 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M48,92 L48,48 L41,48 Z' fill='%230d0f12' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M4,48 L48,55 L48,48 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M4,48 L48,48 L48,41 Z' fill='%230d0f12' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M48,4 L41,48 L48,48 Z' fill='url(%23em)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M48,4 L48,48 L55,48 Z' fill='%237a2a0a' stroke='%23000' stroke-width='.9'/%3E%3C/g%3E%3Ccircle cx='49.05' cy='49.47' r='4.41' fill='%23000' opacity='.55'/%3E%3Ccircle cx='48' cy='48' r='4.2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.76'/%3E%3Ccircle cx='46.66' cy='46.49' r='1.34' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-astrolabe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112' viewBox='0 0 112 112'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='112' y2='112'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='em' cx='.4' cy='.35' r='.7' %3E%3Cstop offset='0' stop-color='%23ffe0a0'/%3E%3Cstop offset='0.4' stop-color='%23ff9a3d'/%3E%3Cstop offset='1' stop-color='%238a2c08'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='12' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Ccircle cx='56' cy='56' r='48' fill='none' stroke='url(%23ir)' stroke-width='9' filter='url(%23bv)'/%3E%3Ccircle cx='56' cy='56' r='52.6' fill='none' stroke='%23000' stroke-width='1'/%3E%3Ccircle cx='56' cy='56' r='43.4' fill='none' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M100.5,56 L105.1,56' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M99.82,63.73 L102.19,64.14' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M97.82,71.22 L100.07,72.04' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M94.54,78.25 L98.52,80.55' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M90.09,84.6 L91.93,86.15' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M84.6,90.09 L86.15,91.93' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M78.25,94.54 L80.55,98.52' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M71.22,97.82 L72.04,100.07' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M63.73,99.82 L64.14,102.19' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M56,100.5 L56,105.1' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M48.27,99.82 L47.86,102.19' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M40.78,97.82 L39.96,100.07' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M33.75,94.54 L31.45,98.52' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M27.4,90.09 L25.85,91.93' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M21.91,84.6 L20.07,86.15' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M17.46,78.25 L13.48,80.55' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M14.18,71.22 L11.93,72.04' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M12.18,63.73 L9.81,64.14' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M11.5,56 L6.9,56' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M12.18,48.27 L9.81,47.86' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M14.18,40.78 L11.93,39.96' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M17.46,33.75 L13.48,31.45' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M21.91,27.4 L20.07,25.85' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M27.4,21.91 L25.85,20.07' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M33.75,17.46 L31.45,13.48' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M40.78,14.18 L39.96,11.93' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M48.27,12.18 L47.86,9.81' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M56,11.5 L56,6.9' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M63.73,12.18 L64.14,9.81' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M71.22,14.18 L72.04,11.93' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M78.25,17.46 L80.55,13.48' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M84.6,21.91 L86.15,20.07' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M90.09,27.4 L91.93,25.85' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M94.54,33.75 L98.52,31.45' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M97.82,40.78 L100.07,39.96' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M99.82,48.27 L102.19,47.86' stroke='%23c08a48' stroke-width='0.8'/%3E%3Ccircle cx='56' cy='56' r='33' fill='none' stroke='%23b07a3c' stroke-width='2.2' filter='url(%23bv)'/%3E%3Ccircle cx='56' cy='56' r='33' fill='none' stroke='%23000' stroke-opacity='.6' stroke-width='.6'/%3E%3Cpath d='M56,44 L56,23' stroke='%237d5428' stroke-width='1.6'/%3E%3Ccircle cx='56' cy='23' r='5.4' fill='url(%23em)' stroke='%232a0e04' stroke-width='.9'/%3E%3Ccircle cx='54.6' cy='21.4' r='1.4' fill='%23fff2c8'/%3E%3Cpath d='M66.39,62 L84.58,72.5' stroke='%237d5428' stroke-width='1.6'/%3E%3Ccircle cx='84.58' cy='72.5' r='5.4' fill='url(%23em)' stroke='%232a0e04' stroke-width='.9'/%3E%3Ccircle cx='83.18' cy='70.9' r='1.4' fill='%23fff2c8'/%3E%3Cpath d='M45.61,62 L27.42,72.5' stroke='%237d5428' stroke-width='1.6'/%3E%3Ccircle cx='27.42' cy='72.5' r='5.4' fill='url(%23em)' stroke='%232a0e04' stroke-width='.9'/%3E%3Ccircle cx='26.02' cy='70.9' r='1.4' fill='%23fff2c8'/%3E%3Cpath d='M56,24 C70,34 70,78 56,88 C42,78 42,34 56,24 Z' fill='none' stroke='%2386592a' stroke-width='1' stroke-dasharray='2 2.2'/%3E%3Cpath d='M56,12 L59,56 L56,100 L53,56 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.8' filter='url(%23bv)'/%3E%3Ccircle cx='57.5' cy='58.1' r='6.3' fill='%23000' opacity='.55'/%3E%3Ccircle cx='56' cy='56' r='6' fill='url(%23rv)' stroke='%23140c04' stroke-width='1.08'/%3E%3Ccircle cx='54.08' cy='53.84' r='1.92' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");               /* the ember sigil (loading) */
  --cx-orn-quill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='fe' gradientUnits='userSpaceOnUse' x1='6' y1='28' x2='28' y2='3'%3E%3Cstop offset='0' stop-color='%23a99f8f'/%3E%3Cstop offset='0.5' stop-color='%23e9e2d4'/%3E%3Cstop offset='1' stop-color='%23fffaf0'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='4' y1='24' x2='10' y2='30'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M28.5,2.5 C19,4.5 10.5,12.5 7.5,23.5 L9.8,25.2 C19.5,22 26.5,14 28.5,2.5 Z' fill='url(%23fe)' stroke='%2314100c' stroke-width='.9'/%3E%3Cpath d='M27,4.5 C19,10 13,17 9,24' stroke='%235a5248' stroke-width='.8' fill='none'/%3E%3Cpath d='M12,17.5 L15,19 M15,13.5 L18,15.5 M18.5,10 L21,12' stroke='%238a8172' stroke-width='.7'/%3E%3Cpath d='M7.5,23.5 L5.2,29.5 L9.8,25.2 Z' fill='url(%23bz)' stroke='%23140c04' stroke-width='.8'/%3E%3C/svg%3E");
  --cx-orn-fleuron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cdefs%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='2' y1='2' x2='18' y2='18'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10,0.8 L12,7.4 L19.2,10 L12,12.6 L10,19.2 L8,12.6 L0.8,10 L8,7.4 Z' fill='url(%23bz)' stroke='%23140a03' stroke-width='.8' stroke-linejoin='round'/%3E%3Cpath d='M10,6.6 L11.4,10 L10,13.4 L8.6,10 Z' fill='%232a1206' opacity='1'/%3E%3Ccircle cx='10' cy='10' r='1.2' fill='%23ff9a48'/%3E%3C/svg%3E");                   /* four-point thorn star, bronze */
  --cx-orn-fleuron-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M10,0.8 L12,7.4 L19.2,10 L12,12.6 L10,19.2 L8,12.6 L0.8,10 L8,7.4 Z' fill='%237a1d10' stroke='none' stroke-width='.8' stroke-linejoin='round'/%3E%3Cpath d='M10,6.6 L11.4,10 L10,13.4 L8.6,10 Z' fill='%23e9dcbc' opacity='0.6'/%3E%3C/svg%3E");
  --cx-orn-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='16' y2='16'%3E%3Cstop offset='0' stop-color='%23ffe7a8'/%3E%3Cstop offset='0.45' stop-color='%23f0ad4a'/%3E%3Cstop offset='1' stop-color='%23a35a16'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2,8.6 L4.4,6.4 L7,9 L13.2,2.2 L15,4.2 L7,13.4 Z' fill='%23000' opacity='.6' transform='translate(.6 .8)'/%3E%3Cpath d='M2,8.6 L4.4,6.4 L7,9 L13.2,2.2 L15,4.2 L7,13.4 Z' fill='url(%23g)' stroke='%232a1004' stroke-width='.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  --cx-orn-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.35' cy='.3' r='.8' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.8' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='3' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='11.2' fill='url(%23bz)' stroke='%23000' stroke-width='.8' filter='url(%23bv)'/%3E%3Ccircle cx='12' cy='12' r='8.6' fill='url(%23ir)' stroke='%23000' stroke-width='.8'/%3E%3Cpath d='M8.4,8.4 L15.6,15.6 M15.6,8.4 L8.4,15.6' stroke='%23000' stroke-width='2.8' stroke-linecap='round' transform='translate(.4 .6)'/%3E%3Cpath d='M8.4,8.4 L15.6,15.6 M15.6,8.4 L8.4,15.6' stroke='%23e2d9c8' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  --cx-orn-boss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.35' cy='.3' r='.8' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='32' y2='32'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='5' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.6' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.6' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Ccircle cx='16' cy='16' r='14.6' fill='url(%23bz)' stroke='%23000' stroke-width='.9' filter='url(%23bv)'/%3E%3Ccircle cx='16' cy='16' r='11' fill='url(%23ir)' stroke='%23000' stroke-width='.8' filter='url(%23bv)'/%3E%3Ccircle cx='16.85' cy='17.19' r='3.57' fill='%23000' opacity='.55'/%3E%3Ccircle cx='16' cy='16' r='3.4' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.61'/%3E%3Ccircle cx='14.91' cy='14.78' r='1.09' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-finial-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='8' x2='0' y2='32'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='12' x2='0' y2='28'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='4' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2'/%3E%3CfeOffset dx='1' dy='1.6' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Crect x='31' y='15' width='9' height='10' fill='url(%23ir)' stroke='%23000' stroke-width='.8'/%3E%3Cpath d='M1,20 L16,9 L24,12 L24,28 L16,31 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9' filter='url(%23bv)'/%3E%3Cpath d='M4,20 L22,20' stroke='%23000' stroke-opacity='.6' stroke-width='1'/%3E%3Crect x='25' y='12' width='6' height='16' rx='1.5' fill='url(%23bz)' stroke='%23140a03' stroke-width='.8' filter='url(%23bv)'/%3E%3C/g%3E%3C/svg%3E");
  --cx-orn-finial-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='8' x2='0' y2='32'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='12' x2='0' y2='28'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='4' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.2'/%3E%3CfeOffset dx='1' dy='1.6' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Crect x='0' y='15' width='9' height='10' fill='url(%23ir)' stroke='%23000' stroke-width='.8'/%3E%3Cpath d='M39,20 L24,9 L16,12 L16,28 L24,31 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9' filter='url(%23bv)'/%3E%3Cpath d='M36,20 L18,20' stroke='%23000' stroke-opacity='.6' stroke-width='1'/%3E%3Crect x='9' y='12' width='6' height='16' rx='1.5' fill='url(%23bz)' stroke='%23140a03' stroke-width='.8' filter='url(%23bv)'/%3E%3C/g%3E%3C/svg%3E");
  --cx-orn-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='64' y2='64'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3ClinearGradient id='ir2' gradientUnits='userSpaceOnUse' x1='0' y1='8' x2='0' y2='60'%3E%3Cstop offset='0' stop-color='%2333373d'/%3E%3Cstop offset='0.4' stop-color='%231b1d21'/%3E%3Cstop offset='1' stop-color='%2308090a'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='64' y2='64'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.3' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='6' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='3' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='3' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2'/%3E%3CfeOffset dx='1.4' dy='2.4' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.8'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M5,4 L59,4 L59,29 C59,46 46,56 32,62 C18,56 5,46 5,29 Z' fill='url(%23bz)' stroke='%230a0603' stroke-width='1' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M9.5,8.5 L54.5,8.5 L54.5,29 C54.5,43.4 43.6,52 32,57.2 C20.4,52 9.5,43.4 9.5,29 Z' fill='url(%23ir2)' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M12.5,11.5 L51.5,11.5 L51.5,29 C51.5,41.4 42.2,49 32,53.8 C21.8,49 12.5,41.4 12.5,29 Z' fill='none' stroke='%23b07a3c' stroke-opacity='.45' stroke-width='.8'/%3E%3Ccircle cx='9.95' cy='9.13' r='1.89' fill='%23000' opacity='.55'/%3E%3Ccircle cx='9.5' cy='8.5' r='1.8' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='8.92' cy='7.85' r='0.58' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='54.95' cy='9.13' r='1.89' fill='%23000' opacity='.55'/%3E%3Ccircle cx='54.5' cy='8.5' r='1.8' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='53.92' cy='7.85' r='0.58' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='32.4' cy='58.56' r='1.68' fill='%23000' opacity='.55'/%3E%3Ccircle cx='32' cy='58' r='1.6' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='31.49' cy='57.42' r='0.51' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --cx-orn-socket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='48' y2='48'%3E%3Cstop offset='0' stop-color='%238a929c'/%3E%3Cstop offset='0.35' stop-color='%234a5058'/%3E%3Cstop offset='0.7' stop-color='%23262a2f'/%3E%3Cstop offset='1' stop-color='%230e0f12'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='44'%3E%3Cstop offset='0' stop-color='%2307080a'/%3E%3Cstop offset='0.5' stop-color='%230f1114'/%3E%3Cstop offset='1' stop-color='%23191c20'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4,0.6 L44,0.6 L47.4,4 L47.4,44 L44,47.4 L4,47.4 L0.6,44 L0.6,4 Z' fill='url(%23rm)' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M6,4.2 L42,4.2 L43.8,6 L43.8,42 L42,43.8 L6,43.8 L4.2,42 L4.2,6 Z' fill='url(%23fc)' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M6,6.4 L42,6.4' stroke='%23000' stroke-opacity='.8' stroke-width='2.4'/%3E%3C/svg%3E");
  --cx-orn-socket-bronze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='48' y2='48'%3E%3Cstop offset='0' stop-color='%23e2b56a'/%3E%3Cstop offset='0.35' stop-color='%239a6a34'/%3E%3Cstop offset='0.7' stop-color='%235a3a18'/%3E%3Cstop offset='1' stop-color='%232a1a09'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='44'%3E%3Cstop offset='0' stop-color='%2307080a'/%3E%3Cstop offset='0.5' stop-color='%230f1114'/%3E%3Cstop offset='1' stop-color='%23191c20'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4,0.6 L44,0.6 L47.4,4 L47.4,44 L44,47.4 L4,47.4 L0.6,44 L0.6,4 Z' fill='url(%23rm)' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M6,4.2 L42,4.2 L43.8,6 L43.8,42 L42,43.8 L6,43.8 L4.2,42 L4.2,6 Z' fill='url(%23fc)' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M6,6.4 L42,6.4' stroke='%23000' stroke-opacity='.8' stroke-width='2.4'/%3E%3C/svg%3E");
  --cx-orn-socket-ember: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='48' y2='48'%3E%3Cstop offset='0' stop-color='%23ffe0a0'/%3E%3Cstop offset='0.35' stop-color='%23f0a050'/%3E%3Cstop offset='0.7' stop-color='%23b0581c'/%3E%3Cstop offset='1' stop-color='%234a1c06'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='44'%3E%3Cstop offset='0' stop-color='%2307080a'/%3E%3Cstop offset='0.5' stop-color='%230f1114'/%3E%3Cstop offset='1' stop-color='%23191c20'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4,0.6 L44,0.6 L47.4,4 L47.4,44 L44,47.4 L4,47.4 L0.6,44 L0.6,4 Z' fill='url(%23rm)' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M6,4.2 L42,4.2 L43.8,6 L43.8,42 L42,43.8 L6,43.8 L4.2,42 L4.2,6 Z' fill='url(%23fc)' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M6,6.4 L42,6.4' stroke='%23000' stroke-opacity='.8' stroke-width='2.4'/%3E%3C/svg%3E");

  /* ----------------------------------------------------------------- MATERIAL TEXTURES (overlay tiles; the colour comes from the recipe) */
  --cx-tex-vellum: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256' viewBox='0 0 256 256'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='4' seed='14' stitchTiles='stitch' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 .42 0 0 0 0 .28 0 0 0 0 .12 -.8 0 0 0 .44' result='st'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .25' numOctaves='2' seed='6' stitchTiles='stitch' result='fi'/%3E%3CfeColorMatrix in='fi' type='matrix' values='0 0 0 0 .4 0 0 0 0 .28 0 0 0 0 .14 1.2 0 0 0 -.72' result='fb'/%3E%3CfeMerge%3E%3CfeMergeNode in='st'/%3E%3CfeMergeNode in='fb'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23f)'/%3E%3C/svg%3E");                 /* parchment fibres & smoke stains */
  --cx-tex-oak: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='2' seed='17' stitchTiles='stitch' result='n'/%3E%3CfeDiffuseLighting in='n' surfaceScale='4' diffuseConstant='1' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='225' elevation='48'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' type='matrix' values='0 0 0 0 .82 0 0 0 0 .86 0 0 0 0 .92 0.63 0 0 0 -0.47' result='hi'/%3E%3CfeColorMatrix in='l' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0.67 0 0 0 0.42' result='lo'/%3E%3CfeMerge%3E%3CfeMergeNode in='lo'/%3E%3CfeMergeNode in='hi'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E");                       /* legacy name → hammered iron, fine (frame bands) */
  --cx-tex-stone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256' viewBox='0 0 256 256'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018' numOctaves='4' seed='11' stitchTiles='stitch' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.0 0 0 0 .52' result='dk'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='1' seed='3' stitchTiles='stitch' result='g'/%3E%3CfeColorMatrix in='g' type='matrix' values='0 0 0 0 .6 0 0 0 0 .62 0 0 0 0 .66 .6 0 0 0 -.36' result='sp'/%3E%3CfeMerge%3E%3CfeMergeNode in='dk'/%3E%3CfeMergeNode in='sp'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23f)'/%3E%3C/svg%3E");                   /* charcoal stone */
  --cx-tex-leather: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.32' numOctaves='2' seed='8' stitchTiles='stitch' result='n'/%3E%3CfeDiffuseLighting in='n' surfaceScale='1.6' diffuseConstant='1' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='225' elevation='55'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' type='matrix' values='0 0 0 0 .9 0 0 0 0 .78 0 0 0 0 .62 .7 0 0 0 -.54' result='hi'/%3E%3CfeColorMatrix in='l' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -.9 0 0 0 .66' result='lo'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='3' seed='2' stitchTiles='stitch' result='m'/%3E%3CfeColorMatrix in='m' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 0 0 0 1.05' result='mo'/%3E%3CfeMerge%3E%3CfeMergeNode in='mo'/%3E%3CfeMergeNode in='lo'/%3E%3CfeMergeNode in='hi'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23f)'/%3E%3C/svg%3E");               /* pebbled scorched leather */
  --cx-tex-iron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='2' seed='4' stitchTiles='stitch' result='n'/%3E%3CfeDiffuseLighting in='n' surfaceScale='4' diffuseConstant='1' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='225' elevation='48'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' type='matrix' values='0 0 0 0 .82 0 0 0 0 .86 0 0 0 0 .92 0.9 0 0 0 -0.67' result='hi'/%3E%3CfeColorMatrix in='l' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0.96 0 0 0 0.6' result='lo'/%3E%3CfeMerge%3E%3CfeMergeNode in='lo'/%3E%3CfeMergeNode in='hi'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E");                     /* hammered iron, coarse */
  --cx-tex-gilt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .9' numOctaves='2' seed='5' stitchTiles='stitch' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .7 .7 0 0 0 -.36' result='hi'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -.7 0 0 0 .3' result='lo'/%3E%3CfeMerge%3E%3CfeMergeNode in='lo'/%3E%3CfeMergeNode in='hi'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23f)'/%3E%3C/svg%3E");                     /* legacy name → brushed bronze */
  --cx-tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='1' seed='9' stitchTiles='stitch' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 .7 0 0 0 0 .74 0 0 0 0 .8 .26 0 0 0 -.12' result='hi'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='3' seed='4' stitchTiles='stitch' result='s'/%3E%3CfeColorMatrix in='s' type='matrix' values='0 0 0 0 .55 0 0 0 0 .6 0 0 0 0 .68 .26 0 0 0 -.1' result='sm'/%3E%3CfeMerge%3E%3CfeMergeNode in='sm'/%3E%3CfeMergeNode in='hi'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E");                   /* smoke grain for dark panels */

  /* ----------------------------------------------------------------- MATERIAL RECIPES (`background: var(--cx-bg-…)`) */
  --cx-bg-vellum: var(--cx-tex-vellum),
    radial-gradient(ellipse at 50% 35%, rgba(255, 250, 235, 0.3), rgba(255, 250, 235, 0) 65%),
    linear-gradient(180deg, var(--cx-vellum-3), var(--cx-vellum-2));
  --cx-vellum-burn: inset 0 0 22px rgba(70, 40, 14, 0.42), inset 0 0 3px rgba(40, 22, 8, 0.55);   /* scorched edge */
  /* legacy "oak" = the frame band → FORGED IRON (hammered, a cold top edge) */
  --cx-bg-oak: linear-gradient(180deg, rgba(210, 220, 235, 0.12), rgba(210, 220, 235, 0) 2px), var(--cx-tex-oak),
    linear-gradient(180deg, #2c3035 0%, #1d2024 48%, #121417 100%);
  --cx-bg-iron: linear-gradient(180deg, rgba(210, 220, 235, 0.16), rgba(210, 220, 235, 0) 2px), var(--cx-tex-iron),
    linear-gradient(180deg, #34383e 0%, #24272c 50%, #17191c 100%);
  /* smoked steel — the default panel interior: cold smoke above, a faint pool of firelight below */
  --cx-bg-smoke: var(--cx-tex-grain),
    radial-gradient(ellipse 120% 70% at 50% 118%, rgba(255, 120, 40, 0.09), rgba(255, 120, 40, 0) 62%),
    radial-gradient(ellipse 90% 60% at 28% -6%, rgba(140, 156, 178, 0.09), rgba(140, 156, 178, 0) 70%),
    linear-gradient(180deg, #1b1e23 0%, #121417 62%, #0e1012 100%);
  --cx-bg-leather: var(--cx-tex-leather),
    radial-gradient(ellipse at 50% 26%, rgba(150, 92, 50, 0.16), rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, #2a1e17, #150f0b);
  --cx-bg-stone: var(--cx-tex-stone),
    radial-gradient(ellipse at 40% 25%, rgba(200, 210, 225, 0.06), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, #2f3236, #1b1c1f);
  --cx-bg-ink: var(--cx-tex-grain),
    linear-gradient(180deg, rgba(22, 24, 28, 0.97), rgba(9, 10, 12, 0.97));
  --cx-bg-bronze: var(--cx-tex-gilt),
    linear-gradient(180deg, #9a6a34 0%, #6a4520 52%, #3a240e 100%);
  --cx-bg-soot: radial-gradient(ellipse at 50% 120%, rgba(226, 84, 31, 0.14), rgba(0, 0, 0, 0) 55%),
    radial-gradient(ellipse at 50% -10%, rgba(125, 136, 149, 0.12), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, #0f1115, #07080a 72%, #040405);
  --cx-corners: var(--cx-orn-corner-tl) left top / var(--cx-corner) var(--cx-corner) no-repeat,
    var(--cx-orn-corner-tr) right top / var(--cx-corner) var(--cx-corner) no-repeat,
    var(--cx-orn-corner-bl) left bottom / var(--cx-corner) var(--cx-corner) no-repeat,
    var(--cx-orn-corner-br) right bottom / var(--cx-corner) var(--cx-corner) no-repeat;
  --cx-corners-grand: var(--cx-orn-grand-tl) left top / var(--cx-grand) var(--cx-grand) no-repeat,
    var(--cx-orn-grand-tr) right top / var(--cx-grand) var(--cx-grand) no-repeat,
    var(--cx-orn-grand-bl) left bottom / var(--cx-grand) var(--cx-grand) no-repeat,
    var(--cx-orn-grand-br) right bottom / var(--cx-grand) var(--cx-grand) no-repeat;
  --cx-corners-map: var(--cx-orn-grand-tl) left top / var(--cx-grand-map) var(--cx-grand-map) no-repeat,
    var(--cx-orn-grand-tr) right top / var(--cx-grand-map) var(--cx-grand-map) no-repeat,
    var(--cx-orn-grand-bl) left bottom / var(--cx-grand-map) var(--cx-grand-map) no-repeat,
    var(--cx-orn-grand-br) right bottom / var(--cx-grand-map) var(--cx-grand-map) no-repeat;
  --cx-caps: var(--cx-orn-cap-tl) left 1px top 1px / 9px 9px no-repeat, var(--cx-orn-cap-tr) right 1px top 1px / 9px 9px no-repeat,
    var(--cx-orn-cap-bl) left 1px bottom 1px / 9px 9px no-repeat, var(--cx-orn-cap-br) right 1px bottom 1px / 9px 9px no-repeat;
  --cx-none: linear-gradient(transparent, transparent);
}

/* ----------------------------------------------------------------- COMPACT (480×360 beside a PDF) */
body.sq-compact, .cx-compact {
  --cx-fs-logo: 42px;
  --cx-fs-screen: 28px;
  --cx-fs-banner: 15px;
  --cx-fs-h1: 21px;
  --cx-fs-h2: 17px;
  --cx-fs-h3: 12px;
  --cx-fs-read: 15px;
  --cx-fs-body: 14px;
  --cx-fs-small: 12.5px;
  --cx-fs-btn: 13px;
  --cx-fs-btn-lg: 15px;
  --cx-band: 7px;
  --cx-band-lg: 11px;
  --cx-corner: 30px;
  --cx-grand: 60px;
  --cx-grand-map: 56px;
  --cx-btn-h: 28px;
  --cx-btn-h-lg: 38px;
  --cx-btn-h-sm: 22px;
  --cx-action: 34px;
  --cx-dropcap: 42px;
  --cx-seal: 40px;
  --cx-slot: 34px;
  --cx-endcap-w: 54px;
  --cx-endcap-h: 46px;
  --cx-screen-band: 6px;
  /* recipes that read size tokens must be re-declared here: custom properties resolve where they are declared */
  --cx-corners: var(--cx-orn-corner-tl) left top / var(--cx-corner) var(--cx-corner) no-repeat,
    var(--cx-orn-corner-tr) right top / var(--cx-corner) var(--cx-corner) no-repeat,
    var(--cx-orn-corner-bl) left bottom / var(--cx-corner) var(--cx-corner) no-repeat,
    var(--cx-orn-corner-br) right bottom / var(--cx-corner) var(--cx-corner) no-repeat;
}
@media (max-width: 560px), (max-height: 420px) {
  :root {
    --cx-fs-logo: 42px;
    --cx-fs-screen: 28px;
    --cx-fs-banner: 15px;
    --cx-fs-h1: 21px;
    --cx-fs-h2: 17px;
    --cx-fs-h3: 12px;
    --cx-fs-read: 15px;
    --cx-fs-body: 14px;
    --cx-fs-small: 12.5px;
    --cx-fs-btn: 13px;
    --cx-fs-btn-lg: 15px;
    --cx-band: 7px;
    --cx-band-lg: 11px;
    --cx-corner: 30px;
    --cx-grand: 60px;
    --cx-grand-map: 56px;
    --cx-btn-h: 28px;
    --cx-btn-h-lg: 38px;
    --cx-btn-h-sm: 22px;
    --cx-action: 34px;
    --cx-dropcap: 42px;
    --cx-seal: 40px;
    --cx-slot: 34px;
    --cx-endcap-w: 54px;
    --cx-endcap-h: 46px;
    --cx-screen-band: 6px;
    --cx-corners: var(--cx-orn-corner-tl) left top / var(--cx-corner) var(--cx-corner) no-repeat,
      var(--cx-orn-corner-tr) right top / var(--cx-corner) var(--cx-corner) no-repeat,
      var(--cx-orn-corner-bl) left bottom / var(--cx-corner) var(--cx-corner) no-repeat,
      var(--cx-orn-corner-br) right bottom / var(--cx-corner) var(--cx-corner) no-repeat;
  }
}

/* =====================================================================================================
 * TYPE ROLES
 * ===================================================================================================== */
.cx-logo, .ei-title {
  margin: 0;
  font-family: var(--cx-font-initial);
  font-weight: 900;
  font-size: var(--cx-fs-logo);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--cx-gold-3);
  /* molten metal: dark bronze foot, hot core, a cold bright lip — then a soot shadow and a faint ember halo */
  background: linear-gradient(180deg, #fff3cf 0%, #f6cf7c 22%, #c8822e 47%, #6e3f12 54%, #b8772c 70%, #f1c36a 88%, #ffe5a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #0a0603) drop-shadow(0 0 1px #000) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 22px rgba(255, 120, 40, 0.22));
}
.ei-title { font-family: var(--cx-font-title); font-size: var(--cx-fs-screen); letter-spacing: 0.06em; }
.cx-title {
  margin: 0;
  font-family: var(--cx-font-title);
  font-weight: 700;
  font-size: var(--cx-fs-screen);
  line-height: 1.05;
  letter-spacing: 0.05em;
  color: var(--cx-gold-text);
  text-shadow: 0 2px 0 #000, 0 0 2px #000, 0 6px 18px rgba(0, 0, 0, 0.85), 0 0 26px rgba(255, 120, 40, 0.22);
}
.cx-h1, .cx-h2 {
  margin: 0 0 0.4em;
  font-family: var(--cx-font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--cx-gold-text);
  text-shadow: var(--cx-sh-text-gold);
}
.cx-h1 { font-size: var(--cx-fs-h1); }
.cx-h2 { font-size: var(--cx-fs-h2); }
.cx-h3, .cx-label {
  margin: 0;
  font-family: var(--cx-font-label);
  font-weight: 700;
  font-size: max(var(--cx-fs-sc-min), var(--cx-fs-h3));
  line-height: 1.25;
  letter-spacing: 0.1em;
  color: var(--cx-text-dim);
}
.cx-body { font: 400 var(--cx-fs-body)/1.5 var(--cx-font-body); }
.cx-read { font: 400 var(--cx-fs-read)/1.55 var(--cx-font-body); }
.cx-small { font: 400 var(--cx-fs-small)/1.4 var(--cx-font-body); }
.cx-meta { font: 500 var(--cx-fs-small)/1.3 var(--cx-font-body); color: var(--cx-text-dim); }
.cx-flavor { font: italic 500 calc(var(--cx-fs-body) + 2px)/1.35 var(--cx-font-flavor); color: var(--cx-gold-3); }
.cx-num { font-family: var(--cx-font-num); font-variant-numeric: lining-nums tabular-nums; }
.cx-figures { font-variant-numeric: lining-nums tabular-nums; }
.cx-gold { color: var(--cx-gold-text); }
.cx-rubric, .cx-ember { color: var(--cx-torch); }
.cx-dim { color: var(--cx-text-dim); }

/* type on parchment switches to ink */
:is(.codex-vellum, .codex-ruled) .cx-h1, :is(.codex-vellum, .codex-ruled) .cx-title { color: var(--cx-ink-rubric-lg); text-shadow: none; }
:is(.codex-vellum, .codex-ruled) .cx-h2 { color: var(--cx-ink-rubric); text-shadow: none; }
:is(.codex-vellum, .codex-ruled) .cx-h3, :is(.codex-vellum, .codex-ruled) .cx-label, :is(.codex-vellum, .codex-ruled) .cx-meta, :is(.codex-vellum, .codex-ruled) .cx-dim { color: var(--cx-ink-text-dim); }
:is(.codex-vellum, .codex-ruled) .cx-flavor { color: var(--cx-ink-gold); }
:is(.codex-vellum, .codex-ruled) .cx-gold { color: var(--cx-ink-gold); }
:is(.codex-vellum, .codex-ruled) .cx-rubric, :is(.codex-vellum, .codex-ruled) .cx-ember { color: var(--cx-ink-rubric); }

.cx-fleuron { display: inline-block; width: 0.95em; height: 0.95em; vertical-align: -0.12em; background: var(--cx-orn-fleuron) center / contain no-repeat; }
:is(.codex-vellum, .codex-ruled) .cx-fleuron { background-image: var(--cx-orn-fleuron-ink); }
.cx-fleuron--flip { transform: scaleX(-1); }
.cx-quill { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -0.25em; background: var(--cx-orn-quill) center / contain no-repeat; }

/* =====================================================================================================
 * SURFACES (materials) — put on the element that holds the content
 * ===================================================================================================== */
.codex-vellum { background: var(--cx-bg-vellum); color: var(--cx-ink-text); box-shadow: var(--cx-vellum-burn); }
/* ruled reading panel (Codex, quest card): a faint margin rule + a line per text row; set --cx-rule-lh / --cx-rule-top */
.codex-ruled {
  --cx-rule-lh: 28px;
  --cx-rule-top: 16px;
  --cx-rule-margin: 12px;
  background:
    linear-gradient(rgba(122, 29, 16, 0.2), rgba(122, 29, 16, 0.2)) var(--cx-rule-margin) 0 / 1px 100% no-repeat,
    repeating-linear-gradient(180deg, rgba(70, 45, 20, 0.11) 0 1px, rgba(70, 45, 20, 0) 1px var(--cx-rule-lh)) 0 calc(var(--cx-rule-top) + var(--cx-rule-lh) * 0.8) / 100% calc(100% - var(--cx-rule-top) - var(--cx-rule-lh)) no-repeat,
    var(--cx-bg-vellum);
  color: var(--cx-ink-text);
  box-shadow: var(--cx-vellum-burn);
}
.codex-oak { background: var(--cx-bg-oak); color: var(--cx-text); }
.codex-stone { background: var(--cx-bg-stone); color: var(--cx-text); }
.codex-ink { background: var(--cx-bg-ink); color: var(--cx-text); }
.codex-iron { background: var(--cx-bg-iron); color: var(--cx-text); }
.ei-smoked { background: var(--cx-bg-smoke); color: var(--cx-text); }
.ei-bronze { background: var(--cx-bg-bronze); color: #f7e3b2; }
.codex-leather { position: relative; background: var(--cx-bg-leather); color: var(--cx-text); }
.codex-leather--tooled { background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.12) 0 1px, rgba(0, 0, 0, 0) 1px 12px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.12) 0 1px, rgba(0, 0, 0, 0) 1px 12px), var(--cx-bg-leather); }
.codex-leather::after {
  /* a stitched seam 6 px in */
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(217, 195, 154, 0.22);
  border-radius: 2px;
  pointer-events: none;
}

/* =====================================================================================================
 * FRAME · WINDOW · MAP FRAME — forged-iron band, bronze inner rim, thorned corners
 * ===================================================================================================== */
.codex-frame, .codex-window, .codex-mapframe {
  position: relative;
  padding: var(--cx-band);
  background: var(--cx-bg-oak);
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-r-2);
  box-shadow: var(--cx-sh-frame);
  color: var(--cx-text);
  font-family: var(--cx-font-body);
}
/* thorned corners (also neutralises base.css `.frame::before/::after` when combined with .frame) */
.codex-frame::before, .codex-window::before, .codex-mapframe::before {
  content: '';
  position: absolute;
  top: -6px; right: -6px; bottom: -6px; left: -6px;
  width: auto; height: auto;
  border-radius: 0;
  box-shadow: none;
  background: var(--cx-corners);
  pointer-events: none;
  z-index: 5;
}
/* bronze inner rim where the iron band meets the panel — and the panel's recessed shadow */
.codex-frame::after, .codex-window::after, .codex-mapframe::after {
  content: '';
  position: absolute;
  top: calc(var(--cx-band) - 2px); right: calc(var(--cx-band) - 2px);
  bottom: calc(var(--cx-band) - 2px); left: calc(var(--cx-band) - 2px);
  width: auto; height: auto;
  border: 1px solid rgba(176, 122, 60, 0.6);
  border-radius: 1px;
  background: none;
  box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #000, inset 0 3px 10px rgba(0, 0, 0, 0.6), inset 0 0 26px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 4;
}
.codex-frame--stone, .codex-window--stone { background: var(--cx-bg-stone); }
.codex-frame--iron, .codex-window--iron { background: var(--cx-bg-iron); }
.codex-frame--plain::before { background: var(--cx-caps); top: 1px; right: 1px; bottom: 1px; left: 1px; }

/* window: room at the top for the title plate that rides over the frame edge */
.codex-window {
  display: flex;
  flex-direction: column;
  min-width: 280px;
  padding-top: calc(var(--cx-band) + 26px);
}
.codex-window__head {
  position: absolute;
  top: -15px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 6;
}
.codex-window__head > * { pointer-events: auto; }
.codex-window__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: var(--cx-sp-6) var(--cx-sp-6) var(--cx-sp-5);
  border-radius: 1px;
  background: var(--cx-bg-smoke);
  color: var(--cx-text);
  font-size: var(--cx-fs-body);
  line-height: 1.5;
}
.codex-window__body.codex-vellum { background: var(--cx-bg-vellum); color: var(--cx-ink-text); }
.codex-window__body.codex-ink { background: var(--cx-bg-ink); }
.codex-window__body.codex-leather { background: var(--cx-bg-leather); }
.codex-window__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--cx-sp-4);
  padding: var(--cx-sp-4) 2px 0;
}
.codex-close {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 8px; right: calc(var(--cx-corner) - 2px);
  width: 24px; height: 24px;
  padding: 0; margin: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cx-orn-close) center / 100% 100% no-repeat;
  cursor: pointer;
  z-index: 7;
}
.codex-close:hover { filter: brightness(1.25) sepia(0.35); }
.codex-close:active { transform: translateY(1px); }
.codex-close:focus { outline: none; }
.codex-close:focus-visible { box-shadow: var(--cx-focus); }
body.sq-compact .codex-close { width: 20px; height: 20px; top: 5px; }

/* clasps & bosses that can be placed on any frame edge */
.codex-clasp { position: absolute; width: 44px; height: 22px; background: var(--cx-orn-clasp-l) center / 100% 100% no-repeat; pointer-events: none; z-index: 6; }
.codex-clasp--l { left: calc(var(--cx-band) - 44px); top: 50%; margin-top: -11px; background-image: var(--cx-orn-clasp-r); }
.codex-clasp--r { right: calc(var(--cx-band) - 44px); top: 50%; margin-top: -11px; }
.codex-boss { display: inline-block; width: 28px; height: 28px; background: var(--cx-orn-boss) center / contain no-repeat; }
.codex-rivet { display: inline-block; width: 8px; height: 8px; background: var(--cx-rivet); }
.codex-rivet--iron { background: var(--cx-rivet-iron); }

/* map frame: heavier band, grand corners, a charcoal war-table view (the map canvas paints over it) */
.codex-mapframe { display: flex; flex-direction: column; padding: var(--cx-band-lg); }
.codex-mapframe::before {
  top: -9px; right: -9px; bottom: -9px; left: -9px;
  background: var(--cx-orn-grand-tl) left top no-repeat, var(--cx-orn-grand-tr) right top no-repeat,
    var(--cx-orn-grand-bl) left bottom no-repeat, var(--cx-orn-grand-br) right bottom no-repeat;
  background-size: var(--cx-grand-map) var(--cx-grand-map);
}
.codex-mapframe::after {
  top: calc(var(--cx-band-lg) - 4px); right: calc(var(--cx-band-lg) - 4px);
  bottom: calc(var(--cx-band-lg) - 4px); left: calc(var(--cx-band-lg) - 4px);
  border: 2px solid rgba(176, 122, 60, 0.62);
  box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #000, inset 0 0 0 3px rgba(176, 122, 60, 0.16), inset 0 0 40px rgba(0, 0, 0, 0.55);
}
.codex-mapframe__view {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: var(--cx-bg-stone);
  color: var(--cx-text);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(0, 0, 0, 0.6), inset 0 0 120px rgba(0, 0, 0, 0.35);
}
.codex-mapframe__view.codex-vellum { background: var(--cx-bg-vellum); color: var(--cx-ink-text); }
.codex-mapframe__title { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); z-index: 7; }
/* header strip: crumbs + Zoom Out on the iron band INSIDE the frame.  .codex-mapframe > .codex-mapframe__bar + .codex-mapframe__view */
.codex-mapframe__bar {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--cx-sp-4);
  min-height: 30px;
  margin: -4px 0 6px;
  padding: 0 2px;
  z-index: 3;
}
.codex-mapframe__bar > .codex-btn:last-child { margin-left: auto; }
.codex-mapframe__view > .codex-mapframe__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  margin: 0;
  padding: 3px 10px;
  background: var(--cx-bg-oak);
  box-shadow: 0 1px 0 rgba(176, 122, 60, 0.6), 0 2px 0 #000, 0 3px 8px rgba(0, 0, 0, 0.45);
}
.codex-compass { display: block; width: 96px; height: 96px; background: var(--cx-orn-compass) center / contain no-repeat; pointer-events: none; }
body.sq-compact .codex-compass { width: 44px; height: 44px; }
.codex-legend {
  display: grid;
  gap: 4px 8px;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 8px 12px;
  font: 500 var(--cx-fs-small)/1.2 var(--cx-font-body);
  color: var(--cx-text);
  background: var(--cx-caps), var(--cx-bg-ink);
  border: 1px solid #000;
  box-shadow: inset 0 0 0 1px rgba(176, 122, 60, 0.45), var(--cx-sh-2);
}
.codex-legend__swatch {
  /* a small heater shield in the zone's con colour:  <i class="codex-legend__swatch" style="--c: var(--cx-con-green)"></i> */
  --c: var(--cx-con-grey);
  flex: none;
  width: 11px; height: 13px;
  background: linear-gradient(135deg, rgba(255, 240, 210, 0.45), rgba(255, 240, 210, 0) 45%, rgba(0, 0, 0, 0.35)), var(--c);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 52%, 86% 78%, 50% 100%, 14% 78%, 0 52%);
  clip-path: polygon(0 0, 100% 0, 100% 52%, 86% 78%, 50% 100%, 14% 78%, 0 52%);
}
:is(.codex-vellum, .codex-ruled) .codex-legend, .codex-legend.codex-vellum { color: var(--cx-ink-text); background: var(--cx-bg-vellum); }
.codex-legend--strip { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 6px; padding: 3px 10px; white-space: nowrap; }
.codex-legend--strip > span { margin-right: 6px; }

/* breadcrumb: World ▸ Valemark ▸ Goldreap Fields */
.codex-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; font: 700 max(var(--cx-fs-sc-min), var(--cx-fs-h3))/1 var(--cx-font-label); letter-spacing: 0.08em; }
.codex-crumbs > a, .codex-crumbs > button, .codex-crumbs > span {
  -webkit-appearance: none;
  appearance: none;
  padding: 5px 8px;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: var(--cx-text-dim);
  text-decoration: none;
  text-shadow: var(--cx-sh-text-dark);
  cursor: pointer;
}
.codex-crumbs > a:hover, .codex-crumbs > button:hover { color: var(--cx-gold-leaf); }
.codex-crumbs > [aria-current], .codex-crumbs > .is-current { color: var(--cx-gold-text); cursor: default; }
.codex-crumbs > i { width: 11px; height: 11px; background: var(--cx-orn-fleuron) center / contain no-repeat; opacity: 0.9; }

/* =====================================================================================================
 * STANDALONE SCREEN (login, character select, creation, loading)
 * markup: <div class="codex-screen"> <canvas class="codex-screen__art"> … <div class="codex-screen__frame"></div> </div>
 * Add <div class="ei-embers"></div> (drifting embers) and/or <div class="ei-smoke"></div> as the art's next siblings.
 * ===================================================================================================== */
.codex-screen {
  position: fixed;
  inset: 0;
  overflow: hidden;
  color: var(--cx-text);
  font-family: var(--cx-font-body);
  background: var(--cx-bg-soot);
}
.codex-screen--embed { position: relative; inset: auto; }
.codex-screen__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.codex-screen::after {
  /* smoke vignette: the edges sink into soot, the bottom holds a low bank of cold smoke */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 70% at 50% 46%, rgba(0, 0, 0, 0) 55%, rgba(2, 3, 4, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 74%, rgba(20, 24, 30, 0.35) 88%, rgba(0, 0, 0, 0.62));
  pointer-events: none;
  z-index: 1;
}
.codex-screen::before {
  /* the forged band between the viewport edge and the bronze rule (evenodd clip = a frame, no masks) */
  content: '';
  position: absolute;
  inset: 0;
  --_b: var(--cx-screen-band);
  background: var(--cx-bg-oak);
  -webkit-clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, var(--_b) var(--_b), var(--_b) calc(100% - var(--_b)), calc(100% - var(--_b)) calc(100% - var(--_b)), calc(100% - var(--_b)) var(--_b), var(--_b) var(--_b));
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, var(--_b) var(--_b), var(--_b) calc(100% - var(--_b)), calc(100% - var(--_b)) calc(100% - var(--_b)), calc(100% - var(--_b)) var(--_b), var(--_b) var(--_b));
  pointer-events: none;
  z-index: 7;
}
.codex-screen__frame {
  /* a bronze rule inside the band + four grand thorned corners */
  position: absolute;
  top: var(--cx-screen-band); right: var(--cx-screen-band); bottom: var(--cx-screen-band); left: var(--cx-screen-band);
  border: 1px solid rgba(176, 122, 60, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 8;
}
.codex-screen__frame::before {
  content: '';
  position: absolute;
  top: -10px; right: -10px; bottom: -10px; left: -10px;
  background: var(--cx-orn-grand-tl) left top no-repeat, var(--cx-orn-grand-tr) right top no-repeat,
    var(--cx-orn-grand-bl) left bottom no-repeat, var(--cx-orn-grand-br) right bottom no-repeat;
  background-size: var(--cx-grand) var(--cx-grand);
}
/* content above the vignette; :where() keeps this at zero specificity so screens can position their own layers */
.codex-screen > :where(:not(.codex-screen__art):not(.codex-screen__frame):not(.ei-embers):not(.ei-smoke)) { position: relative; z-index: 2; }
/* footer line of a screen (version · music credit): ≥ 12 px and clear of the grand corners */
.codex-screen__foot {
  position: absolute;
  left: calc(var(--cx-screen-band) + var(--cx-grand) + 8px);
  right: calc(var(--cx-screen-band) + var(--cx-grand) + 8px);
  bottom: calc(var(--cx-screen-band) + 10px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font: 400 max(12px, var(--cx-fs-small))/1.2 var(--cx-font-body);
  color: var(--cx-text-dim);
  text-shadow: 0 1px 0 #000, 0 0 5px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  z-index: 9;
}
.codex-screen__foot > * { overflow: hidden; text-overflow: ellipsis; }

/* a standing panel on a screen (login plaque, roster) — smoked steel in a bronze-ruled iron edge */
.codex-panel, .ei-plate {
  position: relative;
  padding: var(--cx-sp-7) var(--cx-sp-7) var(--cx-sp-6);
  background: var(--cx-bg-smoke);
  border: 1px solid #000;
  border-radius: var(--cx-r-2);
  color: var(--cx-text);
  box-shadow: inset 0 0 0 1px rgba(226, 181, 106, 0.38), inset 0 0 0 5px #15171a, inset 0 0 0 6px rgba(176, 122, 60, 0.3),
    inset 0 0 44px rgba(0, 0, 0, 0.6), 0 20px 44px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.codex-panel::before, .ei-plate::before {
  content: '';
  position: absolute;
  top: -6px; right: -6px; bottom: -6px; left: -6px;
  background: var(--cx-corners);
  pointer-events: none;
  z-index: 3;
}

/* ---- LOGIN ---------------------------------------------------------------------------------------------
 * Forged logo:  <h1 class="codex-illogo"><span class="codex-illogo__init"><b>S</b></span><span class="codex-illogo__rest">tudy Quest</span></h1>
 * The initial sits on a forged heater shield; a blade runs out from behind it under the rest of the word. */
.codex-illogo {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  margin: 0;
  padding-bottom: 0.32em;
  font-family: var(--cx-font-initial);
  font-weight: 900;
  font-size: var(--cx-fs-logo);
  line-height: 0.9;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.codex-illogo__init {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 1.12em; height: 1.18em;
  margin: 0 -0.02em -0.2em 0;            /* the shield's S and the rest of the word read as one word (gap −30 %) */
  background: var(--cx-orn-shield) center / 100% 100% no-repeat;
  z-index: 1;
}
.codex-illogo__init > b {
  padding: 0 0 0.12em;
  font: 900 0.8em/1 var(--cx-font-initial);
  background: linear-gradient(180deg, #fff6d6 0%, #ffd27e 30%, #f08a2c 62%, #b5480f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(255, 120, 40, 0.55)) drop-shadow(0 1px 0 #000);
}
.codex-illogo__rest {
  position: relative;
  padding-bottom: 0.03em;
  background: linear-gradient(180deg, #fff3cf 0%, #f6cf7c 22%, #c8822e 47%, #6e3f12 54%, #b8772c 70%, #f1c36a 88%, #ffe5a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #0a0603) drop-shadow(0 0 1px #000) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 24px rgba(255, 120, 40, 0.2));
}
.codex-illogo::before, .codex-illogo::after {
  /* the blade under the word: a cold steel bar with a fuller, ending in a point */
  content: '';
  position: absolute;
  bottom: 0.02em;
  height: 0.24em;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.7));
  pointer-events: none;
}
.codex-illogo::before { left: 0.9em; right: 0.34em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16' viewBox='0 0 64 16'%3E%3Cdefs%3E%3ClinearGradient id='st' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='13'%3E%3Cstop offset='0' stop-color='%23f3f6fa'/%3E%3Cstop offset='0.3' stop-color='%23b9c1cb'/%3E%3Cstop offset='0.5' stop-color='%236d7580'/%3E%3Cstop offset='0.52' stop-color='%233a4048'/%3E%3Cstop offset='0.8' stop-color='%237e8792'/%3E%3Cstop offset='1' stop-color='%2330353c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='4.2' width='64' height='7.6' fill='url(%23st)'/%3E%3Crect x='0' y='3.6' width='64' height='.8' fill='%23050506'/%3E%3Crect x='0' y='11.6' width='64' height='.9' fill='%23050506'/%3E%3Crect x='0' y='7.4' width='64' height='1.2' fill='%231a1d21' opacity='.75'/%3E%3C/svg%3E") left center / auto 100% repeat-x; }
.codex-illogo::after { right: -0.02em; width: 0.38em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3Cdefs%3E%3ClinearGradient id='st' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='13'%3E%3Cstop offset='0' stop-color='%23f3f6fa'/%3E%3Cstop offset='0.3' stop-color='%23b9c1cb'/%3E%3Cstop offset='0.5' stop-color='%236d7580'/%3E%3Cstop offset='0.52' stop-color='%233a4048'/%3E%3Cstop offset='0.8' stop-color='%237e8792'/%3E%3Cstop offset='1' stop-color='%2330353c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,3.6 L12,3.6 L23.4,8 L12,12.5 L0,12.5 Z' fill='url(%23st)' stroke='%23050506' stroke-width='.8'/%3E%3Cpath d='M0,7.4 L10,7.4 L16,8 L10,8.6 L0,8.6 Z' fill='%231a1d21' opacity='.75'/%3E%3C/svg%3E") right center / 100% 100% no-repeat; }

/* the LOGIN PLAQUE (legacy name: charter): a smoked-steel plaque in a bronze-ruled iron edge, one primary action,
   diamond-separated links, a medallion hanging from a chain below it */
.codex-charter {
  position: relative;
  box-sizing: border-box;
  padding: 20px 26px 28px;
  color: var(--cx-text);
  text-align: center;
  background: var(--cx-rivets-4), var(--cx-bg-smoke);
  border: 1px solid #000;
  border-radius: var(--cx-r-2);
  box-shadow: inset 0 0 0 1px rgba(226, 181, 106, 0.4), inset 0 0 0 5px #15171a, inset 0 0 0 6px rgba(176, 122, 60, 0.28),
    inset 0 0 40px rgba(0, 0, 0, 0.55), 0 18px 40px rgba(0, 0, 0, 0.72), 0 0 60px rgba(255, 110, 30, 0.07);
}
.codex-charter::after {
  /* a forged foot bar the chain hangs from */
  content: '';
  position: absolute;
  left: 18%; right: 18%; bottom: -6px;
  height: 8px;
  border: 1px solid #000;
  border-radius: 1px;
  background: var(--cx-rivet) left 3px center / 8px 8px no-repeat, var(--cx-rivet) right 3px center / 8px 8px no-repeat, var(--cx-bg-iron);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.codex-charter__realm {
  display: block;
  margin-bottom: 12px;
  font: 700 max(var(--cx-fs-sc-min), var(--cx-fs-h3))/1.25 var(--cx-font-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cx-gold-text);
}
.codex-charter__realm::before, .codex-charter__realm::after { content: '\25C6\FE0E'; margin: 0 0.6em; font-size: 0.7em; color: var(--cx-torch); vertical-align: 0.12em; }
.codex-charter > .codex-btn--primary { width: 100%; }
.codex-charter > .codex-links { margin-top: 12px; }
.codex-charter::before {
  /* small thorned corners on the plaque */
  content: '';
  position: absolute;
  top: -5px; right: -5px; bottom: -5px; left: -5px;
  background: var(--cx-orn-corner-tl) left top / 30px 30px no-repeat, var(--cx-orn-corner-tr) right top / 30px 30px no-repeat,
    var(--cx-orn-corner-bl) left bottom / 30px 30px no-repeat, var(--cx-orn-corner-br) right bottom / 30px 30px no-repeat;
  pointer-events: none;
  z-index: 3;
}

/* hanging medallion:  <i class="codex-hangseal"></i> inside a .codex-charter (or any position:relative box) */
.codex-hangseal {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  width: var(--cx-seal);
  height: calc(var(--cx-seal) + 20px);
  margin-left: calc(var(--cx-seal) / -2);
  pointer-events: none;
  z-index: 2;
}
.codex-hangseal::before {
  /* the chain: alternating iron links */
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 6px; height: 24px;
  margin-left: -3px;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 1px, #5a6068 1px 2px, #1d2024 2px 5px, #6a717a 5px 6px, rgba(0, 0, 0, 0) 6px 7px) center / 2px 100% no-repeat,
    repeating-linear-gradient(180deg, #2a2e34 0 1px, #8a919a 1px 2px, #24272c 2px 4px, #0c0d0f 4px 7px) center / 6px 100% no-repeat;
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 6px, rgba(0, 0, 0, 0.35) 6px 7px);
  mask-image: repeating-linear-gradient(180deg, #000 0 6px, rgba(0, 0, 0, 0.35) 6px 7px);
}
.codex-hangseal::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--cx-seal);
  background: var(--cx-orn-seal) center / 100% 100% no-repeat;
}
.codex-hangseal--gold::after { background-image: var(--cx-orn-seal-gold); }
.codex-hangseal--lapis::after { background-image: var(--cx-orn-seal-lapis); }

/* links in ONE line separated by small ember lozenges — "Options ◆ Handbook ◆ Credits" (never wraps) */
.codex-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  white-space: nowrap;
  font: 700 max(var(--cx-fs-sc-min), calc(var(--cx-fs-btn) - 1px))/1.1 var(--cx-font-label);
  letter-spacing: 0.08em;
}
.codex-links > a, .codex-links > button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 4px 6px;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: var(--cx-text-dim);
  text-shadow: var(--cx-sh-text-dark);
  text-decoration: none;
  cursor: pointer;
}
.codex-links > * + *::before { content: '\25C6\FE0E'; display: inline-block; margin-right: 12px; font-size: 0.62em; vertical-align: 0.18em; color: var(--cx-bronze-3); text-decoration: none; }
.codex-links > a:hover, .codex-links > button:hover { color: var(--cx-gold-leaf); }
.codex-links > a:focus, .codex-links > button:focus { outline: none; }
.codex-links > a:focus-visible, .codex-links > button:focus-visible { color: var(--cx-gold-leaf); outline: 2px solid var(--cx-torch); outline-offset: 1px; }
:is(.codex-vellum, .codex-ruled) .codex-links > a, :is(.codex-vellum, .codex-ruled) .codex-links > button { color: var(--cx-ink-text); text-shadow: none; }
:is(.codex-vellum, .codex-ruled) .codex-links > * + *::before { color: var(--cx-ink-rubric); }
:is(.codex-vellum, .codex-ruled) .codex-links > a:hover, :is(.codex-vellum, .codex-ruled) .codex-links > button:hover { color: var(--cx-ink-rubric); text-decoration: underline; text-underline-offset: 3px; }

/* ---- CHARACTER SELECT = the FORGED ROSTER ---------------------------------------------------------------
 * <div class="codex-muster"><h2 class="codex-muster__title">Champions</h2><ul class="codex-list">…rows…</ul>…</div>
 * (.ei-roster is the same panel under its new name.) Rows are recessed sockets; the chosen one is lit by embers. */
.codex-muster, .ei-roster {
  position: relative;
  box-sizing: border-box;
  margin: 10px 4px;
  padding: 22px 16px 18px;
  color: var(--cx-text);
  background: var(--cx-bg-smoke);
  border: 1px solid #000;
  border-radius: var(--cx-r-2);
  box-shadow: inset 0 0 0 1px rgba(226, 181, 106, 0.36), inset 0 0 0 6px #121417, inset 0 0 0 7px rgba(176, 122, 60, 0.28),
    inset 0 0 50px rgba(0, 0, 0, 0.55), 0 20px 44px rgba(0, 0, 0, 0.72);
}
.codex-muster::before, .codex-muster::after, .ei-roster::before, .ei-roster::after {
  /* forged cross-bars, riveted, top and bottom */
  content: '';
  position: absolute;
  left: -8px; right: -8px;
  height: 13px;
  border: 1px solid #000;
  border-radius: 2px;
  background: var(--cx-rivet) left 4px center / 8px 8px no-repeat, var(--cx-rivet) right 4px center / 8px 8px no-repeat,
    var(--cx-rivet) left 30% center / 8px 8px no-repeat, var(--cx-rivet) right 30% center / 8px 8px no-repeat, var(--cx-bg-iron);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(210, 220, 235, 0.16);
  pointer-events: none;
}
.codex-muster::before, .ei-roster::before { top: -7px; }
.codex-muster::after, .ei-roster::after { bottom: -7px; }
.codex-muster__title, .ei-roster__title {
  margin: 0 0 4px;
  font: 700 var(--cx-fs-h2)/1.15 var(--cx-font-title);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cx-gold-text);
  text-shadow: var(--cx-sh-text-gold);
}
.codex-muster .codex-divider, .ei-roster .codex-divider { margin: 4px 0 10px; }
.codex-muster .codex-list, .ei-roster .codex-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.codex-muster .codex-row, .ei-roster .codex-row {
  min-height: 52px;
  padding: 6px 10px 6px 6px;
  border: 1px solid #000;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.22);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
  box-shadow: inset 0 0 0 1px rgba(176, 122, 60, 0.18), inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* =====================================================================================================
 * TITLE PLATE (legacy name: ribbon banner) — <span class="codex-banner">Quest Log</span>
 * A forged plaque with pointed ends, a bronze rim, spikes, riveted ends and a small crest; carved gold capitals.
 * ===================================================================================================== */
.codex-banner {
  display: inline-block;
  box-sizing: border-box;
  min-width: 150px;
  height: 46px;
  padding: 9px 14px 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0 40px;
  border-image-source: var(--cx-orn-ribbon);
  border-image-slice: 0 40 fill;
  border-image-width: 0 40px;
  border-image-repeat: stretch;
  font-family: var(--cx-font-title);
  font-weight: 700;
  font-size: var(--cx-fs-banner);
  line-height: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cx-gold-text);
  text-shadow: 0 1px 0 #000, 0 0 6px rgba(0, 0, 0, 0.8), 0 0 14px rgba(255, 140, 50, 0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.codex-banner--verdigris { border-image-source: var(--cx-orn-ribbon-verdigris); color: #e9efe6; }
.codex-banner--lapis { border-image-source: var(--cx-orn-ribbon-lapis); color: #e6ecf5; }
.codex-banner--ink { border-image-source: var(--cx-orn-ribbon-ink); color: var(--cx-text); }
/* stitched leather strap — headings on parchment (Codex chapters), the login tagline */
.codex-banner--scroll {
  padding-top: 9px;
  border-image-source: var(--cx-orn-ribbon-leather);
  font-weight: 700;
  color: #efe2c4;
  text-shadow: 0 1px 0 #000, 0 0 4px rgba(0, 0, 0, 0.7);
}
.codex-banner--sm { height: 36px; padding: 6px 8px 0; line-height: 20px; font-size: max(var(--cx-fs-sc-min), calc(var(--cx-fs-banner) - 4px)); border-width: 0 31px; border-image-width: 0 31px; min-width: 100px; }
.codex-banner--lg { height: 66px; padding: 14px 22px 0; line-height: 34px; font-size: calc(var(--cx-fs-banner) + 11px); letter-spacing: 0.14em; border-width: 0 57px; border-image-width: 0 57px; }
body.sq-compact .codex-banner { height: 36px; padding: 6px 8px 0; line-height: 20px; border-width: 0 31px; border-image-width: 0 31px; min-width: 100px; }
/* crest riding the plate's top edge:  <span class="ei-crest"></span> placed just above a banner, or on any frame edge */
.ei-crest { display: inline-block; width: 40px; height: 14px; background: var(--cx-orn-crest) center / 100% 100% no-repeat; pointer-events: none; }

/* =====================================================================================================
 * BUTTONS — .codex-btn = IRON plate · --primary = BRONZE plate · --danger = OXBLOOD in iron · --ghost
 * Plates are 9-slice SVGs (border-image), so chamfers, bevels and grooves keep their size at any width.
 * New names: .ei-btn-iron (= .codex-btn), .ei-btn-bronze (= .codex-btn.codex-btn--primary), .ei-btn-plate (the big
 * carved ENTER WORLD plate).
 * ===================================================================================================== */
.codex-btn, .ei-btn-iron, .ei-btn-bronze {
  --_plate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%238a929c'/%3E%3Cstop offset='0.3' stop-color='%23454b53'/%3E%3Cstop offset='0.7' stop-color='%2324272c'/%3E%3Cstop offset='1' stop-color='%23101114'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='33'%3E%3Cstop offset='0' stop-color='%2333373d'/%3E%3Cstop offset='0.18' stop-color='%23272a2f'/%3E%3Cstop offset='0.6' stop-color='%231b1d21'/%3E%3Cstop offset='1' stop-color='%23111316'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7,0.6 L153,0.6 L159.4,7 L159.4,29 L153,35.4 L7,35.4 L0.6,29 L0.6,7 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M7.5,1.6 L152.5,1.6' stroke='%23fff' stroke-opacity='.28' stroke-width='.9'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.9' stroke-width='1'/%3E%3Cpath d='M9.4,5.2 L150.6,5.2 L154,9 L6,9 Z' fill='%23fff' opacity='0.05'/%3E%3Cpath d='M9.6,6.2 L150.4,6.2 L153.8,9.6 L153.8,26.4 L150.4,29.8 L9.6,29.8 L6.2,26.4 L6.2,9.6 Z' fill='none' stroke='%23b07a3c' stroke-opacity='0.55' stroke-width='.8'/%3E%3Cpath d='M9,4.6 L151,4.6' stroke='%23000' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  --_plate-hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%23b0b8c2'/%3E%3Cstop offset='0.3' stop-color='%235d646d'/%3E%3Cstop offset='0.7' stop-color='%232e3238'/%3E%3Cstop offset='1' stop-color='%2314161a'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='33'%3E%3Cstop offset='0' stop-color='%23363a41'/%3E%3Cstop offset='0.55' stop-color='%2325282d'/%3E%3Cstop offset='1' stop-color='%2317191c'/%3E%3C/linearGradient%3E%3CradialGradient id='gl' cx='.5' cy='1.15' r='.85' %3E%3Cstop offset='0' stop-color='%23ff9a3d' stop-opacity='0.55'/%3E%3Cstop offset='0.55' stop-color='%23ff7a20' stop-opacity='0.16'/%3E%3Cstop offset='1' stop-color='%23ff7a20' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M7,0.6 L153,0.6 L159.4,7 L159.4,29 L153,35.4 L7,35.4 L0.6,29 L0.6,7 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M7.5,1.6 L152.5,1.6' stroke='%23fff' stroke-opacity='.28' stroke-width='.9'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.9' stroke-width='1'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23gl)'/%3E%3Cpath d='M9.6,6.2 L150.4,6.2 L153.8,9.6 L153.8,26.4 L150.4,29.8 L9.6,29.8 L6.2,26.4 L6.2,9.6 Z' fill='none' stroke='%23e0a454' stroke-opacity='0.85' stroke-width='.8'/%3E%3Cpath d='M9,4.6 L151,4.6' stroke='%23000' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  --_plate-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%231a1c20'/%3E%3Cstop offset='0.5' stop-color='%233a3f46'/%3E%3Cstop offset='1' stop-color='%236a717a'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='33'%3E%3Cstop offset='0' stop-color='%230e1012'/%3E%3Cstop offset='0.5' stop-color='%231a1d21'/%3E%3Cstop offset='1' stop-color='%2324272c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7,0.6 L153,0.6 L159.4,7 L159.4,29 L153,35.4 L7,35.4 L0.6,29 L0.6,7 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M7.5,1.6 L152.5,1.6' stroke='%23fff' stroke-opacity='.28' stroke-width='.9'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.9' stroke-width='1'/%3E%3Cpath d='M9.6,6.2 L150.4,6.2 L153.8,9.6 L153.8,26.4 L150.4,29.8 L9.6,29.8 L6.2,26.4 L6.2,9.6 Z' fill='none' stroke='%23b07a3c' stroke-opacity='0.45' stroke-width='.8'/%3E%3Cpath d='M9,4.6 L151,4.6' stroke='%23000' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  --_edge: 9px;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  box-sizing: border-box;
  min-height: var(--cx-btn-h);
  margin: 0;
  padding: 2px 1.3em 0;
  font-family: var(--cx-font-label);
  font-weight: 700;
  font-size: var(--cx-fs-btn);
  line-height: 1;
  letter-spacing: 0.07em;
  color: var(--cx-text);
  text-shadow: 0 1px 0 #000, 0 0 4px rgba(0, 0, 0, 0.8);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  background: none;
  border: 0 solid transparent;
  border-radius: 0;
  border-image-source: var(--_plate);
  border-image-slice: 12 fill;
  border-image-width: var(--_edge);
  border-image-repeat: stretch;
  box-shadow: none;
  transition: color var(--cx-dur-quick) var(--cx-ease);
}
.codex-btn::after, .ei-btn-iron::after, .ei-btn-bronze::after { content: none; }
.codex-btn:hover, .codex-btn.is-hover, .ei-btn-iron:hover, .ei-btn-bronze:hover { border-image-source: var(--_plate-hot); color: var(--cx-gold-leaf); }
.codex-btn:active, .codex-btn.is-pressed, .ei-btn-iron:active, .ei-btn-bronze:active { border-image-source: var(--_plate-down); transform: translateY(1px); }
.codex-btn:focus, .ei-btn-iron:focus, .ei-btn-bronze:focus { outline: none; }
.codex-btn:focus-visible, .codex-btn.is-focus, .ei-btn-iron:focus-visible, .ei-btn-bronze:focus-visible {
  border-image-source: var(--_plate-hot);
  outline: none;
  /* an ember glow that follows the chamfered plate (static filter, only on the focused element) */
  filter: drop-shadow(0 0 1px #000) drop-shadow(0 0 2px var(--cx-torch)) drop-shadow(0 0 7px rgba(255, 120, 40, 0.7));
}
.codex-btn:disabled, .codex-btn.is-disabled, .codex-btn[aria-disabled='true'],
.ei-btn-iron:disabled, .ei-btn-bronze:disabled {
  cursor: default;
  transform: none;
  color: var(--cx-text-faint);
  text-shadow: 0 1px 0 #000;
  border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%234a4d52'/%3E%3Cstop offset='0.5' stop-color='%232a2c30'/%3E%3Cstop offset='1' stop-color='%23141517'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='33'%3E%3Cstop offset='0' stop-color='%231d1f22'/%3E%3Cstop offset='1' stop-color='%23141517'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7,0.6 L153,0.6 L159.4,7 L159.4,29 L153,35.4 L7,35.4 L0.6,29 L0.6,7 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M7.5,1.6 L152.5,1.6' stroke='%23fff' stroke-opacity='.28' stroke-width='.9'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.9' stroke-width='1'/%3E%3Cpath d='M9.6,6.2 L150.4,6.2 L153.8,9.6 L153.8,26.4 L150.4,29.8 L9.6,29.8 L6.2,26.4 L6.2,9.6 Z' fill='none' stroke='%236a6660' stroke-opacity='0.3' stroke-width='.8'/%3E%3Cpath d='M9,4.6 L151,4.6' stroke='%23000' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
}

/* bronze plate — the ONE main action of a screen or dialog ("Enter World", "Ride", "Accept") */
.codex-btn--primary, .ei-btn-bronze {
  --_plate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%23ffe4a6'/%3E%3Cstop offset='0.2' stop-color='%23d49a50'/%3E%3Cstop offset='0.55' stop-color='%238a5a28'/%3E%3Cstop offset='1' stop-color='%233a240e'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='33'%3E%3Cstop offset='0' stop-color='%23a8783e'/%3E%3Cstop offset='0.16' stop-color='%2380552a'/%3E%3Cstop offset='0.5' stop-color='%235a3a18'/%3E%3Cstop offset='0.86' stop-color='%233a240e'/%3E%3Cstop offset='1' stop-color='%232a1a09'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7,0.6 L153,0.6 L159.4,7 L159.4,29 L153,35.4 L7,35.4 L0.6,29 L0.6,7 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M7.5,1.6 L152.5,1.6' stroke='%23fff' stroke-opacity='.28' stroke-width='.9'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.9' stroke-width='1'/%3E%3Cpath d='M9.4,5.2 L150.6,5.2 L154,9 L6,9 Z' fill='%23fff' opacity='0.11'/%3E%3Cpath d='M9.6,6.2 L150.4,6.2 L153.8,9.6 L153.8,26.4 L150.4,29.8 L9.6,29.8 L6.2,26.4 L6.2,9.6 Z' fill='none' stroke='%23f0c27a' stroke-opacity='0.5' stroke-width='.8'/%3E%3Cpath d='M9,4.6 L151,4.6' stroke='%23000' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  --_plate-hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%23fff0c4'/%3E%3Cstop offset='0.2' stop-color='%23eab066'/%3E%3Cstop offset='0.55' stop-color='%23a06a32'/%3E%3Cstop offset='1' stop-color='%234a2e12'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='33'%3E%3Cstop offset='0' stop-color='%23bf8a46'/%3E%3Cstop offset='0.16' stop-color='%2394622e'/%3E%3Cstop offset='0.5' stop-color='%236a4520'/%3E%3Cstop offset='0.86' stop-color='%2345290f'/%3E%3Cstop offset='1' stop-color='%232e1b09'/%3E%3C/linearGradient%3E%3CradialGradient id='gl' cx='.5' cy='1.15' r='.85' %3E%3Cstop offset='0' stop-color='%23ff9a3d' stop-opacity='0.55'/%3E%3Cstop offset='0.55' stop-color='%23ff7a20' stop-opacity='0.16'/%3E%3Cstop offset='1' stop-color='%23ff7a20' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M7,0.6 L153,0.6 L159.4,7 L159.4,29 L153,35.4 L7,35.4 L0.6,29 L0.6,7 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M7.5,1.6 L152.5,1.6' stroke='%23fff' stroke-opacity='.28' stroke-width='.9'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.9' stroke-width='1'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23gl)'/%3E%3Cpath d='M9.4,5.2 L150.6,5.2 L154,9 L6,9 Z' fill='%23fff' opacity='0.15'/%3E%3Cpath d='M9.6,6.2 L150.4,6.2 L153.8,9.6 L153.8,26.4 L150.4,29.8 L9.6,29.8 L6.2,26.4 L6.2,9.6 Z' fill='none' stroke='%23ffd28a' stroke-opacity='0.75' stroke-width='.8'/%3E%3Cpath d='M9,4.6 L151,4.6' stroke='%23000' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  --_plate-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%236e4a22'/%3E%3Cstop offset='0.5' stop-color='%239a6a34'/%3E%3Cstop offset='1' stop-color='%23c99050'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='33'%3E%3Cstop offset='0' stop-color='%2326170a'/%3E%3Cstop offset='0.5' stop-color='%234a2f15'/%3E%3Cstop offset='1' stop-color='%236a4520'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7,0.6 L153,0.6 L159.4,7 L159.4,29 L153,35.4 L7,35.4 L0.6,29 L0.6,7 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M7.5,1.6 L152.5,1.6' stroke='%23fff' stroke-opacity='.28' stroke-width='.9'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.9' stroke-width='1'/%3E%3Cpath d='M9.6,6.2 L150.4,6.2 L153.8,9.6 L153.8,26.4 L150.4,29.8 L9.6,29.8 L6.2,26.4 L6.2,9.6 Z' fill='none' stroke='%23c99050' stroke-opacity='0.35' stroke-width='.8'/%3E%3Cpath d='M9,4.6 L151,4.6' stroke='%23000' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  color: #f7e3b2;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75), 0 1px 0 rgba(255, 214, 150, 0.18), 0 0 8px rgba(0, 0, 0, 0.5);
}
.codex-btn--primary:hover, .codex-btn--primary.is-hover, .ei-btn-bronze:hover { color: #fff3d2; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75), 0 0 10px rgba(255, 150, 60, 0.55); }
.codex-btn--primary:disabled, .codex-btn--primary.is-disabled { color: rgba(235, 228, 214, 0.42); }

/* oxblood enamel in iron — destructive or irreversible ("Delete", "Abandon") */
.codex-btn--danger {
  --_plate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%238f969f'/%3E%3Cstop offset='0.3' stop-color='%234a5058'/%3E%3Cstop offset='0.7' stop-color='%2325282d'/%3E%3Cstop offset='1' stop-color='%23101114'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='33'%3E%3Cstop offset='0' stop-color='%237c2216'/%3E%3Cstop offset='0.5' stop-color='%235a160e'/%3E%3Cstop offset='1' stop-color='%23330a06'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7,0.6 L153,0.6 L159.4,7 L159.4,29 L153,35.4 L7,35.4 L0.6,29 L0.6,7 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M7.5,1.6 L152.5,1.6' stroke='%23fff' stroke-opacity='.28' stroke-width='.9'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.9' stroke-width='1'/%3E%3Cpath d='M9.6,6.2 L150.4,6.2 L153.8,9.6 L153.8,26.4 L150.4,29.8 L9.6,29.8 L6.2,26.4 L6.2,9.6 Z' fill='none' stroke='%23e8a17a' stroke-opacity='0.5' stroke-width='.8'/%3E%3Cpath d='M9,4.6 L151,4.6' stroke='%23000' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  --_plate-hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%23c0c7d0'/%3E%3Cstop offset='0.3' stop-color='%235d646d'/%3E%3Cstop offset='0.7' stop-color='%232e3238'/%3E%3Cstop offset='1' stop-color='%2314161a'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='33'%3E%3Cstop offset='0' stop-color='%239a2c1c'/%3E%3Cstop offset='0.5' stop-color='%236e1c12'/%3E%3Cstop offset='1' stop-color='%233e0c07'/%3E%3C/linearGradient%3E%3CradialGradient id='gl' cx='.5' cy='1.15' r='.85' %3E%3Cstop offset='0' stop-color='%23ff9a3d' stop-opacity='0.55'/%3E%3Cstop offset='0.55' stop-color='%23ff7a20' stop-opacity='0.16'/%3E%3Cstop offset='1' stop-color='%23ff7a20' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M7,0.6 L153,0.6 L159.4,7 L159.4,29 L153,35.4 L7,35.4 L0.6,29 L0.6,7 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M7.5,1.6 L152.5,1.6' stroke='%23fff' stroke-opacity='.28' stroke-width='.9'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.9' stroke-width='1'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23gl)'/%3E%3Cpath d='M9.6,6.2 L150.4,6.2 L153.8,9.6 L153.8,26.4 L150.4,29.8 L9.6,29.8 L6.2,26.4 L6.2,9.6 Z' fill='none' stroke='%23ffb38a' stroke-opacity='0.75' stroke-width='.8'/%3E%3Cpath d='M9,4.6 L151,4.6' stroke='%23000' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  --_plate-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='36'%3E%3Cstop offset='0' stop-color='%231a1c20'/%3E%3Cstop offset='0.5' stop-color='%233a3f46'/%3E%3Cstop offset='1' stop-color='%236a717a'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='3' x2='0' y2='33'%3E%3Cstop offset='0' stop-color='%230e1012'/%3E%3Cstop offset='0.5' stop-color='%231a1d21'/%3E%3Cstop offset='1' stop-color='%2324272c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7,0.6 L153,0.6 L159.4,7 L159.4,29 L153,35.4 L7,35.4 L0.6,29 L0.6,7 Z' fill='url(%23rm)' stroke='%23050403' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M7.5,1.6 L152.5,1.6' stroke='%23fff' stroke-opacity='.28' stroke-width='.9'/%3E%3Cpath d='M8.5,3.6 L151.5,3.6 L156.4,8.5 L156.4,27.5 L151.5,32.4 L8.5,32.4 L3.6,27.5 L3.6,8.5 Z' fill='url(%23fc)' stroke='%23000' stroke-opacity='.9' stroke-width='1'/%3E%3Cpath d='M9.6,6.2 L150.4,6.2 L153.8,9.6 L153.8,26.4 L150.4,29.8 L9.6,29.8 L6.2,26.4 L6.2,9.6 Z' fill='none' stroke='%23b07a3c' stroke-opacity='0.45' stroke-width='.8'/%3E%3Cpath d='M9,4.6 L151,4.6' stroke='%23000' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  color: #f6e6d8;
}
.codex-btn--danger:hover, .codex-btn--danger.is-hover { color: #fff4ea; }

/* ghost — tertiary text action ("Credits", "Back"): no plate; an ember underline on hover */
.codex-btn--ghost {
  border-image-source: none;
  color: var(--cx-text-dim);
}
.codex-btn--ghost:hover, .codex-btn--ghost.is-hover, .codex-btn--ghost:focus-visible { border-image-source: none; color: var(--cx-gold-leaf); }
.codex-btn--ghost:active { border-image-source: none; }
.codex-btn--ghost::after {
  content: '';
  position: absolute;
  left: 1em; right: 1em; bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 138, 61, 0), rgba(255, 138, 61, 0.85), rgba(255, 138, 61, 0));
  opacity: 0;
  transition: opacity var(--cx-dur-quick) var(--cx-ease);
}
.codex-btn--ghost:hover::after, .codex-btn--ghost.is-hover::after, .codex-btn--ghost:focus-visible::after { opacity: 1; }
.codex-btn--ghost:disabled { border-image-source: none; }
:is(.codex-vellum, .codex-ruled) .codex-btn--ghost { color: var(--cx-ink-rubric); text-shadow: none; }

.codex-btn--lg { --_edge: 12px; min-height: var(--cx-btn-h-lg); padding: 3px 1.7em 0; font-size: var(--cx-fs-btn-lg); letter-spacing: 0.12em; text-transform: uppercase; }
.codex-btn--sm { --_edge: 7px; min-height: var(--cx-btn-h-sm); padding: 1px 0.9em 0; font-size: max(var(--cx-fs-sc-min), calc(var(--cx-fs-btn) - 2px)); letter-spacing: 0.06em; }
.codex-btn--block { display: flex; width: 100%; }
.codex-btn--icon { width: var(--cx-btn-h); padding: 0; }
.codex-btn--icon.codex-btn--sm { width: var(--cx-btn-h-sm); }

/* the big carved plate — "ENTER WORLD", "CREATE CHAMPION": pointed ends, spikes, rivets, an ember glow from below.
   Also what `.codex-btn--primary.codex-btn--lg` becomes. */
.ei-btn-plate, .codex-btn--primary.codex-btn--lg {
  --_plate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='64' viewBox='0 0 320 64'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='60'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='10' x2='0' y2='54'%3E%3Cstop offset='0' stop-color='%238a5d2c'/%3E%3Cstop offset='0.45' stop-color='%23583818'/%3E%3Cstop offset='1' stop-color='%232a1a09'/%3E%3C/linearGradient%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='64'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3CradialGradient id='gl' cx='.5' cy='1.1' r='.7' %3E%3Cstop offset='0' stop-color='%23ff9a3d' stop-opacity='0.22'/%3E%3Cstop offset='0.6' stop-color='%23ff7a20' stop-opacity='0.05'/%3E%3Cstop offset='1' stop-color='%23ff7a20' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.3' numOctaves='2' seed='21' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M34,6 L39,0.5 L44,6 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M276,6 L281,0.5 L286,6 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M34,58 L39,63.5 L44,58 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M276,58 L281,63.5 L286,58 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M26,6 L294,6 L318,32 L294,58 L26,58 L2,32 Z' fill='url(%23rm)' stroke='%23050302' stroke-width='1.3' stroke-linejoin='round' filter='url(%23bv)'/%3E%3Cpath d='M28,10.5 L292,10.5 L312,32 L292,53.5 L28,53.5 L8,32 Z' fill='url(%23fc)' stroke='%23000' stroke-width='1.2'/%3E%3Cpath d='M28,10.5 L292,10.5 L312,32 L292,53.5 L28,53.5 L8,32 Z' fill='url(%23gl)'/%3E%3Cpath d='M30,14 L290,14 L307.5,32 L290,50 L30,50 L12.5,32 Z' fill='none' stroke='%23e2b56a' stroke-opacity='0.5' stroke-width='1'/%3E%3Cpath d='M30,12 L290,12' stroke='%23000' stroke-opacity='.55' stroke-width='1.2'/%3E%3Ccircle cx='20.8' cy='33.12' r='3.36' fill='%23000' opacity='.55'/%3E%3Ccircle cx='20' cy='32' r='3.2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.58'/%3E%3Ccircle cx='18.98' cy='30.85' r='1.02' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='300.8' cy='33.12' r='3.36' fill='%23000' opacity='.55'/%3E%3Ccircle cx='300' cy='32' r='3.2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.58'/%3E%3Ccircle cx='298.98' cy='30.85' r='1.02' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --_plate-hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='64' viewBox='0 0 320 64'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='60'%3E%3Cstop offset='0' stop-color='%23ffe2a6'/%3E%3Cstop offset='0.2' stop-color='%23e3a656'/%3E%3Cstop offset='0.55' stop-color='%239a6630'/%3E%3Cstop offset='1' stop-color='%233e250d'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='10' x2='0' y2='54'%3E%3Cstop offset='0' stop-color='%23a8702f'/%3E%3Cstop offset='0.45' stop-color='%236c4419'/%3E%3Cstop offset='1' stop-color='%2333200b'/%3E%3C/linearGradient%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='64'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3CradialGradient id='gl' cx='.5' cy='1.1' r='.7' %3E%3Cstop offset='0' stop-color='%23ff9a3d' stop-opacity='0.6'/%3E%3Cstop offset='0.6' stop-color='%23ff7a20' stop-opacity='0.18'/%3E%3Cstop offset='1' stop-color='%23ff7a20' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.3' numOctaves='2' seed='21' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M34,6 L39,0.5 L44,6 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M276,6 L281,0.5 L286,6 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M34,58 L39,63.5 L44,58 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M276,58 L281,63.5 L286,58 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M26,6 L294,6 L318,32 L294,58 L26,58 L2,32 Z' fill='url(%23rm)' stroke='%23050302' stroke-width='1.3' stroke-linejoin='round' filter='url(%23bv)'/%3E%3Cpath d='M28,10.5 L292,10.5 L312,32 L292,53.5 L28,53.5 L8,32 Z' fill='url(%23fc)' stroke='%23000' stroke-width='1.2'/%3E%3Cpath d='M28,10.5 L292,10.5 L312,32 L292,53.5 L28,53.5 L8,32 Z' fill='url(%23gl)'/%3E%3Cpath d='M30,14 L290,14 L307.5,32 L290,50 L30,50 L12.5,32 Z' fill='none' stroke='%23ffd08a' stroke-opacity='0.75' stroke-width='1'/%3E%3Cpath d='M30,12 L290,12' stroke='%23000' stroke-opacity='.55' stroke-width='1.2'/%3E%3Ccircle cx='20.8' cy='33.12' r='3.36' fill='%23000' opacity='.55'/%3E%3Ccircle cx='20' cy='32' r='3.2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.58'/%3E%3Ccircle cx='18.98' cy='30.85' r='1.02' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='300.8' cy='33.12' r='3.36' fill='%23000' opacity='.55'/%3E%3Ccircle cx='300' cy='32' r='3.2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.58'/%3E%3Ccircle cx='298.98' cy='30.85' r='1.02' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --_plate-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='64' viewBox='0 0 320 64'%3E%3Cdefs%3E%3ClinearGradient id='rm' gradientUnits='userSpaceOnUse' x1='0' y1='4' x2='0' y2='60'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3ClinearGradient id='fc' gradientUnits='userSpaceOnUse' x1='0' y1='10' x2='0' y2='54'%3E%3Cstop offset='0' stop-color='%238a5d2c'/%3E%3Cstop offset='0.45' stop-color='%23583818'/%3E%3Cstop offset='1' stop-color='%232a1a09'/%3E%3C/linearGradient%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='64'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3CradialGradient id='gl' cx='.5' cy='1.1' r='.7' %3E%3Cstop offset='0' stop-color='%23ff9a3d' stop-opacity='0.22'/%3E%3Cstop offset='0.6' stop-color='%23ff7a20' stop-opacity='0.05'/%3E%3Cstop offset='1' stop-color='%23ff7a20' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.3' numOctaves='2' seed='21' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M34,6 L39,0.5 L44,6 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M276,6 L281,0.5 L286,6 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M34,58 L39,63.5 L44,58 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M276,58 L281,63.5 L286,58 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.9'/%3E%3Cpath d='M26,6 L294,6 L318,32 L294,58 L26,58 L2,32 Z' fill='url(%23rm)' stroke='%23050302' stroke-width='1.3' stroke-linejoin='round' filter='url(%23bv)'/%3E%3Cpath d='M28,10.5 L292,10.5 L312,32 L292,53.5 L28,53.5 L8,32 Z' fill='url(%23fc)' stroke='%23000' stroke-width='1.2'/%3E%3Cpath d='M28,10.5 L292,10.5 L312,32 L292,53.5 L28,53.5 L8,32 Z' fill='url(%23gl)'/%3E%3Cpath d='M30,14 L290,14 L307.5,32 L290,50 L30,50 L12.5,32 Z' fill='none' stroke='%23e2b56a' stroke-opacity='0.5' stroke-width='1'/%3E%3Cpath d='M30,12 L290,12' stroke='%23000' stroke-opacity='.55' stroke-width='1.2'/%3E%3Ccircle cx='20.8' cy='33.12' r='3.36' fill='%23000' opacity='.55'/%3E%3Ccircle cx='20' cy='32' r='3.2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.58'/%3E%3Ccircle cx='18.98' cy='30.85' r='1.02' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='300.8' cy='33.12' r='3.36' fill='%23000' opacity='.55'/%3E%3Ccircle cx='300' cy='32' r='3.2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.58'/%3E%3Ccircle cx='298.98' cy='30.85' r='1.02' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E");
  --_end: calc(var(--_h) * 0.69);
  --_h: 64px;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: calc(var(--_h) * 4.2);
  height: var(--_h);
  min-height: 0;
  margin: 0;
  padding: 1px calc(var(--_end) + 0.4em) 0;
  border: 0 solid transparent;
  border-image-source: var(--_plate);
  border-image-slice: 0 44 fill;
  border-image-width: 0 var(--_end);
  border-image-repeat: stretch;
  background: none;
  font: 700 calc(var(--_h) * 0.34)/1 var(--cx-font-title);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #f9e7bb;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 214, 150, 0.16), 0 0 12px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.codex-btn--primary.codex-btn--lg { --_h: var(--cx-btn-h-lg); }
.ei-btn-plate::after, .codex-btn--primary.codex-btn--lg::after {
  /* a pool of firelight under the plate: shown on hover/focus (opacity only) */
  content: '';
  position: absolute;
  left: 12%; right: 12%; top: 70%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 130, 40, 0.45), rgba(255, 110, 30, 0) 70%);
  opacity: 0;
  transition: opacity var(--cx-dur-calm) var(--cx-ease);
  pointer-events: none;
}
.ei-btn-plate:hover, .ei-btn-plate:focus-visible, .ei-btn-plate.is-hover,
.codex-btn--primary.codex-btn--lg:hover, .codex-btn--primary.codex-btn--lg:focus-visible {
  border-image-source: var(--_plate-hot);
  color: #fff4d6;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8), 0 0 14px rgba(255, 150, 60, 0.6);
  outline: none;
}
.ei-btn-plate:hover::after, .ei-btn-plate:focus-visible::after, .ei-btn-plate.is-hover::after,
.codex-btn--primary.codex-btn--lg:hover::after, .codex-btn--primary.codex-btn--lg:focus-visible::after { opacity: 1; }
.ei-btn-plate:focus-visible, .codex-btn--primary.codex-btn--lg:focus-visible { box-shadow: 0 0 0 0 transparent; }
.ei-btn-plate:focus-visible::before, .codex-btn--primary.codex-btn--lg:focus-visible::before {
  /* keyboard focus: an ember underline under the carved letters (the plate is not rectangular, so no box ring) */
  content: '';
  position: absolute;
  left: calc(var(--_end) + 0.2em); right: calc(var(--_end) + 0.2em); bottom: 22%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 138, 61, 0), var(--cx-torch) 20%, var(--cx-candle) 50%, var(--cx-torch) 80%, rgba(255, 138, 61, 0));
}
.ei-btn-plate:active, .codex-btn--primary.codex-btn--lg:active { transform: translateY(1px); }
.ei-btn-plate:disabled, .ei-btn-plate.is-disabled { cursor: default; color: rgba(235, 228, 214, 0.42); filter: saturate(0.3) brightness(0.7); }
.ei-btn-plate--sm { --_h: 46px; }
body.sq-compact .ei-btn-plate { --_h: 42px; }

/* =====================================================================================================
 * ACTION SLOT & FORGED ACTION BAR
 * <button class="codex-action"><span class="codex-action__icon">…</span><b class="codex-action__key">F</b></button>
 * ===================================================================================================== */
.codex-action {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--cx-action);
  height: var(--cx-action);
  margin: 0;
  padding: 0;
  cursor: pointer;
  color: var(--cx-gold-text);
  background: radial-gradient(circle at 50% 38%, #22262b 0%, #101215 62%, #08090a 100%);
  border: 0 solid transparent;
  border-radius: 0;
  border-image: var(--cx-orn-socket) 10 fill / 7px / 0 stretch;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.codex-action__icon { display: grid; place-items: center; width: 70%; height: 70%; font-size: calc(var(--cx-action) * 0.46); line-height: 1; pointer-events: none; }
.codex-action__icon > svg, .codex-action__icon > canvas, .codex-action__icon > img { width: 100%; height: 100%; }
/* drawn icons — never emoji (a glyph from a font must carry U+FE0E, see DESIGN §12):  <span class="codex-action__icon cx-icon cx-icon--quill"></span> */
.cx-icon { display: inline-block; width: 1em; height: 1em; background: center / contain no-repeat; vertical-align: -0.15em; }
.codex-action__icon.cx-icon { width: 64%; height: 64%; }
.cx-icon--sword { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='bn' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23fbf6ea'/%3E%3Cstop offset='0.6' stop-color='%23d9d0bf'/%3E%3Cstop offset='1' stop-color='%239c9384'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3ClinearGradient id='st' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23eef2f6'/%3E%3Cstop offset='0.5' stop-color='%23a9b2bd'/%3E%3Cstop offset='1' stop-color='%235c646e'/%3E%3C/linearGradient%3E%3ClinearGradient id='em' gradientUnits='userSpaceOnUse' x1='0' y1='10' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23ffd28a'/%3E%3Cstop offset='0.5' stop-color='%23f08a2c'/%3E%3Cstop offset='1' stop-color='%23a8400e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M20.5,2 L22,3.5 L11,14.5 L9.5,13 Z' fill='url(%23st)' stroke='%230c0d10' stroke-width='.9' stroke-linejoin='round'/%3E%3Cpath d='M21,2.8 L10.2,13.6' stroke='%23fff' stroke-opacity='.5' stroke-width='.5'/%3E%3Cpath d='M6.4,12.2 L8,10.6 L13.4,16 L11.8,17.6 Z' fill='url(%23bz)' stroke='%23140a03' stroke-width='.9'/%3E%3Cpath d='M9.6,15.4 L5.4,19.6' stroke='%23140a03' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M9.6,15.4 L5.4,19.6' stroke='%235a3a1c' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='4.2' cy='20.8' r='2' fill='url(%23bz)' stroke='%23140a03' stroke-width='.8'/%3E%3C/svg%3E"); }
.cx-icon--quill { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='bn' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23fbf6ea'/%3E%3Cstop offset='0.6' stop-color='%23d9d0bf'/%3E%3Cstop offset='1' stop-color='%239c9384'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3ClinearGradient id='st' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23eef2f6'/%3E%3Cstop offset='0.5' stop-color='%23a9b2bd'/%3E%3Cstop offset='1' stop-color='%235c646e'/%3E%3C/linearGradient%3E%3ClinearGradient id='em' gradientUnits='userSpaceOnUse' x1='0' y1='10' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23ffd28a'/%3E%3Cstop offset='0.5' stop-color='%23f08a2c'/%3E%3Cstop offset='1' stop-color='%23a8400e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M21.4,1.9 C14.3,3.4 7.9,9.4 5.6,17.6 L7.4,18.9 C14.6,16.5 19.9,10.5 21.4,1.9 Z' fill='url(%23bn)' stroke='%2314100c' stroke-width='.8'/%3E%3Cpath d='M20.2,3.4 C14.3,7.5 9.8,12.8 6.8,18' stroke='%235a5248' stroke-width='.7' fill='none'/%3E%3Cpath d='M5.6,17.6 L3.9,22.1 L7.4,18.9 Z' fill='url(%23bz)' stroke='%23140c04' stroke-width='.7'/%3E%3C/svg%3E"); }
.cx-icon--flask { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='bn' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23fbf6ea'/%3E%3Cstop offset='0.6' stop-color='%23d9d0bf'/%3E%3Cstop offset='1' stop-color='%239c9384'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3ClinearGradient id='st' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23eef2f6'/%3E%3Cstop offset='0.5' stop-color='%23a9b2bd'/%3E%3Cstop offset='1' stop-color='%235c646e'/%3E%3C/linearGradient%3E%3ClinearGradient id='em' gradientUnits='userSpaceOnUse' x1='0' y1='10' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23ffd28a'/%3E%3Cstop offset='0.5' stop-color='%23f08a2c'/%3E%3Cstop offset='1' stop-color='%23a8400e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M9.2,2.6 L14.8,2.6 L14.8,4.2 L14,4.2 L14,8.6 C17.8,9.8 20,12.9 20,16.4 C20,20 16.4,22.4 12,22.4 C7.6,22.4 4,20 4,16.4 C4,12.9 6.2,9.8 10,8.6 L10,4.2 L9.2,4.2 Z' fill='%231b1e23' stroke='%230a0b0d' stroke-width='1'/%3E%3Cpath d='M5.4,15 C7.5,14 10,15.6 12,15 C14.2,14.3 16.5,13.8 18.6,15 C18.9,19 16,21.2 12,21.2 C8,21.2 5.1,19.2 5.4,15 Z' fill='url(%23em)'/%3E%3Cpath d='M9.2,2.6 L14.8,2.6 L14.8,4.2 L14,4.2 L14,8.6 C17.8,9.8 20,12.9 20,16.4 C20,20 16.4,22.4 12,22.4 C7.6,22.4 4,20 4,16.4 C4,12.9 6.2,9.8 10,8.6 L10,4.2 L9.2,4.2 Z' fill='none' stroke='url(%23bn)' stroke-width='1.1'/%3E%3Ccircle cx='9' cy='17.2' r='1' fill='%23fff3cc'/%3E%3Ccircle cx='13.5' cy='18.6' r='.7' fill='%23fff3cc'/%3E%3C/svg%3E"); }
.cx-icon--moon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='bn' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23fbf6ea'/%3E%3Cstop offset='0.6' stop-color='%23d9d0bf'/%3E%3Cstop offset='1' stop-color='%239c9384'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3ClinearGradient id='st' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23eef2f6'/%3E%3Cstop offset='0.5' stop-color='%23a9b2bd'/%3E%3Cstop offset='1' stop-color='%235c646e'/%3E%3C/linearGradient%3E%3ClinearGradient id='em' gradientUnits='userSpaceOnUse' x1='0' y1='10' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23ffd28a'/%3E%3Cstop offset='0.5' stop-color='%23f08a2c'/%3E%3Cstop offset='1' stop-color='%23a8400e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M15.6,2.6 C10,3.6 6,8.4 6,13.6 C6,19.2 10.6,23 16.2,22.6 C12.9,20.9 10.9,17.4 10.9,13.2 C10.9,8.6 12.8,4.8 15.6,2.6 Z' fill='url(%23bn)' stroke='%230d1422' stroke-width='.9'/%3E%3Ccircle cx='18.4' cy='8' r='.9' fill='%23cfd9ea'/%3E%3Ccircle cx='20' cy='14' r='.7' fill='%23cfd9ea'/%3E%3C/svg%3E"); }
.cx-icon--hourglass { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='bn' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23fbf6ea'/%3E%3Cstop offset='0.6' stop-color='%23d9d0bf'/%3E%3Cstop offset='1' stop-color='%239c9384'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3ClinearGradient id='st' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23eef2f6'/%3E%3Cstop offset='0.5' stop-color='%23a9b2bd'/%3E%3Cstop offset='1' stop-color='%235c646e'/%3E%3C/linearGradient%3E%3ClinearGradient id='em' gradientUnits='userSpaceOnUse' x1='0' y1='10' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23ffd28a'/%3E%3Cstop offset='0.5' stop-color='%23f08a2c'/%3E%3Cstop offset='1' stop-color='%23a8400e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5,2 L19,2 L19,4 L5,4 Z M5,20 L19,20 L19,22 L5,22 Z' fill='url(%23bz)' stroke='%23140a03' stroke-width='.8'/%3E%3Cpath d='M7,4 L17,4 C17,8.5 13.4,10.4 13.4,12 C13.4,13.6 17,15.5 17,20 L7,20 C7,15.5 10.6,13.6 10.6,12 C10.6,10.4 7,8.5 7,4 Z' fill='%231b1e23' stroke='url(%23bn)' stroke-width='1.1'/%3E%3Cpath d='M9,7.2 L15,7.2 C14.4,9 12.6,10 12,11.4 C11.4,10 9.6,9 9,7.2 Z M8.4,19 C9,16.6 11,15.6 12,13.8 C13,15.6 15,16.6 15.6,19 Z' fill='url(%23em)'/%3E%3C/svg%3E"); }
.cx-icon--horseshoe { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='bn' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23fbf6ea'/%3E%3Cstop offset='0.6' stop-color='%23d9d0bf'/%3E%3Cstop offset='1' stop-color='%239c9384'/%3E%3C/linearGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3ClinearGradient id='st' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'%3E%3Cstop offset='0' stop-color='%23eef2f6'/%3E%3Cstop offset='0.5' stop-color='%23a9b2bd'/%3E%3Cstop offset='1' stop-color='%235c646e'/%3E%3C/linearGradient%3E%3ClinearGradient id='em' gradientUnits='userSpaceOnUse' x1='0' y1='10' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23ffd28a'/%3E%3Cstop offset='0.5' stop-color='%23f08a2c'/%3E%3Cstop offset='1' stop-color='%23a8400e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5,3 L9,3 L9,13 C9,15.2 10.4,16.6 12,16.6 C13.6,16.6 15,15.2 15,13 L15,3 L19,3 L19,13.4 C19,17.8 15.8,21.2 12,21.2 C8.2,21.2 5,17.8 5,13.4 Z' fill='url(%23st)' stroke='%230c0d10' stroke-width='.9'/%3E%3Ccircle cx='7' cy='6.4' r='.75' fill='%230c0d10'/%3E%3Ccircle cx='7' cy='10.4' r='.75' fill='%230c0d10'/%3E%3Ccircle cx='17' cy='6.4' r='.75' fill='%230c0d10'/%3E%3Ccircle cx='17' cy='10.4' r='.75' fill='%230c0d10'/%3E%3Ccircle cx='8.3' cy='16.4' r='.75' fill='%230c0d10'/%3E%3Ccircle cx='15.7' cy='16.4' r='.75' fill='%230c0d10'/%3E%3C/svg%3E"); }
.codex-action__key, .codex-action__count {
  position: absolute;
  font: 700 var(--cx-fs-micro)/1 var(--cx-font-num);
  color: var(--cx-text);
  text-shadow: 0 1px 0 #000, 0 0 2px #000, 0 0 3px #000;
  pointer-events: none;
}
.codex-action__key { top: 5px; right: 6px; }
.codex-action__count { bottom: 5px; right: 6px; color: #fff; }
.codex-action__cd {
  position: absolute;
  inset: 4px;
  background: conic-gradient(rgba(0, 0, 0, 0.72) calc(var(--cd, 0) * 360deg), rgba(0, 0, 0, 0) 0);
  pointer-events: none;
}
.codex-action:hover, .codex-action.is-hover { border-image-source: var(--cx-orn-socket-bronze); color: var(--cx-gold-leaf); }
.codex-action:active, .codex-action.is-pressed { border-image-source: var(--cx-orn-socket-ember); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.codex-action:active .codex-action__icon, .codex-action.is-pressed .codex-action__icon { transform: translateY(1px) scale(0.95); }
.codex-action.is-ready { border-image-source: var(--cx-orn-socket-ember); box-shadow: 0 0 10px rgba(255, 138, 61, 0.5), 0 2px 4px rgba(0, 0, 0, 0.6); }
.codex-action:disabled, .codex-action.is-disabled { cursor: default; color: var(--cx-text-faint); }
.codex-action:disabled .codex-action__icon, .codex-action.is-disabled .codex-action__icon { opacity: 0.38; filter: grayscale(1); }
.codex-action:focus { outline: none; }
.codex-action:focus-visible, .codex-action.is-focus { outline: none; border-image-source: var(--cx-orn-socket-ember); box-shadow: 0 0 0 1px #000, 0 0 10px rgba(255, 138, 61, 0.75); }

.codex-actionbar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid #000;
  border-radius: 2px;
  background: var(--cx-rivets-4), var(--cx-bg-iron);
  box-shadow: inset 0 1px 0 rgba(210, 220, 235, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.65), inset 0 0 0 3px rgba(0, 0, 0, 0.22),
    inset 0 0 0 4px rgba(176, 122, 60, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.5), 0 8px 18px rgba(0, 0, 0, 0.6);
}
.codex-actionbar::before, .codex-actionbar::after {
  /* end caps: a fanned pauldron of three riveted lames. Keep --cx-endcap-w free on each side of the bar. */
  content: '';
  position: absolute;
  bottom: -6px;
  width: var(--cx-endcap-w); height: var(--cx-endcap-h);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='65' viewBox='0 0 76 65'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.85' cy='.5' r='.9' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='76' y2='65'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3CradialGradient id='em' cx='.45' cy='.4' r='.6' %3E%3Cstop offset='0' stop-color='%23ffd59a'/%3E%3Cstop offset='0.4' stop-color='%23f07a28'/%3E%3Cstop offset='1' stop-color='%236a1e06'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.4' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='13' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='3' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='3' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='bv2' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.8' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='3' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.6'/%3E%3CfeOffset dx='-1' dy='2' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.75'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M75,12 L66,6 L54,0.5 L55.5,9.5 L44,10 L30,3.5 L35,15.5 L22,18.5 L6,15 L17,27 L13,36 L1,42 L16,46 L24,54 L40,57 L75,59 Z' fill='url(%23ir)' stroke='%23030304' stroke-width='1.1' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M72,40 L60.48,15.52' stroke='%23000' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M72.7,40.8 L61.18,16.32' stroke='%23c4ccd6' stroke-opacity='.14' stroke-width='.8' stroke-linecap='round'/%3E%3Cpath d='M72,40 L43.92,16.24' stroke='%23000' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M72.7,40.8 L44.62,17.04' stroke='%23c4ccd6' stroke-opacity='.14' stroke-width='.8' stroke-linecap='round'/%3E%3Cpath d='M72,40 L27.36,24.16' stroke='%23000' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M72.7,40.8 L28.06,24.96' stroke='%23c4ccd6' stroke-opacity='.14' stroke-width='.8' stroke-linecap='round'/%3E%3Cpath d='M72,40 L24.48,40.72' stroke='%23000' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M72.7,40.8 L25.18,41.52' stroke='%23c4ccd6' stroke-opacity='.14' stroke-width='.8' stroke-linecap='round'/%3E%3Cpath d='M62,30 L70,38 L62,46 L54,38 Z' fill='url(%23bz)' stroke='%23120a03' stroke-width='1' filter='url(%23bv2)'/%3E%3Cpath d='M62,33.4 L66.6,38 L62,42.6 L57.4,38 Z' fill='url(%23em)' stroke='%231a0a03' stroke-width='.7'/%3E%3Ccircle cx='60.8' cy='36.5' r='1' fill='%23fff1c8' opacity='.85'/%3E%3Ccircle cx='30.5' cy='49.7' r='2.1' fill='%23000' opacity='.55'/%3E%3Ccircle cx='30' cy='49' r='2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='29.36' cy='48.28' r='0.64' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='46.5' cy='51.7' r='2.1' fill='%23000' opacity='.55'/%3E%3Ccircle cx='46' cy='51' r='2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='45.36' cy='50.28' r='0.64' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='20.5' cy='37.7' r='2.1' fill='%23000' opacity='.55'/%3E%3Ccircle cx='20' cy='37' r='2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='19.36' cy='36.28' r='0.64' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.codex-actionbar::before { left: calc(var(--cx-endcap-w) * -0.93); }
.codex-actionbar::after { right: calc(var(--cx-endcap-w) * -0.93); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='65' viewBox='0 0 76 65'%3E%3Cdefs%3E%3CradialGradient id='ir' cx='.15' cy='.5' r='.9' %3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/radialGradient%3E%3ClinearGradient id='bz' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='76' y2='65'%3E%3Cstop offset='0' stop-color='%23f2c97a'/%3E%3Cstop offset='0.22' stop-color='%23c48a45'/%3E%3Cstop offset='0.55' stop-color='%2386592a'/%3E%3Cstop offset='1' stop-color='%233e2711'/%3E%3C/linearGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3CradialGradient id='em' cx='.45' cy='.4' r='.6' %3E%3Cstop offset='0' stop-color='%23ffd59a'/%3E%3Cstop offset='0.4' stop-color='%23f07a28'/%3E%3Cstop offset='1' stop-color='%236a1e06'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.4' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='13' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='3' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='3' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='bv2' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='0.8' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='3' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3Cfilter id='sh' x='-10%25' y='-10%25' width='125%25' height='125%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.6'/%3E%3CfeOffset dx='1' dy='2' result='o'/%3E%3CfeComponentTransfer in='o' result='s'%3E%3CfeFuncA type='linear' slope='0.75'/%3E%3C/feComponentTransfer%3E%3CfeMerge%3E%3CfeMergeNode in='s'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath d='M1,12 L10,6 L22,0.5 L20.5,9.5 L32,10 L46,3.5 L41,15.5 L54,18.5 L70,15 L59,27 L63,36 L75,42 L60,46 L52,54 L36,57 L1,59 Z' fill='url(%23ir)' stroke='%23030304' stroke-width='1.1' stroke-linejoin='round' filter='url(%23bv)'/%3E%3C/g%3E%3Cpath d='M4,40 L15.52,15.52' stroke='%23000' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M4.7,40.8 L16.22,16.32' stroke='%23c4ccd6' stroke-opacity='.14' stroke-width='.8' stroke-linecap='round'/%3E%3Cpath d='M4,40 L32.08,16.24' stroke='%23000' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M4.7,40.8 L32.78,17.04' stroke='%23c4ccd6' stroke-opacity='.14' stroke-width='.8' stroke-linecap='round'/%3E%3Cpath d='M4,40 L48.64,24.16' stroke='%23000' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M4.7,40.8 L49.34,24.96' stroke='%23c4ccd6' stroke-opacity='.14' stroke-width='.8' stroke-linecap='round'/%3E%3Cpath d='M4,40 L51.52,40.72' stroke='%23000' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M4.7,40.8 L52.22,41.52' stroke='%23c4ccd6' stroke-opacity='.14' stroke-width='.8' stroke-linecap='round'/%3E%3Cpath d='M14,30 L22,38 L14,46 L6,38 Z' fill='url(%23bz)' stroke='%23120a03' stroke-width='1' filter='url(%23bv2)'/%3E%3Cpath d='M14,33.4 L18.6,38 L14,42.6 L9.4,38 Z' fill='url(%23em)' stroke='%231a0a03' stroke-width='.7'/%3E%3Ccircle cx='12.8' cy='36.5' r='1' fill='%23fff1c8' opacity='.85'/%3E%3Ccircle cx='46.5' cy='49.7' r='2.1' fill='%23000' opacity='.55'/%3E%3Ccircle cx='46' cy='49' r='2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='45.36' cy='48.28' r='0.64' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='30.5' cy='51.7' r='2.1' fill='%23000' opacity='.55'/%3E%3Ccircle cx='30' cy='51' r='2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='29.36' cy='50.28' r='0.64' fill='%23fff3d0' opacity='.75'/%3E%3Ccircle cx='56.5' cy='37.7' r='2.1' fill='%23000' opacity='.55'/%3E%3Ccircle cx='56' cy='37' r='2' fill='url(%23rv)' stroke='%23140c04' stroke-width='0.5'/%3E%3Ccircle cx='55.36' cy='36.28' r='0.64' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E"); }
.codex-actionbar--plain::before, .codex-actionbar--plain::after { content: none; }
.codex-actionbar__sep { width: 3px; align-self: stretch; margin: -2px 3px; background: linear-gradient(90deg, #060607, #4a5058 50%, #060607); border-radius: 1px; }

/* =====================================================================================================
 * TABS (forged) & BOOKMARKS (leather straps with iron tips, hanging from the Codex)
 * ===================================================================================================== */
.codex-tabs {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 0 10px;
  border-bottom: 2px solid var(--cx-bronze-1);
  box-shadow: 0 1px 0 #000, inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}
.codex-tab {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  margin: 0 0 -2px;
  padding: 9px 15px 8px;
  font-family: var(--cx-font-label);
  font-weight: 700;
  font-size: max(var(--cx-fs-sc-min), var(--cx-fs-h3));
  line-height: 1;
  letter-spacing: 0.09em;
  color: var(--cx-text-dim);
  text-shadow: 0 1px 0 #000;
  background: linear-gradient(180deg, rgba(210, 220, 235, 0.1), rgba(210, 220, 235, 0) 2px), var(--cx-tex-iron), linear-gradient(180deg, #2a2e33, #15171a);
  border: 1px solid #000;
  border-bottom: 0;
  border-radius: var(--cx-r-3) var(--cx-r-3) 0 0;
  box-shadow: inset 0 0 0 1px rgba(176, 122, 60, 0.16);
  cursor: pointer;
}
.codex-tab:hover, .codex-tab.is-hover { color: var(--cx-text); }
.codex-tab.is-active, .codex-tab[aria-selected='true'] {
  padding-top: 12px;
  color: var(--cx-gold-leaf);
  background: radial-gradient(ellipse 80% 90% at 50% 120%, rgba(255, 130, 40, 0.28), rgba(255, 130, 40, 0) 70%), var(--cx-tex-iron), linear-gradient(180deg, #32363c, #1b1d21);
  box-shadow: inset 0 0 0 1px rgba(226, 181, 106, 0.55), inset 0 -2px 0 var(--cx-torch), inset 0 1px 0 rgba(255, 226, 170, 0.18);
  z-index: 1;
}
.codex-tab:focus { outline: none; }
.codex-tab:focus-visible { outline: 2px solid var(--cx-torch); outline-offset: -4px; }
:is(.codex-vellum, .codex-ruled) .codex-tabs { border-bottom-color: rgba(70, 45, 20, 0.7); box-shadow: none; }

.codex-bookmarks { display: flex; gap: 6px; align-items: flex-start; }
.codex-bookmark {
  --_rib: linear-gradient(90deg, #2c0c08, #6a1a12 45%, #2c0c08);
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 30px;
  height: 58px;
  margin: 0;
  padding: 8px 0 0;
  border: 0;
  font: 900 15px/1 var(--cx-font-initial);
  color: var(--cx-gold-leaf);
  text-shadow: 0 1px 0 #000;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) calc(100% - 14px), #6a717a calc(100% - 14px), #2a2e33 calc(100% - 8px), #0d0f11) ,
    repeating-linear-gradient(180deg, rgba(217, 195, 154, 0.25) 0 3px, rgba(0, 0, 0, 0) 3px 6px) left 3px top 0 / 1px calc(100% - 16px) no-repeat,
    repeating-linear-gradient(180deg, rgba(217, 195, 154, 0.25) 0 3px, rgba(0, 0, 0, 0) 3px 6px) right 3px top 0 / 1px calc(100% - 16px) no-repeat,
    var(--_rib);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px));
  cursor: pointer;
  transition: transform var(--cx-dur-calm) var(--cx-ease);
}
.codex-bookmark:hover { transform: translateY(4px); }
.codex-bookmark.is-active, .codex-bookmark[aria-selected='true'] { transform: translateY(10px); color: #fff0c8; text-shadow: 0 0 8px rgba(255, 140, 50, 0.8), 0 1px 0 #000; }
.codex-bookmark--lapis { --_rib: linear-gradient(90deg, #0b1322, #24395e 45%, #0b1322); }
.codex-bookmark--verdigris { --_rib: linear-gradient(90deg, #0b1816, #2c5048 45%, #0b1816); }
.codex-bookmark--gold { --_rib: linear-gradient(90deg, #3a240e, #8a5f2a 45%, #3a240e); }

/* =====================================================================================================
 * TOOLTIP — soot panel, bronze rim, iron corner caps
 * ===================================================================================================== */
.codex-tooltip {
  position: relative;
  box-sizing: border-box;
  max-width: 330px;
  padding: 10px 13px 11px;
  font: 400 var(--cx-fs-small)/1.42 var(--cx-font-body);
  color: var(--cx-text);
  background: var(--cx-caps), var(--cx-bg-ink);
  border: 1px solid #000;
  border-radius: var(--cx-r-1);
  box-shadow: inset 0 0 0 1px rgba(176, 122, 60, 0.7), inset 0 0 0 3px rgba(6, 7, 8, 0.92), inset 0 0 0 4px rgba(176, 122, 60, 0.18), 0 10px 26px rgba(0, 0, 0, 0.75);
}
.codex-tooltip__title { display: block; margin-bottom: 3px; font: 700 calc(var(--cx-fs-small) + 2px)/1.25 var(--cx-font-body); color: var(--cx-text); }
.codex-tooltip__meta { display: block; color: var(--cx-text-dim); }
.codex-tooltip__flavor { display: block; margin-top: 6px; font: italic 500 calc(var(--cx-fs-small) + 1px)/1.3 var(--cx-font-flavor); color: var(--cx-gold-3); }
.codex-tooltip__rule { display: block; height: 1px; margin: 7px 0; background: linear-gradient(90deg, rgba(176, 122, 60, 0), rgba(226, 181, 106, 0.6), rgba(176, 122, 60, 0)); }

/* =====================================================================================================
 * TOAST — a forged plaque with a medallion (calm: rises in, waits, fades — never stacks in the centre)
 * <div class="codex-toast"><i class="codex-seal"></i><b class="codex-toast__title">…</b><span class="codex-toast__text">…</span></div>
 * ===================================================================================================== */
.codex-toast {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: max-content;
  min-width: 250px;
  max-width: 420px;
  min-height: 60px;
  margin-left: calc(var(--cx-seal) / 2);
  padding: 9px 18px 10px calc(var(--cx-seal) / 2 + 14px);
  color: var(--cx-text);
  background: var(--cx-bg-smoke);
  border: 1px solid #000;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(176, 122, 60, 0.6), inset 0 0 0 3px rgba(0, 0, 0, 0.55), inset 0 -18px 26px -18px rgba(255, 120, 40, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.62), 0 1px 3px rgba(0, 0, 0, 0.7);
  animation: cx-rise var(--cx-dur-calm) var(--cx-ease) both;
}
.codex-toast > .codex-seal { position: absolute; left: calc(var(--cx-seal) / -2); top: 50%; margin-top: calc(var(--cx-seal) / -2); }
.codex-toast__title { display: block; font: 700 calc(var(--cx-fs-h2) - 4px)/1.2 var(--cx-font-head); letter-spacing: 0.05em; color: var(--cx-gold-text); text-shadow: var(--cx-sh-text-gold); }
.codex-toast__text { display: block; margin-top: 3px; font: 400 var(--cx-fs-small)/1.38 var(--cx-font-body); color: var(--cx-text-dim); }
.codex-toast--dark { background: var(--cx-bg-ink); box-shadow: inset 0 0 0 1px rgba(176, 122, 60, 0.5), inset 0 0 0 3px rgba(0, 0, 0, 0.6), 0 10px 22px rgba(0, 0, 0, 0.62); }
.codex-toast--dark .codex-toast__title { color: var(--cx-gold-text); }
.codex-toast--dark .codex-toast__text { color: var(--cx-text-dim); }
.codex-toast.is-leaving { animation: cx-sink var(--cx-dur-calm) var(--cx-ease-in) both; }

/* medallion (legacy name: seal) */
.codex-seal { display: inline-block; flex: none; width: var(--cx-seal); height: var(--cx-seal); background: var(--cx-orn-seal) center / 100% 100% no-repeat; }
.codex-seal--gold { background-image: var(--cx-orn-seal-gold); }
.codex-seal--lapis { background-image: var(--cx-orn-seal-lapis); }
.codex-seal--verdigris { background-image: var(--cx-orn-seal-verdigris); }
.codex-seal--sm { width: 34px; height: 34px; }
.codex-seal--lg { width: 84px; height: 84px; }

/* =====================================================================================================
 * PROGRESS BAR — molten metal in an iron channel, notched in tenths.  style="--value: .62" (on the bar or the fill)
 * <div class="codex-bar codex-bar--xp" style="--value:.4;--rest:.6"><i class="codex-bar__rest"></i><i class="codex-bar__fill"></i><span class="codex-bar__label">…</span></div>
 * ===================================================================================================== */
.codex-bar {
  --_fill: var(--cx-bar-capital);
  position: relative;
  box-sizing: border-box;
  height: 16px;
  border: 1px solid #000;
  border-radius: 2px;
  background: linear-gradient(180deg, #030304, #0e1012 60%, #16181b);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.95), 0 0 0 1px #3a3f46, 0 0 0 2px #050506, 0 1px 0 2px rgba(210, 220, 235, 0.06);
  overflow: hidden;
}
.codex-bar__fill, .codex-bar__rest {
  /* full width, scaled — a transform, never a width change (no layout per frame) */
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 100%;
  background: var(--cx-bar-enamel), var(--_fill);
  transform: scaleX(var(--value, 0));
  transform-origin: 0 50%;
  transition: transform 0.6s var(--cx-ease);
}
.codex-bar__rest { transform: scaleX(var(--rest, 0)); background: var(--cx-bar-rested); opacity: 0.5; }
.codex-bar::after {
  /* forged notches every tenth */
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) calc(10% - 2px), rgba(0, 0, 0, 0.7) calc(10% - 2px), rgba(0, 0, 0, 0.7) calc(10% - 1px), rgba(210, 220, 235, 0.08) calc(10% - 1px), rgba(210, 220, 235, 0.08) 10%);
  pointer-events: none;
}
.codex-bar__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 var(--cx-fs-micro)/1 var(--cx-font-num);
  font-variant-numeric: lining-nums tabular-nums;
  color: #fff6e6;
  text-shadow: 0 1px 0 #000, 0 0 3px #000, 0 0 2px #000;
  z-index: 1;
  white-space: nowrap;
}
.codex-bar--xp { --_fill: var(--cx-bar-xp); }
.codex-bar--rested { --_fill: var(--cx-bar-rested); }
.codex-bar--hp { --_fill: var(--cx-bar-hp); }
.codex-bar--capital { --_fill: var(--cx-bar-capital); }
.codex-bar--danger { --_fill: var(--cx-bar-danger); }
.codex-bar--verdigris { --_fill: var(--cx-bar-verdigris); }
.codex-bar--plain::after { content: none; }
.codex-bar--thin { height: 8px; }
.codex-bar--tall { height: 22px; }

/* loading bar: a bronze-cased channel between two forged spear-tips */
.codex-loadbar { position: relative; padding: 0 34px; }
.codex-loadbar > .codex-bar {
  height: 18px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.95), 0 0 0 1px #2a1a09, 0 0 0 3px #8a5f2a, 0 0 0 4px #e2b56a, 0 0 0 5px #3a240e, 0 0 0 6px #000, 0 6px 16px rgba(0, 0, 0, 0.75);
}
.codex-loadbar > .codex-bar::after { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) calc(5% - 1px), rgba(0, 0, 0, 0.45) calc(5% - 1px), rgba(0, 0, 0, 0.45) 5%); }
.codex-loadbar::before, .codex-loadbar::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 44px; height: 44px;
  margin-top: -22px;
  background: var(--cx-orn-finial-l) center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 2;
}
.codex-loadbar::before { left: -4px; }
.codex-loadbar::after { right: -4px; background-image: var(--cx-orn-finial-r); }

/* the ember sigil (legacy name: astrolabe) — the only spinning thing in the game, and only on loading screens */
.codex-astrolabe { position: relative; display: inline-block; width: 64px; height: 64px; background: var(--cx-orn-astrolabe) center / contain no-repeat; }
/* .is-turning swaps in three layers: ring (static) · sigil (turns, 40 s) · needle (static) */
.codex-astrolabe.is-turning { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112' viewBox='0 0 112 112'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='112' y2='112'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='em' cx='.4' cy='.35' r='.7' %3E%3Cstop offset='0' stop-color='%23ffe0a0'/%3E%3Cstop offset='0.4' stop-color='%23ff9a3d'/%3E%3Cstop offset='1' stop-color='%238a2c08'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='12' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Ccircle cx='56' cy='56' r='48' fill='none' stroke='url(%23ir)' stroke-width='9' filter='url(%23bv)'/%3E%3Ccircle cx='56' cy='56' r='52.6' fill='none' stroke='%23000' stroke-width='1'/%3E%3Ccircle cx='56' cy='56' r='43.4' fill='none' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M100.5,56 L105.1,56' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M99.82,63.73 L102.19,64.14' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M97.82,71.22 L100.07,72.04' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M94.54,78.25 L98.52,80.55' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M90.09,84.6 L91.93,86.15' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M84.6,90.09 L86.15,91.93' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M78.25,94.54 L80.55,98.52' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M71.22,97.82 L72.04,100.07' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M63.73,99.82 L64.14,102.19' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M56,100.5 L56,105.1' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M48.27,99.82 L47.86,102.19' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M40.78,97.82 L39.96,100.07' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M33.75,94.54 L31.45,98.52' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M27.4,90.09 L25.85,91.93' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M21.91,84.6 L20.07,86.15' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M17.46,78.25 L13.48,80.55' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M14.18,71.22 L11.93,72.04' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M12.18,63.73 L9.81,64.14' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M11.5,56 L6.9,56' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M12.18,48.27 L9.81,47.86' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M14.18,40.78 L11.93,39.96' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M17.46,33.75 L13.48,31.45' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M21.91,27.4 L20.07,25.85' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M27.4,21.91 L25.85,20.07' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M33.75,17.46 L31.45,13.48' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M40.78,14.18 L39.96,11.93' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M48.27,12.18 L47.86,9.81' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M56,11.5 L56,6.9' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M63.73,12.18 L64.14,9.81' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M71.22,14.18 L72.04,11.93' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M78.25,17.46 L80.55,13.48' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M84.6,21.91 L86.15,20.07' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M90.09,27.4 L91.93,25.85' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M94.54,33.75 L98.52,31.45' stroke='%23c08a48' stroke-width='1.3'/%3E%3Cpath d='M97.82,40.78 L100.07,39.96' stroke='%23c08a48' stroke-width='0.8'/%3E%3Cpath d='M99.82,48.27 L102.19,47.86' stroke='%23c08a48' stroke-width='0.8'/%3E%3C/svg%3E"); }
.codex-astrolabe.is-turning::before, .codex-astrolabe.is-turning::after { content: ''; position: absolute; inset: 0; background: center / contain no-repeat; }
.codex-astrolabe.is-turning::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112' viewBox='0 0 112 112'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='112' y2='112'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='em' cx='.4' cy='.35' r='.7' %3E%3Cstop offset='0' stop-color='%23ffe0a0'/%3E%3Cstop offset='0.4' stop-color='%23ff9a3d'/%3E%3Cstop offset='1' stop-color='%238a2c08'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='12' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Ccircle cx='56' cy='56' r='33' fill='none' stroke='%23b07a3c' stroke-width='2.2' filter='url(%23bv)'/%3E%3Ccircle cx='56' cy='56' r='33' fill='none' stroke='%23000' stroke-opacity='.6' stroke-width='.6'/%3E%3Cpath d='M56,44 L56,23' stroke='%237d5428' stroke-width='1.6'/%3E%3Ccircle cx='56' cy='23' r='5.4' fill='url(%23em)' stroke='%232a0e04' stroke-width='.9'/%3E%3Ccircle cx='54.6' cy='21.4' r='1.4' fill='%23fff2c8'/%3E%3Cpath d='M66.39,62 L84.58,72.5' stroke='%237d5428' stroke-width='1.6'/%3E%3Ccircle cx='84.58' cy='72.5' r='5.4' fill='url(%23em)' stroke='%232a0e04' stroke-width='.9'/%3E%3Ccircle cx='83.18' cy='70.9' r='1.4' fill='%23fff2c8'/%3E%3Cpath d='M45.61,62 L27.42,72.5' stroke='%237d5428' stroke-width='1.6'/%3E%3Ccircle cx='27.42' cy='72.5' r='5.4' fill='url(%23em)' stroke='%232a0e04' stroke-width='.9'/%3E%3Ccircle cx='26.02' cy='70.9' r='1.4' fill='%23fff2c8'/%3E%3Cpath d='M56,24 C70,34 70,78 56,88 C42,78 42,34 56,24 Z' fill='none' stroke='%2386592a' stroke-width='1' stroke-dasharray='2 2.2'/%3E%3C/svg%3E"); transform-origin: 50% 50%; animation: cx-turn 40s linear infinite; }
.codex-astrolabe.is-turning::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112' viewBox='0 0 112 112'%3E%3Cdefs%3E%3ClinearGradient id='ir' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='112' y2='112'%3E%3Cstop offset='0' stop-color='%234d5258'/%3E%3Cstop offset='0.28' stop-color='%232a2e33'/%3E%3Cstop offset='0.62' stop-color='%2317191c'/%3E%3Cstop offset='1' stop-color='%2309090b'/%3E%3C/linearGradient%3E%3CradialGradient id='em' cx='.4' cy='.35' r='.7' %3E%3Cstop offset='0' stop-color='%23ffe0a0'/%3E%3Cstop offset='0.4' stop-color='%23ff9a3d'/%3E%3Cstop offset='1' stop-color='%238a2c08'/%3E%3C/radialGradient%3E%3CradialGradient id='rv' cx='.38' cy='.34' r='.75' %3E%3Cstop offset='0' stop-color='%23ffe2a0'/%3E%3Cstop offset='0.35' stop-color='%23c99048'/%3E%3Cstop offset='0.75' stop-color='%236e4720'/%3E%3Cstop offset='1' stop-color='%232c1a08'/%3E%3C/radialGradient%3E%3Cfilter id='bv' x='-8%25' y='-8%25' width='116%25' height='116%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='1.1' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.28' numOctaves='2' seed='12' result='n'/%3E%3CfeComposite in='n' in2='b' operator='arithmetic' k2='0.18' k3='1' result='h'/%3E%3CfeSpecularLighting in='h' surfaceScale='2.4' specularConstant='0.9' specularExponent='16' lighting-color='%23e6ebf2' result='s'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='SourceAlpha' operator='in' result='si'/%3E%3CfeDiffuseLighting in='h' surfaceScale='2.4' diffuseConstant='1.3' lighting-color='%23ffffff' result='d'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeComposite in='SourceGraphic' in2='d' operator='arithmetic' k1='0.75' k2='0.25' result='lit'/%3E%3CfeComposite in='si' in2='lit' operator='arithmetic' k2='0.62' k3='1' result='o'/%3E%3CfeComposite in='o' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M56,12 L59,56 L56,100 L53,56 Z' fill='url(%23ir)' stroke='%23000' stroke-width='.8' filter='url(%23bv)'/%3E%3Ccircle cx='57.5' cy='58.1' r='6.3' fill='%23000' opacity='.55'/%3E%3Ccircle cx='56' cy='56' r='6' fill='url(%23rv)' stroke='%23140c04' stroke-width='1.08'/%3E%3Ccircle cx='54.08' cy='53.84' r='1.92' fill='%23fff3d0' opacity='.75'/%3E%3C/svg%3E"); }

/* =====================================================================================================
 * FORM — input, select, checkbox, toggle (recessed sockets; focus = an ember ring)
 * ===================================================================================================== */
.codex-input, .codex-select {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  min-height: var(--cx-btn-h);
  padding: 6px 11px;
  font: 400 var(--cx-fs-body)/1.3 var(--cx-font-body);
  color: var(--cx-text);
  caret-color: var(--cx-torch);
  background: linear-gradient(180deg, #060708, #121417);
  border: 1px solid #000;
  border-radius: var(--cx-r-1);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(176, 122, 60, 0.38), 0 1px 0 1px rgba(210, 220, 235, 0.05);
  user-select: text;
  -webkit-user-select: text;
}
.codex-input::placeholder { color: var(--cx-text-faint); font-style: italic; }
.codex-input:hover, .codex-select:hover { box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(226, 181, 106, 0.6); }
.codex-input:focus, .codex-select:focus, .codex-input.is-focus {
  outline: none;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--cx-torch), 0 0 12px rgba(255, 138, 61, 0.35);
}
.codex-input:disabled, .codex-select:disabled { color: var(--cx-text-faint); opacity: 0.7; }
.codex-input.is-invalid { box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--cx-vermilion-hi); }
.codex-select {
  padding-right: 30px;
  cursor: pointer;
  background:
    linear-gradient(45deg, transparent 50%, var(--cx-bronze-hi) 50%) right 16px top 50% / 5px 5px no-repeat,
    linear-gradient(135deg, var(--cx-bronze-hi) 50%, transparent 50%) right 11px top 50% / 5px 5px no-repeat,
    linear-gradient(180deg, #060708, #121417);
}
.codex-select option { background: #121417; color: var(--cx-text); }
/* written on parchment: an ink rule, no box */
:is(.codex-vellum, .codex-ruled) .codex-input, .codex-input--vellum {
  color: var(--cx-ink-text);
  caret-color: var(--cx-ink-rubric);
  background: rgba(255, 250, 236, 0.4);
  border: 0;
  border-bottom: 1px solid rgba(40, 24, 10, 0.6);
  border-radius: 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}
:is(.codex-vellum, .codex-ruled) .codex-input::placeholder, .codex-input--vellum::placeholder { color: rgba(60, 40, 20, 0.62); }
:is(.codex-vellum, .codex-ruled) .codex-input:focus, .codex-input--vellum:focus { background: rgba(255, 250, 236, 0.7); box-shadow: inset 0 -2px 0 var(--cx-ink-rubric); }

.codex-field { display: grid; gap: 6px; }
.codex-field > .cx-label { font-size: var(--cx-fs-sc-min); letter-spacing: 0.12em; }

.codex-check, .codex-toggle {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid #000;
}
.codex-check {
  width: 18px; height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, #060708, #15171a);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(176, 122, 60, 0.5);
}
.codex-check:checked { background: var(--cx-orn-check) center / 15px 15px no-repeat, radial-gradient(circle at 50% 60%, rgba(255, 120, 40, 0.25), rgba(255, 120, 40, 0) 70%), linear-gradient(180deg, #060708, #15171a); }
.codex-check:hover { box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--cx-bronze-hi); }
.codex-toggle {
  /* a forged slide-bolt in a slot, bronze knob; shot home (on) an ember line glows in the slot */
  width: 44px; height: 18px;
  border-radius: 2px;
  background:
    radial-gradient(circle at 40% 34%, #ffe6b0 0, #d29a52 1.6px, #7a5228 3.8px, #2c1a08 5.2px, rgba(0, 0, 0, 0) 5.8px) left 14px center / 12px 12px no-repeat,
    linear-gradient(180deg, #7d848c 0%, #34383e 45%, #121417 100%) left 2px center / 24px 8px no-repeat,
    linear-gradient(rgba(255, 138, 61, 0), rgba(255, 138, 61, 0)) left 4px bottom 3px / calc(100% - 8px) 1px no-repeat,
    linear-gradient(180deg, #040405, #121417);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(176, 122, 60, 0.45), 0 1px 0 1px rgba(210, 220, 235, 0.05);
  transition: background-position var(--cx-dur-calm) var(--cx-ease);
}
.codex-toggle:checked {
  background:
    radial-gradient(circle at 40% 34%, #ffe6b0 0, #d29a52 1.6px, #7a5228 3.8px, #2c1a08 5.2px, rgba(0, 0, 0, 0) 5.8px) left 28px center / 12px 12px no-repeat,
    linear-gradient(180deg, #7d848c 0%, #34383e 45%, #121417 100%) left 16px center / 24px 8px no-repeat,
    linear-gradient(90deg, var(--cx-ember), var(--cx-candle)) left 4px bottom 3px / 12px 2px no-repeat,
    radial-gradient(ellipse at 20% 100%, rgba(255, 120, 40, 0.35), rgba(255, 120, 40, 0) 70%),
    linear-gradient(180deg, #040405, #121417);
}
.codex-check:focus, .codex-toggle:focus { outline: none; }
.codex-check:focus-visible, .codex-toggle:focus-visible { outline: 2px solid var(--cx-torch); outline-offset: 2px; }
.codex-check:disabled, .codex-toggle:disabled { opacity: 0.45; cursor: default; }
.codex-checkline { display: inline-flex; align-items: center; gap: 10px; font: 400 var(--cx-fs-body)/1.3 var(--cx-font-body); cursor: pointer; }
:is(.codex-vellum, .codex-ruled) .codex-check { background-color: rgba(255, 250, 236, 0.55); background-image: none; box-shadow: inset 0 1px 2px rgba(40, 20, 6, 0.5), 0 0 0 1px rgba(70, 45, 20, 0.6); }
:is(.codex-vellum, .codex-ruled) .codex-check:checked { background: var(--cx-orn-check) center / 15px 15px no-repeat, rgba(255, 250, 236, 0.55); }

/* =====================================================================================================
 * LIST ROW — roster, quest list, settings rows
 * <ul class="codex-list"><li class="codex-row is-selected"><span class="codex-row__initial">A</span><span class="codex-row__main"><b class="codex-row__title">…</b><span class="codex-row__meta">…</span></span><span class="codex-row__aside">…</span></li></ul>
 * ===================================================================================================== */
.codex-list { margin: 0; padding: 0; list-style: none; }
.codex-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 12px;
  color: var(--cx-text);
  border-bottom: 1px solid rgba(176, 122, 60, 0.14);
  cursor: pointer;
  transition: background-color var(--cx-dur-quick) var(--cx-ease);
}
.codex-row:hover, .codex-row.is-hover { background-color: rgba(255, 150, 70, 0.05); background-image: linear-gradient(90deg, rgba(255, 150, 70, 0.1), rgba(255, 150, 70, 0) 85%); }
.codex-row.is-selected, .codex-row[aria-selected='true'] {
  background-image: radial-gradient(ellipse 70% 120% at 0% 50%, rgba(255, 130, 40, 0.22), rgba(255, 130, 40, 0) 70%), linear-gradient(90deg, rgba(255, 138, 61, 0.1), rgba(255, 138, 61, 0.02) 80%);
  box-shadow: inset 3px 0 0 var(--cx-torch), inset 0 1px 0 rgba(226, 181, 106, 0.45), inset 0 -1px 0 rgba(226, 181, 106, 0.45);
}
.codex-muster .codex-row.is-selected, .codex-muster .codex-row[aria-selected='true'],
.ei-roster .codex-row.is-selected, .ei-roster .codex-row[aria-selected='true'] {
  border-color: #000;
  box-shadow: inset 0 0 0 1px rgba(226, 181, 106, 0.7), inset 3px 0 0 var(--cx-torch), inset 0 0 18px rgba(255, 120, 40, 0.16), 0 0 12px rgba(255, 120, 40, 0.22);
}
.codex-row.is-disabled { cursor: default; color: var(--cx-text-faint); }
.codex-row__initial {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  padding-top: 1px;
  font: 900 18px/1 var(--cx-font-initial);
  color: var(--cx-gold-text);
  text-shadow: 0 1px 0 #000, 0 0 6px rgba(0, 0, 0, 0.6);
  background: var(--cx-orn-dropcap) center / 100% 100% no-repeat;
}
.codex-row.is-selected > .codex-row__initial, .codex-row[aria-selected='true'] > .codex-row__initial { color: #fff0c8; text-shadow: 0 0 8px rgba(255, 140, 50, 0.85), 0 1px 0 #000; }
.codex-row__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.codex-row__title { font: 700 calc(var(--cx-fs-body) + 1px)/1.15 var(--cx-font-head); letter-spacing: 0.04em; color: var(--cx-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.codex-row__meta { font: 400 var(--cx-fs-small)/1.2 var(--cx-font-body); color: var(--cx-text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.codex-row__aside { flex: none; font: 700 var(--cx-fs-small)/1 var(--cx-font-num); color: var(--cx-text-dim); }
.codex-row.is-selected .codex-row__title, .codex-row[aria-selected='true'] .codex-row__title { color: var(--cx-gold-leaf); }
/* on parchment: ink rows, an oxblood bar marks the selection */
:is(.codex-vellum, .codex-ruled) .codex-row { color: var(--cx-ink-text); border-bottom-color: rgba(60, 36, 14, 0.2); }
:is(.codex-vellum, .codex-ruled) .codex-row:hover, :is(.codex-vellum, .codex-ruled) .codex-row.is-hover { background-color: rgba(90, 40, 10, 0.06); background-image: none; }
:is(.codex-vellum, .codex-ruled) .codex-row__title, .codex-charter :is(.codex-vellum, .codex-ruled) .codex-row__title { color: var(--cx-ink-text); }
:is(.codex-vellum, .codex-ruled) .codex-row.is-selected .codex-row__title { color: var(--cx-ink-rubric); }
:is(.codex-vellum, .codex-ruled) .codex-row__meta, :is(.codex-vellum, .codex-ruled) .codex-row__aside { color: var(--cx-ink-text-dim); }
:is(.codex-vellum, .codex-ruled) .codex-row.is-selected, :is(.codex-vellum, .codex-ruled) .codex-row[aria-selected='true'] {
  background-image: linear-gradient(90deg, rgba(122, 29, 16, 0.12), rgba(122, 29, 16, 0.02) 85%);
  box-shadow: inset 4px 0 0 var(--cx-ink-rubric), inset 0 -1px 0 rgba(122, 29, 16, 0.4);
}
.codex-row:nth-child(odd) > .codex-row__initial, .codex-row:nth-child(even) > .codex-row__initial { background-image: var(--cx-orn-dropcap); }

/* =====================================================================================================
 * DIVIDER · INITIAL · NAMEPLATE · KEYCAP · BULLETS
 * ===================================================================================================== */
.codex-divider {
  /* a forged bar with an ember lozenge on dark; an inked bar with an oxblood lozenge on parchment */
  --_c: rgba(176, 122, 60, 0.5);
  --_f: var(--cx-orn-filler-dark);
  display: block;
  height: 18px;
  margin: 12px 0;
  border: 0;
  background:
    var(--_f) center / 200px 18px no-repeat,
    linear-gradient(90deg, rgba(0, 0, 0, 0), var(--_c)) left center / calc(50% - 98px) 1px no-repeat,
    linear-gradient(90deg, var(--_c), rgba(0, 0, 0, 0)) right center / calc(50% - 98px) 1px no-repeat;
}
.codex-divider--rune { --_f: var(--cx-orn-rune); height: 16px; background-size: 160px 16px, calc(50% - 82px) 1px, calc(50% - 82px) 1px; }   /* lore & map marginalia only */
.codex-divider--fleuron {
  background:
    var(--cx-orn-fleuron) center / 18px 18px no-repeat,
    linear-gradient(90deg, rgba(0, 0, 0, 0), var(--_c)) left center / calc(50% - 14px) 1px no-repeat,
    linear-gradient(90deg, var(--_c), rgba(0, 0, 0, 0)) right center / calc(50% - 14px) 1px no-repeat;
}
:is(.codex-vellum, .codex-ruled) .codex-divider { --_c: rgba(58, 34, 20, 0.4); --_f: var(--cx-orn-filler); }
:is(.codex-vellum, .codex-ruled) .codex-divider--fleuron { background-image: var(--cx-orn-fleuron-ink), linear-gradient(90deg, rgba(0, 0, 0, 0), var(--_c)), linear-gradient(90deg, var(--_c), rgba(0, 0, 0, 0)); }

/* bullets: small ember lozenges on dark, oxblood on parchment:  <ul class="codex-paras"><li>…</li></ul>  or  <i class="cx-pilcrow"></i> */
.cx-pilcrow::before { content: '\25C6\FE0E'; font: 400 0.72em/1 var(--cx-font-body); vertical-align: 0.14em; color: var(--cx-torch); }
.cx-pilcrow--blue::before { color: var(--cx-lapis-3); }
:is(.codex-vellum, .codex-ruled) .cx-pilcrow::before { color: var(--cx-ink-rubric-lg); }
:is(.codex-vellum, .codex-ruled) .cx-pilcrow--blue::before { color: var(--cx-ink-lapis); }
.codex-paras { margin: 8px 0; padding: 0; list-style: none; }
.codex-paras > li { position: relative; margin: 0 0 5px; padding-left: 1.3em; }
.codex-paras > li::before { content: '\25C6\FE0E'; position: absolute; left: 0.1em; top: 0.32em; font: 400 0.7em/1 var(--cx-font-body); color: var(--cx-torch); }
.codex-paras > li:nth-child(even)::before { color: var(--cx-bronze-3); }
:is(.codex-vellum, .codex-ruled) .codex-paras > li::before { color: var(--cx-ink-rubric-lg); }
:is(.codex-vellum, .codex-ruled) .codex-paras > li:nth-child(even)::before { color: var(--cx-ink-text-dim); }
/* a done objective: the lozenge becomes a molten tick and the line is set fainter (never struck through) */
.codex-paras > li.is-done::before { content: ''; left: 0; top: 0.22em; width: 0.95em; height: 0.95em; background: var(--cx-orn-check) center / contain no-repeat; }
.codex-paras > li.is-done { color: var(--cx-text-dim); }
:is(.codex-vellum, .codex-ruled) .codex-paras > li.is-done { color: var(--cx-ink-text-dim); }

/* forged initial: <p><span class="codex-dropcap">T</span>he road…</p>  or  <p class="codex-illum">The road…</p> */
.codex-dropcap {
  --_ground: var(--cx-orn-dropcap);
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--cx-dropcap);
  height: var(--cx-dropcap);
  margin: 5px 12px 0 0;
  padding-top: 0.06em;
  overflow: hidden;   /* a long tail (Q, J, K, R) never leaves its plate */
  font-family: var(--cx-font-initial);
  font-weight: 900;
  font-size: calc(var(--cx-dropcap) * 0.6);
  line-height: 1;
  color: var(--cx-gold-leaf);
  text-shadow: 0 1px 0 #000, 0 0 8px rgba(255, 130, 40, 0.55), 0 2px 5px rgba(0, 0, 0, 0.6);
  background: var(--_ground) center / 100% 100% no-repeat;
}
.codex-dropcap--oxblood { --_ground: var(--cx-orn-dropcap-oxblood); background-image: var(--_ground); }
.codex-dropcap--verdigris { --_ground: var(--cx-orn-dropcap-verdigris); background-image: var(--_ground); }
.codex-dropcap--quartered { --_ground: var(--cx-orn-dropcap-oxblood); background-image: var(--_ground); color: #fff0c8; }
.codex-dropcap--tail { font-size: calc(var(--cx-dropcap) * 0.5); }
/* flourished initial (legacy): the plate plus a thin bronze rule running down the margin */
.codex-dropcap--flourish {
  width: calc(var(--cx-dropcap) + 18px);
  height: calc(var(--cx-dropcap) * 2.6);
  margin-left: -18px;
  padding: 0 0 0 18px;
  align-items: flex-start;
  line-height: var(--cx-dropcap);
  font-size: calc(var(--cx-dropcap) * 0.54);
  background:
    var(--_ground) right top / var(--cx-dropcap) var(--cx-dropcap) no-repeat,
    linear-gradient(180deg, rgba(176, 122, 60, 0.75), rgba(176, 122, 60, 0)) 8px calc(var(--cx-dropcap) * 0.5) / 1px calc(var(--cx-dropcap) * 2) no-repeat;
  -webkit-shape-outside: inset(0 0 calc(100% - var(--cx-dropcap) - 8px) 0);
  shape-outside: inset(0 0 calc(100% - var(--cx-dropcap) - 8px) 0);
}
.codex-illum::first-letter {
  float: left;
  margin: 5px 12px 0 0;
  padding: 0.2em 0.26em 0.12em;
  font-family: var(--cx-font-initial);
  font-weight: 900;
  font-size: calc(var(--cx-dropcap) * 0.6);
  line-height: 1;
  color: var(--cx-gold-leaf);
  text-shadow: 0 1px 0 #000, 0 0 8px rgba(255, 130, 40, 0.55);
  background: var(--cx-orn-dropcap) center / 100% 100% no-repeat;
}

/* forged nameplate with carved gold letters (zone labels, character names) */
.codex-plate {
  display: inline-block;
  padding: 7px 22px 6px;
  font: 700 var(--cx-fs-h2)/1.15 var(--cx-font-head);
  letter-spacing: 0.06em;
  color: var(--cx-gold-text);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 226, 170, 0.12);
  background: var(--cx-rivets-4), var(--cx-bg-iron);
  border: 1px solid #000;
  border-radius: var(--cx-r-1);
  box-shadow: inset 0 0 0 1px rgba(176, 122, 60, 0.45), inset 0 0 0 3px rgba(0, 0, 0, 0.3), inset 0 0 14px rgba(0, 0, 0, 0.45), var(--cx-sh-2);
}

/* keycap for binds in help text: <kbd class="codex-kbd">Q</kbd> */
.codex-kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: 2px 5px 1px;
  font: 700 0.8em/1.25 var(--cx-font-num);
  text-align: center;
  color: var(--cx-text);
  text-shadow: 0 1px 0 #000;
  background: linear-gradient(180deg, #3e434a, #1c1f23);
  border: 1px solid #000;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(210, 220, 235, 0.25), inset 0 0 0 1px rgba(176, 122, 60, 0.25), 0 2px 0 #070809;
  vertical-align: 0.1em;
}
:is(.codex-vellum, .codex-ruled) .codex-kbd { color: var(--cx-ink-text); text-shadow: none; background: linear-gradient(180deg, #f5ead2, #cdb88e); border-color: rgba(40, 24, 10, 0.7); box-shadow: inset 0 1px 0 #fff8e8, 0 2px 0 rgba(40, 24, 10, 0.55); }

/* opt-in scrollbar: an iron rod in a dark groove */
.codex-scroll::-webkit-scrollbar { width: 11px; height: 11px; }
.codex-scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(176, 122, 60, 0.14); }
.codex-scroll::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #1f2226, #6a717a 45%, #1f2226); border: 1px solid #000; border-radius: 5px; }
.codex-vellum.codex-scroll::-webkit-scrollbar-track { background: rgba(70, 45, 20, 0.14); }

/* =====================================================================================================
 * EMBER & IRON COMPONENTS (new)
 * ===================================================================================================== */
/* SOCKET — a recessed iron socket with a bronze rim and engraved corners; holds anything (portrait, value, icon).
   <div class="ei-socket">…</div>  ·  --iron (no bronze)  ·  .is-selected / --ember (lit) */
.ei-socket {
  position: relative;
  box-sizing: border-box;
  padding: 8px 10px;
  color: var(--cx-text);
  background: radial-gradient(ellipse at 50% 30%, rgba(140, 156, 178, 0.06), rgba(0, 0, 0, 0) 70%), linear-gradient(180deg, #08090b, #121417);
  border: 0 solid transparent;
  border-image: var(--cx-orn-socket-bronze) 10 fill / 7px / 0 stretch;
  box-shadow: 0 1px 0 rgba(210, 220, 235, 0.05);
}
.ei-socket--iron { border-image-source: var(--cx-orn-socket); }
.ei-socket--ember, .ei-socket.is-selected { border-image-source: var(--cx-orn-socket-ember); box-shadow: 0 0 12px rgba(255, 130, 40, 0.3); }

/* SLOT — square item / portrait slot. <span class="ei-slot ei-slot--epic"><i class="cx-icon cx-icon--sword"></i></span>
   The quality ring is the WoW colour (gameplay readability); empty slots show a faint engraved lozenge. */
.ei-slot {
  --_q: rgba(0, 0, 0, 0);
  position: relative;
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--cx-slot);
  height: var(--cx-slot);
  vertical-align: middle;
  background: radial-gradient(circle at 50% 36%, #1f2328, #0c0d10 70%);
  border: 0 solid transparent;
  border-image: var(--cx-orn-socket) 10 fill / 7px / 0 stretch;
  box-shadow: inset 0 0 0 0 var(--_q);
}
.ei-slot > .cx-icon, .ei-slot > svg, .ei-slot > canvas, .ei-slot > img { width: 66%; height: 66%; }
.ei-slot::after {
  content: '';
  position: absolute;
  inset: 5px;
  box-shadow: inset 0 0 0 1px var(--_q), inset 0 0 10px var(--_q);
  opacity: 0.75;
  pointer-events: none;
}
.ei-slot:empty::before { content: ''; width: 30%; height: 30%; border: 1px solid rgba(176, 122, 60, 0.25); transform: rotate(45deg); }
.ei-slot--poor { --_q: rgba(157, 157, 157, 0.7); }
.ei-slot--common { --_q: rgba(255, 255, 255, 0.55); }
.ei-slot--uncommon { --_q: rgba(30, 255, 0, 0.7); }
.ei-slot--rare { --_q: rgba(61, 155, 255, 0.85); }
.ei-slot--epic { --_q: rgba(184, 102, 247, 0.85); }
.ei-slot--legendary { --_q: rgba(255, 128, 0, 0.9); }
.ei-slot.is-selected, .ei-slot:hover { border-image-source: var(--cx-orn-socket-bronze); }
.ei-slot.is-selected { border-image-source: var(--cx-orn-socket-ember); }
.ei-slot--lg { width: calc(var(--cx-slot) * 1.6); height: calc(var(--cx-slot) * 1.6); }

/* RIVETS overlay for any position:relative box:  <i class="ei-rivets"></i> */
.ei-rivets { position: absolute; inset: 3px; background: var(--cx-rivets-4); pointer-events: none; z-index: 2; }

/* EMBERS — drifting sparks for glue screens (login, select, create, loading). Two pre-rendered tiles rise on the
   compositor (transform + opacity only); nothing repaints. Never in the HUD (the scene draws its own). */
.ei-embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 35%, rgba(0, 0, 0, 0.35) 75%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(0deg, #000 0%, #000 35%, rgba(0, 0, 0, 0.35) 75%, rgba(0, 0, 0, 0) 100%);
}
.ei-embers::before, .ei-embers::after {
  content: '';
  position: absolute;
  left: -40px; right: -40px; top: 0;
  height: calc(100% + 720px);
  background-image:
    radial-gradient(circle at 12% 14%, rgba(255, 236, 190, 0.95) 0, rgba(255, 150, 60, 0.7) 1.2px, rgba(255, 110, 30, 0.12) 3px, rgba(255, 110, 30, 0) 7px),
    radial-gradient(circle at 37% 61%, rgba(255, 220, 160, 0.9) 0, rgba(255, 130, 40, 0.6) 1px, rgba(255, 110, 30, 0) 3px),
    radial-gradient(circle at 63% 29%, rgba(255, 210, 150, 0.85) 0, rgba(240, 100, 30, 0.5) 1.4px, rgba(255, 110, 30, 0.1) 3.4px, rgba(255, 110, 30, 0) 8px),
    radial-gradient(circle at 81% 83%, rgba(255, 236, 190, 0.95) 0, rgba(255, 150, 60, 0.7) 1px, rgba(255, 110, 30, 0) 2.8px),
    radial-gradient(circle at 92% 47%, rgba(255, 200, 140, 0.7) 0, rgba(230, 90, 30, 0.45) 1.2px, rgba(255, 110, 30, 0) 3.6px),
    radial-gradient(circle at 24% 92%, rgba(255, 210, 150, 0.8) 0, rgba(255, 120, 40, 0.5) 0.8px, rgba(255, 110, 30, 0) 2.4px);
  background-size: 560px 720px;
  animation: ei-rise var(--cx-dur-ember) linear infinite, ei-flicker 5.3s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.ei-embers::after {
  background-image:
    radial-gradient(circle at 18% 38%, rgba(255, 240, 200, 1) 0, rgba(255, 160, 70, 0.75) 1.4px, rgba(255, 110, 30, 0.14) 3.6px, rgba(255, 110, 30, 0) 9px),
    radial-gradient(circle at 54% 76%, rgba(255, 220, 160, 0.9) 0, rgba(255, 130, 40, 0.6) 1.2px, rgba(255, 110, 30, 0) 3.6px),
    radial-gradient(circle at 77% 12%, rgba(255, 230, 180, 0.9) 0, rgba(255, 140, 50, 0.6) 1px, rgba(255, 110, 30, 0) 3px),
    radial-gradient(circle at 41% 7%, rgba(200, 200, 205, 0.5) 0, rgba(160, 165, 175, 0.25) 1px, rgba(160, 165, 175, 0) 2.6px);
  background-size: 430px 720px;
  background-position: 130px 0;
  animation-duration: calc(var(--cx-dur-ember) * 0.72), 3.7s;
  animation-delay: -9s, -1.2s;
}
.ei-embers--sparse::after { content: none; }
.ei-embers.is-paused::before, .ei-embers.is-paused::after { animation-play-state: paused; }
@keyframes ei-rise { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-24px, -720px, 0); } }
@keyframes ei-flicker { 0% { opacity: 0.55; } 40% { opacity: 0.9; } 70% { opacity: 0.7; } 100% { opacity: 1; } }

/* SMOKE — static cold smoke banks and a vignette for any dark stage (pairs with .ei-embers) */
.ei-smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 22% at 22% 96%, rgba(125, 136, 149, 0.2), rgba(125, 136, 149, 0) 70%),
    radial-gradient(ellipse 55% 20% at 78% 100%, rgba(125, 136, 149, 0.18), rgba(125, 136, 149, 0) 70%),
    radial-gradient(ellipse 80% 30% at 50% 108%, rgba(226, 84, 31, 0.16), rgba(226, 84, 31, 0) 70%),
    radial-gradient(ellipse 75% 70% at 50% 45%, rgba(0, 0, 0, 0) 52%, rgba(2, 3, 4, 0.6) 100%);
}

/* FIRELIGHT — a warm pool that breathes slowly (legacy name .codex-candlelight). Size and place it yourself. */
.codex-candlelight, .ei-firelight {
  position: absolute;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 150, 60, 0.32), rgba(226, 84, 31, 0.1) 45%, rgba(226, 84, 31, 0) 70%);
  animation: cx-candle var(--cx-dur-candle) ease-in-out infinite;
}

/* =====================================================================================================
 * LIGHT & MOTION — slow, smouldering, opacity/transform only
 * ===================================================================================================== */
.cx-appear { animation: cx-rise var(--cx-dur-calm) var(--cx-ease) both; }
.cx-fade-in { animation: cx-fade var(--cx-dur-slow) var(--cx-ease) both; }

@keyframes cx-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cx-sink { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-4px); } }
@keyframes cx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cx-turn { to { transform: rotate(360deg); } }
@keyframes cx-candle {
  0%, 100% { opacity: 0.82; }
  17% { opacity: 0.92; }
  33% { opacity: 0.78; }
  52% { opacity: 0.97; }
  70% { opacity: 0.85; }
  85% { opacity: 0.93; }
}

@media (prefers-reduced-motion: reduce) {
  .codex-toast, .cx-appear, .cx-fade-in, .codex-candlelight, .ei-firelight, .codex-astrolabe.is-turning::before,
  .ei-embers::before, .ei-embers::after { animation: none !important; }
  .codex-bar__fill, .codex-bar__rest, .codex-bookmark, .codex-toggle { transition: none !important; }
}
body.reduced-motion .codex-toast, body.reduced-motion .cx-appear, body.reduced-motion .cx-fade-in,
body.reduced-motion .codex-candlelight, body.reduced-motion .ei-firelight, body.reduced-motion .codex-astrolabe.is-turning::before,
body.reduced-motion .ei-embers::before, body.reduced-motion .ei-embers::after { animation: none !important; }
body.reduced-motion .codex-bar__fill, body.reduced-motion .codex-bar__rest, body.reduced-motion .codex-toggle { transition: none !important; }

/* =====================================================================================================
 * COMPACT COMPONENT OVERRIDES (kept last so they win over the component rules above)
 * ===================================================================================================== */
body.sq-compact .codex-banner--lg { height: 46px; padding: 9px 14px 0; line-height: 24px; font-size: 19px; border-width: 0 40px; border-image-width: 0 40px; min-width: 150px; }
body.sq-compact .codex-mapframe__title { display: none; }
body.sq-compact .codex-mapframe__bar { min-height: 24px; margin: -6px 0 4px; }
body.sq-compact .codex-legend { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 6px; padding: 3px 10px; white-space: nowrap; }
body.sq-compact .codex-legend > span { margin-right: 6px; }
body.sq-compact .codex-btn { --_edge: 7px; }
body.sq-compact .codex-tab { padding: 7px 10px 6px; }
body.sq-compact .codex-tab.is-active, body.sq-compact .codex-tab[aria-selected='true'] { padding-top: 9px; }
body.sq-compact .codex-row { min-height: 36px; gap: 9px; padding: 4px 8px; }
body.sq-compact .codex-row__initial { width: 26px; height: 26px; font-size: 14px; }
body.sq-compact .codex-muster .codex-row, body.sq-compact .ei-roster .codex-row { min-height: 40px; }
body.sq-compact .codex-links { letter-spacing: 0.03em; }
body.sq-compact .codex-links > a, body.sq-compact .codex-links > button { padding: 3px 4px; }
body.sq-compact .codex-links > * + *::before { margin-right: 7px; }
@media (max-width: 560px), (max-height: 420px) {
  .codex-banner { height: 36px; padding: 6px 8px 0; line-height: 20px; border-width: 0 31px; border-image-width: 0 31px; min-width: 100px; }
  .codex-banner--lg { height: 46px; padding: 9px 14px 0; line-height: 24px; font-size: 19px; border-width: 0 40px; border-image-width: 0 40px; min-width: 150px; }
  .codex-mapframe__title { display: none; }
  .codex-mapframe__bar { min-height: 24px; margin: -6px 0 4px; }
  .codex-legend { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 6px; padding: 3px 10px; white-space: nowrap; }
  .codex-legend > span { margin-right: 6px; }
  .codex-close { width: 20px; height: 20px; top: 5px; }
  .codex-compass { width: 44px; height: 44px; }
  .codex-btn { --_edge: 7px; }
  .codex-tab { padding: 7px 10px 6px; }
  .codex-row { min-height: 36px; gap: 9px; padding: 4px 8px; }
  .codex-row__initial { width: 26px; height: 26px; font-size: 14px; }
  .codex-muster .codex-row, .ei-roster .codex-row { min-height: 40px; }
  .ei-btn-plate { --_h: 42px; }
  .codex-links { letter-spacing: 0.03em; }
  .codex-links > a, .codex-links > button { padding: 3px 4px; }
  .codex-links > * + *::before { margin-right: 7px; }
}
