/* design 6 · Worlds — tarot-like world cards in two rows beside a painted altar; a card on the altar opens its world as
   an arched stage; one demonic host poster stands beside it on each side, taking turns; a gaslit foggy room. */

/* The room's theme. Registered as colours so they glide: main.js sets them to a world's palette when its stage is
   open (from /designs/worlds/palette.json) and back to these neutral values when the card goes home. */
@property --t-bg { syntax: '<color>'; inherits: true; initial-value: #0c0a0e; }
@property --t-glow { syntax: '<color>'; inherits: true; initial-value: #d6b276; }
@property --t-fog { syntax: '<color>'; inherits: true; initial-value: #8c848c; }
@property --t-line { syntax: '<color>'; inherits: true; initial-value: #d2c4a3; }
@property --t-paper { syntax: '<color>'; inherits: true; initial-value: #d2c4a3; }
@property --t-paper2 { syntax: '<color>'; inherits: true; initial-value: #a8977a; }
@property --t-acc { syntax: '<color>'; inherits: true; initial-value: #b3182f; }
@property --t-light { syntax: '<color>'; inherits: true; initial-value: #fff1e8; }
@property --t-btn { syntax: '<color>'; inherits: true; initial-value: #8a1022; }
@property --t-btn-hi { syntax: '<color>'; inherits: true; initial-value: #a5152b; }
@property --t-deep { syntax: '<color>'; inherits: true; initial-value: #4d0812; }
@property --k-acc { syntax: '<color>'; inherits: true; initial-value: #b3182f; }
@property --k-light { syntax: '<color>'; inherits: true; initial-value: #fff1e8; }
@property --rule { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --ra { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --m-tint { syntax: '<color>'; inherits: true; initial-value: #b4955f; }
@property --m-mix { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --m-glow { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --dock-b-px { syntax: '<length>'; inherits: true; initial-value: 10px; }
@property --burn { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
html {
  transition-property: --t-bg, --t-glow, --t-fog, --t-line, --t-paper, --t-paper2, --t-acc, --t-light, --t-btn, --t-btn-hi, --t-deep, --k-acc, --k-light, --m-tint, --m-mix, --m-glow;
  transition-duration: 1.8s, 1.8s, 1.8s, 1.8s, 1.8s, 1.8s, 1.8s, 1.8s, 1.8s, 1.8s, 1.8s, .5s, .5s, .8s, .8s, .8s;
  transition-timing-function: cubic-bezier(.45, 0, .25, 1);
}
html.no-theme-glide { transition: none !important; }

:root {
  --bg: var(--t-bg);
  --card: #131115;
  --text: #ece4d6;
  --text2: #e3dacb;
  --grey: #b3ab9e;
  --paper: var(--t-paper);
  --paper2: var(--t-paper2);
  --rule-c: color-mix(in srgb, var(--t-line) 50%, transparent);
  --rule2: color-mix(in srgb, var(--t-line) 22%, transparent);
  --hair: rgb(133 128 138 / .42);
  --crimson: var(--t-btn);
  --crimson-hi: var(--t-btn-hi);
  /* Arabic: Lalezar (one weight, 400: never synthesised bold) for the headline, names and buttons, line-height 1.4;
     El Messiri 400 for everything read (the sub line, the tag, the title line, the description, the link, notes),
     line-height 1.8, a soft light colour, never under 15px */
  --ar-display: Lalezar, "Segoe UI", Tahoma, sans-serif;
  --ar-body: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  --lat-display: Cinzel, "Cormorant Garamond", Georgia, serif;
  --lat-serif: "Cormorant Garamond", Georgia, serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .82 0 0 0 0 .76 0 0 0 0 .64 0 0 0 1.1 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* the stage (main.js): k scales type and chrome with big screens; on very wide ones the scene keeps a stage width */
  --k: 1; --stage: 100vw; --sp: 0px;
  /* the altar art is 1600×1475. KEEP --dock-ar IN SYNC with DOCK.ar in main.js */
  --dock-ar: 1.0847;
  --dock-w: clamp(200px, min(calc(var(--stage) * .235), 37vh), calc(480px * var(--k)));
  --dock-h: calc(var(--dock-w) / var(--dock-ar));
  --dock-b-px: calc(10px + env(safe-area-inset-bottom));
  --emb: calc(70px * var(--k));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0c0a0e; }
body { background: var(--bg); color: var(--text); font: 200 18px/1.7 var(--ar-body); overflow: hidden; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-synthesis: none; }
html[lang="en"] body { font-family: var(--lat-serif); }
button { font: inherit; color: inherit; }
svg { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 50; top: 8px; inset-inline-start: 8px; padding: 10px 14px; background: var(--paper); color: #111; transform: translateY(-200%); }
.skip:focus { transform: none; }
.resizing .card, .resizing .dock, .resizing .brand, .resizing .intro, .resizing .host, .resizing .stage { transition: none !important; }

/* ── the room: gaslight, fog, grain, and (with a world shown) the world itself far behind */
.shake { position: fixed; inset: 0; overflow: hidden; }
.shake::after { content: ''; position: absolute; inset: 0; z-index: 20; pointer-events: none; background: var(--grain); opacity: .05; mix-blend-mode: overlay; }
.gas {
  position: absolute; left: 50%; top: 48%; width: 130vw; height: 110vh; translate: -50% -50%;
  background: radial-gradient(ellipse 50% 46% at 50% 56%, color-mix(in srgb, var(--t-glow) 14%, transparent), color-mix(in srgb, var(--t-glow) 5%, transparent) 55%, transparent 75%);
  animation: flicker 7s steps(1) infinite; pointer-events: none;
}
.atmos {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 42%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 42%, #000 35%, transparent 100%);
}
.atmos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease, filter 1.8s cubic-bezier(.45, 0, .25, 1); filter: grayscale(.9) sepia(.2) brightness(.62) blur(1px); }
.atmos.lo-ok .lo, .atmos.hi-ok .hi { opacity: 1; }
.atmos.bloom img { filter: grayscale(0) sepia(0) saturate(1.1) brightness(.72) blur(0); }
.atmos .veil { background: linear-gradient(to top, var(--bg) 4%, transparent 45%), radial-gradient(ellipse 60% 60% at 50% 40%, transparent 30%, rgb(12 10 14 / .65)); }
.is-drawn .atmos { opacity: 0; }
.fog { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.fog i {
  position: absolute; left: -30vw; width: 160vw; height: 46vh;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, color-mix(in srgb, var(--t-fog) 10%, transparent), transparent 70%);
  animation: drift 46s ease-in-out infinite alternate;
}
.fog i:nth-child(1) { bottom: -12vh; height: 52vh; }
.fog i:nth-child(2) { top: 34vh; animation-duration: 62s; animation-direction: alternate-reverse; opacity: .7; }
.fog i:nth-child(3) { top: -14vh; animation-duration: 54s; opacity: .55; }
.dust, .fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dust { z-index: 2; }
.fx { z-index: 12; }

/* ── header: the engraved mark at the reading corner, the quiet controls at the other */
.top {
  position: absolute; z-index: 13; top: 0; inset-inline: 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: calc(14px * var(--k)) calc(var(--sp) + clamp(16px, 2.6vw, 40px) * var(--k)) 0;
  pointer-events: none; transition: opacity .7s ease;
}
.top > * { pointer-events: auto; }
.brand { position: relative; display: block; width: var(--emb); height: var(--emb); transition: transform .9s cubic-bezier(.3,.7,.2,1); transform-origin: 0 0; }
html[dir="rtl"] .brand { transform-origin: 100% 0; }
.brand:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.is-drawn .brand { transform: scale(.8); }
/* the S7, engraved in matte aged brass: flat, an ink outline, line-work bevel, scratches and grain, a faint sweep */
.mark { position: absolute; inset: 8%; display: block; opacity: 0; transition: opacity .6s ease;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / .25)) drop-shadow(0 0 calc(5px * var(--k)) color-mix(in srgb, var(--m-tint) calc(var(--m-glow) * 40%), transparent)); }
/* brass, blended towards the open world's colour (--m-tint / --m-mix, set by main.js and gliding .8 s) */
.mark .m-s1 { stop-color: color-mix(in srgb, #b4955f, var(--m-tint) var(--m-mix)); }
.mark .m-s2 { stop-color: color-mix(in srgb, #8d7146, var(--m-tint) var(--m-mix)); }
.mark .m-s3 { stop-color: color-mix(in srgb, #5e4a2c, color-mix(in srgb, var(--m-tint) 60%, #000) var(--m-mix)); }
.mark .m-sw { stop-color: color-mix(in srgb, #f3dfb0, var(--m-tint) var(--m-mix)); }
.mark.ready { opacity: 1; }
.mark svg { width: 100%; height: 100%; overflow: visible; }
.mark .m-sweep { transform-box: fill-box; animation: msweep 11s ease-in-out infinite; }
.top-r { display: flex; align-items: center; gap: calc(10px * var(--k)); margin-top: calc(10px * var(--k)); }
.lang {
  display: inline-flex; align-items: center; min-height: calc(44px * var(--k)); padding: 0 calc(18px * var(--k));
  border: 1px solid var(--hair); color: var(--paper); text-decoration: none;
  font: 600 calc(13px * var(--k))/1 var(--lat-display); letter-spacing: .12em; transition: background .3s, border-color .3s;
}
.lang:hover, .lang:focus-visible { background: rgb(210 196 163 / .06); border-color: var(--rule-c); outline: none; }
#langText:lang(ar) { font: 400 calc(18px * var(--k))/1.4 var(--ar-display); letter-spacing: 0; }
.snd { width: calc(44px * var(--k)); height: calc(44px * var(--k)); padding: 0; display: grid; place-items: center; cursor: pointer; background: transparent; border: 1px solid var(--hair); color: var(--paper); transition: background .3s, border-color .3s, color .3s; }
.snd svg { width: calc(20px * var(--k)); height: calc(20px * var(--k)); }
.snd .x { display: none; }
.snd.off { color: var(--grey); }
.snd.off .w { display: none; }
.snd.off .x { display: block; }
.snd:hover, .snd:focus-visible { background: rgb(210 196 163 / .06); border-color: var(--rule-c); outline: none; }

/* ── opening words */
.intro {
  position: absolute; z-index: 7; top: calc(var(--emb) + 22px * var(--k));
  inset-inline-start: calc(var(--sp) + clamp(24px, calc(var(--stage) * .045), calc(84px * var(--k))));
  max-width: min(calc(var(--stage) * .3), calc(560px * var(--k)));
  transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.headline { margin: 0; font: 400 clamp(30px, min(calc(var(--stage) * .032), 5.4vh), calc(58px * var(--k)))/1.4 var(--ar-display); letter-spacing: .01em; color: var(--text); text-wrap: balance; text-shadow: 0 2px 30px rgb(0 0 0 / .7); }
html[lang="en"] .headline { font: 600 clamp(28px, min(calc(var(--stage) * .029), 5vh), calc(52px * var(--k)))/1.14 var(--lat-display); letter-spacing: .01em; }
.headline .w { display: inline-block; }
.headline::after {
  content: ''; display: block; width: calc(140px * var(--k)); height: 9px; margin-top: calc(10px * var(--k));
  background:
    linear-gradient(var(--paper2), var(--paper2)) 0 50% / 100% 1px no-repeat,
    linear-gradient(45deg, transparent 42%, var(--paper) 42% 58%, transparent 58%) 50% 50% / 9px 9px no-repeat;
  opacity: .8; transform: scaleX(var(--rule)); transform-origin: 100% 50%;
}
html[dir="ltr"] .headline::after { transform-origin: 0 50%; }
html[lang="en"] .headline::after { margin-top: calc(18px * var(--k)); }
.sub { margin: calc(14px * var(--k)) 0 0; max-width: 40ch; font: 200 clamp(17px, calc(var(--stage) * .013), calc(20px * var(--k)))/1.8 var(--ar-body); color: var(--text2); text-shadow: 0 1px 14px rgb(0 0 0 / .8); }
html[lang="en"] .sub { font: italic 500 clamp(18px, calc(var(--stage) * .013), calc(22px * var(--k)))/1.4 var(--lat-serif); }
.is-drawn .intro { opacity: 0; transform: translateY(-16px); pointer-events: none; }
/* the wide layout: the words centred in the middle column over the altar (main.js places the box) */
html:not(.stacked) .intro { inset-inline-start: auto; max-width: none; text-align: center; }
html:not(.stacked) .sub { margin-inline: auto; }
html:not(.stacked) .headline::after { margin-inline: auto; transform-origin: 50% 50% !important; }
.gated .hand, .gated .dock, .gated .intro, .gated .top, .gated .hosts { visibility: hidden; }
/* the opening, step by step (main.js adds o-dock, o-hosts, o-words as it goes) */
.opening:not(.o-dock) .dock, .opening:not(.o-words) .intro, .opening:not(.o-words) .top { opacity: 0; }
.opening:not(.o-hosts) .host:not(.in) { opacity: 0; }
.opening .card:not(.dealt) .face { opacity: 0; }

/* ── the cast: 3:4 posters with a black margin, blended into the room at the edges; their glow (the greyscale mask,
   white = glow) painted in the room's accent, so it follows a world's colour while one is open, and bloomed */
.poster { margin: 0; --gc: var(--t-acc); --gb: calc(7px * var(--k)); }
.poster .p-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; -webkit-user-drag: none; user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 3.6%, #000 4.9%, #000 95.1%, transparent 96.4%), linear-gradient(to bottom, transparent 3.2%, #000 4.3%, #000 95.5%, transparent 96.5%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 3.6%, #000 4.9%, #000 95.1%, transparent 96.4%), linear-gradient(to bottom, transparent 3.2%, #000 4.3%, #000 95.5%, transparent 96.5%);
  mask-composite: intersect;
}
.poster .p-glow {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .7;
  filter: drop-shadow(0 0 calc(var(--gb) * .5) var(--gc)) drop-shadow(0 0 var(--gb) var(--gc));
}
.poster .p-glow i {
  position: absolute; inset: 0; background: var(--gc);
  -webkit-mask-image: var(--glow); -webkit-mask-size: 100% 100%;
  mask-image: var(--glow); mask-size: 100% 100%; mask-mode: luminance;
}
/* the two hosts beside the altar: one poster each, taking turns (main.js) */
.hosts { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
/* a soft, close shadow only (the posters' own black margin is masked away, so no dark halo) */
.host { position: absolute; transition: opacity .9s ease, filter .9s ease; filter: drop-shadow(0 12px 30px rgb(0 0 0 / .35)); }
.host.off { display: none; }
.h-face { position: absolute; inset: 0; backface-visibility: hidden; transform-origin: 50% 55%; will-change: transform; }
.host .p-img { animation: breathe 7s ease-in-out infinite; transform-origin: 50% 85%; filter: brightness(.88) contrast(1.04); }
.host[data-slot="e"] .p-img { animation-delay: -3.1s; }
.host .p-glow { animation: smoulder 5.5s ease-in-out infinite; }
.host[data-slot="e"] .p-glow { animation-delay: -2.2s; }
.is-drawn .host { opacity: .14; filter: brightness(.6) blur(1px); }
/* the burn: the poster eaten from its edges inward (main.js animates --burn) */
.h-face.leaving, .sc-poster.burning {
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 calc(100% - var(--burn) * 1.25), transparent calc(114% - var(--burn) * 1.25));
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 calc(100% - var(--burn) * 1.25), transparent calc(114% - var(--burn) * 1.25));
}
.h-burn {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 3.6%, #000 4.9%, #000 95.1%, transparent 96.4%), linear-gradient(to bottom, transparent 3.2%, #000 4.3%, #000 95.5%, transparent 96.5%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 3.6%, #000 4.9%, #000 95.1%, transparent 96.4%), linear-gradient(to bottom, transparent 3.2%, #000 4.3%, #000 95.5%, transparent 96.5%);
  mask-composite: intersect;
}
/* the warm light the burning card throws on its column */
.host-glow {
  position: absolute; inset: -18% -30%; pointer-events: none; opacity: 0; mix-blend-mode: screen; z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgb(255 150 60 / .32), rgb(200 60 20 / .12) 45%, transparent 72%);
}
.show { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.sc-beam {
  position: absolute; opacity: 0; pointer-events: none; mix-blend-mode: screen; filter: blur(calc(6px * var(--k)));
  background: linear-gradient(to top, color-mix(in srgb, var(--k-light) 70%, transparent), color-mix(in srgb, var(--t-acc) 30%, transparent) 55%, transparent);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 70%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 50% 60% at 50% 70%, #000 30%, transparent 75%);
}
.sc-poster { position: absolute; --gb: calc(9px * var(--k)); will-change: transform, opacity; }
.sc-poster .p-glow { opacity: 0; }

/* ── the hand: two straight rows of cards placed by main.js */
.hand { position: absolute; inset: 0; z-index: 8; pointer-events: none; transition: opacity .7s ease; }
.hand:focus { outline: none; }
.card {
  position: absolute; left: 0; top: 0; width: var(--cw); height: var(--ch);
  margin: 0; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto;
  font-size: calc(var(--ch) / 24); outline: none; touch-action: none; -webkit-tap-highlight-color: transparent;
  transform: translate(calc(var(--x) + var(--dx, 0px) - var(--cw) / 2), calc(var(--y) + var(--dy, 0px) - var(--ch) / 2))
    translateY(calc(var(--lift, 0px) * var(--m, 1))) rotate(calc(var(--r) + var(--tilt, 0deg))) scale(calc(var(--s, 1) * var(--m, 1)));
  transition: transform .45s cubic-bezier(.22,1.1,.36,1);
}
/* a raised card rises straight up a little and shows whole. KEEP IN SYNC with UP in main.js (--ul/--us are set there) */
.card.up { --lift: calc(var(--ch) * var(--ul, -.13)); --s: var(--us, 1.07); z-index: 40 !important; }
/* the spot where a raised card stood stays part of it (an invisible copy of its resting box), so the card under the
   pointer is always the raised one; main.js's cardHit uses the same two boxes */
.card.up::before {
  content: ''; position: absolute; inset: 0;
  transform: translateY(calc(var(--ch) * var(--ul, -.13) / var(--us, 1.07) * -1)) scale(calc(1 / var(--us, 1.07)));
}
.card.dragging { transition: none; cursor: grabbing; --s: 1.08; z-index: 45 !important; }
.card.out { visibility: hidden; }
.is-drawn .card { transition-duration: .8s; transition-timing-function: cubic-bezier(.3,1.06,.3,1); }

.face {
  position: absolute; inset: 0; display: block; overflow: hidden;
  border-radius: calc(var(--ch) * .022); background: var(--card);
  box-shadow: 0 22px 44px -14px rgb(0 0 0 / .9), 0 0 0 1px rgb(210 196 163 / .16);
  transition: box-shadow .45s ease;
}
.face::after { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.card.up .face { box-shadow: 0 34px 60px -16px rgb(0 0 0 / .95), 0 0 0 1px rgb(210 196 163 / .42), 0 0 60px -10px rgb(214 178 118 / .42); }
.card:focus-visible .face { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--paper), 0 0 60px -8px rgb(214 178 118 / .42); }

.art { position: absolute; inset: 0; display: block; }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease, filter 1.4s ease; -webkit-user-drag: none; filter: grayscale(.85) sepia(.25) brightness(.94); }
.ok .art img { opacity: 1; }
.card.up .art img { filter: none; }
/* a world open on the wide layout: the stage may lie over the spread, which dims and steps behind it */
html:not(.stacked) .is-drawn .card:not(.up) .face { filter: brightness(.72) saturate(.8); }
.face { transition: box-shadow .45s ease, filter .6s ease; }
.art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 46% at 50% 44%, transparent 45%, rgb(8 8 10 / .6)); }
.warp-in img { filter: saturate(1.15) contrast(1.05); }

/* the card in flight and lying in the altar's slot (a perspective matrix maps it onto the painted slot) */
.flight { position: absolute; inset: 0; z-index: 11; pointer-events: none; transition: opacity .7s ease; }
/* the card in 3D: smooth edges (a transparent outline makes the browser antialias them), no back face */
.card.fly { position: absolute; left: 0; top: 0; transition: none; cursor: default; pointer-events: none; transform-origin: 0 0; will-change: transform; outline: 1px solid transparent; backface-visibility: hidden; }
.card.fly .face { outline: 1px solid transparent; backface-visibility: hidden; box-shadow: 0 18px 40px -14px rgb(0 0 0 / .85); }
.card.seated { pointer-events: auto; cursor: pointer; }
.card.seated .face { box-shadow: 0 0 calc(var(--ch) * .16) calc(var(--ch) * .01) color-mix(in srgb, var(--k-acc) 50%, transparent); transition: box-shadow .9s ease; }
.card.seated:hover .face { box-shadow: 0 0 calc(var(--ch) * .28) calc(var(--ch) * .03) color-mix(in srgb, var(--k-acc) 70%, transparent); }
.card.seated .art img { filter: grayscale(0) sepia(0) saturate(1.15) brightness(1.08); }

/* placeholder: smoke, faint rings, the mark in old gold */
.ph {
  position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 44%, #2d2a2f, #161418 48%, #0b0b0d 85%);
}
.ph::before {
  content: ''; position: absolute; left: 50%; top: 46%; width: 150%; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-radial-gradient(circle, transparent 0 7%, rgb(210 196 163 / .08) 7% 7.35%);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 60%); mask-image: radial-gradient(circle, #000 20%, transparent 60%);
}
.ph-mark { position: relative; z-index: 1; width: 36%; color: rgb(210 196 163 / .62); filter: drop-shadow(0 0 18px rgb(214 178 118 / .3)); margin-bottom: 12%; }
.ph-mark svg { width: 100%; height: auto; }

/* the engraved tarot frame (no numbers) */
.tarot .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tarot .f-body { fill: var(--card); }
.tarot .f-rule, .tarot .f-orn path { fill: none; stroke: var(--rule-c); stroke-width: .5; }
.tarot .thin { stroke-width: .28 !important; }
.tarot .dot { fill: var(--paper2) !important; stroke: none !important; }
.tarot .f-orn circle { fill: var(--paper2); }
.tarot .f-medal { fill: var(--card); stroke: var(--paper2); stroke-width: .55; }
.tarot .medal { position: absolute; left: 50%; top: 73.75%; width: 11.5%; height: 6.5%; transform: translate(-50%, -50%); display: grid; place-items: center; color: var(--paper); }
.tarot .medal svg { max-width: 100%; max-height: 100%; width: 100%; height: auto; }
.tarot .c-name { position: absolute; top: 88.4%; left: 8%; right: 8%; transform: translateY(-50%); text-align: center; font: 600 .82em/1.25 var(--lat-display); letter-spacing: .04em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tarot .c-plat { position: absolute; top: 94.1%; left: 0; right: 0; transform: translateY(-50%); text-align: center; font: 500 .46em/1 var(--lat-display); letter-spacing: .3em; text-transform: uppercase; color: var(--grey); }

/* touch hint above a raised card */
.hint {
  position: absolute; z-index: 9; margin: 0; translate: -50% -100%; padding: 5px 12px; white-space: nowrap; pointer-events: none;
  color: var(--text); font: 200 15px/1.5 var(--ar-body); background: rgb(10 10 12 / .75); border: 1px solid var(--hair);
  opacity: 0; transition: opacity .35s ease;
}
html[lang="en"] .hint { font: 500 11.5px/1.3 var(--lat-display); letter-spacing: .14em; text-transform: uppercase; }
.hint.on { opacity: 1; }

/* ── the altar: the painted art, cut out of its black ground (tools/dock_alpha.py); living light on top */
.dock {
  position: absolute; z-index: 10; left: var(--dock-x, 50%); bottom: calc(var(--dock-b-px) + var(--dock-y, 0px));
  width: var(--dock-w); aspect-ratio: var(--dock-ar); translate: -50% 0; scale: var(--dock-s, 1); transform-origin: 50% 100%;
  pointer-events: none;
  transition: left .95s cubic-bezier(.65,0,.25,1), bottom .95s cubic-bezier(.65,0,.25,1), scale .95s cubic-bezier(.65,0,.25,1), opacity .8s ease;
}
.dk-art {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-user-drag: none;
  filter: drop-shadow(0 calc(var(--dock-w) * .03) calc(var(--dock-w) * .05) rgb(0 0 0 / .7));
}
.dk-floor {
  position: absolute; left: 50%; bottom: -4%; width: 110%; height: 16%; translate: -50% 0; border-radius: 50%; opacity: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, color-mix(in srgb, var(--k-acc) 45%, transparent), transparent 70%);
  transition: opacity 1s ease;
}
.dock.on .dk-floor { opacity: .7; }
/* the opening: the altar rises unlit; the candles take light and the altar comes up with them */
.snuffed .dk-art { filter: brightness(.28) saturate(.6) drop-shadow(0 calc(var(--dock-w) * .03) calc(var(--dock-w) * .05) rgb(0 0 0 / .7)); }
.snuffed.lit .dk-art { filter: brightness(1) saturate(1) drop-shadow(0 calc(var(--dock-w) * .03) calc(var(--dock-w) * .05) rgb(0 0 0 / .7)); transition: filter 1.1s cubic-bezier(.2,.7,.3,1); }
.dk-flame {
  position: absolute; left: calc(var(--fx) * 100%); top: calc(var(--fy) * 100%); transform: translate(-50%, -60%); border-radius: 50%; pointer-events: none;
  width: 13%; aspect-ratio: .8; mix-blend-mode: screen; opacity: .8;
  background: radial-gradient(ellipse 30% 42% at 50% 55%, rgb(255 236 200 / .85), rgb(255 176 96 / .35) 45%, transparent 72%);
  animation: candle 2.4s ease-in-out infinite; animation-delay: calc(var(--fk, 0) * -1.1s);
}
.dock.on .dk-flame { background: radial-gradient(ellipse 30% 42% at 50% 55%, color-mix(in srgb, var(--k-light) 60%, #fff3dc), color-mix(in srgb, var(--k-acc) 40%, rgb(255 176 96 / .4)) 45%, transparent 72%); }
.snuffed .dk-flame { opacity: 0; animation: none; }
.snuffed.lit .dk-flame { opacity: .85; }
.dk-ring {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; mix-blend-mode: screen; transition: opacity 1.1s ease;
  background:
    conic-gradient(from var(--ra) at calc(var(--rcx) * 100%) calc(var(--rcy) * 100%), transparent 0deg, color-mix(in srgb, var(--k-light) 85%, #fff) 30deg, transparent 80deg, transparent 180deg, var(--k-light) 215deg, transparent 260deg),
    color-mix(in srgb, var(--k-acc) 85%, var(--k-light));
  -webkit-mask-image: var(--dock-img), radial-gradient(ellipse calc(var(--rx) * 100%) calc(var(--ry) * 100%) at calc(var(--rcx) * 100%) calc(var(--rcy) * 100%), transparent 80%, #000 85%, #000 99%, transparent 102%);
  -webkit-mask-size: 100% 100%; -webkit-mask-composite: source-in;
  mask-image: var(--dock-img), radial-gradient(ellipse calc(var(--rx) * 100%) calc(var(--ry) * 100%) at calc(var(--rcx) * 100%) calc(var(--rcy) * 100%), transparent 80%, #000 85%, #000 99%, transparent 102%);
  mask-size: 100% 100%; mask-mode: luminance, alpha; mask-composite: intersect;
}
.dock.on .dk-ring { opacity: 1; animation: ring-sweep 7s linear infinite; }
.dk-gem {
  position: absolute; left: calc(var(--gx) * 100%); top: calc(var(--gy) * 100%); width: 9%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  mix-blend-mode: screen; background: radial-gradient(circle, rgb(255 90 110 / .75), rgb(190 20 50 / .3) 40%, transparent 70%);
  animation: gem 3.4s ease-in-out infinite; opacity: .4;
}
.dock.on .dk-gem { background: radial-gradient(circle, color-mix(in srgb, var(--k-light) 50%, #ff5a6e), color-mix(in srgb, var(--k-acc) 40%, transparent) 40%, transparent 70%); }
.dk-glow, .dk-flash { position: absolute; left: calc(var(--sx) * 100%); top: calc(var(--sy) * 100%); pointer-events: none; border-radius: 50%; }
.dk-glow {
  width: calc(var(--sw) * 180%); height: calc(var(--sh) * 170%); translate: -50% -50%; opacity: 0; mix-blend-mode: screen; transition: opacity 1s ease;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, color-mix(in srgb, var(--k-light) 35%, transparent), color-mix(in srgb, var(--k-acc) 28%, transparent) 42%, transparent 70%);
}
.dock.on .dk-glow { opacity: .85; animation: hold 3.4s ease-in-out infinite; }
.dk-flash { width: calc(var(--sw) * 300%); height: calc(var(--sh) * 260%); translate: -50% -50%; opacity: 0; mix-blend-mode: screen; background: radial-gradient(ellipse 50% 50% at 50% 50%, color-mix(in srgb, var(--k-light) 85%, #fff), color-mix(in srgb, var(--k-acc) 50%, transparent) 35%, transparent 68%); }

.dimmer {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .8s cubic-bezier(.45,0,.25,1);
  background: radial-gradient(ellipse 70% 62% at 50% 50%, color-mix(in srgb, var(--t-bg) 55%, #000), #000 88%);
}

/* ── the table: the world's card risen out of the altar, and the reading beside it */
.table { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.table[hidden] { display: none; }
/* the world's card: the picture at 16:9 in a dark frame with soft corners, a fine inner rule, small corner ornaments in
   the world's colour, the work's name plate inside at the foot. The picture is shown as it is: no shade, no filter. */
.stage {
  position: absolute; visibility: hidden; cursor: pointer; border-radius: calc(12px * var(--k)); background: var(--card);
  box-shadow: 0 50px 90px -24px rgb(0 0 0 / .95), 0 0 0 1px rgb(210 196 163 / .32), 0 0 0 calc(7px * var(--k)) var(--card),
    0 0 0 calc(8px * var(--k)) rgb(210 196 163 / .14), 0 0 90px -20px color-mix(in srgb, var(--k-acc) 45%, transparent);
  transform-origin: 50% 50%; user-select: none; -webkit-user-select: none;
}
.stage.on { visibility: visible; pointer-events: auto; }
.stage.off { display: none; }
.stage::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--grain); opacity: .1; mix-blend-mode: overlay; pointer-events: none; }
.st-world { position: absolute; inset: calc(8px * var(--k)); overflow: hidden; border-radius: calc(6px * var(--k)); background: #0b0b0d; }
.st-world .ph { display: grid; }
.st-world .ph-mark { width: 16%; margin-bottom: 4%; }
.st-world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; -webkit-user-drag: none; pointer-events: none; }
.st-world.lo-ok .lo, .st-world.hi-ok .hi { opacity: 1; }
.st-frame { position: absolute; inset: calc(15px * var(--k)); border-radius: calc(4px * var(--k)); border: 1px solid color-mix(in srgb, var(--t-line) 45%, transparent); pointer-events: none; }
.stage .lc { position: absolute; width: calc(34px * var(--k)); height: calc(34px * var(--k)); fill: none; stroke: var(--t-acc); stroke-width: 1.4; pointer-events: none; filter: drop-shadow(0 0 4px rgb(0 0 0 / .8)); }
.stage .lc .thin { stroke-width: .8; }
.stage .lc circle { fill: var(--t-light); stroke: none; }
.stage .lc:nth-of-type(1) { top: calc(9px * var(--k)); left: calc(9px * var(--k)); }
.stage .lc:nth-of-type(2) { top: calc(9px * var(--k)); right: calc(9px * var(--k)); transform: scaleX(-1); }
.stage .lc:nth-of-type(3) { bottom: calc(9px * var(--k)); left: calc(9px * var(--k)); transform: scaleY(-1); }
.stage .lc:nth-of-type(4) { bottom: calc(9px * var(--k)); right: calc(9px * var(--k)); transform: scale(-1); }
/* the line of light the next world opens from */
.st-seam {
  position: absolute; z-index: 3; height: calc(3px * var(--k)); translate: 0 -50%; opacity: 0; pointer-events: none; border-radius: 3px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--t-light) 90%, #fff) 20%, #fff 50%, color-mix(in srgb, var(--t-light) 90%, #fff) 80%, transparent);
  box-shadow: 0 0 calc(18px * var(--k)) calc(4px * var(--k)) color-mix(in srgb, var(--t-acc) 70%, transparent), 0 0 calc(50px * var(--k)) calc(10px * var(--k)) color-mix(in srgb, var(--t-light) 40%, transparent);
}
.wd { display: inline-block; }
.st-plate {
  position: absolute; bottom: calc(24px * var(--k)); inset-inline-start: calc(28px * var(--k)); display: flex; align-items: center; gap: calc(10px * var(--k));
  padding: calc(5px * var(--k)) calc(12px * var(--k)) calc(5px * var(--k)) calc(6px * var(--k)); border-radius: 999px;
  background: rgb(10 9 12 / .72); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t-line) 35%, transparent);
}
.st-medal { width: calc(26px * var(--k)); height: calc(26px * var(--k)); display: grid; place-items: center; color: var(--t-paper); }
.st-medal svg { width: 80%; height: auto; max-height: 80%; }
.st-name { font: 600 calc(13px * var(--k))/1 var(--lat-display); letter-spacing: .06em; color: var(--text); }
.table.veiled .desc { opacity: 0; }

/* the reading (main.js places it: --dx/--dy/--dw/--dh) */
.desc {
  position: absolute; z-index: 2; left: var(--dx, 60%); top: var(--dy, 80px); width: var(--dw, 400px); height: var(--dh, 60vh);
  display: flex; flex-direction: column; justify-content: center; transition: opacity .35s ease;
}
.table.live .desc { pointer-events: auto; }
.d-kick { margin: 0 0 calc(12px * var(--k)); color: var(--paper2); font: 500 calc(12px * var(--k))/1.4 var(--lat-display); letter-spacing: .22em; text-transform: uppercase; }
.d-name { margin: 0; display: flex; align-items: center; gap: calc(16px * var(--k)); font: 600 clamp(28px, calc(var(--stage) * .025), calc(48px * var(--k)))/1.15 var(--lat-display); letter-spacing: .02em; color: var(--text); text-shadow: 0 2px 20px rgb(0 0 0 / .8); }
.d-logo { flex: none; width: .82em; height: .82em; display: grid; place-items: center; color: var(--paper); }
.d-logo svg { width: 100%; height: auto; max-height: 100%; }
.d-tag { margin: calc(14px * var(--k)) 0 0; }
.d-tag span { display: inline-block; padding: calc(3px * var(--k)) calc(14px * var(--k)); border: 1px solid var(--rule-c); color: var(--paper); font: 200 calc(16px * var(--k))/1.6 var(--ar-body); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px var(--rule2); }
html[lang="en"] .d-tag span { padding-block: calc(6px * var(--k)); font: 600 calc(11px * var(--k))/1.4 var(--lat-display); letter-spacing: .2em; text-transform: uppercase; }
.d-title { margin: calc(14px * var(--k)) 0 0; font: 200 clamp(19px, calc(var(--stage) * .0135), calc(24px * var(--k)))/1.7 var(--ar-body); color: var(--text); text-wrap: balance; text-shadow: 0 1px 14px rgb(0 0 0 / .8); }
html[lang="en"] .d-title { font: italic 600 clamp(22px, calc(var(--stage) * .018), calc(32px * var(--k)))/1.2 var(--lat-serif); }
.d-pitch { margin: calc(10px * var(--k)) 0 0; max-width: 42ch; font: 200 clamp(17px, calc(18px * var(--k)), 21px)/1.8 var(--ar-body); color: var(--text2); text-shadow: 0 1px 12px rgb(0 0 0 / .8); }
html[lang="en"] .d-pitch { font: 500 calc(18.5px * var(--k))/1.45 var(--lat-serif); }
.d-host { margin: calc(6px * var(--k)) 0 0; display: flex; align-items: center; gap: 9px; color: var(--grey); font: 200 calc(16px * var(--k))/1.5 var(--ar-body); }
html[lang="en"] .d-host { font: 500 calc(17px * var(--k))/1.4 var(--lat-serif); letter-spacing: .02em; }
.d-host svg { width: calc(17px * var(--k)); height: calc(17px * var(--k)); flex: none; }
.d-host a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; background: linear-gradient(color-mix(in srgb, var(--t-line) 30%, transparent), color-mix(in srgb, var(--t-line) 30%, transparent)) 0 calc(50% + .75em) / 100% 1px no-repeat; }
.d-host a:hover, .d-host a:focus-visible { color: var(--text); border-color: var(--t-line); outline: none; }
.d-act { margin-top: calc(22px * var(--k)); display: flex; align-items: center; gap: calc(12px * var(--k)); flex-wrap: wrap; }
.go {
  display: inline-flex; align-items: center; gap: calc(12px * var(--k)); min-height: calc(56px * var(--k)); padding: 0 calc(28px * var(--k));
  background: var(--crimson); color: #f3eadd; text-decoration: none; font: 400 calc(21px * var(--k))/1.4 var(--ar-display);
  box-shadow: inset 0 0 0 4px var(--crimson), inset 0 0 0 5px rgb(243 234 221 / .4), 0 12px 34px -10px color-mix(in srgb, var(--t-acc) 70%, transparent);
  transition: background .3s, box-shadow .3s, transform .3s;
}
html[lang="en"] .go { font: 600 calc(15px * var(--k))/1 var(--lat-display); letter-spacing: .1em; text-transform: uppercase; }
.go svg { width: calc(20px * var(--k)); height: calc(20px * var(--k)); }
html[dir="rtl"] .go svg { transform: scaleX(-1); }
.go:hover, .go:focus-visible { background: var(--crimson-hi); outline: none; box-shadow: inset 0 0 0 4px var(--crimson-hi), inset 0 0 0 5px rgb(243 234 221 / .6), 0 0 44px -4px color-mix(in srgb, var(--t-acc) 75%, transparent); }
.go:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
/* the quiet ×: no frame until hovered */
.sq { width: calc(44px * var(--k)); height: calc(44px * var(--k)); padding: 0; display: grid; place-items: center; background: transparent; border: 1px solid transparent; color: var(--grey); cursor: pointer; transition: border-color .3s, color .3s; }
.sq svg { width: calc(18px * var(--k)); height: calc(18px * var(--k)); }
.sq:hover, .sq:focus-visible { border-color: var(--hair); color: var(--paper); outline: none; }
.sq:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

/* ── entering: the room lets go; the stage flares, then the world takes the screen */
.is-entering .top, .is-entering .hand, .is-entering .desc, .is-entering .intro, .is-entering .flight, .is-entering .hosts { opacity: 0 !important; pointer-events: none; transition: opacity .7s ease; }
.is-entering .dock { opacity: .25; }
.is-entering .dimmer { opacity: .55; }
.is-entering .table { z-index: 11; }
.is-entering .stage { cursor: default; }

/* ── enter: the world, fog, sigil, embers, the light */
.warp { position: fixed; inset: 0; z-index: 30; pointer-events: none; visibility: hidden; overflow: hidden; }
.warp.on { visibility: visible; }
.warp-in { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; opacity: 0; background: #0b0b0d; }
.w-zoom { position: absolute; inset: 0; transform-origin: 50% 46%; will-change: transform; }
.w-zoom .ph { display: grid; }
.w-zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.warp.ok .w-zoom img.main { opacity: 1; }
.w-zoom img.zb { opacity: 0; mix-blend-mode: screen; transform-origin: 50% 46%; filter: blur(3px) saturate(1.3); }
.w-zoom img.zb1 { transform: scale(1.045); }
.w-zoom img.zb2 { transform: scale(1.1); filter: blur(6px) saturate(1.3); }
.warp-in .veil { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 75% at 50% 46%, transparent 40%, rgb(8 8 10 / .6)); }
.warp-in .ph-mark { width: 20vmin; margin-bottom: 0; }
.w-fog i {
  position: absolute; left: 50%; top: 50%; width: 150vmax; height: 70vmax; margin: -35vmax 0 0 -75vmax; opacity: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, color-mix(in srgb, var(--t-fog) 34%, transparent), color-mix(in srgb, var(--t-fog) 10%, transparent) 45%, transparent 70%);
}
.w-fog i:nth-child(2) { margin-top: -10vmax; width: 120vmax; margin-left: -60vmax; }
.w-fog i:nth-child(3) { margin-top: -55vmax; }
/* the fog banks that close over the world and part as the camera passes through */
.w-part i {
  position: absolute; top: -15%; height: 130%; width: 80%; opacity: 0;
  background: radial-gradient(ellipse 58% 52% at 50% 50%, color-mix(in srgb, color-mix(in srgb, var(--t-fog) 55%, var(--t-light)) 70%, transparent) 0, color-mix(in srgb, var(--t-fog) 35%, transparent) 45%, transparent 72%);
}
.w-part i:first-child { left: -14%; }
.w-part i:last-child { right: -14%; }
.w-sig {
  position: absolute; left: 50%; top: 46%; width: min(86vmin, 900px); height: min(86vmin, 900px); opacity: 0; overflow: visible;
  transform: translate(-50%, -50%); fill: none; stroke: color-mix(in srgb, var(--t-light) 75%, #fff); stroke-width: .8;
  filter: drop-shadow(0 0 5px var(--t-acc));
}
.w-sig .thin { stroke-width: .45; }
.w-sig .fill { fill: color-mix(in srgb, var(--t-light) 75%, #fff); stroke: none; }
.w-sig .so, .w-sig .si { transform-box: view-box; transform-origin: 0 0; }
.warp.on .w-sig .so { animation: spin 40s linear infinite; }
.warp.on .w-sig .si { animation: spin 28s linear infinite reverse; }
#warpFx { position: absolute; inset: 0; width: 100%; height: 100%; }
.w-vig { position: absolute; inset: -35%; opacity: 0; background: radial-gradient(ellipse 50% 50% at 50% 46%, transparent 36%, rgb(0 0 0 / .92) 72%); }
.w-core {
  position: absolute; left: 50%; top: 46%; width: 90vmin; height: 90vmin; border-radius: 50%; opacity: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0, color-mix(in srgb, var(--t-light) 85%, #fff) 10%, color-mix(in srgb, var(--t-light) 45%, transparent) 30%, transparent 64%);
  mix-blend-mode: screen;
}
.flash { position: fixed; inset: 0; z-index: 31; opacity: 0; pointer-events: none; background: radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--t-light) 55%, #fff) 0, var(--t-light) 40%, color-mix(in srgb, var(--t-light) 78%, var(--t-acc)) 100%); }
.endfade { position: fixed; inset: 0; z-index: 33; opacity: 0; pointer-events: none; background: #0c0a0e; }

/* ── the gate: a sealed deck, pressed open on every visit */
.gate { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse 62% 58% at 50% 46%, rgb(22 18 24 / .86), rgb(8 6 10 / .99) 72%); }
.gate[hidden] { display: none; }
.g-leak { position: absolute; left: 50%; top: 42%; width: min(90vmin, 900px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; opacity: 0; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(circle, rgb(255 236 206 / .9), rgb(255 180 110 / .35) 25%, rgb(179 24 47 / .12) 48%, transparent 68%); }
.g-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.g-deck { width: min(52vmin, calc(300px * var(--k))); height: min(52vmin, calc(300px * var(--k))); overflow: visible; fill: none; stroke: var(--paper2); }
.g-deck .ln, .g-deck circle, .g-deck path { stroke-width: .9; }
.g-deck .thin { stroke-width: .5; opacity: .8; }
.g-deck .fill { fill: var(--paper2); stroke: none; }
.g-rings, .g-ro, .g-seal, .g-card { transform-box: view-box; transform-origin: 0 0; }
.g-ro { animation: spin 70s linear infinite; opacity: .55; }
.g-back { fill: #141216; stroke: color-mix(in srgb, var(--paper2) 80%, transparent); stroke-width: .9; }
.g-card { filter: drop-shadow(0 8px 10px rgb(0 0 0 / .7)); }
.g-wax { fill: #151217; }
.g-seal { filter: drop-shadow(0 0 10px rgb(214 178 118 / .35)); }
.g-crack { fill: none; stroke: #fff1dc !important; stroke-width: 1.4 !important; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px #ffc98a); }
.g-go {
  margin-top: calc(22px * var(--k)); min-width: calc(190px * var(--k)); min-height: calc(60px * var(--k)); padding: 0 calc(44px * var(--k)); border: 0; cursor: pointer;
  background: var(--crimson); color: #f3eadd; font: 400 calc(26px * var(--k))/1.4 var(--ar-display);
  box-shadow: inset 0 0 0 4px var(--crimson), inset 0 0 0 5px rgb(243 234 221 / .4), 0 14px 40px -12px color-mix(in srgb, var(--t-acc) 80%, transparent);
  transition: background .3s, box-shadow .3s, transform .3s cubic-bezier(.2,.8,.2,1.3);
}
html[lang="en"] .g-go { font: 600 calc(17px * var(--k))/1 var(--lat-display); letter-spacing: .24em; text-transform: uppercase; padding-inline-start: calc(48px * var(--k)); }
.g-go:hover, .g-go:focus-visible { background: var(--crimson-hi); transform: translateY(-1px); box-shadow: inset 0 0 0 4px var(--crimson-hi), inset 0 0 0 5px rgb(243 234 221 / .6), 0 0 50px -6px color-mix(in srgb, var(--t-acc) 80%, transparent); }
.g-go:focus-visible { outline: 2px solid var(--paper); outline-offset: 5px; }
.g-note { margin: calc(14px * var(--k)) 0 0; color: var(--grey); font: 200 calc(17px * var(--k))/1.7 var(--ar-body); }
html[lang="en"] .g-note { font: italic 500 calc(16px * var(--k))/1.4 var(--lat-serif); }

/* ── motion */
@keyframes flicker { 0%, 100% { opacity: 1; } 9% { opacity: .84; } 12% { opacity: .97; } 41% { opacity: .9; } 44% { opacity: 1; } 71% { opacity: .88; } 73% { opacity: .98; } }
@keyframes drift { from { transform: translate3d(-10vw, 0, 0); } to { transform: translate3d(10vw, -3vh, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hold { 0%, 100% { opacity: .85; } 50% { opacity: .58; } }
@keyframes breathe { 0%, 100% { transform: none; } 50% { transform: translateY(-.5%) scale(1.008); } }
@keyframes smoulder { 0%, 100% { opacity: .62; } 30% { opacity: .9; } 36% { opacity: .7; } 64% { opacity: .84; } }
@keyframes candle { 0%, 100% { opacity: .78; transform: translate(-50%, -60%) scale(1); } 23% { opacity: .95; transform: translate(-50%, -62%) scale(1.06, 1.1); } 41% { opacity: .7; transform: translate(-50%, -59%) scale(.96); } 67% { opacity: .9; transform: translate(-51%, -61%) scale(1.03, 1.05); } 83% { opacity: .74; transform: translate(-49%, -60%) scale(.98); } }
@keyframes gem { 0%, 100% { opacity: .35; } 50% { opacity: .8; } }
@keyframes ring-sweep { to { --ra: 360deg; } }
@keyframes msweep { 0%, 55% { transform: translateX(0); } 85%, 100% { transform: translateX(420%); } }
@media (prefers-reduced-motion: reduce) {
  .gas, .fog i, .dk-flame, .dk-gem, .dock.on .dk-glow, .dock.on .dk-ring, .g-ro, .warp.on .w-sig .so, .warp.on .w-sig .si,
  .host .p-img, .host .p-glow, .mark .m-sweep { animation: none; }
  .card, .intro, .dock, .brand, .host { transition-duration: .01s !important; }
  html, .atmos img, .st-world img { transition: none !important; }
}

/* ── stacked: phones, and any screen too narrow (or too tall and thin) for the rows beside the altar.
   KEEP IN SYNC with phoneQ in main.js. A row above the altar and one below it; with a card in the slot, the altar moves
   to one corner and a small row to the other, and the stage and its reading scroll above them. */
@media (max-width: 899px), (max-width: 1100px) and (orientation: portrait) {
  :root { --dock-w: min(250px, 50vw, 28vh); --emb: 60px; }
  .intro { top: calc(var(--emb) + 20px); inset-inline: clamp(18px, 5vw, 56px); max-width: 620px; }
  .headline { font-size: clamp(28px, 5.4vw, 46px); }
  html[lang="en"] .headline { font-size: clamp(27px, 5vw, 44px); }
  .sub { font-size: clamp(15px, 2.1vw, 18px); }
  .is-drawn .hosts { opacity: 0; }
  .table {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; pointer-events: auto;
    --tpb: calc(var(--dock-h) * .62 + var(--dock-b-px) + 30px);
    padding: 76px clamp(16px, 5vw, 56px) var(--tpb); overflow-y: auto; overflow-x: hidden;
    -webkit-mask-image: linear-gradient(to top, transparent calc(var(--tpb) - 26px), #000 calc(var(--tpb) + 10px));
    mask-image: linear-gradient(to top, transparent calc(var(--tpb) - 26px), #000 calc(var(--tpb) + 10px));
  }
  .stage { position: relative; flex: none; width: min(100%, 680px, max(300px, calc((100svh - 600px) * 1.78))); aspect-ratio: 16 / 9; margin-top: auto; }
  .is-drawn .brand { transform: scale(.86); }      /* stays a 44px+ target */
  .desc { position: relative; left: auto; top: auto; width: min(100%, 680px); height: auto; margin: 22px 0 auto; display: block; }
}

/* ── phone sizes: smaller type and chrome */
@media (max-width: 720px) {
  :root { --dock-w: min(210px, 54vw, 27vh); --emb: 52px; }
  .top { padding: 8px 12px 0 10px; }
  .top-r { margin-top: 2px; }
  .intro { inset-inline: 18px; max-width: none; }
  .headline { font-size: 28px; line-height: 1.4; }
  html[lang="en"] .headline { font-size: 27px; line-height: 1.15; }
  .headline::after { margin-top: 6px; width: 110px; }
  .sub { margin-top: 8px; font-size: 16px; line-height: 1.8; }
  html[lang="en"] .sub { font-size: 17px; }
  .table { --tpb: calc(var(--dock-h) * .62 + var(--dock-b-px) + 28px); padding: 66px 16px var(--tpb); }
  .d-kick { margin-bottom: 10px; }
  .d-name { font-size: 30px; }
  .d-title { margin-top: 12px; font-size: 19px; }
  .d-pitch { font-size: 16.5px; line-height: 1.8; }
  html[lang="en"] .d-pitch { font-size: 17.5px; }
  .d-act { margin-top: 18px; gap: 10px; }
  .go { flex: 1 1 auto; justify-content: center; min-height: 52px; padding: 0 18px; }
  .g-go { min-width: 170px; }
}

/* ── sign-in, live numbers, comments (community.js) */
.signin { height: calc(44px * var(--k)); padding: 0 calc(18px * var(--k)); background: transparent; border: 1px solid var(--rule-c); color: var(--paper);
  font: 400 calc(17px * var(--k))/1 var(--ar-display); cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
html[lang="en"] .signin { font-family: var(--lat-display); letter-spacing: .06em; }
.signin:hover, .signin:focus-visible { background: color-mix(in srgb, var(--t-acc, #c9a66b) 14%, transparent); border-color: var(--t-acc, var(--rule-c)); outline: none; }
.d-stats { margin: calc(10px * var(--k)) 0 0; display: flex; align-items: center; gap: calc(14px * var(--k)); flex-wrap: wrap; }
.d-metric { color: var(--text2); font: 300 calc(16px * var(--k))/1.4 var(--ar-body); }
.d-metric b { font: 400 calc(20px * var(--k))/1 var(--ar-display); color: var(--t-light, var(--paper)); margin-inline-end: 4px; }
.d-cmt { display: inline-flex; align-items: center; gap: 8px; padding: calc(6px * var(--k)) calc(12px * var(--k)); background: transparent; border: 1px solid var(--hair);
  color: var(--text); cursor: pointer; font: 400 calc(16px * var(--k))/1 var(--ar-display); transition: border-color .3s, background .3s; }
.d-cmt svg { width: 18px; height: 18px; }
.d-cmt b { font-weight: 400; color: var(--t-acc, var(--paper)); }
.d-cmt:hover, .d-cmt:focus-visible { border-color: var(--t-acc, var(--rule-c)); background: color-mix(in srgb, var(--t-acc, #c9a66b) 10%, transparent); outline: none; }

.cmt { position: fixed; z-index: 35; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 94vw); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #17121a, #110d13); border-inline-start: 1px solid var(--rule-c);
  box-shadow: 0 0 60px rgb(0 0 0 / .55), inset 0 0 0 6px #110d13, inset 0 0 0 7px color-mix(in srgb, var(--t-acc, #c9a66b) 30%, #3a2e20);
  transform: translateX(-104%); transition: transform .38s cubic-bezier(.3,.7,.2,1); }
html[dir="rtl"] .cmt { transform: translateX(-104%); }
html[dir="ltr"] .cmt { transform: translateX(104%); }
.cmt.on { transform: none !important; }
.cmt-h { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 14px 18px; border-bottom: 1px solid var(--hair); }
.cmt-h h3 { margin: 0; font: 400 24px/1.3 var(--ar-display); color: var(--text); }
.cmt-h em { display: block; font: 600 13px/1.4 var(--lat-display); font-style: normal; letter-spacing: .12em; color: var(--t-acc, var(--paper)); margin-top: 4px; }
.cmt-list { list-style: none; margin: 0; padding: 8px 18px 18px; overflow-y: auto; flex: 1; }
.cmt-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.cmt-list li.pin { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--t-acc, #c9a66b) 7%, transparent)); }
.c-av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #241c27; border: 1px solid var(--rule-c);
  color: var(--paper); font: 400 20px/1 var(--ar-display); }
.c-av img { width: 100%; height: 100%; object-fit: cover; }
.c-meta { margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 300 13px/1.4 var(--ar-body); color: var(--grey); }
.c-meta b { font: 400 17px/1.3 var(--ar-display); color: var(--text); }
.c-meta i { font-style: normal; font-size: 12px; padding: 1px 8px; border: 1px solid var(--t-acc, var(--rule-c)); color: var(--t-acc, var(--paper)); }
.c-text { margin: 0; font: 300 16px/1.8 var(--ar-body); color: var(--text2); overflow-wrap: anywhere; }
.c-reply { margin-top: 10px; padding: 10px 12px; border-inline-start: 2px solid var(--t-acc, var(--rule-c)); background: rgb(255 255 255 / .025); }
.c-none { display: block !important; color: var(--grey); font: 300 16px/1.8 var(--ar-body); text-align: center; padding: 40px 0 !important; border: 0 !important; }
.cmt-f { padding: 16px 18px 22px; border-top: 1px solid var(--hair); }
.cmt-write { width: 100%; min-height: 48px; background: var(--t-acc, #8d7146); color: #120c14; border: 0; cursor: pointer; font: 400 18px/1 var(--ar-display);
  box-shadow: 0 0 24px color-mix(in srgb, var(--t-acc, #c9a66b) 35%, transparent); }

.auth { position: fixed; inset: 0; z-index: 38; display: grid; place-items: center; padding: 20px; background: rgb(6 4 8 / .72); opacity: 0; transition: opacity .3s ease; }
.auth.on { opacity: 1; }
.auth-card { position: relative; width: min(400px, 100%); padding: 34px 30px 26px; text-align: center; background: linear-gradient(180deg, #1a141c, #120e14);
  border: 1px solid var(--rule-c); box-shadow: 0 30px 70px rgb(0 0 0 / .6), inset 0 0 0 6px #120e14, inset 0 0 0 7px #4a3a26;
  transform: translateY(14px) scale(.97); transition: transform .35s cubic-bezier(.3,.7,.2,1.2); }
.auth.on .auth-card { transform: none; }
.auth-x { position: absolute; top: 8px; inset-inline-end: 8px; }
.auth-card h3 { margin: 0; font: 400 30px/1.3 var(--ar-display); color: var(--text); }
.auth-lead { margin: 8px 0 22px; font: 300 16px/1.7 var(--ar-body); color: var(--text2); }
.auth-b { width: 100%; min-height: 50px; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer;
  font: 400 18px/1 var(--ar-display); border: 1px solid var(--rule-c); transition: filter .2s, transform .2s; }
.auth-b svg { width: 22px; height: 22px; }
.auth-b.g { background: #f3ece0; color: #1a1418; }
.auth-b.d { background: #5865f2; color: #fff; border-color: #5865f2; }
.auth-b:hover { filter: brightness(1.08); transform: translateY(-1px); }
.auth-note { margin: 18px 0 0; font: 300 13px/1.6 var(--ar-body); color: var(--grey); }
@media (max-width: 600px) { .signin { padding: 0 12px; } .cmt { width: 100vw; } }

/* owner: while a world is open the cast poster goes away entirely (it crowded the text), and the reading text is a
   touch softer: slightly translucent warm white, a shade darker than the headings */
.hosts { transition: opacity .5s ease, visibility 0s linear 0s; }
.is-drawn .hosts { opacity: 0 !important; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility 0s linear .45s; }
.d-title { color: rgb(236 228 214 / .9); }
.d-pitch { color: rgb(227 218 203 / .74); }
.d-host, .d-metric { color: rgb(227 218 203 / .62); }

.auth[hidden], .cmt[hidden] { display: none !important; }

/* owner: the official-site line in bold */
.d-host, .d-host a { font-weight: 600 !important; color: rgb(236 228 214 / .9) !important; }

/* owner: in the opening showcase the smoke rises from behind the posters, not over them */
.showcase .fx { z-index: 8; }

/* ── the comments lamp (the crimson gem on the altar's front) and its downward projection (owner's idea) */
.gem-btn { position: fixed; z-index: 14; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.gem-btn i { position: absolute; inset: -35%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgb(255 60 80 / .55) 0, rgb(255 40 60 / .22) 35%, transparent 70%); opacity: .45; mix-blend-mode: screen;
  animation: gemIdle 4.5s ease-in-out infinite; }
.gem-btn.new i { animation: gemBlink 1.05s ease-in-out infinite; }
.gem-btn:hover i, .gem-btn:focus-visible i { opacity: 1; animation-play-state: paused; }
.gem-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
@keyframes gemIdle { 0%, 100% { opacity: .35; } 50% { opacity: .55; } }
@keyframes gemBlink { 0%, 100% { opacity: .15; transform: scale(.9); } 45%, 60% { opacity: 1; transform: scale(1.15); } }
.gated .gem-btn, .is-entering .gem-btn, .opening .gem-btn { display: none; }

.cmt-cone { position: fixed; z-index: 34; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(60% 100% at var(--gx, 50%) 0, rgb(255 70 90 / .28), rgb(255 70 90 / .06) 55%, transparent 80%);
  clip-path: polygon(calc(var(--gx, 50%) - 10px) 0, calc(var(--gx, 50%) + 10px) 0, 100% 100%, 0 100%); mix-blend-mode: screen; }
.cmt-cone.on { opacity: 1; }
.cmt { right: auto; bottom: auto; transform: none !important;
  background: linear-gradient(180deg, rgb(40 14 20 / .78), rgb(18 10 16 / .9));
  border: 1px solid rgb(255 80 100 / .35); border-radius: 6px;
  box-shadow: 0 0 50px rgb(255 50 70 / .18), inset 0 0 40px rgb(255 50 70 / .08), 0 30px 60px rgb(0 0 0 / .5);
  backdrop-filter: blur(6px);
  clip-path: inset(0 0 100% 0); transition: clip-path .5s cubic-bezier(.3,.7,.2,1), opacity .4s ease; opacity: .2; }
.cmt.on { clip-path: inset(0 0 0 0); opacity: 1; }
.cmt::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 3px); }

/* owner: no name plate on the world image (the name is already beside it); the description two sizes smaller */
.st-plate { display: none !important; }
.d-pitch { font-size: clamp(15px, calc(16px * var(--k)), 19px) !important; }

/* owner: no big box. The comments float in the beam from the gem like a projection: name, time, words, the reply */
.cmt { background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; border-radius: 0;
  display: flex; flex-direction: column; justify-content: flex-end; clip-path: none; opacity: 0; transition: opacity .35s ease; }
.cmt.on { opacity: 1; }
.cmt::after { display: none; }
.cmt-h { order: 0; border: 0; padding: 0 4px 8px; justify-content: center; gap: 10px; }
.cmt-h h3 { font-size: 22px; text-align: center; text-shadow: 0 0 18px rgb(255 60 80 / .5); }
.cmt-h h3 span { color: #ffd6dc; }
.cmt-h .sq { width: 34px; height: 34px; color: #ffd6dc; }
.cmt-list { flex: 0 1 auto; padding: 0 2px; scrollbar-width: thin; scrollbar-color: rgb(255 80 100 / .5) transparent;
  mask-image: linear-gradient(transparent 0, #000 22px, #000 calc(100% - 6px), transparent); }
.cmt-list li { display: block; margin: 10px 0; padding: 12px 16px; border: 1px solid rgb(255 90 110 / .28); border-radius: 10px;
  background: linear-gradient(180deg, rgb(70 18 28 / .42), rgb(30 10 16 / .55)); backdrop-filter: blur(3px);
  box-shadow: 0 0 22px rgb(255 50 70 / .14), inset 0 0 18px rgb(255 50 70 / .06);
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .5s cubic-bezier(.3,.7,.2,1.2); transition-delay: var(--d, 0ms); }
.cmt.on .cmt-list li { opacity: 1; transform: none; }
.cmt-list li.pin { border-color: rgb(255 120 140 / .55); }
.cmt-list .c-meta { margin: 0 0 4px; gap: 10px; }
.cmt-list .c-meta b { font-size: 16px; color: #ffe9ec; }
.cmt-list .c-meta time { color: rgb(255 214 220 / .55); font-size: 12px; }
.cmt-list .c-meta i { border-color: rgb(255 120 140 / .6); color: #ffc2cb; }
.cmt-list .c-text { font-size: 15px; line-height: 1.75; color: rgb(255 240 242 / .82); }
.cmt-list .c-reply { margin-top: 10px; padding: 8px 12px; border-inline-start: 2px solid rgb(255 110 130 / .6); background: rgb(255 255 255 / .03); border-radius: 0 6px 6px 0; }
.cmt-list .c-none { color: #ffd6dc; }
.cmt-f { border: 0; padding: 12px 4px 4px; }
.cmt-write { min-height: 46px; border-radius: 999px; background: linear-gradient(90deg, #b3122e, #e0304c); color: #fff;
  box-shadow: 0 0 26px rgb(255 50 70 / .45); font-size: 18px; }
.cmt-write:hover { filter: brightness(1.1); }
.cmt-cone { background: radial-gradient(70% 100% at var(--gx, 50%) 0, rgb(255 60 80 / .32), rgb(255 60 80 / .1) 45%, transparent 85%) !important;
  clip-path: polygon(calc(var(--gx, 50%) - 8px) 0, calc(var(--gx, 50%) + 8px) 0, 100% 100%, 0 100%) !important;
  transform-origin: 50% 0; transform: scaleY(0); transition: transform .45s cubic-bezier(.3,.7,.2,1), opacity .3s ease !important; }
.cmt-cone.on { transform: scaleY(1); }

/* owner: no full frame on a comment, only the inner corner ornament of the work cards */
.cmt-list li { border-color: transparent !important; border-radius: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg transform='' fill='none' stroke='%23ff8597' stroke-linecap='round'%3E%3Cpath d='M3 15V7.5Q3 3 7.5 3H15' stroke-width='1.3'/%3E%3Cpath d='M6.2 11.6Q6.2 6.2 11.6 6.2' stroke-width='.8' opacity='.75'/%3E%3Ccircle cx='6.6' cy='6.6' r='1.05' fill='%23ff8597' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg transform='translate(20 0) scale(-1 1)' fill='none' stroke='%23ff8597' stroke-linecap='round'%3E%3Cpath d='M3 15V7.5Q3 3 7.5 3H15' stroke-width='1.3'/%3E%3Cpath d='M6.2 11.6Q6.2 6.2 11.6 6.2' stroke-width='.8' opacity='.75'/%3E%3Ccircle cx='6.6' cy='6.6' r='1.05' fill='%23ff8597' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg transform='translate(20 20) scale(-1 -1)' fill='none' stroke='%23ff8597' stroke-linecap='round'%3E%3Cpath d='M3 15V7.5Q3 3 7.5 3H15' stroke-width='1.3'/%3E%3Cpath d='M6.2 11.6Q6.2 6.2 11.6 6.2' stroke-width='.8' opacity='.75'/%3E%3Ccircle cx='6.6' cy='6.6' r='1.05' fill='%23ff8597' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg transform='translate(0 20) scale(1 -1)' fill='none' stroke='%23ff8597' stroke-linecap='round'%3E%3Cpath d='M3 15V7.5Q3 3 7.5 3H15' stroke-width='1.3'/%3E%3Cpath d='M6.2 11.6Q6.2 6.2 11.6 6.2' stroke-width='.8' opacity='.75'/%3E%3Ccircle cx='6.6' cy='6.6' r='1.05' fill='%23ff8597' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(180deg, rgb(70 18 28 / .42), rgb(30 10 16 / .55)) !important;
  background-repeat: no-repeat; background-size: 20px 20px, 20px 20px, 20px 20px, 20px 20px, 100% 100%;
  background-position: 5px 5px, calc(100% - 5px) 5px, calc(100% - 5px) calc(100% - 5px), 5px calc(100% - 5px), 0 0;
  padding: 16px 22px; }

/* the commenter's sigil beside the name */
.c-sig { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
  color: #ffc2cb; border: 1px solid rgb(255 120 140 / .5); background: radial-gradient(circle, rgb(255 60 80 / .18), transparent 70%);
  box-shadow: 0 0 10px rgb(255 50 70 / .25); }
.c-sig svg { width: 17px; height: 17px; }

/* ── the floor below the room (owner: the projector shines DOWN from the gem, so the page goes on below the altar).
   The view tilts down: the room slides up by --pan and the floor rises into view; the beam falls from the gem onto it
   and the comments are drawn in light on the floor: no boxes, no pictures. */
:root { --pan: 66vh; }
.shake { transition: transform 1.05s cubic-bezier(.62,0,.22,1); }
.proj-down .shake { transform: translateY(calc(-1 * var(--pan))); }
.below { position: fixed; z-index: 16; left: 0; right: 0; top: 100vh; height: var(--pan); pointer-events: none; visibility: hidden;
  background: radial-gradient(60% 70% at 50% 0, rgb(120 20 36 / .22), transparent 70%), linear-gradient(#0c0a0e, #070508 60%, #050406);
  transition: transform 1.05s cubic-bezier(.62,0,.22,1), visibility 0s linear 1.1s; }
.below.live { visibility: visible; transition: transform 1.05s cubic-bezier(.62,0,.22,1), visibility 0s; }
.proj-down .below { transform: translateY(calc(-1 * var(--pan))); pointer-events: auto; }
.below::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgb(201 166 107 / .35), transparent); }

.below .cmt-cone { position: absolute; z-index: 0; opacity: 0; transform: scaleY(0); transform-origin: 50% 0;
  background: linear-gradient(180deg, rgb(255 70 90 / .30), rgb(255 70 90 / .14) 70%, rgb(255 70 90 / .22)) !important;
  clip-path: polygon(calc(var(--gx, 50%) - 7px) 0, calc(var(--gx, 50%) + 7px) 0, 100% 100%, 0 100%) !important;
  filter: blur(1px); mix-blend-mode: screen;
  transition: transform .7s cubic-bezier(.3,.7,.2,1) .35s, opacity .4s ease .35s !important; }
.below .cmt-cone.on { opacity: 1; transform: scaleY(1); }

.below .cmt { position: absolute !important; z-index: 1; left: 50% !important; top: calc(var(--pan) * .1) !important; right: auto !important; bottom: auto !important;
  width: min(700px, 92vw) !important; height: calc(var(--pan) * .86) !important; translate: -50% 0; transform: none !important;
  display: flex; flex-direction: column; background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important;
  clip-path: none !important; opacity: 0; transition: opacity .2s ease; }
/* the lit surface where the beam lands: a soft keystone of light */
.below .cmt::before { content: ''; position: absolute; inset: -14px -30px -10px; z-index: -1; pointer-events: none;
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
  background: radial-gradient(80% 60% at 50% 30%, rgb(255 70 90 / .16), rgb(255 70 90 / .06) 60%, transparent 85%),
              repeating-linear-gradient(0deg, rgb(255 200 210 / .03) 0 1px, transparent 1px 3px); }
.below .cmt.on { opacity: 1; animation: projFlicker .55s steps(1) 1; }
@keyframes projFlicker { 0% { opacity: .2; } 15% { opacity: .9; } 25% { opacity: .35; } 40% { opacity: 1; } 55% { opacity: .7; } 70%, 100% { opacity: 1; } }
.below .cmt::after { display: none; }

.below .cmt-h { justify-content: center; padding: 0 0 10px; border: 0; }
.below .cmt-h h3 { font: 400 26px/1.3 var(--ar-display); color: #ffe3e7; text-shadow: 0 0 14px rgb(255 70 90 / .7); }
.below .cmt-h em { display: none; }
.below .cmt-h .sq { position: absolute; top: -6px; inset-inline-end: 0; color: #ffc9d0; }
.below .cmt-list { flex: 1 1 auto; overflow-y: auto; padding: 0 6px; mask-image: linear-gradient(transparent, #000 18px, #000 calc(100% - 18px), transparent); }
/* each comment: words of light, divided by a thin ornamental rule */
.below .cmt-list li { display: block; margin: 0 !important; padding: 18px 8px !important; border: 0 !important; border-radius: 0;
  background: none !important; backdrop-filter: none !important; box-shadow: none !important; position: relative;
  opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s cubic-bezier(.3,.7,.2,1); transition-delay: calc(var(--d, 0ms) + 700ms); }
.below .cmt.on .cmt-list li { opacity: 1; transform: none; }
.below .cmt-list li + li::before { content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 9px;
  background: linear-gradient(90deg, transparent, rgb(255 110 130 / .45) 30%, rgb(255 110 130 / .45) 70%, transparent) center / 100% 1px no-repeat,
              radial-gradient(circle, rgb(255 150 165 / .9) 0 2.2px, transparent 2.6px) center / 9px 9px no-repeat; }
.below .c-meta { justify-content: flex-start; gap: 10px; margin-bottom: 6px; }
.below .c-meta b { font: 400 18px/1.3 var(--ar-display); color: #ffeef0; text-shadow: 0 0 10px rgb(255 70 90 / .55); }
.below .c-meta time { font: 300 13px/1.4 var(--ar-body); color: rgb(255 210 216 / .55); }
.below .c-meta i { font: 300 12px/1.4 var(--ar-body); font-style: normal; padding: 0 8px; border: 1px solid rgb(255 130 150 / .5); color: #ffc2cb; border-radius: 999px; }
.below .c-text { font: 300 16px/1.85 var(--ar-body); color: rgb(255 238 241 / .86); text-shadow: 0 0 8px rgb(255 70 90 / .35); }
.below .c-reply { margin: 10px 0 0; padding: 4px 16px 2px; border: 0; border-inline-start: 1px solid rgb(255 120 140 / .5); background: none; }
.below .c-reply .c-text { font-size: 15px; color: rgb(255 228 232 / .74); }
.below .c-none { color: #ffd6dc; text-align: center; }
.below .cmt-f { padding: 12px 0 0; border: 0; display: grid; place-items: center; }
.below .cmt-write { width: auto; min-height: 46px; padding: 0 34px; border-radius: 999px; background: transparent; color: #ffe3e7;
  border: 1px solid rgb(255 110 130 / .7); box-shadow: 0 0 18px rgb(255 60 80 / .35), inset 0 0 14px rgb(255 60 80 / .2);
  font: 400 18px/1 var(--ar-display); text-shadow: 0 0 10px rgb(255 70 90 / .6); cursor: pointer; transition: background .3s, box-shadow .3s; }
.below .cmt-write:hover { background: rgb(255 60 80 / .15); box-shadow: 0 0 26px rgb(255 60 80 / .55), inset 0 0 16px rgb(255 60 80 / .3); }
@media (prefers-reduced-motion: reduce) { .shake, .below { transition: none; } .below .cmt.on { animation: none; } }

/* owner: no backdrop behind the comments as a whole; each comment in its own ornamented frame, very see-through */
.below .cmt::before { display: none !important; }
.below .cmt-list li + li::before { display: none; }
.below .cmt-list li { margin: 12px 0 !important; padding: 18px 26px !important; border-radius: 4px;
  border: 1px solid rgb(255 110 130 / .22) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg transform='' fill='none' stroke='%23ff8fa0' stroke-linecap='round'%3E%3Cpath d='M3 15V7.5Q3 3 7.5 3H15' stroke-width='1.3'/%3E%3Cpath d='M6.2 11.6Q6.2 6.2 11.6 6.2' stroke-width='.8' opacity='.75'/%3E%3Ccircle cx='6.6' cy='6.6' r='1.05' fill='%23ff8fa0' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg transform='translate(20 0) scale(-1 1)' fill='none' stroke='%23ff8fa0' stroke-linecap='round'%3E%3Cpath d='M3 15V7.5Q3 3 7.5 3H15' stroke-width='1.3'/%3E%3Cpath d='M6.2 11.6Q6.2 6.2 11.6 6.2' stroke-width='.8' opacity='.75'/%3E%3Ccircle cx='6.6' cy='6.6' r='1.05' fill='%23ff8fa0' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg transform='translate(20 20) scale(-1 -1)' fill='none' stroke='%23ff8fa0' stroke-linecap='round'%3E%3Cpath d='M3 15V7.5Q3 3 7.5 3H15' stroke-width='1.3'/%3E%3Cpath d='M6.2 11.6Q6.2 6.2 11.6 6.2' stroke-width='.8' opacity='.75'/%3E%3Ccircle cx='6.6' cy='6.6' r='1.05' fill='%23ff8fa0' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg transform='translate(0 20) scale(1 -1)' fill='none' stroke='%23ff8fa0' stroke-linecap='round'%3E%3Cpath d='M3 15V7.5Q3 3 7.5 3H15' stroke-width='1.3'/%3E%3Cpath d='M6.2 11.6Q6.2 6.2 11.6 6.2' stroke-width='.8' opacity='.75'/%3E%3Ccircle cx='6.6' cy='6.6' r='1.05' fill='%23ff8fa0' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(180deg, rgb(60 14 24 / .22), rgb(24 8 14 / .30)) !important;
  background-repeat: no-repeat; background-size: 22px 22px, 22px 22px, 22px 22px, 22px 22px, 100% 100%;
  background-position: 6px 6px, calc(100% - 6px) 6px, calc(100% - 6px) calc(100% - 6px), 6px calc(100% - 6px), 0 0;
  box-shadow: 0 0 18px rgb(255 50 70 / .10), inset 0 0 0 4px rgb(0 0 0 / 0), inset 0 0 0 5px rgb(255 110 130 / .10) !important; }
.below .cmt-list li.pin { border-color: rgb(255 130 150 / .4) !important; }

/* the owner is marked by a small crown only (no words) */
.c-own { display: inline-grid; place-items: center; width: 22px; height: 22px; color: #ffcf7a; filter: drop-shadow(0 0 6px rgb(255 190 90 / .6)); }
.c-own svg { width: 18px; height: 18px; }

/* owner: the beam with no hard edges: light fading softly to the sides and the floor, with faint streaks along its
   length that converge on the gem, like a projector's throw */
.below .cmt-cone { clip-path: none !important; filter: none !important;
  background:
    repeating-conic-gradient(from 180deg at var(--gx, 50%) 0, rgb(255 150 165 / .10) 0deg .5deg, transparent .5deg 2.6deg),
    radial-gradient(ellipse 42% 105% at var(--gx, 50%) 0, rgb(255 70 90 / .34), rgb(255 70 90 / .16) 45%, rgb(255 70 90 / .05) 75%, transparent 100%) !important;
  -webkit-mask-image: radial-gradient(ellipse 46% 110% at var(--gx, 50%) 0, #000 0, rgb(0 0 0 / .85) 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 46% 110% at var(--gx, 50%) 0, #000 0, rgb(0 0 0 / .85) 45%, transparent 100%);
  animation: beamDrift 6s ease-in-out infinite; }
@keyframes beamDrift { 0%, 100% { opacity: 1; } 47% { opacity: .9; } 50% { opacity: .78; } 53% { opacity: .92; } }
.below .cmt-cone:not(.on) { animation: none; }

/* owner: each comment framed exactly like the inner frame of the work cards: an outer and a thin inner rule, the
   four engraved corners, the diamonds on the sides and the short bars top and bottom; the fill almost clear */
.below .cmt-list li { border: 1px solid rgb(210 185 138 / .5) !important; border-radius: 3px !important; padding: 22px 30px !important;
  box-shadow: inset 0 0 0 4px rgb(0 0 0 / 0), inset 0 0 0 5px rgb(210 185 138 / .28), 0 0 18px rgb(0 0 0 / .25) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 10'%3E%3Cpath d='M3 0l2.6 5L3 10 .4 5z' fill='%23d2b98a'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 10'%3E%3Cpath d='M3 0l2.6 5L3 10 .4 5z' fill='%23d2b98a'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 4'%3E%3Cpath d='M0 2H22M38 2H60' stroke='%23d2b98a' stroke-width='.9' opacity='.8'/%3E%3Ccircle cx='30' cy='2' r='1.2' fill='%23d2b98a'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 4'%3E%3Cpath d='M0 2H22M38 2H60' stroke='%23d2b98a' stroke-width='.9' opacity='.8'/%3E%3Ccircle cx='30' cy='2' r='1.2' fill='%23d2b98a'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgb(20 14 20 / .16), rgb(20 14 20 / .24)) !important;
  background-repeat: no-repeat !important;
  background-size: 28px 28px, 28px 28px, 28px 28px, 28px 28px, 6px 10px, 6px 10px, 90px 6px, 90px 6px, 100% 100% !important;
  background-position: 2px 2px, calc(100% - 2px) 2px, calc(100% - 2px) calc(100% - 2px), 2px calc(100% - 2px),
    -3px 50%, calc(100% + 3px) 50%, 50% 2px, 50% calc(100% - 2px), 0 0 !important; }
.below .cmt-list li.pin { border-color: rgb(225 200 150 / .75) !important; }

/* owner: the beam must really come OUT of the gem: a point of light at the gem that widens as it falls.
   The cone's shape is a soft-edged wedge from the gem (conic mask), fading out towards the floor; a bright core at the
   source; streaks converging on it. No line where the floor begins. */
.below::before { display: none; }
.below .cmt-cone {
  background:
    radial-gradient(circle at var(--gx, 50%) 0, rgb(255 190 200 / .75) 0, rgb(255 90 110 / .45) 14px, rgb(255 70 90 / .18) 60px, transparent 140px),
    repeating-conic-gradient(from 180deg at var(--gx, 50%) 0, rgb(255 160 175 / .13) 0deg .45deg, transparent .45deg 2.4deg),
    linear-gradient(180deg, rgb(255 70 90 / .30), rgb(255 70 90 / .16) 55%, rgb(255 70 90 / .08)) !important;
  -webkit-mask-image: conic-gradient(from 180deg at var(--gx, 50%) 0, #000 0deg, #000 15deg, transparent 27deg, transparent 333deg, #000 345deg, #000 360deg),
                      linear-gradient(180deg, #000 0, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: conic-gradient(from 180deg at var(--gx, 50%) 0, #000 0deg, #000 15deg, transparent 27deg, transparent 333deg, #000 345deg, #000 360deg),
                      linear-gradient(180deg, #000 0, #000 70%, transparent 100%);
          mask-composite: intersect; }

/* owner: only the four corner ornaments of the work cards on each comment, no frame lines */
.below .cmt-list li { border: 0 !important; box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(180deg, rgb(20 14 20 / .14), rgb(20 14 20 / .2)) !important;
  background-size: 34px 34px, 34px 34px, 34px 34px, 34px 34px, 100% 100% !important;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%, 0 0 !important; }

/* the floor blends into the room: no band where it starts */
.below { background: linear-gradient(180deg, transparent 0, rgb(8 6 10 / .55) 18%, #070508 45%, #050406) !important; }

/* owner: the name and the time in the ornament's brass, no glow; the time a little fainter, like the ornament */
.below .c-meta b { color: #d2b98a !important; text-shadow: none !important; }
.below .c-meta time { color: rgb(210 185 138 / .7) !important; text-shadow: none !important; }

/* owner: the "comments" title in the reading face of the site (Readex Pro), quiet */
.below .cmt-h h3 { font: 300 24px/1.4 var(--ar-body) !important; color: #d2b98a !important; text-shadow: none !important; letter-spacing: 0; }
.below .cmt-h h3 span { color: inherit !important; }

/* owner: the sign-in button right under the last comment (not stuck to the bottom), in the reading face, with the
   comments' ornament but a continuous thin frame and a faint brass fill; no pill shape */
.below .cmt { justify-content: flex-start !important; }
.below .cmt-list { flex: 0 1 auto !important; }
.below .cmt-f { padding: 14px 0 0 !important; }
.below .cmt-write { border-radius: 2px !important; min-height: 50px; padding: 0 44px !important;
  font: 400 17px/1 var(--ar-body) !important; color: #ecd9b4 !important; text-shadow: none !important;
  border: 1px solid rgb(210 185 138 / .55) !important; box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(rgb(210 185 138 / .10), rgb(210 185 138 / .10)) !important;
  background-repeat: no-repeat !important; background-size: 26px 26px, 26px 26px, 26px 26px, 26px 26px, 100% 100% !important;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%, 0 0 !important; transition: background-color .3s, border-color .3s; }
.below .cmt-write:hover { border-color: rgb(225 200 150 / .85) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(rgb(210 185 138 / .18), rgb(210 185 138 / .18)) !important; }

/* owner: the sign-in window in the site's own language: the dark card, the work cards' corner ornaments, a thin brass
   frame, brass lettering in the reading face; the two ways in as quiet brass-framed buttons with monochrome marks */
.auth { background: rgb(6 4 8 / .62) !important; backdrop-filter: blur(5px); }
.auth-card { width: min(420px, 100%) !important; padding: 40px 36px 30px !important; border-radius: 2px;
  border: 1px solid rgb(210 185 138 / .45) !important; box-shadow: 0 30px 80px rgb(0 0 0 / .65) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(180deg, rgb(26 20 28 / .96), rgb(16 12 18 / .97)) !important; background-repeat: no-repeat !important; background-size: 34px 34px, 34px 34px, 34px 34px, 34px 34px, 100% 100% !important; background-position: 0 0, 100% 0, 100% 100%, 0 100%, 0 0 !important; }
.auth-card h3 { font: 300 28px/1.4 var(--ar-body) !important; color: #e6d2a8 !important; }
.auth-lead { font: 200 16px/1.8 var(--ar-body) !important; color: rgb(226 214 190 / .72) !important; margin: 6px 0 24px !important; }
.auth-x { color: rgb(210 185 138 / .8) !important; }
.auth-b { min-height: 52px !important; margin-top: 12px !important; border-radius: 2px !important; gap: 14px !important;
  font: 300 17px/1 var(--ar-body) !important; color: #ecd9b4 !important; border: 1px solid rgb(210 185 138 / .5) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(rgb(210 185 138 / .07), rgb(210 185 138 / .07)) !important; background-repeat: no-repeat !important; background-size: 24px 24px, 24px 24px, 24px 24px, 24px 24px, 100% 100% !important; background-position: 0 0, 100% 0, 100% 100%, 0 100%, 0 0 !important;
  transition: border-color .3s, filter .3s, transform .2s !important; }
.auth-b:hover { border-color: rgb(230 205 155 / .9) !important; filter: brightness(1.15); transform: translateY(-1px); }
.auth-b.g, .auth-b.d { background-color: transparent !important; color: #ecd9b4 !important; }
.auth-b svg { width: 20px !important; height: 20px !important; }
.auth-b svg path, .auth-b svg rect { fill: #d2b98a !important; }
.auth-note { font: 200 13px/1.7 var(--ar-body) !important; color: rgb(210 185 138 / .55) !important; margin-top: 20px !important; }
.signin { font: 300 calc(16px * var(--k))/1 var(--ar-body) !important; color: #e6d2a8 !important; border-color: rgb(210 185 138 / .45) !important; border-radius: 2px; }

/* a language switch reloads straight into the page: never show the gate */
.no-gate .gate { display: none !important; }

/* owner: the gem's light stays ON the gem, drawn rather than a blob of colour: a faceted inner light that breathes and a
   small four-point glint that catches on its upper edge. Unseen comments: the inner light beats and the glint flashes. */
.gem-btn i { animation: none !important; opacity: 1; inset: auto; mix-blend-mode: screen; pointer-events: none; }
.gem-btn .g-core { position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgb(255 225 230 / .85) 0 8%, rgb(255 90 110 / .55) 26%, rgb(200 20 45 / .25) 55%, transparent 72%);
  animation: gemBreath 4.8s ease-in-out infinite !important; }
.gem-btn .g-glint { position: absolute; width: 46%; height: 46%; left: 18%; top: 10%;
  background: conic-gradient(from 45deg, transparent 0 40deg, #fff 45deg, transparent 50deg 130deg, #fff 135deg, transparent 140deg 220deg, #fff 225deg, transparent 230deg 310deg, #fff 315deg, transparent 320deg);
  -webkit-mask: radial-gradient(circle, #000 0, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 0, #000 18%, transparent 62%);
  opacity: 0; transform: scale(.4) rotate(0deg); animation: gemGlint 7s ease-in-out infinite 2s !important; }
.gem-btn.new .g-core { animation: gemBeat 1.25s ease-in-out infinite !important; }
.gem-btn.new .g-glint { animation: gemGlint 2.5s ease-in-out infinite !important; }
.gem-btn:hover .g-core, .gem-btn:focus-visible .g-core { animation-play-state: paused !important; transform: scale(1.12); }
@keyframes gemBreath { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: .85; transform: scale(1.02); } }
@keyframes gemBeat { 0%, 100% { opacity: .55; transform: scale(.92); } 35% { opacity: 1; transform: scale(1.12); } 55% { opacity: .8; transform: scale(1); } }
@keyframes gemGlint { 0%, 78%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 86% { opacity: .95; transform: scale(1) rotate(25deg); } 93% { opacity: 0; transform: scale(.5) rotate(45deg); } }

/* owner: the old blob of light over the gem is gone; only the drawn glint and inner light on the gem itself (.gem-btn) */
.dk-gem, .dock.on .dk-gem { display: none !important; }

/* owner: the gem's light was too faint to see. Brighter inner light, a small halo just around the gem, a clearer glint */
.gem-btn .g-core { inset: 4% !important;
  background: radial-gradient(circle at 44% 40%, rgb(255 240 242 / .95) 0 9%, rgb(255 110 130 / .85) 24%, rgb(230 30 60 / .5) 48%, rgb(200 20 45 / .18) 66%, transparent 76%) !important;
  box-shadow: 0 0 calc(var(--gs, 30px) * .35) rgb(255 60 85 / .45); }
.gem-btn .g-glint { width: 72% !important; height: 72% !important; left: 6% !important; top: -6% !important; }
@keyframes gemBreath { 0%, 100% { opacity: .7; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes gemBeat { 0%, 100% { opacity: .7; transform: scale(.93); } 35% { opacity: 1; transform: scale(1.16); } 55% { opacity: .9; transform: scale(1.02); } }

/* owner: no close button on the comments; the gem that opened them closes them (also the wheel up and Esc) */
.below .cmt-h .sq, #cmtX { display: none !important; }

/* owner: the gate's Enter button in the site's ornament style: thin continuous brass frame, the work cards' corner
   ornaments, a faint brass fill, brass lettering; no crimson block */
.g-go { border-radius: 2px !important; color: #ecd9b4 !important; border: 1px solid rgb(210 185 138 / .6) !important;
  box-shadow: 0 0 30px rgb(0 0 0 / .4) !important; text-shadow: none !important; background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(rgb(210 185 138 / .10), rgb(210 185 138 / .10)) !important; background-repeat: no-repeat !important; background-size: 28px 28px, 28px 28px, 28px 28px, 28px 28px, 100% 100% !important; background-position: 0 0, 100% 0, 100% 100%, 0 100%, 0 0 !important; }
.g-go:hover, .g-go:focus-visible { color: #f6e7c6 !important; border-color: rgb(232 208 160 / .95) !important; transform: translateY(-1px);
  box-shadow: 0 0 28px rgb(210 185 138 / .25) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(rgb(210 185 138 / .2), rgb(210 185 138 / .2)) !important; background-repeat: no-repeat !important; background-size: 28px 28px, 28px 28px, 28px 28px, 28px 28px, 100% 100% !important; background-position: 0 0, 100% 0, 100% 100%, 0 100%, 0 0 !important; }

/* the light sits exactly on the painted oval gem: elliptical, the size of the stone, a halo only a hair beyond it */
.gem-btn { border-radius: 50% / 50% !important; }
.gem-btn .g-core { inset: 6% !important; border-radius: 50% / 50% !important; box-shadow: 0 0 6px 1px rgb(255 60 85 / .5) !important;
  background: radial-gradient(ellipse at 42% 36%, rgb(255 240 242 / .9) 0 10%, rgb(255 110 130 / .75) 26%, rgb(225 30 60 / .45) 52%, transparent 74%) !important; }
.gem-btn .g-glint { width: 60% !important; height: 60% !important; left: 8% !important; top: 0 !important; }

/* owner: the headline and its line a touch higher (about 10px) and about 3% smaller */

/* owner: the sign-in window's close: a small fine brass ×, set inside the corner ornament, no box */
.auth-x { top: 14px !important; inset-inline-end: 14px !important; width: 30px !important; height: 30px !important;
  border: 0 !important; background: none !important; color: rgb(210 185 138 / .7) !important; transition: color .25s, transform .25s; }
.auth-x svg { width: 16px !important; height: 16px !important; }
.auth-x svg path { stroke-width: 1.1 !important; }
.auth-x:hover, .auth-x:focus-visible { color: #ecd9b4 !important; transform: rotate(90deg); outline: none; }

/* owner: the comment words in a warm parchment ivory that sits with the brass (no pink, no glow) */
.below .c-text { color: rgb(234 224 205 / .86) !important; text-shadow: none !important; }
/* the owner's reply: its own small engraved panel, set in from the comment, faint brass fill, two corner ornaments
   (opposite corners), the crown and a small turn-arrow leading it; no side line */
.below .c-reply { position: relative; margin: 14px 0 2px !important; margin-inline-start: 26px !important; padding: 12px 18px 12px !important;
  border: 0 !important; border-radius: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(rgb(210 185 138 / .08), rgb(210 185 138 / .08)) !important; background-repeat: no-repeat !important;
  background-size: 22px 22px, 22px 22px, 100% 100% !important; background-position: 0 0, 100% 100%, 0 0 !important; }
html[dir="rtl"] .below .c-reply { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(rgb(210 185 138 / .08), rgb(210 185 138 / .08)) !important;
  background-position: 100% 0, 0 100%, 0 0 !important; }
.below .c-reply::before { content: ''; position: absolute; top: 14px; inset-inline-start: -22px; width: 16px; height: 14px;
  border-inline-start: 1px solid rgb(210 185 138 / .6); border-bottom: 1px solid rgb(210 185 138 / .6); border-end-start-radius: 6px; }
.below .c-reply .c-text { color: rgb(236 217 180 / .9) !important; font-size: 15px !important; }
.below .c-reply .c-meta { margin-bottom: 4px; }

/* owner (again): the headline and its line about 8% smaller than at first, and raised ~18px */
.intro { margin-top: -18px !important; }
.headline { font-size: clamp(28px, min(calc(var(--stage) * .0294), 4.97vh), calc(53px * var(--k))) !important; }
.sub { font-size: clamp(15.5px, calc(var(--stage) * .012), calc(18.4px * var(--k))) !important; }
/* owner: double the reduction: about 16% smaller than the original */
.headline { font-size: clamp(25px, min(calc(var(--stage) * .0269), 4.54vh), calc(48.7px * var(--k))) !important; }
.sub { font-size: clamp(14.5px, calc(var(--stage) * .0109), calc(16.8px * var(--k))) !important; }
.intro { margin-top: -32px !important; }

/* the reading stays hidden from the moment a card is chosen until its entrance begins (no flash before the motion) */
.desc.hold [data-seq] { opacity: 0 !important; }

/* no × beside "enter the world": taking the card off the altar (or Esc) closes it */
.d-act #close { display: none !important; }

/* the comments follow the gem: centred under it, kept on screen */
.below .cmt { left: var(--cmt-x, 50%) !important; }

/* the comments a step smaller and a little narrower (the title and the beam stay as they are) */
.below .cmt { width: min(500px, 88vw) !important; }
.below .cmt .cmt-list, .below .cmt .cmt-f { zoom: .88; }

/* the comments button: just the mark and the count, no frame and no word */
.d-cmt { border: 0 !important; background: none !important; padding: 4px 0 !important; gap: 6px; }
.d-cmt > span { display: none; }
.d-cmt svg { width: 20px; height: 20px; }
.d-cmt b { font: 400 calc(18px * var(--k))/1 var(--ar-display) !important; color: var(--t-light, var(--paper)) !important; vertical-align: middle; position: relative !important; top: 3px; translate: none !important; }
.d-cmt { line-height: 1 !important; align-items: center !important; }
.d-cmt:hover svg, .d-cmt:focus-visible svg { color: var(--t-acc, var(--paper)); }
.d-cmt:focus-visible { outline: 1px solid var(--t-acc, var(--rule-c)) !important; outline-offset: 3px; }

/* the S7 mark: a plain flat symbol, a little smaller; no glow, shadow or gradient */
html:not(.stacked) { --emb: calc(58px * var(--k)); }
.mark { filter: none !important; }
.mark .m-flat { fill: color-mix(in srgb, #b4955f, var(--m-tint, #b4955f) var(--m-mix, 0%)); }
/* the top bar's buttons a step smaller */
.top-r { gap: calc(8px * var(--k)); }
.lang { min-height: calc(36px * var(--k)) !important; padding: 0 calc(14px * var(--k)) !important; font-size: calc(11.5px * var(--k)) !important; }
.snd { width: calc(36px * var(--k)) !important; height: calc(36px * var(--k)) !important; }
.snd svg { width: calc(17px * var(--k)) !important; height: calc(17px * var(--k)) !important; }
.signin { height: calc(36px * var(--k)) !important; padding: 0 calc(14px * var(--k)) !important; font-size: calc(15px * var(--k)) !important; }

/* "enter the world": no crimson block; the gate's ornament style (thin brass frame, the cards' corner ornaments),
   with a faint wash of the open world's colour so it still reads as the main action */
.d-act .go { border-radius: 2px; color: #ecd9b4; border: 1px solid rgb(210 185 138 / .6); text-shadow: none;
  min-height: calc(50px * var(--k)); padding: 0 calc(30px * var(--k)); font-size: calc(19px * var(--k));
  box-shadow: 0 0 30px rgb(0 0 0 / .4); background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(color-mix(in srgb, var(--t-acc, #d2b98a) 16%, transparent), color-mix(in srgb, var(--t-acc, #d2b98a) 16%, transparent));
  background-repeat: no-repeat; background-size: 26px 26px, 26px 26px, 26px 26px, 26px 26px, 100% 100%;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%, 0 0; transition: color .3s, border-color .3s, box-shadow .3s, transform .3s; }
.d-act .go:hover, .d-act .go:focus-visible { color: #f6e7c6; border-color: rgb(232 208 160 / .95); transform: translateY(-1px); outline: none;
  box-shadow: 0 0 28px color-mix(in srgb, var(--t-acc, #d2b98a) 30%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(color-mix(in srgb, var(--t-acc, #d2b98a) 28%, transparent), color-mix(in srgb, var(--t-acc, #d2b98a) 28%, transparent)); }
.d-act .go:focus-visible { outline: 1px solid #d2b98a; outline-offset: 4px; }

/* the kind of work under the name ("card game"): no box; small brass words between two fine ornament lines */
.d-tag span { display: inline-flex !important; align-items: center; gap: calc(10px * var(--k)); padding: 0 !important; border: 0 !important;
  box-shadow: none !important; background: none !important; color: #d2b98a !important; }
.d-tag span::before, .d-tag span::after { content: ''; width: calc(26px * var(--k)); height: 7px; flex: none;
  background: radial-gradient(circle, #d2b98a 0 1.6px, transparent 2.2px) center / 7px 7px no-repeat,
    linear-gradient(rgb(210 185 138 / .7), rgb(210 185 138 / .7)) center / 100% 1px no-repeat; }
.d-tag span::before { -webkit-mask: linear-gradient(to left, #000 60%, transparent); mask: linear-gradient(to left, #000 60%, transparent); }
.d-tag span::after { -webkit-mask: linear-gradient(to right, #000 60%, transparent); mask: linear-gradient(to right, #000 60%, transparent); }

.d-cmt[hidden] { display: none !important; }

/* the top bar: three small matching brass pieces in the site's ornament style (thin frame, tiny corner ornaments);
   the language switch is an icon */
.top-r { gap: calc(8px * var(--k)) !important; }
.top-r .lang, .top-r .snd, .top-r .signin { height: calc(34px * var(--k)) !important; min-height: 0 !important; box-sizing: border-box;
  border: 1px solid rgb(210 185 138 / .42) !important; border-radius: 2px; color: #d2b98a !important; background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 0) scale(-1 1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(24 24) scale(-1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0 24) scale(1 -1)' fill='none' stroke='%23d2b98a' stroke-linecap='round'%3E%3Cpath d='M7.6 19V11.2Q7.6 7.6 11.2 7.6H19' stroke-width='.9'/%3E%3Cpath d='M10.2 15.5Q10.2 10.2 15.5 10.2' stroke-width='.5' opacity='.8'/%3E%3Ccircle cx='10.4' cy='10.4' r='1.05' fill='%23d2b98a' stroke='none'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(rgb(210 185 138 / .06), rgb(210 185 138 / .06)) !important;
  background-repeat: no-repeat !important; background-size: 10px 10px, 10px 10px, 10px 10px, 10px 10px, 100% 100% !important;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%, 0 0 !important; box-shadow: none !important;
  transition: color .3s, border-color .3s, background-color .3s !important; }
.top-r .lang, .top-r .snd { width: calc(34px * var(--k)) !important; padding: 0 !important; display: inline-grid !important; place-items: center; }
.top-r .lang svg, .top-r .snd svg { width: calc(17px * var(--k)) !important; height: calc(17px * var(--k)) !important; display: block; }
.top-r #langText { display: grid; place-items: center; }
.top-r .signin { padding: 0 calc(14px * var(--k)) !important; font: 400 calc(15px * var(--k))/1 var(--ar-display) !important; }
html[lang="en"] .top-r .signin { font: 600 calc(12px * var(--k))/1 var(--lat-display) !important; letter-spacing: .1em; }
.top-r .snd.off { color: rgb(210 185 138 / .55) !important; }
.top-r .lang:hover, .top-r .snd:hover, .top-r .signin:hover,
.top-r .lang:focus-visible, .top-r .snd:focus-visible, .top-r .signin:focus-visible { color: #f0dcb4 !important; border-color: rgb(232 208 160 / .85) !important;
  background-color: rgb(210 185 138 / .08) !important; outline: none; }
.top-r .lang:focus-visible, .top-r .snd:focus-visible, .top-r .signin:focus-visible { outline: 1px solid #d2b98a !important; outline-offset: 3px; }

/* writing a comment (signed in, live site): brass hairlines like the rest of the floor */
.below .cmt-form { width: 100%; display: grid; gap: 10px; margin-top: 6px; font-family: var(--ar-body); }
.below .cmt-form[hidden] { display: none !important; }
.cf-on { margin: 0; color: #d2b98a; font: 300 13px/1.4 var(--ar-body); opacity: .85; }
.cf-on[hidden], .cf-tags[hidden] { display: none !important; }
.cf-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cf-tags > span { width: 100%; color: rgb(210 185 138 / .8); font: 300 13px/1.4 var(--ar-body); }
.cf-tags button { padding: 4px 10px; border: 1px solid rgb(210 185 138 / .35); background: transparent; color: rgb(236 217 180 / .8);
  font: 400 13px/1.2 var(--lat-display, serif); cursor: pointer; border-radius: 2px; transition: border-color .25s, background .25s, color .25s; }
.cf-tags button[aria-pressed="true"] { border-color: #d2b98a; background: rgb(210 185 138 / .16); color: #f2e2c0; }
.cf-tags button:focus-visible { outline: 1px solid #d2b98a; outline-offset: 2px; }
.cmt-form textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 78px; padding: 10px 12px; border-radius: 2px;
  border: 1px solid rgb(210 185 138 / .35); background: rgb(12 10 14 / .55); color: #eadfca; font: 300 15px/1.6 var(--ar-body); }
.cmt-form textarea:focus { outline: none; border-color: rgb(232 208 160 / .85); }
.cmt-form textarea::placeholder { color: rgb(210 185 138 / .5); }
.cf-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cf-msg { margin: 0; color: rgb(234 223 202 / .8); font: 300 13px/1.4 var(--ar-body); }
.cf-post[disabled] { opacity: .5; cursor: wait; }
.cf-human:empty { display: none; }
.c-acts { margin: 6px 0 0; display: flex; gap: 14px; }
.c-acts button, .c-rform button { padding: 0; border: 0; background: none; color: rgb(210 185 138 / .75); font: 300 12.5px/1.4 var(--ar-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.c-acts button:hover, .c-rform button:hover { color: #f2e2c0; }
.c-rform { margin-top: 8px; display: grid; gap: 6px; }
.c-rform textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid rgb(210 185 138 / .35); background: rgb(12 10 14 / .55); color: #eadfca; font: 300 14px/1.5 var(--ar-body); border-radius: 2px; }
.c-rform p { margin: 0; display: flex; gap: 14px; }
.auth-me[hidden] { display: none !important; }
.auth-me { display: grid; gap: 14px; justify-items: center; }
.auth-me p { margin: 0; color: #eadfca; font: 300 15px/1.5 var(--ar-body); }
.auth-b[hidden], .auth-lead[hidden], .auth-note[hidden] { display: none !important; }
.auth-b[disabled] { opacity: .45; cursor: not-allowed; }

/* the intro, framed like a title page: a four-point star crest between two fading brass lines above the headline,
   a fine rule with a diamond under the line, then three small marks of what the works are */
.headline::after { display: none !important; }
.i-crest { display: flex; align-items: center; justify-content: center; gap: calc(10px * var(--k)); margin: 0 auto calc(6px * var(--k)); color: #d2b98a; }
.i-crest svg { width: calc(40px * var(--k)); height: calc(40px * var(--k)); flex: none; filter: drop-shadow(0 0 6px rgb(210 185 138 / .25)); }
.i-crest i, .i-rule i { display: block; height: 1px; flex: 1 1 0; max-width: calc(170px * var(--k));
  background: linear-gradient(to left, rgb(210 185 138 / .75), transparent); position: relative; }
.i-crest i:last-child, .i-rule i:last-child { background: linear-gradient(to right, rgb(210 185 138 / .75), transparent); }
.i-crest i::after, .i-rule i::after { content: ''; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #d2b98a; }
.i-crest i:first-child::after, .i-rule i:first-child::after { right: 0; }
.i-crest i:last-child::after, .i-rule i:last-child::after { left: 0; }
.i-crest, .i-rule { direction: ltr; }                 /* drawn the same way in both languages */
.i-rule { display: flex; align-items: center; justify-content: center; gap: calc(8px * var(--k)); margin: calc(18px * var(--k)) auto 0; max-width: calc(420px * var(--k)); }
.i-rule i::after { display: none; }
.i-rule b { width: 7px; height: 7px; flex: none; rotate: 45deg; border: 1px solid #d2b98a; background: rgb(210 185 138 / .35); }
.i-feats { list-style: none; margin: calc(14px * var(--k)) 0 0; padding: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.i-feats li { display: inline-flex; align-items: center; gap: calc(7px * var(--k)); color: #d9c6a0; font: 300 calc(15px * var(--k))/1.4 var(--ar-body); }
html[lang="en"] .i-feats li { font: 500 calc(15px * var(--k))/1.4 var(--lat-serif); letter-spacing: .02em; }
.i-feats li + li::before { content: ''; width: 1px; height: calc(16px * var(--k)); margin-inline: calc(16px * var(--k)); background: rgb(210 185 138 / .45); }
.i-feats li { flex-direction: row; }
.i-feats svg { width: calc(16px * var(--k)); height: calc(16px * var(--k)); color: #d2b98a; flex: none; }
.stacked .i-crest svg { width: 32px; height: 32px; }
.stacked .i-feats li { font-size: 13px; }
.stacked .i-feats li + li::before { margin-inline: 10px; }

/* the poster can be clicked to swap its character now */
.hosts .host.poster { pointer-events: auto; cursor: pointer; }
.is-drawn .hosts .host.poster, .is-entering .hosts .host.poster, .showcase .hosts .host.poster { pointer-events: none; }

/* the new AI-backed posters (their own dark backgrounds): the shadow and the darkening both halved */
.host { filter: drop-shadow(0 12px 30px rgb(0 0 0 / .175)) !important; }
.host .p-img { filter: brightness(.94) contrast(1.02) !important; }
.is-drawn .host { filter: brightness(.6) blur(1px) !important; }

/* the posters are cropped to their frame now, with the black around it transparent: no margin mask */
.poster .p-img { -webkit-mask-image: none !important; mask-image: none !important; }

/* the new posters keep their own colours: no tinted glow layer */
.poster .p-glow { display: none !important; }

/* the cropped posters have clear corners of their own: the burn canvas needs no margin mask */
.h-burn { -webkit-mask-image: none !important; mask-image: none !important; }

/* during the cast show the posters form in the altar slot, so the show layer sits over the altar */
.showcase .show { z-index: 11; }

/* while the altar deals, the cards lie in its slot first: the hand sits over the altar */
.dealing .hand { z-index: 11; }

.card.undealt .face { opacity: 0 !important; }
.card.undealt { pointer-events: none; }

/* the top bar: more air around the mark and the buttons (owner, 2026-11-13): a clear margin from the top and the sides */
html:not(.stacked) .top { padding: calc(30px * var(--k)) calc(var(--sp) + clamp(28px, 3.4vw, 64px) * var(--k)) 0 !important; }
html:not(.stacked) .top-r { margin-top: calc(6px * var(--k)) !important; }
