/* The Codex (codex/CHANGELOG.md). The site's colours and fonts; 2.5D: layered depth, light from the upper left. */
:root {
  --void: #050506; --abyss: #0b0b0e; --panel: rgb(10 10 13 / 0.84); --ink: #ece8e2; --muted: #a39d95; --dim: #6f6a63;
  --ember: #ff7a1a; --ember-2: #ffb15c; --gold: #f0c27a; --gold-2: #ffe2a8; --line: rgb(255 255 255 / 0.08); --line-2: rgb(255 255 255 / 0.16);
  --frag: #e0a63a; --sealed: #8a8fa8; --unver: #ffb347; --c: var(--ember);
  --display: "Cinzel", Georgia, serif; --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --top: 60px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--void); color: var(--ink); font: 400 1rem/1.6 var(--body); }
body { overflow: hidden; caret-color: transparent; }
input { caret-color: var(--ember); }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 16px; background: linear-gradient(180deg, rgb(5 5 6 / 0.94), rgb(5 5 6 / 0.55) 70%, transparent); }
.home { position: relative; z-index: 2; display: flex; align-items: center; gap: 0; flex: 0 0 auto; height: 38px; padding: 0 7px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font: 600 0.62rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); background: rgb(10 10 13 / 0.6); overflow: hidden; transition: color 0.3s, border-color 0.3s, box-shadow 0.4s, padding 0.45s cubic-bezier(.2,.8,.2,1); }
.home img { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 0 6px rgb(255 122 26 / 0.45)); transition: filter 0.4s; }
.home span { max-width: 0; opacity: 0; white-space: nowrap; transform: translateX(-8px); transition: max-width 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.3s, transform 0.45s cubic-bezier(.2,.8,.2,1), margin 0.45s; }
.home:hover, .home:focus-visible { color: var(--ink); border-color: rgb(255 122 26 / 0.55); box-shadow: 0 0 22px rgb(255 122 26 / 0.3), inset 0 0 12px rgb(255 122 26 / 0.08); padding-right: 14px; }
.home:hover img, .home:focus-visible img { filter: drop-shadow(0 0 10px rgb(255 140 50 / 0.95)) brightness(1.15); }
.home:hover span, .home:focus-visible span { max-width: 160px; opacity: 1; transform: none; margin-left: 9px; }
.crumbs { display: flex; align-items: center; gap: 2px; min-width: 0; max-width: calc(50% - 300px); overflow: hidden; white-space: nowrap; font: 600 0.62rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
.crumbs a { padding: 6px 4px; color: var(--muted); text-decoration: none; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs a[aria-current] { color: var(--gold); }
.crumbs .sep { color: var(--ember); opacity: 0.55; }
/* the switch and the search: the same size, at the top centre, evenly spaced (round 2) */
.centre { position: absolute; left: 50%; top: 11px; transform: translateX(-50%); display: flex; gap: 16px; }
.modes { position: relative; display: flex; width: 236px; height: 38px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(10 10 13 / 0.75); overflow: hidden; }
.modes::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgb(255 236 200 / 0.22) 50%, transparent 65%); transform: translateX(-120%); }
.modes:hover::after { animation: sweep 0.9s cubic-bezier(.3,.1,.2,1); }
@keyframes sweep { to { transform: translateX(120%); } }
.mode { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 7px; text-decoration: none; font: 600 0.62rem/1 var(--mono); letter-spacing: 0.16em; color: var(--muted); transition: color 0.2s, background 0.3s, box-shadow 0.3s; }
.mode svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.mode svg ellipse, .mode svg path { fill: none; }
.mode:hover { color: var(--ink); }
.mode.on { color: #170900; background: linear-gradient(180deg, rgb(255 190 120 / 0.92), rgb(255 122 26 / 0.85)); box-shadow: 0 0 16px rgb(255 122 26 / 0.35), inset 0 1px 0 rgb(255 255 255 / 0.5); }
.findw { position: relative; }
.find { width: 236px; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(10 10 13 / 0.85); color: var(--ink); font: inherit; font-size: 0.85rem; }
.find:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 14px rgb(255 122 26 / 0.25); }
.hits { position: absolute; top: calc(100% + 8px); left: 0; width: min(340px, calc(100vw - 24px)); max-height: 62vh; overflow: auto; border: 1px solid var(--line-2); border-radius: 12px; background: rgb(8 8 10 / 0.98); box-shadow: 0 24px 50px rgb(0 0 0 / 0.65); }
.hits[hidden] { display: none; }
.hits a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; text-decoration: none; border-bottom: 1px solid var(--line); }
.hits a:hover, .hits a:focus-visible { background: rgb(255 122 26 / 0.1); outline: none; }
.hits i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--c); box-shadow: 0 0 8px var(--c); }
.hits small { display: block; color: var(--muted); font: 600 0.58rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.rec-btn { margin-left: auto; height: 38px; display: flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: rgb(10 10 13 / 0.8); text-decoration: none; font: 600 0.62rem/1 var(--mono); letter-spacing: 0.14em; transition: border-color 0.25s, box-shadow 0.3s; }
.rec-btn:hover { border-color: var(--gold); box-shadow: 0 0 16px rgb(240 194 122 / 0.3); }
.rec-t { color: var(--gold); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-bar { width: 70px; height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.rec-bar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--ember), var(--gold)); transition: width 0.6s ease; }
.rec-n { color: var(--muted); }

/* ---------- stage and views ---------- */
.stage { position: fixed; inset: 0; z-index: 1; overflow: hidden; outline: none; }
.view { position: absolute; inset: 0; animation: viewIn 0.7s cubic-bezier(.2,.8,.2,1) both; }
.view.leaving { animation: viewOut 0.45s ease both; pointer-events: none; }
@keyframes viewIn { from { opacity: 0; transform: scale(0.94); filter: blur(4px); } }
@keyframes viewOut { to { opacity: 0; transform: scale(1.12); filter: blur(6px); } }
.view.zoom-in { animation: zoomIn 0.75s cubic-bezier(.6,0,.2,1) both; }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.5); } }

/* the gold shimmer on anything not opened yet */
.unread { position: relative; }
.unread::after { content: ""; position: absolute; top: -4px; right: -4px; width: 9px; height: 9px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, #fff6dc, var(--gold) 55%, #b9802e); box-shadow: 0 0 8px var(--gold); animation: shimmer 2.4s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { transform: scale(0.85); opacity: 0.75; box-shadow: 0 0 4px var(--gold); } 50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px var(--gold), 0 0 22px rgb(240 194 122 / 0.5); } }
.sheen { position: relative; overflow: hidden; }
.sheen::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgb(255 226 168 / 0.16) 50%, transparent 60%); transform: translateX(-120%); animation: sheen 5.5s ease-in-out infinite; animation-delay: var(--sd, 0s); }
@keyframes sheen { 0%, 65% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---------- Explore: the maps (round 2, mapkit.js) ---------- */
.map { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.map-area { position: absolute; inset: 0; perspective: 1600px; cursor: grab; touch-action: none; }
.map-area.panning { cursor: grabbing; }
.map-lean { position: absolute; inset: 0; }
/* the edges feather into the dark */
.map-bg, .map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 52%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 52%, #000 52%, transparent 100%); }
.dest .map-bg, .dest .map-svg { -webkit-mask-image: radial-gradient(ellipse 66% 68% at 60% 52%, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse 66% 68% at 60% 52%, #000 50%, transparent 100%); }
.bd-ln { fill: none; stroke: var(--c); stroke-opacity: 0.13; stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.bd-ln.faint { stroke-opacity: 0.07; } .bd-ln.strong { stroke-opacity: 0.24; stroke-width: 1.2; }
.bd-ln.dash { stroke-dasharray: 2 7; } .bd-ln.dots { stroke-dasharray: 0.6 5; stroke-linecap: round; }
.bd-dot { fill: var(--c); fill-opacity: 0.35; }
.bd-spin { animation: spin 360s linear infinite; }
.bd-spin.rev { animation-duration: 520s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.tr-ln { fill: none; stroke: var(--c); stroke-opacity: 0.1; stroke-width: 1; vector-effect: non-scaling-stroke; }
.tr-ln.edge { stroke-opacity: 0.2; } .tr-ln.survey { stroke-opacity: 0.05; stroke-dasharray: 2 10; }
.tr-fill { fill: var(--c); fill-opacity: 0.04; } .tr-fill.soft { fill-opacity: 0.025; }
.orbit { fill: none; stroke: rgb(255 140 60 / 0.09); stroke-width: 1; stroke-dasharray: 2 9; vector-effect: non-scaling-stroke; }
.orbit.o2 { stroke: rgb(200 205 230 / 0.06); stroke-dasharray: 1 12; }
.orbit.veil { stroke: rgb(255 255 255 / 0.03); stroke-dasharray: none; stroke-width: 26; filter: blur(8px); }
.tether { stroke: var(--c); stroke-opacity: 0.045; stroke-width: 1; }
.tether.on { stroke-opacity: 0.4; stroke-dasharray: 4 6; animation: flow 1.2s linear infinite; }
.thread { stroke: var(--c); stroke-opacity: 0.1; stroke-width: 1; stroke-dasharray: 2 6; }
@keyframes flow { to { stroke-dashoffset: -20; } }
/* the linework: one stroke weight family, lit in the theme colour */
.ln { fill: none; stroke: var(--c); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ln.thin { stroke-width: 0.8; stroke-opacity: 0.7; } .ln.dash { stroke-dasharray: 2 3.5; }
.ln.f { fill: color-mix(in srgb, var(--c) 18%, transparent); }
.dot { fill: var(--c); }
.plate { fill: rgb(6 6 8 / 0.82); stroke: none; }
.ic { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 45%, transparent)); }
/* the Omnium: Realm marks */
.omni .olbl, .omni .osub { font-family: Rajdhani, var(--mono); }
.realm { cursor: pointer; outline: none; }
.rm-halo { fill: var(--c); opacity: 0.05; filter: blur(18px); transition: opacity 0.5s; }
.rm-dial { animation: spin var(--sp, 90s) linear infinite; animation-play-state: paused; }
.rm-sat { animation: spin var(--sp, 30s) linear infinite; }
.rm-draw { fill: none; stroke: color-mix(in srgb, var(--c) 55%, #fff); stroke-width: 0.9; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1), opacity 0.4s; }
.rm-ico { filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 70%, transparent)); }
.realm:hover .rm-draw, .realm:focus-visible .rm-draw, .centre-pin:hover .rm-draw, .centre-pin:focus-visible .rm-draw { stroke-dashoffset: 0; opacity: 0.9; }
.realm:hover .rm-dial, .realm:focus-visible .rm-dial, .centre-pin:hover .rm-dial { animation-play-state: running; }
.realm:hover .rm-halo, .realm:focus-visible .rm-halo { opacity: 0.16; }
.realm.locked .ln, .realm.signal .ln { stroke-dasharray: 3 4; }
.realm.signal { opacity: 0.7; }
.realm.go { animation: goPulse 0.5s ease-out; }
@keyframes goPulse { 50% { filter: brightness(1.8); } }
.olbl { fill: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: 0.24em; text-anchor: middle; text-transform: uppercase; pointer-events: none; paint-order: stroke; stroke: rgb(5 5 6 / 0.9); stroke-width: 4px; }
.osub { fill: var(--muted); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-anchor: middle; text-transform: uppercase; pointer-events: none; paint-order: stroke; stroke: rgb(5 5 6 / 0.9); stroke-width: 3px; }
.prog { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; opacity: 0.8; }
.new { fill: var(--gold); filter: drop-shadow(0 0 4px var(--gold)); animation: dotPulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes dotPulse { 50% { transform: scale(1.4); opacity: 0.7; } }
/* level pins */
.pin { cursor: pointer; outline: none; animation: pinIn 0.6s ease-out backwards; animation-delay: var(--d, 0ms); }
@keyframes pinIn { from { opacity: 0; } }
.pin .hit { fill: transparent; }
.pin .ic { transition: transform 0.25s cubic-bezier(.2,.8,.2,1.4); }
.pin:hover .ic, .pin:focus-visible .ic { transform: scale(1.14); filter: drop-shadow(0 0 10px var(--c)); }
.lbl { fill: var(--ink); font: 600 10px var(--mono); letter-spacing: 0.12em; text-anchor: middle; text-transform: uppercase; pointer-events: none; paint-order: stroke; stroke: rgb(5 5 6 / 0.92); stroke-width: 3.5px; transition: fill 0.2s; }
.lbl.big { font: 700 15px var(--display); letter-spacing: 0.12em; fill: color-mix(in srgb, var(--c) 30%, #fff); }
.pin:hover .lbl, .pin:focus-visible .lbl, .pin.on .lbl { fill: var(--gold); }
.pin.claimed .lbl { fill: color-mix(in srgb, var(--gold) 70%, var(--ink)); }
.pin.sealed .ic { opacity: 0.6; }
.pin.ghost { cursor: help; --c: #8a8fa8; opacity: 0.55; }
.pin.ghost .lbl { fill: var(--dim); letter-spacing: 0.3em; }
.pin.hide { display: none; }
.pin.go { animation: goPulse 0.45s ease-out; }
/* the selected pin: a bright ring, a target reticle and a pulse */
.reticle { pointer-events: none; }
.rt-ring { fill: none; stroke: #fff; stroke-width: 1.6; filter: drop-shadow(0 0 6px var(--c)) drop-shadow(0 0 12px var(--c)); }
.rt-pulse { fill: none; stroke: var(--c); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: rtPulse 1.6s ease-out infinite; }
@keyframes rtPulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.1); opacity: 0; } }
.rt-spin { animation: spin 7s linear infinite; }
.rt-spin path { fill: none; stroke: color-mix(in srgb, var(--c) 40%, #fff); stroke-width: 1.4; }
.rt-cross { stroke: color-mix(in srgb, var(--c) 40%, #fff); stroke-width: 1.2; }
.pin.on .ic { transform: scale(1.12); }
.tip { position: fixed; z-index: 40; pointer-events: none; max-width: 290px; padding: 10px 12px; border: 1px solid var(--line-2); border-left: 2px solid var(--c); border-radius: 9px; background: rgb(8 8 10 / 0.96); font-size: 0.82rem; line-height: 1.45; opacity: 0; transform: translateY(4px); transition: opacity 0.18s, transform 0.18s; }
.tip.on { opacity: 1; transform: none; }
.tip b { display: block; margin: 3px 0 4px; font: 700 0.95rem/1.2 var(--display); color: color-mix(in srgb, var(--c) 35%, #fff); }
.tip .k { font: 600 0.58rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember-2); }
.hint { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); margin: 0; font: 600 0.6rem/1.5 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); text-align: center; pointer-events: none; }
.glitch { animation: glitch 3.2s steps(1) infinite; }
@keyframes glitch { 0%, 88%, 100% { transform: none; opacity: 1; } 89% { transform: translate(2px, -1px) skewX(8deg); opacity: 0.6; } 91% { transform: translate(-3px, 1px); opacity: 0.9; } 93% { transform: translate(1px, 0) skewX(-6deg); opacity: 0.5; } }
/* the map key */
.mapkey { position: absolute; z-index: 4; right: 58px; bottom: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.mapkey-b { height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: rgb(10 10 13 / 0.8); cursor: pointer; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.2em; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.mapkey-b:hover, .mapkey-b[aria-expanded="true"] { color: var(--ink); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.mapkey ul { margin: 0; padding: 12px 14px; list-style: none; display: grid; gap: 6px; border: 1px solid var(--line-2); border-radius: 12px; background: rgb(8 8 10 / 0.94); backdrop-filter: blur(8px); }
.mapkey ul[hidden] { display: none; }
.mapkey li { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--muted); }
.kicon { width: 34px; height: 34px; flex: 0 0 auto; overflow: visible; }
/* a level's art and briefing */
.dest-art { position: absolute; inset: -4%; background: var(--art, none) center 30% / cover no-repeat; opacity: 0.09; filter: saturate(0.6) blur(2px); animation: artDrift 38s ease-in-out infinite alternate; }
@keyframes artDrift { from { background-position: 46% 28%; } to { background-position: 54% 34%; } }
.dest::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgb(5 5 6 / 0.85), transparent 36%); }
.dest .map-area { z-index: 2; left: min(420px, 34vw); top: var(--top); }
.brief { position: absolute; z-index: 3; left: 18px; bottom: 18px; width: min(380px, calc(34vw - 10px)); max-height: calc(100% - var(--top) - 36px); overflow: auto; padding: 22px 22px 18px;
  border: 1px solid color-mix(in srgb, var(--c) 35%, var(--line)); border-top: 2px solid var(--c); border-radius: 14px; background: var(--panel); backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.06); animation: briefIn 0.8s cubic-bezier(.2,.8,.2,1) 0.15s backwards; }
@keyframes briefIn { from { opacity: 0; transform: translateX(-30px); } }
.brief-ico { float: right; display: flex; gap: 6px; margin: 0 0 6px 10px; }
.brief-ico img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--c) 65%, transparent)); }
.eyebrow { margin: 0 0 6px; font: 600 0.6rem/1.3 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember-2); }
.brief h1 { margin: 0 0 4px; font: 700 clamp(1.5rem, 1.1rem + 1.3vw, 2.2rem)/1.1 var(--display); letter-spacing: 0.04em; color: color-mix(in srgb, var(--c) 30%, #fff); text-shadow: 0 2px 18px color-mix(in srgb, var(--c) 40%, transparent); }
.meta { margin: 0 0 10px; font: 500 0.64rem/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.brief p { margin: 0 0 10px; font-size: 0.9rem; color: #d9d3ca; }
.brief q, .entry q { display: block; margin: 0 0 16px; font-style: italic; color: #f1e9dc; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border: 1px solid color-mix(in srgb, var(--c) 55%, var(--line-2)); border-radius: 9px; background: color-mix(in srgb, var(--c) 12%, rgb(10 10 13 / 0.7)); cursor: pointer; text-decoration: none; font: 700 0.68rem/1 var(--display); letter-spacing: 0.14em; transition: background 0.25s, box-shadow 0.3s, transform 0.2s; }
.btn:hover { background: color-mix(in srgb, var(--c) 26%, rgb(10 10 13 / 0.7)); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 40%, transparent); transform: translateY(-1px); }
.kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.kind { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 999px; background: none; cursor: pointer; font: 600 0.58rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.kind[aria-pressed="true"] { color: var(--ink); border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 14%, transparent); }
.kind b { color: var(--gold); font-weight: 600; }
.seal { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ring { width: 46px; height: 46px; flex: 0 0 auto; }
.seal-t { font: 600 0.62rem/1.45 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.seal-t b { display: block; color: var(--gold); font-size: 0.9rem; letter-spacing: 0.06em; }
.seal-t a { color: var(--ember-2); }

/* ---------- the record (dossier on the map, page in the Chronicle) ---------- */
/* the record beside the map: pristine coloured glass, a light trace down its left edge (round 2) */
.dossier { position: fixed; z-index: 25; top: 0; right: 0; bottom: 0; width: var(--dw); padding: calc(var(--top) + 26px) 40px 48px; overflow: auto; overscroll-behavior: contain;
  border-left: 1px solid color-mix(in srgb, var(--c) 45%, rgb(255 255 255 / 0.12));
  background: linear-gradient(115deg, rgb(255 255 255 / 0.07), transparent 22%, transparent 70%, rgb(255 255 255 / 0.03)), linear-gradient(180deg, color-mix(in srgb, var(--c) 16%, rgb(12 12 16 / 0.5)), rgb(10 10 13 / 0.62) 55%);   /* round 3: slightly more translucent */
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: -30px 0 60px rgb(0 0 0 / 0.55), inset 1px 0 0 rgb(255 255 255 / 0.1);
  transform: translateX(105%); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.dossier.on { transform: none; }
.dossier .trace { position: fixed; left: 0; top: 0; bottom: 0; width: 2px; overflow: hidden; pointer-events: none; }
.dossier .trace::before { content: ""; position: absolute; left: 0; width: 2px; height: 26%; top: -30%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--c) 40%, #fff), transparent); box-shadow: 0 0 12px var(--c); animation: trace 7s cubic-bezier(.5,0,.5,1) infinite 1.2s; }
@keyframes trace { 0% { top: -30%; } 35%, 100% { top: 105%; } }
.entry.in { animation: recIn 0.35s ease-out; }
.entry.out { opacity: 0; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s; }
@keyframes recIn { from { opacity: 0; transform: translateY(8px); } }
.ttl { display: flex; align-items: center; gap: 12px; margin: 4px 0 2px; }
.ttl h2 { margin: 0 !important; }
.x { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line-2)); border-radius: 50%; background: rgb(8 8 10 / 0.5); cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--muted); transition: color 0.2s, border-color 0.2s, box-shadow 0.3s, transform 0.25s; }
.x:hover, .x:focus-visible { color: var(--ink); border-color: var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 45%, transparent); transform: translateX(-2px); }
.claimslot { height: 22px; margin: 2px 0 6px; }
.claimed-tag { display: inline-block; font: 600 0.6rem/22px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); opacity: 0; }
.claimed-tag.on { opacity: 1; }
.claimed-tag.fresh { animation: foundIn 1.4s ease-out; }
@keyframes foundIn { 0% { opacity: 0; letter-spacing: 0.6em; } 40% { opacity: 1; text-shadow: 0 0 14px var(--gold); } 100% { letter-spacing: 0.18em; } }
.entry h2 { margin: 4px 0 6px; font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--display); letter-spacing: 0.02em; color: color-mix(in srgb, var(--c) 30%, #fff); }
.entry .subt { margin: -2px 0 10px; font: 600 0.7rem/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.entry .txt p { margin: 0 0 18px; color: #ddd7cd; line-height: 1.72; }
.entry .txt h3 { margin: 32px 0 10px; font: 700 0.95rem/1.3 var(--display); letter-spacing: 0.12em; color: var(--gold); }
.entry .lead { font-size: 1.04rem; font-style: italic; color: #f1e9dc; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.tags:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 5px; font: 600 0.58rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid currentColor; }
.tag.frag { color: var(--frag); background: rgb(224 166 58 / 0.08); }
.tag.sealed { color: var(--sealed); background: rgb(138 143 168 / 0.08); }
.tag.unver { color: var(--unver); background: rgb(255 179 71 / 0.08); }
.tag.lock { color: #ff8a8a; background: rgb(255 90 90 / 0.08); }
.tag.found { color: var(--gold); border-color: transparent; padding-left: 0; }
.tag.found.fresh { animation: foundIn 1.4s ease-out; }
@keyframes foundIn { 0% { opacity: 0; letter-spacing: 0.6em; } 40% { opacity: 1; text-shadow: 0 0 14px var(--gold); } 100% { letter-spacing: 0.16em; } }
.block { position: relative; margin: 26px 0; padding: 18px 20px; border-radius: 10px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03); }
.block > .k { margin-top: 0; }
.block.frag { border-color: rgb(224 166 58 / 0.4); border-left: 3px solid var(--frag); background: linear-gradient(90deg, rgb(224 166 58 / 0.07), transparent 60%); }
.block.frag blockquote { margin: 0 0 10px; padding: 0; font-size: 0.92rem; color: #e2d9c8; }
.block.frag cite { display: block; margin-top: 2px; font: 600 0.58rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.block.frag cite a { color: var(--frag); }
.block.unver { border-color: rgb(255 179 71 / 0.45); border-left: 3px solid var(--unver); background: repeating-linear-gradient(135deg, rgb(255 179 71 / 0.05) 0 10px, transparent 10px 20px); }
.block.unver p { margin: 0; color: #f0dfc0; }
.block.sealedb { overflow: hidden; margin: 44px 0 40px; border-color: rgb(138 143 168 / 0.35); background: rgb(20 22 30 / 0.6); text-align: center; padding: 34px 16px 28px; }
.block.sealedb::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 3px); animation: scan 4s linear infinite; }
.block.sealedb::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%; pointer-events: none; background: linear-gradient(180deg, transparent, rgb(170 180 220 / 0.12), transparent); animation: scanBar 3.2s linear infinite; }
@keyframes scan { to { background-position: 0 60px; } }
@keyframes scanBar { to { top: 110%; } }
.block.sealedb strong { position: relative; display: inline-block; font: 700 1.15rem/1.2 var(--display); letter-spacing: 0.24em; color: #b6bcd6; text-shadow: 0 0 12px rgb(138 143 168 / 0.6); animation: sealGlitch 4s steps(1) infinite; }
.block.sealedb strong::before, .block.sealedb strong::after { content: attr(data-t); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.block.sealedb strong::before { color: #ff6a8a; animation: sealSplit 4s steps(1) infinite; }
.block.sealedb strong::after { color: #6ad6ff; animation: sealSplit 4s steps(1) infinite 0.12s; }
@keyframes sealGlitch { 0%, 84%, 100% { transform: none; opacity: 1; } 85% { transform: translateX(3px) skewX(10deg); opacity: 0.7; } 87% { transform: translateX(-4px); } 89% { transform: none; opacity: 0.4; } 90% { opacity: 1; } }
@keyframes sealSplit { 0%, 84%, 92%, 100% { opacity: 0; transform: none; } 85% { opacity: 0.7; transform: translate(-3px, 1px); clip-path: inset(10% 0 55% 0); } 88% { opacity: 0.6; transform: translate(3px, -1px); clip-path: inset(55% 0 8% 0); } }
.block.sealedb span { display: block; margin-top: 12px; font-size: 0.82rem; color: var(--dim); }
.block.lockb { border-color: rgb(255 120 120 / 0.35); background: radial-gradient(ellipse at 50% 0%, rgb(255 90 90 / 0.08), transparent 70%); text-align: center; }
.block.lockb strong { display: block; font: 700 1rem/1.3 var(--display); letter-spacing: 0.16em; color: #ffb0a0; }
.k { margin: 34px 0 12px; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--c) 9%, transparent); text-decoration: none; font: 600 0.64rem/1.2 var(--mono); letter-spacing: 0.06em; transition: background 0.2s, box-shadow 0.2s; }
.chip:hover, .chip:focus-visible { background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 40%, transparent); }
.chip.unread::after { top: -3px; right: -3px; width: 7px; height: 7px; }
.cards { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.cards button { flex: 0 0 76px; padding: 0; border: 0; border-radius: 5px; background: none; cursor: pointer; scroll-snap-align: start; transition: transform 0.25s, box-shadow 0.25s; transform: perspective(500px) rotateY(-8deg); }
.cards button:hover, .cards button:focus-visible { transform: perspective(500px) rotateY(0) translateY(-4px); box-shadow: 0 0 0 1px var(--c), 0 10px 18px rgb(0 0 0 / 0.55); }
.cards img { display: block; width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 5px; }
.claimrow { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 40px 0 10px; padding-top: 26px; border-top: 1px solid var(--line); text-align: center; }
.claimrow small { color: var(--muted); font-size: 0.78rem; }
.btns.other { justify-content: center; margin-top: 28px; }
/* CLAIM RECORD: a light sweep on hover; on click a shine, then gold turns to silver and reads CLAIMED, same size */
.btn.claim { --c: var(--gold); min-width: 230px; height: 44px; color: #1c1203; border-color: transparent; background: linear-gradient(180deg, #ffe7b4, #f0c27a 45%, #c98d33); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), 0 6px 18px rgb(240 194 122 / 0.25); transition: background 0.6s, color 0.6s, box-shadow 0.4s, transform 0.2s; }
.btn.claim::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.75) 50%, transparent 70%); transform: translateX(-130%); }
.btn.claim:hover::after { animation: sweep 0.8s ease; }
.btn.claim:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), 0 0 26px rgb(240 194 122 / 0.55); }
.btn.claim.shine::after { animation: sweep 0.6s ease; }
.btn.claim.shine { animation: claimFlash 0.7s ease-out; }
@keyframes claimFlash { 40% { box-shadow: 0 0 40px rgb(255 240 200 / 0.9), inset 0 0 20px #fff; filter: brightness(1.4); } }
.btn.claim.claimed { cursor: default; color: #20242c; background: linear-gradient(180deg, #f4f6fa, #c9ced8 45%, #8d94a3); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), 0 0 18px rgb(200 210 230 / 0.25); transform: none; }
.btn.claim.claimed::after { animation: none; }
.btn[disabled] { cursor: default; }

/* ---------- Chronicle ---------- */
.chron { overflow: auto; padding: calc(var(--top) + 18px) 24px 60px; scroll-padding-top: calc(var(--top) + 10px); }
.chron-in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; }
.chron-head { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin: 6px 0 22px; }
.chron-head h1 { margin: 0; font: 700 clamp(1.8rem, 1.3rem + 2vw, 3rem)/1.05 var(--display); letter-spacing: 0.06em; color: #fff; text-shadow: 0 0 30px rgb(255 122 26 / 0.3); }
.chron-head p { margin: 0; color: var(--muted); max-width: 640px; }
.chron-head .grow { flex: 1; }
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.book { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 210px; padding: 18px; border-radius: 12px; text-decoration: none; border: 1px solid var(--line-2); border-top: 2px solid var(--c);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, #101015), #0b0b0e 70%); box-shadow: 0 18px 40px rgb(0 0 0 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.06);
  transform: perspective(900px) rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)); transition: transform 0.25s ease-out, box-shadow 0.3s; }
.book:hover, .book:focus-visible { box-shadow: 0 24px 50px rgb(0 0 0 / 0.55), 0 0 26px color-mix(in srgb, var(--c) 30%, transparent); outline: none; }
.book .emb { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 35%, #fff), var(--c) 40%, color-mix(in srgb, var(--c) 40%, #000) 90%); box-shadow: inset -5px -7px 12px rgb(0 0 0 / 0.5), inset 3px 3px 6px rgb(255 255 255 / 0.35), 0 10px 20px rgb(0 0 0 / 0.5); transform: translateZ(20px); }
.book .emb svg { width: 30px; height: 30px; fill: #fff; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.6)); }
.book .emb img { width: 40px; height: 40px; object-fit: contain; }
.book h2 { margin: 4px 0 0; font: 700 1.25rem/1.15 var(--display); letter-spacing: 0.05em; }
.book p { margin: 0; font-size: 0.84rem; color: var(--muted); }
.book .meter { margin-top: auto; }
.meter { display: flex; align-items: center; gap: 10px; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); }
.meter .bar { flex: 1; height: 5px; border-radius: 3px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--c), var(--gold)); box-shadow: 0 0 8px var(--c); }
.chron-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; align-items: start; }
.rail { position: sticky; top: 0; display: flex; flex-direction: column; gap: 4px; }
.rail a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; text-decoration: none; font: 600 0.68rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border: 1px solid transparent; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.rail a:hover { color: var(--ink); background: rgb(255 255 255 / 0.04); }
.rail a[aria-current] { color: var(--ink); border-color: color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.rail a span:first-of-type { flex: 1; }
.rail a small { color: var(--dim); font-size: 0.58rem; }
.shelf { margin: 0 0 30px; }
.shelf-h { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.shelf-h img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 60%, transparent)); }
.shelf-h h2 { margin: 0; flex: 1; font: 700 1.1rem/1.2 var(--display); letter-spacing: 0.08em; color: color-mix(in srgb, var(--c) 30%, #fff); }
.shelf-h .meter { flex: 0 0 200px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.tile { position: relative; display: flex; align-items: center; gap: 10px; height: 100%; padding: 10px 12px; border-radius: 9px; text-decoration: none; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.01)); transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.tile:hover, .tile:focus-visible { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); transform: translateY(-2px); outline: none; }
.mk { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: #fff; border-radius: 50%; background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--c) 30%, #fff) 0%, var(--c) 34%, color-mix(in srgb, var(--c) 45%, #000) 78%, #050506 100%); box-shadow: inset -4px -6px 10px rgb(0 0 0 / 0.55), inset 2px 3px 5px rgb(255 255 255 / 0.35), 0 6px 14px rgb(0 0 0 / 0.6); }
.mk svg { width: 19px; height: 19px; fill: #fff; filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.6)); }
.mk img { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.7)); }
.tile .mk { width: 32px; height: 32px; flex: 0 0 auto; }
.tile .mk svg { width: 15px; height: 15px; }
.tile.k-place .mk { width: 26px; height: 26px; margin: 0 3px; }
.tile .t { min-width: 0; font: 600 0.82rem/1.25 var(--body); }
.tile .t small { display: block; margin-top: 2px; font: 600 0.54rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tile .t small.frag { color: var(--frag); } .tile .t small.sealed { color: var(--sealed); } .tile .t small.lock { color: #ff9a8a; }
.tile.claimed::before { content: "◆"; position: absolute; right: 10px; bottom: 8px; font-size: 0.7rem; color: var(--gold); text-shadow: 0 0 6px var(--gold); }
.tile.sealedt .mk { filter: saturate(0.2) brightness(0.75); }
.page-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.toc { position: sticky; top: 0; max-height: calc(100vh - var(--top) - 40px); overflow: auto; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgb(10 10 13 / 0.6); }
.toc h2 { margin: 0 0 10px; font: 600 0.62rem/1.3 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember-2); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: pg; }
.toc li { counter-increment: pg; }
.toc a { position: relative; display: flex; gap: 10px; padding: 6px 8px; border-radius: 6px; text-decoration: none; font-size: 0.82rem; color: var(--muted); }
.toc a::before { content: counter(pg, upper-roman); min-width: 30px; font: 600 0.6rem/1.9 var(--mono); color: var(--dim); }
.toc a:hover { color: var(--ink); background: rgb(255 255 255 / 0.04); }
.toc a[aria-current] { color: var(--ink); background: color-mix(in srgb, var(--c) 14%, transparent); }
.toc a.unread::after { top: 9px; right: 6px; width: 7px; height: 7px; }
.sheet { position: relative; padding: 26px 30px 30px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); border-top: 2px solid var(--c);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 8%, rgb(10 10 13 / 0.92)), rgb(10 10 13 / 0.92) 40%); box-shadow: 0 30px 60px rgb(0 0 0 / 0.5); max-width: 780px; }
.sheet .txt { font-size: 1.02rem; }
.pager { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }

/* ---------- Sigils ---------- */
.sigils { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.sigil { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(170deg, color-mix(in srgb, var(--c) 12%, #0e0e12), #0a0a0d 70%); box-shadow: 0 18px 40px rgb(0 0 0 / 0.45); }
.sigil.earned { border-color: rgb(240 194 122 / 0.55); box-shadow: 0 18px 40px rgb(0 0 0 / 0.45), 0 0 30px rgb(240 194 122 / 0.18); }
.sigil-top { display: flex; align-items: center; gap: 14px; }
.emblem { position: relative; width: 74px; height: 84px; flex: 0 0 auto; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 40%, #fff) 0%, var(--c) 35%, color-mix(in srgb, var(--c) 30%, #000) 100%); }
.emblem::before { content: ""; position: absolute; inset: 3px; clip-path: inherit; background: radial-gradient(circle at 35% 25%, #2a2a33, #0b0b0e 75%); }
.emblem img, .emblem svg { position: relative; width: 40px; height: 40px; object-fit: contain; fill: var(--c); }
.sigil:not(.earned) .emblem { filter: grayscale(0.6) brightness(0.8); }
.sigil.earned .emblem { animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 14px rgb(240 194 122 / 0.5)); }
.sigil h2 { margin: 0; font: 700 1.1rem/1.2 var(--display); letter-spacing: 0.06em; }
.sigil .title { font: 600 0.62rem/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.sigil .opens { font-size: 0.8rem; color: var(--muted); }
.sigil .opens b { color: #ffb0a0; font-weight: 600; }
.reqs { display: flex; flex-wrap: wrap; gap: 4px; max-height: 120px; overflow: auto; }
.reqs a { padding: 2px 7px; border-radius: 4px; text-decoration: none; font: 600 0.56rem/1.5 var(--mono); letter-spacing: 0.04em; background: rgb(255 255 255 / 0.05); color: var(--dim); }
.reqs a.got { color: var(--ink); background: color-mix(in srgb, var(--c) 20%, transparent); }

/* ---------- card popup ---------- */
.pop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgb(5 5 6 / 0.82); backdrop-filter: blur(6px); animation: fadeIn 0.3s ease; }
.pop[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.pop-in { position: relative; display: grid; grid-template-columns: minmax(220px, 330px) minmax(0, 380px); gap: 26px; align-items: center; max-height: 100%; overflow: auto; padding: 26px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line-2)); background: linear-gradient(170deg, color-mix(in srgb, var(--c) 12%, #0d0d11), #09090c 60%); box-shadow: 0 40px 80px rgb(0 0 0 / 0.7); animation: popIn 0.45s cubic-bezier(.2,.8,.2,1.1); }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
.pop-in .x { position: absolute; top: 12px; right: 12px; margin: 0; float: none; }
.pop h2 { margin: 0 0 4px; font: 700 1.5rem/1.15 var(--display); color: color-mix(in srgb, var(--c) 30%, #fff); }
.pop .line { margin: 0 0 12px; font: 600 0.64rem/1.5 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 12px; }
.stats div { padding: 8px 6px; border-radius: 8px; border: 1px solid var(--line-2); text-align: center; background: rgb(255 255 255 / 0.03); }
.stats b { display: block; font: 700 1.15rem/1 var(--display); }
.stats span { font: 600 0.52rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pop .lore { font-style: italic; color: #efe6d8; margin: 0 0 12px; }
.pop .rules { margin: 0 0 14px; padding: 12px; border-radius: 9px; background: rgb(255 255 255 / 0.03); border: 1px solid var(--line); font-size: 0.84rem; color: #d9d3ca; white-space: pre-line; }
.pop .rules .sym { padding: 0 4px; border-radius: 3px; font: 600 0.62rem/1.4 var(--mono); letter-spacing: 0.06em; background: rgb(255 122 26 / 0.14); color: var(--ember-2); }

/* ---------- the Codex loading screen (round 2): the sigil draws itself in ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 6px; background: radial-gradient(ellipse at 50% 45%, #140b05 0%, #050506 62%); transition: opacity 0.8s ease, visibility 0.8s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader.done .ld-sig { transform: scale(1.25); transition: transform 0.9s cubic-bezier(.4,0,.2,1); }
.ld-sig { width: min(220px, 52vw); height: auto; overflow: visible; }
.ld-ln { fill: none; stroke: #ffb15c; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ldDraw 1.2s cubic-bezier(.4,0,.2,1) forwards; }
.ld-ln.thin { stroke-width: 0.7; stroke-opacity: 0.6; }
.ld-ln.dash { stroke-dasharray: 2 6; stroke-dashoffset: 0; animation: ldFade 1s ease 0.6s backwards; }
path.ld-t { stroke-dasharray: none; stroke-dashoffset: 0; animation: ldFade 0.8s ease 0.5s backwards; }
.ld-b { animation-delay: 0.15s; } .ld-c { animation-delay: 0.3s; } .ld-d { animation-delay: 0.45s; } .ld-e { animation-delay: 0.6s; }
@keyframes ldDraw { to { stroke-dashoffset: 0; } }
@keyframes ldFade { from { opacity: 0; } }
.ld-core { fill: #fff1d6; filter: drop-shadow(0 0 8px #ff8a2a); animation: ldCore 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ldCore { 50% { transform: scale(1.6); opacity: 0.7; } }
.ld-spin { animation: spin 9s linear infinite; }
.ld-sat { fill: #ffd9a0; filter: drop-shadow(0 0 4px #ff8a2a); }
p.ld-t { margin: 18px 0 0; font: 700 1.1rem/1 var(--display); letter-spacing: 0.6em; padding-left: 0.6em; color: #ffe2a8; animation: ldTrack 1.6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes ldTrack { from { opacity: 0; letter-spacing: 1.2em; } }
.ld-s { margin: 0; font: 600 0.58rem/1 var(--mono); letter-spacing: 0.34em; text-transform: uppercase; color: var(--dim); animation: ldFade 1s ease 0.6s backwards; }
.ld-bar { width: 120px; height: 1px; margin-top: 14px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, #ffb15c, transparent); animation: ldBar 1.2s ease-in-out infinite; }
@keyframes ldBar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------- misc ---------- */
.toast { position: fixed; z-index: 60; left: 50%; bottom: 26px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 11px 18px; border-radius: 10px; border: 1px solid rgb(240 194 122 / 0.5); background: rgb(12 10 6 / 0.96); font: 600 0.7rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); box-shadow: 0 0 30px rgb(240 194 122 / 0.2); transition: opacity 0.3s, transform 0.4s cubic-bezier(.2,.8,.2,1.2); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.review td, .review th { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.84rem; }
.review th { font: 600 0.6rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember-2); }

@media (max-width: 1180px) and (min-width: 901px) {
  .modes, .find { width: 190px; } .centre { gap: 12px; } .rec-bar { display: none; }
}
@media (max-width: 900px) {
  :root { --top: 124px; }
  .top { flex-wrap: wrap; height: auto; min-height: var(--top); padding: 8px 10px; gap: 8px; align-content: flex-start; }
  .home:hover span, .home:focus-visible span { max-width: 0; opacity: 0; margin: 0; }
  .crumbs { order: 5; flex: 1 1 100%; max-width: none; }
  .centre { position: static; transform: none; order: 4; flex: 1 1 100%; gap: 8px; min-width: 0; }
  .rec-btn { order: 2; height: 34px; } .home { height: 34px; }
  .modes { width: auto; flex: 1 1 50%; }
  .findw { flex: 1 1 50%; min-width: 0; }
  .find { width: 100%; }
  .mapkey { right: 54px; bottom: calc(33% + 18px); }
  .rec-btn { padding: 7px 9px; } .rec-bar, .rec-t { display: none; }
  .dest .map-area { bottom: 34%; top: var(--top); left: 0; }
  .brief { left: 10px; right: 10px; bottom: 10px; width: auto; max-height: 33%; transform: none; padding: 14px; }
  .brief-ico img { width: 36px; height: 36px; }
  .brief p { font-size: 0.84rem; }
  .chron { padding: calc(var(--top) + 10px) 14px 50px; }
  .chron-grid, .page-grid { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .rail a { flex: 0 0 auto; }
  .rail a small { display: none; }
  .toc { position: static; max-height: 240px; order: 2; }
  .sheet { padding: 18px 16px; }
  .shelf-h .meter { flex-basis: 110px; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .pop-in { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .pop-in .c3d { max-width: 240px; margin: 0 auto; }
  .dossier { padding: calc(var(--top) + 14px) 20px 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .view, .view.leaving, .pin, .brief, .pop-in, .claimed-tag.fresh, .entry.in { animation: none !important; }
  .glitch, .bd-spin, .rm-sat, .rt-spin, .rt-pulse, .sheen::before, .sigil.earned .emblem, .block.sealedb::before, .block.sealedb::after, .block.sealedb strong, .dossier .trace::before { animation: none !important; }
  .dest-art { animation-duration: 120s; }
  .tether.on { animation: none; }
}

/* ================= round 3 (user, 2026-11-09): records, Sigils, card popup ================= */
/* the record's close button: outside the panel, on its left edge, level with the title; it slides with the panel */
.dos-x { position: fixed; z-index: 26; top: 110px; right: var(--dw); width: 42px; height: 50px; display: grid; place-items: center; padding: 0; cursor: pointer; color: var(--muted);
  border: 1px solid color-mix(in srgb, var(--c, #ff7a1a) 45%, rgb(255 255 255 / 0.14)); border-right: 0; border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c, #ff7a1a) 14%, rgb(16 16 20 / 0.7)), rgb(10 10 13 / 0.78)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: -12px 8px 26px rgb(0 0 0 / 0.45), inset 1px 0 0 rgb(255 255 255 / 0.08);
  transform: translateX(calc(var(--dw) + 60px)); transition: transform 0.6s cubic-bezier(.2,.8,.2,1), color 0.2s, box-shadow 0.3s; }
body.dossier-on .dos-x { transform: none; }
.dos-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform 0.35s ease; }
.dos-x:hover, .dos-x:focus-visible { color: #fff; outline: none; box-shadow: -12px 8px 26px rgb(0 0 0 / 0.45), -6px 0 20px color-mix(in srgb, var(--c, #ff7a1a) 45%, transparent); }
.dos-x:hover svg { transform: rotate(90deg); }
.entry h2.ttl { display: block; margin: 4px 0 10px; }
.claimslot { margin: 0 0 4px; }

/* a record's picture behind its heading, fading into the glass */
.entry { position: relative; isolation: isolate; }
.rec-art { position: absolute; z-index: -1; left: -40px; right: -40px; top: calc(-1 * (var(--top) + 26px)); height: 380px; pointer-events: none; background: var(--art) center 22% / cover no-repeat; opacity: 0.4;
  -webkit-mask: linear-gradient(180deg, #000 25%, transparent); mask: linear-gradient(180deg, #000 25%, transparent); animation: artIn 1.4s ease both; }
.sheet .rec-art { left: 0; right: 0; top: 0; height: 320px; border-radius: 12px 12px 0 0; }
@keyframes artIn { from { opacity: 0; transform: scale(1.04); } }
.entry.has-art h2, .entry.has-art .eyebrow { text-shadow: 0 2px 16px #000, 0 0 2px #000; }

/* CLAIM RECORD: gold, a sweep when the record opens; on click a press, a flash, a ring and sparks, then the gold melts
   into silver (a silver layer fades in) while the words cross-fade; the silver CLAIMED sweeps on opening and every few seconds */
.claimwrap { position: relative; display: inline-block; }
.btn.claim .lbl { position: relative; z-index: 1; transition: opacity 0.3s, filter 0.3s, letter-spacing 0.3s; }
.btn.claim .lbl.swap { opacity: 0; filter: blur(4px); letter-spacing: 0.3em; }
.btn.claim::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #f6f8fc, #cdd2dc 45%, #8d94a3); opacity: 0; transition: opacity 1.1s ease 0.1s; }
.btn.claim::after { z-index: 2; }
.btn.claim.claimed { background: linear-gradient(180deg, #ffe7b4, #f0c27a 45%, #c98d33); }
.btn.claim.claimed::before { opacity: 1; }
.btn.claim.intro:not(.claimed)::after { animation: sweep 1.1s ease 0.6s 1; }
.btn.claim.claimed.intro::after { background: linear-gradient(105deg, transparent 32%, rgb(255 255 255 / 0.95) 47%, rgb(190 215 255 / 0.75) 53%, transparent 68%); animation: metal 6.5s ease-in-out 0.5s infinite; }
@keyframes metal { 0% { transform: translateX(-130%); } 18%, 100% { transform: translateX(130%); } }
.btn.claim.shine { animation: claimPress 0.5s ease-out; }
@keyframes claimPress { 25% { transform: scale(0.94); } 60% { transform: scale(1.04); box-shadow: 0 0 48px rgb(255 236 190 / 0.9), inset 0 0 18px #fff; filter: brightness(1.3); } 100% { transform: none; } }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; pointer-events: none; }
.burst .ring { position: absolute; left: -115px; top: -22px; width: 230px; height: 44px; border-radius: 10px; border: 1.5px solid rgb(255 236 196 / 0.95); box-shadow: 0 0 18px rgb(255 220 150 / 0.6); animation: ringOut 0.85s ease-out forwards; }
@keyframes ringOut { to { opacity: 0; transform: scale(1.3, 2); } }
.burst .spark { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #fff6dd; box-shadow: 0 0 8px #ffd98a, 0 0 2px #fff; animation: spark var(--t) cubic-bezier(.1,.7,.3,1) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(0.3); opacity: 0; } }

/* VIEW CHRONICLE: the record and the briefing slide away and the map fades before the view changes */
body.to-chron .dossier, body.to-chron .dos-x { transform: translateX(calc(var(--dw) + 60px)); transition-duration: 0.5s; }
/* batch 6 (item 221): only the view being left fades (fade-out), never the one arriving */
.view.fade-out .brief { animation: briefOut 0.45s ease forwards; }
.view.fade-out { animation: mapOut 0.5s ease forwards !important; pointer-events: none; }
@keyframes briefOut { to { opacity: 0; transform: translate(-36px, 24px); } }
@keyframes mapOut { to { opacity: 0; filter: blur(5px); } }

/* the header: a displayed Sigil's emblem and name beside the progress bar */
.rec-sig { display: flex; align-items: center; }
.rec-sig[hidden] { display: none; }
.rec-sig .emblem { width: 24px; height: 27px; }
.rec-sig .emblem img, .rec-sig .emblem svg { width: 14px; height: 14px; }
.rec-btn.shown .rec-t { color: #ffe2a8; text-shadow: 0 0 10px rgb(240 194 122 / 0.45); }

/* Sigils: a way back, large outlined hexagons, no scrolling lists; a Sigil opens its own window */
.sig-back { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.sig-back .btn { --c: var(--gold); padding: 12px 18px; font-size: 0.74rem; }
.sig-back .btn.ghost { background: transparent; }
.sigils { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; transition: filter 0.4s ease, opacity 0.4s ease; }
.sigil { flex-direction: row; align-items: center; gap: 22px; padding: 20px 22px; overflow: hidden; color: inherit; text-decoration: none; transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.4s; }
.sigil::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.12) 50%, transparent 65%); transform: translateX(-130%); }
.sigil:hover, .sigil:focus-visible { outline: none; transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 60%, var(--line-2)); box-shadow: 0 22px 44px rgb(0 0 0 / 0.5), 0 0 26px color-mix(in srgb, var(--c) 28%, transparent); }
.sigil:hover::after { animation: sweep 0.9s ease; }
.sigil.shown { border-color: rgb(240 194 122 / 0.8); }
.emblem { width: 104px; height: 118px; }
.emblem img, .emblem svg { width: 62px; height: 62px; }
.emblem.big { width: 168px; height: 192px; }
.emblem.big img, .emblem.big svg { width: 100px; height: 100px; }
.sigil-b { flex: 1; min-width: 0; display: grid; gap: 8px; }
.sigil .sub, .sig-hero .sub { margin: 0; font: 600 0.58rem/1.3 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.sigil h2 { font-size: 1.28rem; color: color-mix(in srgb, var(--c) 25%, #fff); }
.sigil .state { margin: 0; font: 600 0.58rem/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.sig-sum { min-width: 240px; display: grid; gap: 8px; }
.sig-sum .meta { margin: 0; }
.sig-page.win-on .sigils { filter: blur(4px) brightness(0.45); opacity: 0.7; pointer-events: none; }
.sig-win { position: fixed; z-index: 30; inset: calc(var(--top) + 18px) max(16px, 5vw) 18px; display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: 36px; padding: 34px 34px 28px;
  border-radius: 18px; border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line-2));
  background: linear-gradient(115deg, rgb(255 255 255 / 0.06), transparent 25%), linear-gradient(170deg, color-mix(in srgb, var(--c) 14%, rgb(12 12 16 / 0.82)), rgb(8 8 10 / 0.9) 60%);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 90px rgb(0 0 0 / 0.7); animation: winIn 0.45s cubic-bezier(.2,.8,.2,1); }
.sig-win.out { opacity: 0; transform: scale(0.98); transition: opacity 0.3s, transform 0.3s; }
@keyframes winIn { from { opacity: 0; transform: scale(0.97) translateY(10px); } }
.sig-close { position: absolute; z-index: 2; top: 16px; left: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line-2)); background: rgb(8 8 10 / 0.5); color: var(--muted); text-decoration: none; font-size: 1.5rem; line-height: 1; transition: color 0.2s, border-color 0.2s, box-shadow 0.3s, transform 0.25s; }
.sig-close:hover, .sig-close:focus-visible { color: #fff; border-color: var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 45%, transparent); transform: translateX(-2px); outline: none; }
.sig-hero { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 6px 0; text-align: center; overflow: auto; }
.sig-hero .emblem.big { filter: drop-shadow(0 0 26px color-mix(in srgb, var(--c) 45%, transparent)); animation: float 6s ease-in-out infinite; }
.sig-hero h2 { margin: 6px 0 0; font: 700 clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem)/1.15 var(--display); letter-spacing: 0.04em; color: color-mix(in srgb, var(--c) 25%, #fff); }
.sig-hero .note { margin: 0; max-width: 36ch; color: #d9d3ca; font-size: 0.95rem; line-height: 1.6; }
.sig-hero .meter { align-self: stretch; }
.sig-hero .opens { margin: 0; font-size: 0.82rem; color: #ffb0a0; }
.sig-reqs { display: flex; flex-direction: column; min-height: 0; padding-top: 6px; }
.sig-reqs ol + .k { margin-top: 18px; }
.sig-reqs .k { margin: 0 0 12px; font: 600 0.62rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.sig-reqs ol { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; align-content: start; overflow: auto; scrollbar-width: thin; }
.sig-reqs li a, .sig-reqs li .row { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgb(255 255 255 / 0.03); color: var(--dim); text-decoration: none; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.sig-reqs li a:hover, .sig-reqs li a:focus-visible { outline: none; color: #fff; border-color: color-mix(in srgb, var(--c) 60%, var(--line-2)); background: color-mix(in srgb, var(--c) 10%, transparent); }
.sig-reqs .chk { grid-row: span 2; width: 10px; height: 10px; transform: rotate(45deg); border: 1.5px solid rgb(255 255 255 / 0.3); }
.sig-reqs li.got .chk { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px rgb(240 194 122 / 0.7); }
.sig-reqs li.got a, .sig-reqs li.got .row { color: var(--ink); border-color: color-mix(in srgb, var(--c) 30%, var(--line)); background: color-mix(in srgb, var(--c) 9%, transparent); }
.sig-reqs .nm { font-weight: 600; font-size: 0.86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sig-reqs small { grid-column: 2; font: 600 0.52rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sig-reqs .st { grid-row: 1 / span 2; grid-column: 3; font: 600 0.52rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* the card popup: Card # and Set under the name, the finish switch, the lightbox, a fade on closing */
.pop.closing { animation: fadeOut 0.32s ease forwards; }
.pop.closing .pop-in { transform: scale(0.97); transition: transform 0.32s ease; }
@keyframes fadeOut { to { opacity: 0; } }
.pop .ids { margin: 0 0 8px; font: 600 0.66rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 45%, #fff); }
.pop-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pop-card { cursor: zoom-in; }
.pop-hint { margin: 0; font: 600 0.52rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.fin-sw { display: inline-flex; padding: 3px; gap: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(13 13 16 / 0.6); }
.fin-b { padding: 8px 13px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font: 700 0.6rem/1 var(--display); letter-spacing: 0.14em; transition: background 0.25s, color 0.25s, box-shadow 0.3s; }
.fin-b[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 30%, rgb(255 255 255 / 0.06)); color: #fff; box-shadow: 0 0 12px color-mix(in srgb, var(--c) 40%, transparent); }
.lbx { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgb(0 0 0 / 0.88); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s ease; cursor: zoom-out; touch-action: none; }
.lbx.on { opacity: 1; }
.lbx-card { width: min(92vw, calc(88vh * 5 / 7)); transform: scale(0.9); transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.lbx.on .lbx-card { transform: none; }
.lbx-card .c3d { width: 100%; max-width: none; cursor: zoom-out; }

@media (max-width: 900px) {
  .sig-win { grid-template-columns: minmax(0, 1fr); overflow: auto; inset: calc(var(--top) + 10px) 10px 10px; padding: 26px 18px 20px; gap: 22px; }
  .sig-reqs ol { overflow: visible; }
  .emblem { width: 84px; height: 96px; }
  .emblem img, .emblem svg { width: 50px; height: 50px; }
  .emblem.big { width: 128px; height: 146px; }
  .emblem.big img, .emblem.big svg { width: 76px; height: 76px; }
}
@media (max-width: 600px) {
  .dos-x { right: auto; left: 0; border: 1px solid color-mix(in srgb, var(--c, #ff7a1a) 45%, rgb(255 255 255 / 0.14)); border-left: 0; border-radius: 0 12px 12px 0; transform: translateX(105vw); }
  .dossier .entry h2.ttl { padding-left: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn.claim::after, .sigil::after, .burst, .rec-art, .sig-win, .sig-hero .emblem.big { animation: none !important; }
}

/* ---------- round 3, batch 2 (user, 2026-11-09): the maps ---------- */
/* 18, 19: Location marks larger and lit; a place to enter that still holds unclaimed records turns a ring and shows their number */
.ln.f.lit { fill: color-mix(in srgb, var(--c) 42%, transparent); }
.pin.k-world .ic, .pin.k-place .ic { filter: drop-shadow(0 0 9px color-mix(in srgb, var(--c) 70%, transparent)); }
.pin.k-world .lbl { font-size: 11px; font-weight: 700; fill: color-mix(in srgb, var(--c) 22%, #fff); }
.holds-ring { fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-dasharray: 3 7; opacity: 0.75; transform-box: fill-box; transform-origin: center; animation: spin 14s linear infinite; pointer-events: none; }
.holds-n circle { fill: #1a1206; stroke: var(--gold); stroke-width: 1; filter: drop-shadow(0 0 5px rgb(240 194 122 / 0.6)); }
.holds-n text { fill: var(--gold-2); font: 700 9px var(--mono); text-anchor: middle; pointer-events: none; }
.pin.holds:hover .holds-ring { opacity: 1; animation-duration: 5s; }
/* 22: unresolved records a little easier to see, each flickering on its own beat */
.pin.ghost { opacity: 0.8; --c: #a9aec8; animation: pinIn 0.6s ease-out backwards, ghostFlick 7s steps(1) var(--gd, 0s) infinite; }
.pin.ghost .lbl { fill: #9da2b8; }
@keyframes ghostFlick { 0%, 91%, 100% { opacity: 0.8; } 92% { opacity: 0.35; } 94% { opacity: 0.9; } 96% { opacity: 0.5; } }
/* 32: the survey grid near every map edge */
.sv-ln { fill: none; stroke: var(--c); stroke-opacity: 0.075; stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.sv-tk { fill: none; stroke: var(--c); stroke-opacity: 0.22; stroke-width: 1; vector-effect: non-scaling-stroke; }
.sv-edge { fill: none; stroke: var(--c); stroke-opacity: 0.12; stroke-width: 1; stroke-dasharray: 1 6; vector-effect: non-scaling-stroke; }
/* 24: the background art crossfades between levels and always moves a little (a slow drift and zoom) */
.art-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.art-img { position: absolute; inset: -6%; background: center 30% / cover no-repeat; opacity: calc(0.1 * var(--art-o, 1)); filter: saturate(0.6) blur(2px);
  animation: artBreathe 46s ease-in-out infinite alternate, artIn 1.6s ease both; transition: opacity 1.6s ease; }
.art-img.out { opacity: 0; }
@keyframes artIn { from { opacity: 0; } }
@keyframes artBreathe { 0% { transform: scale(1) translate(-1%, -0.5%); } 50% { transform: scale(1.08) translate(1%, 0.5%); } 100% { transform: scale(1.03) translate(-0.5%, 1%); } }
.dest-art { display: none; }
/* 20: going back up to the Omnium: the map sinks away and the Omnium settles in from above, both slower */
.view.leaving.back { animation: viewBack 0.95s cubic-bezier(.4,0,.2,1) both; }
@keyframes viewBack { to { opacity: 0; transform: scale(0.82); filter: blur(5px); } }
.view.from-map { animation: fromMap 1.15s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fromMap { from { opacity: 0; transform: scale(1.22); filter: blur(6px); } 40% { opacity: 0.4; } }
/* 26: the right button tilts the map */
.map-area.tilting { cursor: move; }
/* 27, 28: the Omnium has the briefing and the map key; the key button is a little larger */
.omni .map-area { left: min(420px, 34vw); top: var(--top); }
.omni::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgb(5 5 6 / 0.8), transparent 36%); }
.omni .map-area { z-index: 2; }
.omni .map-bg, .omni .map-svg { -webkit-mask-image: radial-gradient(ellipse 66% 68% at 55% 52%, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse 66% 68% at 55% 52%, #000 50%, transparent 100%); }
.mapkey-b { height: 38px; padding: 0 16px; font-size: 0.68rem; }
.mapkey li { white-space: nowrap; }
/* 34: the breadcrumbs larger on a computer */
@media (min-width: 901px) { .crumbs { font-size: 0.74rem; max-width: calc(50% - 270px); } .crumbs a { padding: 6px 5px; } }
/* 35: the loading screen: slower, three broken rings turning against each other round a nested diamond */
.ld-ln { animation-duration: 1.9s; }
.ld-b { animation-delay: 0.35s; } .ld-c { animation-delay: 0.7s; } .ld-c2 { animation-delay: 0.85s; } .ld-d { animation-delay: 1.05s; } .ld-e { animation-delay: 1.3s; } .ld-f { animation-delay: 1.5s; } .ld-g { animation-delay: 1.65s; }
path.ld-t { animation: ldFade 1.4s ease 0.9s backwards; }
.ld-r1 { animation: spin 16s linear infinite; } .ld-r2 { animation: spin 11s linear infinite reverse; } .ld-r3 { animation: spin 5s linear infinite; }
.ld-sat2 { fill: #ffd9a0; filter: drop-shadow(0 0 4px #ff8a2a); animation: ldFade 1s ease 1.8s backwards; }
.ld-ln.dash { animation: ldFade 1.4s ease 1.2s backwards; }
p.ld-t { animation-duration: 2.4s; }
.ld-s { animation: ldFade 1.4s ease 1s backwards; }
.ld-bar i { animation-duration: 1.8s; }
/* 44: map controls on one line */
.hint, .kind, .mapkey-b, .btn { white-space: nowrap; }
/* 42, 45: the phone header on one line (A, the switch, search as an icon, Sigil progress); no pause button */
.find-b { display: none; }
@media (max-width: 900px) {
  :root { --top: 84px; }
  .top { flex-wrap: wrap; gap: 6px; padding: 8px 10px 4px; }
  .home { order: 1; }
  .centre { order: 2; flex: 1 1 0; position: static; transform: none; gap: 6px; min-width: 0; }
  .modes { flex: 1 1 auto; min-width: 0; height: 34px; }
  .mode { gap: 5px; font-size: 0.56rem; letter-spacing: 0.1em; }
  .mode svg { display: none; }
  .findw { flex: 0 0 auto; position: static; }
  .find-b { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line-2); border-radius: 9px; background: rgb(10 10 13 / 0.85); color: var(--muted); cursor: pointer; }
  .find-b svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .findw.open .find-b { color: var(--ember); border-color: var(--ember); }
  .find { display: none; position: absolute; left: 10px; right: 10px; top: calc(100% + 2px); width: auto; z-index: 5; }
  .findw.open .find { display: block; }
  .hits { left: 10px; top: calc(100% + 48px); width: calc(100vw - 20px); }
  .rec-btn { order: 3; margin-left: 0; height: 34px; gap: 6px; padding: 6px 8px; }
  .rec-bar { display: block; width: 30px; } .rec-t { display: none; }
  .rec-n { font-size: 0.56rem; letter-spacing: 0.06em; }
  .crumbs { order: 5; flex: 1 1 100%; font-size: 0.56rem; }
  /* the Omnium's briefing is compact on a phone (title, buttons, progress), so the map keeps most of the screen */
  .omni .map-area { left: 0; bottom: 0; }
  .omni .brief { max-height: none; padding: 10px 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
  .omni .brief > p:not(.eyebrow), .omni .brief .meta { display: none; }
  .omni .brief .eyebrow { grid-column: 1 / -1; margin: 0; }
  .omni .brief h1 { font-size: 1.3rem; margin: 0; }
  .omni .brief .btns { grid-column: 1 / -1; margin: 6px 0 0; }
  .omni .brief .seal { grid-column: 2; grid-row: 2; margin: 0; padding: 0; border: 0; }
  .omni .brief .seal .ring { width: 34px; height: 34px; }
  .omni .hint, .omni .mapkey { bottom: 148px; }
  .kinds { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .hint { font-size: 0.5rem; letter-spacing: 0.12em; bottom: calc(34% + 14px); left: 12px; transform: none; text-align: left; }
  .mapkey { right: 12px; }
  .mapkey-b { height: 34px; padding: 0 12px; font-size: 0.6rem; }
  .btns { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .view.leaving.back, .view.from-map, .pin.ghost, .holds-ring, .ld-r1, .ld-r2, .ld-r3 { animation: none !important; }
  .art-img { animation: artIn 0.6s ease both; }
}

/* ================= round 3, batch 3, Part A (the user's review of batch 2, items 46 to 82) ================= */
/* 46: a claim: the header's Sigil text flashes and a light runs along its bar; a gold trace runs round the record's
   frame; the notice is larger and draws a small geometry */
.rec-btn.fx { animation: recFlash 1.6s ease-out; }
.rec-btn.fx .rec-t, .rec-btn.fx .rec-n { animation: recText 1.6s ease-out; }
.rec-btn.fx .rec-bar { position: relative; overflow: hidden; }
.rec-btn.fx .rec-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #fff6dd, transparent); transform: translateX(-100%); animation: barRun 1.1s ease-out 0.15s; }
@keyframes recFlash { 15% { border-color: var(--gold-2); box-shadow: 0 0 26px rgb(240 194 122 / 0.7), inset 0 0 12px rgb(240 194 122 / 0.25); } }
@keyframes recText { 10%, 40% { color: #fff6dd; text-shadow: 0 0 12px var(--gold), 0 0 22px var(--gold); } }
@keyframes barRun { to { transform: translateX(100%); } }
.claim-frame { position: absolute; inset: 1px; z-index: 5; pointer-events: none; }
.claim-frame.dos { position: fixed; inset: 0 0 0 auto; width: var(--dw); z-index: 27; }
.claim-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.claim-frame rect { fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-dasharray: 0.22 0.78; stroke-dashoffset: 0.22; filter: drop-shadow(0 0 6px var(--gold)); animation: frameRun 1.9s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes frameRun { 0% { stroke-dashoffset: 0.22; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }
.toast { display: flex; align-items: center; gap: 12px; }
.toast.big { padding: 16px 26px 16px 18px; font-size: 0.86rem; border-color: rgb(240 194 122 / 0.75); box-shadow: 0 0 46px rgb(240 194 122 / 0.32), inset 0 0 18px rgb(240 194 122 / 0.08); }
.t-geo { width: 40px; height: 40px; flex: 0 0 auto; overflow: visible; }
.t-geo * { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.tg-a, .tg-b, .tg-d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.toast.big.on .tg-a { stroke-dasharray: 0.2 0.05; animation: tgDraw 0.9s ease forwards, spin 7s linear infinite; }
.toast.big.on .tg-b { stroke-dasharray: 0.12 0.08; animation: tgDraw 0.9s ease 0.2s forwards, spin 5s linear infinite reverse; }
.toast.big.on .tg-d { animation: tgDraw 0.7s ease 0.45s forwards; fill: rgb(240 194 122 / 0.2); }
.tg-c { fill: #fff6dd !important; stroke: none !important; }
.toast.big.on .tg-c { animation: ldFade 0.5s ease 0.8s backwards; }
@keyframes tgDraw { to { stroke-dashoffset: 0; } }
/* 47: the selected icon flashes in the faction's colour when its record is claimed */
.claim-fx { pointer-events: none; }
.claim-fx circle { fill: none; transform-box: fill-box; transform-origin: center; }
.cf-core { fill: color-mix(in srgb, var(--c) 70%, #fff) !important; opacity: 0; animation: cfCore 0.9s ease-out; filter: blur(6px); }
.cf-ring { stroke: color-mix(in srgb, var(--c) 50%, #fff); stroke-width: 2.5; animation: cfRing 1.2s cubic-bezier(.2,.8,.2,1) forwards; }
.cf-ring.r2 { stroke-width: 1.2; animation-delay: 0.18s; opacity: 0; }
@keyframes cfCore { 20% { opacity: 0.85; } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes cfRing { 0% { opacity: 1; transform: scale(0.6); } 100% { opacity: 0; transform: scale(3.2); } }
/* 48: the claimed mark is a small gold seal, no words */
.claimed-tag { display: inline-flex; align-items: center; height: 22px; }
.claimed-tag svg { width: 20px; height: 20px; overflow: visible; filter: drop-shadow(0 0 6px rgb(240 194 122 / 0.6)); }
.claimed-tag .cs-r, .claimed-tag .cs-t { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.claimed-tag .cs-d { fill: rgb(240 194 122 / 0.22); stroke: var(--gold-2); stroke-width: 1.3; }
.claimed-tag .cs-i { fill: var(--gold-2); }
.claimed-tag.fresh { animation: sealIn 1.2s cubic-bezier(.2,.8,.2,1.3); }
@keyframes sealIn { 0% { opacity: 0; transform: scale(2.4) rotate(-45deg); filter: brightness(2); } 60% { opacity: 1; } }
/* 53: folded breadcrumbs */
.crumb-more { padding: 4px 6px; border: 1px solid var(--line-2); border-radius: 6px; background: none; color: var(--muted); cursor: pointer; font: inherit; letter-spacing: 0.1em; line-height: 1; }
.crumb-more:hover, .crumb-more:focus-visible { color: var(--ink); border-color: var(--ember); }
/* 54, 62, 65: the icon layer stands outside the tilted plane; the map fills the screen behind the panels; no mask on
   the map itself (the survey grid reaches the edges); the edges blur a little instead */
.map-ui { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-bg, .map-svg, .map-ui { will-change: transform; }
.map .map-svg { -webkit-mask-image: none; mask-image: none; }
.map-edge { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 78% 80% at 56% 52%, transparent 62%, rgb(5 5 6 / 0.5) 100%);
  -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px); -webkit-mask-image: radial-gradient(ellipse 74% 76% at 56% 52%, transparent 58%, #000 100%); mask-image: radial-gradient(ellipse 74% 76% at 56% 52%, transparent 58%, #000 100%); }
.dest .map-area, .omni .map-area { left: 0; }
.sv-ln { stroke-opacity: 0.05; } .sv-ln.s1 { stroke-opacity: 0.085; } .sv-ln.s2 { stroke-opacity: 0.12; } .sv-ln.s3 { stroke-opacity: 0.16; }
.sv-tk { stroke-opacity: 0.16; } .sv-tk.s1 { stroke-opacity: 0.24; } .sv-tk.s2 { stroke-opacity: 0.32; } .sv-tk.s3 { stroke-opacity: 0.4; }
/* 55, 56: the Realm marks' orreries and radials, always turning, each at its own pace */
.rm-rad { animation: spin var(--sp, 90s) linear infinite var(--dir, normal); }
.rm-orb { transform: rotate(var(--r0, 0deg)); animation: orb var(--sp, 60s) linear infinite var(--dir, normal); }
@keyframes orb { from { transform: rotate(var(--r0, 0deg)); } to { transform: rotate(calc(var(--r0, 0deg) + 360deg)); } }
.rm-halo { filter: none; opacity: 1; }
.rm-halo circle { fill: var(--c); opacity: 0.018; transition: opacity 0.5s; }
.realm:hover .rm-halo, .realm:focus-visible .rm-halo { opacity: 1; }
.realm:hover .rm-halo circle, .realm:focus-visible .rm-halo circle { opacity: 0.05; }
.ic-orb { animation: spin 38s linear infinite; }
/* 57: once drawn, the hover drawing waits a moment and then turns as well; the Chronarchs' turns faster and breathes */
.realm:hover .rm-drawg, .realm:focus-visible .rm-drawg, .centre-pin:hover .rm-drawg { animation: spin 60s linear 1.9s infinite; }
.realm:hover .rm-drawg.strong, .realm:focus-visible .rm-drawg.strong { animation: spin 16s linear 1.6s infinite, breathe 2.4s ease-in-out 1.6s infinite; }
@keyframes breathe { 50% { opacity: 0.55; } }
/* 58: a place to enter: its four points turn slowly round the circle on hover */
.pin.k-world:hover .ic-pts, .pin.k-world:focus-visible .ic-pts { animation: spin 9s linear infinite; }
/* 59: faction icons animate on hover: the dial turns and the emblem brightens and dims */
.pin.k-faction:hover .ic-turn, .pin.k-faction:focus-visible .ic-turn { animation: spin 7s linear infinite; }
.pin.k-faction:hover .ic-img, .pin.k-faction:focus-visible .ic-img { animation: facGlow 1.8s ease-in-out infinite; }
@keyframes facGlow { 50% { opacity: 0.75; } }
/* 61: unresolved signals: no blinking and no redacted text; a faint outline in the Realm's colour and a rare glitch */
.pin.ghost { animation: pinIn 0.6s ease-out backwards; opacity: 0.8; }
.pin.ghost .gh { animation: ghGlitch var(--gt, 12s) steps(1) var(--gd, 0s) infinite; }
.gh-ol { fill: none; stroke: var(--fc, #a9aec8); stroke-opacity: 0.32; stroke-width: 1; }
@keyframes ghGlitch { 0%, 93%, 100% { transform: none; opacity: 1; } 94% { transform: translate(2.5px, 0) skewX(14deg); opacity: 0.55; } 95.5% { transform: translate(-2px, 1px); opacity: 0.9; } 97% { transform: translate(1px, 0) scaleX(1.18); opacity: 0.6; } }
/* 63: seen only when zoomed in very close: a fine lattice and a slow scan line */
.micro { opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.map-area.deep .micro { opacity: 1; }
.mc-x { fill: none; stroke: var(--c); stroke-opacity: 0.32; stroke-width: 0.35; }
.mc-d { fill: var(--c); fill-opacity: 0.4; }
.mc-scan { fill: var(--c); fill-opacity: 0.05; animation: scanY 9s linear infinite paused; }
.map-area.deep .mc-scan { animation-play-state: running; }
@keyframes scanY { from { transform: translateY(-400px); } to { transform: translateY(1700px); } }
/* 66: the Veil ring drawn without a blur filter */
.orbit.veil { filter: none; stroke: rgb(255 255 255 / 0.012); stroke-width: 70; }
.orbit.veil.v2 { stroke: rgb(255 255 255 / 0.02); stroke-width: 24; }
/* 67: the art fades in by a transition (no blink); the left panel slides and fades out when a map is left */
.art-img { animation: artBreathe 46s ease-in-out infinite alternate; transition: opacity 1.8s ease; }
.art-img.pre { opacity: 0; }
.view.leaving .brief { animation: briefOut 0.45s ease forwards; }
/* 68: terrain: dim shoals round the land, filled land towards the centre, open lines further out */
.tr-shoal { fill: var(--c); fill-opacity: 0.016; stroke: var(--c); stroke-opacity: 0.06; stroke-width: 1; stroke-dasharray: 1 6; vector-effect: non-scaling-stroke; }
.tr-fill { fill-opacity: 0.045; } .tr-fill.soft { fill-opacity: 0.022; }
.tr-ln.faint { stroke-opacity: 0.065; }
/* 70: one large, wide radial movement on each map */
.w-turn { animation: spin var(--wsp, 90s) linear infinite; }
.w-turn.rev { animation-direction: reverse; animation-duration: calc(var(--wsp, 90s) * 1.6); }
.w0 .w-turn { animation-duration: 26s; }
.w-pulse { transform: scale(0.05); opacity: 0; stroke-opacity: 0.22; animation: wPulse 14s cubic-bezier(.2,.6,.4,1) infinite; }
@keyframes wPulse { 0% { transform: scale(0.05); opacity: 0; } 12% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
/* 72 to 74: the card popup: details in one font under the lore line; OPEN CARD PAGE at the lower centre */
.pop .dets { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 6px; font: 600 0.64rem/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pop .dets span + span::before { content: "·"; margin: 0 8px; color: var(--dim); }
.pop .dets span:first-child { color: color-mix(in srgb, var(--c) 45%, #fff); }
.pop-open { grid-column: 1 / -1; justify-content: center; margin: 0; }
/* 76: the record's light trace runs the full height of its edge, outside the scrolling panel */
.dossier .trace { display: none; }
.dos-trace { position: fixed; z-index: 26; top: 0; bottom: 0; right: var(--dw); width: 2px; overflow: hidden; pointer-events: none; transform: translateX(calc(var(--dw) + 60px)); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
body.dossier-on .dos-trace { transform: none; }
.dos-trace::before { content: ""; position: absolute; left: 0; width: 2px; height: 30%; top: -32%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--c, #ff7a1a) 40%, #fff), transparent); box-shadow: 0 0 12px var(--c, #ff7a1a); animation: trace 7s cubic-bezier(.5,0,.5,1) infinite 1.2s paused; }
body.dossier-on .dos-trace::before { animation-play-state: running; }
body.to-chron .dos-trace { transform: translateX(calc(var(--dw) + 60px)); transition-duration: 0.5s; }
@media (max-width: 600px) { .dos-trace { right: auto; left: 0; transform: translateX(-10px); } }
/* 75: on a phone (and touch screens): stop what is not on screen, and draw the maps without glow filters or glass blur */
.dossier:not(.on) *, .dossier:not(.on) *::before, .dossier:not(.on) *::after { animation-play-state: paused !important; }
body.map-covered .view.map *, body.map-covered .view.map *::before { animation-play-state: paused !important; }
.lite .ic, .lite .pin .ic, .lite .pin:hover .ic, .lite .rm-ico, .lite .brief-ico img, .lite .rt-ring, .lite .claimed-tag svg { filter: none !important; }
.lite .map-edge { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lite .brief, .lite .mapkey ul { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(10 10 13 / 0.93); }
.lite .art-img { filter: none; opacity: calc(0.07 * var(--art-o, 1)); }
.lite .art-img.pre, .lite .art-img.out { opacity: 0; }
.lite .dossier { -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
.lite .cf-core { filter: none; }
/* 81: the loader: every layer only fades, scales and turns, so it stays smooth while the Codex is built */
.ld-sig { position: relative; width: min(220px, 52vw); aspect-ratio: 1; height: auto; }
.ld-sig svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ld-l, .ld-rot { position: absolute; inset: 0; will-change: transform, opacity; }
.ld-l { animation: ldIn 1.6s cubic-bezier(.2,.8,.2,1) var(--dl, 0s) both; }
@keyframes ldIn { from { opacity: 0; transform: scale(0.8) rotate(-24deg); } }
.ld-rot.r1 { animation: spin 16s linear infinite; } .ld-rot.r2 { animation: spin 11s linear infinite reverse; } .ld-rot.r3 { animation: spin 5s linear infinite; } .ld-rot.r4 { animation: spin 9s linear infinite; }
.ld-sig .ld-ln { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.ld-sig .ld-b { stroke-dasharray: 0.3 0.03; } .ld-sig .ld-ln.dash { stroke-dasharray: 2 6; }
.ld-pulse { animation: ldIn 1s ease var(--dl, 0s) both, ldPulse 1.8s ease-in-out 1.2s infinite; }
@keyframes ldPulse { 50% { transform: scale(1.5); opacity: 0.7; } }
.ld-sig .ld-core { animation: none; }
/* 80: no pinch zoom on the interface (the maps and the card lightbox handle their own) */
html, body { touch-action: pan-x pan-y; }
@media (max-width: 900px) {
  .dest .map-area { bottom: 0; }
  /* 77: the record panel a little more see-through on a phone */
  .dossier { background: linear-gradient(115deg, rgb(255 255 255 / 0.06), transparent 22%, transparent 70%, rgb(255 255 255 / 0.03)), linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, rgb(12 12 16 / 0.38)), rgb(10 10 13 / 0.5) 55%); }
  /* 79: the search field is 16 px, so the phone does not zoom in on it; it opens to the page width */
  .find { font-size: 16px; height: 40px; }
  .pop-open { margin-top: 4px; }
}
/* 82: on a phone the close button stays clear of the record's top lines (it may cover body text as the record scrolls) */
@media (max-width: 600px) {
  .dos-x { width: 34px; height: 42px; }
  .dossier .entry > .claimslot, .dossier .entry > .eyebrow, .dossier .entry > .subt, .dossier .entry > .tags, .dossier .entry h2.ttl { padding-left: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-rad, .rm-orb, .ic-orb, .w-turn, .w-pulse, .mc-scan, .pin.ghost .gh, .dos-trace::before, .rec-btn.fx, .rec-btn.fx *, .claim-frame rect, .claimed-tag.fresh, .realm:hover .rm-drawg, .ld-rot, .ld-pulse { animation: none !important; }
}

/* ================= round 3, batch 4 (the user's review of batch 3 Part A, items 83 to 119) ================= */
/* 83, 84: the loader paints first and only fades, scales and turns; at the end it zooms in and fades out while the
   Codex fades in. The views wait (paused) behind it, so nothing else competes with it while it plays. */
.ld-sig { will-change: transform, opacity; }
p.ld-t { animation: ldTitle 2.4s cubic-bezier(.2,.8,.2,1) both; will-change: transform, opacity; }
@keyframes ldTitle { from { opacity: 0; transform: scaleX(1.35); } }
.loader.done { opacity: 0; visibility: hidden; transition: opacity 0.85s ease 0.35s, visibility 0s linear 1.25s; }
.loader.done .ld-sig { transform: scale(2.8); opacity: 0; transition: transform 1.25s cubic-bezier(.55,0,.25,1), opacity 0.75s ease 0.45s; }
.loader.done .ld-t, .loader.done .ld-s, .loader.done .ld-bar { opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.6s ease; }
body:not(.ready) .stage *, body:not(.ready) .stage *::before, body:not(.ready) .stage *::after { animation-play-state: paused !important; }
.stage, .top { transition: opacity 1s ease 0.25s; }
body:not(.ready) .stage, body:not(.ready) .top { opacity: 0; }
body:not(.ready) .sky { visibility: hidden; }
/* 117: the header in three zones (home and breadcrumbs, the switch and search, Sigils), so they never overlap */
@media (min-width: 901px) {
  .top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; }
  .lefts { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .centre { position: static; transform: none; }
  .crumbs { flex: 1 1 auto; max-width: none; }
  .rec-btn { justify-self: end; margin-left: 0; min-width: 0; max-width: 100%; }
  .rec-t { min-width: 0; flex: 0 1 auto; }
}
@media (max-width: 900px) { .lefts { display: contents; } }
/* 92: the light sweep plays only on the half of the switch under the pointer */
.modes::after { content: none; }
.mode { position: relative; overflow: hidden; }
.mode::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgb(255 236 200 / 0.24) 50%, transparent 70%); transform: translateX(-130%); }
.mode:hover::after { animation: sweep 0.85s cubic-bezier(.3,.1,.2,1); }
/* 115: the icon beside the words wherever it fits; icons only on a very narrow screen */
@media (max-width: 900px) { .mode svg { display: block; width: 14px; height: 14px; flex: 0 0 auto; } }
@media (max-width: 420px) { .mode span { display: none; } .mode svg { width: 17px; height: 17px; } }
/* 109: breadcrumbs: a wider "…", new levels slide in, and on a narrow screen one stack that opens downwards */
.crumbs { position: relative; overflow: visible; }
.crumb-row { display: flex; align-items: center; gap: 2px; min-width: 0; overflow: hidden; }
.crumb-more { padding: 4px 13px; letter-spacing: 0.2em; }
.crumbs a.in { animation: crumbIn 0.5s cubic-bezier(.2,.8,.2,1) var(--cd, 0ms) backwards; }
@keyframes crumbIn { from { opacity: 0; transform: translateX(-8px); filter: blur(2px); } }
.crumb-stack, .crumb-list { display: none; }
@media (max-width: 600px) {
  .crumb-row { display: none; }
  .crumb-stack { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 7px; background: rgb(10 10 13 / 0.8); color: var(--gold); cursor: pointer; font: inherit; letter-spacing: 0.12em; text-transform: uppercase; }
  .crumb-stack.in .cs-t { animation: crumbIn 0.5s cubic-bezier(.2,.8,.2,1) backwards; display: inline-block; }
  .cs-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cs-n { display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 4px; background: rgb(255 122 26 / 0.18); color: var(--ember-2); font-size: 0.5rem; letter-spacing: 0; }
  .cs-c { color: var(--muted); transition: transform 0.3s ease; }
  .crumbs.open .cs-c { transform: rotate(180deg); }
  .crumb-list { display: flex; flex-direction: column; position: absolute; z-index: 40; left: 0; top: calc(100% + 4px); min-width: min(260px, calc(100vw - 20px)); padding: 6px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(8 8 10 / 0.97); box-shadow: 0 18px 40px rgb(0 0 0 / 0.6);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.2,.8,.2,1); }
  .crumbs.open .crumb-list { opacity: 1; transform: none; pointer-events: auto; }
  .crumb-list a { padding: 9px 10px 9px calc(10px + var(--lv) * 12px); border-radius: 6px; color: var(--muted); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .crumb-list a::before { content: "› "; color: var(--ember); opacity: 0.6; }
  .crumb-list a[aria-current] { color: var(--gold); background: rgb(255 122 26 / 0.08); }
}
/* 91, 98, 100: speed and flicker on computers. The svg of the map is clipped just past the screen, so its graphics
   layer stays screen-sized when zoomed in (it grew with the zoom); the edges darken with a plain gradient instead of a
   blur over the whole screen; no glow filters at rest on the icons (glow only on hover or selection); the art and the
   panels over the map blur less or not at all. */
.map .map-svg { inset: -90px; width: calc(100% + 180px); height: calc(100% + 180px); overflow: hidden; }
.map-bg { overflow: hidden; }
.bg-pos { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; will-change: transform; }
.bg-l { position: absolute; left: -1400px; top: -1400px; width: 2800px; height: 2800px; overflow: visible; }
.bg-l.bd-spin { animation: spin 360s linear infinite; } .bg-l.bd-spin.rev { animation-duration: 520s; animation-direction: reverse; }
.bg-l.w0.w-turn { animation-duration: 26s; }
.bg-l.w-pulse .bd-ln { stroke-opacity: 0.22; }
.map-edge { -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none;
  background: radial-gradient(ellipse 72% 74% at 54% 52%, transparent 52%, rgb(5 5 6 / 0.55) 82%, rgb(5 5 6 / 0.92) 100%); }
.dest .map-area, .omni .map-area { top: 0; }
.dest::before, .omni::before { background: linear-gradient(90deg, rgb(5 5 6 / 0.45), transparent 30%); }
.ic { filter: none; }
.pin:hover .ic, .pin:focus-visible .ic, .pin.on .ic { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--c) 60%, transparent)); }
.pin.k-world .ic, .pin.k-place .ic { filter: none; }
.pin.k-world:hover .ic, .pin.k-place:hover .ic, .pin.k-world.on .ic, .pin.k-place.on .ic { filter: drop-shadow(0 0 9px color-mix(in srgb, var(--c) 70%, transparent)); }
.new { filter: none; }
.rt-ring { filter: drop-shadow(0 0 7px var(--c)); }
.art-img { filter: saturate(0.6); }
.brief { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(10 10 13 / 0.9); }
.dossier { -webkit-backdrop-filter: blur(16px) saturate(1.35); backdrop-filter: blur(16px) saturate(1.35); }
.rm-ico { filter: none; }
.realm:hover .rm-ico, .realm.sel .rm-ico { filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 70%, transparent)); }
.lite .pin:hover .ic, .lite .pin.on .ic, .lite .realm:hover .rm-ico, .lite .realm.sel .rm-ico { filter: none !important; }

/* 104, 108, 103: hover movements are smooth; the turning parts are driven from the script (they speed up and slow
   down), so the stylesheet no longer starts or stops them at once */
.rm-dial, .realm:hover .rm-dial, .realm:focus-visible .rm-dial, .centre-pin:hover .rm-dial { animation: none; }
.realm:hover .rm-drawg, .realm:focus-visible .rm-drawg, .centre-pin:hover .rm-drawg { animation: none; }
.realm:hover .rm-drawg.strong, .realm:focus-visible .rm-drawg.strong, .realm.sel .rm-drawg.strong { animation: breathe 2.4s ease-in-out 1s infinite; }
.pin.k-world:hover .ic-pts, .pin.k-world:focus-visible .ic-pts, .pin.k-faction:hover .ic-turn, .pin.k-faction:focus-visible .ic-turn { animation: none; }
.pin .ic { transition: transform 0.45s cubic-bezier(.2,.8,.2,1), filter 0.45s ease; }
.lbl { transition: fill 0.35s ease, opacity 0.4s ease; }
.rm-draw { transition: stroke-dashoffset 1.1s cubic-bezier(.4,0,.2,1), opacity 0.5s ease; }
.pin.k-faction:hover .ic-img, .pin.k-faction:focus-visible .ic-img { animation: facGlow 2.2s ease-in-out infinite; }
.holds-ring { transition: opacity 0.4s ease; }
.pin.holds:hover .holds-ring { animation-duration: 14s; }

/* 114: restraint: the extra linework of a Realm mark waits for the selected view; the selected Realm draws all of it */
.rm-x { opacity: 0; transition: opacity 0.9s ease; }
.rm-x, .rm-x * { animation-play-state: paused; }
.realm.sel .rm-x { opacity: 1; }
.realm.sel .rm-x, .realm.sel .rm-x * { animation-play-state: running; }
.realm.sel .rm-draw { stroke-dashoffset: 0; opacity: 0.9; }
.realm.sel .rm-halo circle { opacity: 0.06; }
.rm-core .ln { stroke-width: 1.1; }
.realm, .realm .olbl, .realm .osub { transition: opacity 0.6s ease; }
.omni.focusing .realm:not(.sel) { opacity: 0.1; }
.omni.focusing .realm:not(.sel):hover { opacity: 0.35; }
.omni.focusing .realm.sel .olbl, .omni.focusing .realm.sel .osub { opacity: 0; }
/* batch 6 (item 208): the rings (.orbits) are moved apart every frame when zooming out; a CSS transition on their
   transform made them lag and then jump (the flicker). Only their opacity is eased now. */
.omni .lines, .omni .orbits { transition: opacity 0.6s ease; }
.omni .brief, .omni .mapkey, .omni .hint { transition: opacity 0.6s ease, transform 0.6s ease; }
.omni.focusing .lines, .omni.focusing .orbits { opacity: 0.18; }
.omni.focusing .brief { opacity: 0; transform: translateX(-30px); pointer-events: none; }
.omni.focusing .mapkey, .omni.focusing .hint { opacity: 0; pointer-events: none; }
.focus-card { position: absolute; z-index: 5; right: max(24px, 4vw); top: 50%; width: min(380px, 32vw); padding: 26px 26px 20px; border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line)); border-left: 2px solid var(--c); border-radius: 14px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 12%, rgb(10 10 13 / 0.94)), rgb(8 8 10 / 0.95) 65%); box-shadow: 0 30px 70px rgb(0 0 0 / 0.6);
  opacity: 0; transform: translate(24px, -50%); pointer-events: none; transition: opacity 0.45s ease, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.focus-card.on { opacity: 1; transform: translate(0, -50%); pointer-events: auto; transition-delay: 0.25s; }
.focus-card h2 { margin: 2px 0 6px; font: 700 clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem)/1.1 var(--display); letter-spacing: 0.06em; color: color-mix(in srgb, var(--c) 30%, #fff); text-shadow: 0 2px 18px color-mix(in srgb, var(--c) 40%, transparent); }
.focus-card .fc-b { margin: 8px 0 14px; font-size: 0.92rem; line-height: 1.55; color: #ddd6cb; }
.fc-p { display: flex; align-items: center; gap: 10px; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fc-bar { flex: 1; height: 3px; border-radius: 2px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.fc-bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--c), var(--gold)); }
.focus-card .btns { margin-top: 16px; }
.btn.gold, .fc-go { --c: var(--gold); color: #1c1203; border-color: transparent; background: linear-gradient(180deg, #ffe7b4, #f0c27a 45%, #c98d33); }
.btn.gold:hover { background: linear-gradient(180deg, #fff0cc, #f6cf8f 45%, #d69a40); }
.fc-go { min-width: 150px; height: 42px; font-size: 0.78rem; letter-spacing: 0.2em; }
.fc-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: rgb(8 8 10 / 0.5); color: var(--muted); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.fc-x:hover, .fc-x:focus-visible { color: #fff; border-color: var(--c); outline: none; }
.fc-x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
@media (max-width: 900px) {
  .focus-card { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; padding: 18px 18px 14px; transform: translateY(24px); }
  .focus-card.on { transform: none; }
}
/* 97: the Nexus is the focal point: a brighter, larger halo and a slow pulse */
.realm.core .rm-halo circle { opacity: 0.05; }
.realm.core .olbl { font-size: 21px; fill: #fff3dc; }
.realm.core .rm-halo { animation: corePulse 6s ease-in-out infinite; }
@keyframes corePulse { 50% { opacity: 0.55; } }
.realm.core > .rm > .ln:not(.thin) { stroke-width: 1.8; }
/* 97: Concepts and the Clash as their own small group (the Codex index) */
.cdx-ln { fill: none; stroke: rgb(255 177 92 / 0.16); stroke-width: 1; stroke-dasharray: 2 8; vector-effect: non-scaling-stroke; }
.cdx-t { fill: rgb(255 177 92 / 0.5); font: 600 13px var(--mono); letter-spacing: 0.4em; text-anchor: middle; }
/* 85: faint hints of uncharted Realms far out */
.hint-ln { fill: none; stroke: rgb(220 210 200 / 0.12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hint-ln.dash { stroke-dasharray: 3 6; } .hint-ln.faint { stroke-opacity: 0.45; stroke-dasharray: 1 7; }
.hint-dot { fill: rgb(230 220 210 / 0.3); }
/* 94: the survey grid: much fainter, larger squares, only far out; the screen edges darken so it fades out there */
.sv-ln, .sv-ln.s0 { stroke-opacity: 0.022; } .sv-ln.s1 { stroke-opacity: 0.034; } .sv-ln.s2 { stroke-opacity: 0.048; }
.sv-tk, .sv-tk.s0 { stroke-opacity: 0.06; } .sv-tk.s1 { stroke-opacity: 0.09; } .sv-tk.s2 { stroke-opacity: 0.12; }
.sv-edge { stroke-opacity: 0.06; }
/* 95: zoomed in very close: survey markers with their map reference; the scan line slightly less tall */
.mc-x { fill: none; stroke: var(--c); stroke-opacity: 0.5; stroke-width: 0.5; }
.mc-t { fill: var(--c); fill-opacity: 0.45; font: 500 3.2px var(--mono); letter-spacing: 0.08em; }
/* 99: a claimed record's seal turns slowly and shimmers now and then */
.claimed-tag.on svg { animation: spin 26s linear infinite, sealShine 7s ease-in-out 2s infinite; }
@keyframes sealShine { 0%, 84%, 100% { filter: drop-shadow(0 0 6px rgb(240 194 122 / 0.6)); } 90% { filter: drop-shadow(0 0 12px rgb(255 236 190 / 0.95)) brightness(1.45); } }
/* 102: unknown signals: a clear close outline, no glitch; a slow ping outwards now and then, each on its own beat */
.pin.ghost { opacity: 0.85; cursor: pointer; }
.pin.ghost .gh { animation: none; }
.gh-ol { stroke: var(--fc, #a9aec8); stroke-opacity: 0.7; stroke-width: 1.1; }
.gh-arc { stroke-opacity: 0.85; }
.gh-ping { fill: none; stroke: var(--fc, #a9aec8); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ghPing var(--gt, 10s) ease-out var(--gd, 0s) infinite; }
@keyframes ghPing { 0%, 70% { opacity: 0; transform: scale(0.5); } 74% { opacity: 0.7; } 100% { opacity: 0; transform: scale(2.1); } }
.pin.ghost:hover .gh-ol, .pin.ghost.on .gh-ol { stroke-opacity: 1; }
.signal-rec .sig-rows { display: grid; gap: 6px; margin: 0 0 10px; }
.sig-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font: 600 0.62rem/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.sig-row b { color: var(--sealed); font-weight: 600; }
/* 107: an Unknown faction's icon glitches now and then */
.flick { filter: brightness(1.3) contrast(1.2); }
/* 110: the Sigil window is less see-through */
.sig-win { background: linear-gradient(115deg, rgb(255 255 255 / 0.05), transparent 25%), linear-gradient(170deg, color-mix(in srgb, var(--c) 12%, rgb(12 12 16 / 0.96)), rgb(8 8 10 / 0.98) 60%); }
/* 112: a way back from a Chronicle record or list */
.back-top { margin: 0 0 14px; padding: 8px 14px; font-size: 0.64rem; background: transparent; }
.btn.back-b { background: transparent; }
/* 113: a claimed record's icon carries a gold ring with a small diamond on top */
.claim-ring circle { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-opacity: 0.9; }
.claim-ring path { fill: var(--gold-2); }
.claim-ring.fresh { animation: ringIn 0.9s cubic-bezier(.2,.8,.2,1.2); transform-box: fill-box; transform-origin: center; }
@keyframes ringIn { from { opacity: 0; transform: scale(1.8); } }
.pin.claimed .lbl { fill: var(--gold); }
/* 116: zoomed out: where icons would crowd, their outer linework fades out and they shrink; far out, simpler */
.rm-orbs, .rm-rad, .rm-dial, .rm-sat, .ic-orb, .holds-ring, .rm-drawg { transition: opacity 0.5s ease; }
.tight .rm-orbs, .tight .rm-rad, .tight .rm-dial, .tight .rm-sat, .tight .ic-orb, .tight .holds-ring, .tight .rm-drawg,
.far .rm-orbs, .far .rm-rad, .far .rm-sat, .far .ic-orb, .far .rm-x { opacity: 0 !important; }
.small .osub, .small .lbl:not(.big) { opacity: 0; }
/* 118: a subtle light runs round the edge of CLAIM RECORD while it is gold */
@property --ca { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.claim-edge { position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ca), transparent 0deg, transparent 270deg, rgb(255 250 235 / 0.95) 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: claimEdge 3.6s linear infinite; }
@keyframes claimEdge { to { --ca: 360deg; } }
/* 86 to 90: the card popup: the finish switch of the card pages, with a crossfade; details as labels and values with
   more room above; OPEN CARD PAGE at the bottom of the details, level with the lower edge of the card; an edge trace
   and a now-and-then diagonal light on the card */
.pop-in { grid-template-columns: minmax(220px, 330px) minmax(0, 380px); grid-template-rows: auto auto; align-items: stretch; }
.pop-card-w { grid-column: 1; grid-row: 1; align-self: start; }
.pop-in > .fin-sw { grid-column: 1; grid-row: 2; justify-self: center; margin: 2px 0 0; }
.pop-info { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; min-height: 0; }
.pop .lore { margin: 0 0 6px; }
.pop .dets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font: inherit; letter-spacing: normal; text-transform: none; }
.det { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); }
.det dt { font: 600 0.6rem/1.5 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.det dd { margin: 0; font-size: 0.86rem; color: var(--ink); overflow-wrap: anywhere; }
.det:first-child dd { color: color-mix(in srgb, var(--c) 45%, #fff); }
.pop-open { grid-column: auto; margin: auto 0 0; padding-top: 18px; justify-content: center; }
.fin-sw { margin: 0; }
.fin-b { padding: 7px 14px; font: 700 0.72rem/1 var(--mono); letter-spacing: 0.16em; transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; }
.fin-b:hover { color: var(--ink); }
.fin-b[aria-pressed="true"] { color: #0b0b0e; background: var(--c); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 45%, transparent); }
.fin-b.fin-holo[aria-pressed="true"] { background: linear-gradient(100deg, #ff9ad5, #ffd36b 30%, #7cf0c8 60%, #8fb4ff); color: #0b0b0e; }   /* batch 15 (item 467): only HOLOFOIL takes the foil colours; STANDARD is solid in the faction colour even when alone */
.c3d-foil-in { animation: foilIn 0.5s ease-out backwards; }
@keyframes foilIn { from { opacity: 0; } }
.c3d-foil.c3d-foil-out { opacity: 0 !important; transition: opacity 0.38s ease; }
@property --pa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pop-trace { position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 2px; pointer-events: none; opacity: 0;
  background: conic-gradient(from var(--pa), transparent 0deg, transparent 290deg, color-mix(in srgb, var(--c) 40%, #fff) 340deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pop-trace.go { animation: popTrace 1.8s ease-in-out forwards; }
@keyframes popTrace { 0% { --pa: 0deg; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { --pa: 360deg; opacity: 0; } }
.pop-sweep { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; border-radius: inherit; }
.pop-sweep::before { content: ""; position: absolute; left: -60%; top: -60%; width: 70%; height: 220%; background: linear-gradient(90deg, transparent, rgb(255 250 240 / 0.16), transparent); transform: translate(-60%, -40%) rotate(-35deg); opacity: 0; }
.pop-sweep.go::before { animation: popSweep 1.6s cubic-bezier(.4,0,.2,1); }
@keyframes popSweep { 0% { transform: translate(-60%, -40%) rotate(-35deg); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(260%, 60%) rotate(-35deg); opacity: 0; } }
@media (max-width: 900px) {
  .pop-in { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .pop-card-w, .pop-in > .fin-sw, .pop-info { grid-column: 1; grid-row: auto; }
  .pop-card-w .c3d { max-width: 240px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .claimed-tag.on svg, .gh-ping, .claim-edge, .pop-trace.go, .pop-sweep.go::before, .realm.core .rm-halo, .crumbs a.in, .bg-l { animation: none !important; }
}
.rec-n { white-space: nowrap; }
.realm.core .rm-halo circle { opacity: 0.03; }

/* ================= round 3, batch 5 (the user's review of batch 4, items 120 to 189) ================= */
/* 131: one slim metallic scrollbar everywhere in the Codex, set slightly in from the edge, with no arrows */
* { scrollbar-width: thin; scrollbar-color: #8d8679 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; margin: 10px; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 6px; background: linear-gradient(90deg, #5d584f, #c9c1b2 45%, #fff6e2 52%, #8d8679 70%, #4a463f) padding-box; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.35); }
::-webkit-scrollbar-thumb:horizontal { background: linear-gradient(180deg, #5d584f, #c9c1b2 45%, #fff6e2 52%, #8d8679 70%, #4a463f) padding-box; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #6d675c, #e2d8c5 45%, #fffaf0 52%, #a49c8d 70%, #57524a) padding-box; }
/* 130: the Sigils bar beside the switch at the centre, the search at the right (computers) */
@media (min-width: 901px) {
  .top { grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr); }
  .centre { display: contents; }
  .lefts { order: 1; } .modes { order: 2; } .rec-btn { order: 3; justify-self: start; max-width: 340px; } .findw { order: 4; justify-self: end; }
}
/* 142: the equipped Sigil sits right of the progress bar */
.rec-sig { order: 9; }
.rec-btn.equipped .rec-sig .emblem { animation: eqLand 0.9s cubic-bezier(.2,.8,.2,1.3); }
@keyframes eqLand { 0% { transform: scale(2.2); filter: brightness(2.4) drop-shadow(0 0 12px var(--gold)); } 100% { transform: none; } }
/* 132: past three levels, an arrow at the right of the breadcrumbs opens a list of every level (the latest last) */
.crumb-drop { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; margin-left: 4px; padding: 0; border: 1px solid var(--line-2); border-radius: 6px; background: rgb(10 10 13 / 0.7); color: var(--gold); cursor: pointer; font-size: 0.7rem; }
.crumb-drop span { display: inline-block; transition: transform 0.3s ease; }
.crumb-drop:hover, .crumb-drop:focus-visible { border-color: var(--gold); outline: none; }
.crumbs.open .crumb-drop span { transform: rotate(180deg); }
@media (min-width: 601px) {
  .crumbs.deep .crumb-list { display: flex; flex-direction: column; position: absolute; z-index: 40; left: 0; top: calc(100% + 6px); min-width: 260px; padding: 6px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(8 8 10 / 0.97); box-shadow: 0 18px 40px rgb(0 0 0 / 0.6);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.2,.8,.2,1); }
  .crumbs.deep.open .crumb-list { opacity: 1; transform: none; pointer-events: auto; }
  .crumbs.deep .crumb-list a { padding: 8px 10px 8px calc(10px + var(--lv) * 12px); border-radius: 6px; color: var(--muted); white-space: nowrap; }
  .crumbs.deep .crumb-list a::before { content: "› "; color: var(--ember); opacity: 0.6; }
  .crumbs.deep .crumb-list a[aria-current] { color: var(--gold); background: rgb(255 122 26 / 0.08); }
}
/* 120, 162: leaving a level, its icons and map fade out during the change (the art crossfades on its own) */
.view.leaving .map-ui { animation: uiOut 0.35s ease forwards; }
.view.leaving .map-svg, .view.leaving .map-bg { animation: uiOut 0.6s ease forwards; }
@keyframes uiOut { to { opacity: 0; } }
/* 150: switching between Explore and the Chronicle fades the view out first; the art crossfades slowly meanwhile */

.art-layer.slow .art-img { transition: opacity 5s ease; }
/* 140: the record panel is wider; while it is open the left panel slides away to the left (and back when it closes) */
:root { --dw: min(680px, 46vw); }
@media (max-width: 900px) { :root { --dw: min(560px, 100vw); } }
.dest .brief { transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.2,.8,.2,1); }
body.dossier-on .dest .brief { opacity: 0; transform: translateX(-40px); pointer-events: none; }
@media (max-width: 900px) { body.dossier-on .dest .brief { transform: none; } }
/* 161: glows fade in slowly on hover */
.pin .ic, .rm-ico, .realm .rm-halo circle { transition: filter 0.7s ease, opacity 0.7s ease, transform 0.45s cubic-bezier(.2,.8,.2,1); }
/* 163: the survey grid fades slowly in and out */
/* batch 6 (item 190): the breathing is on the survey's own svg (an opacity the graphics chip changes) */
.sv-svg { animation: gridBreathe 18s ease-in-out infinite; will-change: opacity; pointer-events: none; }
@keyframes gridBreathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
/* 147: hints of uncharted Realms: a little stronger, each turning, glowing gently on hover */
.map-ui { pointer-events: none; } .map-ui .realm, .map-ui .pin { pointer-events: auto; }
.hint-ln { stroke: rgb(225 215 205 / 0.2); transition: stroke 0.8s ease, filter 0.8s ease; }
.hint-dot { fill: rgb(235 225 215 / 0.45); transition: fill 0.8s ease; }
.hint-spin { transform-box: fill-box; transform-origin: center; animation: spin var(--sp, 90s) linear infinite; animation-direction: var(--dir, normal); }
.hint-hit { fill: transparent; pointer-events: all; }
.hint:hover .hint-ln { stroke: rgb(255 214 160 / 0.55); filter: drop-shadow(0 0 5px rgb(255 190 120 / 0.6)); }
.hint:hover .hint-dot { fill: rgb(255 220 170 / 0.9); }
/* 123: a Realm's line to the Nexus fades in on hover, a little stronger, with energy flowing inwards along it */
.tether line { stroke: var(--c); stroke-width: 1; fill: none; }
.te-ln { stroke-opacity: 0.045; stroke-dasharray: 4 6; transition: stroke-opacity 0.7s ease; }
.te-flow { stroke-opacity: 0; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 2 46; transition: stroke-opacity 0.7s ease; animation: flow2 1.6s linear infinite; animation-play-state: paused; }
@keyframes flow2 { to { stroke-dashoffset: -48; } }
.tether.on .te-ln { stroke-opacity: 0.55; animation: flow 1.2s linear infinite; }
.tether.on .te-flow { stroke-opacity: 0.9; animation-play-state: running; filter: drop-shadow(0 0 3px var(--c)); }
/* 122: the hover drawing starts sooner */
.rm-draw { transition: stroke-dashoffset 0.95s cubic-bezier(.4,0,.2,1), opacity 0.35s ease; }
/* 185: the Chronarchs' sand: fine lines flowing in towards the neck of the hourglass */
.rm-flow { fill: none; stroke: color-mix(in srgb, var(--c) 55%, #fff); stroke-width: 0.7; stroke-dasharray: 1.5 7; opacity: 0; transition: opacity 0.8s ease 0.6s; animation: flow 2.4s linear infinite; animation-play-state: paused; }
.realm:hover .rm-flow, .realm.sel .rm-flow, .centre-pin:hover .rm-flow { opacity: 0.75; animation-play-state: running; }
/* 177, 184: a selected Realm's wide orbit (and the Nexus's web) fade in slowly and turn */
.fo-at { --c: #ffb15c; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.fo-at.on { opacity: 1; }
.fo-l { animation: spin var(--sp, 120s) linear infinite; animation-direction: var(--dir, normal); }
.fo .ln { vector-effect: non-scaling-stroke; }
.fo .ln.faint { stroke-opacity: 0.25; }
.fo-web { fill: none; stroke: #ffd7a0; stroke-opacity: 0.07; stroke-width: 1; vector-effect: non-scaling-stroke; animation: spin 400s linear infinite; }
/* 182: the selected Realm is shown larger and a glow pulses slowly in it */
.realm > .rm { transition: transform 0.9s cubic-bezier(.2,.8,.2,1), opacity 0.6s ease; }
.realm.sel > .rm { transform: scale(1.18); }
.realm.sel .rm-halo { animation: selGlow 4.2s ease-in-out infinite; }
@keyframes selGlow { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.realm.sel .rm-halo circle { opacity: 0.12; }
/* 180: ENTER: the Realm's mark zooms in and fades out */
.realm.going > .rm { transform: scale(3.4); opacity: 0; transition: transform 0.7s cubic-bezier(.5,0,.3,1), opacity 0.6s ease 0.1s; }
.realm.going .olbl, .realm.going .osub { opacity: 0; }
/* 127, 179: the focus panel: a trace runs round it as it opens; ENTER is centred; the factions named */
@property --fa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.fc-trace { position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0;
  background: conic-gradient(from var(--fa), transparent 0deg, transparent 280deg, color-mix(in srgb, var(--c) 50%, #fff) 340deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.focus-card.on .fc-trace { animation: fcTrace 1.9s ease-in-out 0.3s forwards; }
@keyframes fcTrace { 0% { --fa: 0deg; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { --fa: 360deg; opacity: 0; } }
.fc-btns { justify-content: center; }
.fc-f { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.fc-f span { font: 600 0.55rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
/* 158, 171: an unclaimed record's name ends in a small gold dot (every dot pulses together); a claimed name is gold,
   with no ring or highlight on its icon; claiming runs a small gold light over the name */
.ud { fill: var(--gold); stroke: none; font-size: 7px; animation: udPulse 7s ease-in-out infinite; transition: opacity 0.6s ease; }
@keyframes udPulse { 0%, 78%, 100% { fill-opacity: 0.55; } 86% { fill-opacity: 1; } }
.ud.out { opacity: 0; }
.pin.claimed .lbl, .centre-pin.claimed .lbl, .key-name.claimed .lbl { fill: var(--gold); }
.lbl.gilt { animation: gilt 1.4s ease; }
@keyframes gilt { 0% { fill: var(--ink); } 30% { fill: #fff6dd; filter: drop-shadow(0 0 6px var(--gold)); } 100% { fill: var(--gold); } }
.gild-fx { fill: none; stroke: var(--gold); stroke-width: 0.8; opacity: 0; pointer-events: none; animation: gildFx 1.4s ease forwards; }
@keyframes gildFx { 0% { opacity: 0; } 25% { opacity: 1; } 70% { opacity: 0.8; } 100% { opacity: 0; transform: scale(1.04); } }
.key-name .lbl { font-size: 9px; text-anchor: middle; }
.claim-ring, .claim-fx { display: none; }
/* 169, 170: the Group mark in a triangle; an unknown signal a dotted circle with a thick question mark */
.gh-dots { stroke-dasharray: 0.1 4.6; stroke-width: 1.8; stroke-linecap: round; stroke: var(--fc, #a9aec8); }
.gh-q { stroke: var(--fc, #a9aec8); stroke-width: 2.6; stroke-linecap: round; fill: none; }
.gh-qd { fill: var(--fc, #a9aec8); }
/* 139: a kind turned off fades out one icon after another; turned back on, they fade in the same way */
.pin.hiding { opacity: 0; transition: opacity 0.4s ease var(--hd, 0ms); pointer-events: none; }
.pin.re { animation: pinIn 0.6s ease-out backwards; animation-delay: var(--d, 0ms); }
/* 164: cards in a record: a carousel with room above, so a hovered card is never cut off */
.cards.carousel { gap: 12px; padding: 18px 4px 14px; scroll-snap-type: none; cursor: grab; scrollbar-width: none; overscroll-behavior-x: contain; }
.cards.carousel::-webkit-scrollbar { display: none; }
.cards.carousel.dragging { cursor: grabbing; }
.cards.carousel.dragging button { pointer-events: none; }
.cards.carousel button { flex: 0 0 96px; }
.cards.carousel img { display: block; width: 100%; border-radius: 5px; -webkit-user-drag: none; user-select: none; }
/* 172: the card popup's details one per line; its light sweep thinner and a little faster */
.pop .dets { grid-template-columns: minmax(0, 1fr); }
.pop-sweep::before { width: 22%; background: linear-gradient(90deg, transparent, rgb(255 250 240 / 0.2), transparent); }
.pop-sweep.go::before { animation-duration: 1.1s; }
/* 129: the Chronicle's linework icons (the map's icons), drawn in --lc (the tile's or book's colour) */
.lic { width: 24px; height: 24px; flex: 0 0 auto; overflow: visible; }
.lic .plate { fill: none; }
.lic .ln { stroke: var(--lc, currentColor); }
.lic .ln.f { fill: color-mix(in srgb, var(--lc, currentColor) 18%, transparent); }
.lic .dot { fill: var(--lc, currentColor); }
.rail .lic { width: 20px; height: 20px; }
.book .emb { background: rgb(8 8 10 / 0.6); border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line-2)); box-shadow: inset 0 0 18px color-mix(in srgb, var(--c) 14%, transparent), 0 10px 20px rgb(0 0 0 / 0.45); }
.book .emb svg.lic { width: 44px; height: 44px; fill: none; filter: none; --lc: color-mix(in srgb, var(--c) 45%, #fff); }
.mk .lic { width: 100%; height: 100%; --lc: var(--c); }
/* 138: the SIGILS button at the top right of the Chronicle */
.chron-side { display: grid; gap: 10px; min-width: 220px; justify-items: end; }
.chron-side .meter { justify-self: stretch; }
.btn.sig-go { --c: var(--gold); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; }
.btn.sig-go .lic { width: 20px; height: 20px; --lc: var(--gold); }
/* 136: the line under each category heading fades downwards in its colour */
.shelf-h { position: relative; border-bottom-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.shelf-h::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, transparent), transparent); -webkit-mask: linear-gradient(90deg, #000 60%, transparent); mask: linear-gradient(90deg, #000 60%, transparent); }
/* 159: lists of records: a light sweep as the list opens, and now and then over every record not opened yet (together) */
.tile { position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgb(255 244 225 / 0.13) 50%, transparent 62%); transform: translateX(-130%); animation: tileSweep 1.4s cubic-bezier(.4,0,.2,1) 0.35s; }
.tile:has(.mk.unread)::after { animation: tileSweep 1.4s cubic-bezier(.4,0,.2,1) 0.35s, tileSweepLoop 11s cubic-bezier(.4,0,.2,1) 5s infinite; }
@keyframes tileSweep { to { transform: translateX(130%); } }
@keyframes tileSweepLoop { 0%, 86% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
/* 155: more below: a soft pulsing glow on the lower edge while a page can scroll further */
.more-below { position: sticky; bottom: 0; height: 0; pointer-events: none; z-index: 3; }
.more-below::before { content: ""; position: absolute; left: 0; right: 0; bottom: -60px; height: 90px; opacity: 0; transition: opacity 0.5s ease;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgb(255 154 58 / 0.22), transparent 70%); }
.has-more > .more-below::before { opacity: 1; animation: moreGlow 3.2s ease-in-out infinite; }
@keyframes moreGlow { 50% { opacity: 0.45; } }
/* 125: a Sigil not yet earned, and its page, are a little desaturated */
.sigil:not(.earned) { filter: saturate(0.55); }
.sigil:not(.earned) .emblem { filter: grayscale(0.75) brightness(0.78); }
.sig-win.unearned { filter: saturate(0.6); }
.sig-win.unearned .emblem.big { filter: grayscale(0.7) brightness(0.8); }
/* 141, 153: an earned Sigil rocks slowly with a soft light gliding over its face; its tile has a slow light sweep in
   its colour now and then */
.em-gloss { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.28) 46%, rgb(255 255 255 / 0.06) 54%, transparent 66%); background-size: 260% 100%; mix-blend-mode: screen; }
.sigil.earned .emblem, .sig-win.earned .emblem.big { animation: rock 7s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes rock { 0%, 100% { transform: perspective(500px) rotateY(-11deg) rotateZ(-1.5deg); } 50% { transform: perspective(500px) rotateY(11deg) rotateZ(1.5deg); } }
.sigil.earned .em-gloss, .sig-win.earned .em-gloss { opacity: 1; animation: gloss 7s ease-in-out infinite; }
@keyframes gloss { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.sigil.earned::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, color-mix(in srgb, var(--c) 30%, transparent) 50%, transparent 65%); transform: translateX(-130%); animation: sigSweep 9s cubic-bezier(.4,0,.2,1) var(--sw, 0s) infinite; }
@keyframes sigSweep { 0%, 82% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
/* 152, 156: a trace runs round a Sigil's edge (on its page now and then after 5 s; on its tile when it is selected) */
.em-trace { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.em-trace polygon { fill: none; stroke: color-mix(in srgb, var(--c) 40%, #fff); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-dasharray: 0.16 0.84; stroke-dashoffset: 0.16; opacity: 0; }
.emblem.tracing .em-trace polygon, .sigil.picking .em-trace polygon { animation: emTrace 1.5s ease-in-out; }
@keyframes emTrace { 0% { opacity: 0; stroke-dashoffset: 0.16; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -0.84; } }
.sigil.picking .em-trace polygon { animation-duration: 0.75s; }
.sigil.picking { border-color: var(--c); }
/* 145: a Sigil's page hides the list behind it, and its Sigil fades in */
.sig-page.win-on .sigils, .sig-page.win-on .chron-head, .sig-page.win-on .sig-back, .sig-page.win-on .back-top { opacity: 0; visibility: hidden; filter: none; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.sig-hero .emblem.big { animation: emIn 1.1s cubic-bezier(.2,.8,.2,1) 0.25s backwards; }
.sig-win.earned .sig-hero .emblem.big { animation: emIn 1.1s cubic-bezier(.2,.8,.2,1) 0.25s backwards, rock 7s ease-in-out 1.35s infinite; }
@keyframes emIn { from { opacity: 0; transform: scale(0.9); filter: blur(6px); } }
/* 154: the Sigil pages have no scrollbar; drag or the wheel scrolls */
.sig-page, .sig-page *, .sig-win, .sig-win * { scrollbar-width: none; }
.sig-page::-webkit-scrollbar, .sig-page *::-webkit-scrollbar, .sig-win::-webkit-scrollbar, .sig-win *::-webkit-scrollbar { display: none; }
.sig-page.dragging, .sig-win.dragging { cursor: grabbing; user-select: none; }
/* 143: equipping a Sigil: the page dims, the Sigil shows large, then flies to the header */
.equip-fx { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgb(3 3 4 / 0); pointer-events: none; transition: background-color 0.5s ease; }
.equip-fx.on { background: rgb(3 3 4 / 0.82); }
.equip-fx.out { background: rgb(3 3 4 / 0); }
.eq-in { display: grid; justify-items: center; gap: 10px; }
.equip-fx .emblem { opacity: 0; transform: scale(0.6); transition: opacity 0.6s ease, transform 0.8s cubic-bezier(.2,.8,.2,1.2); filter: drop-shadow(0 0 40px color-mix(in srgb, var(--c) 70%, transparent)); }
.equip-fx.on .emblem { opacity: 1; transform: scale(1.2); }
.equip-fx.fly .emblem { transition: transform 0.75s cubic-bezier(.6,0,.3,1), opacity 0.3s ease 0.55s; opacity: 0; }
.eq-k, .eq-n { margin: 0; opacity: 0; transition: opacity 0.5s ease 0.35s; }
.eq-k { font: 600 0.66rem/1 var(--mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.eq-n { font: 700 1.6rem/1.2 var(--display); letter-spacing: 0.06em; color: color-mix(in srgb, var(--c) 30%, #fff); }
.equip-fx.on .eq-k, .equip-fx.on .eq-n { opacity: 1; }
.equip-fx.fly .eq-k, .equip-fx.fly .eq-n { opacity: 0; transition-delay: 0s; transition-duration: 0.25s; }
/* 175: a claim's notice: the geometry and RECORD CLAIMED on their own centred line, the progress under it */
.toast.stack { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.t-head { display: flex; align-items: center; justify-content: center; gap: 10px; }
.t-head b { font-weight: 700; letter-spacing: 0.24em; color: #ffe2a8; }
.t-sub { font-size: 0.68rem; color: var(--gold); opacity: 0.85; }
/* 144: a Sigil earned: a large notice in the Sigil's colour, with its image */
.toast.earned { bottom: 34px; padding: 22px 40px 20px; gap: 6px; border-color: var(--tc); color: color-mix(in srgb, var(--tc) 40%, #fff);
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--tc) 28%, transparent), transparent 70%), rgb(10 9 8 / 0.97); box-shadow: 0 0 70px color-mix(in srgb, var(--tc) 40%, transparent), inset 0 0 26px color-mix(in srgb, var(--tc) 14%, transparent); }
.toast.earned .t-sig .emblem { width: 92px; height: 105px; animation: earnIn 1.1s cubic-bezier(.2,.8,.2,1.2) both; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--tc) 70%, transparent)); }
.toast.earned .t-sig .emblem img, .toast.earned .t-sig .emblem svg { width: 54px; height: 54px; }
@keyframes earnIn { from { opacity: 0; transform: scale(1.8) rotate(-12deg); filter: brightness(2.2); } }
.t-k { font-size: 0.62rem; letter-spacing: 0.32em; color: var(--tc); }
.t-name { font: 700 1.25rem/1.2 var(--display); letter-spacing: 0.08em; text-transform: none; color: #fff; }
/* 166: the loader's small progress bar along the bottom of the screen */
.ld-prog { position: fixed; left: 0; right: 0; bottom: 0; height: 2px; background: rgb(255 255 255 / 0.04); }
.ld-prog i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, rgb(255 122 26 / 0.3), #ffb15c); box-shadow: 0 0 8px rgb(255 154 58 / 0.6); transition: transform 3s cubic-bezier(.3,.6,.4,1); }
.ld-prog.go i { transform: scaleX(0.96); }
.loader.done .ld-prog i { transform: scaleX(1); transition-duration: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .survey, .hint-spin, .fo-l, .fo-web, .realm.sel .rm-halo, .te-flow, .rm-flow, .ud, .tile::after, .sigil.earned::before, .sigil.earned .emblem, .sig-win.earned .emblem.big, .em-gloss, .em-trace polygon, .more-below::before, .lbl.gilt, .gild-fx, .toast.earned .t-sig .emblem { animation: none !important; }
}
.lite .tether.on .te-flow { filter: none; }
/* 185: the Chronarchs' hourglass drawn bolder, and it breathes only a little */
.rm-drawg.strong .rm-draw { stroke-width: 1.5; }
.rm-drawg.strong .rm-flow { stroke-width: 1; }
.realm:hover .rm-drawg.strong, .realm:focus-visible .rm-drawg.strong, .realm.sel .rm-drawg.strong { animation: breatheS 3s ease-in-out 1s infinite; }
@keyframes breatheS { 50% { opacity: 0.8; } }
.view.chron { overflow-x: hidden; }
/* 129: the record tiles' shaded spheres are retired: each tile shows its linework icon in its colour */
.mk { background: none; box-shadow: none; border-radius: 0; }
.mk svg.lic, .tile .mk svg.lic { width: 100%; height: 100%; fill: none; filter: none; }
.tile .mk { width: 34px; height: 34px; }
.tile.k-place .mk { width: 30px; height: 30px; margin: 0 2px; }
.mk img { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 50%, transparent)); }

/* ---------------- batch 6 (items 190 to 232) ---------------- */
/* 190: the effects layer follows the camera (a CSS transform); its children are moved by the graphics chip */
.map-fx { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; pointer-events: none; }
.map-fx > * { position: absolute; left: 0; top: 0; }
/* 191: the map references, sharp screen text that fades in with the zoom */
.mc-refs { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; overflow: hidden; will-change: opacity; }
.mc-refs span { position: absolute; left: 0; top: 0; font: 500 9.5px/1 var(--mono); letter-spacing: 0.12em; color: color-mix(in srgb, var(--c) 60%, #fff); opacity: 0.5; white-space: nowrap; text-shadow: 0 0 6px rgb(0 0 0 / 0.95); margin: -10px 0 0 2px; opacity: 0.36; }
.mc-refs span[hidden] { display: none; }
.mc-t { display: none; }
/* 215: hints of uncharted Realms: further out, turned by the graphics chip, a faint glow in their own colour on hover */
.uhints { width: 0; height: 0; }
.uh { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; pointer-events: auto; }
.uh-spin { position: absolute; inset: 0; animation: spin var(--sp, 120s) linear infinite; animation-direction: var(--dir, normal); }
.uh svg { display: block; width: 100%; height: 100%; overflow: visible; }
.uh .hint-ln { transition: stroke 1.2s ease, filter 1.2s ease, stroke-opacity 1.2s ease; }
.uh:hover .hint-ln { stroke: color-mix(in srgb, var(--hc) 75%, #fff); stroke-opacity: 0.8; filter: drop-shadow(0 0 5px var(--hc)); }
.uh-dot { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: rgb(235 225 215 / 0.45); transition: background 1.2s ease, box-shadow 1.2s ease; }
.uh:hover .uh-dot { background: var(--hc); box-shadow: 0 0 8px var(--hc); }
/* 195: energy flowing into the Nexus, always */
.nx-flow { width: 0; height: 0; }
.nx-flow i { position: absolute; left: 0; top: 0; width: 0; height: 0; transform: rotate(var(--a)); }
.nx-flow i::before { content: ""; position: absolute; left: 0; top: -1.5px; width: var(--w); height: 3px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, rgb(255 240 210 / 0.95), rgb(255 160 70 / 0.45) 35%, transparent); animation: nxIn var(--t) cubic-bezier(.55,0,.85,.6) var(--d) infinite; will-change: transform, opacity; }
@keyframes nxIn { 0% { transform: translateX(var(--r0)); opacity: 0; } 25% { opacity: 0.55; } 80% { opacity: 0.85; } 100% { transform: translateX(var(--r1)); opacity: 0; } }
/* 197, 220: a selected Realm's orbit and aura in the effects layer */
.fo-at { position: absolute; width: 0; height: 0; }
.fo-svg { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: visible; }
.aura .au-ln { fill: none; stroke: var(--c); stroke-opacity: 0.16; stroke-width: 1; vector-effect: non-scaling-stroke; }
.aura .au-ln.thick { stroke-width: 2; stroke-opacity: 0.12; } .aura .au-ln.dim { stroke-opacity: 0.08; }
.aura .au-fill { fill: var(--c); fill-opacity: 0.05; stroke: none; }
.aura .au-dot { fill: var(--c); fill-opacity: 0.55; }
.au-spin { animation: spin var(--sp, 120s) linear infinite; } .au-spin.rev { animation-direction: reverse; }
.au-spin.au-breathe { animation: spin var(--sp, 120s) linear infinite, auBreathe 7s ease-in-out infinite; }
@keyframes auBreathe { 50% { opacity: 0.45; } }
.au-rise { animation: auRise 6s linear var(--d, 0s) infinite; opacity: 0; }
@keyframes auRise { 0% { transform: translate(var(--x), 0); opacity: 0; } 20% { opacity: 0.9; } 100% { transform: translate(var(--x), -240px); opacity: 0; } }
.au-grow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: auGrow 9s ease-in-out var(--d, 0s) infinite; }
@keyframes auGrow { 0% { stroke-dashoffset: 1; opacity: 0; } 15% { opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 85%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.au-drift { animation: auDrift 14s linear var(--d, 0s) infinite; }
@keyframes auDrift { 0% { transform: translate(0, -30px); opacity: 0; } 20%, 70% { opacity: 1; } 100% { transform: translate(40px, 50px); opacity: 0; } }
.au-march { animation: auMarch 8s linear var(--d, 0s) infinite; opacity: 0; }
@keyframes auMarch { 0% { transform: scale(0.8); opacity: 0; } 25% { opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.au-pulse { animation: auBreathe 3.4s ease-in-out infinite; }
.au-sink { animation: auSink 8s ease-in var(--d, 0s) infinite; opacity: 0; }
@keyframes auSink { 0% { transform: scale(1.5); opacity: 0; } 30% { opacity: 0.9; } 100% { transform: scale(0.32); opacity: 0; } }
.au-cell { animation: auCell 5s ease-in-out var(--d, 0s) infinite; }
@keyframes auCell { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.au-twitch { animation: auTwitch var(--t, 2s) steps(1) var(--d, 0s) infinite; }
@keyframes auTwitch { 0% { transform: translate(0, 0); opacity: 0.8; } 18% { transform: translate(6px, -3px) rotate(4deg); opacity: 0.3; } 31% { transform: translate(-4px, 5px); opacity: 1; } 52% { transform: translate(2px, 1px) skewX(10deg); opacity: 0.5; } 77% { transform: translate(-7px, -2px); opacity: 0.9; } }
.au-ripple { animation: auMarch 8s linear var(--d, 0s) infinite; opacity: 0; }
/* 196: Chaos's drawing twitches while it is drawn */
.realm:hover .rm-drawg.chaotic .rm-draw, .realm.sel .rm-drawg.chaotic .rm-draw { animation: chaosTwitch 3.1s steps(1) 0.9s infinite; }
@keyframes chaosTwitch { 0%, 100% { transform: none; } 9% { transform: translate(1.5px, -1px) rotate(1.2deg); } 12% { transform: none; } 41% { transform: scale(1.03) rotate(-2deg); } 44% { transform: translate(-1px, 1px); } 46% { transform: none; } 73% { transform: skewX(4deg); } 75% { transform: none; } }
/* 213: THE OMNIUM along the top, zoomed out */
.omni-title { fill: rgb(255 214 170 / 0.075); font: 700 150px var(--display); letter-spacing: 0.5em; text-anchor: middle; pointer-events: none; }
@media (max-width: 900px) { .omni-title { font-size: 104px; letter-spacing: 0.3em; } }
/* 209: the line between the Nexus and a hovered Realm: one smooth line that fades in and out, with soft sparks */
.te-ln { stroke-dasharray: none; stroke-opacity: 0.03; stroke-linecap: round; transition: stroke-opacity 0.9s ease; }
.tether.on .te-ln { stroke-opacity: 0.32; animation: none; }
.te-flow { stroke-dasharray: 1 34; stroke-width: 2.2; transition: stroke-opacity 0.9s ease; animation-timing-function: linear; }
.tether.on .te-flow { stroke-opacity: 0.85; }
/* 211: a glow fades in behind a hovered Realm, then pulses */
.realm .rm-halo circle { transition: opacity 0.9s ease; }
.realm:not(.sel):hover .rm-halo circle, .realm:not(.sel):focus-visible .rm-halo circle { opacity: 0.1; }
.realm:not(.sel):hover .rm-halo, .realm:not(.sel):focus-visible .rm-halo { animation: haloPulse 3.2s ease-in-out 0.9s infinite; }
@keyframes haloPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
/* 227: an icon's glow fades in smoothly: a soft disc behind it (no filter that pops in) */
.pin-glow { opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.pin-glow circle { fill: var(--c); opacity: 0.07; }
.pin:hover .pin-glow, .pin:focus-visible .pin-glow, .pin.on .pin-glow { opacity: 1; }
.pin:hover .ic, .pin:focus-visible .ic, .pin.on .ic { filter: none; }
/* 230: the gold dot after an unclaimed name, larger, with a soft shimmer */
.ud { font-size: 9.5px; paint-order: stroke; stroke: rgb(255 214 140 / 0.22); stroke-width: 3px; animation: udShine 7s ease-in-out infinite; }
@keyframes udShine { 0%, 74%, 100% { fill-opacity: 0.65; fill: #f0c27a; stroke-opacity: 0.15; } 84% { fill-opacity: 1; fill: #fff1cf; stroke-opacity: 0.6; } 90% { fill: #ffd98f; } }
/* 194: a sealed Realm cannot be entered */
.fc-sealed { cursor: not-allowed; opacity: 0.6; letter-spacing: 0.2em; border-style: dashed; }
/* 204: the map key unfolds upwards, its rows following one by one */
.mapkey ul { opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.96); transform-origin: 100% 100%; transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2,.8,.2,1), visibility 0s linear 0.45s; }
.mapkey.open ul { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mapkey li { opacity: 0; transform: translateX(10px); transition: opacity 0.3s ease, transform 0.35s ease; }
.mapkey.open li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 30ms + 80ms); }
/* 212: a map level's left panel fades and slides in from the lower left */
@keyframes briefIn { from { opacity: 0; transform: translate(-36px, 46px) scale(0.98); } }
/* 207: the Chronicle's books: no light sweep by itself; the glow comes on gradually and a light sweeps on hover */
.book { overflow: hidden; transition: transform 0.25s ease-out, box-shadow 0.9s ease, border-color 0.9s ease; }
.book::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgb(255 236 200 / 0.16) 50%, transparent 62%); transform: translateX(-130%); }
.book:hover::after, .book:focus-visible::after { transform: translateX(130%); transition: transform 1.1s cubic-bezier(.4,0,.2,1); }
/* 218: entries not yet claimed slightly greyed; a claimed entry has a faint glow of its colour from its lower edge */
.tile:not(.claimed) .mk, .tile:not(.claimed) .t { filter: saturate(0.45); opacity: 0.72; transition: opacity 0.4s ease, filter 0.4s ease; }
.tile:not(.claimed):hover .mk, .tile:not(.claimed):hover .t { filter: none; opacity: 1; }
.tile.claimed { box-shadow: inset 0 -22px 26px -18px color-mix(in srgb, var(--c) 45%, transparent); }
/* 231: the Sigil's outline trace sits exactly on its hexagon (a wider rule sized it like the icon), and every Sigil rocks */
.emblem svg.em-trace { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
.emblem img { position: relative; z-index: 1; }
.sigil:not(.earned) .emblem { animation: rockS 9s ease-in-out infinite; transform-origin: 50% 60%; }
.sig-win.unearned .sig-hero .emblem.big { animation: emIn 1.1s cubic-bezier(.2,.8,.2,1) 0.25s backwards, rockS 9s ease-in-out 1.35s infinite; transform-origin: 50% 60%; }
.rec-sig .emblem, .sig-pop .emblem { animation: rock 7s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes rockS { 0%, 100% { transform: perspective(500px) rotateY(-7deg) rotateZ(-1deg); } 50% { transform: perspective(500px) rotateY(7deg) rotateZ(1deg); } }
/* 224: what a Sigil stands for, on its own line */
.meaning { display: grid; gap: 3px; margin: 10px 0 12px; }
.mn-k { font: 600 0.56rem/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.mn-t { font: 600 1rem/1.35 var(--display); letter-spacing: 0.04em; color: color-mix(in srgb, var(--c) 35%, #fff); }
.btn.rm-sig { --c: #c9c2b6; background: transparent; }
/* 206: the equipped Sigil's own window */
.sig-pop { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgb(4 4 6 / 0.72); opacity: 0; transition: opacity 0.35s ease; }
.sig-pop.on { opacity: 1; }
.sp-in { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; align-items: center; width: min(720px, 100%); padding: 34px 34px 28px; border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line)); border-radius: 18px;
  background: radial-gradient(circle at 18% 40%, color-mix(in srgb, var(--c) 18%, transparent), transparent 55%), linear-gradient(160deg, rgb(20 20 26 / 0.97), rgb(9 9 12 / 0.97)); box-shadow: 0 40px 90px rgb(0 0 0 / 0.7), 0 0 50px color-mix(in srgb, var(--c) 18%, transparent);
  transform: translateY(16px) scale(0.97); transition: transform 0.5s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.sig-pop.on .sp-in { transform: none; }
.sp-in .x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.sp-in .x:hover { color: #fff; }
.sp-em { display: grid; place-items: center; }
.sp-em .emblem.big { filter: drop-shadow(0 0 26px color-mix(in srgb, var(--c) 50%, transparent)); }
.sp-b h2 { margin: 2px 0 2px; font: 700 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1.1 var(--display); letter-spacing: 0.06em; color: color-mix(in srgb, var(--c) 25%, #fff); }
.sp-b .sub { margin: 0; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.06em; }
.sp-b .note { margin: 0 0 12px; font-size: 0.9rem; line-height: 1.55; color: #d8d1c6; }
.sp-facts { display: flex; gap: 22px; margin: 4px 0 10px; }
.sp-facts div { display: grid; gap: 2px; } .sp-facts b { font: 700 1.3rem/1 var(--display); color: var(--gold); } .sp-facts span { font: 600 0.56rem/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.sp-b .opens { margin: 0 0 6px; font-size: 0.8rem; color: var(--muted); }
.sp-b .btns { margin-top: 14px; }
.sp-trace { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent); opacity: 0; animation: spTrace 1.6s ease 0.2s; }
@keyframes spTrace { 30% { opacity: 1; } }
.rec-sig { cursor: help; }
@media (max-width: 640px) { .sp-in { grid-template-columns: 1fr; text-align: center; gap: 14px; padding: 28px 18px 20px; } .sp-facts { justify-content: center; } .sp-b .btns { justify-content: center; } }
/* 151, 217: FIND ON MAP: a rough piece of the record's map, nothing on it to select */
.find-map { display: none; margin: 18px auto 0; max-width: 460px; padding: 14px; border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); border-radius: 12px; background: rgb(8 8 10 / 0.55); text-align: center; }
.find-map.on { display: block; animation: fadeIn 0.4s ease; }
.fm-svg { display: block; width: 100%; height: auto; border-radius: 8px; background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--c) 8%, transparent), transparent 70%); pointer-events: none; }
.fm-svg .tr-ln { stroke: var(--c); }
.fm-svg .tr-fill { fill: var(--c); }
.fm-zone { fill: color-mix(in srgb, var(--c) 10%, transparent); stroke: color-mix(in srgb, var(--c) 60%, #fff); stroke-opacity: 0.5; stroke-dasharray: 3 5; }
.fm-zone.z2 { fill: none; stroke-opacity: 0.25; animation: fmPing 3s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fmPing { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.fm-t { margin: 10px 0 12px; font-size: 0.86rem; color: #d8d1c6; }
.entry.unfound .unf strong { letter-spacing: 0.18em; }
/* 199: hovering the HOLOFOIL switch runs a light across it; 200: choosing a finish runs a brighter, quicker light across the card */
.fin-b.fin-holo { position: relative; overflow: hidden; }
.fin-b.fin-holo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%); transform: translateX(-130%); }
.fin-b.fin-holo:hover::after, .fin-b.fin-holo:focus-visible::after { transform: translateX(130%); transition: transform 0.75s cubic-bezier(.4,0,.2,1); }
.pop-sweep.fin::before { width: 34%; background: linear-gradient(90deg, transparent, rgb(255 252 245 / 0.34), transparent); }
.pop-sweep.fin.go::before { animation-duration: 0.85s; }
@media (prefers-reduced-motion: reduce) {
  .uh-spin, .nx-flow i::before, .aura *, .rm-drawg.chaotic .rm-draw, .ud, .realm .rm-halo, .sigil .emblem, .rec-sig .emblem, .sig-pop .emblem, .fm-zone.z2, .sv-svg { animation: none !important; }
  .nx-flow { display: none; }
}

/* ---------------- batch 7 (items 233 to 268, user 2026-11-12) ---------------- */
/* 233: the light sweep over a card runs diagonally, from the top left corner to the bottom right */
.pop-sweep::before, .pop-sweep.fin::before { left: -75%; top: -75%; width: 250%; height: 250%; background: linear-gradient(135deg, transparent 43%, rgb(255 250 240 / 0.2) 50%, transparent 57%); transform: translate(-42%, -42%); }
.pop-sweep.fin::before { background: linear-gradient(135deg, transparent 42%, rgb(255 252 245 / 0.34) 50%, transparent 58%); }
@keyframes popSweep { 0% { transform: translate(-42%, -42%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate(42%, 42%); opacity: 0; } }
/* 234: the faction icon tilts with the hexagon as if raised above its face (a small parallax), and the face carries a
   subtle reflection that moves with the rocking */
@property --ry { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@keyframes rock { 0%, 100% { transform: perspective(500px) rotateY(-11deg) rotateZ(-1.5deg); --ry: -11deg; } 50% { transform: perspective(500px) rotateY(11deg) rotateZ(1.5deg); --ry: 11deg; } }
@keyframes rockS { 0%, 100% { transform: perspective(500px) rotateY(-7deg) rotateZ(-1deg); --ry: -7deg; } 50% { transform: perspective(500px) rotateY(7deg) rotateZ(1deg); --ry: 7deg; } }
.emblem > img, .emblem > svg:not(.em-trace) { transform: translateX(calc(sin(var(--ry)) * 22px)) perspective(400px) rotateY(calc(var(--ry) * 0.6)); }
.emblem::after { content: ""; position: absolute; inset: 3px; clip-path: inherit; pointer-events: none; z-index: 2; background: linear-gradient(120deg, rgb(255 255 255 / 0.13) 0%, rgb(255 255 255 / 0.04) 30%, transparent 46%, transparent 70%, rgb(255 255 255 / 0.05) 100%); background-size: 160% 100%; background-position: calc(50% + sin(var(--ry)) * 160%) 0; mix-blend-mode: screen; }
/* 235: a selected Realm's glow pulses clearly */
@keyframes selGlow { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.realm.sel .rm-halo { animation: selGlow 3.2s ease-in-out infinite; }
/* 236, 253: a selected Realm's background effect and its wide orbit were far too faint to see; both are clearly visible now */
.aura .au-ln { stroke-opacity: 0.42; stroke-width: 1.2; } .aura .au-ln.thick { stroke-width: 2.4; stroke-opacity: 0.32; } .aura .au-ln.dim { stroke-opacity: 0.22; }
.aura .au-fill { fill-opacity: 0.1; } .aura .au-dot { fill-opacity: 0.85; }
.fo .ln { stroke-opacity: 0.75; } .fo .ln.thin { stroke-opacity: 0.6; } .fo .ln.faint { stroke-opacity: 0.4; }
.fo-web { stroke-opacity: 0.16; }
/* 237: with an icon selected, the other icons dim a little */
.dest .pin { transition: opacity 0.6s ease; }
.dest.picked .pin:not(.on) { opacity: 0.42; }
.dest.picked .pin:not(.on):hover { opacity: 0.85; }
/* 239: the gold dot before an unclaimed name: larger, centred on the line, a stronger shimmer */
.ud { font-size: 13px; baseline-shift: 0.12em; stroke: rgb(255 214 140 / 0.3); stroke-width: 4px; animation: udShine 4.5s ease-in-out infinite; }
@keyframes udShine { 0%, 60%, 100% { fill-opacity: 0.75; fill: #f0c27a; stroke-opacity: 0.2; } 75% { fill-opacity: 1; fill: #fff6dc; stroke-opacity: 0.85; } 85% { fill: #ffd98f; stroke-opacity: 0.5; } }
/* 240: the selected icon looks and moves as if hovered the whole time */
.pin.on .ic { transform: scale(1.14); }
/* 242: the hourglass sand loops without a jump (the dash pattern now divides the distance it travels) */
.rm-flow { animation-name: flowHg; } @keyframes flowHg { to { stroke-dashoffset: -17; } }
/* 250: the line between the Nexus and a hovered Realm flows smoothly without a jump, and is a little stronger */
.te-flow { animation-name: flowTe; } @keyframes flowTe { to { stroke-dashoffset: -70; } }
.tether.on .te-ln { stroke-opacity: 0.5; } .tether.on .te-flow { stroke-opacity: 1; stroke-width: 2.6; }
/* 244: the hints of uncharted Realms act like links */
.uh { cursor: pointer; }
.uh:hover .uh-spin svg { filter: drop-shadow(0 0 8px var(--hc)); }
.uh .hint-ln { stroke-opacity: 0.5; }
.uh-wave { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; border: 1.5px solid var(--hc); box-shadow: 0 0 16px var(--hc), inset 0 0 12px var(--hc); pointer-events: none; animation: uhWave 1.4s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes uhWave { from { transform: scale(0.35); opacity: 0.95; } to { transform: scale(4.5); opacity: 0; } }
/* 245: more room between CLAIM RECORD and VIEW CHRONICLE */
.claimrow { gap: 22px; }
/* 251: THE OMNIUM larger, along an upward arch */
.omni-title { font-size: 210px; letter-spacing: 0.42em; }
@media (max-width: 900px) { .omni-title { font-size: 140px; letter-spacing: 0.26em; } }
/* 252: more room between the LEAVE button and the breadcrumbs */
.lefts .crumbs { margin-left: 18px; }
/* 254: no gold marks on the Chronicle's entry buttons (claimed or not) */
.tile.claimed::before, .tile .mk.unread::after { display: none; }
/* 257: Chaos's pieces keep drawing and erasing themselves while it is hovered or selected */
@keyframes chDraw { 0% { stroke-dashoffset: 1; } 38%, 58% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.realm:hover .rm-drawg.chaotic .ch-p, .realm.sel .rm-drawg.chaotic .ch-p { animation: chDraw var(--t, 3s) ease-in-out var(--dl, 0s) infinite, chaosTwitch 3.1s steps(1) 0.9s infinite; }
/* 256: the Empyrean's figure does not turn */
.rm-drawg.still { animation: none !important; }
/* 259: the unknown signal's sentences, one per line */
.sig-lines { display: grid; gap: 2px; }
@media (prefers-reduced-motion: reduce) { .uh-wave, .realm .ch-p { animation: none !important; } }
/* 241: the closed map key's box no longer covers the right side of the map (it caught drags there on smaller windows):
   only its button and, when open, its list take the pointer */
.mapkey { pointer-events: none; }
.mapkey .mapkey-b, .mapkey.open ul { pointer-events: auto; }

/* ---------- batch 8 (maps) ---------- */
/* a Region's or Location's glow: no drop-shadow filter (it popped in late); the soft disc fades in at once */
.pin.k-world:hover .ic, .pin.k-place:hover .ic, .pin.k-world.on .ic, .pin.k-place.on .ic, .pin.k-world:focus-visible .ic { filter: none; }
.pin-glow { transition: opacity 0.55s cubic-bezier(.2,.7,.3,1); }
/* a selected icon with a record open keeps its drawing shown (and turning, from the script) until it is closed */
.centre-pin.on .rm-draw { stroke-dashoffset: 0; opacity: 0.9; }
.centre-pin:hover .rm-drawg.chaotic .ch-p, .centre-pin.on .rm-drawg.chaotic .ch-p { animation: chDraw var(--t, 3s) ease-in-out var(--dl, 0s) infinite, chaosTwitch 3.1s steps(1) 0.9s infinite; }
/* the gold dot of an unclaimed record: a little lower (centred on the text), and each blink sends out a small pulse
   (its halo stroke widens and fades) */
.ud { baseline-shift: 0.02em; stroke: rgb(255 214 140); stroke-linejoin: round; animation: udPulseOut 4.5s ease-in-out infinite; }
@keyframes udPulseOut {
  0%, 60% { fill-opacity: 0.75; fill: #f0c27a; stroke-opacity: 0.2; stroke-width: 4px; }
  75% { fill-opacity: 1; fill: #fff6dc; stroke-opacity: 0.85; stroke-width: 5px; }
  92% { fill: #ffd98f; stroke-opacity: 0; stroke-width: 15px; }
  93% { stroke-opacity: 0; stroke-width: 4px; }
  100% { fill-opacity: 0.75; fill: #f0c27a; stroke-opacity: 0.2; stroke-width: 4px; }
}
/* batch 8: the background animation canvas (a Realm's select screen, sparkles on the maps), behind the map */
.scene-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; z-index: 0; }
.scene-fx.on { opacity: 1; }

/* ---------- batch 8 (Sigils) ---------- */
/* no rocking anywhere (the faction icon's parallax went with it); the split trace runs often instead (script) */
.sigil .emblem, .sigil.earned .emblem, .sigil:not(.earned) .emblem, .rec-sig .emblem, .sig-pop .emblem { animation: none; transform: none; }
.sig-win .sig-hero .emblem.big, .sig-win.earned .sig-hero .emblem.big, .sig-win.unearned .sig-hero .emblem.big { animation: emIn 1.1s cubic-bezier(.2,.8,.2,1) 0.25s backwards; }
/* an earned Sigil always glows, pulsing slowly in its colour */
.sigil.earned .emblem, .sig-win.earned .emblem.big, .rec-sig .emblem, .sig-pop .emblem { animation: emGlow 3.2s ease-in-out infinite; }
.sig-win.earned .sig-hero .emblem.big { animation: emIn 1.1s cubic-bezier(.2,.8,.2,1) 0.25s backwards, emGlow 3.2s ease-in-out 1.35s infinite; }
@keyframes emGlow { 0%, 100% { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--c) 35%, transparent)); } 50% { filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c) 85%, transparent)); } }
/* the equipped Sigil has its own place in the header, outside the progress box, at its right */
.rec-btn { position: relative; }
.rec-btn .rec-sig { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); cursor: pointer; order: 0; }
.rec-sig .emblem { width: 32px; height: 36px; }
.rec-sig .emblem img, .rec-sig .emblem svg { width: 18px; height: 18px; }
.rec-sig.equipped .emblem { animation: eqLand 0.9s cubic-bezier(.2,.8,.2,1.3), emGlow 3.2s ease-in-out 0.9s infinite; }
.rec-sig.leaving .emblem { opacity: 0; transition: opacity 0.2s ease; }
/* equipping: the large Sigil no longer covers the words under it */
.equip-fx .eq-in { gap: 14px; }
.equip-fx .emblem.big { margin-bottom: 34px; }
/* taking a Sigil off: the emblem lifts and fades while sparks of its colour scatter */
.unequip-fx { position: fixed; z-index: 85; width: 0; height: 0; pointer-events: none; --c: #f0c27a; }
.unequip-fx .emblem { position: absolute; left: -16px; top: -18px; width: 32px; height: 36px; transition: transform 0.6s cubic-bezier(.3,.6,.3,1), opacity 0.6s ease, filter 0.6s ease; filter: drop-shadow(0 0 10px var(--c)); }
.unequip-fx.on .emblem { transform: translateY(16px) scale(1.5); opacity: 0; filter: drop-shadow(0 0 0 transparent) grayscale(1); }
.unequip-fx i { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); opacity: 0; transform: rotate(var(--a)) translateX(0); transition: transform 0.6s cubic-bezier(.2,.7,.3,1) var(--dl), opacity 0.6s ease var(--dl); }
.unequip-fx.on i { transform: rotate(var(--a)) translateX(34px); animation: ufSpark 0.6s ease var(--dl) both; }
@keyframes ufSpark { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sigil.earned .emblem, .sig-win.earned .emblem.big, .rec-sig .emblem, .sig-pop .emblem { animation: none !important; } }

/* ---------- batch 8 (Chronicle) ---------- */
/* hovering a button on the Chronicle pages: the glow fades in (no abrupt change) */
.tile { transition: border-color 0.5s ease, background-color 0.5s ease, box-shadow 0.6s ease, transform 0.3s ease-out; }
.tile:hover, .tile:focus-visible { box-shadow: 0 0 18px color-mix(in srgb, var(--c) 28%, transparent); }
.tile:not(.claimed) .mk, .tile:not(.claimed) .t { transition: filter 0.5s ease, opacity 0.5s ease; }
.rail a, .toc a, .chron .btn { transition: color 0.45s ease, background-color 0.45s ease, border-color 0.45s ease, box-shadow 0.6s ease; }
.chron .btn:hover, .chron .btn:focus-visible { box-shadow: 0 0 16px color-mix(in srgb, var(--c, #f0c27a) 30%, transparent); }
/* a claimed entry: a small stroke in its colour as well as the glow from its lower edge */
.tile.claimed { border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: inset 0 -22px 26px -18px color-mix(in srgb, var(--c) 45%, transparent); }
.tile.claimed:hover, .tile.claimed:focus-visible { border-color: color-mix(in srgb, var(--c) 80%, transparent); box-shadow: inset 0 -22px 26px -18px color-mix(in srgb, var(--c) 45%, transparent), 0 0 18px color-mix(in srgb, var(--c) 28%, transparent); }
/* the Codex Score */
.score { display: inline-flex; align-items: baseline; gap: 8px; margin: 0; font: 600 0.62rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.score b { font: 700 1.5rem/1 var(--display); letter-spacing: 0.04em; color: var(--gold); text-shadow: 0 0 14px rgb(240 194 122 / 0.35); }
.score small { font: inherit; color: var(--muted); opacity: 0.7; }
.score-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 8px 0 0; font-size: 0.8rem; color: var(--muted); }
.score-row span b { color: var(--ink); font-weight: 600; }
/* on a phone there is no room beside the box: the equipped Sigil hangs just under it */
@media (max-width: 900px) { .rec-btn .rec-sig { left: auto; right: 2px; top: calc(100% + 8px); transform: none; } }

/* ---------- batch 8: About (item 37) and admin (item 38) ---------- */
.about-b { position: fixed; right: 16px; bottom: 14px; z-index: 30; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: rgb(10 10 13 / 0.78); color: var(--muted); font: 600 0.6rem/1 var(--mono); letter-spacing: 0.2em; cursor: pointer; transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.5s ease; }
.about-b:hover, .about-b:focus-visible { color: var(--gold); border-color: rgb(240 194 122 / 0.5); box-shadow: 0 0 16px rgb(240 194 122 / 0.2); outline: none; }
body.dossier-on .about-b { opacity: 0; pointer-events: none; }
.ab-pop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgb(4 4 6 / 0.72); opacity: 0; transition: opacity 0.35s ease; --c: #f0c27a; }
.ab-pop.on { opacity: 1; }
.ab-in { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 30px 30px 22px; border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line)); border-radius: 18px; background: linear-gradient(160deg, rgb(20 20 26 / 0.97), rgb(9 9 12 / 0.97)); box-shadow: 0 40px 90px rgb(0 0 0 / 0.7); transform: translateY(16px) scale(0.97); transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.ab-pop.on .ab-in { transform: none; }
.ab-in .x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.ab-in .x:hover { color: #fff; }
.ab-in h2 { margin: 2px 0 12px; font: 700 1.7rem/1.1 var(--display); letter-spacing: 0.06em; color: #fff3da; }
.ab-in p { margin: 0 0 12px; font-size: 0.92rem; line-height: 1.6; color: #d8d1c6; }
.ab-in .btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.ab-foot { display: flex; align-items: center; gap: 10px; margin: 18px 0 0 !important; font: 600 0.58rem/1 var(--mono) !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted) !important; }
.ab-mark { width: 26px; height: 26px; padding: 0; border: 0; background: none; color: rgb(240 194 122 / 0.45); font-size: 0.9rem; cursor: default; user-select: none; -webkit-user-select: none; touch-action: none; }
.ab-pop.admin .ab-in { width: min(640px, 100%); }
.ab-pop.admin .btns .cxa-out { margin-left: auto; }   /* batch 35 (1258) */
.ab-pop.cxa-play .ab-in { width: min(920px, 100%); max-height: 92vh; overflow: auto; }   /* batch 35 (1259): a game played from the admin popup */
.ab-pop.admin input[type="password"], .ab-pop.admin input[type="search"] { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: rgb(0 0 0 / 0.35); color: var(--ink); font: inherit; }
.ab-msg { min-height: 1.2em; margin: 8px 0 0 !important; color: #ff9a8a !important; font-size: 0.8rem !important; }
.ab-in .k { margin: 18px 0 8px; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.cxa-rv { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: #d8d1c6; cursor: pointer; }
.cxa-sigs, .cxa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cxa-sigs li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.84rem; color: #d8d1c6; }
.cxa-sigs .btn { padding: 4px 10px; font-size: 0.56rem; }
.cxa-list { margin-top: 8px; max-height: 260px; overflow: auto; }
.cxa-list label { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: #d8d1c6; cursor: pointer; }
.cxa-list small { margin-left: auto; font: 600 0.54rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .about-b { right: auto; bottom: auto; left: 12px; top: calc(var(--top, 56px) + 8px); padding: 6px 9px; } }
@media (min-width: 901px) { .mapkey { right: 92px; } }   /* room for ABOUT at the lower right */

/* batch 9 (phone crash): on phones the background layers are drawn in an 800 px box (explore.js scales them up 3.5x),
   so each takes about a twelfth of the memory; in safe mode (after a crash, or ?safe) only the still layer is kept and
   the heaviest effects are off */
.lite .bg-l { left: -400px; top: -400px; width: 800px; height: 800px; }
.safe .bg-l:not(.bd-static), .safe .map-fx, .safe .scene-fx, .safe .art-layer, .safe .map-edge { display: none !important; }
.safe .map-bg, .safe .map-svg, .safe .map-ui { will-change: auto; }
.safe *, .safe *::before, .safe *::after { filter: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* batch 9 (item 293): every Realm's gold dot and claimed arc shine together now and then */
.omni.shine .realm .prog { animation: progShine 1.6s ease-in-out; }
.omni.shine .realm .new { animation: newShine 1.6s ease-in-out; }
@keyframes progShine { 40% { opacity: 1; stroke: #fff3d6; stroke-width: 2.6; filter: drop-shadow(0 0 6px var(--gold)); } }
@keyframes newShine { 40% { transform: scale(1.8); fill: #fff3d6; filter: drop-shadow(0 0 7px var(--gold)); } }

/* batch 9 (item 295): an open map key fades out when the map changes */
.view.leaving .mapkey { opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }

/* batch 9 (item 300): a Realm's animation visiting its map, faint */
.scene-fx.scene-visit { transition: opacity 2.4s ease; }
.scene-fx.scene-visit.on { opacity: 0.5; }

/* batch 9 (item 302): a hint of an uncharted Realm shimmering now and then */
.uh.shim .hint-ln { animation: hintShim 2.2s ease-in-out var(--shd, 0s); }
.uh.shim .uh-dot { animation: hintDot 2.2s ease-in-out var(--shd, 0s); }
@keyframes hintShim { 45% { stroke: color-mix(in srgb, var(--hc) 60%, #fff); stroke-opacity: 0.75; } }
@keyframes hintDot { 45% { background: var(--hc); box-shadow: 0 0 9px var(--hc); } }

/* batch 9 (item 303): the Codex Score a claim adds, on its own smaller line */
.toast .t-note { display: block; margin-top: 2px; font-size: 0.68rem; letter-spacing: 0.18em; color: var(--tc, var(--gold)); opacity: 0.9; text-align: center; }

/* batch 9 (item 190): one small layer per icon */
.ui-it { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; }
.ui-sv { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
body:not(.lite) .ui-it { will-change: transform; }
.map-ui { will-change: auto; }

/* ---------- batch 9 (Sigils) ---------- */
/* items 306, 307, 309: the emblem itself is no longer clipped; its rim and face are parts of it, so the glow and the
   edge trace show in full at every size; no reflection or parallax anywhere */
.emblem { clip-path: none !important; background: none !important; isolation: isolate; }
.emblem::before, .emblem::after { content: none !important; }
.em-gloss { display: none !important; }
.em-rim, .em-face { position: absolute; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); pointer-events: none; }
.em-rim { inset: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 40%, #fff) 0%, var(--c) 35%, color-mix(in srgb, var(--c) 30%, #000) 100%); }
.em-face { inset: 3px; background: radial-gradient(circle at 35% 25%, #2a2a33, #0b0b0e 75%); }
.emblem > img, .emblem > svg:not(.em-trace) { transform: none !important; z-index: 1; }
.em-trace { z-index: 2; }
.em-halo { position: absolute; inset: -35%; z-index: -1; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 55%, transparent), color-mix(in srgb, var(--c) 18%, transparent) 55%, transparent); }
.emblem.won .em-halo { animation: emHalo 3.2s ease-in-out infinite; }
@keyframes emHalo { 0%, 100% { opacity: 0.35; transform: scale(0.92); } 50% { opacity: 0.9; transform: scale(1.06); } }
.rec-sig .emblem.won .em-halo { inset: -45%; }
@media (prefers-reduced-motion: reduce) { .emblem.won .em-halo { animation: none; opacity: 0.6; } }
/* item 296: hovering the header's Sigil glows the Sigil, not the progress box */
.rec-sig .emblem { transition: filter 0.4s ease; }
.rec-sig:hover .emblem { filter: drop-shadow(0 0 10px var(--c)) brightness(1.2); animation: none; }
.rec-btn:has(.rec-sig:hover) { border-color: var(--line-2, rgb(255 255 255 / 0.18)); box-shadow: none; }
.rec-sig { cursor: pointer; }
/* items 308, 310: equipping: the Sigil and its name side by side in their own box, the Sigil's animation behind */
.equip-fx .scene-sigil { z-index: 0; }
.equip-fx .eq-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; padding: 20px 30px 20px 22px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); border-radius: 14px; background: rgb(10 10 13 / 0.78); box-shadow: 0 0 40px color-mix(in srgb, var(--c) 25%, transparent); opacity: 0; transform: scale(0.94); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.equip-fx.on .eq-in { opacity: 1; transform: none; }
.equip-fx.fly .eq-in { border-color: transparent; background: transparent; box-shadow: none; transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s; }
.equip-fx .emblem.big { margin: 0 !important; width: 110px; height: 126px; }
.equip-fx .emblem.big img, .equip-fx .emblem.big svg:not(.em-trace) { width: 64px; height: 64px; }
.equip-fx .eq-t { display: grid; gap: 8px; text-align: left; }
.equip-fx .scene-fx { position: absolute; }
@media (max-width: 600px) { .equip-fx .eq-in { gap: 14px; padding: 14px 18px 14px 14px; } .equip-fx .emblem.big { width: 76px; height: 87px; } .equip-fx .emblem.big img { width: 44px; height: 44px; } .eq-n { font-size: 1.15rem; } }

/* batch 9 (item 305): a record's Codex Score value */
.rec-score { display: inline-flex; align-items: baseline; gap: 8px; margin: -12px 0 20px; font: 600 0.62rem/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.rec-score b { font: 700 0.9rem/1 var(--display); letter-spacing: 0.06em; color: var(--gold); }
.rec-score.got b { color: color-mix(in srgb, var(--gold) 70%, #fff); }

/* ---------- batch 9 (About, Subscribe, Contact) ---------- */
/* item 313: ABOUT at the top left, under the way back (the left panel keeps clear of it) */
.about-b { right: auto !important; bottom: auto !important; left: 18px !important; top: calc(var(--top) + 10px) !important; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.brief { max-height: calc(100% - var(--top) - 76px); }
@media (max-width: 900px) { .about-b { left: 12px !important; top: calc(var(--top, 56px) + 8px) !important; } }
.ab-back { margin: -6px 0 10px; padding: 4px 0; border: 0; background: none; color: var(--muted); font: 600 0.6rem/1 var(--mono); letter-spacing: 0.2em; cursor: pointer; }
.ab-back:hover { color: var(--gold); }
.ab-form { display: grid; gap: 12px; margin-top: 8px; }
.ab-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ab-row input { flex: 1 1 200px; }
.ab-form input, .ab-form select, .ab-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: rgb(0 0 0 / 0.35); color: var(--ink); font: inherit; font-size: 0.9rem; }
.ab-form textarea { resize: vertical; min-height: 96px; }
.ab-form select option { background: #111; }
.ab-form .bad { border-color: #ff8a7a; box-shadow: 0 0 0 1px rgb(255 138 122 / 0.4); }
.ab-form input:focus, .ab-form select:focus, .ab-form textarea:focus { outline: none; border-color: var(--gold); }
.ab-field { display: grid; gap: 6px; }
.ab-field > span { font: 600 0.58rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.ab-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .ab-two { grid-template-columns: 1fr; } }
.ab-send { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ab-note { margin: 0 !important; font-size: 0.8rem !important; color: var(--muted) !important; }
.ab-note.bad { color: #ff9a8a !important; }
.ab-note a { color: var(--gold); }
.ab-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ab-done { color: var(--gold) !important; font-size: 1rem !important; }
.ab-form.won { animation: abWon 1.6s ease; }
@keyframes abWon { 30% { box-shadow: 0 0 0 1px var(--gold), 0 0 30px rgb(240 194 122 / 0.35); } }

/* ===== batch 10 ===== */
/* 317: the energy to the Nexus slides along a strip moved by the graphics chip (no per-frame SVG redraw) */
.te-flow { display: none; }
.te-beam { position: absolute; height: calc(14px / var(--k, 1)); margin-top: calc(-7px / var(--k, 1)); transform-origin: 0 50%; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 0.9s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 88%, transparent); }
.te-beam.on { opacity: 1; }
.te-beam i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% + calc(36px / var(--k, 1))); will-change: transform;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, #fff) 0 calc(1.3px / var(--k, 1)), var(--c) calc(1.9px / var(--k, 1)), color-mix(in srgb, var(--c) 35%, transparent) calc(3px / var(--k, 1)), transparent calc(6.5px / var(--k, 1)));
  background-size: calc(36px / var(--k, 1)) 100%; background-repeat: repeat-x; animation: teBeam 0.82s linear infinite; animation-play-state: paused; }
.te-beam.on i { animation-play-state: running; }
@keyframes teBeam { to { transform: translateX(calc(-36px / var(--k, 1))); } }
@media (prefers-reduced-motion: reduce) { .te-beam i { animation: none; } }
/* 319: THE OMNIUM larger */
.omni-title { font-size: 270px; letter-spacing: 0.4em; }
@media (max-width: 900px) { .omni-title { font-size: 180px; letter-spacing: 0.24em; } }
/* 322, 338: ABOUT in the header, next to LEAVE, with the breadcrumbs after it; it stays while a record is open, and a light
   sweep crosses it now and then */
.about-b { position: relative !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; z-index: 2; flex: 0 0 auto; height: 38px; padding: 0 14px; border-radius: 999px; overflow: hidden; opacity: 1 !important; pointer-events: auto !important; }
body.dossier-on .about-b { opacity: 1; pointer-events: auto; }
.lefts .crumbs { margin-left: 4px; }
.about-b::after { content: ""; position: absolute; inset: -2px; background: linear-gradient(105deg, transparent 35%, rgb(255 236 200 / 0.55) 50%, transparent 65%); transform: translateX(-120%); animation: aboutSweep 13s ease-in-out 4s infinite; pointer-events: none; }
@keyframes aboutSweep { 0% { transform: translateX(-120%); } 9%, 100% { transform: translateX(120%); } }
@media (max-width: 900px) { .about-b { order: 1; height: 34px; padding: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .about-b::after { animation: none; display: none; } }
.brief { max-height: calc(100% - var(--top) - 36px); }
@media (max-width: 900px) { .brief { max-height: 33%; } }
/* 321: the MAP KEY button larger, in the bottom right corner */
.mapkey { right: 16px; bottom: 16px; }
.mapkey-b { height: 46px; padding: 0 22px; border-radius: 10px; font-size: 0.78rem; letter-spacing: 0.22em; }
/* 326, 327: on a phone the map's panel folds to its title; the map, the key and the hint sit above its real height */
.brief-tog { display: none; }
@media (max-width: 900px) {
  .mapkey { right: 12px; bottom: calc(var(--bh, 34%) + 10px); }
  .mapkey-b { height: 40px; padding: 0 16px; font-size: 0.66rem; }
  .dest .map-area { bottom: var(--bh, 34%); }
  .hint { bottom: calc(var(--bh, 34%) + 14px); }
  .dest .brief { transition: max-height 0.35s ease; }
  .dest .brief-tog { display: grid; place-items: center; position: sticky; float: right; top: 0; z-index: 2; width: 34px; height: 34px; margin: -6px -6px 0 8px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: rgb(10 10 13 / 0.85); color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; }
  .dest .brief-tog span { display: block; transition: transform 0.3s ease; transform: translateY(-3px); }
  .dest .brief.folded .brief-tog span { transform: rotate(180deg) translateY(-1px); }
  .dest .brief.folded { overflow: hidden; }
  .dest .brief.folded > :not(.brief-tog):not(h1):not(.eyebrow) { display: none; }
  .dest .brief.folded h1 { margin-bottom: 0; font-size: 1.15rem; }
}
/* 324: a shimmering hint holds its glow for well over a second (3.4 s in all, about 1.4 s at full) */
.uh.shim .hint-ln { animation: hintShim2 3.4s ease-in-out var(--shd, 0s); }
.uh.shim .uh-dot { animation: hintDot2 3.4s ease-in-out var(--shd, 0s); }
.uh.shim .uh-spin svg { animation: hintGlow2 3.4s ease-in-out var(--shd, 0s); }
@keyframes hintShim2 { 0%, 100% { } 28%, 70% { stroke: color-mix(in srgb, var(--hc) 65%, #fff); stroke-opacity: 0.9; } }
@keyframes hintDot2 { 28%, 70% { background: var(--hc); box-shadow: 0 0 12px var(--hc); } }
@keyframes hintGlow2 { 28%, 70% { filter: drop-shadow(0 0 7px var(--hc)); } }
.lite .uh.shim .uh-spin svg { animation: none; }
/* 325, 339: the Codex Score at the far right of the seal's line, the seal just left of it */
.claimslot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.claimslot .rec-score { margin: 0; }
/* 337: in the Chronicle an unclaimed record links to its place on the map instead of a CLAIM button */
.claim-there { font-size: 0.66rem; letter-spacing: 0.2em; opacity: 0.85; }
/* 336: the Chronicle's main buttons: no stray gold pulse (the unread dot's glow leaked into the light sweep's layer at
   the top left), and no tilting on hover: they grow slightly instead */
.book::after { width: auto; height: auto; border-radius: 0; box-shadow: none; animation: none; }
.book { transform: none; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.9s ease, border-color 0.9s ease; }
.book:hover, .book:focus-visible { transform: scale(1.03); }
.book .emb { transform: none; }
@media (prefers-reduced-motion: reduce) { .book:hover, .book:focus-visible { transform: none; } }
/* 330: the header's equipped Sigil: its emblem and name side by side in their own box, apart from the progress box */
.rec-btn .rec-sig:not([hidden]) { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 6px; border: 1px solid color-mix(in srgb, var(--c, #f0c27a) 45%, var(--line-2)); border-radius: 999px; background: rgb(10 10 13 / 0.8); white-space: nowrap; }
.rec-sig .rs-em { display: grid; place-items: center; }
.rec-sig .rs-n { font: 600 0.62rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--c, #f0c27a) 40%, #fff); }
.rec-sig:hover .rs-n { color: #fff; }
@media (max-width: 900px) { .rec-btn .rec-sig:not([hidden]) { height: 34px; padding: 0 10px 0 4px; gap: 6px; } .rec-sig .rs-n { font-size: 0.54rem; letter-spacing: 0.1em; } }
/* 328: the equip animation's background fades out as the Sigil flies (sooner), and fades towards the window's edges */
.equip-fx .scene-sigil { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 35%, transparent 100%); }
.equip-fx.fly .scene-sigil { opacity: 0 !important; transition: opacity 0.55s ease; }
/* 335: taking a Sigil off is stronger: a flash, two rings opening, 22 sparks flung further, the emblem rising larger */
.rec-sig.leaving .rs-n { opacity: 0; transition: opacity 0.3s ease; }
.unequip-fx .emblem { transition: transform 0.8s cubic-bezier(.3,.6,.3,1), opacity 0.8s ease, filter 0.8s ease; filter: drop-shadow(0 0 18px var(--c)) brightness(1.6); }
.unequip-fx.on .emblem { transform: translateY(22px) scale(2.1) rotate(-12deg); }
.unequip-fx i { width: 5px; height: 5px; box-shadow: 0 0 10px var(--c), 0 0 3px #fff; transition: transform 0.8s cubic-bezier(.15,.7,.3,1) var(--dl), opacity 0.8s ease var(--dl); }
.unequip-fx.on i { transform: rotate(var(--a)) translateX(var(--dx, 50px)); animation: ufSpark 0.8s ease var(--dl) both; }
.unequip-fx .uf-ring { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--c); box-shadow: 0 0 22px var(--c), inset 0 0 14px var(--c); opacity: 0; transform: scale(0.3); }
.unequip-fx.on .uf-ring { animation: ufRing 0.75s cubic-bezier(.2,.7,.3,1) both; }
.unequip-fx.on .uf-ring.r2 { animation-delay: 0.14s; border-width: 1px; }
@keyframes ufRing { 0% { opacity: 0; transform: scale(0.3); } 15% { opacity: 1; } 100% { opacity: 0; transform: scale(2.6); } }
.unequip-fx::before { content: ""; position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #fff 0, var(--c) 25%, transparent 65%); opacity: 0; }
.unequip-fx.on::before { animation: ufFlash 0.6s ease-out both; }
@keyframes ufFlash { 0% { opacity: 0; transform: scale(0.4); } 20% { opacity: 0.9; } 100% { opacity: 0; transform: scale(1.4); } }
/* 329: the Sigil-earned notice opens that Sigil's page */
.toast.link.on { pointer-events: auto; cursor: pointer; }
.toast.link.on:hover { filter: brightness(1.12); }
/* 331: on a Sigil's page the glow is no longer cut off at the top (room above the emblem), and no jump after it fades
   in (the fade-in no longer animates the glow, so the pulsing glow takes over smoothly) */
.sig-hero { padding-top: 64px; margin-top: -42px; }
@keyframes emIn2 { from { opacity: 0; transform: scale(0.9); } }
.sig-win .sig-hero .emblem.big, .sig-win.unearned .sig-hero .emblem.big { animation: emIn2 1.1s cubic-bezier(.2,.8,.2,1) 0.25s backwards; }
.sig-win.earned .sig-hero .emblem.big { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--c) 35%, transparent)); animation: emIn2 1.1s cubic-bezier(.2,.8,.2,1) 0.25s backwards, emGlow 3.2s ease-in-out 1.35s infinite; }
/* 333: no light sweeps on the Sigils page's tiles except on hover */
.sigil.earned::before { animation: none; }
.sigil.earned:hover::before { animation: sweep 0.9s ease; }
@media (prefers-reduced-motion: reduce) { .sig-win .sig-hero .emblem.big { animation: none !important; } }
/* 341: cursor W, the Codex's own cursor (js/cursor.js): concentric circles, and a spinning rune ring over anything that
   can be selected; the usual cursor over text fields */
html.rcur-on, html.rcur-on * { cursor: none !important; }
html.rcur-on :is(input, textarea, select, [contenteditable="true"]) { cursor: auto !important; }
.rcur { position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; opacity: 0; will-change: transform; overflow: visible; transition: opacity 0.2s ease; }
.rcur.in { opacity: 1; }
.rcur.hide { opacity: 0; }
.rcur g, .rcur path, .rcur circle { fill: none; stroke-linecap: round; }
.rcur .rc-dk { stroke: rgb(10 8 6 / 0.85); stroke-width: 3.2; }
.rcur .rc-gd { stroke: #f0c27a; stroke-width: 1.4; }
.rcur .rc-dot { fill: #ffe2ad; stroke: none; }
.rcur .rc-rings, .rcur .rc-rune { transform-origin: 16px 16px; transition: opacity 0.22s ease, transform 0.3s cubic-bezier(.2,.8,.2,1.3); }
.rcur .rc-rune { opacity: 0; transform: scale(0.6); }
.rcur.over .rc-rings { opacity: 0; transform: scale(1.4); }
.rcur.over .rc-rune { opacity: 1; transform: none; }
.rcur .rc-spin { transform-origin: 16px 16px; animation: spin 3.2s linear infinite; }
.rcur.over .rc-gd { filter: drop-shadow(0 0 2px rgb(240 194 122 / 0.9)); }
.rcur.down .rc-rings, .rcur.down .rc-rune { transform: scale(0.82); }
@media (prefers-reduced-motion: reduce) { .rcur .rc-spin { animation: none; } }
/* 343 (a trial): card records on Karsina: small card points on the map, and a short record made from the card */
.pin.k-card .ic .ln { stroke: color-mix(in srgb, var(--c) 55%, #fff); }
.pin.k-card .lbl { font-size: 0.82em; opacity: 0.85; }
.card-rec .cr-body { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; margin-top: 8px; }
.card-rec .cr-art { padding: 0; border: 0; background: none; border-radius: 7px; overflow: hidden; box-shadow: 0 8px 22px rgb(0 0 0 / 0.6), 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-rec .cr-art:hover { transform: scale(1.04); box-shadow: 0 10px 26px rgb(0 0 0 / 0.65), 0 0 18px color-mix(in srgb, var(--c) 45%, transparent); }
.card-rec .cr-art img { display: block; width: 100%; }
.card-rec .cr-k { margin: 0; font: 600 0.6rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c); }
.card-rec .cr-n { margin: 4px 0 8px; color: color-mix(in srgb, var(--c) 40%, #fff); }
.card-rec .cr-q { display: block; margin: 0 0 10px; font: italic 0.95rem/1.5 Georgia, serif; color: #d8d1c6; }
.card-rec .cr-no { display: grid; gap: 2px; margin: 0; font-size: 0.74rem; color: var(--muted); }
.card-rec .cr-no b { font: 600 0.72rem/1.2 var(--mono); letter-spacing: 0.12em; color: var(--ink); }
.card-rec .btns { margin-top: 18px; }
@media (max-width: 900px) { body:has(#recBtn.shown) .crumbs { padding-right: 170px; } .rec-sig .rs-n { max-width: 112px; overflow: hidden; text-overflow: ellipsis; } }

/* batch 11 (345): a hint's shimmer fades in gradually (2.4 s), holds, then fades out slowly (6.8 s in all) */
.uh.shim .hint-ln { animation: hintShim3 6.8s linear var(--shd, 0s); }
.uh.shim .uh-dot { animation: hintDot3 6.8s linear var(--shd, 0s); }
.uh.shim .uh-spin svg { animation: hintGlow3 6.8s linear var(--shd, 0s); }
@keyframes hintShim3 { 0% { animation-timing-function: cubic-bezier(.45,0,.55,1); } 36%, 58% { stroke: color-mix(in srgb, var(--hc) 65%, #fff); stroke-opacity: 0.9; animation-timing-function: cubic-bezier(.45,0,.55,1); } }
@keyframes hintDot3 { 0% { animation-timing-function: cubic-bezier(.45,0,.55,1); } 36%, 58% { background: var(--hc); box-shadow: 0 0 12px var(--hc); animation-timing-function: cubic-bezier(.45,0,.55,1); } }
@keyframes hintGlow3 { 0% { animation-timing-function: cubic-bezier(.45,0,.55,1); } 36%, 58% { filter: drop-shadow(0 0 7px var(--hc)); animation-timing-function: cubic-bezier(.45,0,.55,1); } }
.lite .uh.shim .uh-spin svg { animation: none; }
/* batch 11 (346): claiming: a shine runs along the name, which glows brightest just as its dot is removed */
.gild-sweep { fill: #fff4d8; pointer-events: none; filter: blur(3px); }
.lbl.gilt2 { animation: gilt2 1.4s ease forwards; }
@keyframes gilt2 { 0% { filter: none; } 30%, 45% { fill: #fff3d0; filter: drop-shadow(0 0 4px var(--gold)) drop-shadow(0 0 9px var(--gold)); } 100% { filter: none; } }
/* batch 11 (350): cards are collected with a small claim: an uncollected card's centre point glows gold in the shared
   blink; a collected card is drawn in gold; COLLECT is a small button with a quick shine */
.pin.k-card:not(.claimed) .ic .dot, .pin.k-card:not(.claimed) circle.dot { fill: var(--gold); animation: udShine 4.5s ease-in-out infinite; }
.pin.k-card.claimed .ln { stroke: var(--gold); }
/* batch 13 (item 412): the glow runs on the icon; on the pin it replaced the entry fade, which restarted from nothing when it ended (the card vanished for a moment) */
.pin.k-card.got.got .ic { animation: cardGot 1.2s ease; }
@keyframes cardGot { 30% { filter: drop-shadow(0 0 6px var(--gold)) drop-shadow(0 0 14px var(--gold)); } }
.btn.collect { position: relative; overflow: hidden; font-size: 0.62rem; padding: 7px 12px; border-color: color-mix(in srgb, var(--gold) 60%, transparent); color: var(--gold); }
.btn.collect.done { color: var(--dim); border-color: rgb(255 255 255 / 0.15); cursor: default; }
.btn.collect.shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 240 200 / 0.8) 50%, transparent 70%); transform: translateX(-100%); animation: collectShine 0.7s ease forwards; }
@keyframes collectShine { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .pin.k-card circle.dot, .btn.collect.shine::after { animation: none !important; } }
/* batch 11 (351): when search and the equipped Sigil would touch, the Sigil's name folds away, then search folds to its
   magnifying glass, which opens the field under it (as on a phone) */
.top.sig-mini .rec-sig .rs-n { display: none; }
/* batch 12: with its name folded away, the equipped Sigil stands alone, with no box round it */
.top.sig-mini .rec-btn .rec-sig:not([hidden]) { padding: 0 2px; border-color: transparent; background: none; }
@media (min-width: 901px) {
  .top.find-mini .find-b { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line-2); border-radius: 9px; background: rgb(10 10 13 / 0.85); color: var(--muted); cursor: pointer; }
  .top.find-mini .find-b svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .top.find-mini .findw.open .find-b { color: var(--ember); border-color: var(--ember); }
  .top.find-mini .find { display: none; position: absolute; right: 0; top: calc(100% + 8px); width: 280px; z-index: 5; }
  .top.find-mini .findw.open .find { display: block; }
  .top.find-mini .hits { right: 0; left: auto; top: calc(100% + 54px); }
}
/* batch 11 (352): hovering a breadcrumb level lights it */
.crumbs a { transition: color 0.2s ease, text-shadow 0.2s ease, background-color 0.2s ease; border-radius: 4px; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--ember); text-shadow: 0 0 10px color-mix(in srgb, var(--ember) 60%, transparent); }
.crumb-list a:hover, .crumb-list a:focus-visible { background: color-mix(in srgb, var(--ember) 12%, transparent); }
/* batch 11 (354): the Contact popup's subject list in orange on hover (the open list too, where the browser allows it) */
.ab-form select { transition: border-color 0.2s ease, color 0.2s ease; }
.ab-form select:hover, .ab-form select:focus-visible { border-color: var(--ember); color: var(--ember); }
@supports (appearance: base-select) {
  .ab-form select, .ab-form select::picker(select) { appearance: base-select; }
  .ab-form select::picker(select) { background: #121217; border: 1px solid var(--line-2); border-radius: 8px; color: var(--text, #ece8e2); }
  .ab-form select option { padding: 6px 10px; }
  .ab-form select option:hover, .ab-form select option:focus-visible { background: color-mix(in srgb, var(--ember) 22%, transparent); color: var(--ember); }
}
.ab-form select option:hover, .ab-form select option:checked { background-color: #c96a1e; color: #fff; }
.about.leave .btns { display: flex; gap: 10px; flex-wrap: wrap; }
/* batch 11 (356): the Chronicle and Sigils pages start below the header's real height, and whatever scrolls up under the
   header fades out before it reaches the header's buttons */
.view.chron { padding-top: max(calc(var(--top) + 18px), calc(var(--toph, 0px) + 16px)); scroll-padding-top: max(calc(var(--top) + 10px), calc(var(--toph, 0px) + 10px));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent calc(var(--toph, var(--top)) - 4px), #000 calc(var(--toph, var(--top)) + 26px));
  mask-image: linear-gradient(to bottom, transparent 0, transparent calc(var(--toph, var(--top)) - 4px), #000 calc(var(--toph, var(--top)) + 26px)); }
/* batch 11 (361): a sealed record in the Chronicle leads to the map; in a record's list it is a name only */
.toc .toc-sealed { display: block; padding: 5px 10px; color: var(--dim); opacity: 0.6; cursor: default; }
.tile.to-map small.lock { letter-spacing: 0.04em; }
/* batch 11 (362): the cursor in the equipped Sigil's colour */
html.sig-eq .rcur .rc-gd { stroke: var(--sigc, #f0c27a); }
html.sig-eq .rcur .rc-dot { fill: color-mix(in srgb, var(--sigc, #f0c27a) 45%, #fff); }
html.sig-eq .rcur.over .rc-gd { filter: drop-shadow(0 0 2px var(--sigc, #f0c27a)); }
/* batch 11 (363): a page change: the equipped Sigil's emblem, faint and large, zooms in and fades */
.sig-pass { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; pointer-events: none; }
.sig-pass .emblem { width: 150px; height: 168px; opacity: 0; animation: sigPass 1s cubic-bezier(.3,.6,.3,1) forwards; filter: drop-shadow(0 0 24px var(--c)); }
@keyframes sigPass { 0% { opacity: 0; transform: scale(0.7); } 35% { opacity: 0.32; } 100% { opacity: 0; transform: scale(1.35); } }
/* batch 11 (364): the equipped Sigil's Realm animation behind the Chronicle, faint */
.sig-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.sig-bg .scene-fx.scene-steady { transition: opacity 2.4s ease; }
.sig-bg .scene-fx.scene-steady.on { opacity: 0.32; }
@media (max-width: 900px) { .sig-bg .scene-fx.scene-steady.on { opacity: 0.22; } }
/* batch 11 (368): on a phone the card popup's close X stays above the card and in view while the popup scrolls */
@media (max-width: 900px) {
  .pop-in .x { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; z-index: 60; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgb(10 10 13 / 0.9); border: 1px solid var(--line-2); transform: translateZ(400px); }
  .pop-in { padding-top: 58px; }
}
/* batch 11 (369): the phone's tap tooltip, under the centred icon, with OPEN RECORD */
.tip.peek { pointer-events: auto; max-width: none; z-index: 41; }
/* batch 13 (item 436): a closed tap tooltip no longer catches taps (it stayed clickable while invisible, where it was
   last shown, so a box in the middle or lower part of the screen ignored taps and scrolling, on every page) */
.tip.peek:not(.on) { pointer-events: none; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s; }
.tip.peek .peek-go { display: block; margin-top: 10px; width: 100%; text-align: center; }

/* batch 13 (item 424, replacing batch 12's falling embers): while a Sigil is equipped, now and then a soft light in its
   colour runs along the header's lower edge */
.hd-run { position: fixed; z-index: 39; left: 0; right: 0; top: calc(var(--hdb, var(--toph, 64px)) - 1px); height: 2px; overflow: hidden; pointer-events: none; }
.hd-run i { position: absolute; top: 0; left: 0; width: 34%; height: 100%; opacity: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sigc, #f0c27a) 80%, #fff) 50%, transparent); box-shadow: 0 0 10px var(--sigc, #f0c27a); }
.hd-run.on i { animation: hdRun 3.6s cubic-bezier(.45,.05,.55,.95) forwards; }
@keyframes hdRun { 0% { opacity: 0; transform: translateX(-100%); } 18% { opacity: 0.8; } 82% { opacity: 0.6; } 100% { opacity: 0; transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .hd-run { display: none; } }
/* batch 12: an uncharted Realm's hint never lights at once: its glow starts from an invisible shadow (a glow from "none"
   jumped in some browsers) and hovering fades it in and out over 1.4 s, as the shimmer does */
.uh .uh-spin svg { filter: drop-shadow(0 0 0 transparent); transition: filter 1.4s ease; }
.uh .hint-ln { stroke: rgb(225 215 205 / 0.2); }
@keyframes hintGlow3 { 0%, 100% { filter: drop-shadow(0 0 0 transparent); animation-timing-function: cubic-bezier(.45,0,.55,1); } 36%, 58% { filter: drop-shadow(0 0 7px var(--hc)); animation-timing-function: cubic-bezier(.45,0,.55,1); } }
@keyframes hintShim3 { 0%, 100% { stroke: rgb(225 215 205 / 0.2); stroke-opacity: 0.5; animation-timing-function: cubic-bezier(.45,0,.55,1); } 36%, 58% { stroke: color-mix(in srgb, var(--hc) 65%, #fff); stroke-opacity: 0.9; animation-timing-function: cubic-bezier(.45,0,.55,1); } }
@keyframes hintDot3 { 0%, 100% { background: rgb(235 225 215 / 0.45); box-shadow: 0 0 0 transparent; animation-timing-function: cubic-bezier(.45,0,.55,1); } 36%, 58% { background: var(--hc); box-shadow: 0 0 12px var(--hc); animation-timing-function: cubic-bezier(.45,0,.55,1); } }
/* batch 12 (user, 2026-11-12): card icons. To collect: a card with a glint at its corner, the glint blinking gold in
   the shared beat; collected: the upright card with its window and point, in gold. On hover the icon's glow pulses */
.ic-card .ic-got { display: none; }
.pin.claimed .ic-card .ic-got { display: inline; }
.pin.claimed .ic-card .ic-togo { display: none; }
.ic-card .glint { fill: var(--gold); stroke: color-mix(in srgb, var(--gold) 60%, #fff); }
.pin.k-card:not(.claimed) .glint { animation: udShine 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.pin.k-card:hover .ic, .pin.k-card:focus-visible .ic, .pin.k-card.on .ic { animation: cardPulse 1.8s ease-in-out infinite; }
.pin.k-card.claimed:hover .ic, .pin.k-card.claimed.on .ic { --pc: var(--gold); }
@keyframes cardPulse { 0%, 100% { filter: drop-shadow(0 0 2px var(--pc, var(--c))); } 50% { filter: drop-shadow(0 0 6px var(--pc, var(--c))) drop-shadow(0 0 12px var(--pc, var(--c))); } }
.lite .pin.k-card:hover .ic, .lite .pin.k-card.on .ic { animation: none; }
/* the Legend's diamond */
.ic-legend .lg-dia { stroke-opacity: 0.75; }
@media (prefers-reduced-motion: reduce) { .pin.k-card .ic, .pin.k-card .glint { animation: none !important; } }
/* ---------- batch 12 (user, 2026-11-12): the refined Chronicle ---------- */
/* the NEW tag: gold, softly glowing */
.new-tag { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; font: 700 0.54rem/1 var(--mono); letter-spacing: 0.16em; color: #ffd98f; text-shadow: 0 0 6px rgb(240 194 122 / 0.9), 0 0 14px rgb(240 194 122 / 0.5); animation: newGlow 2.6s ease-in-out infinite; white-space: nowrap; }
.new-tag b { font-weight: 700; }
/* performance: only the opacity changes (the graphics chip does it), never the glow itself, as a list may hold hundreds */
@keyframes newGlow { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
.book > .new-tag { position: absolute; top: 16px; right: 16px; }
.shelf-h .new-tag { margin-right: 4px; }
.tile .new-tag { position: absolute; top: 6px; right: 8px; font-size: 0.46rem; }
.toc .new-tag { margin-left: 6px; font-size: 0.44rem; vertical-align: 1px; }
/* the progress panel at the top right, and the bars */
.chron-stat { display: grid; gap: 8px; min-width: 280px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(160deg, rgb(255 122 26 / 0.08), rgb(10 10 13 / 0.6) 60%); }
.chron-stat .cs-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chron-stat .cs-top .eyebrow { margin: 0; }
.chron-stat .sig-go { padding: 6px 12px; font-size: 0.6rem; }
.chron-stat .cs-score { font: 700 1.9rem/1 var(--display); letter-spacing: 0.04em; color: var(--gold); text-shadow: 0 0 18px rgb(240 194 122 / 0.35); }
.chron-stat .cs-n { font: 600 0.58rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.chron-stat.small { min-width: 220px; padding: 12px 14px; gap: 7px; }
.cs-bar { display: block; height: 5px; border-radius: 4px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.cs-bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--c, #ff7a1a), var(--gold)); box-shadow: 0 0 10px var(--gold), 0 0 4px var(--c, #ff7a1a); animation: barGlow 3.2s ease-in-out infinite; }
@keyframes barGlow { 50% { opacity: 0.8; } }
.toc-bar { margin: 8px 0 4px; height: 3px; }
/* CONTINUE: back to the last record read */
.chron-cont { display: flex; align-items: center; gap: 14px; margin: -6px 0 18px; padding: 12px 16px; border: 1px solid rgb(240 194 122 / 0.25); border-radius: 12px; background: rgb(240 194 122 / 0.04); text-decoration: none; color: var(--ink); transition: border-color 0.25s, background 0.25s; }
.chron-cont:hover, .chron-cont:focus-visible { outline: none; border-color: rgb(240 194 122 / 0.6); background: rgb(240 194 122 / 0.08); }
.chron-cont .eyebrow { margin: 0; color: var(--gold); }
.chron-cont .cc-n { font: 700 1rem/1.2 var(--display); letter-spacing: 0.05em; color: color-mix(in srgb, var(--c) 30%, #fff); }
.chron-cont .cc-k { flex: 1; font: 600 0.56rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.chron-cont .cc-go { font-size: 1.3rem; color: var(--gold); transition: transform 0.25s; }
.chron-cont:hover .cc-go { transform: translateX(4px); }
.book { transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.book:hover, .book:focus-visible { transform: scale(1.02); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
/* the category rail: a thin bar under each, and a gold point when it holds something new */
.rail a { position: relative; flex-wrap: wrap; }
.rail a .rl-bar { flex: 0 0 100%; height: 2px; margin-top: 6px; border-radius: 2px; background: rgb(255 255 255 / 0.06); overflow: hidden; }
.rail a .rl-bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--c), var(--gold)); }
.rail a .rl-new { width: 6px; height: 6px; border-radius: 50%; background: #ffd98f; box-shadow: 0 0 8px var(--gold); animation: newGlow 2.6s ease-in-out infinite; }
@media (max-width: 900px) { .rail a .rl-bar { display: none; } .chron-stat { min-width: 0; width: 100%; } .chron-hero .grow { display: none; } }
/* record panels A and B: the artwork in the lower right corner, and the emblem watermark with its turning ring */
.sheet.panel-ab { overflow: hidden; isolation: isolate; }
.sheet.panel-ab > .entry { position: relative; z-index: 2; }
.pa-art { position: absolute; z-index: 0; right: -8%; bottom: -6%; width: 72%; height: min(80%, 620px); pointer-events: none; background: var(--art) center / cover no-repeat; opacity: 0.42;
  -webkit-mask-image: radial-gradient(ellipse at 80% 85%, #000 18%, transparent 70%); mask-image: radial-gradient(ellipse at 80% 85%, #000 18%, transparent 70%); }
.pb-emb { position: absolute; z-index: 1; right: -60px; bottom: -70px; width: 330px; height: 330px; display: grid; place-items: center; pointer-events: none; opacity: 0.09; transform: rotate(-12deg); }
.pb-emb img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(1.6); }
.pb-emb svg { width: 100%; height: 100%; --lc: #fff; }
.pb-ring { position: absolute; z-index: 1; right: -40px; bottom: -50px; width: 290px; height: 290px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--c) 40%, transparent); pointer-events: none; animation: spin 120s linear infinite; }
.sheet.panel-ab .pager { position: relative; z-index: 2; }
@media (max-width: 900px) { .pb-emb { width: 220px; height: 220px; right: -50px; bottom: -50px; } .pb-ring { width: 190px; height: 190px; right: -35px; bottom: -35px; } .pa-art { width: 100%; opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .pb-ring, .new-tag, .rail a .rl-new, .cs-bar i { animation: none !important; } }
/* batch 12 (user, 2026-11-12): the scrollbars, made part of the Codex. The slim metallic bars of item 131 never showed in
   Chrome or Edge: a page that also sets the standard scrollbar-width or scrollbar-color makes those browsers ignore the
   custom drawing and fall back to their own plain bar. Now the custom bar is used wherever it can be drawn: a faint
   gold rail with tick marks, and on it a glowing ember-to-gold thumb (in the equipped Sigil's colour while one is
   equipped) that brightens on hover. Firefox, which cannot draw it, keeps a slim bar in the same colours. */
@supports selector(::-webkit-scrollbar) {
  *, .sig-reqs ol { scrollbar-width: auto; scrollbar-color: auto; }
  ::-webkit-scrollbar { width: 12px; height: 12px; background: transparent; }
  ::-webkit-scrollbar-track { margin: 14px; border-radius: 6px; background:
    linear-gradient(90deg, transparent 5.5px, rgb(240 194 122 / 0.16) 5.5px 6.5px, transparent 6.5px),
    repeating-linear-gradient(180deg, transparent 0 22px, rgb(240 194 122 / 0.22) 22px 23px); background-size: 100% 100%, 4px 100%; background-position: 0 0, 4px 0; background-repeat: no-repeat; }
  ::-webkit-scrollbar-track:horizontal { background:
    linear-gradient(180deg, transparent 5.5px, rgb(240 194 122 / 0.16) 5.5px 6.5px, transparent 6.5px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgb(240 194 122 / 0.22) 22px 23px); background-size: 100% 100%, 100% 4px; background-position: 0 0, 0 4px; background-repeat: no-repeat; }
  ::-webkit-scrollbar-thumb { border: 3.5px solid transparent; border-radius: 6px; min-height: 40px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--sigc, #ff7a1a) 70%, #000), color-mix(in srgb, var(--sigc, #f0c27a) 85%, #fff) 50%, color-mix(in srgb, var(--sigc, #ff7a1a) 70%, #000)) padding-box;
    box-shadow: inset 0 0 0 1px rgb(255 240 210 / 0.35), inset 0 0 6px color-mix(in srgb, var(--sigc, #f0c27a) 60%, transparent); }
  ::-webkit-scrollbar-thumb:horizontal { background: linear-gradient(90deg, color-mix(in srgb, var(--sigc, #ff7a1a) 70%, #000), color-mix(in srgb, var(--sigc, #f0c27a) 85%, #fff) 50%, color-mix(in srgb, var(--sigc, #ff7a1a) 70%, #000)) padding-box; }
  ::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:active { border-width: 2.5px; background: linear-gradient(180deg, color-mix(in srgb, var(--sigc, #ff9a3a) 85%, #fff), #fff4d8 50%, color-mix(in srgb, var(--sigc, #ff9a3a) 85%, #fff)) padding-box; }
}
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--sigc, #f0c27a) 80%, #fff) rgb(240 194 122 / 0.06); } }
/* batch 12 (phone): buttons whose words do not fit take two lines (a long record name in a button, for example) */
@media (max-width: 900px) {
  .btns { flex-wrap: wrap; overflow-x: visible; }
  .btns .btn, .pager .btn, .peek-go { white-space: normal; line-height: 1.25; text-align: center; max-width: 100%; min-height: 0; height: auto; overflow-wrap: anywhere; }
  .pager { gap: 8px; } .pager .btn { flex: 1 1 0; }
}
/* batch 12 (phone): the Sigil's own page showed no EQUIP or REMOVE button: its top part was cut to its row's height and
   scrolled on its own (with no scrollbar), so the button sat out of sight inside it. On a phone the top part is now as
   tall as its contents and the whole window scrolls */
@media (max-width: 900px) { .sig-win { grid-template-rows: auto auto; align-content: start; } .sig-hero { overflow: visible; } .sig-reqs ol { overflow: visible; } }

/* ---- batch 13 (2026-11-12) ---- */
/* item 420: past the map's edges everything fades towards black (fixed to the map); zoomed out, the screen's edges blur */
.world-edge { position: absolute; inset: -90px; pointer-events: none; background: radial-gradient(var(--we-rx, 3000px) var(--we-ry, 2000px) at calc(var(--we-x, 50%) + 90px) calc(var(--we-y, 50%) + 90px), transparent 58%, rgb(3 3 4 / 0.55) 74%, rgb(3 3 4 / 0.9) 88%, #030304 100%); }
.map-area.far .map-edge { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask-image: radial-gradient(ellipse 70% 72% at 54% 52%, transparent 60%, #000 100%); mask-image: radial-gradient(ellipse 70% 72% at 54% 52%, transparent 60%, #000 100%); }
.lite .map-area.far .map-edge { -webkit-backdrop-filter: none; backdrop-filter: none; }
.safe .world-edge { display: none; }
/* item 417: THE OMNIUM above a map's panel */
.to-omni { position: absolute; z-index: 3; left: 18px; bottom: min(calc(var(--bh, 300px) + 26px), calc(100% - var(--top, 60px) - 52px)); padding: 7px 14px; font-size: 11px; letter-spacing: 0.18em; transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.2,.8,.2,1); }
body.dossier-on .dest .to-omni { opacity: 0; transform: translateX(-40px); pointer-events: none; }
@media (max-width: 600px) { .to-omni { left: 10px; bottom: calc(var(--bh, 200px) + 38px); padding: 6px 11px; font-size: 10px; } }
/* item 411: the Veil, a soft white band scaled by the graphics chip */
.veil-band { border-radius: 50%; pointer-events: none; will-change: transform; transform-origin: 50% 50%;
  background: radial-gradient(closest-side, transparent 90%, rgb(255 255 255 / 0.022) 95.5%, rgb(255 255 255 / 0.03) 97%, transparent 100%); }
/* item 422: a collected card in The Collection's list opens its card */
.sig-reqs .card-link { all: unset; cursor: pointer; color: inherit; font: inherit; border-bottom: 1px dotted color-mix(in srgb, var(--c) 55%, transparent); transition: color 0.2s, border-color 0.2s; }
.sig-reqs .card-link:hover, .sig-reqs .card-link:focus-visible { color: var(--c); border-bottom-color: var(--c); }
/* items 428, 429: the Chronicle page's art at its top (a related picture when the record has none of its own); the
   faction's emblem, larger and fainter, in the map's record panel */
.rec-art.gen { opacity: 0.3; }
.dos-wm { position: fixed; z-index: 26; right: -110px; bottom: -120px; width: 520px; height: 520px; display: grid; place-items: center; pointer-events: none;
  opacity: 0; transform: translateX(calc(var(--dw, 600px) + 60px)) rotate(-12deg); transition: opacity 0.6s ease, transform 0.55s cubic-bezier(.2,.8,.2,1); }
body.dossier-on .dos-wm { opacity: 0.045; transform: rotate(-12deg); }
.dos-wm img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(1.7); }
.dos-wm svg { width: 100%; height: 100%; --lc: #fff; }
body.map-covered .dos-wm { transition: none; }
@media (max-width: 900px) { .dos-wm { width: 340px; height: 340px; right: -80px; bottom: -80px; } }
/* item 432: NEW only (no second glowing dot) in the Chronicle's side lists */
.toc a.unread::after { display: none; }
.rail a .new-tag { font-size: 0.44rem; margin-left: auto; }
/* item 391 (option A): a card's record: the card large at the top, tilting gently, a glint crossing it once; COLLECT
   full width, VIEW CARD at the foot */
.card-rec.cr-a .cr-stage { width: min(62%, 260px); margin: 10px auto 18px; perspective: 900px; }
.card-rec.cr-a .cr-art { position: relative; display: block; width: 100%; border-radius: 4.5% / 3.2%; animation: crTilt 9s ease-in-out infinite; }
.card-rec.cr-a .cr-art:hover { transform: none; }
@keyframes crTilt { 0%, 100% { transform: rotateY(-7deg) rotateX(3deg); } 50% { transform: rotateY(7deg) rotateX(-2deg); } }
.card-rec.cr-a .cr-glint { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgb(255 246 220 / 0.34) 48%, transparent 60%); background-size: 260% 100%; background-position: 130% 0; animation: crGlint 1.6s ease-in-out 0.5s 1 forwards; }
@keyframes crGlint { to { background-position: -130% 0; } }
.card-rec.cr-a .cr-t { text-align: center; }
.card-rec.cr-a .cr-no { justify-items: center; }
.card-rec.cr-a .cr-btns { display: grid; gap: 10px; margin-top: 18px; }
.card-rec.cr-a .btn.collect.wide { display: flex; justify-content: center; width: 100%; padding: 12px; font-size: 0.7rem; }
.card-rec.cr-a .cr-view { justify-self: center; }
@media (prefers-reduced-motion: reduce) { .card-rec.cr-a .cr-art, .card-rec.cr-a .cr-glint { animation: none; } }
/* item 435: Concepts' and the Lexicon's own animation, constant and subtle behind their maps */
.map-area > .scene-fx.scene-steady { transition: opacity 2.4s ease; }
.map-area > .scene-fx.scene-steady.on { opacity: 0.4; }
@media (max-width: 900px) { .map-area > .scene-fx.scene-steady.on { opacity: 0.3; } }
/* item 406: the main scrollbars (the Chronicle, a record panel, About) twice as thick, and the Chronicle's beside the Chronicle's column (not at the far edge of a wide screen) */
@media (min-width: 1000px) { .view.chron { left: max(0px, calc(50% - 680px)); right: max(0px, calc(50% - 680px)); } }
@supports selector(::-webkit-scrollbar) {
  :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar { width: 24px; height: 24px; }
  :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-track { margin: 16px; border-radius: 12px; background:
    linear-gradient(90deg, transparent 11px, rgb(240 194 122 / 0.16) 11px 13px, transparent 13px),
    repeating-linear-gradient(180deg, transparent 0 22px, rgb(240 194 122 / 0.22) 22px 23px); background-size: 100% 100%, 8px 100%; background-position: 0 0, 8px 0; background-repeat: no-repeat; }
  :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-track:horizontal { background:
    linear-gradient(180deg, transparent 11px, rgb(240 194 122 / 0.16) 11px 13px, transparent 13px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgb(240 194 122 / 0.22) 22px 23px); background-size: 100% 100%, 100% 8px; background-position: 0 0, 0 8px; background-repeat: no-repeat; }
  :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb { border-width: 7px; border-radius: 12px; min-height: 56px; }
  :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb:hover, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb:active { border-width: 5px; }
}
@supports not selector(::-webkit-scrollbar) { :is(.view.chron, .dossier, .about-page) { scrollbar-width: auto; } }
/* item 392: the still picture of a record's own map, at the foot of its Chronicle page */
.rec-map { position: relative; display: block; margin: 26px 0 4px; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line, rgb(255 255 255 / 0.1))); box-shadow: 0 10px 30px rgb(0 0 0 / 0.45); transition: border-color 0.3s, box-shadow 0.3s; }
.rec-map img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1300; object-fit: cover; }
.rec-map .rm-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 26px 14px 10px; background: linear-gradient(180deg, transparent, rgb(6 6 8 / 0.92)); }
.rec-map .rm-cap b { font: 700 0.9rem/1.2 var(--display); letter-spacing: 0.04em; }
.rec-map .rm-go { margin-left: auto; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.16em; color: var(--gold); }
a.rec-map:hover, a.rec-map:focus-visible { border-color: color-mix(in srgb, var(--gold) 60%, transparent); box-shadow: 0 10px 30px rgb(0 0 0 / 0.45), 0 0 18px rgb(240 194 122 / 0.18); }
/* item 402: the glow that says there is more below fades in and out (its breathing set the opacity at once, so it
   simply appeared); the arrows wait for the user's pick in samples/codex-scroll-hint.html */
.more-below { opacity: 0; transition: opacity 0.9s ease; }
.has-more > .more-below { opacity: 1; }
.more-below::before { opacity: 1; transition: none; animation: moreGlow 3.2s ease-in-out infinite; }
/* batch 14 (item 438): the scrollbars a quarter of their size (6 px, was 24 px on the main pages and 12 px elsewhere),
   metallic (a brushed steel thumb with a bright bevel, tinted faintly by the equipped Sigil), and no ruler ticks on the rail */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-track,
  ::-webkit-scrollbar-track:horizontal, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-track:horizontal {
    margin: 12px; border-radius: 3px; background: rgb(255 255 255 / 0.035); background-image: none; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.25); }
  ::-webkit-scrollbar-thumb, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb { border: 0; border-radius: 3px; min-height: 28px;
    background: linear-gradient(90deg, #3e3b37 0%, #9c968c 22%, #f4f0e8 42%, color-mix(in srgb, var(--sigc, #c9c1b2) 18%, #d8d2c6) 55%, #7a756c 78%, #34312d 100%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), inset 0 -1px 0 rgb(0 0 0 / 0.5); }
  ::-webkit-scrollbar-thumb:horizontal, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb:horizontal {
    background: linear-gradient(180deg, #3e3b37 0%, #9c968c 22%, #f4f0e8 42%, color-mix(in srgb, var(--sigc, #c9c1b2) 18%, #d8d2c6) 55%, #7a756c 78%, #34312d 100%); }
  ::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:active, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb:hover, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb:active { border: 0;
    background: linear-gradient(90deg, #4a4741 0%, #c2bcb1 22%, #fffdf6 42%, color-mix(in srgb, var(--sigc, #e6dfd1) 30%, #eee8dc) 55%, #958f85 78%, #403c37 100%); }
}
@supports not selector(::-webkit-scrollbar) { *, :is(.view.chron, .dossier, .about-page) { scrollbar-width: thin; scrollbar-color: #b9b2a6 rgb(255 255 255 / 0.04); } }
/* batch 14 (item 442): no black edges on the maps (the screen vignette and the fade to black are gone); the blur begins
   only near the far limit of where the map can be moved (an ellipse fixed to the map, set from explore.js) */
.world-edge { display: none; }
.map-edge, .map-area.far .map-edge { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none; }
.map-edge.on, .map-area.far .map-edge.on { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  -webkit-mask-image: radial-gradient(var(--me-rx, 3000px) var(--me-ry, 2000px) at var(--me-x, 50%) var(--me-y, 50%), transparent 82%, rgb(0 0 0 / 0.6) 92%, #000 100%);
  mask-image: radial-gradient(var(--me-rx, 3000px) var(--me-ry, 2000px) at var(--me-x, 50%) var(--me-y, 50%), transparent 82%, rgb(0 0 0 / 0.6) 92%, #000 100%); }
.lite .map-edge.on, .lite .map-area.far .map-edge.on, .safe .map-edge { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* batch 14 (item 444): THE OMNIUM's glow fades in on hover (its own transition had left the glow out, so it lit at once),
   and a light sweeps across it */
.to-omni { transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.2,.8,.2,1), background 0.6s ease, box-shadow 0.7s ease, border-color 0.6s ease; }
.to-omni::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.5) 50%, transparent 70%); transform: translateX(-130%); }
.to-omni:hover::after { animation: sweep 0.9s ease; }
.to-omni:hover { box-shadow: 0 0 22px color-mix(in srgb, var(--c) 50%, transparent); }
/* batch 14, card records: (447) COLLECT the size of CLAIM RECORD, VIEW CARD where VIEW CHRONICLE stands (the claim row);
   the card opens nothing; (450) more room under the card; (449) a sheen that moves with the rocking; (454) the glint
   returns every few seconds; (451) drained of colour until collected, then traced, burst and bloomed into colour */
.card-rec.cr-a .cr-stage { position: relative; margin-bottom: 30px; }
.card-rec.cr-a .cr-art { cursor: default; overflow: hidden; }
.card-rec.cr-a .cr-art img { transition: filter 1.8s ease; }
.card-rec.cr-a.uncol .cr-art img { filter: grayscale(0.92) brightness(0.72) contrast(0.95); }
.card-rec.cr-a .cr-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(112deg, transparent 30%, rgb(255 248 230 / 0.16) 44%, rgb(255 255 255 / 0.24) 50%, rgb(255 248 230 / 0.12) 56%, transparent 70%);
  background-size: 300% 100%; animation: crSheen 9s ease-in-out infinite; }
@keyframes crSheen { 0%, 100% { background-position: 85% 0; } 50% { background-position: 15% 0; } }
.card-rec.cr-a .cr-glint { animation: crGlint2 8s ease-in-out 0.5s infinite; }
@keyframes crGlint2 { 0% { background-position: 130% 0; } 20%, 100% { background-position: -130% 0; } }
.card-rec.cr-a .cr-btns { display: flex; flex-direction: column; align-items: center; margin-top: 30px; }
.card-rec.cr-a .btn.collect { min-width: 230px; height: 44px; width: auto; padding: 0 18px; font-size: 0.68rem; justify-content: center; }
.card-rec.cr-a .cr-view { justify-self: auto; }
.card-rec .cr-stage .burst .ring { display: none; }
.card-rec .cr-stage .burst .spark { width: 5px; height: 5px; }
.card-rec.cr-a .cr-trace { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 2px;
  background: conic-gradient(from var(--tr-a, 0deg), transparent 0 70%, rgb(255 236 190 / 0.4) 82%, #fff3cf 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: crTrace 1.4s linear forwards; filter: drop-shadow(0 0 6px #ffd98a); }
@property --tr-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes crTrace { from { --tr-a: 0deg; opacity: 1; } 85% { opacity: 1; } to { --tr-a: 360deg; opacity: 0; } }
.card-rec.cr-a.blooming .cr-stage { animation: crBloom 1.6s cubic-bezier(.2,.8,.2,1); }
@keyframes crBloom { 0% { transform: scale(1); filter: none; } 30% { transform: scale(1.05); filter: drop-shadow(0 0 18px rgb(255 214 140 / 0.75)); } 100% { transform: scale(1); filter: none; } }
@media (prefers-reduced-motion: reduce) { .card-rec.cr-a .cr-sheen, .card-rec.cr-a .cr-glint { animation: none; } }
@media (max-width: 900px) { .card-rec.cr-a { padding-top: 54px; } }
/* item 453: the golden flash over a card's icon as it is collected */
.got-flash { pointer-events: none; }
.got-flash .gf-disc { fill: #ffe6a8; opacity: 0; transform-box: fill-box; transform-origin: center; animation: gfDisc 1.1s ease-out forwards; filter: blur(2px); }
.got-flash .gf-ring { fill: none; stroke: #ffd77a; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: gfRing 1.5s ease-out forwards; }
@keyframes gfDisc { 0% { opacity: 0; transform: scale(0.3); } 25% { opacity: 0.85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes gfRing { 0% { opacity: 0.95; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.6); } }
/* item 457: a record not yet found: the still map, with a blinking range somewhere round the record */
.find-map .rm-range { margin: 0 0 12px; cursor: default; }
.rm-range .rm-zone { position: absolute; width: var(--rz, 14%); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.rm-range .rm-zone i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); background: radial-gradient(circle, rgb(240 194 122 / 0.16), transparent 70%); animation: rzBlink 2.2s ease-in-out infinite; }
.rm-range .rm-zone i + i { inset: 22%; border-width: 1.5px; background: none; animation-delay: 0.35s; }
@keyframes rzBlink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; box-shadow: 0 0 14px rgb(240 194 122 / 0.45); } }
@media (prefers-reduced-motion: reduce) { .rm-range .rm-zone i { animation: none; opacity: 0.8; } }
/* batch 14 (item 459): The Collection: its lists a page at a time with arrows (nothing cut off), the tier reached large
   and lit, the current tier marked, and a collected card's whole row a button */
.sig-coll ol.paged { overflow: visible; }
.sig-coll ol.pg-in > li { animation: pgIn 0.35s ease backwards; }
.sig-coll ol.pg-in > li:nth-child(n+4) { animation-delay: 0.04s; } .sig-coll ol.pg-in > li:nth-child(n+7) { animation-delay: 0.08s; } .sig-coll ol.pg-in > li:nth-child(n+10) { animation-delay: 0.12s; }
@keyframes pgIn { from { opacity: 0; transform: translateY(6px); } }
.sig-coll .pg { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0 4px; }
.sig-coll .pg-b { width: 34px; height: 30px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); background: rgb(255 255 255 / 0.03); color: var(--gold); font-size: 1.1rem; line-height: 1; cursor: pointer; transition: background 0.25s, box-shadow 0.3s, opacity 0.25s; }
.sig-coll .pg-b:hover:not(:disabled) { background: rgb(240 194 122 / 0.12); box-shadow: 0 0 14px rgb(240 194 122 / 0.3); }
.sig-coll .pg-b:disabled { opacity: 0.25; cursor: default; }
.sig-coll .pg-n { font: 600 0.6rem/1 var(--mono); letter-spacing: 0.18em; color: var(--muted); min-width: 46px; text-align: center; }
.sig-coll button.row { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.sig-coll button.row:hover, .sig-coll button.row:focus-visible { outline: none; color: #fff; border-color: color-mix(in srgb, var(--c) 70%, var(--line-2)); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 25%, transparent); }
.sig-coll li.cur .row { border-color: var(--gold); background: rgb(240 194 122 / 0.14); box-shadow: 0 0 16px rgb(240 194 122 / 0.3), inset 0 0 0 1px rgb(240 194 122 / 0.35); color: #fff; }
.sig-coll li.cur .st { color: #fff3cf; }
.tier-plate { display: inline-grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 10px; margin: 14px auto 2px; padding: 10px 22px 12px; border-radius: 12px; border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.03); }
.tier-plate span { grid-column: 1 / -1; font: 600 0.56rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 6px; }
.tier-plate b { font: 700 2.4rem/1 var(--display); letter-spacing: 0.06em; color: var(--dim); }
.tier-plate small { font: 600 0.62rem/1 var(--mono); letter-spacing: 0.16em; color: var(--muted); }
.tier-plate.got { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--c) 22%, transparent), transparent 75%); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 30%, transparent); }
.tier-plate.got span { color: var(--gold); }
.tier-plate.got b { color: #fff3cf; text-shadow: 0 0 14px color-mix(in srgb, var(--c) 80%, transparent), 0 0 30px color-mix(in srgb, var(--c) 45%, transparent); }
/* batch 14 (item 461): the Sigil's sign echoing out from its emblem in the header */
.hd-echo { position: fixed; z-index: 38; width: 150px; height: 150px; margin: -75px 0 0 -75px; pointer-events: none; opacity: 0; }
.hd-echo svg { width: 100%; height: 100%; overflow: visible; }
.hd-echo polygon { fill: none; stroke: var(--sigc, #f0c27a); stroke-width: 0.9; filter: drop-shadow(0 0 2px var(--sigc, #f0c27a)); }
.hd-echo polygon.in { stroke-width: 0.7; }
.hd-echo.on { animation: hdEcho 3.4s ease-out forwards; }
@keyframes hdEcho { 0% { opacity: 0; transform: scale(0.18) rotate(-20deg); } 25% { opacity: 0.32; } 100% { opacity: 0; transform: scale(1.35) rotate(12deg); } }
@media (prefers-reduced-motion: reduce) { .hd-echo { display: none; } }
/* batch 14 (item 460): hovering the equipped Sigil in the header: its usual glow gives way to a bright one, fading (the
   emblem and its name box together), not switching at once */
.rec-btn .rec-sig:not([hidden]) { transition: border-color 0.55s ease, box-shadow 0.6s ease, background 0.55s ease; }
.rec-sig .rs-em { transition: filter 0.6s ease; }
.rec-sig .rs-n { transition: color 0.5s ease, text-shadow 0.6s ease; }
.rec-sig:hover .emblem { filter: none; animation: emGlow 3.2s ease-in-out infinite; }
.rec-sig:hover .rs-em { filter: drop-shadow(0 0 9px var(--c)) drop-shadow(0 0 3px #fff) brightness(1.25); }
.rec-btn .rec-sig:not([hidden]):hover { border-color: color-mix(in srgb, var(--c, #f0c27a) 85%, #fff); background: color-mix(in srgb, var(--c, #f0c27a) 16%, rgb(10 10 13 / 0.85)); box-shadow: 0 0 20px color-mix(in srgb, var(--c, #f0c27a) 55%, transparent), inset 0 0 12px color-mix(in srgb, var(--c, #f0c27a) 25%, transparent); }
.rec-sig:hover .rs-n { text-shadow: 0 0 10px color-mix(in srgb, var(--c, #f0c27a) 80%, transparent); }
/* batch 14 (item 462, C + D): more below: a thin gold rule with the Codex's diamond at its centre and three V marks that
   light one after another below it, over a soft glow; the page's content fades out towards its foot meanwhile (the
   scrollbar's strip on the right is left whole) */
.mb-tip { position: fixed; z-index: 24; height: 96px; overflow: visible; pointer-events: none; opacity: 0; transition: opacity 0.9s ease; }
.mb-tip.on { opacity: 1; }
body.to-chron .mb-tip, body:has(.ab-pop) .mb-tip { opacity: 0; }
.mb-tip .mb-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 100% at 50% 100%, rgb(255 154 58 / 0.16), transparent 70%); animation: moreGlow 3.2s ease-in-out infinite; }
.mb-tip .mb-rule { position: absolute; left: 14%; right: 14%; bottom: 52px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.75; }
.mb-tip .mb-dia { position: absolute; left: 50%; bottom: 48px; width: 9px; height: 9px; margin-left: -4.5px; transform: rotate(45deg); border: 1.5px solid var(--gold); background: #0b0b0e; box-shadow: 0 0 8px var(--gold); }
.mb-tip .mb-v { position: absolute; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); filter: drop-shadow(0 0 4px rgb(240 194 122 / 0.8)); opacity: 0.15; animation: mbCascade 1.6s ease-in-out infinite; }
.mb-tip .mb-v:nth-of-type(4) { bottom: 32px; } .mb-tip .mb-v:nth-of-type(5) { bottom: 22px; animation-delay: 0.2s; } .mb-tip .mb-v:nth-of-type(6) { bottom: 12px; animation-delay: 0.4s; }
@keyframes mbCascade { 0%, 100% { opacity: 0.15; } 30% { opacity: 1; } 60% { opacity: 0.15; } }
/* the content fades into the dark towards the foot under the hint (a mask on the scrolling page itself blanked the
   whole page in Chrome, so the fade is a dark veil drawn over the foot instead) */
.mb-tip::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(180deg, transparent, rgb(5 5 6 / 0.78) 62%, rgb(5 5 6 / 0.94)); }
@media (prefers-reduced-motion: reduce) { .mb-tip .mb-v, .mb-tip .mb-glow { animation: none; opacity: 0.6; } }
/* item 459: the Collection's lists stay whole (no shrinking), two or more to a row, a little more compact; no scroll
   hint over a Sigil's window */
.sig-coll ol.paged { flex: none; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 7px; }
.sig-coll li .row { padding: 8px 11px; }
body:has(.sig-win, .sig-pop, .pop:not([hidden])) .mb-tip { opacity: 0; }

/* batch 15 (item 507): a Sigil's own name stands under the title it grants */
.sg-sname { margin: 0.1rem 0 0.15rem; font: italic 500 0.86rem/1.25 var(--serif, Georgia, serif); letter-spacing: 0.03em; color: color-mix(in srgb, var(--c) 55%, #d8d2c4); }
.sigil .sg-sname { font-size: 0.78rem; }
/* batch 15 (item 470): a 1.3 s flight; everything else fades out over its first 0.8 s; the Sigil stays lit until it lands */
.equip-fx.fly { transition: background-color 0.8s ease; }
.equip-fx.fly .emblem { transition: transform 1.3s cubic-bezier(.55,0,.25,1); opacity: 1; }
.equip-fx.fly .scene-sigil { transition: opacity 0.8s ease !important; }
.equip-fx.fly .eq-k, .equip-fx.fly .eq-n { transition-duration: 0.5s; }
.equip-fx.fly .eq-in { transition-duration: 0.8s; }
/* batch 15 (item 504): The Collection two boxes wide: tiers four to a page, cards 24 to a page */
.sig-coll ol.paged { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sig-coll .row.unc .nm { color: var(--muted); font-style: italic; }
.sig-coll .row.unc .st { opacity: 0.6; }
/* batch 15 (item 505): an unclaimed card's hint window: its map, still, with the blinking range */
.card-hint .sp-in { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
.card-hint .rec-map { margin: 14px 0 6px; }
.card-hint .btns { justify-content: center; }
/* batch 15 (item 471): the Sigil pages a little shorter by default */
@media (min-width: 761px) { .sig-win { bottom: max(18px, 7vh); } }
/* batch 15 (item 506, option G): a Chronicle page's art runs to the record frame's top, left and right edges (over the
   frame's padding, under its top line), as on the map's record panels, and fades down into the text */
.sheet .rec-art { left: -30px; right: -30px; top: -26px; height: 400px; border-radius: 12px 12px 0 0; opacity: 0.5; background-position: center 28%;
  -webkit-mask: linear-gradient(180deg, #000 30%, rgb(0 0 0 / 0.55) 60%, transparent); mask: linear-gradient(180deg, #000 30%, rgb(0 0 0 / 0.55) 60%, transparent); }
.sheet .rec-art.gen { opacity: 0.38; }
@media (max-width: 760px) { .sheet .rec-art { left: -16px; right: -16px; top: -18px; height: 300px; } }
.sheet .entry.has-art { padding-top: 130px; } @media (max-width: 760px) { .sheet .entry.has-art { padding-top: 90px; } }
/* batch 15 (item 497): a claimed record's still map: room above and below, not a link, its path small in the record's
   colour, OPEN MAP as a button under it */
.rec-map-w { margin: 34px 0 6px; }
.rec-map-w .rec-map { margin: 0; cursor: default; }
.rec-map-w .rm-cap b { font: 600 0.72rem/1.3 var(--mono); letter-spacing: 0.08em; color: color-mix(in srgb, var(--c) 70%, #fff); }
.rec-map-w .rm-btns { display: flex; justify-content: center; margin-top: 18px; }
/* batch 15 (item 501): a stacked notice (Card collected) centred on a phone, every line of it */
.toast.stack > * { align-self: center; text-align: center; justify-content: center; }
@media (max-width: 760px) { .toast { max-width: calc(100vw - 24px); box-sizing: border-box; } .toast.stack { width: max-content; } }
html.rcur-on.rcur-sb, html.rcur-on.rcur-sb * { cursor: default !important; } html.rcur-sb .rcur { opacity: 0 !important; }
/* batch 15 (items 492, 493): the scrollbars semi-transparent, the metal tinted clearly by the equipped Sigil again
   (batch 14's steel kept only 18% of it), and the main pages' rails much shorter (centred on the window's side) */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar-track, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-track,
  ::-webkit-scrollbar-track:horizontal, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-track:horizontal { background: rgb(255 255 255 / 0.02); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); }
  :is(.view.chron, .dossier, .about-page, .sig-win, .sigils-page)::-webkit-scrollbar-track:vertical { margin: max(12px, 16vh) 0; }
  ::-webkit-scrollbar-thumb, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, color-mix(in srgb, var(--sigc, #9c968c) 45%, rgb(30 28 26 / 0.5)) 0%, color-mix(in srgb, var(--sigc, #c9c1b2) 70%, rgb(255 255 255 / 0.55)) 40%, color-mix(in srgb, var(--sigc, #c9c1b2) 85%, rgb(120 116 108 / 0.5)) 62%, color-mix(in srgb, var(--sigc, #7a756c) 50%, rgb(20 18 16 / 0.5)) 100%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), inset 0 -1px 0 rgb(0 0 0 / 0.3); opacity: 0.6; }
  ::-webkit-scrollbar-thumb:horizontal, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb:horizontal {
    background: linear-gradient(180deg, color-mix(in srgb, var(--sigc, #9c968c) 45%, rgb(30 28 26 / 0.5)) 0%, color-mix(in srgb, var(--sigc, #c9c1b2) 70%, rgb(255 255 255 / 0.55)) 40%, color-mix(in srgb, var(--sigc, #7a756c) 50%, rgb(20 18 16 / 0.5)) 100%); }
  ::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:active, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb:hover, :is(.view.chron, .dossier, .about-page)::-webkit-scrollbar-thumb:active {
    background: linear-gradient(90deg, color-mix(in srgb, var(--sigc, #b5afa4) 60%, rgb(40 38 34 / 0.7)) 0%, color-mix(in srgb, var(--sigc, #eee8dc) 65%, rgb(255 255 255 / 0.85)) 42%, color-mix(in srgb, var(--sigc, #958f85) 60%, rgb(30 28 26 / 0.7)) 100%); }
}
@supports not selector(::-webkit-scrollbar) { *, :is(.view.chron, .dossier, .about-page) { scrollbar-color: color-mix(in srgb, var(--sigc, #b9b2a6) 70%, rgb(255 255 255 / 0.3)) transparent; } }
/* batch 15 (item 494): the Chronicle's books built like the Sigil tiles: the mark in a hexagon on the left, the name
   and line beside it, the meter under both, a tinted face and the Sigils' light sweep */
.books { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.book { display: grid; grid-template-columns: 82px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 20px; row-gap: 6px; align-items: center; min-height: 0; padding: 20px 22px; border-radius: 14px;
  border: 1px solid var(--line-2); border-top: 1px solid var(--line-2); background: linear-gradient(170deg, color-mix(in srgb, var(--c) 12%, #0e0e12), #0a0a0d 70%); box-shadow: 0 18px 40px rgb(0 0 0 / 0.4); color: inherit; }
.book .emb { grid-row: 1 / 3; grid-column: 1; width: 78px; height: 88px; border-radius: 0; border: 0; box-shadow: none; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 55%, #fff) -10%, color-mix(in srgb, var(--c) 30%, #15151a) 30%, #0d0d11 80%); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 35%, transparent)); }
.book .emb svg.lic { width: 40px; height: 40px; }
.book h2 { grid-column: 2; align-self: end; margin: 0; font-size: 1.24rem; color: color-mix(in srgb, var(--c) 25%, #fff); }
.book p { grid-column: 2; align-self: start; font-size: 0.8rem; }
.book .meter { grid-column: 1 / -1; margin-top: 8px; }
.book:hover, .book:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 60%, var(--line-2)); box-shadow: 0 22px 44px rgb(0 0 0 / 0.5), 0 0 26px color-mix(in srgb, var(--c) 28%, transparent); }
.book > .new-tag { top: 12px; right: 12px; }
@media (max-width: 600px) { .books { grid-template-columns: minmax(0, 1fr); } .book { grid-template-columns: 62px minmax(0, 1fr); padding: 16px; column-gap: 14px; } .book .emb { width: 60px; height: 68px; } }
/* batch 15 (item 478): the card's sheen and glint move by transform on the graphics chip (the background-position
   animation was repainted every frame over the tilting card, so it stuttered, reversed in the middle and cut off); each
   crosses the whole card from edge to edge, then waits off the card */
.card-rec.cr-a .cr-sheen, .card-rec.cr-a .cr-glint { background: none; animation: none; mix-blend-mode: normal; overflow: hidden; border-radius: inherit; }
.card-rec.cr-a .cr-sheen::before, .card-rec.cr-a .cr-glint::before { content: ""; position: absolute; top: -15%; bottom: -15%; left: 0; width: 70%; will-change: transform; transform: translateX(-110%); }
.card-rec.cr-a .cr-sheen::before { background: linear-gradient(105deg, transparent 15%, rgb(255 248 230 / 0.10) 38%, rgb(255 255 255 / 0.2) 50%, rgb(255 248 230 / 0.08) 62%, transparent 85%); animation: crSheenX 9s cubic-bezier(.45,.05,.55,.95) 1.2s infinite; }
.card-rec.cr-a .cr-glint::before { width: 45%; background: linear-gradient(105deg, transparent 20%, rgb(255 246 220 / 0.38) 50%, transparent 80%); animation: crGlintX 8s cubic-bezier(.4,0,.3,1) 0.5s infinite; }
@keyframes crSheenX { 0% { transform: translateX(-110%); } 60%, 100% { transform: translateX(160%); } }
@keyframes crGlintX { 0% { transform: translateX(-110%); } 22%, 100% { transform: translateX(240%); } }
@media (prefers-reduced-motion: reduce) { .card-rec.cr-a .cr-sheen::before, .card-rec.cr-a .cr-glint::before { animation: none; opacity: 0; } }
/* batch 15 (item 479, 489): a card not yet collected is slightly blurred too; more room between COLLECT and VIEW CARD */
.card-rec.cr-a.uncol .cr-art img { filter: grayscale(0.92) brightness(0.72) contrast(0.95) blur(1.6px); }
.card-rec.cr-a .cr-btns { gap: 16px; }
/* batch 15 (item 488): collecting: a white-gold flash over the whole card as its colour returns */
.card-rec.cr-a.blooming .cr-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, #fff 0, rgb(255 230 170 / 0.85) 35%, rgb(255 200 110 / 0) 75%); animation: crFlash 1.1s ease-out forwards; }
@keyframes crFlash { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
.card-rec.cr-a.blooming .cr-stage { animation: crBloom2 1.8s cubic-bezier(.2,.8,.2,1); }
@keyframes crBloom2 { 0% { transform: scale(1); filter: none; } 22% { transform: scale(1.09); filter: drop-shadow(0 0 34px rgb(255 214 140 / 0.95)) brightness(1.25); } 100% { transform: scale(1); filter: none; } }
.got-flash.gf-big .gf-disc { animation-duration: 1.4s; filter: blur(3px); }
.got-flash .gf-ring.r2 { animation-delay: 0.18s; stroke-width: 1.5; }
.got-flash .gf-ring.r3 { animation-delay: 0.36s; stroke-width: 1; }
.got-flash.gf-big .gf-ring { animation-name: gfRing2; animation-duration: 1.6s; }
@keyframes gfRing2 { 0% { opacity: 1; transform: scale(0.6); } 100% { opacity: 0; transform: scale(3.6); } }
.got-flash .gf-rays { animation: gfRays 1.4s ease-out forwards; transform-box: fill-box; transform-origin: center; }
.got-flash .gf-rays line { stroke: #fff1c8; stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 4px #ffd77a); }
@keyframes gfRays { 0% { opacity: 0; transform: scale(0.5) rotate(0deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5) rotate(25deg); } }
/* batch 15 (item 480) */
.cards button.unc img { filter: grayscale(0.92) brightness(0.72) blur(1.2px); transition: filter 0.4s ease; }
.cards button.unc:hover img, .cards button.unc:focus-visible img { filter: grayscale(0.6) brightness(0.85) blur(0.6px); }
/* batch 15 (item 483): THE OMNIUM much larger on its higher, wider arc */
.omni-title { font-size: 360px; letter-spacing: 0.3em; }
@media (max-width: 900px) { .omni-title { font-size: 240px; letter-spacing: 0.16em; } }

/* batch 15 (item 484): the controls line stands in the middle of the free part of the map (right of the side panel),
   its parts separated by dots and stacking when that space is narrow; hidden while the map moves, fading back in after
   three seconds of stillness */
.view.map .hint { left: calc(var(--pw, 0px) + (100% - var(--pw, 0px)) / 2); max-width: calc(100% - var(--pw, 0px) - 40px); display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0; row-gap: 2px; white-space: normal; transition: opacity 0.8s ease; }
.view.map .hint span { white-space: nowrap; }
.view.map .hint span + span::before { content: "·"; margin: 0 0.7em; }
.view.map.busy .hint { opacity: 0; transition-duration: 0.25s; }
@media (min-width: 901px) { .view.map { --pw: min(420px, 34vw); } }
@media (min-width: 901px) and (max-width: 1250px) { .view.map .hint { flex-direction: column; align-items: center; } .view.map .hint span + span::before { content: none; } }
@media (max-width: 900px) { .view.map .hint { left: 12px; transform: none; max-width: 60%; justify-content: flex-start; } }
/* batch 15 (item 500): on a phone a selected Realm's orbit stands still (each turning layer was redrawn every frame at
   the focus zoom, the heaviest of them round the Nexus, the likely cause of the phone's crash) */
@media (max-width: 900px) { .fo-l, .fo-web { animation: none; } }
/* batch 15 (item 473): the OPTIONS cog beside ABOUT, and its window */
.about-b.opt-b { width: 38px; padding: 0; display: grid; place-items: center; }
.about-b.opt-b::after { display: none; }
.opt-b .cog { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.opt-b:hover .cog, .opt-b:focus-visible .cog { transform: rotate(90deg); }
@media (max-width: 900px) { .about-b.opt-b { width: 34px; height: 34px; } }
.ab-pop.options .ab-in { width: min(520px, 100%); }
.options .op-k { margin: 18px 0 6px; font: 600 0.58rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.options .op-row { display: flex; align-items: center; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.options .op-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.options .op-t b { font: 600 0.9rem/1.25 var(--body); color: var(--ink); }
.options .op-t small { font-size: 0.74rem; color: var(--muted); line-height: 1.35; }
.options .op-seg { display: inline-flex; padding: 3px; gap: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(13 13 16 / 0.6); }
.options .op-s { padding: 7px 11px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font: 700 0.6rem/1 var(--mono); letter-spacing: 0.14em; transition: background-color 0.25s, color 0.25s; }
.options .op-s[aria-pressed="true"] { background: var(--gold); color: #0b0b0e; }
.options .op-tog { position: relative; width: 44px; height: 24px; flex: none; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.06); cursor: pointer; transition: background-color 0.25s, border-color 0.25s; }
.options .op-tog i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background-color 0.25s; }
.options .op-tog[aria-checked="true"] { background: rgb(240 194 122 / 0.25); border-color: var(--gold); }
.options .op-tog[aria-checked="true"] i { transform: translateX(20px); background: var(--gold); }
.options .op-foot { margin-top: 16px; }
/* the Options themselves */
html.opt-rm *, html.opt-rm *::before, html.opt-rm *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
html.no-bars, html.no-bars * { scrollbar-width: none !important; }
html.no-bars ::-webkit-scrollbar, html.no-bars *::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
html.no-rcur .rcur { display: none !important; }
html.no-rcur.rcur-on, html.no-rcur.rcur-on * { cursor: auto !important; }
html.no-rcur.rcur-on :is(a, button, [role="button"], .realm, .pin, .sigil, .book, .chip, label, summary) { cursor: pointer !important; }
html.opt-hc { --muted: #cbc5bb; --dim: #a19b92; --line: rgb(255 255 255 / 0.16); --line-2: rgb(255 255 255 / 0.26); }
html.no-scenes .scene-fx { display: none !important; }
/* batch 15 (item 498): a record's page is narrower than the lists (its frame stops at 780 px), so on a record the
   Chronicle's column narrows to the side list and the frame, and its scrollbar stands just beside the record */
@media (min-width: 1000px) {
  .view.chron:has(.page-grid) { left: max(0px, calc(50% - 574px)); right: max(0px, calc(50% - 574px)); }
  .view.chron .chron-in:has(.page-grid) { max-width: 1068px; }
}

/* ================= batch 16 (items 508 to 567) ================= */
/* 527, 524: "?" and the cog open out to their words on hover, as LEAVE does */
.about-b.hx { display: inline-flex; align-items: center; width: auto; padding: 0 7px !important; font: 600 0.62rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; transition: color 0.3s, border-color 0.3s, box-shadow 0.4s, padding 0.45s cubic-bezier(.2,.8,.2,1); }
.about-b.hx .hx-i { display: grid; place-items: center; width: 24px; height: 24px; flex: none; font: 700 0.95rem/1 var(--body); letter-spacing: 0; color: var(--gold); }
.about-b.hx .cog { width: 24px; height: 24px; padding: 3px; flex: none; fill: currentColor; stroke: none; transition: transform 0.9s cubic-bezier(.2,.8,.2,1); }
.about-b.hx > span { max-width: 0; opacity: 0; white-space: nowrap; transform: translateX(-8px); overflow: hidden; transition: max-width 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.3s, transform 0.45s cubic-bezier(.2,.8,.2,1), margin 0.45s; }
.about-b.hx:hover, .about-b.hx:focus-visible { padding-right: 14px !important; }
.about-b.hx:hover > span, .about-b.hx:focus-visible > span { max-width: 140px; opacity: 1; transform: none; margin-left: 8px; }
.opt-b.hx:hover .cog, .opt-b.hx:focus-visible .cog { transform: rotate(135deg); }
.about-b.opt-b.hx { width: auto; display: inline-flex; }
@media (hover: none) { .about-b.hx > span { display: none; } }
@media (max-width: 900px) { .about-b.hx { padding: 0 5px !important; } }
.crumbs { transition: opacity 0.3s ease; }
body.hx-hide .crumbs { opacity: 0; pointer-events: none; }
/* 523: OMNIUM, then the current level and its dropdown; only the dropdown when they do not fit */
.crumbs .cr-om { flex: none; }
.crumbs .crumb-row > a:not(.cr-om) { min-width: 0; }
.crumbs.deep .crumb-list { display: flex; }
.crumbs.narrow .crumb-row { display: none; }
.crumbs.narrow .crumb-stack { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 7px; background: rgb(10 10 13 / 0.8); color: var(--gold); cursor: pointer; font: inherit; letter-spacing: 0.12em; text-transform: uppercase; }
.crumbs.narrow .cs-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs.narrow .cs-c { color: var(--muted); transition: transform 0.3s ease; }
.crumbs.narrow.open .cs-c { transform: rotate(180deg); }
.crumbs.narrow .crumb-list, .crumbs.deep .crumb-list { display: flex; flex-direction: column; position: absolute; z-index: 40; left: 0; top: calc(100% + 6px); min-width: min(260px, calc(100vw - 20px)); padding: 6px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(8 8 10 / 0.97); box-shadow: 0 18px 40px rgb(0 0 0 / 0.6); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.2,.8,.2,1); }
.crumbs.open .crumb-list { opacity: 1; transform: none; pointer-events: auto; }
.crumbs .crumb-list a { padding: 8px 10px 8px calc(10px + var(--lv) * 12px); border-radius: 6px; color: var(--muted); white-space: nowrap; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.crumbs .crumb-list a::before { content: "› "; color: var(--ember); opacity: 0.6; }
.crumbs .crumb-list a[aria-current] { color: var(--gold); background: rgb(255 122 26 / 0.08); }
.crumbs:not(.narrow):not(.deep) .crumb-list, .crumbs:not(.narrow) .crumb-stack { display: none; }
/* 533: stronger contrast, stronger */
html.opt-hc { --ink: #fffaf0; --muted: #e6e0d6; --dim: #c7c1b7; --line: rgb(255 255 255 / 0.26); --line-2: rgb(255 255 255 / 0.42); }
html.opt-hc :is(.brief, .dossier, .ab-in, .pop, .sig-win, .hits, .crumb-list) { background-color: rgb(4 4 6 / 0.97) !important; }
html.opt-hc :is(p, li, small) { text-shadow: 0 1px 2px rgb(0 0 0 / 0.9); }
/* 532: the map's controls line can be hidden */
html.no-hints .hint { display: none !important; }
/* 548: the left panel turns through the Realm's factions */
.brief .fq { display: block; transition: opacity 0.5s ease, filter 0.5s ease; }
.brief .fq.out { opacity: 0; filter: blur(3px); }
.brief .fq .fw { display: inline-block; animation: fwIn 0.6s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 28ms) backwards; }
@keyframes fwIn { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } }
.brief .meta .fm { transition: color 0.6s ease, text-shadow 0.6s ease; }
.brief .meta .fm.on { color: var(--c, var(--gold)); text-shadow: 0 0 12px color-mix(in srgb, var(--c, var(--gold)) 55%, transparent); }
.brief .brief-ico img { transition: filter 0.6s ease, opacity 0.6s ease, transform 0.6s ease; }
.brief .brief-ico:has(img.on) img:not(.on) { opacity: 0.55; filter: saturate(0.6); }
.brief .brief-ico img.on { animation: fIcoPulse 3.2s ease-in-out infinite; }
@keyframes fIcoPulse { 0%, 100% { filter: drop-shadow(0 0 4px color-mix(in srgb, var(--c, var(--gold)) 50%, transparent)); transform: scale(1.04); } 50% { filter: drop-shadow(0 0 14px var(--c, var(--gold))) brightness(1.15); transform: scale(1.1); } }
/* 528 (486 option A): the Veil's hem at the far limit of the map; no blur there any more */
.map-edge, .map-edge.on, .map-area.far .map-edge, .map-area.far .map-edge.on { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
.veil-hem { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.veil-hem.on { opacity: 1; }
.safe .veil-hem { display: none; }
/* 516, 525, 567: performance. A hint of an uncharted Realm turns only while on screen and the map is still; a hidden tab
   runs no animation; phones and the LIGHT graphics option have no glass blur anywhere (solid panels instead) and no
   turning hints */
.uh:not(.vis) .uh-spin, .view.busy .uh-spin { animation-play-state: paused; }
html.tab-hidden *, html.tab-hidden *::before, html.tab-hidden *::after { animation-play-state: paused !important; }
.lite *, .lite *::before, .lite *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.lite .dossier { background: linear-gradient(180deg, color-mix(in srgb, var(--c, #ff7a1a) 10%, rgb(14 14 18)), rgb(10 10 13)) !important; }
.lite :is(.pop, .lbx) { background: rgb(5 5 6 / 0.94) !important; }
.lite :is(.focus-card, .sig-win, .ab-in, .mapkey ul, .hits) { background-color: rgb(10 10 13 / 0.97) !important; }
.lite .uh-spin { animation: none !important; }
.lite .veil-band, .lite .uh { will-change: auto; }
/* 554: an uncharted Realm located stays lit in its colour */
.uhints.near .uh.found:not(.shim) .hint-ln, .uh.found.just .hint-ln { stroke: color-mix(in srgb, var(--hc) 80%, #fff); stroke-opacity: 0.85; }
.uhints.near .uh.found:not(.shim) .uh-dot, .uh.found.just .uh-dot { background: var(--hc); box-shadow: 0 0 10px var(--hc); }
.uh.just .uh-spin { animation-play-state: running; }
.uh.just::after { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--hc) 70%, #fff), transparent); animation: uhFound 1.5s ease-out forwards; pointer-events: none; }
@keyframes uhFound { from { opacity: 1; transform: scale(0.3); } to { opacity: 0; transform: scale(1.8); } }
/* 558: the Chronicle's books without hexagons; larger icons that turn while the book is hovered */
.book .emb { clip-path: none !important; background: none !important; filter: none !important; width: 82px; height: 82px; border: 0 !important; box-shadow: none !important; }
.book .emb svg.lic { width: 76px; height: 76px; --lc: color-mix(in srgb, var(--c) 55%, #fff); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 45%, transparent)); transition: filter 0.6s ease, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.book:hover .emb svg.lic, .book:focus-visible .emb svg.lic { filter: drop-shadow(0 0 14px var(--c)); transform: scale(1.06); }
.book .emb .ic-pts, .book .emb .ic-turn, .secret .emb .ic-turn { transform-box: fill-box; transform-origin: center; }
.book:hover .emb .ic-pts, .book:focus-visible .emb .ic-pts { animation: spin 9s linear infinite; }
.book:hover .emb .ic-turn, .book:focus-visible .emb .ic-turn, .secret .emb .ic-turn { animation: spin 7s linear infinite; }
@media (max-width: 600px) { .book .emb { width: 62px; height: 62px; } .book .emb svg.lic { width: 58px; height: 58px; } }
/* 540: Secrets */
.secrets { display: grid; gap: 14px; margin-top: 18px; }
.secret { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(170deg, color-mix(in srgb, var(--c, #b9a4ff) 10%, #0e0e12), #0a0a0d 70%); }
.secret .emb svg.lic { width: 70px; height: 70px; --lc: color-mix(in srgb, var(--c, #b9a4ff) 50%, #fff); opacity: 0.55; }
.secret.done { border-color: color-mix(in srgb, var(--c) 60%, var(--line-2)); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 25%, transparent); }
.secret.done .emb svg.lic { opacity: 1; filter: drop-shadow(0 0 12px var(--c)); }
.secret.unknown { opacity: 0.55; border-style: dashed; }
.secret h2 { margin: 2px 0 4px; font: 700 1.2rem/1.2 var(--display); }
.secret p { margin: 0 0 8px; color: var(--muted); font-size: 0.86rem; }
/* 556: the Realm select panel's two bars */
.focus-card .fc-p { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; margin: 0 0 12px; }
.focus-card .fc-p .fc-bar { grid-column: 1 / -1; grid-row: 2; height: 5px; }
.focus-card .fc-p .fc-n { color: var(--ink); }
.focus-card .fc-p.cards .fc-bar i { background: linear-gradient(90deg, #c9a24a, var(--gold)); }
/* 547: THE OMNIUM's slow glow */
.omni-tglow { position: absolute; width: 0; height: 0; transform-origin: 0 0; pointer-events: none; transition: opacity 0.4s ease; }
.omni-tglow svg { position: absolute; overflow: visible; will-change: opacity; animation: omniGlow 7s ease-in-out infinite; }
.omni-title.glow { fill: rgb(255 196 130 / 0.5); filter: blur(26px); }
@keyframes omniGlow { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.75; } }
.lite .omni-tglow svg { animation: none; opacity: 0.35; }
.lite .omni-title.glow { filter: none; fill: rgb(255 196 130 / 0.08); }
@media (prefers-reduced-motion: reduce) { .omni-tglow svg { animation: none; opacity: 0.4; } }
html.opt-rm .omni-tglow svg { animation: none; opacity: 0.4; }
/* 514: the claim trace starts at the lower left corner (batch 19: drawn and animated in record.js frameFx) */
.claim-frame path { fill: none; stroke: var(--gold-2); stroke-width: 2; filter: drop-shadow(0 0 6px var(--gold)); }
@keyframes frameRun16 { 0% { stroke-dashoffset: calc(0.22 - var(--fo, 0)); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: calc(-1 - var(--fo, 0)); opacity: 0; } }
/* 544: VIEW CARD locked until collected */
.btn.cr-view.locked { opacity: 0.5; cursor: not-allowed; filter: saturate(0.3); }
.btn.cr-view .cr-lock { display: inline-grid; width: 13px; height: 13px; margin-right: 8px; vertical-align: -2px; transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.btn.cr-view .cr-lock svg { width: 100%; height: 100%; fill: currentColor; }
.btn.cr-view.unlocking .cr-lock { opacity: 0; transform: translateY(-8px) scale(1.4); }
.btn.cr-view.unlocking { animation: crUnlock 0.8s ease; }
@keyframes crUnlock { 40% { box-shadow: 0 0 24px var(--gold); border-color: var(--gold); } }
/* 537: the scroll hint's shade runs the full width of the window */
.mb-tip::before { left: calc(var(--mbl, 0px) * -1); right: auto; width: 100vw; }
/* 515: a Sigil's requirements window shows its own hint (the page's stays hidden behind it) */
body:has(.sig-win) .mb-tip.mb-win { opacity: 0; }
body:has(.sig-win) .mb-tip.mb-win.on { opacity: 1; }
.mb-tip.mb-win::before { left: 0; width: auto; right: 0; }
/* 542: the way back stays at the top while the Chronicle scrolls */
.view.chron .back-top, .view.chron .sig-back { position: sticky; top: 8px; z-index: 6; background: rgb(10 10 13 / 0.88); }
.view.chron .sig-back { display: flex; width: max-content; padding: 4px; border-radius: 999px; }
/* 559, 562: The Collection: the tier by the name, one bar for the tiers */
.sig-hero .tier-name { margin: 2px 0 6px; font: 700 1.15rem/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); text-shadow: 0 0 14px rgb(240 194 122 / 0.45); }
.tier-bar { width: min(420px, 100%); margin: 10px auto 4px; }
.tier-bar .tb-ends { display: flex; justify-content: space-between; align-items: end; margin-bottom: 6px; }
.tier-bar .tb-ends span { display: grid; gap: 2px; }
.tier-bar .tb-next { text-align: right; }
.tier-bar small { font: 600 0.56rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.tier-bar b { font: 700 1.3rem/1 var(--display); color: var(--gold); }
.tier-bar .tb-next b { color: color-mix(in srgb, var(--gold) 55%, var(--muted)); }
.tier-bar .tb-track { display: block; height: 8px; border-radius: 6px; background: rgb(255 255 255 / 0.08); overflow: hidden; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.tier-bar .tb-track i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #b8862e, var(--gold), #fff1cf); box-shadow: 0 0 12px rgb(240 194 122 / 0.6); }
.tier-bar .tb-n { margin: 6px 0 0; text-align: center; font: 600 0.62rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
/* 560: every card row the same size; 20 a page; the uncollected-only switch */
.sig-coll .cc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sig-coll .cc-only { display: inline-flex; align-items: center; gap: 10px; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.cc-tog { position: relative; width: 40px; height: 22px; flex: none; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.06); cursor: pointer; }
.cc-tog i { position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background-color 0.25s; }
.cc-tog[aria-checked="true"] { border-color: var(--gold); background: rgb(240 194 122 / 0.22); }
.cc-tog[aria-checked="true"] i { transform: translateX(18px); background: var(--gold); }
.sig-coll ol.paged { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46px; gap: 8px; }
.sig-coll ol.paged > li { min-width: 0; height: 46px; margin: 0; }
.sig-coll ol.paged .row { display: grid !important; grid-template-columns: 18px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; box-sizing: border-box; width: 100%; height: 100%; padding: 0 12px; }
.sig-coll ol.paged .row .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sig-coll ol.paged .row small { white-space: nowrap; }
@media (max-width: 640px) { .sig-coll ol.paged { grid-template-columns: minmax(0, 1fr); } }
/* 563: a collected card's window, like its record panel */
.sig-pop.card-recpop .sp-in { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 60px); overflow-y: auto; padding: 22px 26px; display: block; }
.sig-pop.card-recpop .dossier-in .entry { padding: 0; }
/* 541: a claimed record's map blinks where its icon stands */
.rec-map { position: relative; }
.rec-map .rm-zone.rm-at { position: absolute; width: var(--rz, 10%); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.rec-map .rm-zone.rm-at i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 10px rgb(240 194 122 / 0.6); animation: rzBlink 2.2s ease-in-out infinite; }
.rec-map .rm-zone.rm-at i + i { inset: -40%; border-width: 1px; box-shadow: none; animation-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) { .rec-map .rm-zone.rm-at i { animation: none; } }
/* 520: the card's sheen runs diagonally, top left to bottom right, in step with the card's rocking: one way as it rocks
   one way, back as it rocks back (the same 9 s and easing as crTilt, starting together); the glint rides inside it */
.card-rec.cr-a .cr-sheen::before, .card-rec.cr-a .cr-glint::before { top: -50%; left: -50%; bottom: auto; width: 200%; height: 200%; transform: translate(-45%, -45%); }
.card-rec.cr-a .cr-sheen::before { background: linear-gradient(135deg, transparent 38%, rgb(255 248 230 / 0.10) 45%, rgb(255 255 255 / 0.22) 50%, rgb(255 248 230 / 0.08) 55%, transparent 62%); animation: crSheenD 9s ease-in-out infinite; }
.card-rec.cr-a .cr-glint::before { background: linear-gradient(135deg, transparent 47%, rgb(255 246 220 / 0.42) 50%, transparent 53%); animation: crSheenD 9s ease-in-out infinite; }
@keyframes crSheenD { 0%, 100% { transform: translate(-45%, -45%); } 50% { transform: translate(45%, 45%); } }
/* 546: over the card in VIEW CARD the cursor turns */
.rcur.turn .rc-rings, .rcur.turn .rc-rune { animation: spin 2.6s linear infinite; }
.rcur.turn .rc-rune { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rcur.turn .rc-rings, .rcur.turn .rc-rune { animation: none; } }
/* 522: "Card collected": the title centered, the Codex's turning ring beside it */
.t-head.ringed { position: relative; }
.t-head.ringed .t-ring { position: absolute; right: calc(100% + 10px); top: 50%; width: 30px; height: 30px; margin-top: -15px; overflow: visible; }
.t-ring * { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.t-ring .tr-c { fill: var(--gold); stroke: none; }
.t-ring .tr-d { fill: rgb(240 194 122 / 0.25); }
.t-ring .tr-a { animation: spin 3.2s linear infinite; }
.t-ring .tr-b { animation: spin 2.2s linear infinite reverse; stroke-opacity: 0.7; }
@media (prefers-reduced-motion: reduce) { .t-ring .tr-a, .t-ring .tr-b { animation: none; } }
.t-ring .tr-a, .t-ring .tr-b { transform-box: fill-box; transform-origin: center; }
/* 566: the tap popup's close button */
.tip.peek .peek-x { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); font: 400 1.2rem/1 var(--body); cursor: pointer; pointer-events: auto; }
.tip.peek .peek-x:active { color: var(--ink); background: rgb(255 255 255 / 0.08); }
.tip.peek .k { padding-right: 26px; }
/* 565: on a phone the card record sits higher and its card is smaller, so COLLECT shows when it opens */
@media (max-width: 900px) {
  .card-rec.cr-a { padding-top: 44px; }
  .card-rec.cr-a .cr-stage { width: min(100%, calc(38vh * 63 / 88)); margin-left: auto; margin-right: auto; }
  .card-rec.cr-a .cr-t { margin-top: 8px; }
  .card-rec.cr-a .cr-q { margin: 6px 0; }
}
/* 517: where the whole controls line fits on one line clear of the panel, it is centered on the window itself */
@media (min-width: 1500px) { .view.map .hint { left: 50%; max-width: calc(100% - 2 * var(--pw, 0px) - 40px); } }
/* 499, 526: the header's progress box: the Codex Score, and a bar toward the nearest Sigil in its colour */
.rec-btn { position: relative; overflow: visible; }
.rec-mid { display: grid; gap: 3px; min-width: 0; }
.rec-nx { font: 600 0.5rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--nc, var(--gold)) 70%, var(--muted)); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-mid .rec-bar { width: 90px; }
.rec-btn .rec-bar i { background: linear-gradient(90deg, color-mix(in srgb, var(--nc, var(--ember)) 70%, #000), var(--nc, var(--gold))); }
.rec-plus { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); font: 700 0.75rem/1 var(--mono); letter-spacing: 0.1em; color: #ffe2a8; text-shadow: 0 0 10px rgb(240 194 122 / 0.8); pointer-events: none; animation: recPlus 1.5s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes recPlus { 0% { opacity: 0; transform: translate(-50%, 8px) scale(0.8); } 20% { opacity: 1; transform: translate(-50%, 2px) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -6px) scale(1); } }
@media (max-width: 1100px) { .rec-nx { display: none; } }
@media (max-width: 900px) { .rec-mid { display: block; } .rec-mid .rec-bar { width: 30px; } }
/* 465, 509: the account row at the top of Options */
.options .op-acct { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin: 6px 0 4px; border: 1px solid var(--line-2); border-radius: 12px; background: rgb(255 255 255 / 0.03); }
.options .op-acct .op-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.options .op-acct .op-t b { font: 600 0.9rem/1.25 var(--body); }
.options .op-acct .op-t small { font-size: 0.74rem; color: var(--muted); line-height: 1.35; }
.options .op-av { width: 36px; height: 36px; flex: none; border-radius: 50%; background: rgb(88 101 242 / 0.4); }
.options .op-discord { white-space: nowrap; }
.options .op-discord:disabled { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 520px) { .options .op-acct { flex-wrap: wrap; } }
@media (max-width: 600px) { .crumbs:not(.narrow) .crumb-row { display: flex; } }

/* ---------------- batch 17 (items 568 to 609) ---------------- */
/* 568: a little space between EXPLORE and CHRONICLE */
.modes { gap: 4px; }
/* 573: LEAVE THE OMNIUM in gold */
.home span { color: var(--gold); }
/* 606: on a phone the header buttons keep their size when tapped (no opening out) */
@media (hover: none) { .home:hover, .home:focus-visible { padding-right: 7px; } .about-b.hx:hover, .about-b.hx:focus-visible { padding-right: 5px !important; } .home:hover span, .home:focus-visible span { max-width: 0; opacity: 0; margin: 0; } }
/* 587: the title's glow pulses more slowly; the light sweep copy */
.omni-tglow svg { animation-duration: 14s; }
.omni-tglow svg.ot-sweep { animation: none; opacity: 1; will-change: auto; }
.omni-title.sweep { pointer-events: none; }
.lite .ot-sweep { display: none; }
/* 589: a Realm's drawing fades out and is drawn again (its scene keeps playing) */
.fo-svg { transition: opacity 0.9s ease; }
.fo-at.redraw .fo-svg { opacity: 0; }
.fo-svg.drawin .fo-l { animation: spin var(--sp, 120s) linear infinite, foDraw 1.6s cubic-bezier(.2,.8,.2,1) both; animation-direction: var(--dir, normal), normal; }
@keyframes foDraw { from { opacity: 0; scale: 0.82; } to { opacity: 1; scale: 1; } }
/* 581: the faction in turn is lit in its own colour (enlarged by a transition, then a gentle pulse that starts where the
   transition ends, so nothing jumps); its name in its colour. 582: the other names dimmed */
.brief .brief-ico img { transition: filter 0.8s ease, opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); }
.brief .brief-ico img.on { transform: scale(1.14); filter: drop-shadow(0 0 9px var(--fc, var(--gold))) brightness(1.1); animation: fIcoPulse2 3.6s ease-in-out 0.8s infinite; }
@keyframes fIcoPulse2 { 0%, 100% { filter: drop-shadow(0 0 9px var(--fc, var(--gold))) brightness(1.1); } 50% { filter: drop-shadow(0 0 16px var(--fc, var(--gold))) brightness(1.22); } }
.lite .brief .brief-ico img.on { animation: none; filter: none; }
.brief .meta .fm { color: var(--dim); }
.brief .meta .fm.on { color: color-mix(in srgb, var(--fc, var(--gold)) 75%, #fff); text-shadow: 0 0 12px color-mix(in srgb, var(--fc, var(--gold)) 55%, transparent); }
/* 580: the map's icons move like the Chronicle's book icons: a slight lift on hover and a pop when selected */
.pin .ic, .realm .rm { transition: scale 0.5s cubic-bezier(.2,.8,.2,1); transform-box: fill-box; transform-origin: center; }
.pin:hover .ic, .pin:focus-visible .ic, .realm:hover .rm, .realm:focus-visible .rm { scale: 1.08; }
.pin.ipop .ic, .realm.ipop .rm { animation: pinPop 0.6s cubic-bezier(.2,.8,.2,1); }
@keyframes pinPop { 0% { scale: 1.08; } 35% { scale: 0.9; } 70% { scale: 1.14; } 100% { scale: 1.08; } }
@media (prefers-reduced-motion: reduce) { .pin .ic, .realm .rm { transition: none; } .pin:hover .ic, .realm:hover .rm { scale: none; } }
/* 584: while no record is open, unclaimed records show no name under their icons (the name shows on hover) */
/* batch 33 (1175): a Region's name too only once claimed (or on hover) */
body:not(.dossier-on) .view.dest .pin:not(.claimed):not(.ghost):not(:hover):not(:focus-visible) .lbl { opacity: 0; }
/* 586: INVESTIGATE on an unknown signal's panel */
.inv-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.inv-n { font: 600 0.62rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
/* 574: scrolling inside a popup never scrolls the page behind it */
.sig-pop, .sig-pop *, .ab-pop, .ab-pop *, .pop, .pop *, .sig-win, .dossier { overscroll-behavior: contain; }
html:has(.sig-pop.on, .ab-pop.on, .pop:not([hidden])) .view.chron { overflow: hidden; }
/* 577: the equipped collecting Sigil's tier, large */
.sp-tier { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 6px; }
.sp-tier .spt-k, .sp-tier .spt-of { font: 600 0.66rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.sp-tier .spt-v { font: 700 2.6rem/1 var(--display); color: var(--gold); text-shadow: 0 0 22px rgb(240 194 122 / 0.55); letter-spacing: 0.06em; }
.sig-pop .tier-bar { margin: 4px 0 12px; }
/* 601: VIEW CARD unlocks smoothly: the dim fades, the padlock lifts away and folds its space shut */
.btn.cr-view { transition: opacity 0.9s ease, filter 0.9s ease, box-shadow 0.9s ease, color 0.9s ease; }
.btn.cr-view .cr-lock { overflow: hidden; transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2,.8,.2,1), width 0.55s ease 0.3s, margin 0.55s ease 0.3s; }
.btn.cr-view.unlocking .cr-lock { width: 0; margin-right: 0; }
/* 602: the Chronicle's page subtitles a little wider */
.chron-head p { max-width: 800px; }
/* 594, 595: every book's icon moves while its button is hovered (a slow float, its turning parts turn, the Sigil's
   inner diamond spins, the point at its heart pulses), and the glow fades in on hover only, in the book's colour,
   following the drawing itself */
.book .emb svg.lic { filter: drop-shadow(0 0 0 color-mix(in srgb, var(--c) 0%, transparent)); transition: filter 0.7s ease, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.book:hover .emb svg.lic, .book:focus-visible .emb svg.lic { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--c) 85%, transparent)); transform: scale(1.06); }
.book .emb .ic, .book .emb .sg-dia, .book .emb .dot { transform-box: fill-box; transform-origin: center; }
.book:hover .emb .ic, .book:focus-visible .emb .ic { animation: bkFloat 2.8s ease-in-out infinite; }
.book:hover .emb .ic-turn, .book:focus-visible .emb .ic-turn { animation: spin 7s linear infinite; }
.book:hover .emb .sg-dia, .book:focus-visible .emb .sg-dia { animation: spin 3.2s cubic-bezier(.45,.05,.55,.95) infinite; }
.book:hover .emb .dot, .book:focus-visible .emb .dot { animation: bkDot 1.6s ease-in-out infinite; }
@keyframes bkFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.5px; } }
@keyframes bkDot { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.8; opacity: 0.6; } }
@media (prefers-reduced-motion: reduce) { .book .emb * { animation: none !important; } }
html.opt-rm .book .emb * { animation: none !important; }
/* 605: the map key scrolls when it is taller than the room above its button */
.mapkey ul { max-height: calc(100dvh - var(--toph, 64px) - 120px); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
@media (max-width: 900px) { .mapkey ul { max-height: calc(100dvh - var(--toph, 64px) - var(--bh, 34vh) - 80px); } }
/* 607: on a phone the Omnium's title glow and its sweep are not drawn (less memory) */
@media (max-width: 900px) { .omni-tglow { display: none; } }
/* 604: on a phone a card's record puts COLLECT and VIEW CARD straight under the card (the name and text follow), with
   the card a little smaller, so the buttons are in view when the record opens */
@media (max-width: 900px) {
  .card-rec.cr-a { display: flex; flex-direction: column; padding-top: 40px; }
  .card-rec.cr-a > .eyebrow { order: 0; } .card-rec.cr-a .cr-stage { order: 1; width: min(100%, calc(32vh * 63 / 88)); margin-bottom: 14px; } .card-rec.cr-a .cr-btns { order: 2; margin: 0 0 14px; } .card-rec.cr-a .cr-t { order: 3; }
}
/* 570: the walkthrough: a soft shade, a ring round the part each step is about, and a small panel at the foot */
.wt-shade { position: fixed; inset: 0; z-index: 90; background: rgb(3 3 5 / 0.45); opacity: 0; transition: opacity 0.4s ease; }
.wt-shade.on { opacity: 1; }
.wt-ring { position: fixed; z-index: 91; border: 1.5px solid var(--gold); border-radius: 14px; box-shadow: 0 0 0 9999px rgb(3 3 5 / 0.35), 0 0 26px rgb(240 194 122 / 0.55), inset 0 0 16px rgb(240 194 122 / 0.2); pointer-events: none; opacity: 0; transition: opacity 0.4s ease, left 0.55s cubic-bezier(.2,.8,.2,1), top 0.55s cubic-bezier(.2,.8,.2,1), width 0.55s cubic-bezier(.2,.8,.2,1), height 0.55s cubic-bezier(.2,.8,.2,1); }
.wt-ring.on { opacity: 1; animation: wtRing 2.4s ease-in-out infinite; }
@keyframes wtRing { 50% { box-shadow: 0 0 0 9999px rgb(3 3 5 / 0.35), 0 0 40px rgb(240 194 122 / 0.8), inset 0 0 20px rgb(240 194 122 / 0.3); } }
.wt { position: fixed; z-index: 92; left: 50%; bottom: 28px; width: min(460px, calc(100vw - 32px)); padding: 22px 24px 20px; translate: -50% 0; border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line-2)); border-radius: 14px; background: rgb(10 10 13 / 0.96); box-shadow: 0 24px 60px rgb(0 0 0 / 0.6); opacity: 0; transform: translateY(14px); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2,.8,.2,1); }
.wt.in { opacity: 1; transform: none; }
.wt.out { opacity: 0; transform: translateY(14px); }
.wt h2 { margin: 4px 0 8px; font: 700 1.3rem/1.15 var(--display); letter-spacing: 0.05em; color: #fff; }
.wt p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.wt .eyebrow { color: var(--gold); }
.wt .x { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.wt .x:hover { color: var(--ink); }
.wt-dots { display: flex; gap: 6px; margin: 16px 0 12px; }
.wt-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background 0.3s ease, transform 0.3s ease; }
.wt-dots i.on { background: var(--gold); transform: scale(1.3); }
.wt .btns { display: flex; justify-content: flex-end; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .wt-ring.on { animation: none; } }
/* 597: the progress bar on every Chronicle book (the bar sat in a box of no width, so only the count showed) */
.meter > .meter { flex: 1 1 auto; min-width: 0; }
/* 599: on The Collection's card rows the card number sits right under the name (it hung at the foot of the row) */
.sig-coll ol.paged .row.card-link { align-content: center; row-gap: 1px; }
.sig-coll .row.card-link small { align-self: start; margin-top: 0; line-height: 1.1; }
/* 600: the card window's × stays above the record and in view while it scrolls */
.sig-pop .sp-in > .x { z-index: 5; }
.sig-pop.card-recpop .sp-in > .x { position: sticky; top: 0; float: right; margin: -10px -14px 0 0; background: rgb(10 10 13 / 0.7); }
/* 571 (answering 511): the card's look differs a little by rarity. Common: a fainter sheen and no glint. Rare: as it was.
   Ultra: a brighter sheen. Legend: a warm gold sheen and a slow gold glow round the card. Mythic: an iridescent sheen
   (its colours drift slowly) and a soft glow that shifts with them. Only opacity, colour and the glow change */
.card-rec.cr-a.rar-common .cr-sheen { opacity: 0.55; }
.card-rec.cr-a.rar-common .cr-glint { display: none; }
.card-rec.cr-a.rar-ultra .cr-sheen { filter: brightness(1.45); }
.card-rec.cr-a.rar-legend .cr-sheen::before { background: linear-gradient(135deg, transparent 36%, rgb(255 214 140 / 0.14) 44%, rgb(255 236 190 / 0.3) 50%, rgb(255 200 110 / 0.12) 56%, transparent 64%); }
.card-rec.cr-a.rar-legend .cr-art { animation: crTilt 9s ease-in-out infinite, rarLegend 6s ease-in-out infinite; }
@keyframes rarLegend { 0%, 100% { box-shadow: 0 18px 40px rgb(0 0 0 / 0.55), 0 0 14px rgb(240 194 122 / 0.18); } 50% { box-shadow: 0 18px 40px rgb(0 0 0 / 0.55), 0 0 30px rgb(240 194 122 / 0.42); } }
.card-rec.cr-a.rar-mythic .cr-sheen::before { background: linear-gradient(135deg, transparent 34%, rgb(140 200 255 / 0.14) 42%, rgb(255 160 230 / 0.24) 48%, rgb(255 240 170 / 0.22) 53%, rgb(140 255 210 / 0.12) 58%, transparent 66%); }
.card-rec.cr-a.rar-mythic .cr-sheen { animation: rarHue 14s linear infinite; }
.card-rec.cr-a.rar-mythic .cr-art { animation: crTilt 9s ease-in-out infinite, rarMythic 7s ease-in-out infinite; }
@keyframes rarHue { to { filter: hue-rotate(360deg); } }
@keyframes rarMythic { 0%, 100% { box-shadow: 0 18px 40px rgb(0 0 0 / 0.55), 0 0 16px rgb(150 170 255 / 0.25); } 50% { box-shadow: 0 18px 40px rgb(0 0 0 / 0.55), 0 0 32px rgb(230 150 255 / 0.4); } }
.card-rec.cr-a.uncol .cr-art { animation: crTilt 9s ease-in-out infinite; }   /* the rarity glow only once collected */
.lite .card-rec.cr-a[class*="rar-"] .cr-art { animation: crTilt 9s ease-in-out infinite; } .lite .card-rec.cr-a.rar-mythic .cr-sheen { animation: none; }
@media (prefers-reduced-motion: reduce) { .card-rec.cr-a[class*="rar-"] .cr-art, .card-rec.cr-a[class*="rar-"] .cr-sheen { animation: none; } }
html.opt-rm .card-rec.cr-a[class*="rar-"] .cr-art, html.opt-rm .card-rec.cr-a[class*="rar-"] .cr-sheen { animation: none; }

/* batch 18: the walkthrough in the middle of the screen; a sentence a line; the lit part brighter inside the ring (the
   shade gives way to the ring's own dimming); step 4's small map */
.wt { top: 50%; bottom: auto; translate: -50% -50%; }
.wt-shade.hole { background: transparent; }
.wt-b p + p { margin-top: 0.85em; }
.wt-lit { filter: brightness(1.45) saturate(1.15) drop-shadow(0 0 10px rgb(240 194 122 / 0.35)); transition: filter 0.4s ease; }
.wt-map { display: block; width: 100%; height: auto; margin: 4px 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: radial-gradient(ellipse at 50% 50%, rgb(40 30 22 / 0.7), rgb(8 8 10 / 0.9)); }
.wt-map .wm-edge { fill: none; stroke: rgb(240 194 122 / 0.35); stroke-width: 1; stroke-dasharray: 2 5; }
.wt-map .wm-ring { fill: none; stroke: rgb(255 255 255 / 0.08); }
.wt-map .wm-path { fill: none; stroke: rgb(240 194 122 / 0.25); stroke-dasharray: 3 4; }
.wt-map .wm-i path { fill: var(--c); stroke: rgb(0 0 0 / 0.5); }
.wt-map .wm-halo { fill: none; stroke: var(--c); stroke-width: 1; opacity: 0.35; }
.wt-map .wm-i { animation: wmFloat 3.2s ease-in-out var(--d) infinite; }
.wt-map .wm-i.sel .wm-halo { opacity: 1; stroke-width: 1.6; animation: wmSel 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.wt-map .wm-t { font: 700 7px var(--display, sans-serif); letter-spacing: 0.12em; fill: var(--gold); text-anchor: middle; transform: translateY(24px); }
@keyframes wmFloat { 50% { translate: 0 -2px; } }
@keyframes wmSel { 50% { scale: 1.25; opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .wt-map .wm-i, .wt-map .wm-halo { animation: none !important; } }

/* ---------------- batch 18 ---------------- */
/* 617: each Chronicle book's icon has its own movement on hover (on top of the slow float of batch 17) */
.book .emb .ic > *, .book .emb .ic g { transform-box: fill-box; transform-origin: center; }
/* Locations: the pin hops and lands with a small squash; its point of light pulses */
.book:hover .emb .ic-place, .book:focus-visible .emb .ic-place { animation: bkHop 1.8s cubic-bezier(.3,.7,.4,1) infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.book:hover .emb .ic-place > circle.f, .book:focus-visible .emb .ic-place > circle.f { animation: bkPulse 1.8s ease-in-out infinite; }
@keyframes bkHop { 0%, 60%, 100% { translate: 0 0; scale: 1 1; } 25% { translate: 0 -3.5px; scale: 0.96 1.04; } 48% { translate: 0 0; scale: 1.06 0.93; } }
@keyframes bkPulse { 50% { scale: 1.35; opacity: 0.7; } }
/* Characters: the hexagon frame ticks round a sixth at a time; the figure inside nods */
.book:hover .emb .ic-char > polygon, .book:focus-visible .emb .ic-char > polygon { animation: bkTick 3.6s cubic-bezier(.6,0,.3,1) infinite; }
.book:hover .emb .ic-char > path:last-child, .book:focus-visible .emb .ic-char > path:last-child { animation: spin 14s linear infinite reverse; }
.book:hover .emb .ic-char > circle.f, .book:focus-visible .emb .ic-char > circle.f { animation: bkNod 3.6s ease-in-out infinite; }
@keyframes bkTick { 0%, 20% { rotate: 0deg; } 33%, 53% { rotate: 60deg; } 66%, 86% { rotate: 120deg; } 100% { rotate: 180deg; } }
@keyframes bkNod { 0%, 100% { translate: 0 0; } 40% { translate: 0 -1.2px; } 60% { translate: 0 0.4px; } }
/* Groups: the three members change places round the triangle (a third of a turn, a pause, again) */
/* (batch 19: replaced by the turning trio below) */
@keyframes bkTrio { 0%, 25% { rotate: 0deg; } 50%, 75% { rotate: 120deg; } 100% { rotate: 240deg; } }
/* Legends: the star twinkles (a quick turn and swell of the inner star) while its frame shimmers */
.book:hover .emb .ic-legend > path:last-child, .book:focus-visible .emb .ic-legend > path:last-child { animation: bkTwinkle 2.6s ease-in-out infinite; }
.book:hover .emb .ic-legend > path.ln:not(.thin), .book:focus-visible .emb .ic-legend > path.ln:not(.thin) { animation: bkGleam 2.6s ease-in-out infinite; }
.book:hover .emb .ic-legend .lg-dia, .book:focus-visible .emb .ic-legend .lg-dia { stroke-dasharray: 6 4; animation: bkDash 3s linear infinite; }
@keyframes bkTwinkle { 0%, 55%, 100% { rotate: 0deg; scale: 1; } 70% { rotate: 45deg; scale: 1.5; } 85% { rotate: 90deg; scale: 1; } }
@keyframes bkGleam { 0%, 55%, 100% { opacity: 1; } 70% { opacity: 0.55; } }
@keyframes bkDash { to { stroke-dashoffset: -20; } }
/* Concepts: the star turns one way, the ring of ticks the other, the star breathing in and out */
.book:hover .emb .ic-concept > path.f, .book:focus-visible .emb .ic-concept > path.f { animation: spin 8s linear infinite, bkBreathe 2.4s ease-in-out infinite; }
.book:hover .emb .ic-concept > path.thin, .book:focus-visible .emb .ic-concept > path.thin { animation: spin 11s linear infinite reverse; }
@keyframes bkBreathe { 50% { scale: 0.82; } }
/* Cards: the card flips over and back, and its glint flashes as it turns face up */
.book:hover .emb .ic-card > g, .book:focus-visible .emb .ic-card > g { animation: bkFlip 3.4s cubic-bezier(.6,0,.4,1) infinite; }
.book:hover .emb .ic-card .glint, .book:focus-visible .emb .ic-card .glint { animation: bkGlint 3.4s ease-in-out infinite; }
@keyframes bkFlip { 0%, 30%, 100% { scale: 1 1; } 42% { scale: 0.05 1; } 54% { scale: 1 1; } 60% { scale: 1.08 1.08; } 68% { scale: 1 1; } }
@keyframes bkGlint { 0%, 52%, 100% { opacity: 0.4; scale: 0.8; } 60% { opacity: 1; scale: 1.5; } }
@media (prefers-reduced-motion: reduce) { .book .emb .ic * { animation: none !important; } }
html.opt-rm .book .emb .ic * { animation: none !important; }

/* 637, 639: CONTINUE narrower; the Codex Score box lower in the heading */
.chron-cont { max-width: 520px; }
.chron-hero { align-items: flex-end; }
.chron-hero .chron-stat { margin-top: 34px; }

/* 640: no light sweep or glint on a rocking card until it is collected */
.card-rec.cr-a.uncol .cr-sheen, .card-rec.cr-a.uncol .cr-glint { display: none; }
/* Ultra (user, batch 18): an intense polychrome sheen, and a large fanfare on collecting */
.card-rec.cr-a.rar-ultra .cr-sheen { filter: none; animation: rarHue 6s linear infinite; }
.card-rec.cr-a.rar-ultra .cr-sheen::before { background: linear-gradient(135deg, transparent 30%, rgb(255 90 120 / 0.22) 38%, rgb(255 210 90 / 0.3) 44%, rgb(120 255 170 / 0.32) 50%, rgb(90 180 255 / 0.3) 56%, rgb(200 120 255 / 0.22) 62%, transparent 70%); }
.card-rec.cr-a.rar-ultra:not(.uncol) .cr-art { animation: crTilt 9s ease-in-out infinite, rarUltra 4s linear infinite; }
@keyframes rarUltra { 0%, 100% { box-shadow: 0 18px 40px rgb(0 0 0 / 0.55), 0 0 22px rgb(255 120 160 / 0.35); } 33% { box-shadow: 0 18px 40px rgb(0 0 0 / 0.55), 0 0 26px rgb(120 255 180 / 0.35); } 66% { box-shadow: 0 18px 40px rgb(0 0 0 / 0.55), 0 0 26px rgb(110 170 255 / 0.38); } }
.burst.big .spark { width: 6px; height: 6px; background: hsl(var(--hu) 95% 72%); box-shadow: 0 0 10px hsl(var(--hu) 95% 62%), 0 0 2px #fff; }
.card-rec .cr-stage .burst.big .ring { display: block; left: -150px; top: -150px; width: 300px; height: 300px; border-radius: 50%; border-color: rgb(255 255 255 / 0.8); box-shadow: 0 0 30px rgb(200 170 255 / 0.6); animation: ringOut 1.1s ease-out forwards; }
.card-rec .cr-stage .burst.big .ring.r2 { animation-delay: 0.25s; opacity: 0; animation-fill-mode: both; border-color: rgb(255 220 150 / 0.8); }
.lite .card-rec.cr-a.rar-ultra .cr-sheen { animation: none; }

/* THE OMNIUM title: larger, slightly raised (two darker copies behind it, a faint light edge on top) */
.omni-title { font-size: 440px; letter-spacing: 0.26em; }
@media (max-width: 900px) { .omni-title { font-size: 280px; letter-spacing: 0.14em; } }
.omni-title.depth.d1 { fill: rgb(60 34 16 / 0.16); }
.omni-title.depth.d2 { fill: rgb(20 10 4 / 0.22); }
.omni-title:not(.depth):not(.glow) { stroke: rgb(255 232 200 / 0.09); stroke-width: 3px; paint-order: stroke; }
.lite .omni-title.depth.d2 { display: none; }

/* 610: Echoes, faint flickering copies of record icons */
.pin.echo { cursor: pointer; opacity: 0.32; animation: echoFlick 5.5s steps(1) var(--ed) infinite; transition: opacity 1s ease, filter 1s ease; }
.pin.echo .echo-i { filter: blur(0.6px) drop-shadow(0 0 6px var(--c)); }
.pin.echo:hover, .pin.echo:focus-visible { opacity: 0.6; outline: none; }
.pin.echo.gone { opacity: 0 !important; filter: blur(6px); animation: none; pointer-events: none; }
@keyframes echoFlick { 0%, 100% { opacity: 0.32; } 8% { opacity: 0.08; } 10% { opacity: 0.38; } 52% { opacity: 0.18; } 55% { opacity: 0.34; } 81% { opacity: 0.05; } 84% { opacity: 0.3; } }
/* 611: the Fracture line */
.fracture { cursor: crosshair; }
.fracture .fr-glow { fill: none; stroke: rgb(190 200 255 / 0.18); stroke-width: 9; filter: blur(3px); }
.fracture .fr-ln { fill: none; stroke: rgb(220 226 255 / 0.5); stroke-width: 1.6; stroke-dasharray: 9 2 3 2; animation: frJit 2.4s steps(3) infinite; }
.fracture .fr-lit { fill: none; stroke: #fff; stroke-width: 2.6; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px #bcd0ff); transition: stroke-dashoffset 0.12s linear; }
.fracture .fr-hit { fill: none; stroke: transparent; stroke-width: 44; pointer-events: stroke; }
.fracture.done .fr-lit { stroke-dashoffset: 0 !important; animation: frDone 1.8s ease-out forwards; }
.fracture.done .fr-hit { pointer-events: none; }
@keyframes frJit { 33% { stroke-dashoffset: 2; } 66% { stroke-dashoffset: -3; } }
@keyframes frDone { 0% { opacity: 1; } 100% { opacity: 0.35; } }
/* 614: the Temporal Anomaly's rhythm, and the visitor's taps */
.realm .tp-ring { fill: none; stroke: var(--c); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: tpRing 1.05s ease-out forwards; pointer-events: none; }
.realm .tp-ring.tap { stroke: #fff; animation-duration: 0.65s; }
.realm.tp-done .rm-ico { filter: drop-shadow(0 0 10px var(--c)); }
@keyframes tpRing { 0% { opacity: 0.9; scale: 1; } 100% { opacity: 0; scale: 2.6; } }
/* 618: the signal log on the Secrets page */
.sig-log { margin-top: 12px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.sig-log summary { cursor: pointer; font: 600 0.62rem/1.2 var(--mono); letter-spacing: 0.16em; color: #b9a4ff; }
.sig-log ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.sig-log li { display: grid; gap: 2px; padding-left: 10px; border-left: 2px solid color-mix(in srgb, var(--c) 60%, transparent); }
.sig-log .sl-w { color: var(--ink); text-decoration: none; font-weight: 600; }
.sig-log .sl-w:hover { color: #fff; text-decoration: underline; }
.sig-log .sl-c { font: 500 0.6rem/1.4 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.sl-none { margin-top: 10px; font-size: 0.8rem; color: var(--muted); }
/* map: the record panel and its close button slide the same distance (the panel moved 105%% of its width, the button
   its width + 60 px), so the button no longer shifts against the panel edge as it opens */
@media (min-width: 901px) { .dossier { transform: translateX(calc(var(--dw) + 60px)); } }

/* ---------------- batch 19 ---------------- */
/* the Axion Forge wordmark: on the loading screen over THE CODEX, at the top of ABOUT, and over the Chronicle's title */
.ld-logo { width: min(300px, 64vw); height: auto; margin-top: 22px; filter: drop-shadow(0 0 18px rgb(255 120 40 / 0.25)); animation: ldFade 1.2s ease 0.4s backwards; }
.loader.done .ld-logo { opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.6s ease; }
p.ld-t { margin-top: 10px; }
.ab-logo { display: block; width: min(260px, 70%); height: auto; margin: -6px auto 14px; filter: drop-shadow(0 0 16px rgb(255 120 40 / 0.22)); }
.chron-logo { display: block; width: clamp(150px, 18vw, 210px); height: auto; margin: 0 0 10px -6px; filter: drop-shadow(0 0 14px rgb(255 120 40 / 0.2)); }
/* walkthrough: one size for every step (the tallest, step 4 with its map), the dots and buttons along the bottom, the
   FINISH button at the bottom right */
.wt { height: min(520px, calc(100dvh - 32px)); display: flex; flex-direction: column; overflow: hidden; }
.wt .wt-b { flex: 0 1 auto; overflow: auto; }
.wt-foot { margin-top: auto; }
.wt-ring { transition: left 0.45s cubic-bezier(.2,.8,.2,1), top 0.45s cubic-bezier(.2,.8,.2,1), width 0.45s cubic-bezier(.2,.8,.2,1), height 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.3s ease; }
/* the record carousels (Cards of this faction, Seen on cards): an uncollected card drained and blurred as on a card's
   own record */
.cards button.unc img { filter: grayscale(0.92) brightness(0.72) contrast(0.95) blur(1.6px); }
.cards button.unc:hover img, .cards button.unc:focus-visible img { filter: grayscale(0.7) brightness(0.82) blur(1px); }
.dos-x { transition: transform 0.6s cubic-bezier(.2,.8,.2,1), top 0.3s ease, color 0.2s, box-shadow 0.3s; }
.got-flash.gf-small { scale: 0.62; }

/* batch 19: the map icons move as the Chronicle's books do, on hover and for as long as the icon is selected */
.pin :is(.ic-place, .ic-char, .ic-legend, .ic-concept, .ic-card) > *, .pin .ic-card g { transform-box: fill-box; transform-origin: center; }
.pin:hover .ic-place, .pin:focus-visible .ic-place, .pin.on .ic-place { animation: bkHop 1.8s cubic-bezier(.3,.7,.4,1) infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.pin:hover .ic-place > circle.f, .pin:focus-visible .ic-place > circle.f, .pin.on .ic-place > circle.f { animation: bkPulse 1.8s ease-in-out infinite; }
.pin:hover .ic-char > polygon, .pin:focus-visible .ic-char > polygon, .pin.on .ic-char > polygon { animation: bkTick 3.6s cubic-bezier(.6,0,.3,1) infinite; }
.pin:hover .ic-char > path:last-child, .pin:focus-visible .ic-char > path:last-child, .pin.on .ic-char > path:last-child { animation: spin 14s linear infinite reverse; }
.pin:hover .ic-char > circle.f, .pin:focus-visible .ic-char > circle.f, .pin.on .ic-char > circle.f { animation: bkNod 3.6s ease-in-out infinite; }
.pin:hover .ic-legend > path:last-child, .pin:focus-visible .ic-legend > path:last-child, .pin.on .ic-legend > path:last-child { animation: bkTwinkle 2.6s ease-in-out infinite; }
.pin:hover .ic-legend > path.ln:not(.thin), .pin:focus-visible .ic-legend > path.ln:not(.thin), .pin.on .ic-legend > path.ln:not(.thin) { animation: bkGleam 2.6s ease-in-out infinite; }
.pin:hover .ic-legend .lg-dia, .pin:focus-visible .ic-legend .lg-dia, .pin.on .ic-legend .lg-dia { stroke-dasharray: 6 4; animation: bkDash 3s linear infinite; }
.pin:hover .ic-concept > path.f, .pin:focus-visible .ic-concept > path.f, .pin.on .ic-concept > path.f { animation: spin 8s linear infinite, bkBreathe 2.4s ease-in-out infinite; }
.pin:hover .ic-concept > path.thin, .pin:focus-visible .ic-concept > path.thin, .pin.on .ic-concept > path.thin { animation: spin 11s linear infinite reverse; }
.pin:hover .ic-card > g, .pin:focus-visible .ic-card > g, .pin.on .ic-card > g { animation: bkFlip 3.4s cubic-bezier(.6,0,.4,1) infinite; }
.pin:hover .ic-card .glint, .pin:focus-visible .ic-card .glint, .pin.on .ic-card .glint { animation: bkGlint 3.4s ease-in-out infinite; }
/* Groups, everywhere (books, map icons, record lines): the three linked members turn inside the triangle, drawn in a
   little so they never cross its sides */
.ic-trio { transform-box: fill-box; transform-origin: center; transition: scale 0.45s cubic-bezier(.2,.8,.2,1); }
.book:hover .emb .ic-trio, .book:focus-visible .emb .ic-trio, .pin:hover .ic-trio, .pin:focus-visible .ic-trio, .pin.on .ic-trio { scale: 0.84; animation: trioTurn 6s linear infinite; }
@keyframes trioTurn { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .pin .ic *, .ic-trio { animation: none !important; } }
html.opt-rm .pin .ic *, html.opt-rm .ic-trio { animation: none !important; }

/* batch 19: the Secrets on the maps */
/* Echoes: steady and faint (no blinking); now and then a subtle pulse spreads from one; a found one fades in a bloom */
.pin.echo { animation: none; opacity: 0.34; }
.pin.echo .ec-pulse { fill: none; stroke: var(--c); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ecPulse 9s ease-out var(--ed) infinite; pointer-events: none; }
@keyframes ecPulse { 0%, 82% { opacity: 0; scale: 0.6; } 86% { opacity: 0.75; } 100% { opacity: 0; scale: 2.6; } }
.sx-found { pointer-events: none; }
.sx-found .sx-bloom { fill: var(--c); opacity: 0; transform-box: fill-box; transform-origin: center; animation: sxBloom 1.3s ease-out forwards; filter: blur(4px); }
.sx-found .sx-wave { fill: none; stroke: color-mix(in srgb, var(--c) 70%, #fff); stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; animation: sxWave 1.5s ease-out forwards; }
.sx-found .sx-wave.w2 { animation-delay: 0.25s; }
@keyframes sxBloom { 0% { opacity: 0.9; scale: 0.3; } 100% { opacity: 0; scale: 1.9; } }
@keyframes sxWave { 0% { opacity: 0.9; scale: 0.6; } 100% { opacity: 0; scale: 4.2; } }
.pin.echo.gone { opacity: 0 !important; transition: opacity 1.3s ease 0.2s, filter 1.3s ease 0.2s; }
.pin.echo.gone .sx-found { opacity: 1; }
/* Fractures: a traced one glows softly in and out */
.fracture.done .fr-glow { animation: frBreath 4.5s ease-in-out infinite; }
.fracture.done .fr-lit { animation: frDone 1.8s ease-out forwards, frBreathLit 4.5s ease-in-out 1.8s infinite; }
@keyframes frBreath { 0%, 100% { stroke: rgb(190 200 255 / 0.1); } 50% { stroke: rgb(200 212 255 / 0.42); } }
@keyframes frBreathLit { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.95; } }
/* Rifts: an upright glowing eye, pulsing slowly; one end found stays open, brighter */
.pin.rift { cursor: pointer; }
.pin.rift .rf-halo { fill: color-mix(in srgb, var(--c) 30%, transparent); filter: blur(7px); opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: rfPulse 3.6s ease-in-out var(--rd) infinite; }
.pin.rift .rf-rim { fill: rgb(6 6 10 / 0.75); stroke: color-mix(in srgb, var(--c) 75%, #fff); stroke-width: 1.6; filter: drop-shadow(0 0 6px var(--c)); }
.pin.rift .rf-core { fill: color-mix(in srgb, var(--c) 55%, #fff); opacity: 0.7; transform-box: fill-box; transform-origin: center; animation: rfIris 3.6s ease-in-out var(--rd) infinite; }
.pin.rift:hover .rf-rim, .pin.rift:focus-visible .rf-rim { stroke-width: 2.2; }
.pin.rift.open .rf-halo { opacity: 0.9; }
.pin.rift.open .rf-core { fill: #fff; opacity: 1; }
@keyframes rfPulse { 0%, 100% { scale: 0.92; opacity: 0.4; } 50% { scale: 1.12; opacity: 0.8; } }
@keyframes rfIris { 0%, 100% { scale: 0.7 1; } 50% { scale: 1.3 1; } }
/* Constellations: faint stars that brighten on hover; the lines between them barely seen until drawn */
.stars .cn-ln { stroke: var(--c); stroke-width: 1.2; opacity: 0.05; stroke-dasharray: 2 6; transition: opacity 0.6s ease; pointer-events: none; }
.stars .cn-ln.on { opacity: 0.85; stroke-dasharray: none; stroke-width: 1.8; filter: drop-shadow(0 0 4px var(--c)); }
.stars .cn-star { cursor: pointer; pointer-events: all; }
.stars .cn-hit { fill: transparent; }
.stars .cn-glow { fill: var(--c); opacity: 0.12; filter: blur(4px); transform-box: fill-box; transform-origin: center; animation: cnTw 5s ease-in-out var(--sd) infinite; }
.stars .cn-dot { fill: color-mix(in srgb, var(--c) 40%, #fff); opacity: 0.55; transition: opacity 0.3s ease; }
.stars .cn-star:hover .cn-dot, .stars .cn-star.pick .cn-dot { opacity: 1; }
.stars .cn-star.pick .cn-glow { opacity: 0.6; animation: none; scale: 1.5; }
.stars .cn-star.miss .cn-dot { animation: cnMiss 0.45s steps(2) 2; }
.stars.done .cn-ln { opacity: 1; animation: cnDone 3s ease-in-out infinite; }
.stars.done .cn-glow { opacity: 0.5; }
@keyframes cnTw { 0%, 100% { scale: 0.8; } 50% { scale: 1.25; } }
@keyframes cnMiss { 50% { opacity: 0.1; } }
@keyframes cnDone { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
/* Temporal Pings: four nodes round the selected Anomaly; a node lights with its note */
.realm:not(.sel) .tp-simon { display: none; }
.tp-simon .tp-node { cursor: pointer; }
.tp-simon .tp-hit { fill: transparent; pointer-events: all; }
.tp-simon .tp-ring0 { fill: rgb(6 6 10 / 0.55); stroke: var(--c); stroke-width: 1.4; opacity: 0.55; transition: opacity 0.2s ease; }
.tp-simon .tp-core { fill: var(--c); opacity: 0.35; transform-box: fill-box; transform-origin: center; transition: opacity 0.2s ease, scale 0.2s ease; }
.tp-simon .tp-node:hover .tp-ring0 { opacity: 0.9; }
.tp-simon .tp-node.lit .tp-core { opacity: 1; scale: 1.8; fill: #fff; filter: drop-shadow(0 0 8px var(--c)); }
.tp-simon .tp-node.lit .tp-ring0 { opacity: 1; stroke-width: 2.4; }
.tp-simon.showing { pointer-events: none; }
.tp-simon.fail .tp-ring0 { stroke: #ff6a5a; opacity: 1; }
.tp-simon.won .tp-core { opacity: 1; scale: 1.6; transition-duration: 0.8s; }
/* Afterimages: a faint outline that fades in, lingers and fades */
.afterimg { cursor: pointer; pointer-events: all; animation: aiIn 1.4s ease-out both; }
.afterimg .ai-hit { fill: transparent; }
.afterimg .ai-shape * { fill: none; stroke: rgb(220 228 255 / 0.5); stroke-width: 1.2; filter: drop-shadow(0 0 5px rgb(200 214 255 / 0.6)); }
.afterimg.out { opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
@keyframes aiIn { from { opacity: 0; } to { opacity: 1; } }
/* batch 19: the Chronicle's Secrets page, a list of buttons as on the other pages; each opens its hint and a small map */
.sx-list { display: grid; gap: 10px; margin-top: 18px; }
.sx-item { border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.01)); overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.sx-item.on { border-color: color-mix(in srgb, var(--c, #ff5fc8) 55%, var(--line-2)); }
.sx-item.unknown { opacity: 0.5; border-style: dashed; margin-top: 10px; }
.sx-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(120px, 220px) 22px; gap: 16px; align-items: center; width: 100%; padding: 12px 18px; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.sx-item.unknown .sx-row { cursor: default; grid-template-columns: 52px minmax(0, 1fr) auto; color: var(--muted); font-size: 0.85rem; }
.sx-row:hover, .sx-row:focus-visible { background: color-mix(in srgb, var(--c, #ff5fc8) 8%, transparent); outline: none; }
.sx-row .emb svg.lic { width: 46px; height: 46px; --lc: color-mix(in srgb, var(--c, #ff5fc8) 55%, #fff); opacity: 0.5; }
.sx-row.done .emb svg.lic { opacity: 1; filter: drop-shadow(0 0 10px var(--c)); }
.sx-n { display: grid; gap: 2px; min-width: 0; }
.sx-n b { font: 700 1.05rem/1.2 var(--display); letter-spacing: 0.04em; }
.sx-row.done .sx-n b { color: color-mix(in srgb, var(--c) 45%, #fff); }
.sx-chev { font: 600 1.2rem/1 var(--mono); color: var(--muted); text-align: center; }
.sx-open { padding: 4px 18px 18px 86px; display: grid; gap: 10px; animation: sxOpen 0.4s ease both; }
.sx-open p { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 60ch; }
.sx-open .sx-key { font: 600 0.6rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
@keyframes sxOpen { from { opacity: 0; transform: translateY(-6px); } }
.sx-map { width: min(520px, 100%); height: auto; border: 1px solid var(--line-2); border-radius: 10px; background: radial-gradient(ellipse at 50% 50%, rgb(40 24 36 / 0.6), rgb(8 8 10 / 0.9)); }
.sx-map .sm-orbit { fill: none; stroke: rgb(255 255 255 / 0.07); stroke-dasharray: 2 5; }
.sx-map .sm-far { fill: none; stroke: rgb(255 255 255 / 0.06); stroke-dasharray: 1 6; }
.sx-map .sm-far.look { stroke: color-mix(in srgb, #ff5fc8 60%, transparent); stroke-width: 6; filter: blur(5px); animation: smLook 3.4s ease-in-out infinite; }
.sx-map .sm-far.found { stroke: color-mix(in srgb, #ff5fc8 70%, #fff); stroke-width: 1.4; stroke-dasharray: none; }
.sx-map .sm-dot { fill: rgb(255 255 255 / 0.18); }
.sx-map .sm-r.look .sm-glow { fill: var(--c); opacity: 0.35; filter: blur(8px); animation: smLook 3.4s ease-in-out infinite; }
.sx-map .sm-r.look .sm-dot { fill: rgb(255 255 255 / 0.3); }
.sx-map .sm-r.found .sm-dot { fill: var(--c); filter: drop-shadow(0 0 5px var(--c)); }
.sx-map .sm-t { font: 600 8px var(--mono, monospace); letter-spacing: 0.08em; fill: color-mix(in srgb, var(--c) 50%, #fff); text-anchor: middle; }
@keyframes smLook { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.55; } }
@media (max-width: 700px) { .sx-row { grid-template-columns: 40px minmax(0, 1fr) 22px; } .sx-row .sx-m { grid-column: 2 / 3; } .sx-open { padding-left: 18px; } }
@media (prefers-reduced-motion: reduce) { .sx-map * { animation: none !important; } }
/* batch 19: the admin panel's show/hide buttons and its Secrets */
.cxa-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.cxa-tab { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--muted); font: 600 0.62rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.cxa-tab.on { border-color: color-mix(in srgb, var(--gold) 60%, var(--line-2)); color: var(--gold); background: rgb(240 194 122 / 0.08); }
.cxa-tab.all { border-style: dashed; }
.cxa-part[hidden] { display: none; }
.cxa-sec { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cxa-sec span { flex: 1 1 220px; color: var(--muted); font-size: 0.86rem; }

/* ---- batch 20 ---- */
/* 709: the Realm drawing on hover (and selected) more pronounced: slower and more deliberate, brighter and a little
   thicker, with a soft glow of the Realm's colour */
.rm-draw { transition: stroke-dashoffset 1.75s cubic-bezier(.55,0,.25,1), opacity 0.5s ease, stroke-width 0.6s ease; }
.realm:hover .rm-draw, .realm:focus-visible .rm-draw, .realm.sel .rm-draw, .centre-pin:hover .rm-draw, .centre-pin.on .rm-draw { opacity: 1; stroke-width: 1.25; filter: drop-shadow(0 0 2.5px var(--c)); }
.realm:hover .rm-drawg.strong .rm-draw, .realm.sel .rm-drawg.strong .rm-draw { stroke-width: 1.9; }
.lite .rm-draw { filter: none !important; }
/* 710: on the Realm select screen the drawing undraws backwards now and then and draws again (explore.js) */
.realm.sel .rm-drawg.undraw .rm-draw:not(.ch-p) { stroke-dashoffset: 1; opacity: 0.35; transition-duration: 1.5s, 1.2s, 0.6s; }
/* 706: the controls line never fades in while a record panel is open */
body.dossier-on .view.map .hint { opacity: 0 !important; transition-duration: 0.25s; }
/* 711: the Location icon no longer hops or pops (map and Chronicle); it keeps the slight lift and its point of light */
.book:hover .emb .ic-place, .book:focus-visible .emb .ic-place, .pin:hover .ic-place, .pin:focus-visible .ic-place, .pin.on .ic-place { animation: none; }
.pin.ipop:has(.ic-place) .ic { animation: none; }
/* 707: every notice for something found (a card collected, an uncharted Realm located, a Secret's part) is wider, so
   the turning ring beside its title sits well inside the frame */
.toast.stack:not(.earned) { min-width: 320px; padding-left: 60px; padding-right: 60px; box-sizing: border-box; }
.toast.stack .t-head.ringed .t-ring { right: calc(100% + 14px); }
@media (max-width: 760px) { .toast.stack:not(.earned) { min-width: min(320px, calc(100vw - 24px)); padding-left: 52px; padding-right: 52px; } }
/* 703: every card carousel fades out softly at its left and right ends; 704: the fraction of a pixel (record.js) */
.cards.carousel { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.cards.carousel > button { translate: calc(var(--fx, 0) * -1px) 0; will-change: translate; }
/* 724: the Chronicle's Codex Score box a little larger and lower, with the score out of the most there is */
.chron-hero .chron-stat { margin-top: 64px; min-width: 320px; padding: 20px 22px; gap: 10px; }
.chron-hero .chron-stat .cs-score { font-size: 2.3rem; }
.chron-stat .cs-score small { margin-left: 6px; font: 600 0.9rem/1 var(--display); color: var(--muted); text-shadow: none; letter-spacing: 0.02em; }
@media (max-width: 900px) { .chron-hero .chron-stat { margin-top: 18px; min-width: 0; } }
/* 723: the Secrets as tiles, and a Secret's own page with its map */
.tile.k-secret .mk svg.lic { --lc: color-mix(in srgb, var(--c) 55%, #fff); opacity: 0.55; }
.tile.k-secret.claimed .mk svg.lic { opacity: 1; filter: drop-shadow(0 0 8px var(--c)); }
.tile.sx-unknown { opacity: 0.5; border-style: dashed; cursor: default; }
.sx-page { margin-top: 22px; padding: 18px; border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line-2)); border-radius: 14px; background: linear-gradient(180deg, rgb(255 255 255 / 0.03), rgb(255 255 255 / 0.008)); }
.sx-page .sx-map { display: block; width: 100%; max-width: 760px; margin: 0 auto; }
/* 727: the walkthrough's diagrams (about.js) */
.wt-map .wm-t.c { transform: none; font-size: 11px; }
.wt-map .wm-t.dim { fill: var(--muted); }
.wt-map .wm-sel { fill: rgb(240 194 122 / 0.16); stroke: var(--gold); stroke-width: 1; }
.wt-map .wm-row { fill: rgb(255 255 255 / 0.07); animation: wmRow 2.4s ease-in-out var(--d, 0s) infinite; }
.wt-map .wm-spark { fill: #ffe2a8; animation: wmRow 2s ease-in-out var(--d, 0s) infinite; }
@keyframes wmRow { 50% { opacity: 0.45; } }
/* 729: the walkthrough's finishing fanfare */
.wt-fan { position: fixed; z-index: 95; width: 0; height: 0; pointer-events: none; }
.wt-fan .ring { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; border-radius: 50%; border: 2px solid rgb(255 226 168 / 0.95); box-shadow: 0 0 30px rgb(240 194 122 / 0.6), inset 0 0 20px rgb(240 194 122 / 0.3); animation: wtFanR 1.3s cubic-bezier(.2,.7,.3,1) forwards; }
.wt-fan .ring.r2 { animation-delay: 0.22s; border-width: 1px; }
.wt-fan .spark { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff6dd; box-shadow: 0 0 10px #ffd98a, 0 0 2px #fff; animation: spark var(--t) cubic-bezier(.1,.7,.3,1) forwards; }
@keyframes wtFanR { 0% { transform: scale(0.3); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.wt.wt-done { box-shadow: 0 0 0 1px var(--gold), 0 0 60px rgb(240 194 122 / 0.55); transition: box-shadow 0.4s ease; }
@media (prefers-reduced-motion: reduce) { .wt-fan { display: none; } }
/* 735: a Secret completed: the walkthrough's fanfare, larger, with a third ring */
.sx-fan .ring { border-color: rgb(255 200 240 / 0.9); box-shadow: 0 0 34px rgb(255 95 200 / 0.45), inset 0 0 22px rgb(240 194 122 / 0.3); }
.sx-fan .ring.r3 { animation-delay: 0.44s; border-color: rgb(255 226 168 / 0.9); }
/* 731: Rifts, small and faint until found; one end found: a stronger pulse and a faint line now and then; a pair:
   a line of light off the screen that flashes; then two faint marks */
.pin.rift:not(.open):not(.paired) { opacity: 0.55; }
.pin.rift:not(.open):not(.paired) .rf-halo { opacity: 0.3; }
@media (max-width: 760px) { .pin.rift:not(.open):not(.paired) { opacity: 0.42; scale: 0.8; } }
.pin.rift.open .rf-halo { opacity: 1; animation-duration: 2.4s; }
.pin.rift .rf-ray { stroke: color-mix(in srgb, var(--c) 70%, #fff); stroke-width: 1.2; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 3px var(--c)); animation: rfRay 8s ease-in-out var(--rd) infinite; pointer-events: none; }
@keyframes rfRay { 0%, 62%, 100% { opacity: 0; } 76% { opacity: 0.38; } }
.pin.rift .rf-bolt { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 5px var(--c)) drop-shadow(0 0 12px var(--c)); animation: rfBolt 2.4s cubic-bezier(.3,0,.2,1) forwards; pointer-events: none; }
@keyframes rfBolt { 0% { stroke-dashoffset: 100; opacity: 0.2; } 45% { stroke-dashoffset: 0; opacity: 0.9; } 55% { opacity: 1; stroke-width: 5; } 62% { opacity: 0.2; stroke-width: 2.4; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.pin.rift.paired { opacity: 0.38; cursor: default; }
.pin.rift.paired .rf-halo { animation: none; opacity: 0.35; }
.pin.rift.paired .rf-core { animation: none; fill: color-mix(in srgb, var(--c) 40%, #fff); opacity: 0.6; }
/* the next one of a Secret shown one at a time fades in (734) */
.fresh { animation: sxFresh 7s ease-in-out both; }
@keyframes sxFresh { from { opacity: 0; } to { opacity: 1; } }
/* 732: Fractures: a trace finished glows strongly for a few seconds; traced ones flare now and then (not all the
   time); all traced, every one flares together */
.fracture.done .fr-glow { animation: frOcc 16s ease-in-out var(--fo) infinite; }
.fracture.done .fr-lit { animation: frDone 1.8s ease-out forwards, frOccLit 16s ease-in-out var(--fo) infinite; }
@keyframes frOcc { 0%, 84%, 100% { stroke: rgb(190 200 255 / 0.16); stroke-width: 9; } 90% { stroke: rgb(210 220 255 / 0.55); stroke-width: 14; } }
@keyframes frOccLit { 0%, 84%, 100% { opacity: 0.55; } 90% { opacity: 1; } }
.fracture.just .fr-glow, .fracture.all .fr-glow { animation: frJust 4.2s ease-out forwards; }
.fracture.just .fr-lit, .fracture.all .fr-lit { opacity: 1; animation: frDone 1.8s ease-out forwards; }
@keyframes frJust { 0% { stroke: rgb(230 236 255 / 0.9); stroke-width: 22; } 35% { stroke: rgb(220 228 255 / 0.75); stroke-width: 16; } 100% { stroke: rgb(190 200 255 / 0.16); stroke-width: 9; } }
.ln-sparks .lsp { fill: #fff; filter: drop-shadow(0 0 4px var(--c)); transform-box: fill-box; transform-origin: center; animation: lspOut 1.4s cubic-bezier(.1,.7,.3,1) var(--dl) both; pointer-events: none; }
@keyframes lspOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.3); } }
/* 733: an Echo found stays as a faint, steady mark for everyone */
.pin.echo.found { opacity: 0.2; animation: none; cursor: default; pointer-events: auto; }
.pin.echo.found .ec-pulse { animation: none; opacity: 0; }
.pin.echo.found .echo-i { filter: blur(0.3px) drop-shadow(0 0 4px var(--c)); }
/* 738: the constellations a little easier to see; a drawn one stays, quieter */
.stars .cn-dot { opacity: 0.72; }
.stars .cn-glow { opacity: 0.2; }
.stars.kept { opacity: 0.6; }
.stars.kept .cn-star { cursor: default; }
.stars.just .cn-ln.on { animation: cnDone 1.2s ease-in-out 3; }
/* 737: Remnants: a quick fade when missed; caught: a flash and a glow, then a slow fade */
.afterimg.out { transition-duration: 0.45s; }
.afterimg.caught { pointer-events: none; animation: aiCaught 3.3s ease-out forwards; }
.afterimg.caught .ai-shape * { stroke: #fff; filter: drop-shadow(0 0 8px #cfd6ff) drop-shadow(0 0 18px #cfd6ff); }
@keyframes aiCaught { 0% { opacity: 1; } 8% { opacity: 1; filter: brightness(2.2); } 30% { opacity: 1; filter: brightness(1.4); } 100% { opacity: 0; filter: none; } }
/* 731: the notices' lines less cramped */
.toast.stack { gap: 8px; }
.toast .t-sub { line-height: 1.6; }

/* ---- batch 21 (items 720, 747, 750, 751, 753, 768, 794, 795, 798): the header MENU, the account button and its windows,
   the Sound slider, Report a bug ---- */
.about-b.menu-b { padding: 0 7px !important; }
.menu-b .ring-i { width: 24px; height: 24px; padding: 2px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.4; transition: transform 0.9s cubic-bezier(.2,.8,.2,1); }
.menu-b .ring-i .f { fill: var(--gold); stroke: none; }
.menu-b:hover .ring-i, .menu-b[aria-expanded="true"] .ring-i { transform: rotate(135deg); }
.mn { position: fixed; z-index: 95; width: 260px; padding: 8px; border: 1px solid rgb(240 194 122 / 0.32); border-radius: 14px; background: linear-gradient(160deg, rgb(20 20 26 / 0.97), rgb(9 9 12 / 0.97)); box-shadow: 0 24px 60px rgb(0 0 0 / 0.65); opacity: 0; transform: translateY(-6px); transition: opacity 0.22s ease, transform 0.3s cubic-bezier(.2,.8,.2,1); }
.mn.on { opacity: 1; transform: none; }
.mn-i { position: relative; display: grid; gap: 3px; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; font: inherit; }
.mn-i b { font: 600 0.66rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: #fff3da; }
.mn-i small { font-size: 0.74rem; color: var(--muted); }
.mn-i:hover, .mn-i:focus-visible { background: rgb(240 194 122 / 0.1); outline: none; }
.mn-i:hover b, .mn-i:focus-visible b { color: var(--gold); }
.mn-ext { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.8rem; }
.mn-rule { display: block; height: 1px; margin: 6px 10px; background: var(--line-2); }
.acct-b { flex: none; height: 38px; min-width: 38px; margin-left: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(10 10 13 / 0.8); color: var(--muted); font: 600 0.6rem/1 var(--mono); letter-spacing: 0.18em; cursor: pointer; transition: color 0.3s, border-color 0.3s, box-shadow 0.4s; }
.acct-b:hover, .acct-b:focus-visible { color: var(--gold); border-color: rgb(240 194 122 / 0.5); box-shadow: 0 0 16px rgb(240 194 122 / 0.2); outline: none; }
.acct-i { width: 14px; height: 14px; border-radius: 50%; border: 1.4px solid currentColor; position: relative; }
.acct-i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); }
.acct-b.in { padding: 0; width: 38px; border-color: rgb(240 194 122 / 0.45); }
.acct-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: rgb(240 194 122 / 0.15); color: var(--gold); font: 700 0.8rem/1 var(--display); }
@media (max-width: 900px) { .acct-b { order: 3; height: 34px; min-width: 34px; margin-left: 4px; padding: 0 9px; } .acct-b.in { width: 34px; } .acct-av { width: 26px; height: 26px; } .acct-t { display: none; } }
.ab-pop.acct .ab-in { width: min(540px, 100%); }
.ac-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.ac-head .ac-av { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgb(240 194 122 / 0.5); box-shadow: 0 0 22px rgb(240 194 122 / 0.25); object-fit: cover; flex: none; background: rgb(240 194 122 / 0.12); }
.ac-head h2 { margin: 0; }
.ac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.ac-st { padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(0 0 0 / 0.25); display: grid; gap: 5px; }
.ac-st small { font: 600 0.55rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.ac-st b { font-size: 0.92rem; color: #fff3da; font-weight: 600; }
@media (max-width: 480px) { .ac-grid { grid-template-columns: 1fr; } }
.ct-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; color: #d8d1c6; }
.ct-k { font: 600 0.62rem/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.ab-pop.controls .op-k { margin-top: 16px; }
/* the Sound slider */
.op-slide { display: grid; gap: 6px; width: 190px; }
.op-rng { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: transparent; cursor: pointer; --p: 50%; }
.op-rng::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold) var(--p), var(--line-2) var(--p)); }
.op-rng::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold) var(--p), var(--line-2) var(--p)); }
.op-rng::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff3da; border: 2px solid var(--gold); box-shadow: 0 0 10px rgb(240 194 122 / 0.5); }
.op-rng::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff3da; border: 2px solid var(--gold); }
.op-rng:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.op-rls { display: flex; justify-content: space-between; }
.op-rl { padding: 2px 0; border: 0; background: none; color: var(--muted); font: 600 0.55rem/1 var(--mono); letter-spacing: 0.16em; cursor: pointer; }
.op-rl.on { color: var(--gold); }
/* Report a bug */
.bg-det { margin: 4px 0 10px; font-size: 0.8rem; color: var(--muted); }
.bg-det summary { cursor: pointer; font: 600 0.58rem/1.6 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
.bg-det pre { margin: 8px 0 0; padding: 10px; max-height: 160px; overflow: auto; border: 1px solid var(--line-2); border-radius: 8px; background: rgb(0 0 0 / 0.35); white-space: pre-wrap; word-break: break-word; font: 400 0.7rem/1.5 var(--mono); }
/* after signing in: the welcome window and its soft fanfare (sparks drifting up the window and a slow glow, until closed) */
.ab-pop.welcome .ab-in { text-align: center; overflow: visible; animation: wlGlow 3.2s ease-in-out infinite; }
.ab-pop.welcome .btns { justify-content: center; }
.wl-av { display: block; width: 84px; height: 84px; margin: 4px auto 14px; border-radius: 50%; border: 1px solid rgb(240 194 122 / 0.6); box-shadow: 0 0 0 6px rgb(240 194 122 / 0.08), 0 0 36px rgb(240 194 122 / 0.35); object-fit: cover; background: rgb(240 194 122 / 0.12); }
.wl-fx { position: absolute; inset: -24px; pointer-events: none; overflow: hidden; border-radius: 30px; }
.wl-fx i { position: absolute; left: var(--x); bottom: -6px; width: 3px; height: 3px; border-radius: 50%; background: #ffe2a8; box-shadow: 0 0 8px #f0c27a; opacity: 0; animation: wlRise var(--t) ease-in var(--d) infinite; }
@keyframes wlRise { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-420px); } }
@keyframes wlGlow { 0%, 100% { box-shadow: 0 40px 90px rgb(0 0 0 / 0.7), 0 0 0 rgb(240 194 122 / 0); } 50% { box-shadow: 0 40px 90px rgb(0 0 0 / 0.7), 0 0 44px rgb(240 194 122 / 0.28); } }
@media (prefers-reduced-motion: reduce) { .wl-fx { display: none; } .ab-pop.welcome .ab-in { animation: none; } }

/* batch 21 (items 702, 748, option A): the card is the button for its large view; the finish switch under its name;
   COLLECT; the card page link below with more room */
.card-rec .cr-art[role="button"] { cursor: zoom-in; }
.card-rec.uncol .cr-art[role="button"] { cursor: not-allowed; }
.card-rec .cr-art:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.card-rec .cr-fin { display: flex; justify-content: center; gap: 0; margin: 16px auto 0; width: max-content; }
.card-rec .cr-fin.locked { opacity: 0.45; filter: saturate(0.3); }
.card-rec .cr-fin .fin-b.locked { cursor: not-allowed; }
.card-rec .cr-page { display: block; width: max-content; margin: 30px auto 4px; padding: 6px 4px; color: var(--muted); font: 600 0.62rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.card-rec .cr-page:hover, .card-rec .cr-page:focus-visible { color: var(--gold); border-color: rgb(240 194 122 / 0.5); outline: none; }
.card-rec .cr-page.in { animation: crPageIn 0.8s ease both; }
@keyframes crPageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* the holofoil finish on the record's flat card: a soft rainbow sheen moving over it; choosing a finish flashes it */
.card-rec .cr-art.holo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: color-dodge; opacity: 0.5; background: linear-gradient(115deg, transparent 20%, rgb(255 120 200 / 0.5) 35%, rgb(120 220 255 / 0.5) 50%, rgb(255 240 140 / 0.5) 65%, transparent 80%); background-size: 250% 250%; animation: crHolo 6s ease-in-out infinite alternate; }
@keyframes crHolo { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
/* batch 23 (item 876): its own name (it had the same name as the collect bloom's flash, crFlash, and replaced it: the
   bloom's white-gold glow then stayed on the card instead of flashing and fading) */
.card-rec .cr-art.flash { animation: crFinFlash 0.6s ease; }
@keyframes crFinFlash { 40% { filter: brightness(1.35); } }
@media (prefers-reduced-motion: reduce) { .card-rec .cr-art.holo::after { animation: none; } }
/* batch 21 (item 767): card numbers in the body font with even figures, larger (the mono face was hard to read) */
.card-rec .cr-no b, .pop .dets dd, .cr-num, .ch-card-no { font-family: var(--body) !important; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0.06em !important; font-size: 0.86rem !important; }
/* batch 21 (item 771): every Chronicle page fades out under the header as it scrolls, so nothing runs under the way back
   (a soft overlay that sticks at the top of the page, under the sticky back button; not a mask, batch 14) */
.view.chron > .chron-in::before { content: ""; position: sticky; top: -18px; z-index: 5; display: block; height: 76px; margin: -18px 0 -58px; pointer-events: none; background: linear-gradient(180deg, rgb(5 5 6 / 0.96) 0, rgb(5 5 6 / 0.96) 18px, rgb(5 5 6 / 0) 100%); }
/* ---------------- batch 21 part 2 ---------------- */
/* item 783: every crack traced throws rays of light from its length, one way for each crack */
.fracture .fr-rays line { stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; filter: drop-shadow(0 0 4px #bcd0ff) drop-shadow(0 0 10px #9fb4ff); animation: frRay 3.8s cubic-bezier(.2,.7,.2,1) var(--dl) forwards; pointer-events: none; }
@keyframes frRay { 0% { stroke-dashoffset: 100; opacity: 0; } 15% { opacity: 1; } 45% { stroke-dashoffset: 0; opacity: 0.95; } 100% { stroke-dashoffset: 0; opacity: 0; } }
/* item 779: a Remnant seen 3 s fades out over 1 s; one caught pours its light into the Nexus */
.afterimg.out { animation: aiOut 1s ease forwards !important; transition: none; }
@keyframes aiOut { from { opacity: 1; } to { opacity: 0; } }
.ai-flow circle { fill: #e4eaff; filter: drop-shadow(0 0 4px #cfd6ff) drop-shadow(0 0 10px #9fb4ff); opacity: 0; animation: aiFlow 1.2s cubic-bezier(.5,0,.8,.4) var(--dl) forwards; pointer-events: none; }
@keyframes aiFlow { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 85% { opacity: 0.9; } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.4); } }
/* item 781: a Secret's hint (or closing line) just under its map */
.sx-page .sx-hint { margin: 10px auto 4px; max-width: 46ch; text-align: center; color: var(--dim, #b9b4a8); font-size: 0.98rem; line-height: 1.5; }
.sx-page .sx-key { text-align: center; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
/* item 784: each Secret's own fanfare (its colour from --fc; the sparks' shape by Secret) */
.sx-fan[style*="--fc"] .ring, .sx-fan[style*="--fc"] .ring.r3 { border-color: color-mix(in srgb, var(--fc) 85%, #fff); box-shadow: 0 0 34px color-mix(in srgb, var(--fc) 55%, transparent), inset 0 0 22px color-mix(in srgb, var(--fc) 30%, transparent); }
.sx-fan[style*="--fc"] .spark { background: color-mix(in srgb, var(--sc, var(--fc)) 40%, #fff); box-shadow: 0 0 10px var(--sc, var(--fc)), 0 0 2px #fff; }
.sx-fan.sx-fracture .spark { width: 2px; height: 22px; left: -1px; top: -11px; border-radius: 1px; rotate: var(--ang); }
.sx-fan.sx-rifts .ring { border-radius: 50% / 50%; width: 120px; left: -60px; }
.sx-fan.sx-rifts .spark { width: 4px; height: 12px; left: -2px; top: -6px; }
.sx-fan.sx-stars .spark { width: 10px; height: 10px; left: -5px; top: -5px; border-radius: 0; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.sx-fan.sx-signals .ring { border-style: dashed; }
.sx-fan.sx-signals .ring.r2, .sx-fan.sx-signals .ring.r3 { animation-duration: 1.8s; }
.sx-fan.sx-after .spark { animation-direction: reverse; opacity: 0.8; }
.sx-fan.sx-echoes .spark { border-radius: 50% 50% 50% 0; }
/* items 772 to 777: the Realm drawings 50% slower; drawings in steps (each waits its turn, and undraws in reverse) */
.rm-draw { transition: stroke-dashoffset 2.6s cubic-bezier(.55,0,.25,1), opacity 0.5s ease, stroke-width 0.6s ease; }
.rm-draw.stp { transition-delay: 0s; }
.realm:hover .rm-draw.stp, .realm:focus-visible .rm-draw.stp, .realm.sel .rm-draw.stp, .centre-pin:hover .rm-draw.stp, .centre-pin.on .rm-draw.stp { transition-delay: var(--sd), 0s, 0s; }
.realm.sel .rm-drawg.undraw .rm-draw:not(.ch-p) { stroke-dashoffset: 1; opacity: 0.35; transition-duration: 2.2s, 1.6s, 0.6s; transition-delay: 0s; }
.realm.sel .rm-drawg.undraw .rm-draw.stp { transition-delay: var(--sdr), var(--sdr), 0s; }
/* item 761: the title's light sweep starts off the left edge (part of it showed as the Omnium loaded); item 759: the
   sharp copy that carries the sweep is drawn only while a sweep plays (one huge layer less to keep while zooming out,
   the likely cause of the blinking) */
.omni-tglow svg.ot-sweep { visibility: hidden; }
.omni-tglow.swp svg.ot-sweep { visibility: visible; }
/* item 762: the large title dimmer */
.omni-title { fill: rgb(255 214 170 / 0.05); }
.omni-title:not(.depth):not(.glow) { stroke: rgb(255 232 200 / 0.06); }
.omni-title.glow { fill: rgb(255 196 130 / 0.32); }
/* item 749: the light passing over the icons (explore.js): each brightens and swells, and a thin ring opens from it */
.iswp > :not(.isw-ring):not(.hit):not(.isw-glow) { animation: iswLift 0.8s ease-in-out var(--swd) both; transform-box: fill-box; transform-origin: center; }
@keyframes iswLift { 50% { filter: brightness(1.7) drop-shadow(0 0 6px #fff3d8); } }
.isw-ring { fill: none; stroke: rgb(255 240 210 / 0.85); stroke-width: 1.3; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: iswRing 1.2s ease-out var(--dl) both; }
@keyframes iswRing { 0% { opacity: 0.85; transform: scale(0.7); } 100% { opacity: 0; transform: scale(2); } }
/* item 792: Anchors (the map's edges glow warmer as the pointer nears one) and the Dead Star (seen only fully zoomed in) */
.anchor-warm { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 2; transition: opacity 0.35s ease; box-shadow: inset 0 0 160px 30px color-mix(in srgb, var(--c) 45%, transparent), inset 0 0 40px 6px color-mix(in srgb, var(--c) 30%, transparent); }
.pin.anchor { opacity: 0; pointer-events: none; transition: opacity 1.2s ease; }
.pin.anchor.shown { opacity: 1; pointer-events: all; cursor: pointer; }
.pin.anchor .an-ring { fill: none; stroke: color-mix(in srgb, var(--c) 70%, #fff); stroke-width: 1.3; filter: drop-shadow(0 0 5px var(--c)); transform-box: fill-box; transform-origin: center; animation: anPulse 2.6s ease-in-out infinite; }
.pin.anchor .an-ring.r2 { animation-delay: -1.3s; stroke-width: 1; }
.pin.anchor .an-core { fill: color-mix(in srgb, var(--c) 50%, #fff); filter: drop-shadow(0 0 6px var(--c)); }
.pin.anchor.found { opacity: 0.45; pointer-events: none; }
.pin.anchor.found .an-ring { animation: none; }
@keyframes anPulse { 50% { transform: scale(1.25); opacity: 0.5; } }
.pin.deadstar { opacity: 0; pointer-events: none; transition: opacity 2.4s ease; }
.pin.deadstar.near { opacity: 0.7; pointer-events: all; cursor: pointer; }
.pin.deadstar .ds-dot { fill: #8a8fa8; }
.pin.deadstar .ds-ring { fill: none; stroke: #7d8298; stroke-width: 1; stroke-dasharray: 6 5; opacity: 0.6; }
.pin.deadstar .ds-wave { fill: none; stroke: #a7acc4; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: dsWave 4s ease-out forwards; pointer-events: none; }
@keyframes dsWave { from { transform: scale(1); opacity: 0.8; } to { transform: scale(6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin.anchor .an-ring, .pin.deadstar .ds-wave { animation: none; } }
/* items 790, 791: Attunement on an earned Sigil's emblem: six facets, in three steps (notes, colours, symbols) */
.emblem .sg-facets { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; overflow: visible; cursor: default; pointer-events: none; }
.emblem .sg-facets.stir, .emblem .sg-facets.play { pointer-events: all; cursor: pointer; }
.sg-facets .fc polygon { fill: transparent; stroke: transparent; stroke-width: 0.6; transition: fill 0.25s ease, stroke 0.25s ease; }
.sg-facets.stir .fc polygon { animation: fcStir 1.8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.1s); }
.sg-facets .fc:nth-child(2) polygon { animation-delay: 0.15s; } .sg-facets .fc:nth-child(3) polygon { animation-delay: 0.3s; } .sg-facets .fc:nth-child(4) polygon { animation-delay: 0.45s; } .sg-facets .fc:nth-child(5) polygon { animation-delay: 0.6s; } .sg-facets .fc:nth-child(6) polygon { animation-delay: 0.75s; }
@keyframes fcStir { 50% { fill: rgb(255 255 255 / 0.1); stroke: rgb(255 255 255 / 0.35); } }
.sg-facets.play .fc polygon { stroke: rgb(255 255 255 / 0.16); }
.sg-facets.play .fc:hover polygon { fill: rgb(255 255 255 / 0.06); }
.sg-facets .fc.lit polygon { fill: rgb(255 255 255 / 0.42); stroke: #fff; }
.sg-facets .fc.col polygon { fill: color-mix(in srgb, var(--fc) 60%, transparent); stroke: var(--fc); }
.sg-facets .fc-sym { fill: none; stroke: rgb(255 255 255 / 0.75); stroke-width: 0.9; opacity: 0; transition: opacity 0.4s ease; }
.sg-facets.syms .fc-sym { opacity: 1; }
.sg-facets .fc-mid { fill: none; stroke: #fff; stroke-width: 0.8; opacity: 0; filter: drop-shadow(0 0 2px #fff); }
.sg-facets .fc-mid.on { animation: fcMid 0.6s ease-out both; }
@keyframes fcMid { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.sg-facets.fail .fc polygon { fill: rgb(255 80 80 / 0.25); }
.sg-facets.won .fc polygon { fill: rgb(255 255 255 / 0.5); stroke: #fff; transition-duration: 0.8s; }
/* ---------------- batch 22 ---------------- */
/* items 817, 818, 823 to 825: the header. The account button sits beside LEAVE (in the left group), only as wide as its
   word and icon (the Character icon); a clearer highlight on hover; a little space above the header's buttons; MENU shows
   its word wherever there is room and folds to its icon only when narrow */
.top { padding-top: 6px; }
.acct-b { margin-left: 0; padding: 0 11px 0 9px; gap: 6px; }
svg.acct-i { width: 17px; height: 17px; border: 0; border-radius: 0; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; overflow: visible; }
svg.acct-i::after { content: none; }
.acct-b:hover, .acct-b:focus-visible { background: rgb(240 194 122 / 0.1); color: var(--gold); border-color: rgb(240 194 122 / 0.7); box-shadow: 0 0 18px rgb(240 194 122 / 0.3); }
.acct-b.in:hover .acct-av, .acct-b.in:focus-visible .acct-av { filter: brightness(1.18); box-shadow: 0 0 0 2px rgb(240 194 122 / 0.6); }
@media (min-width: 1180px) and (hover: hover) {
  .about-b.menu-b { padding: 0 14px 0 7px !important; }
  .about-b.menu-b > span { max-width: 140px; opacity: 1; transform: none; margin-left: 8px; }
}
@media (max-width: 900px) { .acct-b { order: 1; margin-left: 0; padding: 0 8px; } .acct-b.in { padding: 0; } }
/* items 831, 832: on a phone the Sigils box stands before the search (search at the far right), and the equipped Sigil
   sits inside the Sigils box, before its count (it was placed to the right of the box, past the screen's edge) */
@media (max-width: 900px) {
  .centre { display: contents; }
  .modes { order: 2; flex: 1 1 auto; }
  .rec-btn { order: 3; }
  .findw { order: 4; }
  .rec-btn .rec-sig:not([hidden]) { position: static; transform: none; order: -1; height: 26px; padding: 0; margin: 0 2px 0 -2px; border: 0; background: none; box-shadow: none; gap: 0; }
  .rec-btn .rec-sig .rs-n { display: none; }
  .rec-btn .rec-sig .emblem { width: 24px; height: 24px; }
}
/* item 802 (phone mode): with Light graphics no frosted glass anywhere (the heaviest work a phone's graphics chip
   does, redone as the map moves under it); the panels keep their own dark backgrounds */
body.lite *, body.lite *::before, body.lite *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
/* item 815: the Lexicon's icons on the maps move as its book does in the Chronicle (float, the square turning, the dot
   pulsing), on hover, on click and while selected; the Omnium's Lexicon mark too */
.ic-mech > *, .ic-mech { transform-box: fill-box; transform-origin: center; }
:is(.pin, .realm):is(:hover, :focus-visible, .on, .sel, .ipop) .ic-mech { animation: bkFloat 2.8s ease-in-out infinite; }
:is(.pin, .realm):is(:hover, :focus-visible, .on, .sel, .ipop) .ic-mech > rect { animation: spin 7s linear infinite; }
:is(.pin, .realm):is(:hover, :focus-visible, .on, .sel, .ipop) .ic-mech > circle.dot { animation: bkDot 1.6s ease-in-out infinite; }
:is(.pin, .realm):is(:hover, :focus-visible, .on, .sel) .ic-mech > path.thin { animation: spin 11s linear infinite reverse; }
@media (prefers-reduced-motion: reduce) { .ic-mech, .ic-mech > * { animation: none !important; } }
/* item 829: on a phone, a card's record reads: the card, its details, the finish switch, COLLECT, then the card page link */
@media (max-width: 900px) {
  .card-rec.cr-a > .eyebrow { order: 0 !important; }
  .card-rec.cr-a > .cr-stage { order: 1 !important; }
  .card-rec.cr-a > .cr-t { order: 2 !important; }
  .card-rec.cr-a > .cr-fin { order: 3 !important; margin-top: 14px; }
  .card-rec.cr-a > .cr-btns { order: 4 !important; }
  .card-rec.cr-a > .cr-page { order: 5 !important; margin-top: 22px; }
}
/* item 840: choosing a card's finish runs a brief light sweep across it */
.card-rec .cr-art.sweep .cr-glint { animation: crGlint 0.9s ease-in-out 1 forwards !important; }
/* item 839: a card's Chronicle page starts closer to the top (no picture above it) */
.view.chron .card-rec.cr-a { padding-top: 0; margin-top: 0; }
.view.chron .card-rec.cr-a .cr-stage { margin-top: 0; }
/* batch 23 (item 849): the About window's small terms and privacy links */
.ab-legal { margin: 14px 0 0; text-align: center; font-size: 0.72rem; color: var(--muted); }
.ab-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.ab-legal a:hover, .ab-legal a:focus-visible { color: var(--ink); }
/* batch 23 (item 852): the admin popup's accounts table */
.cxa-tbl { max-height: 320px; overflow: auto; border: 1px solid var(--line, rgba(255,255,255,.12)); border-radius: 8px; }
.cxa-tbl table { width: 100%; border-collapse: collapse; font-size: 0.72rem; }
.cxa-tbl th, .cxa-tbl td { padding: 5px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.06); }
.cxa-tbl th { position: sticky; top: 0; background: #14111c; font: 600 0.6rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
/* batch 23 (item 854): the Codex Score box lower, with less empty space under it */
.chron-hero { margin-bottom: 10px; }
.chron-hero .chron-stat { margin-bottom: -8px; }
@media (min-width: 901px) { .chron-hero .chron-stat { margin-top: 84px; } }
/* batch 23 (item 861): the Attunement facets lay over the whole emblem (".emblem.big svg" had made them a 100 px box in
   the emblem's grid, beside the Sigil's mark) */
.emblem svg.sg-facets { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
/* batch 23 (item 875): a discovered Rift (one end found, or both) at full brightness with a subtle glow breathing round it */
.pin.rift.open, .pin.rift.paired { opacity: 1; }
.pin.rift.paired .rf-halo { opacity: 0.75; animation: rfGlow 5s ease-in-out var(--rd) infinite; }
.pin.rift.paired .rf-core { fill: color-mix(in srgb, var(--c) 30%, #fff); opacity: 1; }
.pin.rift.open .rf-rim, .pin.rift.paired .rf-rim { filter: drop-shadow(0 0 6px var(--c)) drop-shadow(0 0 12px color-mix(in srgb, var(--c) 60%, transparent)); }
@keyframes rfGlow { 50% { opacity: 1; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .pin.rift.paired .rf-halo { animation: none; } }
/* batch 23 (item 873): the icon light. The ring showed round every icon while it waited for its turn (its animation
   held its first frame through the delay); now it shows only when it opens, fainter and smaller. Each icon's own glow is
   a little stronger. */
.isw-ring { stroke: rgb(255 240 210 / 0.45); stroke-width: 1; animation: iswRing 1.2s ease-out var(--dl) forwards; }
@keyframes iswRing { 0% { opacity: 0.55; transform: scale(0.85); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes iswLift { 50% { filter: brightness(2) drop-shadow(0 0 9px #fff3d8) drop-shadow(0 0 3px #fff); } }
/* batch 23 (item 872): Ythram's and Jendarri's drawings 25% faster (2.6 s to 1.95 s) */
.rm-drawg.fast .rm-draw { transition-duration: 1.95s, 0.5s, 0.6s; }
.realm.sel .rm-drawg.fast.undraw .rm-draw:not(.ch-p) { transition-duration: 1.65s, 1.2s, 0.6s; }
/* batch 23 (items 862, 863): the Sigils' games (games.js): a window of their own */
.gm-pop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgb(3 3 6 / 0.72); opacity: 0; transition: opacity 0.35s ease; }
.gm-pop.on { opacity: 1; }
.gm-in { position: relative; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 26px 26px 22px; border: 1px solid color-mix(in srgb, var(--c, #f0c27a) 40%, var(--line-2)); border-radius: 16px; background: linear-gradient(170deg, rgb(20 18 28 / 0.97), rgb(8 8 12 / 0.98)); box-shadow: 0 30px 80px rgb(0 0 0 / 0.6), 0 0 40px color-mix(in srgb, var(--c, #f0c27a) 14%, transparent); transform: translateY(10px) scale(0.98); transition: transform 0.4s cubic-bezier(.2,.8,.2,1); text-align: center; }
.gm-pop.on .gm-in { transform: none; }
.gm-in h2 { margin: 2px 0 6px; }
.gm-in .x { position: absolute; right: 12px; top: 10px; }
.gm-lead { margin: 0 auto 12px; max-width: 46ch; color: var(--muted); font-size: 0.86rem; }
.gm-msg { min-height: 1.4em; margin: 12px 0 0; font: 600 0.66rem/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.gm-dots { display: flex; justify-content: center; gap: 8px; margin: 4px 0 10px; }
.gm-dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.3); transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s; }
.gm-dots i.now { border-color: var(--c, #f0c27a); box-shadow: 0 0 8px var(--c, #f0c27a); }
.gm-dots i.won { background: var(--c, #f0c27a); border-color: var(--c, #f0c27a); box-shadow: 0 0 10px var(--c, #f0c27a); }
.gm-dots.slips i { background: #e8e2ff; border-color: #e8e2ff; }
.gm-dots.slips i.lost { background: transparent; border-color: rgb(255 90 90 / 0.6); box-shadow: 0 0 8px rgb(255 90 90 / 0.5); }
.gm-pop.won .gm-in { box-shadow: 0 30px 80px rgb(0 0 0 / 0.6), 0 0 70px color-mix(in srgb, var(--c, #f0c27a) 45%, transparent); }
/* Waypoints */
.pf-board { position: relative; height: 270px; margin: 0 auto; border-radius: 12px; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--c) 8%, transparent), transparent 70%); }
.pf-m { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; padding: 0; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 50%; background: rgb(12 12 18 / 0.9); color: rgb(255 255 255 / 0.55); cursor: default; opacity: 0; transform: scale(0.6);
  transition-property: left, top, opacity, transform, border-color, color; transition-timing-function: cubic-bezier(.45,0,.2,1); }
.pf-m.in { opacity: 1; transform: none; transition-duration: 0.5s; }
.pf-m:not(:disabled) { cursor: pointer; }
.pf-m:not(:disabled):hover { border-color: var(--c); color: #fff; }
.pf-m svg { position: relative; width: 26px; height: 26px; fill: currentColor; }
.pf-m.mv { z-index: 2; transform: scale(1.08); }
.pf-m .pf-glow { position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 85%, #fff) 0, color-mix(in srgb, var(--c) 45%, transparent) 35%, transparent 70%); opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.pf-m.lit .pf-glow { opacity: 1; }
.pf-m.lit { color: #fff; border-color: var(--c); }
.pf-m.ok { box-shadow: 0 0 24px var(--c); }
.pf-m.bad { border-color: rgb(255 90 90 / 0.8); color: #ffb3b3; }
.pf-m.show .pf-glow { opacity: 0.7; }
.pin.pathf .pf-halo { fill: color-mix(in srgb, var(--c) 22%, transparent); filter: blur(5px); opacity: 0.45; transform-box: fill-box; transform-origin: center; animation: pfBreath 5s ease-in-out infinite; }
.pin.pathf .pf-i { fill: color-mix(in srgb, var(--c) 45%, #fff); opacity: 0.32; transition: opacity 0.3s ease; }
.pin.pathf:hover .pf-i, .pin.pathf:focus-visible .pf-i { opacity: 0.85; }
.pin.pathf.gone { opacity: 0; transition: opacity 1.2s ease; }
@keyframes pfBreath { 50% { opacity: 0.8; transform: scale(1.2); } }
/* Memory of the Books */
.mm-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 520px; margin: 0 auto; perspective: 900px; }
@media (max-width: 560px) { .mm-grid { grid-template-columns: repeat(4, 1fr); } }
.mm-c { position: relative; aspect-ratio: 3 / 4; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform 0.55s cubic-bezier(.3,.7,.2,1); opacity: 0; transform: translateY(12px) rotateY(0deg); }
.mm-grid.dealt .mm-c { opacity: 1; transform: none; transition: transform 0.55s cubic-bezier(.3,.7,.2,1), opacity 0.45s ease; transition-delay: var(--d), var(--d); }
.mm-grid.dealt .mm-c.up, .mm-grid.dealt .mm-c.done { transform: rotateY(180deg); transition-delay: 0s; }
.mm-grid.reset .mm-c { opacity: 0; transform: translateY(-10px) rotateY(0deg) scale(0.9); transition: transform 0.5s ease, opacity 0.5s ease; transition-delay: var(--d); }
.mm-back, .mm-face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 7px; backface-visibility: hidden; }
.mm-back { border: 1px solid color-mix(in srgb, #b86cff 45%, transparent); background: linear-gradient(160deg, #2a1d3a, #120d1c); box-shadow: inset 0 0 0 3px rgb(0 0 0 / 0.35); }
.mm-back i { width: 34%; aspect-ratio: 1; border: 1px solid rgb(216 180 255 / 0.4); transform: rotate(45deg); }
.mm-c:hover .mm-back { border-color: #d8b4ff; box-shadow: inset 0 0 0 3px rgb(0 0 0 / 0.35), 0 0 12px rgb(184 108 255 / 0.4); }
.mm-face { transform: rotateY(180deg); border: 1px solid rgb(255 255 255 / 0.25); background: linear-gradient(160deg, #1d1a26, #0d0c12); color: #efe6ff; }
.mm-face svg { width: 46%; height: 46%; fill: currentColor; }
.mm-c.done .mm-face { border-color: #d8b4ff; color: #fff; box-shadow: 0 0 14px rgb(184 108 255 / 0.55); animation: mmDone 0.7s ease; }
.mm-c.miss .mm-face { border-color: rgb(255 90 90 / 0.7); }
@keyframes mmDone { 40% { filter: brightness(1.8); } }
.mm-shelf { display: flex; align-items: center; gap: 16px; width: 100%; margin: 0 0 18px; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--c) 7%, rgb(10 10 13 / 0.6)); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.mm-shelf:hover { border-color: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 30%, transparent); }
.mm-shelf .t { display: grid; gap: 3px; } .mm-shelf small { color: var(--muted); }
.mm-books { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.mm-books i { width: 7px; height: calc(20px + (var(--i) * 3px) % 14px); border-radius: 2px; background: var(--c); opacity: 0.6; animation: mmStir 3.2s ease-in-out calc(var(--i) * 0.22s) infinite; transform-origin: bottom; }
@keyframes mmStir { 50% { transform: rotate(-6deg) translateY(-2px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mm-c { transition-duration: 0.01s !important; } .mm-books i, .pin.pathf .pf-halo { animation: none; } }
/* batch 23 (user, 2026-11-14): the Music slider's four stops need a little more room */
.op-slide.op-slide4 { width: 230px; }

/* ---------------- batch 24 ---------------- */
/* item 920: About: a larger wordmark, more room above the buttons and above the terms and privacy links */
.ab-logo { width: min(340px, 82%); }
.ab-btns { margin-top: 26px !important; }
.ab-btns .grow { flex: 1; }
.ab-legal { margin-top: 26px; }
/* item 922: Social: each link with its icon, no subtitle */
.so-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px; margin-top: 10px; }
.so-i { display: flex; align-items: center; gap: 12px; padding: 8px 32px 8px 10px; }
.so-i .so-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; }
.so-i b { font-size: 0.7rem; }
/* item 894: the Anchor's edge glow on a layer of its own, so its fading never repaints the map under it */
.anchor-warm { will-change: opacity; contain: strict; transition-duration: 0.25s; }
/* item 895: the title's glow kept on one layer of its own (it was redrawn as the zoom reached its limit, and flickered) */
.omni-tglow { will-change: transform, opacity; backface-visibility: hidden; }
/* batch 42 (1494): the quest box's text and step icons flickered while the Omnium moved in 3D. THE OMNIUM's face and its
   four depth copies are each a large layer of their own, moved on every frame of a tilt; where they pass under the quest
   box, the browser kept switching the box between being drawn into the page and onto a layer of its own, and each switch
   redrew its text and icons (a flicker). The box is now always a layer of its own, so its text is drawn once and stays. */
.qb { will-change: transform, opacity; backface-visibility: hidden; isolation: isolate; }
/* item 896: THE OMNIUM less gold (closer to a pale stone colour) and its glow's brightest point lower (0.75 to 0.45) */
.omni-title { fill: rgb(228 220 208 / 0.045); }
.omni-title:not(.depth):not(.glow) { stroke: rgb(236 230 220 / 0.05); }
.omni-title.glow { fill: rgb(232 214 190 / 0.22); }
.lite .omni-title.glow { fill: rgb(232 214 190 / 0.06); }
@keyframes omniGlow { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.45; } }
/* items 893, 897: the light over the icons: softer shine on each icon, and a faint band of light crossing the map with it */
@keyframes iswLift { 50% { filter: brightness(1.35) drop-shadow(0 0 5px rgb(255 243 216 / 0.7)); } }
.isw-ring { stroke: rgb(255 240 210 / 0.32); }
.isw-band { position: absolute; top: 0; bottom: 0; left: 0; width: 22vw; pointer-events: none; z-index: 3; mix-blend-mode: screen;
  background: linear-gradient(90deg, transparent, rgb(255 236 205 / 0.045) 40%, rgb(255 244 222 / 0.07) 50%, rgb(255 236 205 / 0.045) 60%, transparent);
  transform: translateX(-22vw); animation: iswBand var(--sd) linear forwards; }
@keyframes iswBand { 0% { opacity: 0; transform: translateX(-11vw); } 8% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; transform: translateX(89vw); } }
/* item 902: a card's record on a phone starts higher and its card is a little smaller, so COLLECT shows without scrolling */
@media (max-width: 640px) {
  .dossier .card-rec.cr-a { padding-top: 8px; }
  .card-rec.cr-a .cr-stage { width: min(50%, 210px); margin: 4px auto 10px; }
  .card-rec.cr-a .cr-t { margin-top: 2px; }
  .card-rec.cr-a .cr-fin { margin-top: 8px; }
}
/* item 907: the Fractures' godrays: soft beams that open from the crack, sway a little as they drift, and fade */
.fracture .fr-god polygon { opacity: 0; filter: blur(5px); mix-blend-mode: screen; transform-box: fill-box; transform-origin: 0% 50%; pointer-events: none; animation: frGod 3.2s ease-out var(--dl) forwards; }
@keyframes frGod { 0% { opacity: 0; transform: rotate(0deg) scaleX(0.4); } 25% { opacity: 0.55; } 100% { opacity: 0; transform: rotate(var(--sw)) scaleX(1.15) translateX(4%); } }
.lite .fracture .fr-god polygon { filter: none; mix-blend-mode: normal; }
/* item 904: Attunement's second step: the facets turn with the emblem before the answer */
.emblem .sg-facets { transform: rotate(var(--rot, 0deg)); transform-origin: 50% 50%; transition: transform 1.3s cubic-bezier(.5,0,.2,1); }
/* the games' icons are the maps' own (mapkit icon), drawn with their own strokes and fills */
.gm-ic { overflow: visible; fill: none !important; }
/* item 909: Waypoints on the map: a faint field round the mark, no window and no words */
.pf-field { position: fixed; z-index: 60; border-radius: 50%; pointer-events: auto; opacity: 0; transform: scale(0.94); transition: opacity 0.45s ease, transform 0.5s cubic-bezier(.2,.8,.2,1);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 10%, rgb(6 6 10 / 0.55)), rgb(6 6 10 / 0.3) 70%, transparent); touch-action: none; }
.pf-field.on { opacity: 1; transform: none; }
.pf-field .pf-m { width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0; transform: scale(0.6); transition-property: left, top, transform, opacity, border-color, box-shadow; transition-timing-function: cubic-bezier(.45,0,.25,1); }
.pf-field .pf-m.in { opacity: 1; transform: none; }
.pf-field .pf-m svg { width: 30px; height: 30px; }
.pf-field.won .pf-m { box-shadow: 0 0 20px var(--c); }
.pf-pips { position: absolute; left: 0; right: 0; bottom: 4px; margin: 0; }
/* item 911: Memories of the Future: an ethereal button below the Secrets, the tiles laid out where it stood */
.mm-host { display: grid; justify-items: center; gap: 12px; margin: 46px auto 30px; padding: 0 0 10px; transition: opacity 0.8s ease, transform 0.8s ease; }
.mm-host.gone { opacity: 0; transform: translateY(-8px); }
.mm-glow { position: relative; padding: 16px 34px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--c) 6%, rgb(10 8 14 / 0.6)); color: color-mix(in srgb, var(--c) 35%, #fff);
  font: 600 0.68rem/1 var(--mono); letter-spacing: 0.26em; text-transform: uppercase; cursor: pointer; animation: mmBreath 4.6s ease-in-out infinite; }
.mm-glow .mm-aura { position: absolute; inset: -14px -22px; border-radius: 999px; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent), transparent); filter: blur(8px); opacity: 0.6; pointer-events: none; animation: mmAura 4.6s ease-in-out infinite; }
.mm-glow .mm-t { position: relative; }
.mm-glow:hover, .mm-glow:focus-visible { border-color: var(--c); color: #fff; outline: none; }
@keyframes mmBreath { 50% { box-shadow: 0 0 26px color-mix(in srgb, var(--c) 40%, transparent); } }
@keyframes mmAura { 50% { opacity: 1; transform: scale(1.06); } }
.mm-host.playing { width: 100%; }
.mm-host .mm-face .gm-ic { width: 62%; height: 62%; }
.mm-host .mm-c.done .mm-face .gm-ic { filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 12px var(--c)); }
.mm-host.won .mm-c .mm-face { box-shadow: 0 0 22px rgb(184 108 255 / 0.7); }
@media (prefers-reduced-motion: reduce) { .mm-glow, .mm-glow .mm-aura { animation: none; } }
/* item 912: the Hot Hand: the hot card on the Cards page, and the table laid out above the shelves */
.tile.hh-hot { position: relative; box-shadow: 0 0 0 1px #ffb347, 0 0 22px rgb(255 140 40 / 0.55); animation: hhHot 1.1s ease-in-out infinite; }
@keyframes hhHot { 50% { box-shadow: 0 0 0 1px #ffd27a, 0 0 34px rgb(255 120 30 / 0.8); } }
.hh-host { display: grid; gap: 8px; margin: 0 0 26px; transition: opacity 0.8s ease; }
.hh-host.gone { opacity: 0; }
.hh-table { position: relative; height: min(56vh, 380px); border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); border-radius: 14px; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--c) 7%, transparent), transparent 72%); overflow: hidden; touch-action: manipulation; }
.hh-c { position: absolute; width: 50px; height: 50px; margin: -25px 0 0 -25px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; opacity: 0; transform: scale(0.6);
  transition: left 1s cubic-bezier(.45,0,.2,1), top 1s cubic-bezier(.45,0,.2,1), opacity 0.4s ease, transform 0.25s ease; --c: #9fdcff; }
.hh-c.in { opacity: 1; transform: none; }
.hh-c .gm-ic { position: relative; width: 100%; height: 100%; }
.hh-c .hh-heat { position: absolute; inset: -12px; border-radius: 50%; background: radial-gradient(circle, rgb(255 210 120 / 0.95), rgb(255 110 30 / 0.55) 45%, transparent 70%); opacity: 0; transform: scale(0.6); transition: opacity 0.18s ease, transform 0.18s ease; pointer-events: none; }
.hh-c.hot .hh-heat { opacity: 1; transform: scale(1); animation: hhShimmer 0.35s ease-in-out infinite alternate; }
.hh-c.hot { transform: scale(1.12); }
.hh-c.ok { transform: scale(1.25); }
.hh-c.cold .hh-heat { opacity: 0.5; background: radial-gradient(circle, rgb(140 180 255 / 0.7), transparent 65%); }
@keyframes hhShimmer { from { filter: blur(0); } to { filter: blur(1.5px) brightness(1.2); } }
.hh-rounds i.now, .hh-rounds i.won, .hh-ticks i.won { --c: #ffb347; }
.hh-ticks i.lost { border-color: rgb(140 180 255 / 0.6); }
@media (prefers-reduced-motion: reduce) { .tile.hh-hot, .hh-c.hot .hh-heat { animation: none; } }

/* ---------------- batch 25 ---------------- */
/* item 923: About: more room round the terms and privacy links */
.ab-legal { margin: 44px 0 4px; padding-top: 14px; border-top: 1px solid var(--line-2); }
/* item 925: MENU's dropdown larger, with larger contents */
.mn { width: 340px; padding: 12px; border-radius: 16px; }
.mn-i { gap: 5px; padding: 13px 16px; border-radius: 11px; }
.mn-i b { font-size: 0.8rem; }
.mn-i small { font-size: 0.86rem; }
.mn-ext { right: 16px; font-size: 0.95rem; }
@media (max-width: 600px) { .mn { width: min(340px, calc(100vw - 24px)); } }
/* item 926: choosing a finish runs a quick, bright diagonal light (top left to bottom right) that hides the change */
.card-rec .cr-art.fsw::after { content: ""; position: absolute; inset: -60%; z-index: 4; pointer-events: none; background: linear-gradient(135deg, transparent 38%, rgb(255 252 245 / 0.18) 45%, rgb(255 252 245 / 0.85) 50%, rgb(255 252 245 / 0.18) 55%, transparent 62%); animation: finSw 0.62s cubic-bezier(.45,0,.35,1) forwards; }
@keyframes finSw { from { transform: translate(-42%, -42%); } to { transform: translate(42%, 42%); } }
.pop-sweep.fin::before { background: linear-gradient(135deg, transparent 38%, rgb(255 252 245 / 0.2) 45%, rgb(255 252 245 / 0.8) 50%, rgb(255 252 245 / 0.2) 55%, transparent 62%); }
.pop-sweep.fin.go::before { animation-duration: 0.6s; }
@media (prefers-reduced-motion: reduce) { .card-rec .cr-art.fsw::after { animation: none; display: none; } }
/* item 931: the wave over the icons: a soft gold glow rises behind each icon in turn (no band, no ring); Chrome does not
   draw CSS filters on SVG shapes, so the old shine was never seen */
@keyframes iswLift { 0%, 100% { opacity: 1; } }
.isw-glow { opacity: 0; pointer-events: none; mix-blend-mode: screen; transform-box: fill-box; transform-origin: center; animation: iswGlow 1.3s ease-in-out var(--dl) both; }
@keyframes iswGlow { 0% { opacity: 0; transform: scale(0.55); } 45% { opacity: 0.9; transform: scale(1.12); } 100% { opacity: 0; transform: scale(1.3); } }
/* item 932: breadcrumbs: "Omnium" never cut short; where it cannot fit, the row stands just below the header */
.crumbs.narrow .cs-t { flex: none; overflow: visible; text-overflow: clip; }
.crumbs.narrow .crumb-stack { flex: none; }
.crumbs.below { position: fixed; left: 14px; top: var(--crtop, 70px); z-index: 30; max-width: calc(100vw - 28px); margin: 0 !important; }
/* item 933: THE OMNIUM's slow glow and its light sweep were too faint to be seen after batch 24 (its glow peaked near
   0.1); the glow brighter again (still paler than before batch 24) and the sweep's light stronger */
.omni-title.glow { fill: rgb(236 214 182 / 0.42); }
@keyframes omniGlow { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.85; } }
.omni-tglow svg:not(.ot-sweep) { animation: omniGlow 11s ease-in-out infinite; }
.lite .omni-tglow svg:not(.ot-sweep) { animation: none; opacity: 0.35; }
@media (prefers-reduced-motion: reduce) { .omni-tglow svg:not(.ot-sweep) { animation: none; opacity: 0.4; } }
html.opt-rm .omni-tglow svg:not(.ot-sweep) { animation: none; opacity: 0.4; }

/* item 936: Ythram's and Jendarri's drawings 25% faster again (1.95 s to 1.56 s; their steps sooner) */
.rm-drawg.fast .rm-draw { transition-duration: 1.56s, 0.5s, 0.6s; }
.realm.sel .rm-drawg.fast.undraw .rm-draw:not(.ch-p) { transition-duration: 1.32s, 1.2s, 0.6s; }
/* item 939: once drawn, a Realm's drawing keeps a slow, slight sway and breath (it starts after the drawing) */
.realm:hover .rm-drawg:not(.strong):not(.chaotic), .realm.sel .rm-drawg:not(.strong):not(.chaotic), .centre-pin:hover .rm-drawg:not(.strong):not(.chaotic), .centre-pin.on .rm-drawg:not(.strong):not(.chaotic) { animation: rmSway 11s ease-in-out 2.6s infinite; }
@keyframes rmSway { 0%, 100% { transform: rotate(0deg) scale(1); } 25% { transform: rotate(1.6deg) scale(1.012); } 50% { transform: rotate(0deg) scale(0.996); } 75% { transform: rotate(-1.6deg) scale(1.01); } }
@media (prefers-reduced-motion: reduce) { .rm-drawg { animation: none !important; } }
html.opt-rm .rm-drawg { animation: none !important; }
/* item 935: the soft white oval round the inner Realms (the Veil's band) fades slowly in and out */
.veil-band { animation: veilBreath 16s ease-in-out infinite; }
@keyframes veilBreath { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.lite .veil-band { animation: none; }
html.opt-rm .veil-band { animation: none; }
@media (prefers-reduced-motion: reduce) { .veil-band { animation: none; } }
/* item 937: the ring round Concepts and the Lexicon a little clearer */
.cdx-ln { stroke: rgb(255 186 110 / 0.34); stroke-width: 1.4; stroke-dasharray: 3 7; }
/* item 960: Sleight of Hand: the card itself glows hot (no circle round it) */
.hh-c .hh-heat { display: none; }
.hh-c .gm-ic { transition: filter 0.18s ease, color 0.18s ease; }
.hh-c.hot .gm-ic { color: #ffe2b0; filter: drop-shadow(0 0 3px #fff2d6) drop-shadow(0 0 9px #ff9a3c) drop-shadow(0 0 18px rgb(255 110 30 / 0.8)); animation: hhCardHeat 0.4s ease-in-out infinite alternate; }
@keyframes hhCardHeat { to { filter: drop-shadow(0 0 4px #fff2d6) drop-shadow(0 0 13px #ffb347) drop-shadow(0 0 24px rgb(255 120 40 / 0.9)); } }
.hh-c.cold .gm-ic { color: #b9ccff; filter: drop-shadow(0 0 8px rgb(140 180 255 / 0.7)); }
.hh-c.ok .gm-ic { filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 16px #ffd27a); }
@media (prefers-reduced-motion: reduce) { .hh-c.hot .gm-ic { animation: none; } }
/* item 959: Waypoints: the mark's sign centred in its ring (its glow and selection line up), the Omnium Atlas's sign,
   and the marks fade out before the next round */
.pf-field .pf-m { display: grid; place-items: center; }
.pf-field .pf-m .pf-glow { inset: -18px; }
.pf-field .pf-m svg.pf-atlas { width: 32px; height: 32px; fill: currentColor; }
.pf-atlas .pf-hex { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: 0.7; }
.pf-field .pf-m.out { opacity: 0 !important; transform: scale(0.8) !important; transition: opacity 0.4s ease, transform 0.4s ease !important; }
/* item 948: Memories of the Future: the grid shrank to almost nothing (the host centres its children, and the tiles
   have no width of their own); now it takes the page's width up to 720 px; on a phone four columns across the screen */
.mm-host.playing .mm-grid { width: min(720px, 100%); max-width: none; gap: 10px; }
.mm-host.playing .mm-c { min-width: 0; }
@media (max-width: 560px) { .mm-host.playing { margin: 26px 0 24px; } .mm-host.playing .mm-grid { width: 100%; gap: 7px; } }

/* item 950: a Secret's hint under its map: wider, and each sentence on a line of its own */
.sx-page .sx-hint { max-width: 78ch; }
.sx-page .sx-hint span { display: block; }
/* item 954: a lit Realm on a Secret's map shows its own centre sign inside its glowing circle */
.sx-map .sm-sig .sm-ring { fill: rgb(8 8 12 / 0.75); stroke: var(--c); stroke-width: 1; filter: drop-shadow(0 0 4px var(--c)); }
.sx-map .sm-sig .ln { fill: none; stroke: color-mix(in srgb, var(--c) 60%, #fff); stroke-width: 0.9; }
.sx-map .sm-sig .ln.thin { stroke-width: 0.6; opacity: 0.8; }
.sx-map .sm-sig .dot { fill: color-mix(in srgb, var(--c) 60%, #fff); }
.sx-map .sm-sig circle.dot { r: 1.2; }
.sx-map .sm-r.look .sm-sig { animation: smLook 3.4s ease-in-out infinite; }
/* item 953: the scenes for Secrets found away from the maps */
.sx-map .sm-art { --c: #d8b4ff; }
.sx-map .sm-art .sa-ln { fill: none; stroke: color-mix(in srgb, var(--c) 55%, transparent); stroke-width: 1.2; }
.sx-map .sm-art .sa-ln.thin { stroke-width: 0.7; opacity: 0.6; }
.sx-map .sm-art .sa-facet { fill: rgb(12 10 18 / 0.85); stroke: var(--c); stroke-width: 1; opacity: 0.45; animation: saFacet 6s ease-in-out calc(var(--k) * 0.5s) infinite; }
@keyframes saFacet { 0%, 30%, 100% { opacity: 0.35; } 15% { opacity: 1; filter: drop-shadow(0 0 5px var(--c)); } }
.sx-map .sm-art .sa-tile { fill: #1d1528; stroke: rgb(216 180 255 / 0.4); stroke-width: 1; }
.sx-map .sm-art .sa-tile.up { fill: #2c2140; stroke: #e8d6ff; filter: drop-shadow(0 0 5px rgb(184 108 255 / 0.7)); }
.sx-map .sm-art .sa-card { fill: #18141e; stroke: rgb(255 214 160 / 0.4); stroke-width: 1; }
.sx-map .sm-art .sa-card.hot { stroke: #ffd08a; filter: drop-shadow(0 0 6px #ff9a3c); animation: hhCardHeat 0.8s ease-in-out infinite alternate; }
.sx-map .sm-art.found .sa-facet, .sx-map .sm-art.found .sa-card.hot { animation: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sx-map .sm-art *, .sx-map .sm-r.look .sm-sig { animation: none !important; } }
/* item 958: the Fractures' godrays made the screen blink and slow down (a blur and a blend on every beam repainted the
   whole map each frame); now plain soft beams (their gradient alone fades them), fewer of them */
.fracture .fr-god polygon, .lite .fracture .fr-god polygon { filter: none; mix-blend-mode: normal; will-change: opacity, transform; }
@keyframes frGod { 0% { opacity: 0; transform: rotate(0deg) scaleX(0.4); } 25% { opacity: 0.4; } 100% { opacity: 0; transform: rotate(var(--sw)) scaleX(1.15) translateX(4%); } }

/* item 961: Words of the Forge: the search bar answers a word it knows with a ring of light running round it */
.findw.forge-word { animation: forgeWord 1.8s ease-out; }
@keyframes forgeWord { 0% { box-shadow: 0 0 0 0 rgb(255 214 150 / 0); } 18% { box-shadow: 0 0 0 2px rgb(255 226 170 / 0.9), 0 0 26px 6px rgb(255 160 60 / 0.55); } 100% { box-shadow: 0 0 0 0 rgb(255 214 150 / 0), 0 0 40px 14px rgb(255 160 60 / 0); } }
.findw.forge-word input { color: #ffe7c2; text-shadow: 0 0 8px rgb(255 170 80 / 0.9); transition: color 0.4s, text-shadow 0.4s; }
@media (prefers-reduced-motion: reduce) { .findw.forge-word { animation: none; box-shadow: 0 0 0 2px rgb(255 226 170 / 0.7); } }
/* item 963: a phone's map fades in once its panels have settled (no snap into place) */
.view.map .map-area { transition: opacity 0.35s ease; }
.view.map.settle .map-area { opacity: 0; transition: none; }

/* batch 26 (items 974, 984): a sign-in error is a short line beside the button (below it in Options), not the score notice */
.dc-err { display: inline-block; margin-left: 12px; align-self: center; font: 600 0.78rem/1.3 var(--body); color: #ff9a8a; opacity: 0; }
.dc-err.on { animation: dcErr 0.35s ease-out forwards; }
@keyframes dcErr { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.options .op-signin { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.options .op-signin .dc-err { margin-left: 0; }
.about.social .so-sub { margin: -4px 0 14px; color: var(--muted); }

/* ---------------- batch 26 ---------------- */
/* item 976: MENU's dropdown narrower on a phone */
@media (max-width: 600px) { .mn { width: min(250px, calc(100vw - 24px)); padding: 8px; } .mn-i { padding: 10px 13px; } .mn-i b { font-size: 0.72rem; } .mn-i small { font-size: 0.78rem; } }
/* items 980, 981: the Welcome window's buttons; a window over another (the Welcome window's SIGN IN) */
.about.welcome-in .wi-btns { flex-wrap: wrap; }
.ab-pop.over { z-index: 140; }
/* item 978: the icon wave was never seen: the old "lift" rule above (more specific) also caught the glow and, with no
   --swd delay set, dropped its animation, so the glow stayed at opacity 0. The glow is excluded from it, larger and brighter. */
@keyframes iswGlow { 0% { opacity: 0; transform: scale(0.5); } 40% { opacity: 1; transform: scale(1.15); } 100% { opacity: 0; transform: scale(1.35); } }
/* item 979: a documented sealed record: its name in white on the map (records still to claim stay as they are) */
.pin.documented .lbl, .pin.documented:hover .lbl, .pin.documented.on .lbl, .centre-pin.documented .lbl { fill: #fff; }
.pin.documented .ic { opacity: 0.45; }
.btn.doc-rec { border-color: rgb(255 255 255 / 0.4); color: #fff; }
.btn.doc-done { opacity: 0.75; cursor: default; }
/* items 982, 983: THE OMNIUM's glow is a small picture drawn once (it was a huge blurred SVG copy) */
.omni-tglow canvas.ot-glow { position: absolute; pointer-events: none; animation: omniGlow 11s ease-in-out infinite; }
.lite .omni-tglow canvas.ot-glow { animation: none; opacity: 0.35; }
@media (prefers-reduced-motion: reduce) { .omni-tglow canvas.ot-glow { animation: none; opacity: 0.4; } }
html.opt-rm .omni-tglow canvas.ot-glow { animation: none; opacity: 0.4; }
/* item 983: the hint shapes kept an empty drop-shadow at rest (a filter pass on every redraw of 58 shapes); none at rest */
.uh .uh-spin svg { filter: none; }
/* item 985: every place on a Secret's map shows its centre sign; those not lit are faint and have no glow */
.sx-map .sm-sig.dim { opacity: 0.38; }
.sx-map .sm-sig.dim .sm-ring { stroke: rgb(255 255 255 / 0.25); filter: none; }
.sx-map .sm-sig.dim .ln, .sx-map .sm-sig.dim .dot { stroke: rgb(255 255 255 / 0.7); }
.sx-map .sm-sig.dim .dot { fill: rgb(255 255 255 / 0.7); stroke: none; }
.sx-map .sm-img { opacity: 0.9; }
.sx-map .sm-sig.dim .sm-img { filter: grayscale(1); }
/* item 990: the Remnants' map: a soft glow fades in outside the inner ring and breathes */
.sx-map .sm-outglow { opacity: 0; animation: smOutIn 2.4s ease-out 0.4s forwards, smOutBr 6s ease-in-out 2.8s infinite; }
.sx-map .sm-outglow.found { animation: smOutIn 2.4s ease-out 0.4s forwards; }
@keyframes smOutIn { to { opacity: 1; } }
@keyframes smOutBr { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .sx-map .sm-outglow { animation: none; opacity: 0.8; } }
/* item 988: Memories of the Future: the button is the Secret sign, turning and breathing; a wrong pair glows red */
.mm-glow { padding: 12px 22px; }
.mm-glow .mm-sx { position: relative; display: block; width: 54px; height: 54px; }
.mm-glow .mm-sx svg { width: 100%; height: 100%; overflow: visible; }
.mm-glow .mm-sx .ln { fill: none; stroke: color-mix(in srgb, var(--c) 45%, #fff); stroke-width: 1.4; }
.mm-glow .mm-sx .ln.f { fill: color-mix(in srgb, var(--c) 30%, transparent); }
.mm-glow .mm-sx .dot { fill: #fff; }
.mm-glow .mm-sx .ic-turn { transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
.mm-glow .mm-sx .ic { transform-box: fill-box; transform-origin: center; animation: mmSxBreath 3.6s ease-in-out infinite; }
@keyframes mmSxBreath { 0%, 100% { transform: scale(0.94); opacity: 0.8; } 50% { transform: scale(1.06); opacity: 1; } }
.mm-c.miss .mm-face { border-color: rgb(255 80 80 / 0.95); box-shadow: 0 0 0 1px rgb(255 80 80 / 0.6), 0 0 22px 4px rgb(255 60 60 / 0.55), inset 0 0 18px rgb(255 60 60 / 0.35); animation: mmMiss 0.32s ease-out; }
@keyframes mmMiss { from { box-shadow: 0 0 0 1px rgb(255 80 80 / 0), 0 0 0 0 rgb(255 60 60 / 0); } }
@media (prefers-reduced-motion: reduce) { .mm-glow .mm-sx .ic-turn, .mm-glow .mm-sx .ic { animation: none; } }
/* item 996: Dark Stars: a faint ring shows the general area from a closer zoom; the star, a little brighter, only at the
   closest zoom */
.pin.deadstar { opacity: 1; pointer-events: none; transition: none; }
.pin.deadstar .ds-guide { fill: rgb(150 160 210 / 0.05); stroke: rgb(185 192 235 / 0.5); stroke-width: 1.4; stroke-dasharray: 2 7; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; filter: drop-shadow(0 0 6px rgb(170 180 240 / 0.5)); }
.pin.deadstar.warm .ds-guide { opacity: 1; animation: dsGuide 5s ease-in-out infinite; }
@keyframes dsGuide { 0%, 100% { stroke-opacity: 0.55; } 50% { stroke-opacity: 1; } }
.pin.deadstar .ds-star { opacity: 0; transition: opacity 1.6s ease; }
.pin.deadstar.near .ds-star { opacity: 0.95; pointer-events: all; cursor: pointer; }
.pin.deadstar .ds-dot { fill: #c3c8de; filter: drop-shadow(0 0 4px rgb(200 208 240 / 0.8)); }
.pin.deadstar .ds-ring { stroke: #a9aec6; opacity: 0.8; }
.pin.deadstar.answered .ds-guide { opacity: 0; animation: none; }
@media (prefers-reduced-motion: reduce) { .pin.deadstar.warm .ds-guide { animation: none; } }
/* batch 27: the Temporal Pings' nodes fade in when the game begins (9 s after the anomaly is selected) */
.tp-simon.tp-in { animation: tpIn 1.4s ease-out both; }
@keyframes tpIn { from { opacity: 0; } to { opacity: 1; } }
/* batch 27: the Welcome and Codex Score windows: a gold light runs round the edge without end; the Welcome window's
   wordmark, SIGN IN on its own line, WALKTHROUGH and START EXPLORING centred with room between them */
@property --gt { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ab-pop.gold-trace .sp-trace { z-index: 3; padding: 1.5px; opacity: 1; box-shadow: none;
  background: conic-gradient(from var(--gt), transparent 0deg, transparent 250deg, rgb(240 194 122 / 0.5) 300deg, rgb(255 236 190 / 0.95) 340deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: goldTrace 4.2s linear infinite; }
@keyframes goldTrace { to { --gt: 360deg; } }
@media (prefers-reduced-motion: reduce) { .ab-pop.gold-trace .sp-trace { animation-duration: 12s; } }
.about.welcome-in .ab-in { text-align: center; }
.about.welcome-in .wi-logo { display: block; width: min(250px, 62%); height: auto; margin: 0 auto 10px; }
.about.welcome-in .btns { justify-content: center; }
.about.welcome-in .wi-one { margin-top: 14px; }
.about.welcome-in .wi-btns { gap: 18px; margin-top: 14px; }
/* batch 27: About's build number in the lower right corner */
.about .ab-build { margin: 6px 0 -6px; text-align: right; font: 600 0.6rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); opacity: 0.75; }
/* batch 27: the icon wave much more subtle: a faint, smaller glow and one small thin ripple ring */
@keyframes iswGlow { 0% { opacity: 0; transform: scale(0.7); } 45% { opacity: 0.28; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
.isw-rip { fill: none; stroke: #ffe2ad; stroke-width: 0.8; mix-blend-mode: screen; animation: iswRip 1.4s ease-out var(--dl) both; }
@keyframes iswRip { 0% { opacity: 0; transform: scale(0.85); } 20% { opacity: 0.4; } 100% { opacity: 0; transform: scale(1.35); } }
/* batch 27: the page behind cannot be used while a Sigil is equipped (the veil takes every click until it is removed) */
.equip-fx, .equip-fx.out { pointer-events: auto; cursor: default; }
/* batch 27: the Temporal Anomaly's emblem on the Secret maps as bright as the other centre signs (it is a darker picture) */
.sx-map .sm-sig .sm-img { filter: brightness(1.9) contrast(1.05); }
/* batch 27 (item 1031): Words of Wisdom's inscription bar on its Secret page: the riddle etched in letter by letter,
   the wanted Realm's sign dark at the left (drawn in light when answered), a line of light along the bar, ten dots */
.ww { --c: #f0c27a; width: min(620px, 100%); margin: 26px auto 8px; }
.ww-bar { position: relative; display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 10px 22px 10px 16px; border: 1px solid color-mix(in srgb, var(--c) 35%, #2c2a33); border-radius: 31px; cursor: text;
  background: radial-gradient(120% 200% at 0% 50%, color-mix(in srgb, var(--c) 12%, transparent), transparent 55%), rgb(14 13 18 / 0.92); transition: box-shadow 0.6s ease, border-color 0.6s ease; }
.ww-bar::after { content: ""; position: absolute; left: 60px; right: 26px; bottom: 9px; height: 1px; background: linear-gradient(90deg, transparent, var(--c), transparent); opacity: 0.5; transform-origin: left; animation: wwLine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes wwLine { 0% { transform: scaleX(0); opacity: 0; } 30% { opacity: 0.6; } 100% { transform: scaleX(1); opacity: 0; } }
.ww-sig { width: 34px; height: 34px; flex: none; overflow: visible; }
.ww-sig :is(path, circle, polygon) { fill: none; stroke: #55535c; stroke-width: 1.2; transition: stroke 0.6s ease; }
.ww-sig .thin { stroke-width: 0.8; }
.ww-sig .dot { fill: #55535c; stroke: none; }
.ww-bar.lit .ww-sig :is(path, circle, polygon) { stroke: var(--c); stroke-dasharray: 140; animation: wwDraw 1.2s ease-out; filter: drop-shadow(0 0 4px var(--c)); }
.ww-bar.lit .ww-sig .dot { fill: var(--c); }
@keyframes wwDraw { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 0; } }
.ww-rid { position: absolute; left: 64px; right: 22px; top: 50%; transform: translateY(-50%); pointer-events: none; font: italic 500 1rem/1.35 Georgia, "Times New Roman", serif; color: color-mix(in srgb, var(--c) 55%, #fff); transition: opacity 0.25s ease; }
.ww-rid span { display: inline-block; opacity: 0; filter: blur(5px); transform: translateY(3px); white-space: pre; animation: wwIn 0.5s ease-out forwards; }
@keyframes wwIn { to { opacity: 1; filter: blur(0); transform: none; } }
.ww-bar.has .ww-rid { opacity: 0; }
.ww-in { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #f3eee6; font: 600 1.05rem/1.2 var(--display, inherit); letter-spacing: 0.06em; caret-color: var(--c); }
.ww-in:disabled { visibility: hidden; }
.ww-bar:focus-within { border-color: color-mix(in srgb, var(--c) 60%, #2c2a33); }
.ww-bar.won { box-shadow: 0 0 26px color-mix(in srgb, var(--c) 55%, transparent); border-color: var(--c); }
.ww-bar.won::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--c); animation: wwRing 1s ease-out forwards; pointer-events: none; }
@keyframes wwRing { from { transform: scale(1); opacity: 1; } to { transform: scale(1.08, 1.5); opacity: 0; } }
.ww-bar.no { animation: wwNo 0.4s ease; }
@keyframes wwNo { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.ww-bar.end { box-shadow: 0 0 22px rgb(240 194 122 / 0.3); }
.ww-dots { display: flex; justify-content: center; gap: 9px; margin-top: 14px; }
.ww-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #3a3942; transition: background 0.6s, box-shadow 0.6s, border-color 0.6s; }
.ww-dots i.on { background: var(--mc); border-color: var(--mc); box-shadow: 0 0 8px var(--mc); }
@media (max-width: 600px) { .ww-rid { font-size: 0.88rem; left: 58px; } .ww-bar { min-height: 70px; } }
@media (prefers-reduced-motion: reduce) { .ww-bar::after, .ww-rid span { animation: none; opacity: 1; filter: none; transform: none; } }
/* batch 27 (item 867): Sightlines (puzzles of angle): faint until close enough, then their layers move with the map's lean */
.pin.sightline { opacity: 0; pointer-events: none; transition: opacity 1.6s ease; }
.pin.sightline.near { opacity: 0.75; }
.pin.sightline .sl-hit { fill: transparent; pointer-events: none; }
.pin.sightline .sl-ln { fill: none; stroke: color-mix(in srgb, var(--c) 55%, #fff); stroke-width: 1.4; stroke-linecap: round; opacity: 0.7; transition: stroke 0.4s, opacity 0.4s; }
.pin.sightline .sl-ln.thin { stroke-width: 0.8; opacity: 0.35; stroke-dasharray: 2 4; }
.pin.sightline .sl-goal { fill: none; stroke: color-mix(in srgb, var(--c) 60%, #fff); stroke-width: 1; opacity: 0.6; transform-box: fill-box; transform-origin: center; }
.pin.sightline .sl-goal.hit1 { animation: slHit 0.7s ease-out; }
@keyframes slHit { 0% { stroke-width: 3; opacity: 1; } 100% { stroke-width: 1; opacity: 0.6; } }
.pin.sightline .sl-dot, .pin.sightline .sl-pt { fill: color-mix(in srgb, var(--c) 50%, #fff); filter: drop-shadow(0 0 3px var(--c)); }
.pin.sightline.close .sl-ln, .pin.sightline.close .sl-goal, .pin.sightline.lined .sl-ln { stroke: #fff; opacity: 1; filter: drop-shadow(0 0 5px var(--c)); }
.pin.sightline .sl-mark { opacity: 0; transition: opacity 0.5s ease; }
.pin.sightline.lined .sl-mark { opacity: 1; pointer-events: all; cursor: pointer; }
.pin.sightline.lined .sl-seg { stroke-dasharray: none; }
.pin.sightline.won { animation: slWon 2.4s ease-out forwards; }
@keyframes slWon { 0% { opacity: 1; filter: drop-shadow(0 0 10px var(--c)); } 100% { opacity: 0; } }
/* batch 28 (item 1048): a record not yet claimed: its still map shows its place in the lower left, as a found record's */
.find-map .rm-range { position: relative; }
.find-map .rm-range .rm-cap { padding-top: 22px; }
.find-map .rm-range .rm-cap b { font: 600 0.72rem/1.3 var(--mono); letter-spacing: 0.08em; color: color-mix(in srgb, var(--c) 70%, #fff); }
.find-map .rm-range + .btn { margin-top: 14px; }
/* batch 28 (item 1051): the account window's buttons: SIGN OUT at the left, GAME ACCOUNT at the right with COMING SOON
   centred under it */
.acct .ac-btns { display: flex; align-items: flex-start; flex-wrap: nowrap; margin-top: 18px; }
.acct .ac-btns .grow { flex: 1; }
.acct .ac-game { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-left: auto; }
.acct .ac-game small { font: 600 0.58rem/1.2 var(--mono); letter-spacing: 0.16em; color: var(--muted); }
/* batch 28 (item 1041): the anomaly's emblem on the Secret maps drawn in the same light as the other signs */
.sx-map .sm-imf { fill: color-mix(in srgb, var(--c) 60%, #fff); }
.sx-map .sm-sig.dim .sm-imf { fill: rgb(255 255 255 / 0.7); }
/* batch 28 (item 1040): Temporal Pings' call: one ping at the anomaly's centre; selecting the centre begins the game */
.realm:not(.sel) .tp-call { display: none; }
.tp-call { cursor: pointer; }
.tp-call .tp-hit { fill: transparent; pointer-events: all; }
.tp-call .tp-pulse { fill: none; stroke: #8fd8ff; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; pointer-events: none; animation: tpCall 1.6s ease-out both; }
@keyframes tpCall { 0% { opacity: 0; transform: scale(0.3); } 18% { opacity: 0.9; } 100% { opacity: 0; transform: scale(1.9); } }
/* batch 28 (item 1039): Attunement: the Sigil behind its facets dims while the game is played; beginning flashes every
   facet together with a ring of light */
.at-play > :not(.sg-facets) { opacity: 0.22; filter: saturate(0.6); transition: opacity 0.6s ease, filter 0.6s ease; }
.sg-facets.go .fc polygon { animation: fcGo 0.9s ease-out both; }
@keyframes fcGo { 0% { fill-opacity: 0; } 25% { fill: var(--fc); fill-opacity: 0.55; } 100% { fill-opacity: 0; } }
.sg-facets.go { filter: drop-shadow(0 0 10px rgb(240 194 122 / 0.6)); }
/* batch 28 (item 1044): Dark Stars: a faint glow of the Realm's colour over the general area (from the guiding ring's
   zoom), and the star pulsing in the Realm's colour */
.pin.deadstar .ds-aura { opacity: 0; transition: opacity 2.4s ease; pointer-events: none; }
.pin.deadstar:is(.warm, .near) .ds-aura { opacity: 0.14; }
.pin.deadstar.answered .ds-aura { opacity: 0; }
.pin.deadstar .ds-dot { fill: color-mix(in srgb, var(--c) 55%, #fff); filter: none; transform-box: fill-box; transform-origin: center; animation: dsPulse 2.6s ease-in-out infinite; }
.pin.deadstar .ds-ring { stroke: color-mix(in srgb, var(--c) 60%, #c3c8de); }
@keyframes dsPulse { 0%, 100% { opacity: 0.7; scale: 1; } 50% { opacity: 1; scale: 1.5; } }
@media (prefers-reduced-motion: reduce) { .pin.deadstar .ds-dot { animation: none; } }
.pin.deadstar .ds-halo { pointer-events: none; animation: dsHalo 2.6s ease-in-out infinite; }
@keyframes dsHalo { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.75; } }
@media (prefers-reduced-motion: reduce) { .pin.deadstar .ds-halo { animation: none; } }
/* batch 28 (item 1043): Sightlines: the target circle dotted and pulsing gently so it can be found; the shape's three
   faint rings, its points, and a flash as each set is held */
.pin.sightline .sl-goal.sl-pulse { stroke-dasharray: 2 3; animation: slPulse 2.4s ease-in-out infinite; }
.pin.sightline .sl-goal.sl-pulse.hit1 { animation: slHit 0.7s ease-out, slPulse 2.4s ease-in-out 0.7s infinite; }
@keyframes slPulse { 0%, 100% { opacity: 0.45; scale: 1; } 50% { opacity: 0.95; scale: 1.18; } }
.pin.sightline .sl-goal.sl-ring { stroke-dasharray: 2 2.5; opacity: 0.5; }
.pin.sightline.sl-shape.setdone .sl-ring { animation: slHit 0.7s ease-out; }
@media (prefers-reduced-motion: reduce) { .pin.sightline .sl-goal.sl-pulse { animation: none; } }
/* batch 28 (item 1045): The Night Sky: stars that drift with the map's lean; near the right angle the lines fade in */
.stars.ns .cn-star { cursor: default; }
.stars.ns:not(.done) .cn-ln { opacity: calc(0.04 + var(--nl, 0) * 0.8); stroke-dasharray: none; transition: none; }
.stars.ns:not(.done) .cn-dot { opacity: calc(0.6 + var(--nl, 0) * 0.4); }
/* batch 29 (item 1046): Message From The Heavens: points only until drawn, thicker lines (they are seen from far out),
   the emblem fading in over a drawn sign */
.heavens { transition: opacity 0.5s ease; }
.heavens.off, .heavens.off .cn-star, .heavens.off .mh-hit { pointer-events: none !important; }
.heavens .stars:not(.done) .cn-ln:not(.on) { opacity: 0; }
.heavens .cn-ln.on { stroke-width: 4.5; filter: drop-shadow(0 0 8px var(--c)); }
.heavens .mh-hit { fill: transparent; pointer-events: none; }
.heavens .stars.done .mh-hit { pointer-events: all; }
.heavens .mh-em { opacity: 0; transition: opacity 3.5s ease; pointer-events: none; }
.heavens .mh-em.show { opacity: 0.8; transition-duration: 1.4s; }
.heavens .stars.kept { opacity: 0.75; }

/* ---------------- batch 30 ---------------- */
/* item 1059: the icon wave's glow fainter again (peak 0.13, was 0.28) */
@keyframes iswGlow { 0% { opacity: 0; transform: scale(0.7); } 45% { opacity: 0.13; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
/* item 1062: LOG RECORD is a gold button like CLAIM RECORD, silver (LOGGED) once logged */
.btn.claim.doc-rec { color: #1c1203; border-color: transparent; }
.btn.claim.doc-done { opacity: 1; }
.pin.logfx .lbl { fill: #fff; }
/* item 1069: Attunement: a mark for each part passed, a flash as one is passed, and part 2's sign (one facet missing) */
.emblem .at-pips { position: absolute; left: 50%; bottom: -26px; z-index: 5; display: flex; gap: 10px; transform: translateX(-50%); pointer-events: none; opacity: 0; transition: opacity 0.6s ease; }
.emblem.at-play > .at-pips { opacity: 1; filter: none; }
.at-pips i { width: 8px; height: 8px; rotate: 45deg; border: 1px solid rgb(240 194 122 / 0.55); background: transparent; transition: background 0.4s ease, box-shadow 0.4s ease; }
.at-pips i.on { background: var(--gold); box-shadow: 0 0 10px rgb(240 194 122 / 0.9); }
.sg-facets.passed .fc polygon { animation: atPass 0.9s ease-out; }
@keyframes atPass { 25% { fill: #ffe7b4; fill-opacity: 0.6; } 100% { fill-opacity: 0; } }
.sg-facets .fc-mid.on.gap { animation: none; opacity: 0.85; stroke-width: 0.6; }
/* item 1070: Dark Stars: the glow alone guides (its strength is set by the zoom, explore.js) */
.pin.deadstar .ds-aura { transition: opacity 0.5s ease; }
.pin.deadstar.answered .ds-aura { opacity: 0 !important; }
/* item 1063: the far view of the Omnium: each Realm a soft turning cloud of its colour with a few stars */
.map-area .realm:not(.going) > .rm { transition: scale 0.5s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1), opacity 1.3s ease; }
.map-area.vfar .realm:not(.sel):not(:hover):not(:focus-visible) > .rm { opacity: 0.28; }
.realm .rm-far { opacity: 0; transition: opacity 1.3s ease; pointer-events: none; }
.map-area.vfar .realm .rm-far { opacity: 1; }
.map-area.vfar .realm:is(:hover, :focus-visible, .sel) .rm-far { opacity: 0.45; }
.rm-far .nb-v { transform-box: view-box; transform-origin: 0 0; }
.map-area.vfar .rm-far .nb-v { animation: nbTurn var(--sp) linear infinite; }
.map-area.vfar .rm-far .nb-v.r2 { animation-direction: reverse; }
@keyframes nbTurn { to { rotate: 360deg; } }
.rm-far .nb-st { fill: #fff; opacity: 0.7; }
.map-area.vfar .rm-far .nb-st { animation: nbTw 4s ease-in-out var(--tw) infinite; }
@keyframes nbTw { 50% { opacity: 0.2; } }
.lite .map-area.vfar .rm-far :is(.nb-v, .nb-st), .safe .map-area.vfar .rm-far :is(.nb-v, .nb-st) { animation: none; }
@media (prefers-reduced-motion: reduce) { .map-area.vfar .rm-far :is(.nb-v, .nb-st) { animation: none; } }
/* batch 39 (maps). 1316: THE OMNIUM 10% smaller (was 440px, 280px on a phone). 1318: more depth: four darker steps
   behind it (explore.js), darkest at the back, and a faint lit rim along its top */
.omni-title { font-size: 396px; }
@media (max-width: 900px) { .omni-title { font-size: 252px; } }
.omni-title.depth.d1 { fill: rgb(78 46 22 / 0.14); }
.omni-title.depth.d2 { fill: rgb(52 30 14 / 0.16); }
.omni-title.depth.d3 { fill: rgb(30 17 8 / 0.19); }
.omni-title.depth.d4 { fill: rgb(12 6 3 / 0.24); }
.omni-title.hl { fill: rgb(255 240 222 / 0.07); stroke: none; }
.lite .omni-title.depth:is(.d3, .d4), .lite .omni-title.hl { display: none; }
/* 1337-1340: the Sign Of The Gods' point, now an HTML point in the map's effects layer (explore.js): a softer, more
   blurred glow in two layers, and faint motes drifting out to its left and right */
.map-fx .gs-pt { width: 68px; height: 68px; margin: -34px 0 0 -34px; transform-origin: 50% 50%; }
.map-fx .gs-pt:focus { outline: none; }
.map-fx .gs-pt i { position: absolute; left: 50%; top: 50%; border-radius: 50%; pointer-events: none; }
.map-fx .gs-pt-glow { width: 60px; height: 60px; margin: -30px; background: radial-gradient(circle, rgb(255 222 170 / 0.55), rgb(255 210 150 / 0.16) 45%, transparent 70%); filter: blur(8px); animation: gsGlow 3.6s ease-in-out infinite; will-change: transform, opacity; }
.map-fx .gs-pt-glow.g2 { width: 130px; height: 130px; margin: -65px; filter: blur(18px); animation-delay: -1.8s; animation-duration: 5.2s; }
.map-fx .gs-pt-core { width: 6px; height: 6px; margin: -3px; background: #fff1d8; opacity: 0.75; box-shadow: 0 0 8px 3px rgb(255 225 180 / 0.35); filter: blur(0.7px); }
.map-fx .gs-pt-p { width: 3px; height: 3px; margin: -1.5px; background: #ffe6c2; box-shadow: 0 0 4px rgb(255 220 170 / 0.8); opacity: 0; animation: gsMote var(--du, 6s) ease-out var(--dl) infinite; }
.map-fx .gs-pt:is(:hover, :focus-visible) .gs-pt-glow { animation-duration: 2.4s; }
.map-fx .gs-pt:not(.wake) i { animation: none; }
@keyframes gsGlow { 0%, 100% { transform: scale(0.75); opacity: 0.3; } 50% { transform: scale(1.2); opacity: 0.62; } }
@keyframes gsMote { 0% { opacity: 0; transform: translate(0, 0) scale(1); } 18% { opacity: 0.5; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4); } }
@media (prefers-reduced-motion: reduce) { .map-fx .gs-pt i { animation: none !important; } .map-fx .gs-pt-p { display: none; } }
html.opt-rm .map-fx .gs-pt i { animation: none !important; } html.opt-rm .map-fx .gs-pt-p { display: none; }
/* 1321: a caught Remnant's motes float slowly into the Nexus: each shrinks about its own centre (scaling about the map's
   corner pulled them away from the Nexus) */
.ai-flow circle { transform-box: fill-box; transform-origin: center; animation: aiFlow 2.2s cubic-bezier(.45,0,.55,1) var(--dl) forwards; }
/* item 1066: Written In The Stars on the Realms' maps: a glint first; the stars come out one after another */
.heavens .wits:not(.lit) :is(.cn-star, .cn-ln, .mh-hit) { opacity: 0; pointer-events: none !important; }
.heavens .wits.lit:not(.kept) .cn-star { animation: witsIn 1.4s ease var(--wi) both; }
@keyframes witsIn { 0% { opacity: 0; scale: 0.3; } 60% { opacity: 1; scale: 1.25; } 100% { opacity: 1; scale: 1; } }
.wits-glint { cursor: pointer; pointer-events: all; transition: opacity 1.2s ease; }
.wits-glint .cn-hit { fill: transparent; }
.wits-glint .wg-halo { fill: var(--c); opacity: 0.14; }
.wits-glint .wg-star { fill: #fff; opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: wgTw 3.6s ease-in-out infinite; }
.wits-glint:hover .wg-star, .wits-glint:focus-visible .wg-star { opacity: 0.95; }
.wits-glint.gone { opacity: 0; pointer-events: none; }
@keyframes wgTw { 0%, 100% { opacity: 0.35; scale: 0.85; } 50% { opacity: 0.75; scale: 1.15; } }
@media (prefers-reduced-motion: reduce) { .wits-glint .wg-star, .heavens .wits.lit .cn-star { animation: none; } }
/* item 1067: Message From The Gods: a minute in, the A logo's stars fade in very slowly; the lines show near the angle */
.stars.gods { opacity: 0; pointer-events: none; transition: opacity 45s linear; }
.stars.gods.wake { opacity: 0.9; }
.stars.gods.gone { opacity: 0 !important; transition: opacity 4s ease; }
.stars.gods .cn-star { pointer-events: none; cursor: default; }
.stars.gods:not(.done) .cn-ln { opacity: calc(var(--nl, 0) * 0.85); stroke-dasharray: none; transition: none; }
.stars.gods .cn-ln { stroke-width: 6; }
.stars.gods:not(.done) .cn-dot { opacity: calc(0.6 + var(--nl, 0) * 0.4); }
/* item 1068: Passing Lights on the select screens */
.pl-orb { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; animation: plTurn var(--pd) linear both; }
@keyframes plTurn { from { transform: rotate(var(--a0)); } to { transform: rotate(calc(var(--a0) + var(--dir) * 150deg)); } }
.pl-lt { position: absolute; left: var(--r); top: 0; width: 16px; height: 16px; margin: -8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; pointer-events: auto; background: radial-gradient(circle, #fff 0 14%, color-mix(in srgb, var(--c) 70%, #fff) 26%, transparent 68%); opacity: 0; animation: plFade var(--pd) ease-in-out both; }
.pl-lt::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; }
@keyframes plFade { 0% { opacity: 0; } 20%, 80% { opacity: 0.85; } 100% { opacity: 0; } }
.pl-orb.caught { animation-play-state: paused; }
.pl-orb.caught .pl-lt { animation: plCaught 1.5s ease-out both; }
@keyframes plCaught { 0% { opacity: 1; scale: 1; } 30% { opacity: 1; scale: 3.2; box-shadow: 0 0 30px var(--c); } 100% { opacity: 0; scale: 4; } }

/* ---------------- batch 31 ---------------- */
/* 1075: a subtle pulsing glow behind every Axion Forge wordmark (loader, About, Welcome, Chronicle) */
.ld-logo, .ab-logo, .about.welcome-in .wi-logo, .chron-logo { animation: wmGlow 4.2s ease-in-out infinite; }
.ld-logo { animation: ldFade 1.2s ease 0.4s backwards, wmGlow 4.2s ease-in-out 1.6s infinite; }
@keyframes wmGlow { 0%, 100% { filter: drop-shadow(0 0 12px rgb(255 120 40 / 0.16)); } 50% { filter: drop-shadow(0 0 22px rgb(255 140 60 / 0.42)); } }
@media (prefers-reduced-motion: reduce) { .ld-logo, .ab-logo, .about.welcome-in .wi-logo, .chron-logo { animation: none; } }
html.opt-rm .ld-logo, html.opt-rm .ab-logo, html.opt-rm .wi-logo, html.opt-rm .chron-logo { animation: none; }
/* 1084: LEAVE darker than STAY */
.btn.dark { --c: #55555f; background: rgb(8 8 10 / 0.85); color: var(--muted); }
.btn.dark:hover { color: var(--ink); }
/* 1110: more room between About's buttons and the line below them */
.ab-legal { margin-top: 60px; }
/* 1083: the tutorial's practice pad */
.pp-wrap { margin: 4px 0 12px; }
.pp { position: relative; height: 120px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 10px; background: radial-gradient(ellipse at 50% 50%, rgb(40 30 22 / 0.7), rgb(8 8 10 / 0.9)); perspective: 420px; cursor: grab; touch-action: none; user-select: none; }
.pp.grab { cursor: grabbing; }
.pp-plane { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.25s ease-out; }
.pp.grab .pp-plane { transition: none; }
.pp-plane .wt-map { margin: 0; border: 0; background: none; height: 100%; }
.pp-keys { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pp-k { padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; font: 700 0.62rem/1.4 var(--display); letter-spacing: 0.1em; color: var(--muted); transition: color 0.3s, border-color 0.3s, box-shadow 0.3s; }
.pp-k.on { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px rgb(240 194 122 / 0.35); }
.pp-k.on::before { content: "✓ "; }
.pp-wrap.all .pp { border-color: color-mix(in srgb, var(--gold) 50%, var(--line-2)); box-shadow: 0 0 18px rgb(240 194 122 / 0.2) inset; }
.wt .btns.wt-si { justify-content: center; margin: 12px 0 0; }
.crumb-stack .cs-t:hover { color: var(--gold); }   /* 1081 */
/* 1088: the Chronicle's top shade spans the whole width and meets the header with no gap: the column's own shade
   (under the sticky back button) now reaches up to the top of the screen and across the whole page, and two matching
   pieces cover the empty sides beside the page on a wide screen */
.view.chron > .chron-in::before { top: calc(-16px - var(--toph, 64px)); height: calc(var(--toph, 64px) + 74px); margin: calc(-16px - var(--toph, 64px)) -50vw -58px; opacity: 0; transition: opacity 0.35s ease;
  background: linear-gradient(180deg, rgb(5 5 6 / 0.97) 0, rgb(5 5 6 / 0.97) calc(var(--toph, 64px) + 16px), rgb(5 5 6 / 0) 100%); }
body.chr-scrolled .view.chron > .chron-in::before { opacity: 1; }
.chr-veil { display: none; }
@media (min-width: 1000px) {
  .chr-veil { display: block; position: fixed; z-index: 29; inset: 0 0 auto; height: calc(var(--toph, 64px) + 74px); pointer-events: none; opacity: 0; transition: opacity 0.35s ease; }
  .chr-veil::before, .chr-veil::after { content: ""; position: absolute; top: 0; bottom: 0; width: max(0px, calc(50% - 680px)); background: linear-gradient(180deg, rgb(5 5 6 / 0.97) 0, rgb(5 5 6 / 0.97) calc(var(--toph, 64px) + 16px), rgb(5 5 6 / 0) 100%); }
  .chr-veil::before { left: 0; } .chr-veil::after { right: 0; }
  body[data-mode="chronicle"].chr-scrolled .chr-veil { opacity: 1; }
}
/* 1087: dragging on the Chronicle's empty sides */
html.chr-drag, html.chr-drag * { cursor: grabbing !important; user-select: none !important; }
/* 1097: Message From The Gods: shown only fully zoomed out; once woken it fades back in over 6 s after a zoom in (the
   first waking is the slow 45 s fade); once read, the A logo fades in at half strength until it all fades away */
.stars.gods.wake.away { opacity: 0; transition: opacity 0.9s ease; }
.stars.gods.wake:not(.away) { transition: opacity 6s ease-in; }
.stars.gods:not(.wake) { transition: opacity 45s linear; }
.stars.gods.wake:not(.away):not(.seen) { transition: opacity 45s cubic-bezier(.6,0,.9,.6); }
.stars.gods .gods-logo { opacity: 0; transition: opacity 3s ease; pointer-events: none; }
.stars.gods .gods-logo.on { opacity: 0.5; }
/* 1090: the far view's clouds are still (their turning veils and twinkling stars repainted the whole map's drawing every
   frame, the main cause of the lag far out) */
.map-area.vfar .rm-far .nb-v, .map-area.vfar .rm-far .nb-st { animation: none !important; }
/* 1091: a Realm's select screen: its background animation fades in over the first few seconds (it fades out as before) */
.scene-fx.scene-realm.on { transition: opacity 3.6s cubic-bezier(.4,0,.6,1); }
/* 1094: the Nexus's drawing pushes and pulls: its far threads breathe out and in as a whole (5.6 s), the light running
   out along them on the push and back in along the Realms' lines */
.rm-drawg .nx-pp { transform-box: view-box; transform-origin: 0 0; }
.realm:is(:hover, .sel) .nx-pp, .centre-pin:hover .nx-pp { animation: nxPush 5.6s cubic-bezier(.45,0,.55,1) 2.4s infinite; }
@keyframes nxPush { 0%, 100% { transform: scale(0.9); } 50% { transform: scale(1.12); } }
.rm-drawg .nx-far { stroke-width: 0.6; opacity: 0.55; }
.rm-flow.nx-out { animation: nxOut 5.6s linear 2.4s infinite; animation-play-state: paused; }
.realm:is(:hover, .sel) .rm-flow.nx-out, .centre-pin:hover .rm-flow.nx-out { animation-play-state: running; }
@keyframes nxOut { 0% { stroke-dashoffset: 0; } 50% { stroke-dashoffset: 34; } 100% { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .nx-pp, .rm-flow.nx-out { animation: none !important; } }
html.opt-rm .nx-pp, html.opt-rm .rm-flow.nx-out { animation: none !important; }
/* 1095: a read sign's emblem fades in to half strength at most (on completing it and on hover), a full second after,
   twice as slowly as before */
.heavens .mh-em.show { opacity: 0.5; transition: opacity 2.8s ease 1s; }

/* batch 31 part 2 (items 1101 to 1109): Sigil Trials: the faint mark on the map and the round field over it */
.pin.trial .tr-i { opacity: 0.3; transition: opacity 0.3s ease; }
.pin.trial:hover .tr-i, .pin.trial:focus-visible .tr-i { opacity: 0.85; }
.tr-field { background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 9%, rgb(6 6 10 / 0.9)), rgb(6 6 10 / 0.78) 78%, transparent); user-select: none; -webkit-user-select: none; }
.tr-field .tr-svg { width: 100%; height: 100%; overflow: visible; display: block; }
.tr-field.shake { animation: trShake 0.42s ease; }
@keyframes trShake { 20% { translate: -6px 0; } 45% { translate: 5px 0; } 70% { translate: -3px 0; } }
.tr-field.won .tr-svg { animation: trWon 1.2s ease; }
@keyframes trWon { 40% { filter: drop-shadow(0 0 14px var(--c)); } }
.tr-field.flash .tr-light { fill: #fff; }
.tr-pips circle { fill: none; stroke: rgb(255 255 255 / 0.32); stroke-width: 1; transition: fill 0.35s ease, stroke 0.35s ease; }
.tr-pips circle.won { fill: var(--c); stroke: var(--c); }
.tr-hit { fill: none; stroke: transparent; pointer-events: stroke; cursor: pointer; }
.tr-hit-fill { fill: transparent; cursor: pointer; }
.tr-field .fade, .tr-field .out { opacity: 0 !important; transition: opacity 0.6s ease; }
/* the Gear Train */
.tr-hub { fill: color-mix(in srgb, var(--c) 30%, #0a0a10); stroke: var(--c); stroke-width: 1.2; }
.tr-gear { transition: transform 0.55s cubic-bezier(.3,1.4,.5,1); }
.tr-gear .tr-band { fill: none; stroke: rgb(255 255 255 / 0.2); stroke-width: 2; }
.tr-gear .tr-teeth { stroke: rgb(255 255 255 / 0.16); stroke-width: 1.6; }
.tr-gear .tr-notch { fill: rgb(255 255 255 / 0.55); transition: fill 0.4s ease; }
.tr-gear.auto .tr-band { stroke: color-mix(in srgb, var(--c) 55%, transparent); }
.tr-gear.lined .tr-notch { fill: var(--c); }
.tr-gear:hover .tr-band { stroke: color-mix(in srgb, var(--c) 70%, #fff); }
/* Overgrowth */
.tr-seed { fill: color-mix(in srgb, var(--c) 60%, #fff); }
.tr-seed-glow { fill: color-mix(in srgb, var(--c) 22%, transparent); filter: blur(6px); }
.tr-vine { fill: none; stroke: var(--c); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s ease, opacity 1.1s ease; }
.tr-vine.cut { stroke: rgb(255 255 255 / 0.3); }
/* the Eclipse */
.tr-light { fill: color-mix(in srgb, var(--c) 40%, #fff); transition: fill 0.2s ease; }
.tr-corona { fill: color-mix(in srgb, var(--c) 35%, transparent); filter: blur(7px); }
.tr-body { fill: #050508; stroke: color-mix(in srgb, var(--c) 50%, rgb(255 255 255 / 0.4)); stroke-width: 1.2; }
.tr-want-s { fill: none; stroke: var(--c); stroke-width: 1.6; }
/* the Seal of Decree */
.tr-range { fill: none; stroke: color-mix(in srgb, var(--c) 22%, transparent); }
.tr-wax { fill: color-mix(in srgb, var(--c) 28%, #0a0a10); stroke: var(--c); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.tr-wax.press { animation: trPress 0.5s ease; }
@keyframes trPress { 30% { fill: var(--c); transform: scale(0.92); } }
.tr-line { fill: none; stroke: #fff; }
/* Against the Swarm */
.tr-dot { fill: color-mix(in srgb, var(--c) 55%, #fff); transition: fill 0.3s ease, opacity 0.6s ease; }
.tr-dot.odd { fill: var(--c); filter: drop-shadow(0 0 5px var(--c)); }
.tr-dot.bad { fill: #ff6b6b; }
/* the Horizon */
.tr-horizon { stroke: rgb(255 255 255 / 0.35); stroke-width: 1.2; }
.tr-heart { fill: color-mix(in srgb, var(--c) 45%, #0a0a10); stroke: var(--c); stroke-width: 1.4; }
.tr-heart-glow { fill: color-mix(in srgb, var(--c) 18%, transparent); filter: blur(6px); }
.tr-sun-disc { fill: #ffe2a0; }
.tr-sun-glow { fill: rgb(255 210 120 / 0.22); filter: blur(5px); }
.tr-sun.greet .tr-sun-glow { animation: trGreet 0.7s ease; }
@keyframes trGreet { 40% { fill: rgb(255 230 160 / 0.8); } }
.tr-foe circle:first-child { fill: #b9b2c9; }
.tr-foe { transition: opacity 0.4s ease; }
.tr-foe.pop { opacity: 0; }
/* Through the Gap */
.tr-core { fill: color-mix(in srgb, var(--c) 50%, #fff); }
.tr-c path { fill: none; stroke: var(--c); stroke-width: 9; stroke-linecap: round; opacity: 0.7; transition: opacity 0.2s ease, stroke 0.2s ease; }
.tr-c.held path { opacity: 1; }
.tr-c.hit path { stroke: #ff6b6b; }
@media (prefers-reduced-motion: reduce) { .tr-gear { transition-duration: 0.15s; } .tr-field.shake, .tr-field.won .tr-svg { animation: none; } }
/* batch 31 (part 2): no text highlighting on the header bar or anywhere on a map's screen (its tooltip too); fields
   that take typing still can */
.top, .top *, .stage:has(> .view.map), .stage:has(> .view.map) *, body > .tip, body > .tip * { user-select: none; -webkit-user-select: none; }
.top input, .top textarea, .stage input, .stage textarea { user-select: text; -webkit-user-select: text; }
/* batch 31 (part 2): Message From The Gods: its fades are stepped by the script (no long CSS fades, which repainted the
   whole map drawing every frame), its glows are plain gradients, and on completion the constellation itself glows */
.stars.gods, .stars.gods.wake, .stars.gods.wake.away, .stars.gods.wake:not(.away), .stars.gods:not(.wake), .stars.gods.wake:not(.away):not(.seen) { transition: none; }
.stars.gods.gone { transition: opacity 4s ease !important; }
.stars.gods .cn-glow { animation: none; filter: none; opacity: 0.5; }
.stars.gods.done .cn-glow { opacity: 1; scale: 1.6; transition: scale 1.2s ease; }
.stars.gods.done .cn-dot { opacity: 1; }
/* batch 31 (part 2): a faction emblem behind a read constellation (Written In The Stars) shows at 25% at most */
.heavens .mh-em.show { opacity: 0.15; }   /* batch 35 (1196): 15% at most (was 25%) */
/* batch 31 (part 2): Attunement's progress marks above the Sigil (were below) */
.emblem .at-pips { bottom: auto; top: -26px; }
/* batch 31 (part 2): the Chronicle's side menu stops below the sticky back button (‹ THE CHRONICLE) as the page scrolls,
   never above or behind it */
@media (min-width: 901px) { .view.chron .rail { top: 58px; } }
/* batch 31 (part 2): the account's Join the server link, in the stats grid beside Discord role */
.ac-join { text-decoration: none; color: inherit; border-color: color-mix(in srgb, var(--gold) 35%, transparent) !important; }
.ac-join b { color: var(--gold); }
.ac-join:hover { background: rgb(240 194 122 / 0.08); }
/* batch 31 (part 2): the tutorial. The Controls pad is the same size as the other steps' pictures (300 by 120), with a
   little room under it; its steps show one at a time (the current one pulses); step 3 lights the crumbs in gold; step 5
   shows a record panel with a glowing gold button; the last step has a Join the server button below sign-in */
.pp { height: auto; aspect-ratio: 300 / 120; }
.pp-wrap { margin: 4px 0 22px; }
.pp { margin-bottom: 10px; }   /* batch 35 (1254): a little room below the picture */
.pp-k.now.pp-in { animation: ppIn 0.7s ease-out, ppNow 1.6s ease-in-out 0.7s infinite; }
@keyframes ppIn { 0% { opacity: 0; transform: scale(0.7); box-shadow: 0 0 0 rgb(240 194 122 / 0); } 45% { opacity: 1; transform: scale(1.12); box-shadow: 0 0 16px rgb(240 194 122 / 0.7); } 100% { transform: none; box-shadow: none; } }
.pp-k.now { color: var(--ink); border-color: color-mix(in srgb, var(--gold) 60%, var(--line-2)); animation: ppNow 1.6s ease-in-out infinite; }
@keyframes ppNow { 50% { box-shadow: 0 0 12px rgb(240 194 122 / 0.45); } }
#crumbs.wt-gold { position: relative; z-index: 95; border-radius: 10px; box-shadow: 0 0 0 1.5px var(--gold), 0 0 18px rgb(240 194 122 / 0.55); transition: box-shadow 0.4s ease; }
.wt-map .wm-panel { fill: rgb(12 12 18 / 0.85); stroke: rgb(255 255 255 / 0.14); }
.wt-map .wm-claim { fill: rgb(240 194 122 / 0.22); stroke: var(--gold); stroke-width: 1.2; animation: wmClaim 1.8s ease-in-out infinite; }
@keyframes wmClaim { 50% { fill: rgb(240 194 122 / 0.45); filter: drop-shadow(0 0 6px rgb(240 194 122 / 0.8)); } }
.wt-map .wm-t.wm-claim-t { font-size: 8px; }
.wt .btns.wt-si { flex-direction: column; align-items: center; gap: 10px; }
.wt .wt-join { text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .pp-k.now, .wt-map .wm-claim { animation: none; } }
/* batch 33 (items 1186 to 1194): the Sigil Trials. A larger win (the field glows, rings and rays in the Sigil's colour),
   ripples, a ring of time, Karsina's rings that turn others (dashed: one, double: two) and their lines glowing when a
   round is met, Kovanthe's range in green, Quill's noon mark and red arrowheads, the Nexus's core pulse, and the Abyss's
   Hollow Crown */
.tr-field { transition: opacity 0.45s ease, transform 0.5s cubic-bezier(.2,.8,.2,1), box-shadow 0.6s ease; }
.tr-field.won { box-shadow: 0 0 70px color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 50px color-mix(in srgb, var(--c) 25%, transparent); }
.tr-ripple { fill: none; stroke: var(--c); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: trRipple 0.9s ease-out forwards; pointer-events: none; }
.tr-ripple.good { stroke: color-mix(in srgb, var(--c) 50%, #fff); }
.tr-ripple.bad { stroke: #ff6b6b; }
.tr-ripple.big { stroke-width: 3; animation-duration: 1.3s; }
@keyframes trRipple { from { transform: scale(0.3); opacity: 0.95; } to { transform: scale(3.4); opacity: 0; } }
.tr-burst line { stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 34 300; stroke-dashoffset: 34; animation: trRay 1.2s ease-out forwards; pointer-events: none; }
@keyframes trRay { from { stroke-dashoffset: 34; opacity: 1; } to { stroke-dashoffset: -120; opacity: 0; } }
.tr-time { fill: none; stroke: color-mix(in srgb, var(--c) 45%, transparent); stroke-width: 1.4; stroke-linecap: round; transition: stroke 0.4s ease; }
.tr-time.low { stroke: rgb(255 107 107 / 0.7); }
.tr-gear.ctl1 .tr-band { stroke-dasharray: 4 5; }
.tr-gear.ctl2 .tr-band { stroke-dasharray: 10 3 2 3; }
.tr-gear.glow .tr-notch { fill: #fff; filter: drop-shadow(0 0 4px var(--c)); }
.tr-gear.glow .tr-band { stroke: color-mix(in srgb, var(--c) 80%, #fff); }
.tr-range { stroke: rgb(110 226 180 / 0.24); }
.tr-range.press { animation: trRange 0.5s ease; }
@keyframes trRange { 30% { stroke: rgb(110 226 180 / 0.7); } }
@keyframes trPress { 30% { fill: rgb(110 226 180 / 0.75); transform: scale(0.94); } }
/* batch 35 (1250): the Seal's good press is plainly green (a keyframe of its own: the old name was defined twice and
   faded from the faction's yellow); the range a soft cyan band between two crisp edges */
.tr-wax.press { animation: trSeal 0.6s ease-out; }
@keyframes trSeal { 0%, 40% { fill: #2fd68a; stroke: #9cf7c8; transform: scale(0.94); } 100% { fill: color-mix(in srgb, var(--c) 28%, #0a0a10); } }
.tr-range { stroke: rgb(120 215 255 / 0.13); }
.tr-edge { fill: none; stroke: rgb(165 230 255 / 0.7); stroke-width: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px rgb(120 215 255 / 0.6)); }
.tr-edge.press, .tr-range.press { animation: trEdge 0.6s ease-out; }
@keyframes trEdge { 0%, 40% { stroke: rgb(110 240 170 / 0.9); } }
/* batch 35 (1249): the Abyss's ember while held */
.tr-ember.charge .glow { fill: rgb(255 190 110 / 0.55); animation: trCharge 0.5s ease-in-out infinite alternate; }
@keyframes trCharge { to { r: 15; } }
/* batch 35 (1245): the Eclipse's wanted shape pops in when it changes */
.tr-want.swap .tr-want-s { animation: trSwap 0.45s ease-out; transform-box: fill-box; transform-origin: center; }
@keyframes trSwap { 0% { transform: scale(0.3); opacity: 0; } 60% { transform: scale(1.35); opacity: 1; } }
.tr-noon { stroke: rgb(255 226 160 / 0.45); stroke-width: 1.6; stroke-linecap: round; }
.tr-foe polygon { fill: #ff5a5a; transition: fill 0.15s ease; }
.tr-foe.hit polygon { fill: #fff; }
.tr-field.burst .tr-heart { fill: #fff; transition: fill 0.1s ease; }
.tr-core.pulse { animation: trCore 0.6s ease; transform-box: fill-box; transform-origin: center; }
@keyframes trCore { 30% { transform: scale(1.8); fill: #fff; } }
.tr-c path { stroke-width: 7; stroke-linejoin: round; }
.tr-hollow { fill: #040406; stroke: color-mix(in srgb, var(--c) 60%, transparent); stroke-width: 1.2; }
.tr-crown path { fill: none; stroke: var(--c); stroke-width: 3.2; stroke-linecap: round; opacity: 0.85; }
.tr-crown path.sp { fill: color-mix(in srgb, var(--c) 70%, #fff); stroke: none; opacity: 0.7; }
.tr-crown { transition: opacity 0.6s ease; }
.tr-crown.i path { stroke-width: 2.4; }
.tr-ember .core { fill: #ffd9a0; transition: fill 0.2s ease; }
.tr-ember .glow { fill: rgb(255 170 90 / 0.3); filter: blur(4px); }
.tr-ember.bad .core { fill: #ff6b6b; }
.tr-ember.gone { opacity: 0; transition: opacity 0.35s ease; }
@media (prefers-reduced-motion: reduce) { .tr-ripple, .tr-burst line, .tr-core.pulse { animation-duration: 0.01s; } }
/* batch 33 (items 1180, 1164): RELIVE THE MYSTERY under a completed Secret's hint (one button a Sigil for the trials),
   and the admin popup's Games list */
.rl-host { display: grid; justify-items: center; gap: 8px; margin: 22px auto 0; width: 100%; }
/* batch 34: a replayed table or tile grid as wide as the page (it shrank to its buttons' width) */
.rl-host > .hh-host, .rl-host > .mm-host { justify-self: stretch; width: 100%; margin-top: 18px; }
.rl-k { margin: 0; }
.rl-btns { flex-wrap: wrap; justify-content: center; gap: 8px; }
.rl-b img { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; }
.rl-host .btn.rl-b:not(.gold) { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.rl-host .btn.rl-b:not(.gold):hover { background: color-mix(in srgb, var(--c) 12%, transparent); }
.cxa-games { flex-wrap: wrap; gap: 6px; }
/* batch 33 (items 1153 to 1162): the tutorial. The step dots at the lower left, in line with the buttons; NEXT greyed on
   the Controls step until it is done (selecting it then shakes it with the error sound), then gold and glowing; each
   Controls mark fills as its step is done; a smaller window on a phone; the pictures' new parts */
.wt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wt-foot .wt-dots { margin: 0; flex-wrap: wrap; }
.wt .btn.gold.wt-wait { background: transparent; color: var(--muted); border-color: var(--line-2); box-shadow: none; filter: grayscale(1); opacity: 0.6; cursor: not-allowed; }
.wt .btn.nope { animation: trShake 0.42s ease; }
.wt .btn.gold.wt-ready { animation: wtReady 1.8s ease-in-out infinite; box-shadow: 0 0 0 2px #ffe2a6, 0 0 14px rgb(240 194 122 / 0.6); }   /* batch 36 (1265): a lasting highlight once NEXT turns gold */
@keyframes wtReady { 50% { box-shadow: 0 0 18px rgb(240 194 122 / 0.75); } }
.pp-k { background: linear-gradient(90deg, rgb(240 194 122 / 0.22) calc(var(--p, 0) * 100%), transparent 0); }
.pp-k.on { background: none; }
@media (max-width: 600px) {
  .wt { width: min(360px, calc(100vw - 24px)); height: min(470px, calc(100dvh - 24px)); padding: 16px 16px 14px; }
  .wt h2 { font-size: 1.08rem; margin: 2px 0 6px; }
  .wt p { font-size: 0.84rem; line-height: 1.42; }
  .wt-map { margin: 2px 0 10px; }
  .wt .btns { gap: 8px; }
  .wt .btn { padding-inline: 12px; }
  .wt-dots i { width: 5px; height: 5px; }
}
.wt-map .wm-side { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.wt-map .wm-sgl { fill: rgb(240 194 122 / 0.28); filter: blur(4px); }
.wt-map .wm-t.c.wm-plus { fill: #fff; font-size: 10px; }
.wt-map .wm-t.c.wm-lab { fill: var(--muted); font-size: 6.5px; }
.wt-map .wm-row2 { fill: rgb(255 255 255 / 0.08); }
.wt-map .wm-q { font: 700 10px var(--display, sans-serif); letter-spacing: 0.14em; fill: var(--ink, #fff); }
.wt-map .wm-lit { fill: none; stroke: #b9a4ff; stroke-width: 1.6; }
.wt-map .wm-rip { fill: none; stroke: #fff; stroke-width: 1; }
.wt-map .wm-cur { fill: #fff; stroke: rgb(0 0 0 / 0.6); stroke-width: 0.8; }
.wt-map .wm-flow { animation: wmFlow 8s linear infinite; }
@keyframes wmFlow { to { stroke-dashoffset: -70; } }
@media (prefers-reduced-motion: reduce) { .wt-map .wm-flow, .wt .btn.gold.wt-ready { animation: none; } }
/* batch 33 (items 1200, 1201): equipping a Sigil: once the screen brightens (the flight to the header), clicks pass
   through to the map; the dim comes in a little quicker */
.equip-fx.free, .equip-fx.free * { pointer-events: none !important; }
.equip-fx { transition: background-color 0.35s ease; }

/* batch 34: Sigil Trials in three rounds: the round diamonds at the foot, the fails (dots) and failed rounds (crosses)
   over them; a fail flashes the rim red, a round starting again sends a red ring inwards */
.tr-rounds polygon, .tr-strikes circle, .tr-lives path { pointer-events: none; }
.tr-rounds polygon { fill: none; stroke: rgb(255 255 255 / 0.3); stroke-width: 1.1; transition: fill 0.4s ease, stroke 0.4s ease; }
.tr-rounds polygon.now { stroke: var(--c); animation: trNow 1.6s ease-in-out infinite; }
.tr-rounds polygon.won { fill: var(--c); stroke: var(--c); }
@keyframes trNow { 50% { stroke: #fff; } }
.tr-strikes circle { fill: none; stroke: rgb(255 255 255 / 0.28); stroke-width: 1; transition: fill 0.3s ease, stroke 0.3s ease; }
.tr-strikes circle.lost { fill: #ff6b6b; stroke: #ff6b6b; }
.tr-lives path { fill: none; stroke: rgb(255 255 255 / 0.16); stroke-width: 1.3; stroke-linecap: round; transition: stroke 0.3s ease; }
.tr-lives path.lost { stroke: #ff6b6b; }
.tr-field.hurt { animation: trShake 0.42s ease, trHurt 0.8s ease; }
@keyframes trHurt { 25% { box-shadow: 0 0 0 2px rgb(255 107 107 / 0.55), 0 0 40px rgb(255 80 80 / 0.4), inset 0 0 40px rgb(255 80 80 / 0.25); } }
.tr-reset { fill: none; stroke: #ff6b6b; stroke-width: 2; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: trReset 1s ease-in forwards; }
.tr-reset.big { stroke-width: 4; }
@keyframes trReset { from { transform: scale(1); opacity: 0.9; } to { transform: scale(0.08); opacity: 0; } }
.tr-noon { fill: none; stroke: rgb(255 226 160 / 0.5); stroke-width: 1.4; stroke-dasharray: 3 3; }
.tr-foe.big polygon { fill: #ff3d3d; }
.tr-foe.hurt2 polygon { fill: #ff7a5a; } .tr-foe.hurt1 polygon { fill: #ffb08a; }
@media (prefers-reduced-motion: reduce) { .tr-rounds polygon.now { animation: none; } .tr-reset { animation-duration: 0.01s; } }
/* batch 34: Sleight of Hand's fails: three small crosses under the table, and the table shakes and flashes red */
.hh-fails i { width: 8px; height: 8px; border: 0; border-radius: 0; background: none; position: relative; opacity: 0.35; }
.hh-fails i::before, .hh-fails i::after { content: ""; position: absolute; left: 50%; top: -1px; width: 1.5px; height: 10px; background: #fff; transform: rotate(45deg); }
.hh-fails i::after { transform: rotate(-45deg); }
.hh-fails i.lost { opacity: 1; } .hh-fails i.lost::before, .hh-fails i.lost::after { background: #ff6b6b; }
.hh-table.fail { animation: trShake 0.42s ease, hhFail 0.9s ease; }
@keyframes hhFail { 25% { border-color: rgb(255 107 107 / 0.8); box-shadow: inset 0 0 50px rgb(255 80 80 / 0.3), 0 0 24px rgb(255 80 80 / 0.35); } }
/* batch 34: the admin's Games list: a row a game, its name, found, PLAY and COMPLETE */
.cxa-games li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: #d8d1c6; }
.cxa-games li > span { flex: 1; min-width: 0; }
.cxa-games li small { margin-left: 0; min-width: 44px; }
.cxa-games li .btn { padding: 4px 10px; font-size: 0.6rem; }
.cxa-games { max-height: 340px; }
/* batch 34: the tutorial: the crumbs pulse while lit; the figure, its fanfare, the claim's fanfare, the typed marks, the
   crumbs in the Omnium's picture */
#crumbs.wt-gold { animation: wtCrumb 1.8s ease-in-out infinite; background: rgb(255 226 166 / 0.16); filter: brightness(1.35); }   /* batch 36 (1264): lighter */
@keyframes wtCrumb { 50% { box-shadow: 0 0 0 2px #ffe2a6, 0 0 30px rgb(240 194 122 / 0.85); } }
.wt-map .wm-sil { fill: rgb(240 194 122 / 0.16); stroke: var(--gold); stroke-width: 1.4; }
.wt-map .wm-fan-c, .wt-map .wm-fan-r { fill: none; stroke: var(--gold); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; }
.wt-map .wm-spk { fill: #ffe2a6; }
.wt-map .wm-key { fill: rgb(255 255 255 / 0.7); }
.wt-map .wm-crumb { fill: rgb(240 194 122 / 0.12); stroke: var(--gold); stroke-width: 1.2; }
@media (prefers-reduced-motion: reduce) { #crumbs.wt-gold { animation: none; } }
/* batch 34 (1151, 1217): Message From The Gods on a layer of its own (its fade composited, never repainting the map) */
.map-fx .gods-svg { position: absolute; left: 0; top: 0; overflow: visible; will-change: opacity; pointer-events: none; }
/* the group itself stays fully shown and never transitions (the old 45 s and 6 s fades on it animated every stepped
   change, repainting the whole map each frame); its layer (.gods-svg) fades instead */
.map-fx .gods-svg .stars.gods { opacity: 1 !important; transition: none !important; }
/* batch 35 (1240): Message From The Gods: the map dimmed and still beneath the stars while they show */
.gods-dim { position: absolute; inset: -50vmax; background: rgb(2 2 4 / 0.62); opacity: 0; pointer-events: none; transition: opacity 2.5s ease; will-change: opacity; }
.gods-dim.on { opacity: 1; transition-duration: 1.6s; }
html.gods-hush .view.map :not(.gods-svg, .gods-svg *), html.gods-hush .view.map ::before, html.gods-hush .view.map ::after { animation-play-state: paused !important; }
/* batch 37 (1284): the map holds still behind an open window; far out, the Realms' hidden orbits and radials stop turning */
html.map-hush .view.map *, html.map-hush .view.map ::before, html.map-hush .view.map ::after { animation-play-state: paused !important; }
.map-area.far :is(.rm-orbs, .rm-rad, .rm-sat, .ic-orb, .rm-x), .map-area.far :is(.rm-orbs, .rm-rad, .rm-sat, .ic-orb, .rm-x) * { animation-play-state: paused !important; }
.map-fx .gods-svg .cn-glow { filter: blur(4px); }
/* batch 34: a veiled Secret (its Sigil not borne): a faint dashed ring and a dim point, a little brighter on hover */
.pin.veiled .vl-ring { fill: none; stroke: var(--c); stroke-opacity: 0.32; stroke-width: 1.2; stroke-dasharray: 2.5 3; vector-effect: non-scaling-stroke; }
.pin.veiled .vl-dot { fill: var(--c); fill-opacity: 0.4; }
.pin.veiled { opacity: 0.75; transition: opacity 0.3s ease; }
.pin.veiled:hover, .pin.veiled:focus-visible { opacity: 1; }
.pin.veiled:hover .vl-ring { stroke-opacity: 0.7; }
/* batch 35 (1244): a Sigil Trial not yet answerable: its faction's icon, dim and grey, in a dashed ring */
.pin.vl-trial .vl-ico { opacity: 0.38; filter: grayscale(0.7); transition: opacity 0.3s ease, filter 0.3s ease; }
.pin.vl-trial:hover .vl-ico, .pin.vl-trial:focus-visible .vl-ico { opacity: 0.7; filter: grayscale(0.2); }
.brief-ico .brief-fac { display: contents; cursor: pointer; }
.brief-ico .brief-fac:hover img, .brief-ico .brief-fac:focus-visible img { filter: drop-shadow(0 0 8px var(--fc)) brightness(1.15); }

/* batch 35 (1172): zoomed out, a constellation not yet woken or drawn this visit is hidden (the glint, the Night Sky) */
.map-area.far .heavens .stars.wits:not(.lit):not(.done), .map-area.far .stars.ns:not(.done) { opacity: 0 !important; pointer-events: none; transition: opacity 0.6s ease; }
/* batch 35 (1181): close in (the deep zoom) a Dark Star glows less */
.map-area.deep .pin.deadstar .ds-halo { animation-name: dsHaloLow; }
@keyframes dsHaloLow { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.32; } }
.map-area.deep .pin.deadstar .ds-dot { filter: drop-shadow(0 0 2px rgb(200 208 240 / 0.5)); }

/* batch 36: the Abyss's crown narrowing (1269); the Nexus's arrowheads and green success (1271) */
.tr-crown.shrink path { animation: trShrink 0.7s ease-out; }
@keyframes trShrink { 25% { stroke: #fff; fill-opacity: 1; opacity: 1; stroke-width: 5; } }

.tr-ripple.shut { stroke: var(--c); stroke-width: 2.4; animation: trShut 0.8s ease-in forwards; }
@keyframes trShut { from { transform: scale(1.35); opacity: 0; } 40% { opacity: 0.9; } to { transform: scale(1); opacity: 0; } }
.tr-arw { stroke: none; }
.tr-green .tr-ripple.good { stroke: #6ee2a0; }
.tr-green .tr-core.pulse { animation-name: trCoreG; }
@keyframes trCoreG { 30% { transform: scale(1.8); fill: #6ee2a0; } }
@media (prefers-reduced-motion: reduce) { .tr-crown.shrink path, .tr-ripple.shut { animation-duration: 0.01s; } }
/* batch 36 (1275): the admin's PLAY window: an empty stage; a field game opens above it */
.cxa-play .ab-in { width: min(560px, calc(100vw - 32px)); }
.cxa-stage { min-height: 200px; margin: 10px 0 4px; border-radius: 14px; border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 50%, rgb(255 255 255 / 0.03), rgb(0 0 0 / 0.35)); }
.cxa-stage.fld { height: min(440px, calc(100vh - 260px)); }
.pf-field.cxa-over { z-index: 96; }
/* batch 36 (1263): Message From The Gods on a canvas of its own; the map beneath dimmed further */
.gods-cv { position: absolute; left: 0; top: 0; pointer-events: none; will-change: opacity; z-index: 1; }
.gods-dim { background: rgb(2 2 4 / 0.72); }
.safe .gods-cv { display: none; }
/* batch 36 (1277): zoomed out (below 1.6 times a map's first view) the Secrets hide until met this visit: the
   constellations, the 3D puzzles, the Dark Stars and the veiled points */
.map-area.lowz .pin.sightline:not(.met):not(.done), .map-area.lowz .pin.deadstar:not(.met):not(.found), .map-area.lowz .pin.veiled:not(.met),
.map-area.lowz .heavens .stars.wits:not(.lit):not(.done):not(.met), .map-area.lowz .stars.ns:not(.done):not(.met) { opacity: 0 !important; pointer-events: none; transition: opacity 0.6s ease; }
/* batch 36 (1166 to 1168, 1283): the Nexus's whirlpool turns slowly once drawn (hovered or selected); selected, its
   tide runs light out along every Realm's line and back in; and any Realm selected keeps a small sway and breath once
   its drawing is done (only while selected) */
.rm-drawg .nx-whirl { transform-box: view-box; transform-origin: 0 0; }
.realm:is(:hover, .sel) .nx-whirl, .centre-pin:hover .nx-whirl { animation: spin 26s linear 2.6s infinite reverse; }
.rm-drawg .nx-wh { stroke-width: 0.7; }
.realm .nx-tide { fill: none; stroke: color-mix(in srgb, var(--c) 45%, #fff); stroke-width: 1.4; stroke-linecap: round; opacity: 0; transition: opacity 0.8s ease; }
.realm.sel .nx-tide { opacity: 0.85; animation: nxTide 4.8s cubic-bezier(.45,0,.55,1) 2.6s infinite; }
@keyframes nxTide { 0% { stroke-dashoffset: 0; } 50% { stroke-dashoffset: calc(var(--tw) * -1); } 100% { stroke-dashoffset: 0; } }
.realm.sel .rm-drawg:not(.chaotic):not(.strong) { transform-box: view-box; transform-origin: 0 0; animation: rmSway 9s ease-in-out 3.4s infinite; }
@keyframes rmSway { 0%, 100% { rotate: 0deg; scale: 1; } 30% { rotate: 2.4deg; scale: 1.018; } 70% { rotate: -2.4deg; scale: 0.99; } }
@media (prefers-reduced-motion: reduce) { .nx-whirl, .nx-tide, .realm.sel .rm-drawg { animation: none !important; } }
.lite .realm.sel .rm-drawg, .safe .realm.sel .rm-drawg { animation: none; }
/* batch 37 (1293): the Nexus's centre green on a success, whatever else flashes there (its core, every success ring) */
.tr-green .tr-core { fill: color-mix(in srgb, #6ee2a0 45%, #fff); }
.tr-green .tr-ripple.big, .tr-green .tr-ripple.good { stroke: #6ee2a0; }
/* batch 37 (1290): Jendarri's vines: an arrowhead at each tip, the one place a select cuts it */
.tr-vine-head polygon { fill: var(--c); stroke: color-mix(in srgb, var(--c) 40%, #fff); stroke-width: 1; filter: drop-shadow(0 0 3px var(--c)); transition: fill 0.3s ease, opacity 1.1s ease; }
.tr-vine-head { transition: opacity 1.1s ease; }
.tr-vine-head.cut polygon { fill: rgb(255 255 255 / 0.35); filter: none; }
.tr-vine-head.bad polygon { fill: #ff6b6b; }
.tr-vine-head.fade { opacity: 0; }
/* batch 37 (1296): a Realm's select screen: small lights run along its drawing once it is drawn, and its steps glimmer in turn */
.rm-glint { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 0.03 0.97; stroke-dashoffset: 1; opacity: 0; pointer-events: none; filter: drop-shadow(0 0 3px var(--c)); }
.rm-glint.sm { stroke-width: 1.3; stroke-dasharray: 0.02 0.98; }
.realm.sel .rm-glint { opacity: 0.85; transition: opacity 1s ease 2.4s; animation: rmGlint var(--gt, 7s) linear var(--gd, 3s) infinite; }
@keyframes rmGlint { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.realm.sel .rm-drawg:not(.chaotic) .rm-draw.stp { animation: rmStepGlim 5.2s ease-in-out calc(var(--sd, 0s) + 3.4s) infinite; }
@keyframes rmStepGlim { 0%, 100% { opacity: 1; } 45% { opacity: 0.5; } 55% { opacity: 1; stroke-width: 1.9; } }
.lite .rm-glint, .safe .rm-glint { display: none; }
@media (prefers-reduced-motion: reduce) { .rm-glint { display: none; } .realm.sel .rm-drawg .rm-draw.stp { animation: none; } }
.realm.sel .rm-drawg.undraw .rm-glint { opacity: 0; transition-delay: 0s; }
/* batch 38 (1302): the Chronicle's side menu never scrolls up behind the back button (‹ THE CHRONICLE): it is held below
   it to the end of every category's page (Locations and Characters did; the shorter categories scrolled it away), and
   scrolls on its own when it is taller than the room left beneath the button */
@media (min-width: 901px) { .view.chron .rail { max-height: calc(100vh - 202px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; } .view.chron .rail::-webkit-scrollbar { display: none; } .view.chron .chron-grid { min-height: calc(100vh - 202px); } }
/* batch 38 (1303): Sign Of The Gods: the faint pulsing point above the central Realms (after a minute on the Omnium) */
.gs-pt { opacity: 0; pointer-events: none; transition: opacity 6s ease; }
.gs-pt.wake { opacity: 1; pointer-events: auto; cursor: pointer; }
.gs-pt-hit { fill: transparent; }
.gs-pt-glow { fill: #ffd9a0; opacity: 0.16; transform-box: fill-box; transform-origin: center; animation: gsPulse 3.6s ease-in-out infinite; }
.gs-pt-core { fill: #fff1d8; opacity: 0.75; }
.gs-pt:hover .gs-pt-glow, .gs-pt:focus-visible .gs-pt-glow { opacity: 0.3; }
.gs-pt:focus { outline: none; }
@keyframes gsPulse { 0%, 100% { scale: 0.7; opacity: 0.1; } 50% { scale: 1.25; opacity: 0.24; } }
@media (prefers-reduced-motion: reduce) { .gs-pt-glow { animation: none; } }
/* its page: black, over everything but the header; the map beneath stops drawing (html.gs-open) */
.gs-page { position: fixed; inset: 0; z-index: 29; background: #000; opacity: 0; transition: opacity 1.2s ease; }
.gs-page.in { opacity: 1; }
html.gs-open .view.map, html.gs-open .about-b:not(.menu-b), html.gs-open .sky, html.gs-open .stage { visibility: hidden; }   /* batch 42 (1471): never the Menu button */
html.gs-open .view.map *, html.gs-open .view.map ::before, html.gs-open .view.map ::after { animation-play-state: paused !important; }
.gs-page .gs-field { position: absolute; inset: var(--top) 0 0; }
.gs-back { position: absolute; z-index: 2; left: 16px; top: calc(var(--toph, var(--top)) + 14px); }   /* batch 42 (1470): below the breadcrumbs when they drop below the header */
.gs-field { position: relative; overflow: hidden; background: #000; cursor: grab; touch-action: none; outline: none; }
.gs-field.grab { cursor: grabbing; }
.gs-field.won { cursor: default; }
.gs-cv, .gs-fx { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.gs-fx { overflow: visible; }
.gs-tip { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; font: 600 0.6rem/1.4 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: rgb(255 241 216 / 0.45); transition: opacity 1.5s ease; pointer-events: none; }
.gs-tip.gone { opacity: 0; }
/* inside the Chronicle's RELIVE and the admin's PLAY window */
.rl-play .gs-field, .cxa-stage .gs-field { width: 100%; height: min(62vh, 520px); border-radius: 12px; border: 1px solid var(--line); }
/* batch 38 (1304, 1306): games in a box of their own (the Chronicle's RELIVE below its button, the admin's PLAY window) */
.rl-play { position: relative; width: 100%; align-self: stretch; margin: 14px 0 6px; min-height: 120px; }
.rl-play.fld, .rl-play:has(.solo-f), .rl-play:has(.at-solo-w), .rl-play:has(.solo-svg) { height: min(62vh, 480px); }
.rl-play.won .gs-field { opacity: 0.55; transition: opacity 2s ease; }
.rl-done { margin: 10px 0 0; text-align: center; color: var(--gold); }
.cxa-stage.solo { position: relative; overflow: hidden; }
.cxa-stage.solo .gs-field { height: 100%; border: 0; border-radius: inherit; }
.cxa-stage.fld { position: relative; }
.pf-field.in-host { position: absolute; z-index: 2; }
.solo-f { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 45%, rgb(30 26 22 / 0.5), rgb(0 0 0 / 0.75)); touch-action: none; user-select: none; }
.cxa-stage .solo-f { border: 0; }
.solo-svg { display: block; width: 100%; height: 100%; }
.solo-svg .tp-anom { fill: #7fd0c0; opacity: 0.6; }
.solo-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.solo-dots i { width: 7px; height: 7px; rotate: 45deg; border: 1px solid rgb(240 194 122 / 0.5); }
.solo-dots i.on { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.solo-fan { position: absolute; width: 0; height: 0; pointer-events: none; }
.solo-fan::before, .solo-fan::after { content: ""; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #ffd77a; animation: soloFan 1.4s ease-out forwards; }
.solo-fan::after { animation-delay: 0.2s; border-width: 1px; }
@keyframes soloFan { from { scale: 0.4; opacity: 1; } to { scale: 4; opacity: 0; } }
.solo-tip { position: absolute; left: 0; right: 0; top: 14px; margin: 0; text-align: center; font: 600 0.6rem/1.4 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: rgb(255 241 216 / 0.45); transition: opacity 1s ease; pointer-events: none; }
.solo-tip.gone { opacity: 0; }
/* Anchors: the warmth under the pointer, the Anchor once found */
.solo-anc { cursor: crosshair; }
.anc-warm { position: absolute; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; background: radial-gradient(circle, rgb(255 150 70 / 0.55), rgb(255 120 40 / 0.12) 45%, transparent 70%); opacity: 0; pointer-events: none; }
.anc-at { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid #ffd77a; box-shadow: 0 0 18px #ffb347, inset 0 0 8px #ffb347; opacity: 0; scale: 0.5; transition: opacity 0.4s ease, scale 0.5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.anc-at.on { opacity: 1; scale: 1; }
/* Dark Stars: the area's faint ring, the lens, the star */
.solo-ds { cursor: none; background: radial-gradient(ellipse at 50% 45%, rgb(14 14 24 / 0.8), rgb(0 0 0 / 0.85)); }
.ds-area { position: absolute; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%; border: 1px dashed rgb(154 163 216 / 0.28); background: radial-gradient(circle, rgb(154 163 216 / 0.07), transparent 70%); pointer-events: none; }
.ds-lens { position: absolute; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.25); box-shadow: inset 0 0 18px rgb(154 163 216 / 0.25); pointer-events: none; }
.ds-star { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #e8ecff; box-shadow: 0 0 10px #9aa3d8, 0 0 0 5px rgb(154 163 216 / 0.25); opacity: 0; pointer-events: none; }
.ds-star.got { box-shadow: 0 0 22px #c9d0ff, 0 0 0 9px rgb(154 163 216 / 0.35); transition: box-shadow 0.6s ease; }
/* Remnants: the afterimage of a lost world */
.ai-ghost { position: absolute; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; border: 1px solid hsl(var(--hue, 30) 70% 70% / 0.5); background: radial-gradient(circle at 40% 38%, hsl(var(--hue, 30) 70% 70% / 0.35), transparent 70%); opacity: 0; pointer-events: none; transition: opacity 0.9s ease; cursor: pointer; }
.ai-ghost.on { opacity: 0.8; pointer-events: auto; }
.ai-ghost.got { opacity: 1; scale: 1.25; box-shadow: 0 0 30px hsl(var(--hue, 30) 80% 70% / 0.8); transition: scale 0.5s ease, box-shadow 0.5s ease; }
/* Attunement alone: a plain six-faceted Sigil in the middle */
.at-solo-w { height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; }
.emblem.at-solo { position: relative; display: block; width: min(240px, 60vw); aspect-ratio: 1; }
.emblem.at-solo .at-hex { position: absolute; inset: 0; width: 100%; height: 100%; }
.emblem.at-solo .at-hex polygon { fill: rgb(240 194 122 / 0.05); stroke: var(--c); stroke-width: 1; opacity: 0.7; }
.emblem.at-solo .at-hex polygon.in { fill: none; opacity: 0.35; }
.at-solo-t { margin: 0; opacity: 0.6; }
/* batch 38 (1308): Ythram's Quarantine: an infected dot reddens inside its closing fuse ring; the marks at the top count
   the infected (red), a burst flares */
.tr-quar .tr-pips circle.won { fill: #ff6a5a; stroke: #ff6a5a; }
.tr-quar .tr-dot { cursor: pointer; }
.tr-dot.inf { fill: #ff7a6a; filter: drop-shadow(0 0 4px #ff5a4a); }
.tr-fuse { fill: none; stroke: #ff7a6a; stroke-width: 1.2; opacity: 0.85; pointer-events: none; }
.tr-dot.cut { fill: #9ff0a8; opacity: 0; transition: opacity 0.5s ease, fill 0.1s; }
.tr-dot.burst { fill: #ff4a3a; opacity: 0; r: 10; transition: opacity 0.6s ease, r 0.6s ease; }
/* batch 38 (1310): the select-screen drawings' moving parts (mapkit.js EXTRA): drawn in with the rest, then, once drawn,
   each moves on top of the drawing's own turn while the Realm is hovered or selected */
.rm-mov { transform-box: view-box; transform-origin: 0 0; }
:is(.realm.sel, .realm:hover, .realm:focus-visible, .centre-pin:hover, .centre-pin.on) .rm-mov { animation: var(--mva) var(--ms) var(--mve, ease-in-out) var(--md) infinite; }
.rm-mov.mv-spin { --mva: spin; --mve: linear; }
.rm-mov.mv-spinr { --mva: spinR; --mve: linear; }
.rm-mov.mv-pulse { --mva: mvPulse; }
.rm-mov.mv-breathe { --mva: mvBreathe; }
.rm-mov.mv-probe { --mva: mvProbe; }
.rm-mov.mv-sway { --mva: mvSway; }
.rm-mov.mv-flick { --mva: mvFlick; --mve: steps(1); }
.rm-mov.mv-ping { --mva: mvPing; --mve: ease-out; }
.rm-mov.mv-shoot { --mva: mvShoot; --mve: cubic-bezier(.3,0,.6,1); }
@keyframes spinR { to { transform: rotate(-360deg); } }
@keyframes mvPulse { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.06; opacity: 0.55; } }
@keyframes mvBreathe { 0%, 100% { scale: 0.92; } 50% { scale: 1.06; } }
@keyframes mvProbe { 0%, 100% { scale: 0.55 1; } 45%, 60% { scale: 1.12 1; } }
@keyframes mvSway { 0%, 100% { rotate: -9deg; } 50% { rotate: 14deg; } }
@keyframes mvFlick { 0% { opacity: 1; } 18% { opacity: 0.35; } 24% { opacity: 1; } 55% { opacity: 0.6; } 62% { opacity: 1; } 80% { opacity: 0.25; } 86% { opacity: 0.9; } }
@keyframes mvPing { 0% { scale: 1; opacity: 1; } 100% { scale: 1.4; opacity: 0; } }
@keyframes mvShoot { 0% { translate: 0 0; opacity: 0; } 8% { opacity: 1; } 60% { translate: 38px 0; opacity: 0; } 100% { translate: 38px 0; opacity: 0; } }
.mv-shoot .rm-draw { stroke-width: 2.2 !important; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .rm-mov { animation: none !important; } }
.lite .rm-mov, .reduce .rm-mov { animation: none !important; }
/* batch 38 (1299): First Steps, a short checklist after the tutorial (top right, under the header; folds to a tab) */
.fs-box { position: fixed; z-index: 24; right: 16px; top: calc(var(--top) + 12px); width: 262px; padding: 10px 12px 12px; border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line-2)); border-radius: 12px; background: rgb(8 8 11 / 0.88); box-shadow: 0 10px 30px rgb(0 0 0 / 0.45); opacity: 0; translate: 0 -8px; transition: opacity 0.6s ease, translate 0.6s ease; }
.fs-box.in { opacity: 1; translate: 0 0; }
.fs-box.fold { width: auto; padding: 6px 34px 6px 10px; }
.fs-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; width: 100%; padding: 0 22px 0 0; border: 0; background: none; color: var(--ink); cursor: pointer; text-align: left; }
.fs-head .eyebrow { margin: 0; color: var(--gold); }
.fs-head b { font: 600 0.7rem/1 var(--mono); color: var(--muted); }
.fs-bar { grid-column: 1 / -1; height: 2px; border-radius: 2px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.fs-bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--ember-2, #ff9a3a), var(--gold)); transition: width 0.8s ease; }
.fs-box.fold .fs-bar { display: none; }
.fs-x { position: absolute; right: 6px; top: 4px; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--dim); font-size: 1rem; cursor: pointer; }
.fs-x:hover { color: var(--ink); }
.fs-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.fs-list a { display: grid; grid-template-columns: 16px 1fr; gap: 2px 8px; align-items: center; padding: 5px 6px; border-radius: 7px; color: var(--muted); text-decoration: none; font-size: 0.8rem; }
.fs-list a:hover { background: rgb(255 255 255 / 0.04); color: var(--ink); }
.fs-list small { grid-column: 2; color: var(--dim); font-size: 0.7rem; line-height: 1.35; }
.fs-mk { width: 9px; height: 9px; rotate: 45deg; border: 1px solid rgb(240 194 122 / 0.45); justify-self: center; }
.fs-list li.ok a { color: var(--dim); }
.fs-list li.ok .fs-t { text-decoration: line-through; text-decoration-color: rgb(240 194 122 / 0.5); }
.fs-list li.ok .fs-mk { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.fs-list li.next a { color: var(--ink); background: rgb(240 194 122 / 0.06); }
.fs-list li.next .fs-mk { animation: fsNext 2.2s ease-in-out infinite; }
@keyframes fsNext { 0%, 100% { box-shadow: 0 0 0 rgb(240 194 122 / 0); } 50% { box-shadow: 0 0 8px rgb(240 194 122 / 0.8); } }
.fs-box.tick { animation: fsTick 0.9s ease; }
@keyframes fsTick { 30% { box-shadow: 0 0 0 2px rgb(240 194 122 / 0.6), 0 0 26px rgb(240 194 122 / 0.5); } }
body.dossier-on .fs-box, html.gs-open .fs-box { opacity: 0; pointer-events: none; }
@media (max-width: 900px) { .fs-box { top: auto; bottom: 12px; right: 12px; width: min(262px, calc(100vw - 24px)); } }
@media (prefers-reduced-motion: reduce) { .fs-list li.next .fs-mk, .fs-box.tick { animation: none; } }
/* ---------------- batch 39 (2026-11-17) ---------------- */
/* 1312: the admin popup always shows its scrollbar; the tabs and the search bar stay at the top while it scrolls */
.ab-pop.admin .ab-in { overflow-y: scroll; }
.ab-pop.admin .cxa-top { position: sticky; top: -30px; z-index: 3; margin: 0 -30px 10px; padding: 12px 30px 10px; background: linear-gradient(180deg, rgb(16 16 21 / 0.99) 80%, rgb(16 16 21 / 0)); }
.ab-pop.admin .cxa-top .cxa-tabs { margin: 0 0 8px; }
.ab-pop.admin .cxa-part li[hidden], .ab-pop.admin .cxa-part tr[hidden] { display: none; }
/* 1314: "Not now, start exploring" below the sign-in window's buttons */
.about.milestone .fin-later { margin-top: 10px; justify-content: center; }
/* 1322 to 1334: the quest box (First Steps grown): upper left on the maps, lower left over the Chronicle and Sigils
   pages; shown with a record's panel open too; it folds (no ×); a step done flashes gold, then greys and leans; a
   questline walked glows the whole box */
.qb { position: fixed; z-index: 26; left: 16px; top: calc(var(--top) + 12px); width: 272px; padding: 10px 12px 11px; border: 1px solid color-mix(in srgb, var(--gold) 32%, var(--line-2)); border-radius: 12px; background: rgb(8 8 11 / 0.9); box-shadow: 0 10px 30px rgb(0 0 0 / 0.45); opacity: 0; transform: translateY(-6px); transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.8s ease, border-color 0.8s ease; }
.qb.in { opacity: 1; transform: none; }
body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb { top: auto; bottom: 16px; }
html.gs-open .qb { opacity: 0; pointer-events: none; }
.qb-head { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 7px; align-items: center; }
.qb-ic { grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line-2)); border-radius: 9px; background: rgb(240 194 122 / 0.07); color: var(--gold); transition: background 0.3s ease, box-shadow 0.3s ease; }
.qb-ic:hover { background: rgb(240 194 122 / 0.16); box-shadow: 0 0 14px rgb(240 194 122 / 0.35); }
.q-ic { width: 20px; height: 20px; fill: currentColor; }
.q-ic .q-star { fill: #0b0b0e; }
.qb-t { display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.qb-t .eyebrow { flex: none; }
.qb-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.82rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
.qb-n { margin-left: auto; flex: none; font: 600 0.58rem/1 var(--mono); letter-spacing: 0.1em; color: var(--muted); }
.qb-fold { flex: none; width: 14px; text-align: center; color: var(--muted); font: 600 0.8rem/1 var(--mono); }
.qb-bar { display: block; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.qb-bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, #b98a46, var(--gold)); box-shadow: 0 0 8px rgb(240 194 122 / 0.6); transition: width 0.8s ease; }
.qb-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.qb-list li { border-radius: 7px; }
.qb-st { display: flex; align-items: center; gap: 9px; width: 100%; padding: 5px 6px; border: 0; border-radius: 7px; background: none; color: #d8d1c6; font-family: inherit; font-size: 0.8rem; line-height: 1.3; text-align: left; text-decoration: none; cursor: pointer; }
.qb-st:hover { background: rgb(255 255 255 / 0.04); }
.qb-mk { flex: none; width: 10px; height: 10px; border: 1px solid color-mix(in srgb, var(--gold) 60%, var(--line-2)); transform: rotate(45deg); }
.qb-list li.ok .qb-mk { background: color-mix(in srgb, var(--gold) 45%, #555); border-color: transparent; }
.qb-list li.ok .qb-tx { color: var(--muted); font-style: italic; }
.qb-list li.next .qb-tx { color: var(--ink); }
.qb-list li.next .qb-mk { animation: qbPulse 2.2s ease-in-out infinite; }
@keyframes qbPulse { 50% { box-shadow: 0 0 10px rgb(240 194 122 / 0.8); background: rgb(240 194 122 / 0.35); } }
.qb-sub { display: block; margin: 0 6px 4px 25px; font-size: 0.72rem; line-height: 1.35; color: var(--muted); }
.qb-list li.ok .qb-sub { font-style: italic; }
.qb-list li.flash { animation: qbFlash 0.9s ease-out; }
@keyframes qbFlash { 0% { background: rgb(240 194 122 / 0); } 18% { background: rgb(240 194 122 / 0.42); box-shadow: 0 0 18px rgb(240 194 122 / 0.55); } 100% { background: rgb(240 194 122 / 0); box-shadow: none; } }
.qb.all { border-color: var(--gold); animation: qbAll 3.2s ease-out; }
@keyframes qbAll { 0% { box-shadow: 0 0 0 0 rgb(240 194 122 / 0); } 15% { box-shadow: 0 0 0 2px rgb(240 194 122 / 0.9), 0 0 46px rgb(240 194 122 / 0.75), inset 0 0 22px rgb(240 194 122 / 0.3); } 70% { box-shadow: 0 0 0 1px rgb(240 194 122 / 0.6), 0 0 30px rgb(240 194 122 / 0.45); } 100% { box-shadow: 0 10px 30px rgb(0 0 0 / 0.45); } }
@media (max-width: 900px) { .qb, body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb { top: auto; bottom: 12px; left: 12px; width: min(272px, calc(100vw - 24px)); } }
@media (prefers-reduced-motion: reduce) { .qb-list li.next .qb-mk, .qb-list li.flash, .qb.all { animation: none; } }
/* 1319, 1320: room below the Codex Score box, and the QUESTS box to its left */
.chron-hero .chron-stat { margin-bottom: 18px; }
.chron-quests { display: grid; gap: 8px; min-width: 260px; margin: 64px 0 18px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line-2)); border-radius: 12px; background: linear-gradient(160deg, rgb(240 194 122 / 0.08), rgb(10 10 13 / 0.6) 60%); color: inherit; text-decoration: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.chron-quests:hover { border-color: color-mix(in srgb, var(--gold) 65%, var(--line-2)); box-shadow: 0 0 22px rgb(240 194 122 / 0.18); }
.cq-top { display: flex; align-items: center; gap: 9px; }
.cq-ic { color: var(--gold); display: grid; }
.cq-lv { margin-left: auto; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.cq-name { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .chron-quests { margin: 10px 0 0; min-width: 0; width: 100%; } }
/* the Quests page */
.qp-h1 { display: flex; align-items: center; gap: 14px; }
.qp-h1i { color: var(--gold); display: grid; }
.qp-h1i .q-ic { width: 34px; height: 34px; }
.qp { display: grid; gap: 18px; max-width: 900px; padding-bottom: 60px; }
.qp-lv { padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line-2)); border-radius: 14px; background: linear-gradient(160deg, rgb(240 194 122 / 0.08), rgb(10 10 13 / 0.6) 60%); }
.qp-lvh { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 6px; align-items: center; }
.qp-lvh .eyebrow { grid-column: 1 / 3; }
.qp-L { grid-row: 2 / 4; font-size: 2.6rem; line-height: 1; color: var(--gold); text-shadow: 0 0 18px rgb(240 194 122 / 0.45); }
.qp-lvbar { display: block; height: 6px; border-radius: 6px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.qp-lvbar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, #b98a46, var(--gold)); box-shadow: 0 0 10px rgb(240 194 122 / 0.6); }
.qp-lvh small, .qp-k { font: 600 0.62rem/1.4 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.qp-k { margin: 12px 0 0; }
.qp-hint { margin: -8px 0 0; color: var(--muted); }
.qp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qp-q { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: rgb(10 10 13 / 0.55); }
.qp-q.on { border-color: color-mix(in srgb, var(--gold) 60%, var(--line-2)); box-shadow: 0 0 22px rgb(240 194 122 / 0.14); }
.qp-q.done { opacity: 0.8; }
.qp-q.shut { opacity: 0.5; }
.qp-qh { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; }
.qp-qh h3 { margin: 0; font-size: 1rem; }
.qp-qh p { margin: 2px 0 0; font-size: 0.82rem; color: var(--muted); }
.qp-mk { color: var(--gold); display: grid; }
.qp-q.done .qp-mk { color: #8f7b5c; }
.qp-st, .qp-xp { font: 600 0.58rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.qp-q.on .qp-st { color: var(--gold); }
.qp-steps { list-style: none; margin: 12px 0 0 34px; padding: 0; display: grid; gap: 6px; }
.qp-steps li { display: grid; gap: 1px; padding-left: 18px; position: relative; font-size: 0.86rem; }
.qp-steps li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 8px; height: 8px; border: 1px solid color-mix(in srgb, var(--gold) 60%, var(--line-2)); transform: rotate(45deg); }
.qp-steps li.ok::before { background: color-mix(in srgb, var(--gold) 45%, #555); border-color: transparent; }
.qp-steps li.ok .qb-tx { color: var(--muted); font-style: italic; }
.qp-steps small { color: var(--muted); font-size: 0.74rem; }
.qp-pick { margin-top: 12px; }
.qp-help { padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: rgb(10 10 13 / 0.55); }
.qp-help summary { cursor: pointer; font: 600 0.66rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.qp-help p { color: #d8d1c6; font-size: 0.88rem; }
.qp-tbl { border-collapse: collapse; font-size: 0.84rem; }
.qp-tbl th, .qp-tbl td { padding: 4px 18px 4px 0; text-align: left; }
.qp-tbl th { color: var(--muted); font: 600 0.58rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 900px) { .qp-qh { grid-template-columns: auto 1fr; } .qp-st, .qp-xp { grid-column: 2; } }
/* 1338, 1343: Sign Of The Gods and the "right angle" boxes: no text selection, no callout */
.gs-field, .gs-page, .solo-f { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.got-flash.gf-soft .gf-disc { animation-duration: 1.6s; }
/* 1348: Attunement's Sigil in its box keeps the Sigils' own hexagon (no stretching) */
.emblem.big.at-solo { width: min(200px, 52vw); height: auto; aspect-ratio: 168 / 192; }
.emblem.big.at-solo svg, .emblem.big.at-solo .sg-facets { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 1347: Anchors: the whole box warms as the pointer nears the spot (was a glow under the pointer) */
.solo-anc { box-shadow: inset 0 0 calc(30px + var(--w, 0) * 120px) calc(var(--w, 0) * 30px) rgb(255 130 50 / calc(var(--w, 0) * 0.75)); background: radial-gradient(ellipse at 50% 45%, rgb(calc(30 + var(--w, 0) * 60) calc(26 + var(--w, 0) * 20) 22 / 0.6), rgb(0 0 0 / 0.78)); transition: box-shadow 0.18s linear; }
/* 1349: Dark Stars: a soft glow where the dark gathers; the star shows only close in */
.ds-glow { position: absolute; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; background: radial-gradient(circle, rgb(154 163 216 / 0.22), rgb(154 163 216 / 0.08) 45%, transparent 70%); filter: blur(6px); pointer-events: none; animation: dsGlow 4s ease-in-out infinite; }
.ds-glow.got { background: radial-gradient(circle, rgb(201 208 255 / 0.4), transparent 70%); }
@keyframes dsGlow { 50% { opacity: 0.6; scale: 1.08; } }
/* 1350, 1354, 1357, 1358: marks that cascade into the box */
.solo-cas .cas { position: absolute; display: grid; place-items: center; translate: -50% -50%; opacity: 0; scale: 0.6; cursor: pointer; transition: opacity 0.9s ease, scale 0.9s cubic-bezier(.2,.8,.2,1), filter 0.3s ease; }
.solo-cas .cas.in { opacity: 1; scale: 1; }
.solo-cas .cas.got { pointer-events: none; }
.un-sym svg { width: 46px; height: 46px; fill: none; stroke: #d9cfff; stroke-width: 1.2; }
.un-sym { opacity: 0 !important; }
.un-sym.in { opacity: 0.16 !important; }
.un-sym.in:hover { opacity: 0.55 !important; filter: drop-shadow(0 0 8px #b9a8ff); }
.un-sym.got { opacity: 0.95 !important; filter: drop-shadow(0 0 12px #c9b8ff); }
.un-sym .un-o { stroke-dasharray: 2 4; }
.sig-m { width: 40px; height: 40px; color: #8fe0d0; }
.sig-m svg { width: 26px; height: 26px; fill: currentColor; opacity: 0.75; }
.sig-ping { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #8fe0d0; animation: sigPing 1.8s ease-out infinite; pointer-events: none; }
@keyframes sigPing { from { scale: 0.4; opacity: 0.8; } to { scale: 1.8; opacity: 0; } }
.sig-m.got { color: #fff; } .sig-m.got .sig-ping { animation: none; opacity: 0; }
.ec-m { width: 42px; height: 42px; }
.ec-m img, .ec-m svg { width: 34px; height: 34px; filter: grayscale(0.4) brightness(1.4); fill: var(--c); }
.ec-m.in { opacity: 0.12 !important; }
.ec-m.in:hover { opacity: 0.4 !important; }
.ec-m.got { opacity: 1 !important; filter: drop-shadow(0 0 12px var(--c)); }
.rf-m svg { width: 26px; height: 56px; fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--c)); }
.rf-m.sel { scale: 1.25; filter: drop-shadow(0 0 14px var(--c)); }
.rf-m.no { animation: rfNo 0.45s ease; }
@keyframes rfNo { 25% { translate: calc(-50% - 6px) -50%; } 75% { translate: calc(-50% + 6px) -50%; } }
.rf-m.got { opacity: 0.5 !important; }
/* 1351: Fractures: three cracks to trace */
.fr-svg .fr-c { opacity: 0; transition: opacity 1s ease; }
.fr-svg .fr-c.in { opacity: 1; }
.fr-svg .fr-l { fill: none; stroke: rgb(255 120 90 / 0.28); stroke-width: 2; stroke-dasharray: 5 4; }
.fr-svg .fr-lit { fill: none; stroke: #ffb08a; stroke-width: 2.6; filter: drop-shadow(0 0 6px #ff7a4a); }
.fr-svg .fr-c.done .fr-lit { stroke: #fff0e0; filter: drop-shadow(0 0 10px #ffb08a); }
/* Lightcatcher in a box */
.pl-core { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, rgb(240 194 122 / 0.35), rgb(240 194 122 / 0.05) 70%); border: 1px solid rgb(240 194 122 / 0.35); }
.pl-light { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff6dc; box-shadow: 0 0 12px #ffd77a, 0 0 26px rgb(255 215 122 / 0.6); cursor: pointer; }
.pl-light::before { content: ""; position: absolute; inset: -14px; }
.pl-light.got { scale: 1.8; transition: scale 0.5s ease; }
/* 1359: Words of Wisdom in its RELIVE box */
.rl-play .ww { margin: 0 auto; max-width: 720px; }
.chron-pair { display: flex; align-items: flex-end; gap: 16px; }
.chron-pair .chron-quests { align-self: stretch; margin-bottom: 18px; }
@media (max-width: 900px) { .chron-pair { flex-direction: column-reverse; align-items: stretch; width: 100%; } }

/* ---------------- batch 40 ---------------- */
/* 1403, 1404: the Chronicle's QUESTS and Codex Score boxes stacked at the right, the same width and height; the ring turns */
@media (min-width: 901px) {
  .chron-hero { align-items: flex-start; }
  .chron-pair { flex-direction: column; align-items: stretch; gap: 12px; width: 380px; margin-top: 30px; }
  .chron-pair .chron-quests, .chron-hero .chron-pair .chron-stat { margin: 0; min-width: 0; width: 100%; height: 132px; box-sizing: border-box; align-content: space-between; align-self: auto; }
  .chron-hero .chron-pair .chron-stat { padding: 16px 18px; gap: 8px; }
}
.chron-stat .cs-k { display: inline-flex; align-items: center; gap: 8px; }
.cs-ring { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.4; animation: csRing 9s linear infinite; }
.cs-ring .f { fill: var(--gold); stroke: none; }
@keyframes csRing { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cs-ring { animation: none; } }
/* 1378, 1391: quest icons: line drawings (stroke), the compass's dial turning slowly, the active questline's icon alive */
.q-ic { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.q-compass .q-rim { stroke-width: 1.4; }
.q-compass .q-tick { stroke-width: 1.3; opacity: 0.8; }
.q-compass .q-ring { stroke-width: 0.8; stroke-dasharray: 1.2 2; opacity: 0.7; }
.q-compass .q-n { fill: currentColor; stroke: none; }
.q-compass .q-s { fill: none; stroke-width: 0.9; }
.q-compass .q-hub { fill: #0b0b0e; stroke-width: 0.9; }
.q-dial { transform-box: view-box; transform-origin: 12px 12px; animation: qDial 14s ease-in-out infinite; }
@keyframes qDial { 0% { transform: rotate(0deg); } 30% { transform: rotate(48deg); } 45% { transform: rotate(32deg); } 75% { transform: rotate(-26deg); } 100% { transform: rotate(0deg); } }
.q-live { animation: qLive 3.6s ease-in-out infinite; }
@keyframes qLive { 0%, 100% { filter: drop-shadow(0 0 0 rgb(240 194 122 / 0)); transform: scale(1); } 50% { filter: drop-shadow(0 0 4px rgb(240 194 122 / 0.85)); transform: scale(1.06); } }
.q-unw path:first-child { stroke-dasharray: 2.4 2.2; }
.cq-ic .q-ic { width: 22px; height: 22px; }

/* 1377 to 1387: the quest box, pinned at the upper left everywhere, as wide as the map's lower-left panel */
:root { --lpw: min(340px, calc(31vw - 10px)); }
.brief { width: var(--lpw); }
html.qb-on .brief { max-height: calc(100% - var(--toph, var(--top)) - var(--qbh, 0px) - 50px); }
.qb, body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb { top: calc(var(--toph, var(--top)) + 10px); bottom: auto; left: 18px; width: var(--lpw); padding: 10px 12px 10px; transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.2,.8,.2,1), border-color 0.4s ease, box-shadow 0.4s ease; }
.qb:not(.in) { transform: translateX(-18px); }
.qb.out { opacity: 0; transform: translateX(-26px) scale(0.96); filter: blur(2px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(.4,0,.2,1), filter 0.7s ease; pointer-events: none; }
.qb.in:not(.out):not(.all) { animation: qbIn 0.9s cubic-bezier(.2,.8,.2,1); }
@keyframes qbIn { 0% { box-shadow: 0 0 0 1px rgb(240 194 122 / 0.9), 0 0 30px rgb(240 194 122 / 0.5); } 100% { box-shadow: 0 10px 30px rgb(0 0 0 / 0.45); } }
.qb-head { display: grid; grid-template-columns: auto auto 1fr auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 6px; align-items: center; }
.qb-ic { grid-row: 1; width: 30px; height: 30px; border-radius: 8px; }
.qb-ic .q-ic { width: 19px; height: 19px; }
.qb-k { margin: 0; }
.qb-n { margin-left: 0; justify-self: end; }
.qb-fold { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; }
.qb-fold:hover { color: var(--ink); background: rgb(255 255 255 / 0.05); }
.qb-fold svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s cubic-bezier(.2,.8,.2,1); }
.qb.fold .qb-fold svg { transform: rotate(-90deg); }
.qb-name { grid-column: 1 / -1; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 0.9rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.qb-name > span { display: inline-block; }
.qb-name.mq { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.qb-name .mq-in { display: inline-flex; gap: 40px; animation: qbMq var(--t) linear infinite; }
@keyframes qbMq { 0%, 12% { transform: translateX(0); } 100% { transform: translateX(calc(-1 * var(--w))); } }
.qb-bar { margin-top: 8px; }
.qb-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s cubic-bezier(.2,.8,.2,1), opacity 0.4s ease; }
.qb-body > ol { min-height: 0; overflow: hidden; }
.qb.fold .qb-body { grid-template-rows: 0fr; opacity: 0; }
.qb-list { margin: 8px 0 0; gap: 0; }
.qb-list li { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s cubic-bezier(.2,.8,.2,1), opacity 0.4s ease; }
.qb-li { min-height: 0; overflow: hidden; padding: 1px 0; }
.qb.compact .qb-list li:not(.next) { grid-template-rows: 0fr; opacity: 0; }
.qb.compact .qb-sub { display: none; }
.qb.compact .qb-list { margin-top: 4px; }
.qb-list li.lock .qb-st { cursor: default; }
.qb-list li.lock .qb-tx { filter: blur(4px); opacity: 0.55; -webkit-user-select: none; user-select: none; }
.qb-list li.lock .qb-mk { opacity: 0.35; }
/* 1389: a step's parts, as pips lit one by one (a number past eight) */
.qb-c { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; flex: none; padding-left: 6px; }
.qb-c i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 50%, var(--line-2)); transition: background 0.4s ease, box-shadow 0.4s ease; }
.qb-c i.on { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 6px rgb(240 194 122 / 0.75); }
.qb-c i.new { animation: qbPip 1.1s ease-out; }
@keyframes qbPip { 0% { transform: scale(2.4); box-shadow: 0 0 14px #ffe2a8; } 100% { transform: scale(1); } }
.qb-c.num { font: 600 0.6rem/1 var(--mono); letter-spacing: 0.06em; color: var(--muted); }
.qb-c.num b { color: var(--gold); }
.qb-c.num.up b { animation: qbPip 1.1s ease-out; display: inline-block; }
.qb-list li.ok .qb-c i { background: color-mix(in srgb, var(--gold) 45%, #555); border-color: transparent; box-shadow: none; }
.qb.all { animation: qbAll2 2.6s ease-out forwards; }
@keyframes qbAll2 { 0% { box-shadow: 0 0 0 0 rgb(240 194 122 / 0); } 25% { box-shadow: 0 0 0 2px var(--gold), 0 0 40px rgb(240 194 122 / 0.7); background: rgb(40 30 14 / 0.95); } 100% { box-shadow: 0 0 0 1px var(--gold), 0 0 26px rgb(240 194 122 / 0.45); background: rgb(30 23 12 / 0.94); } }
@media (max-width: 900px) {
  .qb, body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb { top: calc(var(--toph, var(--top)) + 8px); bottom: auto; left: 10px; width: min(272px, calc(100vw - 20px)); }
}
/* the Chronicle and Sigils pages make room for the box at the left on a computer (1382) */
@media (min-width: 901px) { html.qb-on .view.chron { left: max(calc(var(--lpw) + 30px), calc(50% - 680px)); } }
/* 1387: breadcrumbs dropped below the header sit a little higher and slightly indented */
.crumbs.below { left: 26px; }
@media (prefers-reduced-motion: reduce) { .q-dial, .q-live, .qb-name .mq-in, .qb.in:not(.out), .qb-c i.new { animation: none; } }

/* 1392: the XP line under the header's score box, and a new Level's fanfare */
.xp-line { position: absolute; left: 8px; right: 8px; top: calc(100% + 5px); display: flex; align-items: center; gap: 7px; padding: 4px 8px; border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line-2)); border-radius: 7px; background: rgb(8 8 11 / 0.92); opacity: 0; transform: translateY(-4px); transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.2,.8,.2,1); pointer-events: none; z-index: 5; }
.xp-line.on { opacity: 1; transform: none; }
.xp-line b { font: 700 0.56rem/1 var(--mono); letter-spacing: 0.16em; color: var(--gold); }
.xp-bar { flex: 1; height: 4px; border-radius: 4px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.xp-bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, #b98a46, #ffe2a8); box-shadow: 0 0 8px rgb(240 194 122 / 0.8); transition: width 0.9s cubic-bezier(.2,.8,.2,1); }
.xp-bar i.reset { transition: none; }
.xp-line em { font: 700 0.6rem/1 var(--mono); font-style: normal; letter-spacing: 0.06em; color: #ffe2a8; text-shadow: 0 0 8px rgb(240 194 122 / 0.8); animation: xpPlus 0.9s ease-out; }
@keyframes xpPlus { 0% { transform: translateY(6px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.lv-fan { position: fixed; left: 50%; top: 42%; z-index: 150; width: 0; height: 0; pointer-events: none; }
.lv-rays { position: absolute; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgb(255 226 166 / 0.22) 0deg 4deg, transparent 4deg 18deg); -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 68%); mask-image: radial-gradient(circle, #000 18%, transparent 68%); animation: lvRays 3.2s ease-out forwards; }
@keyframes lvRays { 0% { transform: scale(0.3) rotate(0deg); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.15) rotate(40deg); opacity: 0.6; } }
.lv-ring { position: absolute; width: 160px; height: 160px; margin: -80px 0 0 -80px; border-radius: 50%; border: 2px solid #ffe2a8; box-shadow: 0 0 30px rgb(240 194 122 / 0.8), inset 0 0 20px rgb(240 194 122 / 0.5); animation: lvRing 1.4s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes lvRing { 0% { transform: scale(0.2); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.lv-med { position: absolute; width: 150px; height: 150px; margin: -75px 0 0 -75px; display: grid; place-content: center; text-align: center; border-radius: 50%; border: 1.5px solid var(--gold); background: radial-gradient(circle, rgb(60 44 18 / 0.96), rgb(14 12 10 / 0.96) 70%); box-shadow: 0 0 40px rgb(240 194 122 / 0.6); animation: lvMed 0.8s cubic-bezier(.2,1.4,.4,1) backwards; }
.lv-med .eyebrow { margin: 0; color: var(--gold); }
.lv-med b { font: 700 3.4rem/1 var(--display); color: #fff3da; text-shadow: 0 0 20px rgb(240 194 122 / 0.9); }
@keyframes lvMed { 0% { transform: scale(0.3); opacity: 0; } 100% { transform: none; opacity: 1; } }
.lv-sp { position: absolute; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #ffe2a8; box-shadow: 0 0 8px #f0c27a; animation: lvSp 1.6s cubic-bezier(.2,.8,.2,1) var(--d) forwards; opacity: 0; }
@keyframes lvSp { 0% { transform: none; opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(0.3); opacity: 0; } }
.lv-fan.out { opacity: 0; transition: opacity 0.8s ease; }

/* 1394 to 1400: the Quests page: questlines two to a row, the Level box at the right, held while the page scrolls */
.qp { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; max-width: none; }
.qp-main { min-width: 0; }
.qp-lv { position: sticky; top: 12px; display: grid; gap: 8px; }
.qp-lv .qp-k { margin: 2px 0 0; }
.qp-lvh { display: flex; align-items: baseline; justify-content: space-between; }
.qp-lvh .eyebrow { margin: 0; }
.qp-L { font-size: 2.6rem; }
.qp-lvn { font: 600 0.62rem/1.4 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.qp-lv .qp-help { margin-top: 8px; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; background: none; }
.qp-list { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); align-items: start; gap: 12px; }
.qp-q { position: relative; transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease; }
.qp-qh { grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.qp-qh.tap { cursor: pointer; }
.qp-tt { min-width: 0; }
.qp-side { display: grid; justify-items: end; gap: 5px; }
.qp-ord { font: 600 0.52rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim, #7c766d); white-space: nowrap; }
.qp-mk .q-ic { width: 24px; height: 24px; }
.qp-q.on .qp-st { padding: 3px 6px; border-radius: 5px; background: rgb(240 194 122 / 0.14); }
.qp-q.done { opacity: 1; border-color: color-mix(in srgb, var(--gold) 55%, var(--line-2)); background: linear-gradient(160deg, rgb(240 194 122 / 0.14), rgb(18 14 8 / 0.7) 70%); box-shadow: 0 0 18px rgb(240 194 122 / 0.12); }
.qp-q.done .qp-mk { color: var(--gold); }
.qp-q.done .qp-st { padding: 3px 6px; border-radius: 5px; background: var(--gold); color: #1a130a; }
.qp-q.shut .qp-st { padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 5px; }
.qp-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s cubic-bezier(.2,.8,.2,1), opacity 0.4s ease; opacity: 0; }
.qp-body > div { min-height: 0; overflow: hidden; }
.qp-q.open .qp-body, .qp-q:not(.fold) .qp-body { grid-template-rows: 1fr; opacity: 1; }
.qp-steps { margin: 12px 0 2px 36px; }
.qp-steps li { grid-template-columns: 1fr auto; column-gap: 8px; }
.qp-steps li small { grid-column: 1 / -1; }
.qp-steps li .qb-c { padding-left: 0; }
.qp-steps li.lock .qb-tx { filter: blur(4px); opacity: 0.55; -webkit-user-select: none; user-select: none; }
.qp-steps li.next .qb-tx { color: var(--ink); }
.qp-take { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line-2)); border-radius: 50%; background: rgb(240 194 122 / 0.06); color: var(--gold); cursor: pointer; transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.3s ease; }
.qp-take:hover, .qp-take:focus-visible { background: rgb(240 194 122 / 0.2); box-shadow: 0 0 14px rgb(240 194 122 / 0.45); transform: rotate(180deg); }
.qp-take svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.qp-q:has(.qp-take) .qp-qh { padding-bottom: 22px; }
@media (max-width: 900px) { .qp { grid-template-columns: 1fr; } .qp-lv { position: static; order: -1; } .qp-list { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .chron-hero { flex-wrap: nowrap; } .chron-hero > div:first-child { flex: 1 1 auto; min-width: 0; } .chron-pair { flex: none; margin-left: auto; } }
/* 1365: zoomed right out, the title's glow holds still (no opacity animation or held GPU layer) and each Realm's cloud
   keeps one veil; the admin's flicker test hides one suspect layer at a time (html.flk-*) */
.map-area.vfar .omni-tglow { will-change: auto; }
.map-area.vfar .omni-tglow canvas.ot-glow { animation: none; opacity: 0.55; }
.map-area.vfar .rm-far .nb-v.r2 { display: none; }
html.flk-glow .omni-tglow :is(canvas.ot-glow, svg.ot-sweep), html.flk-title .ot-deep, html.flk-far .rm-far, html.flk-halo :is(.rm-halo, .rm-rad, .rm-orbs, .rm-sat), html.flk-veil .veil-band, html.flk-sky .map-bg, html.flk-quest .qb, html.flk-fx .map-fx, html.flk-edge .map-edge, html.flk-deep .ot-deep svg.ot-d:not(:nth-last-child(-n+2)) { display: none !important; }
/* 1366: THE OMNIUM drawn in the effects layer: its depth layers slide with the tilt (explore.js); they never take the
   glow's pulsing; the SVG copy in the map is only the measure; on a phone the title shows without its glow */
.omni-title-g.ot-src { visibility: hidden; }
.ot-deep { position: absolute; left: 0; top: 0; }
.omni-tglow svg.ot-d, .lite .omni-tglow svg.ot-d { position: absolute; overflow: visible; animation: none !important; opacity: 1 !important; will-change: transform; pointer-events: none; }
/* batch 45 (1592): one layer at rest, a layer per copy only while tilting (js: .ot-deep.tl) */
.omni-tglow svg.ot-d, .lite .omni-tglow svg.ot-d { will-change: auto; }
.omni-tglow .ot-deep.tl svg.ot-d { will-change: transform; }
@media (max-width: 900px) { .omni-tglow { display: block; } .omni-tglow :is(canvas.ot-glow, svg.ot-sweep) { display: none; } }
/* 1372: RELIVE plays in the box above its button (the Secret's map's place) */
.rl-play.rl-in, .rl-in:is(.mm-host, .hh-host) { margin-top: 0; }
/* 1374: Dark Stars: the glow shows only as the pointer nears it (its pulse is now a scale only); the lens closes in as the
   view zooms (the wheel, or a held touch) */
.solo-ds .ds-glow { animation-name: dsGlow2; transition: opacity 0.5s ease; }
@keyframes dsGlow2 { 50% { scale: 1.08; } }
.solo-ds .ds-lens { width: calc(92px / var(--z, 1)); height: calc(92px / var(--z, 1)); margin: calc(-46px / var(--z, 1)) 0 0 calc(-46px / var(--z, 1)); border-color: rgb(205 212 255 / 0.5); transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, opacity 0.3s ease; }
.solo-ds .ds-star { transition: opacity 0.35s ease; }
/* 1375: Echoes: each mark only as the pointer comes close */
.solo-cas.near-only .cas.in:not(.got) { opacity: calc(var(--n, 0) * 0.55) !important; }
.solo-cas.near-only .cas.in:not(.got):hover { opacity: calc(0.2 + var(--n, 0) * 0.5) !important; }
/* 1376: Anchors: the Anchor's mark fades in where it was found, and stays */
.anc-pt { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; color: #ffd77a; opacity: 0; scale: 0.7; transition: opacity 1.4s ease 0.3s, scale 1.4s cubic-bezier(.2,.8,.2,1) 0.3s; pointer-events: none; filter: drop-shadow(0 0 8px #ffb347); }
.anc-pt.in { opacity: 0.9; scale: 1; }
.anc-pt svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* batch 41 (1411): the admin popup as a column: its heading, tabs, search and buttons fixed at the top, the open tab
   scrolling below them with a scrollbar that always shows (Options' hidden scrollbars excepted here) */
.ab-pop.admin .ab-in { display: flex; flex-direction: column; overflow: hidden !important; max-height: calc(100dvh - 32px); }
.ab-pop.admin .ab-in > :not(.cxa-body):not(.x):not(.sp-trace) { flex: none; }
.ab-pop.admin .cxa-top { position: static; margin: 0 0 6px; padding: 0; background: none; }
.ab-pop.admin .cxa-body { flex: 1 1 auto; min-height: 120px; overflow-y: scroll; overscroll-behavior: contain; margin: 4px -18px 0 0; padding-right: 12px; }
.ab-pop.admin .cxa-body .cxa-list, .ab-pop.admin .cxa-body .cxa-games { max-height: none; overflow: visible; }
html .ab-pop.admin .cxa-body, html.no-bars .ab-pop.admin .cxa-body { scrollbar-width: thin !important; scrollbar-color: #b9b2a6 rgb(255 255 255 / 0.05) !important; }
html.no-bars .ab-pop.admin .cxa-body::-webkit-scrollbar { display: block !important; width: 10px !important; height: 10px !important; }
.ab-pop.admin .cxa-body::-webkit-scrollbar-track { background: rgb(255 255 255 / 0.05); border-radius: 6px; margin: 4px; }

/* batch 41 (1426 to 1429, 1437): the quest box: steps not yet reached less blurred; the questline's icon larger, the
   name moved over beside it; completed steps dimmer; on a phone a solid background (no see-through layer to blend) */
.qb-head { grid-template-columns: auto auto 1fr auto; }
.qb-ic { grid-row: 1 / 3; grid-column: 1; width: 42px; height: 42px; border-radius: 10px; }
.qb-ic .q-ic { width: 27px; height: 27px; }
.qb-name { grid-column: 2 / -1; grid-row: 2; }
.qb.compact .qb-ic, .qb.fold .qb-ic { width: 42px; height: 42px; }
.qb-list li.lock .qb-tx { filter: blur(2.2px); opacity: 0.6; }
.qb-list li.ok .qb-tx { opacity: 0.62; }
.qb-list li.ok .qb-mk { opacity: 0.7; }
@media (max-width: 900px) { .qb, body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb { background: #0a0a0d; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 6px 16px rgb(0 0 0 / 0.5); } }
/* 1441: a new Level in the bottom notice box, its number in a small gold medallion (as a Sigil's tier shows its emblem) */
.lv-med-s { display: grid; place-items: center; width: 64px; height: 64px; border: 1.5px solid var(--gold); border-radius: 50%; background: radial-gradient(circle, rgb(240 194 122 / 0.22), rgb(10 10 13 / 0.9) 70%); box-shadow: 0 0 22px rgb(240 194 122 / 0.45), inset 0 0 12px rgb(240 194 122 / 0.25); animation: earnIn 1.1s cubic-bezier(.2,.8,.2,1.2) both; }
.lv-med-s b { font: 700 1.6rem/1 var(--display); color: #ffe7b8; text-shadow: 0 0 12px rgb(240 194 122 / 0.8); }
/* 1431 to 1435: the Quests page in four parts, each box lit under the pointer; an arrow on every box that opens; the
   swap button widening into SWAP; larger icons; How levels work in its own box */
.qp-main { display: grid; gap: 26px; }
.qp-sec { display: grid; gap: 12px; }
.qp-sh { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 0.66rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.qp-sh::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 35%, transparent), transparent); }
.qp-sh small { padding: 2px 7px; border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line-2)); border-radius: 999px; font: inherit; font-size: 0.56rem; color: var(--muted); }
.qp-sec.na .qp-sh { color: var(--muted); }
.qp-sec.act .qp-list { grid-template-columns: 1fr; }
.qp-q { padding: 16px 18px; }
.qp-q:not(.shut):hover, .qp-q:not(.shut):focus-within { border-color: color-mix(in srgb, var(--gold) 55%, var(--line-2)); background: rgb(240 194 122 / 0.06); box-shadow: 0 0 22px rgb(240 194 122 / 0.14); }
.qp-q.done:hover { background: linear-gradient(160deg, rgb(240 194 122 / 0.2), rgb(18 14 8 / 0.7) 70%); }
.qp-qh { grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; }
.qp-mk { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line-2)); border-radius: 12px; background: rgb(240 194 122 / 0.06); }
.qp-mk .q-ic { width: 32px; height: 32px; }
.qp-sec.act .qp-mk { width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 0 18px rgb(240 194 122 / 0.25); }
.qp-sec.act .qp-mk .q-ic { width: 40px; height: 40px; }
.qp-sec.act .qp-qh h3 { font-size: 1.2rem; }
.qp-q.shut .qp-mk { border-style: dashed; background: none; }
.qp-chev { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s cubic-bezier(.2,.8,.2,1), stroke 0.3s ease; }
.qp-q:hover .qp-chev { stroke: var(--gold); }
.qp-q.open .qp-chev { transform: rotate(180deg); }
.qp-steps { margin: 14px 0 2px 62px; }
.qp-take { right: 12px; bottom: 12px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: flex-start; gap: 7px; padding: 0 0 0 7px; overflow: hidden; border-radius: 999px; transition: width 0.4s cubic-bezier(.2,.8,.2,1), background 0.3s ease, box-shadow 0.3s ease; transform: none !important; }
.qp-take svg { flex: none; width: 15px; height: 15px; transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.qp-take span { font: 700 0.6rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s ease, transform 0.35s ease; }
.qp-take:hover, .qp-take:focus-visible { width: 84px; }
.qp-take:hover svg, .qp-take:focus-visible svg { transform: rotate(180deg); }
.qp-take:hover span, .qp-take:focus-visible span { opacity: 1; transform: none; transition-delay: 0.08s; }
.qp-q:has(.qp-take) .qp-qh { padding-bottom: 24px; }
.qp-side-col { position: sticky; top: 12px; display: grid; gap: 12px; align-content: start; }
.qp-side-col .qp-lv { position: static; }
.qp-box.qp-help, .qp-side-col .qp-help { margin: 0; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: rgb(10 10 13 / 0.55); }
.qp-help summary { list-style: none; display: flex; align-items: center; justify-content: space-between; }
.qp-help summary::-webkit-details-marker { display: none; }
.qp-help summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.4s ease; }
.qp-help[open] summary::after { transform: rotate(225deg); }
.qp-help:hover { border-color: color-mix(in srgb, var(--gold) 40%, var(--line-2)); }
@media (max-width: 900px) { .qp-side-col { position: static; order: -1; } .qp-mk { width: 40px; height: 40px; } .qp-mk .q-ic { width: 26px; height: 26px; } .qp-steps { margin-left: 8px; } .qp-qh { grid-template-columns: auto 1fr auto; } .qp-side { grid-column: 2; justify-items: start; display: flex; gap: 10px; } .qp-chev { grid-row: 1; grid-column: 3; } }
@media (prefers-reduced-motion: reduce) { .qp-take, .qp-take span, .qp-take svg, .qp-chev { transition: none; } }

/* batch 41 (1443 to 1447): Quarantine: the ring of time keeps its colour; the fail sockets at the top only (lit red); a
   large dot that takes two selects; a dot forming at the centre */
.tr-quar .tr-time.low { stroke: color-mix(in srgb, var(--c) 45%, transparent); }
.tr-quar .tr-strikes { display: none; }
.tr-quar .tr-pips circle { r: 3.6; }
.tr-dot.big { stroke: color-mix(in srgb, var(--c) 70%, #fff); stroke-width: 1.2; }
.tr-dot.big.inf { stroke: #ffd0c8; }
.tr-dot.big.hit { stroke-dasharray: 2 2; }
.tr-dot.forming { fill: #fff; opacity: 0.85; animation: trForm 1s ease-in-out; }
@keyframes trForm { 0% { opacity: 0; r: 0.5; } 60% { opacity: 1; } 100% { opacity: 0.85; } }
/* 1449: Jendarri's large heads crack with each cut */
.tr-vine.big { stroke-width: 3.4; }
.tr-vine-head.big.hit polygon { animation: trCrack 0.35s ease-out; }
.tr-vine-head.big.hurt2 polygon { opacity: 0.8; } .tr-vine-head.big.hurt1 polygon { opacity: 0.6; stroke-dasharray: 3 2; }
@keyframes trCrack { 40% { scale: 0.85; } }
/* 1451: the Nexus: every success in green (the dots at the top, the round diamonds, the rays and glow) */
.tr-green .tr-pips circle.won, .tr-green .tr-rounds polygon.won { fill: #6ee2a0; stroke: #6ee2a0; }
.tr-green .tr-rounds polygon.now { stroke: #6ee2a0; }
.tr-green .tr-burst line { stroke: #6ee2a0; }
.tr-green.tr-field.won { box-shadow: 0 0 70px rgb(110 226 160 / 0.55), inset 0 0 50px rgb(110 226 160 / 0.25); }
@media (prefers-reduced-motion: reduce) { .tr-dot.forming, .tr-vine-head.big.hit polygon { animation: none; } }

/* batch 41 (1453): the Chronicle's locked top band (main.js lockTop): solid down to just above the page's title, a short
   fade at its foot; the way back and the quest box stay above it */
.chr-lock { position: fixed; left: 0; right: 0; top: 0; z-index: 20; height: var(--chlock, 84px); pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: linear-gradient(180deg, rgb(5 5 6) 0, rgb(5 5 6) calc(100% - 14px), rgb(5 5 6 / 0)); }
body[data-mode="chronicle"] .chr-lock { opacity: 1; }
body[data-mode="chronicle"] .view.chron .back-top, body[data-mode="chronicle"] .view.chron .sig-back { z-index: 21; }
body[data-mode="chronicle"] .view.chron > .chron-in::before { display: none; }

/* batch 41 (1458, 1459): the header's score box in two halves like EXPLORE and CHRONICLE: the Codex Score with the
   Codex's turning ring (the Sigils) and the Level with its XP bar (the Quests); the XP line under it as wide as the box */
.rec-btn.rec-split { gap: 0; padding: 3px; }
.rec-split .rec-half { position: relative; overflow: hidden; height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 11px; border-radius: 7px; text-decoration: none; color: inherit; transition: background 0.3s, box-shadow 0.3s; }
.rec-split .rec-half + .rec-half { margin-left: 3px; }
.rec-split .rec-half::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgb(255 236 200 / 0.2) 50%, transparent 70%); transform: translateX(-130%); }
.rec-split .rec-half:hover { background: rgb(240 194 122 / 0.1); box-shadow: inset 0 0 0 1px rgb(240 194 122 / 0.35); }
.rec-split .rec-half:hover::after { animation: sweep 0.85s cubic-bezier(.3,.1,.2,1); }
.rec-split .rec-lv::before { content: ""; position: absolute; left: -2px; top: 22%; bottom: 22%; width: 1px; background: var(--line-2); }
.rec-ring { width: 17px; height: 17px; flex: none; }
.rec-L { color: var(--gold); white-space: nowrap; }
.rec-split .rec-bar i { background: linear-gradient(90deg, #b98a46, var(--gold)); }
.xp-line { left: 0; right: 0; }
@media (max-width: 900px) { .rec-split .rec-half { padding: 0 7px; gap: 6px; } .rec-split .rec-t { display: inline; } .rec-split .rec-n { display: none; } }
@media (prefers-reduced-motion: reduce) { .rec-ring { animation: none; } }

/* batch 41 (1454): the Chronicle's Progress part (Sigils, Quests, the Codex Score) apart from the record books */
.books-h { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; font: 600 0.66rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.books-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 40%, transparent), transparent); }
.books.prog { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.book .emb .q-ic, .book .emb .cs-ring { width: 40px; height: 40px; stroke: color-mix(in srgb, var(--c) 55%, #fff); }
.book .emb .q-ic { fill: none; filter: none; }
.book .emb .cs-ring { animation: csRing 9s linear infinite; filter: none; fill: none; }
.book .emb .cs-ring .f { fill: color-mix(in srgb, var(--c) 55%, #fff); }
.book .pg-n { margin-left: 4px; font: 700 0.95rem/1 var(--mono); letter-spacing: 0.04em; color: var(--gold); }
/* 1455: the map's lower-left panel (the Realm panel) and the quest box wider, so the panel's lines wrap less */
:root { --lpw: min(410px, calc(33vw - 10px)); }

/* batch 41 (1456, 1457): RELIVE: the box above fades out and the game's box fades in; the notice on its own line below */
.rl-out { opacity: 0 !important; transform: scale(0.985); transition: opacity 0.38s ease, transform 0.38s ease !important; }
.rl-in { transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.rl-in.rl-pre { opacity: 0; transform: scale(0.985); }
.rl-done { position: static; margin: 12px auto 4px; width: 100%; text-align: center; animation: rlDone 0.7s ease both; }
@keyframes rlDone { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .rl-done { animation: none; } }
/* batch 41 maps */
/* 1413: the quest box on a layer of its own, so a zoom of the map under it never redraws it (the flicker) */
.qb { will-change: transform, opacity; backface-visibility: hidden; }
/* 1416: the Gods' point: no tooltip; a stronger glow on hover */
.map-fx .gs-pt-glow, .map-fx .gs-pt-core { transition: scale 0.6s cubic-bezier(.2,.8,.2,1), opacity 0.6s ease, box-shadow 0.6s ease; }
.map-fx .gs-pt.wake:is(:hover, :focus-visible) .gs-pt-glow { scale: 1.5; filter: blur(7px) brightness(1.6); }
.map-fx .gs-pt.wake:is(:hover, :focus-visible) .gs-pt-glow.g2 { scale: 1.7; filter: blur(16px) brightness(1.5); }
.map-fx .gs-pt.wake:is(:hover, :focus-visible) .gs-pt-core { opacity: 1; box-shadow: 0 0 14px 6px rgb(255 228 186 / 0.6); }
/* 1418: THE OMNIUM's depth: the four steps behind the face are faint lit outlines (dark fills never showed on the black),
   fainter the deeper they lie, so the letters' sides show as the plane tilts */
.omni-tglow svg.ot-d .omni-title.depth { fill: none; stroke-width: 3px; stroke-linejoin: round; paint-order: normal; }
.omni-tglow svg.ot-d .omni-title.depth.d1 { stroke: rgb(255 226 190 / 0.085); }
.omni-tglow svg.ot-d .omni-title.depth.d2 { stroke: rgb(255 220 180 / 0.065); }
.omni-tglow svg.ot-d .omni-title.depth.d3 { stroke: rgb(255 214 170 / 0.048); }
.omni-tglow svg.ot-d .omni-title.depth.d4 { stroke: rgb(255 208 160 / 0.034); }
/* 1421: the Unknown Signal's ripple (two soft rings, opened by the graphics chip) */
.map-fx .om-rip { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); pointer-events: none; }
.map-fx .om-rip i { position: absolute; inset: 0; border-radius: 50%; border: calc(var(--s) * 0.0024 + 0.6px) solid color-mix(in srgb, var(--c) 70%, white); box-shadow: 0 0 calc(var(--s) * 0.012) color-mix(in srgb, var(--c) 45%, transparent), inset 0 0 calc(var(--s) * 0.012) color-mix(in srgb, var(--c) 35%, transparent); opacity: 0; scale: 0.04; animation: omRip 6.6s cubic-bezier(.25,.6,.35,1) forwards; will-change: scale, opacity; }
.map-fx .om-rip i + i { animation-delay: 0.6s; }
.map-fx .om-rip i + i + i { animation-delay: 1.2s; }
/* batch 42 (1476): much further (a box 2.8 times as wide, the line kept as thin), still visible most of the way out */
@keyframes omRip { 0% { opacity: 0; scale: 0.04; } 8% { opacity: 0.34; } 60% { opacity: 0.2; } 100% { opacity: 0; scale: 1; } }
/* 1422: brief cracks in spacetime round Chaos: drawn out fast, a flicker, gone */
.map-fx .om-crk { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); pointer-events: none; opacity: 0; animation: omCrk 1.3s ease-out forwards; will-change: opacity; }
.map-fx .om-crk svg { width: 100%; height: 100%; overflow: visible; }
.map-fx .om-crk path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: omCrkD 0.22s ease-out forwards; }
.map-fx .om-crk-g { stroke: color-mix(in srgb, var(--c) 70%, transparent); stroke-width: 7px; opacity: 0.35; }
.map-fx .om-crk-l { stroke: #f4ecff; stroke-width: 1.6px; }
@keyframes omCrk { 0% { opacity: 0; } 8% { opacity: 0.9; } 16% { opacity: 0.35; } 24% { opacity: 0.85; } 55% { opacity: 0.6; } 100% { opacity: 0; } }
@keyframes omCrkD { to { stroke-dashoffset: 0; } }
/* 1423: particles flying from the Nexus to Vaij */
.map-fx .om-fly { position: absolute; width: 0; height: 0; pointer-events: none; }
.map-fx .om-fly i { position: absolute; width: var(--z); height: var(--z); margin: calc(var(--z) / -2) 0 0 calc(var(--z) / -2); border-radius: 50%; background: color-mix(in srgb, var(--c) 55%, white); box-shadow: 0 0 calc(var(--z) * 2) color-mix(in srgb, var(--c) 80%, transparent); opacity: 0; animation: omFly var(--du) linear var(--dl) forwards; will-change: transform, opacity; }
/* batch 42 (1475): an even speed along the whole way (linear, was eased in and out), so the particles flow as a stream */
@keyframes omFly { 0% { opacity: 0; transform: translate(0, 0) scale(0.6); } 10% { opacity: 0.8; } 50% { transform: translate(var(--jx), var(--jy)) scale(1); } 88% { opacity: 0.7; } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.5); } }
/* 1424: a light running once round the dotted ring of FOUNDATIONS and the LEXICON */
.map-fx .om-cdx { position: absolute; width: 0; height: 0; transform-origin: 0 0; pointer-events: none; }
.map-fx .om-cdx svg { position: absolute; overflow: visible; opacity: 0; will-change: opacity; }
/* batch 42 (1504): much faster (two laps in 3.4 s, was one in 6 s): a glowing head (a short round dash) and a long trail of
   butt-ended pieces behind it (--d0: how far behind; --o and --w: fainter and thinner further back) */
.map-fx .om-cdx ellipse { fill: none; stroke-linecap: round; stroke-dasharray: 2.4 97.6; stroke-dashoffset: var(--d0, 0); opacity: var(--o, 1); }
.map-fx .om-cdx ellipse.t { stroke-linecap: butt; stroke-dasharray: 2.15 97.85; }
.map-fx .om-cdx-g { stroke: rgb(255 190 120 / 0.34); stroke-width: calc(var(--w, 1) * 14px); }
.map-fx .om-cdx-l { stroke: rgb(255 240 218 / 0.9); stroke-width: calc(var(--w, 1) * 3.6px); }
.map-fx .om-cdx.run svg { animation: omCdxO 3.4s ease-in-out forwards; }
/* batch 45 (1591): the dashes' lengths and offsets are set inline by explore.js (the ring's real length), no CSS animation */
@keyframes omCdxO { 0% { opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes omCdx { from { stroke-dashoffset: var(--d0, 0); } to { stroke-dashoffset: calc(var(--d0, 0) - 200); } }
.lite .map-fx :is(.om-rip, .om-crk, .om-fly, .om-cdx) { display: none; }
@media (prefers-reduced-motion: reduce) { .map-fx :is(.om-rip, .om-crk, .om-fly, .om-cdx) { display: none; } }
html.opt-rm .map-fx :is(.om-rip, .om-crk, .om-fly, .om-cdx) { display: none; }
/* 1440: RELIVE's Dark Stars: a subtle sign of the zoom amount at the box's right edge */
.rl-zoom { position: absolute; right: 14px; top: 50%; translate: 0 -50%; display: grid; justify-items: center; gap: 6px; opacity: 0.28; transition: opacity 0.4s ease; pointer-events: none; z-index: 2; }
.rl-zoom.on { opacity: 0.6; }
.rl-zoom-b { position: relative; width: 3px; height: 74px; border-radius: 2px; background: rgb(205 212 255 / 0.14); overflow: visible; }
.rl-zoom-b i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--zp, 0) * 100%); border-radius: 2px; background: rgb(205 212 255 / 0.7); transition: height 0.2s ease, background 0.3s ease; }
.rl-zoom.deep .rl-zoom-b i { background: #e4e8ff; box-shadow: 0 0 6px rgb(205 212 255 / 0.6); }
.rl-zoom-b b { position: absolute; left: -3px; width: 9px; height: 1px; background: rgb(205 212 255 / 0.55); }
.rl-zoom small { font: 500 10px var(--mono); letter-spacing: 0.08em; color: rgb(205 212 255 / 0.8); }

/* batch 42 (item 1514): no cursor while the loading screen shows (the system cursor or the Codex's own) */
.loader:not(.done), .loader:not(.done) * { cursor: none !important; }
body:has(.loader:not(.done)) .rcur { visibility: hidden; }

/* batch 42 (1493): LEVEL first and SCORE second; the divider on whichever half comes second; the score never cut short;
   "LEVEL" written out with a gold Level star beside it (four points, small spikes between, a chevron at its heart) that
   glows now and then */
.rec-split .rec-lv::before { display: none; }
.rec-split .rec-half + .rec-half::before { content: ""; position: absolute; left: -2px; top: 22%; bottom: 22%; width: 1px; background: var(--line-2); }
.rec-split .rec-t { flex: none; white-space: nowrap; overflow: visible; }
.rec-split .rec-sc { flex: none; }
.lvl-ic { width: 19px; height: 19px; flex: none; overflow: visible; animation: lvlGlow 9s ease-in-out infinite; }
.lvl-ic .li-sp { fill: #b98a46; }
.lvl-ic .li-o { fill: #f0c27a; stroke: #7a5a2c; stroke-width: 0.9; }
.lvl-ic .li-m { fill: #6e4d1e; }
.lvl-ic .li-c { fill: #e8b25c; }
.lvl-ic .li-i { fill: #fff1cf; }
@keyframes lvlGlow { 0%, 78%, 100% { filter: drop-shadow(0 0 0 rgb(255 210 130 / 0)); } 86% { filter: drop-shadow(0 0 5px rgb(255 214 140 / 0.95)) brightness(1.25); } 92% { filter: drop-shadow(0 0 2px rgb(255 214 140 / 0.4)); } }
@media (max-width: 1180px) { .rec-split .rec-t { display: inline; } }
@media (max-width: 900px) { .rec-split .rec-L { font-size: 0.56rem; letter-spacing: 0.08em; } .lvl-ic { width: 16px; height: 16px; } }
@media (prefers-reduced-motion: reduce) { .lvl-ic { animation: none; } }

/* batch 42 (1478, 1479): the quest box's top part folds or opens it (the whole part is the button); beside the arrow, a
   small AUTOHIDE / NEVER HIDE switch */
.qb-head { grid-template-columns: auto auto 1fr auto auto; cursor: pointer; border-radius: 10px; outline: none; transition: background 0.3s ease; }
.qb-head:hover, .qb-head:focus-visible { background: rgb(240 194 122 / 0.05); }
.qb-head:focus-visible { box-shadow: 0 0 0 1px rgb(240 194 122 / 0.5); }
.qb-head .qb-fold { pointer-events: none; }
.qb-head:hover .qb-fold { color: var(--ink); }
.qb-mode { height: 20px; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(10 10 13 / 0.6); color: var(--muted); cursor: pointer; font: 600 0.48rem/1 var(--mono); letter-spacing: 0.16em; white-space: nowrap; transition: color 0.25s, border-color 0.25s, background 0.25s; }
.qb-mode:hover, .qb-mode:focus-visible { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 55%, var(--line-2)); }
.qb-mode.never { color: color-mix(in srgb, var(--gold) 80%, var(--muted)); border-color: color-mix(in srgb, var(--gold) 35%, var(--line-2)); }
/* 1488: swapping questlines: the old one slides out, the new one sweeps in */
.qb.swap-out > * { opacity: 0; transform: translateX(-10px); filter: blur(2px); transition: opacity 0.28s ease, transform 0.3s ease, filter 0.28s ease; }
.qb.swap > * { animation: qbSwapIn 0.7s cubic-bezier(.2,.8,.2,1) both; }
.qb.swap > :nth-child(2) { animation-delay: 0.08s; } .qb.swap > :nth-child(3) { animation-delay: 0.16s; }
.qb.swap::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgb(255 226 168 / 0.28) 50%, transparent 70%); animation: qbSwapSweep 0.9s ease-out both; }
@keyframes qbSwapIn { from { opacity: 0; transform: translateX(14px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes qbSwapSweep { from { transform: translateX(-100%); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }
/* 1491: a step done: a gold sweep runs along it (0.95 s) before it is marked */
.qb-list li.sweep { position: relative; overflow: hidden; border-radius: 6px; }
.qb-list li.sweep::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgb(255 214 140 / 0.55) 45%, rgb(255 244 214 / 0.8) 50%, rgb(255 214 140 / 0.55) 55%, transparent); transform: translateX(-100%); animation: qbStepSweep 0.95s cubic-bezier(.4,0,.2,1) forwards; }
.qb-list li.sweep .qb-tx { color: #ffe7b8; text-shadow: 0 0 10px rgb(240 194 122 / 0.7); transition: color 0.3s, text-shadow 0.3s; }
.qb-list li.sweep .qb-mk { border-color: var(--gold); box-shadow: 0 0 10px rgb(240 194 122 / 0.8); }
@keyframes qbStepSweep { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .qb.swap > *, .qb.swap::after, .qb-list li.sweep::after { animation: none; } }
/* 1489: the Quests page two boxes a row; 1487: the swap button stays usable with the box open (room kept under the steps) */
.qp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qp-take { z-index: 3; }
.qp-q.open:has(.qp-take) .qp-body > div { padding-bottom: 34px; }
@media (max-width: 900px) { .qp-list { grid-template-columns: 1fr; } }
/* 1505, 1506: what a questline requires, kept (grey, italic) once met */
.qp-tt .qp-req { margin-top: 4px; font-size: 0.78rem; color: var(--muted); }
.qp-tt .qp-req.met { font-style: italic; opacity: 0.6; }
.qb.swap { overflow: hidden; }

/* batch 42 (1481): the Chronicle's locked top, redone. The whole page lies on #stage (z-index 1), so a band over the
   screen hid the way back and could never let the title through. Now: the screen-wide band lies under #stage (it only
   shows at the sides of the page column), and the page column draws its own band (.chron-in::before, sticky, above
   the content); the page's title and subtitle stay in place above it (sticky, on a computer), the way back too. The
   shade under the band (batch 31, 1088) is back: a soft fade below it once the page is scrolled. The quest box (26)
   and the header stay above everything */
.chr-lock { z-index: 0; background: rgb(5 5 6); }
.chr-lock::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 58px; background: linear-gradient(180deg, rgb(5 5 6 / 0.97), rgb(5 5 6 / 0)); opacity: 0; transition: opacity 0.35s ease; }
body.chr-scrolled .chr-lock::after { opacity: 1; }
body[data-mode="chronicle"] .view.chron > .chron-in::before { display: block; content: ""; position: sticky; top: calc(-1 * var(--chpt, 78px)); z-index: 5; opacity: 1; pointer-events: none;
  height: calc(var(--chlock, 120px) - var(--chv, 0px) + 58px); margin: calc(-1 * var(--chpt, 78px)) -50vw calc(var(--chpt, 78px) - var(--chlock, 120px) + var(--chv, 0px) - 58px);
  background: linear-gradient(180deg, rgb(5 5 6) 0, rgb(5 5 6) calc(100% - 58px), rgb(5 5 6 / 0) calc(100% - 58px)); }
body[data-mode="chronicle"].chr-scrolled .view.chron > .chron-in::before { background: linear-gradient(180deg, rgb(5 5 6) 0, rgb(5 5 6) calc(100% - 58px), rgb(5 5 6 / 0.97) calc(100% - 58px), rgb(5 5 6 / 0) 100%); }
body[data-mode="chronicle"] .view.chron .back-top, body[data-mode="chronicle"] .view.chron .sig-back { z-index: 21; }
@media (min-width: 901px) {
  .view.chron.lockhead > .chron-in > .chron-head { position: sticky; top: var(--chhead, 120px); z-index: 21; }
  .view.chron.lockhead .rail { top: calc(var(--chlock, 120px) - var(--chv, 0px) - var(--chpt, 78px) + 12px); max-height: calc(100vh - var(--chlock, 120px) - 24px); }
}
/* 1486: the Level box in the Quests page's locked top, beside the title */
.qp-lvtop { position: static; display: grid; gap: 6px; width: min(340px, 100%); padding: 12px 16px; text-decoration: none; color: inherit; transition: border-color 0.3s, box-shadow 0.3s; }
.qp-lvtop:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--line-2)); box-shadow: 0 0 20px rgb(240 194 122 / 0.18); }
.qp-lvtop .qp-lvh { display: flex; align-items: center; gap: 8px; }
.qp-lvtop .qp-lvh .eyebrow { margin: 0; }
.qp-lvtop .qp-L { font-size: 1.6rem; line-height: 1; }
.qp-lvtop .qp-lvn { margin-left: auto; }
.qp-lvtop .lvl-ic { width: 22px; height: 22px; }
.qp-lvtop .qp-k { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.qp-lvtop .qp-k .lvl-ic, .qp-lvtop .qp-k .qp-ring { width: 13px; height: 13px; animation: none; }
.qp-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.qp-ring .f { fill: var(--gold); stroke: none; }
/* 1482: the Chronicle's Progress boxes, each its own: icons as large as the books' */
.books.prog .book .emb .q-ic, .books.prog .book .emb .cs-ring { width: 72px; height: 72px; }
.books.prog .book h2 small.pg-n { margin-left: 6px; font: 600 0.72rem/1 var(--mono); letter-spacing: 0.1em; color: color-mix(in srgb, var(--c) 70%, #fff); }
.pg-marks { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 6px; }
.pg-marks i { width: 13px; height: 15px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgb(255 255 255 / 0.1); }
.pg-marks i.on { background: linear-gradient(160deg, #ffe7b8, var(--gold)); box-shadow: 0 0 8px rgb(240 194 122 / 0.6); }
.pg-q { margin: 0; color: #fff; font-weight: 600; }
.pg-steps { display: flex; gap: 4px; margin: 4px 0 8px; }
.pg-steps i { flex: 1; max-width: 34px; height: 5px; border-radius: 3px; background: rgb(255 255 255 / 0.1); }
.pg-steps i.on { background: var(--c); box-shadow: 0 0 6px color-mix(in srgb, var(--c) 60%, transparent); }
.pg-lv { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 8px; }
.pg-lv .lvl-ic { width: 20px; height: 20px; }
.pg-lv b { font: 700 0.66rem/1 var(--mono); letter-spacing: 0.16em; color: var(--gold); }
.pg-lvbar { height: 5px; border-radius: 3px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.pg-lvbar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, #b98a46, var(--gold)); }
.pg-lv small { grid-column: 1 / -1; font: 600 0.58rem/1 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.pg-big { display: block; margin: 0 0 6px; font: 700 2rem/1 var(--display); letter-spacing: 0.04em; color: #ffe2a8; text-shadow: 0 0 18px rgb(255 177 92 / 0.45); }
.pg-big small { font: 600 0.7rem/1 var(--mono); letter-spacing: 0.08em; color: var(--muted); text-shadow: none; }
.pg-split { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: rgb(255 255 255 / 0.08); }
.pg-split i { width: var(--w); background: var(--pc); }
.pg-key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 2px; font: 600 0.56rem/1.3 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.pg-key span { display: inline-flex; align-items: center; gap: 5px; }
.pg-key span i { width: 7px; height: 7px; border-radius: 2px; background: var(--pc); }
.pg-sub { margin: 0; font-size: 0.78rem; color: var(--muted); }
/* batch 42 (1467): the admin popup keeps one height and place whichever tab is open (only its tab's list scrolls) */
.ab-pop.admin.cxa-panel { align-items: center; }
.ab-pop.admin.cxa-panel .ab-in { height: min(calc(100dvh - 32px), 820px); }
/* batch 42 (1511): an account marked for a sudden jump */
.ab-pop.admin .cxa-tbl tr.cxa-flag td { color: #ffb0a0; background: rgb(255 90 70 / 0.08); }
/* batch 42 (1498): the Iron Ledger's required position: a pulsing, glowing mark beyond the outer ring */
.tr-goal .tr-goal-mk { fill: #fff3d6; stroke: var(--c, #f0c27a); stroke-width: 1.2; }
.tr-goal .tr-goal-glow { fill: var(--c, #f0c27a); opacity: 0.5; filter: blur(3px); transform-box: fill-box; transform-origin: center; animation: trGoal 1.4s ease-in-out infinite; }
@keyframes trGoal { 0%, 100% { opacity: 0.25; transform: scale(0.9); } 50% { opacity: 0.95; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .tr-goal .tr-goal-glow { animation: none; opacity: 0.6; } }
/* batch 42 (1473): a notice with no line of its own (the Level up) shows none */
#toast .t-name:empty { display: none; }

/* batch 43 (1545): Options › Music: switch, volume slider and percentage on one line; dimmed while off */
.op-mus { display: flex; align-items: center; gap: 12px; }
.op-mus .op-volw { width: 150px; transition: opacity 0.3s; }
.op-mus .op-pct { min-width: 3.2em; text-align: right; font-size: 12px; letter-spacing: 0.06em; color: var(--ink-2, #bfb6a4); font-variant-numeric: tabular-nums; transition: opacity 0.3s; }
.op-mus.off .op-volw, .op-mus.off .op-pct { opacity: 0.4; }

/* batch 43 (1517): THE OMNIUM slowly fades out and back in: its present brightness is the most, 3% the least (the face,
   its depth and its lit rim together; the light sweep follows) */
@keyframes otBreathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.03; } }
.omni-tglow .ot-deep, .omni-tglow svg.ot-sweep { animation: otBreathe 26s ease-in-out infinite; }
.omni-tglow svg.ot-sweep { will-change: auto; }
html.opt-rm .omni-tglow .ot-deep, html.opt-rm .omni-tglow svg.ot-sweep { animation: none; }
@media (prefers-reduced-motion: reduce) { .omni-tglow .ot-deep, .omni-tglow svg.ot-sweep { animation: none; } }

/* batch 43 (1522): the card back's sheen lower than the site's (the light crossing the back as the card turns) */
.c3d-back-glare { opacity: calc(var(--ta, 0) * 0.5); }

/* batch 43 (1523): the record's card turns in 3D (record.js › crSpin): the face and the card back, back to back */
.card-rec .cr-spin { position: relative; transform-style: preserve-3d; transform: rotateX(var(--sx, 0deg)) rotateY(var(--sy, 0deg)); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.card-rec .cr-spin .cr-art { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.card-rec .cr-spin.turning .cr-art { animation-play-state: paused; }
.card-rec .cr-back { position: absolute; inset: 0; border-radius: 4.5% / 3.2%; overflow: hidden; transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #0b0806; box-shadow: 0 8px 22px rgb(0 0 0 / 0.6), 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent); pointer-events: none; }
.card-rec .cr-back img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-rec .cr-back-glare { position: absolute; inset: 0; mix-blend-mode: screen; opacity: calc(var(--ta, 0) * 0.5); background: linear-gradient(115deg, transparent 30%, rgb(255 240 215 / 0.28) 50%, transparent 70%); }
.card-rec .cr-spin.held, .card-rec .cr-spin.held * { cursor: grabbing !important; }

/* batch 43 (1524): the quest box's arrow is the AUTOHIDE / NEVER HIDE switch (no hiding by hand); its own small tooltip */
.qb-head { grid-template-columns: auto auto 1fr auto; cursor: default; }
.qb-head:hover, .qb-head:focus-visible { background: none; box-shadow: none; }
.qb-head .qb-fold.qb-mode { position: relative; pointer-events: auto; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted); }
.qb-head .qb-fold.qb-mode:hover, .qb-head .qb-fold.qb-mode:focus-visible { color: var(--gold); background: rgb(240 194 122 / 0.08); outline: none; }
.qb-fold.qb-mode.never { color: color-mix(in srgb, var(--gold) 80%, var(--muted)); }
.qb-fold.qb-mode.never svg { transform: rotate(180deg); }
.qb-tip { position: absolute; right: 0; bottom: calc(100% + 8px); padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 6px; background: rgb(10 10 13 / 0.94); color: var(--ink); font: 600 0.52rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateY(3px); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; transition-delay: 0s; }
.qb-fold.qb-mode:hover .qb-tip, .qb-fold.qb-mode:focus-visible .qb-tip { opacity: 1; transform: none; transition-delay: 0.25s; }

/* batch 43 (1525): a notice's own symbol in place of the diamond (a new questline shows the questline's) */
.t-head.iconed .t-ic { display: grid; place-items: center; width: 22px; height: 22px; flex: none; color: var(--gold); }
.t-head.iconed .t-ic svg { width: 100%; height: 100%; overflow: visible; }

/* batch 43 (1526): a new Level: a mirror-like light crosses the notice, then it starts to fade */
.toast.t-sweep { overflow: hidden; }
.toast.t-sweep::after { content: ""; position: absolute; inset: -40% -60%; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgb(255 250 238 / 0.08) 44%, rgb(255 252 244 / 0.62) 50%, rgb(255 250 238 / 0.08) 56%, transparent 62%); mix-blend-mode: screen; transform: translateX(-75%); animation: tSweep 1.15s cubic-bezier(.4,.1,.3,1) 0.45s forwards; }
@keyframes tSweep { to { transform: translateX(75%); } }
.toast.t-sweep:not(.on) { transition-duration: 1.4s; }

/* batch 43 (1530): EXPLORE / CHRONICLE stand on the screen's centre line; the Level and Score box sits just to their right
   and search at the far right (search folds to its glass where they would touch: main.js › fitTop) */
@media (min-width: 901px) {
  .top { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .top .lefts { grid-column: 1; grid-row: 1; }
  .top .modes { grid-column: 2; grid-row: 1; }
  .top #recBtn { grid-column: 3; grid-row: 1; justify-self: start; margin-left: 0; max-width: none; }
  .top #findw { grid-column: 3; grid-row: 1; justify-self: end; }
}
/* batch 43 (1531): the Level and the Score are two halves of one box, side by side like EXPLORE and CHRONICLE: no box round
   them; each half has its own edge (they share the line between) and lights alone on hover. After the user's picture: a
   symbol and a number; the Level's XP count above its bar (it lay over the bar), then the Level in a small ring */
#recBtn.rec-split { padding: 0; gap: 0; border: 0; background: none; box-shadow: none; height: 38px; }
#recBtn.rec-split:hover, #recBtn.rec-split:has(.rec-sig:hover) { border: 0; box-shadow: none; }
#recBtn.rec-split .rec-half { height: 38px; padding: 0 12px; gap: 9px; border: 1px solid var(--line-2); border-radius: 0; background: rgb(10 10 13 / 0.8); box-shadow: none; transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease; }
#recBtn.rec-split .rec-half.rec-lv { border-radius: 10px 0 0 10px; }
#recBtn.rec-split .rec-half.rec-sc { border-radius: 0 10px 10px 0; margin-left: -1px; }
#recBtn.rec-split .rec-half + .rec-half::before, #recBtn.rec-split .rec-lv::before { display: none; }
#recBtn.rec-split .rec-half:hover, #recBtn.rec-split .rec-half:focus-visible { z-index: 1; border-color: color-mix(in srgb, var(--gold) 80%, transparent); background: rgb(24 18 10 / 0.9); box-shadow: 0 0 16px rgb(240 194 122 / 0.26), inset 0 0 10px rgb(240 194 122 / 0.06); outline: none; }
#recBtn.rec-split .rec-mid { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
#recBtn.rec-split .rec-n { display: block; font: 600 0.52rem/1 var(--mono); letter-spacing: 0.08em; color: #a9a497; white-space: nowrap; font-variant-numeric: tabular-nums; }
#recBtn.rec-split .rec-mid .rec-bar { width: 84px; height: 3px; }
#recBtn.rec-split .rec-L { order: 3; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; box-sizing: border-box; border: 1.5px solid color-mix(in srgb, var(--gold) 75%, transparent); border-radius: 999px; background: rgb(240 194 122 / 0.06); color: #ffe2a8; font: 700 0.66rem/1 var(--mono); letter-spacing: 0; }
#recBtn.rec-split .rec-t { font: 600 0.72rem/1 var(--mono); letter-spacing: 0.06em; color: #d9d4c8; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { #recBtn.rec-split .rec-half { padding: 0 8px; gap: 6px; } #recBtn.rec-split .rec-n { display: none; } #recBtn.rec-split .rec-mid .rec-bar { width: 30px; } #recBtn.rec-split .rec-L { min-width: 21px; height: 21px; font-size: 0.6rem; } }

/* batch 43 (1528): the corner logo: the wordmark and the emblem take turns, one sliding and fading into the other */
.home.hm-logo { position: relative; width: 124px; height: 38px; padding: 0; border: 0; border-radius: 8px; background: none; box-shadow: none; overflow: visible; }
.home.hm-logo:hover, .home.hm-logo:focus-visible { padding: 0; border: 0; box-shadow: none; outline: none; }
.home.hm-logo img { position: absolute; left: 0; max-width: none; transition: opacity 0.8s ease, transform 0.9s cubic-bezier(.2,.8,.2,1), filter 0.4s ease; filter: drop-shadow(0 0 6px rgb(255 122 26 / 0.4)); }
.home.hm-logo .hm-a { top: 4px; width: 30px; height: 30px; object-fit: contain; }
.home.hm-logo .hm-w { top: 7px; width: 120px; height: 24px; object-fit: contain; object-position: left center; }
.home.hm-logo:not(.wm) .hm-w { opacity: 0; transform: translateX(16px) scale(0.96); }
.home.hm-logo.wm .hm-a { opacity: 0; transform: translateX(-10px) scale(0.8) rotate(-20deg); }
.home.hm-logo:hover img, .home.hm-logo:focus-visible img { filter: drop-shadow(0 0 10px rgb(255 140 50 / 0.9)) brightness(1.12); }
@media (max-width: 900px) { .home.hm-logo { width: 32px; } .home.hm-logo .hm-w { display: none; } .home.hm-logo .hm-a { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) { .home.hm-logo img { transition: opacity 0.4s ease; transform: none !important; } }

/* batch 43 (1529): Leave the Codex at the foot of the Menu, with its exit sign */
.mn-leave { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.mn-exit { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#recBtn.rec-split .rec-mid .rec-bar { display: block; }   /* batch 43 (1531): the bar shows at every width (it hid below 1180 px) */

/* batch 43 (1534): the Seal of Decree's hexagon fades away where it was selected (or passed the seal) */
.tr-line.tr-ghost { animation: trGhost 0.42s ease-out forwards; pointer-events: none; }
@keyframes trGhost { to { opacity: 0; } }

/* batch 43 (1536): an infected dot glows by a soft stroke, not a blur filter (the filter was redrawn each frame as the
   dots moved, and the red dots stuttered); the centre's three-select dot */
.tr-dot.inf { filter: none; stroke: rgb(255 90 74 / 0.42); stroke-width: 3.2px; paint-order: stroke; }
.tr-dot.big.inf { stroke: #ffd0c8; stroke-width: 1.2px; }
.tr-dot.huge { stroke-width: 1.6px; }
.tr-dot.huge.inf { stroke: #fff0ea; }

/* batch 43 (1538): Through the Gap: an arrowhead through the gap turns green, and the core's success pulse is green with
   no other colour (it showed yellow at the centre as the Nexus-yellow arrowhead landed on it) */
.tr-green .tr-arw { transition: fill 0.18s ease; }
.tr-green .tr-arw.thru { fill: #6ee2a0; }
.tr-green .tr-core, .tr-green .tr-core.pulse { filter: none; stroke: none; }
.tr-green .tr-core.pulse { animation: trCoreG 0.6s ease; }

/* batch 43 (1539): the Chronicle's dark band and its shadow show only once the page is scrolled (something lies under the
   header or the locked title); at the top of a page the header has no dark shade at all. The quest box stays above the
   shade */
body[data-mode="chronicle"]:not(.chr-scrolled) .chr-lock { opacity: 0; }
body[data-mode="chronicle"]:not(.chr-scrolled) .view.chron > .chron-in::before { opacity: 0; }
body[data-mode="chronicle"] .view.chron > .chron-in::before { transition: opacity 0.3s ease; }
body[data-mode="chronicle"] .top { transition: background-color 0.3s ease; }
body[data-mode="chronicle"]:not(.chr-scrolled) .top { background: none; }
.qb { z-index: 31; }
/* batch 43 (1540): the category list on the left scrolls by itself, apart from the page on the right */
@media (min-width: 901px) {
  .view.chron .chron-grid > .rail { max-height: calc(100vh - var(--chlock, 120px) - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; }
}
/* batch 43 (1542): CONTINUE at the right, nearer the Progress boxes below it */
.chron-cont { margin: -6px 0 4px auto; }
.chron-cont + .books-h { margin-top: 10px; }

/* batch 44 (1552): LEAVE fades the whole Codex out before the site opens */
body::after { content: ""; position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 2147483000; transition: opacity 0.85s ease; }
body.cx-leaving::after { opacity: 1; pointer-events: auto; }

/* batch 44 (1585): the category list keeps clear of the room below its grid, so the page's end never pushes it */
@media (min-width: 901px) {
  .view.chron .chron-grid > .rail { max-height: calc(100vh - var(--chlock, 120px) - 24px - var(--chtail, 0px)); }
}
/* batch 44 (1586): no dark band or shadow under the header: the page fades out behind the locked top instead (main.js
   fadeUnder: each part masked down to the line) */
body[data-mode="chronicle"] .chr-lock, body[data-mode="chronicle"] .chr-veil, body[data-mode="chronicle"] .view.chron > .chron-in::before { opacity: 0 !important; background: none !important; }
body[data-mode="chronicle"] .top { background: none !important; box-shadow: none !important; }
.view.chron .fu { -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--fu, 0px) - 24px), #000 calc(var(--fu, 0px) + 8px));
  mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--fu, 0px) - 24px), #000 calc(var(--fu, 0px) + 8px)); }
/* a record page's list (sticky) rests just below the line, clear of the fade */
@media (min-width: 901px) {
  body[data-mode="chronicle"] .view.chron .page-grid > .toc { top: calc(var(--chlock, 120px) - var(--chv, 0px) - var(--chpt, 78px) + 12px); max-height: calc(100vh - var(--chlock, 120px) - 24px); }
}

/* batch 44 (1554): the Level card in the Chronicle hero's top-right corner, with a constant soft glow; opens Shaper's Path */
.lvcard { position: relative; align-self: center; display: flex; align-items: center; gap: 14px; min-width: 250px; padding: 12px 16px; border: 1px solid rgb(240 194 122 / 0.45); border-radius: 14px; background: linear-gradient(135deg, rgb(240 194 122 / 0.09), rgb(10 10 13 / 0.7)); color: var(--ink); text-decoration: none; animation: lvcGlow 3.6s ease-in-out infinite; transition: border-color 0.3s, background-color 0.3s; }
.lvcard:hover, .lvcard:focus-visible { outline: none; border-color: rgb(240 194 122 / 0.85); }
@keyframes lvcGlow { 0%, 100% { box-shadow: 0 0 14px rgb(240 194 122 / 0.22), inset 0 0 12px rgb(240 194 122 / 0.06); } 50% { box-shadow: 0 0 26px rgb(240 194 122 / 0.42), inset 0 0 16px rgb(240 194 122 / 0.12); } }
.lvc-ring { position: relative; flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center; }
.lvc-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.lvc-ring circle { fill: none; stroke-width: 4; }
.lvc-ring .bg { stroke: rgb(255 255 255 / 0.1); }
.lvc-ring .arc { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 0 var(--c0); animation: lvcFill 1.2s 0.3s cubic-bezier(.3,.7,.3,1) forwards; filter: drop-shadow(0 0 3px rgb(240 194 122 / 0.6)); }
@keyframes lvcFill { to { stroke-dasharray: var(--a) var(--c0); } }
.lvc-ring b { font: 700 1.25rem/1 var(--display); color: var(--gold); }
.lvc-t { flex: 1; display: grid; gap: 3px; }
.lvc-t .eyebrow { margin: 0; color: var(--gold); }
.lvc-t b { font: 700 1.05rem/1.2 var(--display); letter-spacing: 0.04em; }
.lvc-t small { font: 600 0.58rem/1.3 var(--mono); letter-spacing: 0.1em; color: var(--muted); }
.lvcard .cc-go { color: var(--gold); font-size: 1.3rem; }
@media (prefers-reduced-motion: reduce) { .lvcard { animation: none; box-shadow: 0 0 20px rgb(240 194 122 / 0.32); } .lvc-ring .arc { animation: none; stroke-dasharray: var(--a) var(--c0); } }
/* batch 44 (1556): CONTINUE and NEXT ON THE ROAD side by side, each with room for its words (title on its own line) */
.chron-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 4px 0 8px; }
.chron-pair:empty { display: none; }
.chron-pair .chron-cont { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 6px; margin: 0; padding: 14px 18px; }
.chron-pair .chron-cont > .eyebrow { grid-column: 1; }
.chron-pair .chron-cont .cc-n { grid-column: 1; line-height: 1.25; }
.chron-pair .chron-cont .cc-k { grid-column: 1; line-height: 1.4; }
.chron-pair .chron-cont .cc-go { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.chron-cont.next { border-color: rgb(201 212 227 / 0.28); background: rgb(201 212 227 / 0.04); }
.chron-cont.next .eyebrow { color: #c9d4e3; }
.chron-cont.next:hover, .chron-cont.next:focus-visible { border-color: rgb(201 212 227 / 0.6); background: rgb(201 212 227 / 0.08); }
/* batch 44 (1555): Progress as two boxes: Sigils (left) and Quests (right) */
.prog2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pbox { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 14px; border: 1px solid var(--line-2); border-top: 2px solid var(--c); border-radius: 14px; background: rgb(10 10 13 / 0.62); color: var(--ink); text-decoration: none; transition: border-color 0.3s, background-color 0.3s, box-shadow 0.4s; }
.pbox:hover, .pbox:focus-visible { outline: none; border-color: color-mix(in srgb, var(--c) 55%, transparent); background: rgb(14 13 12 / 0.75); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 18%, transparent); }
.pbx-h { display: flex; align-items: baseline; gap: 10px; }
.pbx-h .eyebrow { margin: 0; color: var(--c); }
.pbx-h small { margin-left: auto; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.12em; color: var(--muted); }
.pbx-f { margin-top: auto; align-self: flex-end; font: 600 0.62rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); }
.pbx-f .cc-go { margin-left: 4px; }
.pg-hexes { display: grid; gap: 0; padding: 4px 0 2px; --hx: clamp(34px, 3.6vw, 46px); }
.pg-hexr { display: flex; gap: calc(var(--hx) * 0.16); }
.pg-hexr + .pg-hexr { margin-top: calc(var(--hx) * -0.14); }
.pg-hexr.off { padding-left: calc(var(--hx) * 0.58); }
.pg-hex { flex: 0 0 var(--hx); width: var(--hx); height: var(--hx); display: grid; place-items: center; opacity: 0.28; filter: grayscale(1) brightness(0.8); transition: opacity 0.3s, filter 0.3s, transform 0.3s; }
.pg-hex.on { opacity: 1; filter: none; }
.pg-hex > * { width: 100%; height: 100%; }
.pbox:hover .pg-hex.on { transform: translateY(-1px); }
.pg-qn { display: flex; align-items: center; gap: 10px; }
.pg-qn b { font: 700 1.1rem/1.25 var(--display); letter-spacing: 0.04em; }
.pg-qi { flex: 0 0 30px; width: 30px; height: 30px; color: var(--gold); }
.pg-qi svg { width: 100%; height: 100%; }
.pg-q2 .pg-steps { display: flex; gap: 6px; }
.pg-q2 .pg-steps i { flex: 1; height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.1); }
.pg-q2 .pg-steps i.on { background: var(--gold); box-shadow: 0 0 6px rgb(240 194 122 / 0.5); }
.pg-nx { margin: 0; display: grid; gap: 4px; font-size: 0.9rem; color: var(--ink); }
.pg-nx .eyebrow { margin: 0; color: var(--muted); }
/* batch 44 (1560): the gold Shaper's Path row at the top of the Chronicle's list */
.rail .rl-hub { border-color: rgb(240 194 122 / 0.35); color: var(--gold); background: rgb(240 194 122 / 0.06); }
.rail .rl-hub .lvl-ic { width: 18px; height: 18px; }
.rail .rl-hub small { color: var(--gold); }
.rail .rl-sep { height: 1px; margin: 4px 6px; background: linear-gradient(90deg, rgb(240 194 122 / 0.4), transparent); }
/* batch 44 (1558): the record list at the left (Unknown factions and every other shelf): more room between lines */
.toc a { line-height: 1.35; padding: 7px 8px; }
.toc li + li { margin-top: 2px; }
.toc .toc-sealed { display: flex; gap: 10px; padding: 7px 8px; line-height: 1.35; }
.toc .toc-sealed::before { content: counter(pg, upper-roman); min-width: 30px; font: 600 0.6rem/1.9 var(--mono); color: var(--dim); }

/* ---------------- batch 44 (1560): Shaper's Path ---------------- */
.sp-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 270px; gap: 22px; align-items: start; }
.sp-lv, .sp-sig { position: relative; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgb(10 10 13 / 0.62); }
.sp-lv { border-top: 2px solid var(--gold); }
.sp-c { display: block; margin: 0 0 10px; text-align: center; color: var(--gold); }
.sp-medal { position: relative; width: 104px; height: 104px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgb(240 194 122 / 0.6); background: radial-gradient(circle, rgb(240 194 122 / 0.16), rgb(10 10 13 / 0.2) 70%); box-shadow: 0 0 24px rgb(240 194 122 / 0.25); }
.sp-medal .lvl-ic { position: absolute; top: -12px; width: 26px; height: 26px; }
.sp-medal b { font: 700 2.6rem/1 var(--display); color: var(--gold); text-shadow: 0 0 14px rgb(240 194 122 / 0.5); }
.sp-xp { --p: 0%; position: relative; height: 10px; }
.sp-xpt { position: absolute; inset: 0; border-radius: 6px; background: rgb(255 255 255 / 0.08); overflow: visible; }
.sp-xpf { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); border-radius: 6px; background: linear-gradient(90deg, #a8762f, var(--gold)); box-shadow: 0 0 10px rgb(240 194 122 / 0.5); transition: width 1.6s 0.25s cubic-bezier(.25,.7,.3,1); }
.sp-xpf::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.55), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: spXpRun 2.8s 2s ease-in-out infinite; }
@keyframes spXpRun { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.sp-xptip { position: absolute; top: 50%; left: var(--p); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff4dc; box-shadow: 0 0 10px 3px rgb(240 194 122 / 0.75); transition: left 1.6s 0.25s cubic-bezier(.25,.7,.3,1); animation: spTip 2.2s ease-in-out infinite; }
@keyframes spTip { 50% { box-shadow: 0 0 16px 6px rgb(240 194 122 / 0.45); } }
.sp-xpk { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0 18px; font: 600 0.58rem/1.3 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.sp-xpk span:last-child { color: var(--gold); text-align: right; }
.sp-sh { display: block; margin: 0 0 10px; color: var(--muted); }
.sp-src { display: grid; gap: 10px; }
.sp-row { display: grid; grid-template-columns: 1fr auto; row-gap: 5px; font-size: 0.82rem; }
.sp-row small { font: 600 0.58rem/1.6 var(--mono); color: var(--dim); }
.sp-row .sp-bar { grid-column: 1 / -1; }
.sp-bar { display: block; height: 4px; border-radius: 3px; background: rgb(255 255 255 / 0.07); overflow: hidden; }
.sp-row .sp-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--c); box-shadow: 0 0 6px var(--c); animation: spGrow 1.1s var(--d) cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes spGrow { to { width: var(--w); } }
.sp-tot { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.sp-tot dt { font: 600 0.6rem/1.5 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sp-tot dd { margin: 0; font: 700 0.95rem/1.3 var(--display); text-align: right; }
.sp-tot dd:first-of-type { color: var(--gold); }
.sp-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.sp-tab { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(10 10 13 / 0.55); color: var(--muted); text-align: left; cursor: pointer; transition: border-color 0.3s, color 0.3s, background-color 0.3s; }
.sp-tab b { font: 700 0.85rem/1.2 var(--display); letter-spacing: 0.06em; color: var(--ink); }
.sp-tab small { font: 600 0.55rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.sp-tab:hover { border-color: rgb(240 194 122 / 0.4); }
.sp-tab[aria-selected="true"] { border-color: var(--gold); background: rgb(240 194 122 / 0.08); color: var(--gold); box-shadow: 0 0 14px rgb(240 194 122 / 0.15); }
.sp-tab.iii[aria-selected="true"] { border-color: #8fa3bd; color: #c9d4e3; background: rgb(143 163 189 / 0.08); box-shadow: none; }
.sp-roadw { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(ellipse at 30% 40%, rgb(240 194 122 / 0.05), transparent 60%), rgb(8 8 11 / 0.6); scrollbar-width: thin; }
.sp-tree { display: block; min-width: 640px; width: 100%; height: auto; }
.sp-lk { fill: none; stroke: rgb(255 255 255 / 0.16); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; transition: opacity 0.4s, stroke 0.4s; }
.sp-lk.done { stroke: rgb(240 194 122 / 0.55); }
.sp-lk.walked { stroke: var(--gold); filter: drop-shadow(0 0 3px rgb(240 194 122 / 0.6)); }
.sp-mid:not(.drawn) .sp-lk { stroke-dashoffset: 1; animation: spDraw 0.9s var(--dl) ease-out forwards; }
@keyframes spDraw { to { stroke-dashoffset: 0; } }
.sp-n { cursor: pointer; outline: none; transition: opacity 0.4s; }
.sp-mid:not(.drawn) .sp-n { opacity: 0; animation: spPop 0.5s var(--dl) ease-out forwards; }
@keyframes spPop { from { opacity: 0; transform-box: fill-box; } to { opacity: 1; } }
.sp-dot { fill: #0e0f14; stroke: rgb(255 255 255 / 0.3); stroke-width: 1.6; transition: stroke 0.3s, fill 0.3s; }
.sp-halo { fill: none; stroke: transparent; stroke-width: 1.4; }
.sp-n text { font: 600 7.4px var(--mono); letter-spacing: 0.1em; text-anchor: middle; fill: var(--muted); }
.sp-n .q-ic { color: #bdb7ab; }
.sp-n.done .sp-dot { stroke: var(--gold); fill: #1a150d; }
.sp-n.done .q-ic { color: var(--gold); }
.sp-n.done text { fill: var(--gold); }
.sp-n.on .sp-dot { stroke: #fff; fill: #20190e; }
.sp-n.on .q-ic { color: #fff; }
.sp-n.on text { fill: #fff; }
.sp-n.on .sp-halo { stroke: rgb(240 194 122 / 0.8); animation: spHalo 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spHalo { 0%, 100% { opacity: 0.35; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.08); } }
.sp-n.avail .sp-dot { stroke: #c9d4e3; }
.sp-n.shut { opacity: 0.45; }
.sp-n.shut text { fill: var(--dim); }
.sp-n:hover .sp-dot, .sp-n:focus-visible .sp-dot { stroke: var(--gold); }
.sp-n.sel .sp-dot { stroke-width: 2.6; filter: drop-shadow(0 0 6px rgb(240 194 122 / 0.7)); }
.sp-n.dim, .sp-lk.dim { opacity: 0.12; }
.sp-walk { fill: #fff4dc; filter: drop-shadow(0 0 5px rgb(240 194 122 / 0.95)); }
.sp-dock { display: grid; grid-template-columns: 1.2fr 1.2fr 0.9fr; gap: 18px; margin-top: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: rgb(10 10 13 / 0.62); animation: spIn 0.4s ease; }
@keyframes spIn { from { opacity: 0; transform: translateY(4px); } }
.sp-dock .eyebrow { display: block; margin: 0 0 8px; color: var(--muted); }
.sp-dock h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 700 1.15rem/1.25 var(--display); letter-spacing: 0.04em; }
.sp-dki { flex: 0 0 26px; width: 26px; height: 26px; color: var(--gold); }
.sp-dki svg { width: 100%; height: 100%; }
.sp-dock p { margin: 0 0 8px; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.sp-req { font-style: italic; }
.sp-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.84rem; line-height: 1.4; }
.sp-steps li { position: relative; padding-left: 20px; color: var(--muted); }
.sp-steps li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 8px; height: 8px; border: 1.5px solid rgb(255 255 255 / 0.3); border-radius: 50%; }
.sp-steps li.ok { color: var(--dim); font-style: italic; }
.sp-steps li.ok::before { background: var(--gold); border-color: var(--gold); }
.sp-steps li.now { color: var(--ink); }
.sp-steps li.now::before { border-color: #fff; box-shadow: 0 0 6px rgb(255 255 255 / 0.7); }
.sp-steps li.lock { filter: blur(2px); opacity: 0.6; }
.sp-big { display: block; margin: 2px 0 4px; font: 700 1.5rem/1.1 var(--display); color: var(--gold); }
.sp-dk3 small { display: block; margin-bottom: 12px; font-size: 0.78rem; color: var(--muted); }
.sp-take, .sp-more { margin-top: 6px; }
.sp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 14px; }
.sp-qc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: rgb(10 10 13 / 0.55); color: var(--ink); text-align: left; cursor: pointer; transition: border-color 0.3s, background-color 0.3s; }
.sp-qc:hover { border-color: rgb(240 194 122 / 0.45); }
.sp-qc.sel { border-color: var(--gold); background: rgb(240 194 122 / 0.07); }
.sp-qc.shut { opacity: 0.55; }
.sp-qt { display: grid; gap: 3px; min-width: 0; }
.sp-qt b { font: 700 0.86rem/1.25 var(--display); letter-spacing: 0.04em; }
.sp-qt small { font: 600 0.55rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sp-ring { position: relative; flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; }
.sp-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.sp-ring circle { fill: none; stroke-width: 3; }
.sp-ring .bg { stroke: rgb(255 255 255 / 0.1); }
.sp-ring .fg { stroke: var(--gold); stroke-linecap: round; }
.sp-ring b { font: 600 0.52rem/1 var(--mono); color: var(--ink); }
.sp-sig ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sp-sg { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 5px; align-items: center; padding: 7px 8px; border-radius: 10px; color: var(--muted); text-decoration: none; transition: background-color 0.3s, color 0.3s; }
.sp-sg:hover, .sp-sg:focus-visible { outline: none; background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--ink); }
.sp-sg .sp-em { grid-row: 1 / 3; width: 36px; height: 36px; opacity: 0.35; filter: grayscale(1); }
.sp-sg .sp-em > * { width: 100%; height: 100%; }
.sp-sg.got .sp-em { opacity: 1; filter: none; }
.sp-sg.got { color: var(--ink); }
.sp-sn { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; min-width: 0; }
.sp-sn b { font: 600 0.78rem/1.25 var(--display); letter-spacing: 0.03em; }
.sp-sn small { flex: none; font: 600 0.52rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.sp-sg.got .sp-sn small { color: var(--c); }
.sp-sg .sp-bar i { display: block; height: 100%; width: var(--w); background: var(--c); }
@media (max-width: 1180px) { .sp-grid { grid-template-columns: 240px minmax(0, 1fr); } .sp-sig { grid-column: 1 / -1; } .sp-sig ul { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
@media (max-width: 900px) { .sp-grid { grid-template-columns: minmax(0, 1fr); } .sp-tabs { grid-template-columns: repeat(2, 1fr); } .sp-dock { grid-template-columns: 1fr; } .lvcard { min-width: 0; width: 100%; margin-top: 12px; } }
@media (prefers-reduced-motion: reduce) { .sp-mid .sp-lk, .sp-mid .sp-n { animation: none !important; opacity: 1; stroke-dashoffset: 0; } .sp-row .sp-bar i { animation: none; width: var(--w); } .sp-xpf::after, .sp-xptip { animation: none; } }

/* batch 44 (1587): the quest box's switch tooltip, like the Codex's other tooltips (.tip) */
.qb-tip { top: calc(100% + 10px); bottom: auto; right: -6px; width: 220px; padding: 10px 12px; border: 1px solid var(--line-2); border-left: 2px solid var(--gold); border-radius: 9px; background: rgb(8 8 10 / 0.96); color: var(--ink); font: 400 0.8rem/1.45 var(--body, inherit); letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; box-shadow: 0 8px 24px rgb(0 0 0 / 0.5); }
.qb-tip .k { display: block; font: 600 0.56rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember-2); }
.qb-tip b { display: block; margin: 4px 0 4px; font: 700 0.92rem/1.2 var(--display); color: var(--gold); }
/* batch 44 (1588): the quest box's header collapses or expands it */
.qb-head[role="button"] { cursor: pointer; }
.qb-head[role="button"]:focus-visible { outline: 1px solid rgb(240 194 122 / 0.6); outline-offset: 2px; border-radius: 6px; }
/* batch 44 (1589): How levels work drops down from the Level box on hover (its first paragraph only) */
.qp-lvtop { position: relative; }
.qp-lvdrop { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: min(360px, 80vw); padding: 12px 14px; border: 1px solid var(--line-2); border-top: 2px solid var(--gold); border-radius: 10px; background: rgb(8 8 10 / 0.97); box-shadow: 0 10px 28px rgb(0 0 0 / 0.55); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.qp-lvdrop .eyebrow { display: block; margin: 0 0 6px; color: var(--gold); }
.qp-lvdrop p { margin: 0; font-size: 0.84rem; line-height: 1.5; color: var(--muted); text-transform: none; letter-spacing: 0; }
.qp-lvtop:hover .qp-lvdrop, .qp-lvtop:focus-visible .qp-lvdrop { opacity: 1; transform: none; transition-delay: 0.15s; }
.qp { grid-template-columns: minmax(0, 1fr); }   /* batch 44 (1589): no side column (How levels work moved to the Level box) */

/* batch 44 (1565): the XP gain shows inside the header's Level / Score box: the halves fade out, the full XP bar fades in
   over the whole box, then the box turns back */
#recBtn .xp-line { left: 0; right: 0; top: 0; bottom: 0; height: auto; padding: 0 12px; gap: 9px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); background: linear-gradient(90deg, rgb(240 194 122 / 0.12), rgb(10 10 13 / 0.92) 60%); box-shadow: 0 0 18px rgb(240 194 122 / 0.28); transform: scale(0.97); transition: opacity 0.35s ease, transform 0.35s ease; z-index: 3; pointer-events: none; }
#recBtn .xp-line.on { transform: none; }
#recBtn .xp-line .lvl-ic { width: 16px; height: 16px; flex: none; }
#recBtn .xp-line .xp-bar { flex: 1; height: 5px; }
#recBtn .xp-line em { font: 700 0.62rem/1 var(--mono); letter-spacing: 0.08em; color: var(--gold); font-style: normal; }
#recBtn > .rec-half { transition: opacity 0.35s ease; }
#recBtn.xp-gain > .rec-half { opacity: 0; }
/* batch 44 (1566): a larger corner logo and wordmark, with less room after it */
.home.hm-logo { width: 150px; height: 44px; }
.home.hm-logo .hm-a { top: 3px; width: 38px; height: 38px; }
.home.hm-logo .hm-w { top: 6px; width: 150px; height: 32px; }
.lefts { gap: 6px; }
.lefts .crumbs { margin-left: 8px; }
@media (max-width: 900px) { .home.hm-logo { width: 38px; } }
/* batch 44 (1567): the Score's ring a little larger */
#recBtn .rec-ring { width: 20px; height: 20px; }
.home.hm-logo { transition: width 0.6s cubic-bezier(.2,.8,.2,1); }   /* batch 44 (1566): the space after the logo follows what it shows (no gap behind the emblem) */
.home.hm-logo:not(.wm) { width: 40px; }

/* batch 44 (1573): the XP (Level) icon animates more often (every 6 s, was 9 s): a glow swells from its lower centre,
   then traces leave the bottom point and run round both sides to the top */
.lvl-ic { animation: lvlGlow2 6s ease-in-out infinite; }
@keyframes lvlGlow2 { 0%, 60%, 100% { filter: drop-shadow(0 0 0 rgb(255 210 130 / 0)); } 70% { filter: drop-shadow(0 0 4px rgb(255 214 140 / 0.9)) brightness(1.2); } 86% { filter: drop-shadow(0 0 3px rgb(255 214 140 / 0.55)); } }
.lvl-ic .li-g { fill: #fff3d2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: lvlCore 6s ease-in-out infinite; }
@keyframes lvlCore { 0%, 58%, 100% { opacity: 0; transform: scale(0.4); } 68% { opacity: 0.85; transform: scale(1.15); } 80% { opacity: 0.25; transform: scale(0.9); } }
.lvl-ic .li-t { fill: none; stroke: #fff4d6; stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 0.24 1.3; stroke-dashoffset: 0.24; opacity: 0; animation: lvlTrace 6s linear infinite; }
@keyframes lvlTrace { 0%, 66% { stroke-dashoffset: 0.24; opacity: 0; } 68% { opacity: 1; } 84% { stroke-dashoffset: -1; opacity: 0.9; } 86%, 100% { stroke-dashoffset: -1; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lvl-ic, .lvl-ic .li-g, .lvl-ic .li-t { animation: none; } }
.qp-lvtop .qp-k .lvl-ic .li-g, .qp-lvtop .qp-k .lvl-ic .li-t { animation: none; }

/* batch 44 (1584): Through the Gap's core is green at rest and flashes green (never the Nexus's yellow or white) */
.tr-field .tr-core.gcore { fill: #a9ecc6; stroke: none; filter: none; }
.tr-core.gcore.pulse { animation: trCoreG2 0.6s ease !important; transform-box: fill-box; transform-origin: center; }
@keyframes trCoreG2 { 30% { transform: scale(1.8); fill: #6ee2a0; } }

/* batch 44 (1563): the Temporal Anomaly's hourglass; on the Omnium it turns over (half a turn, then still) when its
   Realm is hovered or focused */
.hg path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hg .hg-fr { stroke: color-mix(in srgb, var(--c) 55%, #fff); stroke-width: 2.4px; }
.hg .hg-gl { stroke: color-mix(in srgb, var(--c) 70%, #fff); stroke-width: 1.6px; fill: color-mix(in srgb, var(--c) 12%, transparent); }
.hg .hg-sd { fill: color-mix(in srgb, var(--c) 75%, #fff); stroke: none; opacity: 0.85; }
.hg .hg-st { stroke: color-mix(in srgb, var(--c) 75%, #fff); stroke-width: 1px; stroke-dasharray: 2 3; animation: hgSt 0.9s linear infinite; }
@keyframes hgSt { to { stroke-dashoffset: -5; } }
.rm-hg { transform-box: fill-box; transform-origin: center; transition: opacity 0.3s ease; }
:is(.realm.signal, .centre-pin):is(:hover, :focus-visible) .rm-hg { animation: hgTurn 2.6s cubic-bezier(.5,0,.25,1) infinite; }
@keyframes hgTurn { 0%, 12% { transform: rotate(0deg); } 42%, 62% { transform: rotate(180deg); } 92%, 100% { transform: rotate(360deg); } }
.map-area.vfar .rm-hg { opacity: 0; }
.sx-map .sm-hg path { vector-effect: none; }
.sx-map .sm-hg .hg-fr { stroke-width: 1.2px; } .sx-map .sm-hg .hg-gl { stroke-width: 0.9px; } .sx-map .sm-hg .hg-st { stroke-width: 0.6px; stroke-dasharray: 1 1.6; }
.sx-map .sm-sig.dim .sm-hg { --c: #fff; opacity: 0.75; }
@media (prefers-reduced-motion: reduce) { .hg .hg-st, .realm.signal .rm-hg { animation: none !important; } }
html.opt-rm .hg .hg-st, html.opt-rm .realm.signal .rm-hg { animation: none !important; }
/* batch 44 (1579): the flash where a crack starts on the Omnium */
.map-fx .om-crk .om-crk-f { fill: color-mix(in srgb, var(--c) 45%, #fff); opacity: 0; filter: blur(6px); animation: omCrkF 0.5s ease-out forwards; }
@keyframes omCrkF { 0% { opacity: 0.75; } 100% { opacity: 0; } }
.map-fx .om-crk-l { stroke-width: 2px; }
/* batch 44 (1590): no dots between the map's controls; a wider gap stands between them instead */
.view.map .hint span + span::before { content: none; }
.view.map .hint { column-gap: 2.2em; }
/* batch 44 (1574, 1578): an unclaimed record's name (and a sealed one not yet logged) is white when hovered or selected,
   with its dot; gold only once claimed */
.view.dest .pin:not(.claimed):not(.ghost):is(:hover, :focus-visible, .on) .lbl { fill: #fff; }
/* batch 44 (1577): a claimed Region's name a little larger */
.view.dest .pin.k-world.claimed .lbl { font-size: 12.5px; }
/* batch 44 (1569, 1577): Map names AUTOHIDE: claimed names fade out after 6 s with no record open (explore.js mn-idle) */
/* batch 51 (1704): dimmed, not hidden (--mn-dim); logged records dim with them */
html:not(.mn-show) body:not(.dossier-on) .view.dest.mn-idle .pin:is(.claimed, .documented):not(:hover):not(:focus-visible):not(.on) .lbl { opacity: var(--mn-dim, 0.2); transition: opacity 1.4s ease; }
/* batch 44 (1576): a collected card's name in gold under its icon, drawn in */
.view.dest .pin.k-card .lbl.card-n { fill: var(--gold); font-size: 9px; opacity: 1; animation: lblIn 1.1s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
/* batch 44 (1575): INVESTIGATED under an investigated unknown signal */
.view.dest .pin.ghost .lbl.inv-l { fill: color-mix(in srgb, var(--fc, #8fb3ff) 45%, #fff); font-size: 8px; letter-spacing: 0.24em; opacity: 0.85; }
.view.dest .pin.ghost .lbl.inv-l.fresh { animation: lblIn 1.2s cubic-bezier(.2,.8,.2,1) 0.4s both; }
@keyframes lblIn { from { opacity: 0; letter-spacing: 0.5em; } to { opacity: 0.9; } }
html.opt-rm .view.dest .lbl:is(.card-n, .inv-l) { animation: none; }
/* batch 45 (1594): the Music slider as wide as Effects'; the percentage shows on its knob only while sliding */
.op-mus .op-volw { width: 190px; position: relative; }
.op-mus .op-bub { position: absolute; top: 50%; left: calc(8px + (100% - 16px) * var(--pv, 0)); min-width: 30px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--gold); color: #120c05; font: 700 10.5px var(--mono); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; transform: translate(-50%, -50%) scale(0.6); opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease; box-shadow: 0 0 12px rgb(255 190 110 / 0.45); }
.op-mus .op-volw.sliding .op-bub { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.op-mus .op-volw .op-rng { margin: 0; }
/* batch 45 (1596): every switch of buttons (Music style, Reduce motion, Graphics quality, Text size, Map names) the same width */
.options .op-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 236px; box-sizing: border-box; }
.options .op-seg .op-s { min-width: 0; padding-left: 4px; padding-right: 4px; text-align: center; }
/* batch 45 (1619, 1620): the corner logo a little larger in the same header; its box keeps the wordmark's width at all
   times, so the change never moves the breadcrumbs or the buttons; the A stands at the centre of the wordmark's place
   and the two fade into each other there */
.home.hm-logo, .home.hm-logo:not(.wm) { width: 164px; height: 44px; transition: none; }
.home.hm-logo .hm-w { top: 5px; left: 0; width: 164px; height: 35px; }
.home.hm-logo .hm-a { top: 1px; left: calc(50% - 21px); width: 42px; height: 42px; }
.home.hm-logo:not(.wm) .hm-w { opacity: 0; transform: scale(0.9); }
.home.hm-logo.wm .hm-a { opacity: 0; transform: scale(0.7) rotate(-20deg); }
@media (max-width: 900px) { .home.hm-logo, .home.hm-logo:not(.wm) { width: 38px; } .home.hm-logo .hm-a { left: 0; width: 36px; height: 36px; top: 4px; } }
/* batch 45 (1621): the Score ring a little larger (22 px, was 20) */
#recBtn .rec-ring { width: 22px; height: 22px; }
/* batch 45 (1600): the switch's arrow points up for AUTOHIDE and down for NEVER HIDE (swapped) */
.qb-fold.qb-mode.auto svg { transform: rotate(180deg); }
.qb-fold.qb-mode.never svg { transform: none; }
/* batch 45 (1599): the tooltip without its label: no empty room at its top */
.qb-tip b { margin-top: 0; }
/* batch 45 (1601): the icon is a link to the Quests page */
.qb-head .qb-ic { cursor: pointer; }
.qb-head .qb-ic:hover { background: rgb(240 194 122 / 0.16); box-shadow: 0 0 12px rgb(240 194 122 / 0.25); }
/* batch 45 (1602): the questline's name in Cinzel and gold, a little higher */
.qb-name { font-family: var(--display); font-weight: 700; color: var(--gold); letter-spacing: 0.03em; position: relative; top: -3px; }
/* ---- batch 45: the Chronicle's home ---- */
/* 1603: the wordmark's glow has room inside the hero (its box is masked when the page scrolls under the locked top) */
.chron-hero { padding: 26px 26px 0; margin-left: -26px; margin-right: -26px; margin-top: -26px; }
/* 1608, 1609: NEXT and CONTINUE at the hero's right, level with the title; NEXT keeps its column whether or not CONTINUE
   is shown */
.chron-hero .chron-pair.hero-pair { display: grid; grid-template-columns: repeat(2, 250px); gap: 14px; align-self: center; margin: 0 0 0 auto; width: auto; flex: none; }
.chron-hero .hero-pair .cp-gap { display: block; }
.chron-hero .hero-pair .chron-cont { height: 100%; box-sizing: border-box; }
@media (min-width: 901px) and (max-width: 1360px) { .chron-hero .chron-pair.hero-pair { grid-template-columns: 240px; } .chron-hero .hero-pair .cp-gap { display: none; } }
@media (max-width: 900px) { .chron-hero { padding: 16px 16px 0; margin: -16px -16px 0; } .chron-hero .chron-pair.hero-pair { grid-template-columns: 1fr; width: 100%; margin: 14px 0 0; } .chron-hero .hero-pair .cp-gap { display: none; } }
/* 1604: the Level card (Shaper's Path) more prominent: a larger ring, the title in the books' type, an XP bar */
.lvcard { gap: 16px; padding: 16px 18px; }
.lvc-ring { flex-basis: 74px; width: 74px; height: 74px; }
.lvc-ring b { font-size: 1.6rem; }
.lvc-t .lvc-h { font: 700 1.25rem/1.15 var(--display); letter-spacing: 0.05em; color: var(--gold); }
.lvc-t b { font-size: 0.95rem; color: var(--ink); }
.lvc-bar { display: block; height: 5px; margin: 3px 0 2px; border-radius: 3px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.lvc-bar i { display: block; height: 100%; width: var(--f); border-radius: inherit; background: linear-gradient(90deg, #b9853f, var(--gold), #fff1cf); box-shadow: 0 0 8px rgb(240 194 122 / 0.6); transform-origin: left; animation: lvcBar 1.2s 0.3s cubic-bezier(.3,.7,.3,1) both; }
@keyframes lvcBar { from { transform: scaleX(0); } }
/* 1608: on a computer it stands in the left column, below the quest box; the copy in the page shows on a phone only */
.lvcard.lv-side { position: fixed; z-index: 25; left: 18px; top: calc(var(--toph, var(--top)) + 10px + var(--qbh, 0px) + 14px); width: var(--lpw); box-sizing: border-box; min-width: 0; opacity: 0; transform: translateX(-18px); transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.2,.8,.2,1), top 0.45s cubic-bezier(.2,.8,.2,1), border-color 0.3s; }
html:not(.qb-on) .lvcard.lv-side { top: calc(var(--toph, var(--top)) + 10px); }
.lvcard.lv-side.in { opacity: 1; transform: none; }
.lv-in { display: none; }
@media (max-width: 900px) { .lvcard.lv-side { display: none; } .lv-in { display: block; } }
@media (min-width: 901px) { html.lv-on .view.chron { left: max(calc(var(--lpw) + 30px), calc(50% - 680px)); } }
/* 1605: the Sigils and Quests boxes' titles as the books' titles */
.pbx-h h2 { margin: 0; font: 700 1.24rem/1.15 var(--display); letter-spacing: 0.05em; color: color-mix(in srgb, var(--c) 25%, #fff); }
/* 1606: the Sigils as true hexagons (the emblem keeps its own proportions: width : height = 1 : 1.155), each the same
   size, in two rows set into each other like a honeycomb with an even gap */
.pg-hexes { --hx: clamp(36px, 3.4vw, 46px); --hg: calc(var(--hx) * 0.12); padding: 6px 0 4px; }
.pg-hexr { gap: var(--hg); }
.pg-hexr + .pg-hexr { margin-top: calc(var(--hx) * -0.289 + var(--hg) * 0.87); }
.pg-hexr.off { padding-left: calc((var(--hx) + var(--hg)) / 2); }
.pg-hex { flex: 0 0 var(--hx); width: var(--hx); height: calc(var(--hx) * 1.155); }
.pg-hex > .emblem { width: var(--hx); height: calc(var(--hx) * 1.155); }
.pg-hex .emblem img, .pg-hex .emblem > svg:not(.em-trace) { width: 56%; height: 56%; }
.pg-hex .emblem .em-trace { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg-hex .emblem .em-halo { display: none; }
/* 1607: the active questline's steps */
.pg-sl { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.pg-sl li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: baseline; font-size: 0.86rem; line-height: 1.35; color: var(--muted); }
.pg-sl li i { width: 8px; height: 8px; margin-top: 4px; border: 1px solid rgb(255 255 255 / 0.3); transform: rotate(45deg); }
.pg-sl li.done { color: color-mix(in srgb, var(--gold) 60%, var(--ink)); }
.pg-sl li.done i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 6px rgb(240 194 122 / 0.6); }
.pg-sl li.nx { color: var(--ink); font-weight: 600; }
.pg-sl li.nx i { border-color: var(--gold); animation: pgNx 1.8s ease-in-out infinite; }
@keyframes pgNx { 50% { box-shadow: 0 0 8px rgb(240 194 122 / 0.8); background: rgb(240 194 122 / 0.35); } }
html.opt-rm .pg-sl li.nx i { animation: none; }
/* ---- batch 45: Shaper's Path ---- */
/* 1614: on a computer the Level card stands in the left column below the quest box (path.js sideLevel), scrolling on its
   own when taller than the window; the page keeps the path and the Sigils */
@media (min-width: 901px) {
  html.sp-on .view.chron { left: max(calc(var(--lpw) + 30px), calc(50% - 680px)); }
  .sp-lv.lv-side { position: fixed; z-index: 25; left: 18px; top: calc(var(--toph, var(--top)) + 10px + var(--qbh, 0px) + 14px); width: var(--lpw); max-height: calc(100vh - var(--toph, var(--top)) - var(--qbh, 0px) - 40px); overflow-y: auto; scrollbar-width: none; box-sizing: border-box; opacity: 0; transform: translateX(-18px); transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.2,.8,.2,1), top 0.45s cubic-bezier(.2,.8,.2,1); background: rgb(10 10 13 / 0.9); }
  html:not(.qb-on) .sp-lv.lv-side { top: calc(var(--toph, var(--top)) + 10px); max-height: calc(100vh - var(--toph, var(--top)) - 30px); }
  .sp-lv.lv-side::-webkit-scrollbar { display: none; }
  .sp-lv.lv-side.in { opacity: 1; transform: none; }
  .sp-grid { grid-template-columns: minmax(0, 1fr) 270px; }
}
@media (min-width: 901px) and (max-width: 1180px) { .sp-grid { grid-template-columns: minmax(0, 1fr); } }
/* 1615: the XP icon featured: large over the Level medal, glowing */
.sp-medal { width: 120px; height: 120px; margin-top: 26px; }
.sp-medal .lvl-ic { top: -30px; width: 52px; height: 52px; filter: drop-shadow(0 0 10px rgb(240 194 122 / 0.75)); }
/* 1616: the path much larger: thicker lines, larger stops and names, a larger light; the tree draws taller */
.sp-tree { min-width: 760px; }
.sp-lk { stroke-width: 4; }
.sp-lk.walked { filter: drop-shadow(0 0 5px rgb(240 194 122 / 0.75)); }
.sp-n text { font-size: 9.5px; }
.sp-walk { r: 6; }
/* 1613: the Sigils' emblems at their own proportions (they were squeezed square and overflowed) */
/* batch 47 (1657): these rules scoped to Shaper's Path's list (.sp-sg): the equipped Sigil's popup uses .sp-em too, and its
   large emblem was shrunk to 36 px and greyed */
.sp-sg .sp-em { width: 36px; height: 41.6px; }
.sp-sg .sp-em > .emblem { width: 36px; height: 41.6px; }
.sp-sg .sp-em .emblem img, .sp-sg .sp-em .emblem > svg:not(.em-trace) { width: 56%; height: 56%; }
.sp-sg .sp-em .emblem .em-trace { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-sg .sp-em .emblem .em-halo { display: none; }

/* ===== batch 46 (2026-11-18) ===== */
/* 1626, 1627: a collected card's name and INVESTIGATED fade out with the other names under Map names AUTOHIDE (their
   draw-in animation held its last frame, which kept them showing over the fade) */
.view.dest .pin.k-card .lbl.card-n { animation-fill-mode: backwards; }
.view.dest .pin.ghost .lbl.inv-l.fresh { animation-fill-mode: backwards; }
.view.dest .pin.k-card .lbl.card-n, .view.dest .pin.ghost .lbl.inv-l { transition: opacity 0.6s ease; }
html:not(.mn-show) body:not(.dossier-on) .view.dest.mn-idle .pin:is(.k-card, .ghost):not(:hover):not(:focus-visible):not(.on) :is(.lbl.card-n, .lbl.inv-l) { opacity: var(--mn-dim, 0.2); transition: opacity 1.4s ease; }
/* 1629: hovering the quest box's header bar lights a subtle glow round the box's edge */
.qb:has(> .qb-head:hover) { border-color: color-mix(in srgb, var(--gold) 55%, var(--line-2)); box-shadow: 0 10px 30px rgb(0 0 0 / 0.45), 0 0 14px rgb(240 194 122 / 0.16), inset 0 0 12px rgb(240 194 122 / 0.07); }
/* 1630: the Chronicle home's Quests box blurs the steps not yet reached in a questline "in order", as the quest box does */
.pg-sl li.lk span { filter: blur(4px); opacity: 0.55; -webkit-user-select: none; user-select: none; }
.pg-sl li.lk i { opacity: 0.35; }
/* 1634: the fade under the locked top starts lower: nothing shows above the line (was a 24 px overlap), fading in over
   the 28 px below it; on every Chronicle page, the Quests page and the Sigils page */
.view.chron .fu { -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent var(--fu, 0px), #000 calc(var(--fu, 0px) + 28px));
  mask-image: linear-gradient(180deg, transparent 0, transparent var(--fu, 0px), #000 calc(var(--fu, 0px) + 28px)); }
/* 1642: NEXT and CONTINUE end level with the hero's last line of text */
@media (min-width: 901px) { .chron-hero { align-items: flex-end; } .chron-hero .chron-pair.hero-pair { align-self: flex-end; margin-bottom: var(--hpb, 0px); } }
/* 1636: the Sigils box's emblems larger, at most 7 a row */
.pg-sig2 .pg-hexes { --hx: clamp(44px, 4.2vw, 60px); --hg: calc(var(--hx) * 0.1); }
.pg-hexr.off { padding-left: calc((var(--hx) + var(--hg)) / 2); }
/* batch 47 (1653): the emblems sized by the box's own width too, so a full offset row of 7 (7 emblems, 6 gaps and the
   half-step offset: 8.15 emblem widths) never spills past the box's right side when the page is narrowed */
.pg-sig2 .pg-hexes { container-type: inline-size; }
.pg-sig2 .pg-hexr { --hx: min(clamp(44px, 4.2vw, 60px), 100cqw / 8.3); --hg: calc(var(--hx) * 0.1); }
/* 1638: greyed Sigils brighter (Dominion, Nethrys and Primal most of all, whose icons are dark), on the Chronicle home and
   on Shaper's Path */
.pg-hex:not(.on) { opacity: 0.42; filter: grayscale(1) brightness(1); }
.sp-sg:not(.got) .sp-em { opacity: 0.5; }
:is(.pg-hex:not(.on), .sp-sg:not(.got) .sp-em) .emblem.em-dark img { filter: brightness(2.6) contrast(0.9); }
/* batch 47 (1652): Dominion's red and Nethrys's purple still greyed out nearly black (brightened first, the red clipped to
   pure red, and pure red greys dark): those two are greyed on the icon itself, then brightened, so their fill reads light grey */
:is(.pg-hex:not(.on), .sp-sg:not(.got) .sp-em) .emblem.em-dark2 img { filter: grayscale(1) brightness(4.2) contrast(0.95); }
/* 1637: CURRENTLY EQUIPPED below the emblems */
.pg-eq { display: flex; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.pg-eq .eyebrow { margin: 0; color: var(--muted); }
.pg-eqs { display: flex; align-items: center; gap: 10px; }
.pg-eqe { --hx: 34px; width: var(--hx); height: calc(var(--hx) * 1.155); display: grid; place-items: center; }
.pg-eqe > .emblem { width: var(--hx); height: calc(var(--hx) * 1.155); }
.pg-eqe .emblem img, .pg-eqe .emblem > svg:not(.em-trace) { width: 56%; height: 56%; }
.pg-eqe .emblem .em-trace { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg-eqe .emblem .em-halo { display: none; }
.pg-eqs b { font: 700 1rem/1.2 var(--display); letter-spacing: 0.04em; color: color-mix(in srgb, var(--c) 45%, #fff); }
.pg-eqn { font: 600 0.62rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); opacity: 0.8; }
/* 1641: the Sigils and Quests boxes' titles in gold */
.pg-sig2 .pbx-h h2, .pg-q2 .pbx-h h2 { color: var(--gold); }
/* 1639, 1640: VIEW ALL SIGILS / VIEW ALL QUESTS larger */
.pbox .pbx-f { font-size: 0.78rem; letter-spacing: 0.16em; }
.pbox .pbx-f .cc-go { font-size: 1.05rem; }
/* 1640: the quest's icon larger, ACTIVE QUEST over its name, the step line and the steps indented to the name */
.pg-q2 { --qi: 44px; }
.pg-qi { flex: 0 0 var(--qi); width: var(--qi); height: var(--qi); }
.pg-qn { gap: 14px; }
.pg-qt { display: grid; gap: 4px; }
.pg-qt .eyebrow { margin: 0; color: var(--gold); font-size: 0.56rem; }
.pg-qin { display: grid; gap: 12px; padding-left: calc(var(--qi) + 14px); }
/* 1644: the Shaper's Path card taller, with the XP and the Codex Score on a line of their own, each with its icon; it
   follows the quest box at once as the box opens (was a 0.45 s lag that let the box cover it) */
.lvcard { padding: 20px 18px; }
.lvc-t { gap: 5px; }
.lvc-st { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; font: 600 0.6rem/1.3 var(--mono); letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.lvc-st > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lvc-st .lvl-ic { width: 18px; height: 18px; filter: drop-shadow(0 0 4px rgb(240 194 122 / 0.6)); }
.lvc-st .cs-ring { width: 16px; height: 16px; }
.lvc-st .cs-ring circle { fill: none; stroke: #ffb15c; stroke-width: 1.6; }
.lvc-st .cs-ring circle.f { fill: #ffb15c; stroke: none; }
.lvc-st .cs-ring path { fill: none; stroke: #ffb15c; stroke-width: 1.4; }
.lvcard.lv-side { transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.2,.8,.2,1), top 0.1s linear, border-color 0.3s; }
/* 1646: the subtitle on one line */
.sp-subt { white-space: nowrap; }
/* 1645, 1649: Shaper's Path: no right column; the centre (the path, the details, the questlines, then the Sigils) takes
   its room, so the path draws larger */
@media (min-width: 901px) { .sp-grid { grid-template-columns: minmax(0, 1fr); } }
.sp-mid > .sp-sig { margin-top: 18px; }
.sp-mid > .sp-sig ul { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 14px; }
.sp-tree { min-width: 860px; }
.sp-n text { font-size: 11px; }
.sp-n .sp-dot { stroke-width: 2.4; }
/* 1647: the Level card's head: the XP icon large at the left, LEVEL and the number beside it (no heading at the top centre) */
.sp-lvh { display: flex; align-items: center; gap: 16px; margin: 4px 0 16px; }
.sp-lvh .lvl-ic { flex: 0 0 64px; width: 64px; height: 64px; filter: drop-shadow(0 0 10px rgb(240 194 122 / 0.75)); }
.sp-lvn { display: grid; gap: 2px; }
.sp-lvn .eyebrow { margin: 0; color: var(--gold); }
.sp-lvn b { font: 700 3rem/1 var(--display); color: var(--gold); text-shadow: 0 0 14px rgb(240 194 122 / 0.5); }
/* 1648: while the path is first drawn (and the light runs along it), a questline that dims fades to its dim look, as it
   does afterwards, in place of popping in bright and then dropping dark at the end of the drawing */
.sp-mid:not(.drawn) .sp-n:not(.x) { opacity: 1; animation: spPopIn 0.5s var(--dl) ease-out both; }
.sp-mid:not(.drawn) .sp-n.dim:not(.x) { opacity: 0.12; }
@keyframes spPopIn { from { opacity: 0; } }
.sp-n { transition: opacity 0.6s ease; }
.sp-lk { transition: opacity 0.6s ease, stroke 0.6s ease; }
@media (prefers-reduced-motion: reduce) { .sp-mid:not(.drawn) .sp-n:not(.x) { animation: none; } }
/* 1632: the wordmark centred behind the A (its picture was held to the left of its box) and a little larger (40 px
   tall, was 35), in the same header and the same box */
.home.hm-logo .hm-w { top: 2px; height: 40px; object-position: center center; }
/* 1625: THE OMNIUM's face and depth in one canvas (explore.js titleFace) */
.omni-tglow canvas.ot-face { pointer-events: none; }
/* 1184: Written In The Stars: the line dragged from the start star, the start star's ping and ripple */
.stars .cn-rub { stroke: var(--c); stroke-width: 1.4; stroke-dasharray: 3 5; opacity: 0.7; pointer-events: none; filter: drop-shadow(0 0 3px var(--c)); }
.stars .cn-rip { fill: none; stroke: var(--c); stroke-width: 1.5; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: cnRip 1.2s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes cnRip { from { opacity: 0.9; transform: scale(0.6); } to { opacity: 0; transform: scale(4.2); } }
.stars .cn-star.ping .cn-glow { animation: cnPing 0.6s ease-out; }
@keyframes cnPing { 0% { opacity: 1; scale: 2.4; } 100% { opacity: 0.6; scale: 1.5; } }
.stars.lit:not(.done) .cn-star { cursor: grab; }
/* 1198: the Sightlines' lines glow a little more as the angle sought nears (explore.js --nl) */
.pin.sightline .sl-web { fill: none; stroke: color-mix(in srgb, var(--c) 55%, #fff); stroke-width: 0.7; stroke-linejoin: round; opacity: calc(0.12 + var(--nl, 0) * 0.55); pointer-events: none; }
.pin.sightline:not(.close) .sl-ln:not(.thin) { opacity: calc(0.7 + var(--nl, 0) * 0.3); filter: drop-shadow(0 0 calc(var(--nl, 0) * 4px) var(--c)); }
.pin.sightline:not(.close) .sl-web { filter: drop-shadow(0 0 calc(var(--nl, 0) * 4px) var(--c)); }
.pin.sightline.close .sl-web { stroke: #fff; opacity: 0.85; filter: drop-shadow(0 0 5px var(--c)); }
/* 1203: a phone left untouched for 20 s rests: looping animations pause where they stand (main.js html.rest) */
html.rest *, html.rest *::before, html.rest *::after { animation-play-state: paused !important; }

/* batch 48 (1660 to 1674, user 2026-11-19): phone only (max-width 900px); the computer layout is unchanged */
@media (max-width: 900px) {
  /* 1673: the header's top row holds the logo, Menu, account, EXPLORE / CHRONICLE, LEVEL / SCORE and search at the far right */
  .top { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .home.hm-logo, .home.hm-logo:not(.wm) { width: 34px; }
  .home.hm-logo .hm-a { width: 32px; height: 32px; top: 5px; }
  .about-b.menu-b { width: 34px; padding: 0 !important; justify-content: center; }
  .acct-b { width: 34px; min-width: 34px; padding: 0; justify-content: center; }
  .modes { flex: 0 0 auto; }
  .modes { padding: 2px; gap: 2px; }
  .mode { width: 30px; padding: 0; justify-content: center; }
  #recBtn.rec-split { flex: 0 1 auto; min-width: 0; margin-left: auto; }
  #recBtn.rec-split .rec-half { padding: 0 6px; }
  #recBtn.rec-split .rec-mid .rec-bar { display: none; }
  .findw { order: 4; flex: 0 0 auto; }
  /* 1668: the breadcrumbs' row below the header starts at the header's left edge (no indent) */
  .lefts .crumbs, .crumbs { margin-left: 0; padding-left: 0; }
  .crumbs.below { left: 8px; max-width: calc(100vw - 16px); }
  .crumb-list { left: 0; }
  /* 1671: no breadcrumbs in the Chronicle */
  body[data-mode="chronicle"] .crumbs { display: none; }
  /* 1662: the Realm panel (and the Omnium's) spans the screen */
  html body .view.map .brief { left: 10px; right: 10px; width: auto; max-width: none; }
  html.qb-on .dest .brief, .dest .brief { max-height: 38%; }
  /* 1669: the fold button: a clean drawn chevron, centred at the top of the panel */
  .dest .brief-tog { float: none; position: sticky; top: 0; display: grid; place-items: center; width: 46px; height: 22px; margin: -8px auto 6px; border-radius: 999px; }
  .dest .brief-tog span { display: none; }
  .dest .brief-tog svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
  .dest .brief.folded .brief-tog svg { transform: rotate(180deg); }
  /* 1660, 1661: the MAP KEY at the lower right, the controls at the bottom centre, both just above the Realm panel */
  .view.map .mapkey { right: 10px; bottom: calc(var(--bh, 34%) + 6px); }
  .view.map .mapkey-b { height: 34px; padding: 0 12px; font-size: 0.6rem; }
  .view.map .hint { left: 50%; right: auto; transform: translateX(-50%); bottom: calc(var(--bh, 34%) + 10px); max-width: calc(100% - 210px); flex-wrap: wrap; justify-content: center; text-align: center; row-gap: 3px; column-gap: 1.2em; font-size: 0.5rem; letter-spacing: 0.1em; white-space: normal; }
  .view.map .hint span { white-space: nowrap; }
  .view.map.omni .mapkey { bottom: 156px; } .view.map.omni .hint { bottom: 160px; }   /* the Omnium's panel is about 140 px tall and sets no --bh */
  body.dossier-on .view.map .hint { transform: translateX(-50%); }
  /* 1663 to 1667: the quest box at the upper right, against the header's edge, its right side under LEVEL / SCORE's (48 px:
     the search button and the gap); folded
     (always after a few seconds on a phone) it shows only its icon and the questline's name; no AUTOHIDE switch */
  .qb, body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb { top: var(--toph, var(--top)); left: auto; right: 48px; width: min(272px, calc(100vw - 56px)); border-top-left-radius: 0; border-top-right-radius: 0; }
  .qb:not(.in) { transform: translateY(-10px); }
  .qb.out { transform: translateY(-14px) scale(0.96); }
  .qb-head .qb-fold.qb-mode { display: none; }
  .qb.compact, body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb.compact { width: max-content; max-width: min(240px, calc(100vw - 56px)); padding: 6px 10px; }
  .qb.compact .qb-head { display: flex; align-items: center; gap: 8px; }
  .qb.compact :is(.qb-k, .qb-n, .qb-bar, .qb-body) { display: none; }
  .qb.compact .qb-ic { width: 28px; height: 28px; border-radius: 7px; flex: none; }
  .qb.compact .qb-ic .q-ic { width: 18px; height: 18px; }
  .qb.compact .qb-name { flex: 1 1 auto; min-width: 0; font-size: 0.8rem; }
  html.qb-on body:is([data-mode="chronicle"], [data-mode="sigils"]) .chron { padding-top: calc(var(--toph, var(--top)) + 58px); }   /* room under the folded box */
  /* 1672: Options: a wide switch or slider moves under its name instead of squeezing it */
  .options .op-row { flex-wrap: wrap; row-gap: 8px; }
  .options .op-t { flex: 1 1 150px; }
  .options .op-row > :is(.op-seg, .op-slide, .op-mus) { flex: 1 1 100%; width: 100%; max-width: none; }
  .options .op-row > .op-mus .op-slide { flex: 1; width: auto; }
}

/* batch 49 (1675 to 1689), phone only: every rule below is inside the phone width; the computer layout is unchanged */
@media (max-width: 900px) {
  /* 1678: a held finger never highlights windows, buttons or pictures; only a record's text (and typing fields) can be
     selected */
  body, body * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
  :is(.txt, q, blockquote, .block.unver p), :is(.txt, q, blockquote, .block.unver p) * { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
  input, textarea, [contenteditable="true"] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
  /* 1679: the header's buttons slightly larger (EXPLORE / CHRONICLE most); search leaves the top row for the breadcrumbs'
     row, at its left (an empty item breaks the row before it) */
  .top::after { content: ""; order: 5; flex: 0 0 100%; height: 0; }
  .findw { order: 6; }
  .crumbs { order: 7; flex: 1 1 0; min-width: 0; }
  .home.hm-logo, .home.hm-logo:not(.wm) { width: 36px; }
  .home.hm-logo .hm-a { width: 34px; height: 34px; top: 4px; }
  .about-b.menu-b, .acct-b { width: 36px; min-width: 36px; height: 36px; }
  /* 1688: the Menu icon centred (a tap left the hover's 5 px right padding on, pushing the icon left) */
  .about-b.menu-b, .about-b.menu-b:is(:hover, :focus-visible) { padding: 0 !important; justify-content: center; }
  .menu-b .ring-i { width: 25px; height: 25px; }
  .modes { padding: 2px; gap: 2px; }
  .mode { width: 36px; height: 32px; }
  .mode svg { width: 19px; height: 19px; }
  #recBtn.rec-split { height: 40px; flex: 0 0 auto; }
  #recBtn.rec-split .rec-half { padding: 0 6px; }
  .top { gap: 5px; }
  /* 1687: the equipped Sigil in the header: a badge on the box's left edge, its true hexagon shape (it was squeezed to a
     square inside the box and widened it, pushing the other buttons) */
  #recBtn.rec-split:has(#recSig:not([hidden])) { padding-left: 20px; }
  .rec-btn .rec-sig:not([hidden]) { position: absolute; left: -3px; top: 50%; transform: translateY(-50%); z-index: 2; height: auto; padding: 0; border: 0; background: none; gap: 0; }
  .rec-sig .rs-n { display: none; }
  .rec-sig .rs-em { display: block; flex: none; }
  .rec-btn .rec-sig .emblem { width: 22px; height: 25px; min-width: 22px; min-height: 25px; flex: none; }
  .rec-btn .rec-sig .emblem img, .rec-btn .rec-sig .emblem svg:not(.em-trace) { width: 13px; height: 13px; }
  /* 1680: the quest box at the top right, just beneath the header's top row, against the screen's right side */
  .qb, body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb { top: var(--hr1, 54px); right: 0; border-right: 0; border-radius: 0 0 0 12px; width: min(272px, calc(100vw - 52px)); }
  .qb.compact, body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb.compact { max-width: min(240px, calc(100vw - 60px)); }
  html.qb-on .crumbs { padding-right: 150px; }   /* the breadcrumbs stop short of the folded box */
  html.qb-on body:is([data-mode="chronicle"], [data-mode="sigils"]) .chron { padding-top: calc(max(var(--toph, var(--top)), var(--hr1, 54px) + 42px) + 14px); }
  /* 1682: the Realm panel's faction names smaller, their icons larger */
  .brief .meta { font-size: 0.68rem; }
  .brief-ico img { width: 50px; height: 50px; flex: none; }
  /* 1684: COLLECT is a gold button, as the other main actions */
  .btn.collect:not(.done) { color: #1c1203; border-color: transparent; background: linear-gradient(180deg, #ffe7b4, #f0c27a 45%, #c98d33); }
  /* 1683, 1686: an uncollected card and an unearned Sigil stay greyed (and the card blurred) when the Codex has stilled
     its effects on a slow phone (safe mode took off every filter, these included) */
  .safe .card-rec.cr-a.uncol .cr-art img, .safe .cards button.unc img { filter: grayscale(0.92) brightness(0.72) contrast(0.95) blur(1.6px) !important; }
  .safe .tile.sealedt .mk { filter: saturate(0.2) brightness(0.75) !important; }
  .safe .sigil:not(.earned) .emblem { filter: grayscale(0.75) brightness(0.78) !important; }
  .safe .sig-win.unearned .emblem.big { filter: grayscale(0.7) brightness(0.8) !important; }
  .safe .pg-hex:not(.on), .safe .sp-sg:not(.got) .sp-em { filter: grayscale(1) !important; }
  .safe :is(.pg-hex:not(.on), .sp-sg:not(.got) .sp-em) .emblem.em-dark img { filter: brightness(2.6) contrast(0.9) !important; }
  .safe :is(.pg-hex:not(.on), .sp-sg:not(.got) .sp-em) .emblem.em-dark2 img { filter: grayscale(1) brightness(4.2) contrast(0.95) !important; }
}

/* batch 50 (1690): the Menu icon is three lines on every screen; open (aria-expanded), the lines turn into a cross */
.menu-b .bars-i { padding: 3px; stroke-width: 1.8; stroke-linecap: round; }
.menu-b:hover .bars-i, .menu-b[aria-expanded="true"] .bars-i { transform: none; }
.menu-b .bars-i path { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.25s ease; }
.menu-b:hover .bars-i .b2 { transform: scaleX(0.7); }
.menu-b[aria-expanded="true"] .bars-i .b1 { transform: translateY(5px) rotate(45deg); }
.menu-b[aria-expanded="true"] .bars-i .b2 { opacity: 0; }
.menu-b[aria-expanded="true"] .bars-i .b3 { transform: translateY(-5px) rotate(-45deg); }

/* batch 50 (1691 to 1698), phone only: every rule below is inside the phone width; the computer layout is unchanged */
/* 1691: a held finger highlights nothing but a record's text on every touch screen, not only below 900 px (a phone held
   sideways, or a tablet, is wider and still highlighted pictures and parts of the screen); pictures, drawings and links
   never offer a selection or their long-press menu, even inside a record's text */
@media (pointer: coarse) {
  body, body * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
  :is(.txt, q, blockquote, .block.unver p), :is(.txt, q, blockquote, .block.unver p) * { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
  input, textarea, [contenteditable="true"] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
  img, svg, a, button, [role="button"], canvas { -webkit-user-select: none !important; user-select: none !important; -webkit-touch-callout: none !important; -webkit-user-drag: none; }
}
@media (max-width: 900px) {
  img, svg, a, button, [role="button"], canvas { -webkit-user-select: none !important; user-select: none !important; -webkit-touch-callout: none !important; -webkit-user-drag: none; }
  /* 1693: every button left of LEVEL / SCORE is as tall as it (40 px), its icon larger and centred (EXPLORE / CHRONICLE
     were 32 px tall in a 30 px row, so they sat 2 px low) */
  .home.hm-logo, .home.hm-logo:not(.wm) { width: 40px; height: 40px; align-self: center; }
  .home.hm-logo .hm-a { width: 38px; height: 38px; top: 1px; }
  .about-b.menu-b, .acct-b { width: 40px; min-width: 40px; height: 40px; }
  .menu-b .ring-i.bars-i { width: 28px; height: 28px; }
  svg.acct-i { width: 21px; height: 21px; }
  .modes { height: 40px; padding: 2px; box-sizing: border-box; align-items: stretch; }
  .mode { width: 38px; height: auto; }
  .mode svg { width: 21px; height: 21px; }
  /* 1694: the equipped Sigil a little further left on the box's edge, with even gaps (about 6 px) to CHRONICLE and to the
     Level icon (the box's room for it 16 px, was 20) */
  #recBtn.rec-split:has(#recSig:not([hidden])) { padding-left: 16px; }
  .rec-btn .rec-sig:not([hidden]) { left: -4px; }
  /* 1695: while XP is earned the bar covers the whole box and the Sigil fades away under it (it overlapped the bar) */
  .rec-btn .rec-sig { transition: opacity 0.35s ease; }
  #recBtn.xp-gain .rec-sig { opacity: 0; }
  #recBtn.xp-gain .xp-line { left: -8px; }
  /* 1692: the quest box stands a little in from the screen's right side, its right border showing */
  .qb, body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb { right: 6px; border-right: 1px solid color-mix(in srgb, var(--gold) 32%, var(--line-2)); border-radius: 0 0 12px 12px; width: min(272px, calc(100vw - 58px)); }
  .qb.compact, body:is([data-mode="chronicle"], [data-mode="sigils"]) .qb.compact { max-width: min(240px, calc(100vw - 66px)); }
  html.qb-on .crumbs { padding-right: 156px; }
  /* 1698: unearned Sigils (the Sigils page and a Sigil's own page) fully grey and darker (they kept a quarter of their
     colour and the card's coloured light); also in safe mode */
  .sigil:not(.earned), .safe .sigil:not(.earned) { filter: saturate(0.15) !important; }
  .sigil:not(.earned) .emblem, .safe .sigil:not(.earned) .emblem { filter: grayscale(1) brightness(0.62) !important; opacity: 0.8; }
  .sig-win.unearned, .safe .sig-win.unearned { filter: saturate(0.15) !important; }
  .sig-win.unearned .emblem.big, .safe .sig-win.unearned .emblem.big { filter: grayscale(1) brightness(0.65) !important; opacity: 0.85; }
}

/* ===== batch 51 (2026-11-21) ===== */
/* 1704: how far the map's names dim 7 s after the last move with no panel open (Options › Map names AUTOHIDE) */
:root { --mn-dim: 0.2; }
/* 1701: a collected card's name and an investigated signal's INVESTIGATED in the same type as every other record's name
   (10 px, the records' letter spacing); INVESTIGATED white, as a logged record's name */
.view.dest .pin.k-card .lbl.card-n { font-size: 10px; letter-spacing: 0.12em; }
.view.dest .pin.ghost .lbl.inv-l { font-size: 10px; letter-spacing: 0.12em; fill: #fff; opacity: 1; }
.view.dest .pin.k-card .lbl.card-n.fresh { animation: lblIn 1.2s cubic-bezier(.2,.8,.2,1) 0.4s backwards; }
/* 1702: a sealed record shows no name under its icon until it is logged (then the name shows in white) */
.view.dest .pin.unlogged:not(.documented) .lbl { opacity: 0 !important; }
.view.dest .pin.unlogged.documented .lbl { animation: lblIn 1.2s cubic-bezier(.2,.8,.2,1) backwards; }
html.opt-rm .view.dest .pin.unlogged.documented .lbl, html.opt-rm .view.dest .lbl.card-n.fresh { animation: none; }
/* 1709: the Quests page's Level box: its popout opens to the box's left, level with its top (it dropped below it) */
.qp-lvtop .qp-lvdrop { top: 0; right: calc(100% + 10px); width: min(340px, 42vw); border-top-width: 1px; border-right: 2px solid var(--gold); transform: translateX(6px); }
.qp-lvtop:hover .qp-lvdrop, .qp-lvtop:focus-visible .qp-lvdrop { transform: none; }
@media (max-width: 900px) { .qp-lvtop .qp-lvdrop { top: calc(100% + 8px); right: 0; width: min(360px, 80vw); border-top-width: 2px; border-right-width: 1px; border-right-color: var(--line-2); transform: translateY(-6px); } }
/* 1710: the account window: the join link under DISCORD ROLE, centred on its box (no OFFICIAL DISCORD box) */
.ac-grid { align-items: start; }
.ac-dr { display: grid; gap: 7px; }
.ac-join2 { justify-self: center; font: 600 0.62rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); text-decoration: none; transition: color 0.2s, text-shadow 0.2s; }
.ac-join2:hover, .ac-join2:focus-visible { color: #ffe2b0; text-shadow: 0 0 10px rgb(240 194 122 / 0.5); }
/* 1711: About's build line at the bottom centre, its "v" kept lower case */
.about .ab-build { text-align: center; text-transform: none; }
